.contact-hero .page-hero-inner {
  padding-top: clamp(78px, 10vw, 132px);
  padding-bottom: clamp(70px, 9vw, 112px);
}

.contact-hero h1 {
  margin-bottom: 18px;
}

.contact-shell {
  max-width: 1120px;
  padding-top: clamp(70px, 9vw, 112px);
  padding-bottom: clamp(92px, 12vw, 156px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(34px, 7vw, 100px);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 32px);
}

.contact-copy h2,
.form-panel-heading h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.contact-copy > p:not(.section-kicker):not(.contact-copy-mail),
.form-panel-heading > p:last-child {
  color: var(--ink-soft);
}

.section-kicker,
.card-label,
.turnstile-label {
  color: var(--coral);
}

.contact-copy-note {
  margin-top: 38px;
  padding: 20px 22px;
  border-left: 3px solid var(--cyan);
  background: var(--warm-gray);
}

.contact-copy-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.9rem;
}

.contact-copy-note p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.contact-copy-mail {
  margin-top: 26px;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.contact-copy-mail a {
  font-weight: 800;
}

.contact-form-panel {
  min-width: 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 14px 38px rgba(10, 25, 48, 0.055);
}

.form-panel-heading {
  margin-bottom: 30px;
}

.form-panel-heading .card-label,
.form-required-note,
.turnstile-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-panel-heading .card-label {
  margin-bottom: 12px;
}

.form-panel-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
}

.form-panel-heading > p:last-child {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.form-status {
  margin-bottom: 24px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  background: var(--cyan-soft);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.7;
}

.form-status.is-error {
  border-color: rgba(166, 79, 69, 0.3);
  border-left-color: var(--coral);
  background: var(--coral-soft);
}

.form-status.is-success {
  border-color: rgba(97, 127, 104, 0.32);
  border-left-color: var(--green);
  background: #edf4ee;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.form-required-note {
  margin: 0 0 1px;
  color: var(--ink-faint);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.form-required-note span,
.required-mark {
  color: var(--coral);
}

.form-field {
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
}

.form-control {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

select.form-control {
  padding-right: 42px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 19px) 23px, calc(100% - 13px) 23px;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.form-control-textarea {
  min-height: 180px;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--focus);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 127, 152, 0.14);
}

.form-control[aria-invalid="true"] {
  border-color: var(--coral);
  background: #fffaf9;
}

.field-help,
.field-error {
  margin: 7px 0 0;
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.65;
}

.field-error {
  color: var(--coral-dark);
  font-weight: 700;
}

.turnstile-panel {
  min-width: 0;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: var(--warm-gray);
}

.turnstile-label {
  margin-bottom: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.turnstile-widget {
  display: flex;
  min-height: 66px;
  max-width: 100%;
  align-items: center;
}

.turnstile-widget iframe {
  max-width: 100%;
}

.turnstile-panel .field-help {
  margin-top: 9px;
}

.form-actions {
  display: grid;
  gap: 11px;
  justify-items: start;
}

.contact-submit {
  display: inline-flex;
  min-width: 190px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.contact-submit:hover:not(:disabled) {
  border-color: var(--coral-dark);
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.contact-submit:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.form-setup-note,
.form-privacy-note,
.noscript-note {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.78rem;
  line-height: 1.75;
}

.form-privacy-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.honeypot-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.noscript-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--coral);
  background: var(--coral-soft);
}

@media (max-width: 760px) {
  .contact-layout {
    display: block;
  }

  .contact-copy {
    position: static;
    margin-bottom: 42px;
  }

  .contact-copy-note {
    margin-top: 26px;
  }

  .contact-form-panel {
    padding: 26px 22px;
  }
}

@media (max-width: 480px) {
  .contact-hero .page-hero-inner {
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .contact-shell {
    padding-top: 58px;
    padding-bottom: 92px;
  }

  .contact-form-panel {
    padding: 24px 17px;
  }

  .turnstile-panel {
    padding-right: 12px;
    padding-left: 12px;
  }

  .contact-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-control,
  .contact-submit {
    transition: none;
  }
}
