/* Contact page. Ported from the React source's src/contact.css. Local tokens scoped to .page-contact
   instead of :root (global resets/fonts already come from styles.css + site-chrome.css). */
.contact-page { color: var(--chrome-navy); background: #f4f7f9; }
.contact-page main { padding-bottom: 0; }
.contact-hero { isolation: isolate; width: var(--site-width); min-height: 540px; margin: var(--page-top-space) auto var(--section-space); padding: clamp(44px, 6vw, 80px); position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .75fr); gap: clamp(34px, 6vw, 86px); align-items: center; overflow: hidden; border-radius: var(--chrome-radius); color: #f7fbfc; background: var(--chrome-navy-deep); }
.contact-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7,29,48,.98) 0%, rgba(7,29,48,.9) 40%, rgba(7,29,48,.5) 72%, rgba(7,29,48,.64) 100%); pointer-events: none; }
.contact-hero-media { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 0; object-fit: cover; object-position: center; }
.contact-hero-copy, .contact-hero aside { position: relative; z-index: 2; }
.contact-hero-copy { max-width: 825px; }
.contact-hero-copy > p, .contact-form-intro > p { margin: 0 0 14px; color: #65cec7; font-size: .76rem; font-weight: var(--font-weight-kicker); letter-spacing: .11em; text-transform: uppercase; }
.contact-hero h1 { max-width: 825px; margin: 0; font-size: clamp(3.2rem, 5.5vw, 5.6rem); line-height: 1.06; letter-spacing: -.055em; font-weight: var(--font-weight-display); }
.contact-hero-copy > span { max-width: 610px; margin-top: 24px; display: block; color: #d7e4e8; font-size: 1.05rem; line-height: 1.58; }
.contact-hero aside { display: grid; gap: 12px; }
.contact-hero aside > a, .contact-hero aside > div { min-width: 0; padding: 17px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; color: #f7fbfc; background: rgba(255,255,255,.06); }
.contact-hero aside svg { width: 25px; height: 25px; flex: 0 0 auto; color: #65cec7; }
.contact-hero aside span { min-width: 0; display: grid; gap: 3px; }
.contact-hero aside small { color: #9fb7c1; }
.contact-hero aside strong { overflow-wrap: anywhere; font-size: .9rem; }
.contact-form-section { width: var(--site-width); margin: 0 auto; padding: clamp(38px, 5vw, 68px); display: grid; grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr); gap: clamp(40px, 7vw, 92px); border: 1px solid var(--chrome-line); border-radius: var(--chrome-radius); background: #fff; }
.contact-form-intro h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.06; letter-spacing: -.045em; font-weight: var(--font-weight-heading); }
.contact-form-intro > span { margin-top: 18px; display: block; color: var(--chrome-muted); line-height: 1.5; }
.contact-form-intro > img { width: 100%; height: 230px; margin-top: 34px; border-radius: 14px; object-fit: cover; object-position: center; }
.expert-contact-form { min-width: 0; scroll-margin-top: 110px; }
.expert-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.expert-contact-grid label { min-width: 0; display: grid; gap: 7px; color: var(--chrome-navy); font-size: .79rem; font-weight: var(--font-weight-label); }
.expert-contact-grid .is-wide { grid-column: 1 / -1; }
.expert-contact-grid input, .expert-contact-grid select, .expert-contact-grid textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #9fb5bd; border-radius: 10px; outline: 0; color: var(--chrome-navy); background: #f7fafb; font: inherit; font-weight: var(--font-weight-label); }
.expert-contact-grid input, .expert-contact-grid select { min-height: 48px; }
.expert-contact-grid textarea { resize: vertical; line-height: 1.5; }
.expert-contact-grid input:focus, .expert-contact-grid select:focus, .expert-contact-grid textarea:focus { border-color: var(--chrome-teal); box-shadow: 0 0 0 3px rgba(23,124,119,.12); }
.expert-contact-submit, .expert-contact-success button { min-height: 50px; margin-top: 20px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; color: #f7fbfc; background: var(--chrome-teal); cursor: pointer; font: inherit; font-weight: var(--font-weight-action); }
.expert-contact-submit:hover, .expert-contact-success button:hover { background: #11665f; }
.expert-contact-submit svg { width: 18px; height: 18px; }
.expert-contact-success { min-height: 320px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.expert-contact-success > svg { width: 42px; height: 42px; color: var(--chrome-teal); }
.expert-contact-success h2 { margin: 17px 0 8px; font-size: 1.8rem; }
.expert-contact-success p { margin: 0; color: var(--chrome-muted); line-height: 1.55; }
.contact-modal-overlay { position: fixed; inset: 0; z-index: 300; padding: 24px; display: grid; place-items: center; overflow-y: auto; background: rgba(5,23,36,.7); backdrop-filter: blur(8px); }
.contact-modal { width: min(760px, 100%); max-height: calc(100vh - 48px); padding: clamp(25px, 4vw, 42px); overflow-y: auto; border-radius: 18px; background: #fff; box-shadow: 0 30px 90px rgba(4,20,32,.34); }
.contact-modal > header { margin-bottom: 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.contact-modal > header span { color: var(--chrome-teal); font-size: .75rem; font-weight: var(--font-weight-kicker); letter-spacing: .08em; text-transform: uppercase; }
.contact-modal > header h2 { margin: 5px 0 0; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.06; letter-spacing: -.035em; }
.contact-modal-close { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--chrome-line); border-radius: 10px; color: var(--chrome-navy); background: #f4f8f9; cursor: pointer; }
.contact-modal-close svg { width: 20px; height: 20px; }
.contact-modal .expert-contact-success { min-height: 280px; }
@media (max-width: 800px) { .contact-hero, .contact-form-section { grid-template-columns: 1fr; } .contact-hero { min-height: 0; } .contact-hero::after { background: rgba(7,29,48,.86); } .contact-form-intro > img { height: 280px; } }
@media (max-width: 580px) { .contact-hero, .contact-form-section { width: calc(100% - 32px); padding: 32px 22px; } .contact-hero h1 { font-size: clamp(2.8rem, 14vw, 4.1rem); } .contact-hero-copy > span { font-size: .98rem; } .contact-form-intro > img { height: 210px; } .expert-contact-grid { grid-template-columns: 1fr; } .expert-contact-grid .is-wide { grid-column: auto; } .contact-modal-overlay { padding: 0; } .contact-modal { min-height: 100vh; max-height: none; border-radius: 0; } .expert-contact-submit { width: 100%; } }

/* consent-field-css: checkbox + text as a flex row, not a stretched grid item */
.expert-contact-grid .consent-field { display: flex; align-items: flex-start; gap: 10px; }
.expert-contact-grid .consent-field input[type="checkbox"] { width: 19px; height: 19px; min-height: 0; flex: 0 0 auto; margin-top: 2px; accent-color: var(--chrome-teal, #177c77); cursor: pointer; }
.consent-field span { color: var(--chrome-muted, #5a6e7c); font-size: .85rem; line-height: 1.55; }
.consent-field a { color: var(--chrome-teal, #177c77); text-decoration: underline; }
.consent-field a:hover { color: var(--chrome-teal-dark, #0e625f); }

/* contact-form-feedback-css: inline submit feedback + selected-products textarea */
.expertcn-form-feedback { margin-top: 12px; font-size: .85rem; line-height: 1.5; }
.expertcn-form-feedback:empty { display: none; }
.expertcn-form-feedback.is-pending { color: var(--chrome-muted, #5a6e7c); }
.expertcn-form-feedback.is-error { color: #b3392c; }
#selected-products-input { font-family: inherit; }
