:root {
    --navy: #0b2344;
    --navy-light: #153d6a;
    --gold: #d3a743;
    --gold-dark: #a8791f;
    --ink: #18253a;
    --muted: #667387;
    --line: #dce3eb;
    --surface: #ffffff;
    --canvas: #f2f5f8;
}

* { box-sizing: border-box; }
body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 15%, rgba(211, 167, 67, .13), transparent 25rem),
        radial-gradient(circle at 90% 85%, rgba(21, 61, 106, .09), transparent 28rem),
        var(--canvas);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}

.site-header {
    min-height: 86px;
    color: #fff;
    background: #589B77;
    border-bottom: 1px solid rgba(255,255,255,.16);
}
.header-inner {
    width: min(1280px, calc(100% - 60px));
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.header-logo { width: clamp(220px, 21vw, 304px); height: 66px; flex: 0 0 auto; display: block; }
.header-logo img, .footer-logo img { width: 100%; height: 100%; display: block; object-fit: contain; object-position: left center; }
.main-navigation { min-width: 0; max-width: 100%; display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 2vw, 30px); }
.main-navigation a { position: relative; padding: 31px 0 29px; color: #fff; font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-navigation a::after { content: ""; position: absolute; right: 0; bottom: 23px; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .18s ease; }
.main-navigation a:hover::after, .main-navigation a.active::after { transform: scaleX(1); }
.language { padding: 8px 11px; color: #0d0100; background: #fff; border-radius: 7px; font-size: .76rem; font-weight: 700; }
.mobile-divider, .mobile-flag, .menu-toggle { display: none; }
.mobile-nav-group, .mobile-nav-link { display: none; }

main { display: grid; place-items: center; padding: clamp(48px, 8vw, 100px) 24px; }
.verification-panel { width: min(1120px, 100%); min-width: 0; display: grid; grid-template-columns: 1.08fr minmax(340px, 480px); gap: clamp(52px, 8vw, 110px); align-items: center; }
.contact-panel { width: min(520px, 100%); min-width: 0; display: grid; align-items: center; }
.intro, .search-card { min-width: 0; }
.eyebrow, .card-label { display: block; margin-bottom: 12px; color: var(--gold-dark); font-size: .73rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
h1, h2 { margin-top: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.12; }
h1 { max-width: 630px; margin-bottom: 18px; font-size: clamp(2.5rem, 5.4vw, 4.7rem); letter-spacing: -.035em; }
h2 { margin-bottom: 9px; font-size: 1.65rem; }
.intro > p { max-width: 610px; color: var(--muted); font-size: 1.08rem; line-height: 1.72; }
.security-note { max-width: 590px; display: flex; gap: 13px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.security-note > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 50%; font-size: .75rem; }
.security-note p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.security-note strong { color: var(--ink); }

.search-card { padding: clamp(27px, 4vw, 43px); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 35, 68, .12); }
.search-card > p { margin: 0 0 24px; color: var(--muted); font-size: .9rem; }
form { display: grid; gap: 13px; }
label { font-size: .82rem; font-weight: 800; }
input {
    width: 100%; min-height: 54px; padding: 12px 14px;
    color: var(--ink); background: #fff; border: 1px solid #bdc8d5; border-radius: 9px;
    font: inherit; font-size: 1.03rem; letter-spacing: .035em; outline: none;
}
input:focus { border-color: var(--navy-light); box-shadow: 0 0 0 4px rgba(21, 61, 106, .11); }
button {
    min-height: 52px; margin-top: 5px; border: 0; border-radius: 9px;
    color: #fff; background: var(--navy); font: inherit; font-weight: 800; cursor: pointer;
}
button:hover { background: var(--navy-light); }
.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
    min-height: 0 !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}
.alert { margin-bottom: 19px; padding: 12px 14px; color: #912018; background: #fff1f0; border: 1px solid #f3c3bf; border-radius: 9px; font-size: .86rem; }
.help-text { display: block; margin-top: 18px; color: var(--muted); font-size: .75rem; text-align: center; }
.contact-list { display: grid; gap: 22px; }
.contact-list div { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-list span { display: block; margin-bottom: 7px; color: var(--gold-dark); font-size: .72rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.contact-list p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; }
.contact-list a { color: var(--navy); font-size: 1rem; font-weight: 750; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.site-footer { color: #524e4e; background: #f6f5f5; border-top: 1px solid #ece7e6; }
.footer-content {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 58px 0 48px;
    display: grid;
    grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(150px, 1fr));
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.footer-logo { width: min(100%, 300px); height: 72px; display: block; }
.footer-column { min-width: 0; display: grid; gap: 10px; align-content: start; }
.footer-column h3 { margin: 0 0 9px; color: #0d0100; font-family: inherit; font-size: .9rem; font-weight: 750; }
.footer-column a { width: fit-content; color: #524e4e; font-size: .83rem; text-decoration: none; }
.footer-column a, .footer-column p { max-width: 100%; overflow-wrap: anywhere; }
.footer-column a:hover { color: var(--navy); text-decoration: underline; }
.footer-column p { margin: 0 0 6px; font-size: .83rem; line-height: 1.65; }
.footer-bottom { padding: 19px max(24px, calc((100vw - 1240px) / 2)); border-top: 1px solid #fbeBE9; font-size: .78rem; }

@media (max-width: 980px) {
    .header-inner { width: min(100% - 44px, 1280px); min-height: 82px; gap: 18px; }
    .header-logo { width: 238px; height: 56px; }
    .main-navigation { gap: 16px; }
    .main-navigation a { padding: 29px 0 27px; font-size: .78rem; }
    .main-navigation a::after { bottom: 21px; }
    .language { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr 1fr; }
    .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
    .site-header, .header-inner { min-height: auto; }
    .site-header { overflow: hidden; }
    .header-inner { width: min(100% - 32px, 1280px); min-height: 116px; padding: 22px 0; flex-wrap: nowrap; gap: 16px; position: relative; }
    .header-logo { width: min(286px, 68vw); height: 60px; }
    .language { display: none; }
    .mobile-divider {
        display: none;
        width: 1px;
        height: 50px;
        flex: 0 0 auto;
        background: rgba(255,255,255,.42);
    }
    .mobile-flag {
        display: none !important;
        width: 50px;
        height: 33px;
        flex: 0 0 auto;
        background: linear-gradient(#ef2b2d 0 50%, #009e49 50% 100%);
        position: relative;
    }
    .mobile-flag::after {
        content: "\2605";
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: #fcd116;
        font-size: 12px;
        line-height: 1;
    }
    .menu-toggle {
        order: 4;
        width: 34px;
        height: 30px;
        min-height: 0 !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        gap: 4px;
        color: #fff !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        cursor: pointer;
        outline-offset: 5px;
    }
    .menu-toggle span {
        width: 28px;
        height: 3px;
        display: block;
        background: currentColor;
        border-radius: 999px;
        transition: transform .18s ease, opacity .18s ease;
    }
    .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open span:nth-child(3) { transform: translateY(-15px) rotate(-45deg); }
    .main-navigation {
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        z-index: 20;
        width: min(356px, calc(100vw - 68px));
        max-width: none;
        padding: 22px 26px 24px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        color: #0d0100;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 24px 58px rgba(11, 35, 68, .16);
        transform: translateX(-50%);
        overflow: visible;
    }
    .menu-open .site-header { overflow: visible; }
    .menu-open .main-navigation { display: flex; }
    .desktop-nav-link { display: none; }
    .mobile-nav-link, .mobile-nav-group { display: block; }
    .main-navigation a { width: fit-content; padding: 0; color: #111; font-size: 18px; font-weight: 400; line-height: 1.25; }
    .main-navigation a::after { display: none; }
    .mobile-nav-group { width: 100%; }
    .mobile-nav-group summary {
        width: fit-content;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #111;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.25;
        list-style: none;
        cursor: pointer;
    }
    .mobile-nav-group summary::-webkit-details-marker { display: none; }
    .mobile-nav-group summary::after {
        content: "";
        width: 9px;
        height: 9px;
        margin-top: -4px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .16s ease;
    }
    .mobile-nav-group a {
        display: block;
        margin-top: 17px;
        margin-left: 0;
        color: #524e4e;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.2;
    }
    .main-navigation::after {
        content: "English";
        width: fit-content;
        margin-top: 2px;
        padding: 14px 18px;
        color: #111;
        background: #eee;
        border-radius: 10px;
        font-size: 15px;
    }
    .verification-panel, .contact-panel { grid-template-columns: 1fr; gap: 36px; }
    .intro { text-align: center; }
    .intro > p, .security-note { margin-left: auto; margin-right: auto; }
    .security-note { text-align: left; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .header-inner, .footer-content { width: min(100% - 30px, 1240px); }
    .header-inner { min-height: 116px; gap: 12px; }
    .header-logo { width: min(276px, 68vw); height: 60px; }
    .mobile-divider { display: none; }
    .language { display: none; }
    .mobile-flag { display: none !important; }
    .menu-toggle { width: 34px; height: 30px; }
    .menu-toggle span { width: 27px; height: 3px; }
    .main-navigation { width: min(356px, calc(100vw - 68px)); }
    main { padding: 42px 15px 56px; }
    .search-card { padding: 24px 19px; }
    h1 { font-size: 2.55rem; }
    .footer-content { grid-template-columns: 1fr; padding: 42px 0 35px; }
    .footer-logo { grid-column: auto; width: 235px; height: 58px; }
}
