/* Dedicated contact-page styling. Kept separate from the shared header/footer CSS. */
.contact-page,
.contact-page * {
    box-sizing: border-box;
}

.contact-page {
    margin: 0;
    min-height: 100vh;
    color: #10213b;
    background: #f6f9fd;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.contact-page a { text-decoration: none; }
.contact-page button,
.contact-page input,
.contact-page textarea { font-family: inherit; }
.contact-page main { overflow: hidden; }
.contact-page .container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

/* Intro / hero */
.contact-page .contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 86% 10%, rgba(0,120,251,.16), transparent 33%),
        radial-gradient(ellipse at 7% 100%, rgba(0,120,251,.075), transparent 36%),
        linear-gradient(125deg, #edf6ff 0%, #ffffff 55%, #f3f8ff 100%);
    border-bottom: 1px solid #e5edf7;
}
.contact-page .contact-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -100px;
    top: -210px;
    width: 440px;
    height: 440px;
    border: 1px solid rgba(0,120,251,.13);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(0,120,251,.035), 0 0 0 68px rgba(0,120,251,.025), 0 0 0 108px rgba(0,120,251,.018);
}
.contact-page .contact-hero-inner { position: relative; z-index: 1; padding-top: clamp(42px, 5.4vw, 70px); padding-bottom: clamp(38px, 4.8vw, 62px); }
.contact-page .contact-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 13px; border: 1px solid #d5e8ff; border-radius: 999px;
    color: #005bd1; background: rgba(255,255,255,.82);
    font-size: 12px; line-height: 1; font-weight: 800; letter-spacing: .02em;
    box-shadow: 0 4px 14px rgba(15,72,135,.04);
}
.contact-page .contact-eyebrow span { width: 7px; height: 7px; flex: 0 0 7px; background: #0078fb; border-radius: 50%; box-shadow: 0 0 0 4px rgba(0,120,251,.12); }
.contact-page .contact-hero h1 {
    max-width: 790px; margin: 19px 0 15px; color: #0c1e37;
    font-size: clamp(34px, 4.4vw, 56px); font-weight: 850;
    line-height: 1.08; letter-spacing: -.052em;
}
.contact-page .contact-hero h1 span { color: #0078fb; }
.contact-page .contact-hero p { max-width: 725px; margin: 0; color: #566981; font-size: clamp(15px, 1.4vw, 17px); line-height: 1.8; }
.contact-page .contact-hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.contact-page .contact-hero-pills span { padding: 8px 12px; border: 1px solid #dfeaf7; border-radius: 999px; color: #435570; background: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; }

/* Main two-column content */
.contact-page .contact-layout {
    display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(22px, 3.1vw, 38px); align-items: start;
    padding-top: clamp(30px, 4vw, 48px); padding-bottom: 76px;
}
.contact-page .contact-info-column { display: grid; gap: 14px; min-width: 0; }
.contact-page .contact-section-intro { padding: 3px 0 7px; }
.contact-page .contact-mini-label { color: #0078fb; font-size: 10px; font-weight: 900; letter-spacing: .15em; line-height: 1.5; }
.contact-page .contact-section-intro h2,
.contact-page .contact-form-heading h2 { margin: 8px 0 9px; color: #10213b; font-size: clamp(23px, 2vw, 28px); line-height: 1.22; letter-spacing: -.04em; font-weight: 800; }
.contact-page .contact-section-intro p,
.contact-page .contact-form-heading p { margin: 0; color: #68798f; font-size: 13px; line-height: 1.75; }

.contact-page .contact-info-card {
    display: flex; align-items: flex-start; gap: 14px; min-width: 0;
    padding: 17px; border: 1px solid #e1eaf5; border-radius: 17px;
    color: inherit; background: #fff; box-shadow: 0 7px 24px rgba(20,48,86,.035);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.contact-page a.contact-info-card:hover { border-color: #b8d8ff; transform: translateY(-2px); box-shadow: 0 13px 28px rgba(20,48,86,.075); }
.contact-page .contact-info-icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; color: #0078fb; background: #eaf4ff; border-radius: 13px; }
.contact-page .contact-info-icon svg { display: block; width: 21px; height: 21px; }
.contact-page .contact-info-copy { display: grid; gap: 4px; min-width: 0; flex: 1; }
.contact-page .contact-info-copy small { color: #738198; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; line-height: 1.5; }
.contact-page .contact-info-copy strong { color: #10213b; font-size: 14px; line-height: 1.5; font-weight: 800; overflow-wrap: anywhere; }
.contact-page .contact-info-copy em { color: #748197; font-size: 11px; line-height: 1.55; font-style: normal; }
.contact-page .contact-info-copy > span { color: #586981; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-page .contact-card-arrow { margin-left: auto; color: #0078fb; font-weight: 900; }
.contact-page .contact-map-link { display: inline-flex; align-self: start; margin-top: 5px; color: #0078fb; font-size: 11px; line-height: 1.6; font-weight: 850; }
.contact-page .contact-map-link:hover { color: #005bd1; text-decoration: underline; }

.contact-page .contact-whatsapp-card { display: flex; align-items: flex-start; gap: 14px; padding: 19px; border: 1px solid #ccefd9; border-radius: 17px; background: linear-gradient(135deg,#f0fff6,#fff 80%); }
.contact-page .contact-whatsapp-symbol { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 13px; color: #fff; background: #25d366; }
.contact-page .contact-whatsapp-symbol svg { display: block; width: 25px; height: 25px; }
.contact-page .contact-whatsapp-card strong { display: block; margin: 0 0 5px; color: #123d28; font-size: 14px; font-weight: 800; }
.contact-page .contact-whatsapp-card p { margin: 0 0 10px; color: #557467; font-size: 12px; line-height: 1.7; }
.contact-page .contact-whatsapp-card a { color: #128c4a; font-size: 12px; font-weight: 850; }
.contact-page .contact-whatsapp-card a:hover { text-decoration: underline; }

/* Contact form */
.contact-page .contact-form-card { min-width: 0; padding: clamp(22px, 3vw, 35px); border: 1px solid #e0e9f5; border-radius: 22px; background: #fff; box-shadow: 0 16px 42px rgba(15,43,82,.065); }
.contact-page .contact-form-heading { margin-bottom: 24px; }
.contact-page .contact-alert { margin: 0 0 18px; padding: 13px 15px; border-radius: 12px; font-size: 12px; line-height: 1.65; }
.contact-page .contact-alert-success { border: 1px solid #b8e8c9; background: #effcf3; color: #166534; }
.contact-page .contact-alert-error { border: 1px solid #ffd0d0; background: #fff4f4; color: #a61b1b; }
.contact-page .contact-form { display: grid; gap: 17px; }
.contact-page .contact-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-page .contact-field { display: grid; gap: 7px; min-width: 0; }
.contact-page .contact-field label { color: #283950; font-size: 12px; font-weight: 800; line-height: 1.5; }
.contact-page .contact-field label span { color: #0078fb; }
.contact-page .contact-field input,
.contact-page .contact-field textarea {
    display: block; width: 100%; min-width: 0; margin: 0;
    border: 1px solid #dce6f2; border-radius: 11px; background: #fbfdff;
    padding: 12px 13px; color: #14243b; font-size: 13px; line-height: 1.55;
    outline: none; box-shadow: none; transition: border-color .16s, box-shadow .16s, background .16s;
}
.contact-page .contact-field input { min-height: 46px; }
.contact-page .contact-field textarea { min-height: 150px; resize: vertical; }
.contact-page .contact-field input:focus,
.contact-page .contact-field textarea:focus { border-color: #0078fb; background: #fff; box-shadow: 0 0 0 3px rgba(0,120,251,.11); }
.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder { color: #9aa7b8; opacity: 1; }
.contact-page .contact-field-hint { color: #8692a4; font-size: 10px; line-height: 1.5; }
.contact-page .field-error { color: #b42318; font-size: 11px; line-height: 1.5; }
.contact-page .contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; background: #0078fb; font-size: 13px; font-weight: 850; box-shadow: 0 9px 22px rgba(0,120,251,.2); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.contact-page .contact-submit:hover { background: #0068df; transform: translateY(-1px); box-shadow: 0 12px 25px rgba(0,120,251,.25); }
.contact-page .contact-submit:focus-visible { outline: 3px solid rgba(0,120,251,.35); outline-offset: 3px; }
.contact-page .contact-submit span { font-size: 18px; line-height: 1; }
.contact-page .contact-privacy-note { margin: -4px 0 0; color: #8491a3; font-size: 10px; line-height: 1.6; text-align: center; }
.contact-page .contact-honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 980px) {
    .contact-page .contact-layout { grid-template-columns: minmax(0,1fr); max-width: 760px; gap: 25px; }
    .contact-page .contact-info-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .contact-page .contact-section-intro,
    .contact-page .contact-address-card,
    .contact-page .contact-whatsapp-card { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .contact-page .container { width: calc(100% - 30px); }
    .contact-page .contact-hero-inner { padding-top: 39px; padding-bottom: 35px; }
    .contact-page .contact-hero h1 { font-size: clamp(32px, 8.8vw, 42px); letter-spacing: -.045em; }
    .contact-page .contact-hero p { font-size: 14px; line-height: 1.75; }
    .contact-page .contact-hero-pills { gap: 7px; margin-top: 18px; }
    .contact-page .contact-hero-pills span { font-size: 10px; padding: 7px 9px; }
    .contact-page .contact-layout { padding-top: 25px; padding-bottom: 50px; gap: 25px; }
    .contact-page .contact-info-column { grid-template-columns: minmax(0,1fr); gap: 11px; }
    .contact-page .contact-section-intro,
    .contact-page .contact-address-card,
    .contact-page .contact-whatsapp-card { grid-column: auto; }
    .contact-page .contact-form-card { padding: 22px 17px; border-radius: 17px; }
    .contact-page .contact-form-row { grid-template-columns: minmax(0,1fr); gap: 16px; }
    .contact-page .contact-section-intro h2,
    .contact-page .contact-form-heading h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-page .contact-info-card,
    .contact-page .contact-submit { transition: none; }
}
