/* =============================================================
   Contact page styles
   ============================================================= */

.contact-page {
  padding: 140px 0 var(--section-y);
}
.cp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* LEFT: form ------------------------------------------------- */
.cp-form-side h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-top: 22px;
  max-width: 14ch;
}
.cp-form-side h1 .yellow { color: var(--yellow); }
.cp-lede {
  margin-top: 24px;
  max-width: 52ch;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink-2);
  line-height: 1.6;
}

.cp-form {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 620px;
}
.cp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-field > span {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cp-field > span small {
  font-weight: 400;
  font-size: 10px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: none;
}
.cp-field input,
.cp-field select,
.cp-field textarea {
  width: 100%;
  padding: 16px 18px;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  color: var(--ink);
  font-family: var(--display);
  font-size: 15px;
  border-radius: 12px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cp-field textarea { min-height: 120px; line-height: 1.5; }
.cp-field input::placeholder,
.cp-field textarea::placeholder { color: var(--ink-4); }
.cp-field input:focus,
.cp-field select:focus,
.cp-field textarea:focus {
  border-color: var(--yellow);
  background: var(--surface-2);
}
.cp-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8780' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.cp-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cp-fallback {
  font-size: 13px;
  color: var(--ink-3);
}
.cp-fallback a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-3);
  transition: color 0.2s, border-color 0.2s;
}
.cp-fallback a:hover { color: var(--yellow); border-color: var(--yellow); }

.cp-success {
  padding: 16px 20px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--yellow) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent);
  color: var(--yellow);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}
.cp-error {
  padding: 16px 20px;
  border-radius: 12px;
  background: color-mix(in srgb, #E55 14%, transparent);
  border: 1px solid color-mix(in srgb, #E55 50%, transparent);
  color: #FFB3B3;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
}
.cp-error a { color: #FFB3B3; border-bottom: 1px solid currentColor; }
.cp-error a:hover { color: #fff; }

/* RIGHT: direct channels ------------------------------------ */
.cp-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.cp-block {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cp-block:last-child { border-bottom: none; }
.cp-block h3 {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 0 8px;
}
.cp-block p {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.cp-big-link {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 4px;
  display: inline-block;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  width: fit-content;
}
.cp-big-link:hover { color: var(--yellow); border-color: var(--yellow); }

address {
  font-style: normal;
  font-family: var(--display);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
  display: block;
}
address + address {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}
address strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
  margin-bottom: 6px;
}

.cp-pamoja {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface-1);
  width: fit-content;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.cp-pamoja:hover {
  border-color: color-mix(in srgb, var(--yellow) 40%, transparent);
  background: var(--surface-2);
}
.cp-pamoja img {
  width: 40px; height: 40px;
  border-radius: 8px;
}
.cp-pamoja span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cp-pamoja strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.cp-pamoja small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

.cp-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cp-social a {
  font-family: var(--display);
  font-size: 14.5px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.cp-social a:hover { color: var(--yellow); }
.cp-social a span { color: var(--ink-4); transition: color 0.2s; }
.cp-social a:hover span { color: var(--yellow); }

/* Responsive ------------------------------------------------ */
@media (max-width: 960px) {
  .cp-grid { grid-template-columns: 1fr; gap: 48px; }
  .cp-row { grid-template-columns: 1fr; gap: 20px; }
  .cp-form { max-width: none; }
}
