/* Contact page — light hero, two-column (heading + email/phone on left,
   dark navy form panel on right) */

.hero-contact {
  padding-top: 80px;
  padding-bottom: 96px;
}
.hero-contact .contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--gap-l);
  align-items: start;
}

/* LEFT side */
.contact-side h1 {
  margin-bottom: 28px;
}
.contact-side h1 .accent-phrase { color: var(--accent); }
.contact-side .contact-lead {
  color: var(--inkSoft);
  max-width: 460px;
  margin-bottom: 36px;
}
.contact-divider {
  border-top: 1px solid var(--line);
  margin: 8px 0 32px;
  max-width: 380px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}
.contact-block:last-of-type { margin-bottom: 0; }
.contact-block-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--inkSoft);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.contact-block-value {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}
.contact-block-value:hover { color: var(--accent); }

/* RIGHT side — dark form panel */
.contact-form-panel {
  background: var(--inkSection);
  border-radius: var(--radius-l);
  padding: 40px;
  color: rgba(255,255,255,0.85);
}
.contact-form-panel .form-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 30px;
  color: white;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.contact-form-panel .form-intro {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  line-height: 1.55;
  margin-bottom: 28px;
}

/* Form layout */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-row .form-field { margin-bottom: 0; }

.form-field label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.form-field label .req {
  color: var(--accent);
  margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  color: white;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.40);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-field select option {
  background: var(--inkSection);
  color: white;
}
.form-field textarea {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 92, 245, 0.30);
  background: rgba(255,255,255,0.06);
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #F87171;
}
.form-field.has-error input:focus,
.form-field.has-error select:focus,
.form-field.has-error textarea:focus {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.25);
}
.form-error {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  color: #F87171;
  min-height: 14px;
  margin-top: 2px;
}

.form-submit { margin-top: 12px; }
.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  font-size: 15px;
}

.form-foot {
  margin-top: 16px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  text-align: center;
}

#form-success {
  background: rgba(45, 92, 245, 0.15);
  border: 1px solid var(--accent);
  border-radius: var(--radius-m);
  padding: 32px;
  text-align: center;
}
#form-success h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
#form-success p {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-contact .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .hero-contact          { padding-top: 56px; padding-bottom: 64px; }
  .contact-form-panel    { padding: 28px 24px; }
  .form-row              { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-field  { margin-bottom: 18px; }
  .contact-block-value   { font-size: 19px; }
  .contact-form-panel .form-title { font-size: 24px; }
}
