/* contact.html (hand-built v3 page, templates/pages/contact.html) */

/* ---------- top ---------- */
:root.page-contact body > section.ct-top {
    position: relative; overflow: hidden; padding: 56px 0 72px;
    background: linear-gradient(180deg, #fff, var(--paper));
    border-bottom: 1px solid var(--rule);
}
:root.page-contact body .ct-top::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(rgba(7,24,39,.045) 1px, transparent 1px) 0 0 / 100% 64px;
}
:root.page-contact body .ct-top .wrap { position: relative; }
:root.page-contact body .ct-top h1 { margin: 18px 0 16px; font-size: clamp(40px, 5vw, 64px); }
:root.page-contact body .ct-top .lede { margin: 0; }

/* ---------- main: info + form ---------- */
:root.page-contact body > section.ct-main { padding: 88px 0 104px; }
:root.page-contact body .ct-main-in { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }

:root.page-contact body .ct-info {
    background: radial-gradient(600px 300px at 0% 0%, rgba(47,128,237,.25), transparent 60%), var(--navy);
    color: #C7D6E2; padding: 40px 36px; position: sticky; top: 100px;
}
:root.page-contact body .ct-info h2 { color: #fff; font-size: 28px; margin: 0 0 10px; }
:root.page-contact body .ct-info > p { color: #C7D6E2; font-size: 15.5px; margin: 0 0 24px; }
:root.page-contact body .ct-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
:root.page-contact body .ct-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
:root.page-contact body .ct-list svg { color: var(--blue-light); margin-top: 2px; }
:root.page-contact body .ct-list h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB0C2; margin: 0 0 4px; }
:root.page-contact body .ct-list p { margin: 0; color: #fff; font-size: 16px; line-height: 1.5; }
:root.page-contact body .ct-list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue-light); word-break: break-word; }
:root.page-contact body .ct-list a:hover { color: var(--blue-light); }
:root.page-contact body .ct-follow-h { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB0C2; margin: 28px 0 12px; }
:root.page-contact body .ct-social { display: flex; gap: 10px; }
:root.page-contact body .ct-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; transition: background .25s, border-color .25s; }
:root.page-contact body .ct-social a:hover { background: var(--blue); border-color: var(--blue); }

:root.page-contact body .ct-form { background: #fff; border: 1px solid var(--rule); padding: 44px 44px 36px; box-shadow: 0 30px 60px -40px rgba(7,24,39,.35); }
:root.page-contact body .ct-form h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 0 0 26px; }
:root.page-contact body .ct-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
:root.page-contact body .ct-form .form-group { margin-bottom: 20px; }
:root.page-contact body .ct-form :is(input, select, textarea) { min-height: 48px; }
:root.page-contact body .ct-form textarea { min-height: 140px; resize: vertical; }
:root.page-contact body .ct-form ::placeholder { color: #8A96A3; }
:root.page-contact body .form-checkbox { display: flex; align-items: flex-start; gap: 12px; margin: 4px 0 24px; }
:root.page-contact body .form-checkbox input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--navy); }
:root.page-contact body .form-checkbox label { font-size: 14.5px; font-weight: 400; color: var(--ink-2); cursor: pointer; margin: 0; }
:root.page-contact body .form-checkbox a { color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; }
:root.page-contact body #submit-btn { width: 100%; min-height: 52px; font-size: 16px; position: relative; }
:root.page-contact body .required-note { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }

/* form status + loading state (the submit script sets these classes) */
:root.page-contact body .form-status { display: none; padding: 16px 20px; margin-bottom: 22px; border: 1px solid var(--rule); border-left-width: 3px; }
:root.page-contact body .form-status.success { display: block; background: #EEF5FE; border-color: var(--blue); }
:root.page-contact body .form-status.error { display: block; background: #FDF1EE; border-color: #C0503A; }
:root.page-contact body .form-status h4 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
:root.page-contact body .form-status p { margin: 0; font-size: 15px; }
:root.page-contact body .btn-loading { pointer-events: none; opacity: .85; }
:root.page-contact body .btn-loading span { visibility: hidden; }
:root.page-contact body .btn-loading::after { content: "Sending..."; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #fff; }

/* ---------- FAQ ---------- */
:root.page-contact body > section.ct-faq { padding: 96px 0; }
:root.page-contact body .ct-faq-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
:root.page-contact body .ct-faq-head h2 { margin-top: 16px; font-size: clamp(30px, 3.4vw, 44px); }
:root.page-contact body .ct-faq-head .lede { margin: 0; }
:root.page-contact body .ct-faq-head .link-arrow { margin-left: 6px; }
:root.page-contact body .ct-qa { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--rule); }
:root.page-contact body .ct-qa > div { padding: 26px 0; border-bottom: 1px solid var(--rule); }
:root.page-contact body .ct-qa dt { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
:root.page-contact body .ct-qa dd { margin: 0; color: var(--ink-2); font-size: 16px; }
:root.page-contact body .ct-qa a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta ---------- */
:root.page-contact body > section.cta { padding: 88px 0; }
:root.page-contact body .cta h2 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 12px; }
:root.page-contact body .cta p { max-width: 34em; margin: 0; }
:root.page-contact body .cta a.btn.btn-light { background: #fff; color: var(--navy) !important; border-color: #fff; }
:root.page-contact body .cta a.btn.btn-light:hover { background: var(--blue-light); border-color: var(--blue-light); }
:root.page-contact body .cta .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }

@media (max-width: 1080px) {
    :root.page-contact body .ct-main-in { grid-template-columns: 320px 1fr; gap: 36px; }
}
@media (max-width: 860px) {
    :root.page-contact body .ct-main-in, :root.page-contact body .ct-faq-head, :root.page-contact body .ct-qa { grid-template-columns: 1fr; }
    :root.page-contact body .ct-faq-head { gap: 14px; }
    :root.page-contact body .ct-info { position: static; order: 2; }
    :root.page-contact body > section.ct-main { padding: 56px 0 72px; }
    :root.page-contact body > section.ct-faq { padding: 72px 0; }
}
@media (max-width: 560px) {
    :root.page-contact body > section > .wrap { padding: 0 16px; }
    :root.page-contact body > section.ct-top { padding: 32px 0 48px; }
    :root.page-contact body .ct-form { padding: 28px 20px 24px; }
    :root.page-contact body .ct-form .form-row { grid-template-columns: 1fr; gap: 0; }
    :root.page-contact body .ct-info { padding: 32px 22px; }
}
:root.page-contact body .ct-direct { margin: 18px 0 0; font-size: 15px; color: var(--ink-3); }
:root.page-contact body .ct-direct a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
:root.page-contact body #contact-form, :root.page-contact body .ct-form { scroll-margin-top: 110px; }
