/* subsites/contact.css */
:root {
    --bg: #e7edf7;
    --bg2: #d8e3f4;
    --text: #071022;
    --muted: rgba(7, 16, 34, 0.72);
    --muted2: rgba(7, 16, 34, 0.58);
    --line: rgba(7, 16, 34, 0.14);
    --primary: #005CFF;
    --primary2: #22C8FF;

    --shadow: 0 20px 60px rgba(7, 16, 34, 0.14);
    --radius-xl: 26px;
    --radius-lg: 18px;

    --container: 1120px;
    --h1: clamp(2.2rem, 4vw, 3.15rem);
    --h2: clamp(1.6rem, 2.2vw, 2.15rem);

    --s2: 1.25rem;
    --s3: 1.9rem;
    --s4: 2.8rem;
    --s5: 3.8rem;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(900px 450px at 20% -10%, rgba(0, 92, 255, 0.16), transparent 62%),
        radial-gradient(750px 400px at 90% 10%, rgba(34, 200, 255, 0.13), transparent 58%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
    line-height: 1.6;
}

h1,
h2 {
    font-family: Sora, Inter, system-ui, sans-serif;
    letter-spacing: -0.95px;
    margin: 0;
}

h1 {
    font-weight: 800;
    font-size: var(--h1);
    line-height: 1.03;
}

h2 {
    font-weight: 750;
    font-size: var(--h2);
    line-height: 1.12;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(100% - 2.2rem, var(--container));
    margin-inline: auto;
}

/* ✅ IMPORTANT: prevents success message showing unless JS unhides */
[hidden] {
    display: none !important;
}

/* Topbar */
.topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s2);
    padding: .8rem 0;
}

.topbar-text {
    margin: 0;
    font-size: .95rem;
    color: var(--muted);
    font-weight: 800;
}

.topbar-right {
    display: flex;
    gap: 1.1rem;
    align-items: center;
}

.topbar-link {
    font-size: .95rem;
    color: rgba(7, 16, 34, 0.80);
    font-weight: 800;
}

.topbar-link:hover {
    text-decoration: underline;
}

.topbar-call {
    font-weight: 950;
    font-size: .95rem;
    color: rgba(7, 16, 34, 0.92);
}

.topbar-call:hover {
    text-decoration: underline;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
    padding: 1.25rem 0;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 96px;
}

.brand-mark {
    height: 92px;
    width: auto;
    display: block;
}

.nav {
    display: none;
    gap: 1.4rem;
    align-items: center;
}

.nav-link {
    font-family: Sora, Inter, system-ui, sans-serif;
    font-size: 1.02rem;
    font-weight: 850;
    color: rgba(7, 16, 34, 0.76);
    padding: .35rem .15rem;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: rgba(7, 16, 34, 0.96);
}

.nav-link.active {
    color: rgba(7, 16, 34, 0.96);
    border-bottom-color: rgba(0, 92, 255, 0.55);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .9rem 1.25rem;
    font-weight: 900;
    border: 1px solid transparent;
    transition: transform 120ms ease, opacity 120ms ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
    box-shadow: 0 18px 40px rgba(0, 92, 255, 0.22);
}

.btn-primary:hover {
    opacity: .96;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(7, 16, 34, 0.18);
    color: rgba(7, 16, 34, 0.95);
}

.btn-full {
    width: 100%;
}

/* Hamburger */
.hamburger {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(7, 16, 34, 0.18);
    background: rgba(255, 255, 255, 0.88);
    display: grid;
    place-items: center;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(7, 16, 34, 0.78);
    margin: 2.5px 0;
    border-radius: 999px;
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(7, 16, 34, 0.42);
    backdrop-filter: blur(8px);
    display: none;
    padding: var(--s3);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu-inner {
    width: min(100%, 520px);
    margin-left: auto;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(7, 16, 34, 0.14);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: var(--s3);
}

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .25rem .25rem 1rem .25rem;
    border-bottom: 1px solid rgba(7, 16, 34, 0.12);
    margin-bottom: 1rem;
}

.mobile-title {
    margin: 0;
    font-weight: 900;
    font-family: Sora, Inter, system-ui, sans-serif;
}

.mobile-close {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(7, 16, 34, 0.18);
    background: rgba(255, 255, 255, 0.92);
}

.mobile-link {
    display: block;
    padding: 1rem .85rem;
    border-radius: 16px;
    font-weight: 900;
    font-family: Sora, Inter, system-ui, sans-serif;
}

.mobile-link:hover {
    background: rgba(0, 92, 255, 0.10);
}

.mobile-cta {
    display: grid;
    gap: .8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(7, 16, 34, 0.12);
}

/* =========================================================
   HERO (FIX: more breathing room like Home)
   ========================================================= */

/* Was super tight: padding 2.3rem 0 1.1rem; */
.page-hero {
    padding: clamp(3.1rem, 5vw, 4.2rem) 0 clamp(1.9rem, 3vw, 2.6rem);
}

.page-hero-inner {
    max-width: 900px;
}

/* ✅ KEY FIX: space between Contact badge and H1 */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem .95rem;
    border-radius: 999px;
    background: rgba(0, 92, 255, 0.10);
    border: 1px solid rgba(0, 92, 255, 0.16);
    font-weight: 800;
    color: rgba(7, 16, 34, 0.86);
    font-family: Sora, Inter, system-ui, sans-serif;

    margin-bottom: 1rem;
    /* ✅ added */
}

.kicker .dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary2));
}

