.contact-page { min-height: 100vh; background: var(--navy); color: var(--paper); }
.contact-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 5%; border-bottom: 1px solid #ffffff2b; }
.contact-language, .contact-back { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.contact-language:hover, .contact-back:hover, .contact-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-back { color: #d4e1e9; }
.contact-back span { color: #f38b4c; font-size: 23px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); align-items: start; gap: clamp(32px, 7vw, 104px); width: min(1120px, 90%); margin: auto; padding: clamp(32px, 6vw, 88px) 0; }
.contact-intro h1 { font: 800 clamp(58px, 7vw, 100px)/.95 var(--heading); margin: 20px 0; }
.contact-intro p { max-width: 34ch; color: #d4e1e9; }
.contact-email { display: inline-block; margin: 14px 0 28px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.contact-intro img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-bottom: 3px solid var(--red); }
.contact-form { background: var(--paper); color: var(--ink); border-top: 3px solid var(--red); padding: clamp(20px, 4vw, 38px); min-width: 0; }
.contact-form h2 { font: 700 clamp(30px, 4vw, 43px)/1.02 var(--heading); margin: 0 0 24px; }
.contact-form fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.contact-form label { display: grid; gap: 7px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a6b5be; border-radius: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 var(--body); }
.contact-form textarea { resize: vertical; min-height: 112px; }
.contact-form :is(input, textarea):focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }
.contact-form #contact-hint, .contact-privacy { font-size: 14px; color: var(--muted); }
.contact-form #contact-hint { margin: 8px 0 16px; }
.contact-form #contact-challenge:not(:empty) { margin-bottom: 12px; }
.contact-form [type="submit"] { background: var(--navy); color: #fff; min-height: 48px; padding: 10px 20px; }
.contact-form [type="submit"]:not(:disabled):hover { background: #23435b; }
.contact-form [type="submit"]:disabled { opacity: .65; }
.contact-status:not(:empty) { margin-top: 14px; font-weight: 600; }
.contact-status[data-state="success"] { color: #235d48; }
.contact-status[data-state="error"] { color: #9f2b25; }
.contact-privacy { display: inline-block; padding: 12px 0; margin-top: 8px; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 820px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
  .contact-intro img { display: none; }
  .contact-intro h1 { margin-top: 10px; }
  .contact-email { margin-bottom: 0; }
}
@media (max-width: 500px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .contact-form [type="submit"] { width: 100%; }
}