/* More consistent rhythm under H1 */
.lead {
    margin: 1rem 0 0;
    /* was var(--s3) which was too much sometimes / weird with small hero */
    color: var(--muted);
    font-weight: 650;
    font-size: 1.06rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.55rem;
    /* was 1.2rem (too tight) */
}

/* Contact grid */
.contact {
    padding: 1.8rem 0 var(--s5);
    /* was 1.4rem -> adds breathing room before panel */
}

.contact-grid {
    display: grid;
    gap: var(--s4);
    align-items: start;
}

.panel {
    background: rgba(255, 255, 255, 0.44);
    border: 1px solid rgba(7, 16, 34, 0.10);
    border-radius: 30px;
    box-shadow: 0 22px 55px rgba(7, 16, 34, 0.08);
    overflow: hidden;
}

.panel-head {
    padding: 1.6rem 1.7rem 1.1rem;
    border-bottom: 1px solid rgba(7, 16, 34, 0.12);
    background: rgba(0, 92, 255, 0.08);
}

.panel-head p {
    margin: .4rem 0 0 0;
    color: var(--muted);
    font-weight: 650;
}

/* Success (only when JS unhides it) */
.success {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .9rem 1.7rem;
    border-bottom: 1px solid rgba(7, 16, 34, 0.12);
    background: rgba(34, 200, 255, 0.10);
    font-weight: 800;
    color: rgba(7, 16, 34, 0.88);
}

.success .tick {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(0, 92, 255, 0.14);
    border: 1px solid rgba(0, 92, 255, 0.20);
}

.form {
    padding: 1.5rem 1.7rem 1.7rem;
    display: grid;
    gap: 1rem;
}

.row {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: .45rem;
}

.field span {
    font-size: .9rem;
    color: rgba(7, 16, 34, 0.78);
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .95rem 1.05rem;
    border-radius: 16px;
    border: 1px solid rgba(7, 16, 34, 0.18);
    background: rgba(255, 255, 255, 0.98);
    outline: none;
}

.field textarea {
    resize: vertical;
    min-height: 150px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(0, 92, 255, 0.60);
    box-shadow: 0 0 0 5px rgba(0, 92, 255, 0.12);
}

.error {
    min-height: 1.05rem;
    font-size: .82rem;
    color: rgba(210, 30, 30, 0.92);
    font-weight: 700;
}

.checks {
    margin-top: .2rem;
}

.check {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-weight: 650;
    color: rgba(7, 16, 34, 0.76);
}

.check input {
    margin-top: .25rem;
}

.fineprint {
    font-size: .85rem;
    color: rgba(7, 16, 34, 0.58);
    margin: .6rem 0 0 0;
}

/* Side cards */
.side {
    display: grid;
    gap: 1.1rem;
}

.card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(7, 16, 34, 0.14);
    border-radius: 22px;
    padding: 1.35rem;
    box-shadow: 0 18px 45px rgba(7, 16, 34, 0.08);
}

.card-title {
    margin: 0;
    font-weight: 900;
    font-family: Sora, Inter, system-ui, sans-serif;
}

.card-link {
    display: inline-block;
    margin-top: .55rem;
    font-weight: 900;
    color: rgba(0, 92, 255, 0.88);
}

.card-link:hover {
    text-decoration: underline;
}

.card-sub {
    margin: .55rem 0 0 0;
    color: var(--muted);
    font-weight: 650;
}

.map {
    border-radius: 22px;
    border: 1px dashed rgba(7, 16, 34, 0.22);
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.55);
}

.map-title {
    margin: 0;
    font-weight: 900;
    font-family: Sora, Inter, system-ui, sans-serif;
}

.map-sub {
    margin: .55rem 0 0 0;
    color: var(--muted);
    font-weight: 650;
}

/* CTA + footer */
.cta-band {
    padding: var(--s5) 0;
    border-top: 1px solid rgba(7, 16, 34, 0.14);
    border-bottom: 1px solid rgba(7, 16, 34, 0.14);
    background: linear-gradient(180deg, rgba(0, 92, 255, 0.10), rgba(34, 200, 255, 0.08));
}

.cta-band-inner {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
    align-items: flex-start;
    justify-content: space-between;
}

.cta-band p {
    margin: .35rem 0 0 0;
    color: var(--muted);
    font-weight: 650;
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer {
    padding: var(--s5) 0 var(--s4);
    border-top: 1px solid rgba(7, 16, 34, 0.14);
    background: rgba(255, 255, 255, 0.82);
}

.footer-grid {
    display: grid;
    gap: var(--s4);
}

.footer-mark {
    height: 76px;
    width: auto;
    display: block;
    margin-bottom: var(--s2);
}

.footer-heading {
    margin: 0 0 .7rem 0;
    font-weight: 900;
    font-family: Sora, Inter, system-ui, sans-serif;
}

.footer-link {
    display: block;
    padding: .35rem 0;
    color: rgba(7, 16, 34, 0.80);
    font-weight: 750;
}

.footer-link:hover {
    color: rgba(7, 16, 34, 0.95);
    text-decoration: underline;
}

.muted {
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: var(--s4);
    padding-top: var(--s4);
    border-top: 1px solid rgba(7, 16, 34, 0.14);
}

.backtop:hover {
    text-decoration: underline;
}

/* Responsive */
@media (min-width: 900px) {
    .nav {
        display: flex;
    }

    .hamburger {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .row {
        grid-template-columns: 1fr 1fr;
    }

    .cta-band-inner {
        flex-direction: row;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1.2fr .6fr .75fr;
        gap: var(--s5);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 520px) {
    .topbar-text {
        display: none;
    }

    .brand-mark {
        height: 74px;
    }
}