:root {
    --navy: #1A237E;
    --navy-deep: #12185c;
    --navy-soft: #eef0fb;
    --gold: #F2C94C;
    --gold-dark: #F4B400;
    --ink: #16182a;
    --muted: #5c6278;
    --line: #e6e8f2;
    --paper: #f7f8fc;
    --white: #ffffff;
    --radius: 14px;
    --shadow: 0 12px 40px rgba(8, 16, 128, 0.08);
    --header-h: 54px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Outfit", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--navy);
    text-decoration: none;
}

a:hover {
    color: var(--gold-dark);
}

.site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 24px;
}

.brand-logo img {
    display: block;
    height: 52px;
    width: auto;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--navy);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: block;
    padding: 10px 14px;
    color: var(--ink);
    font-weight: 500;
    border-radius: 8px;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--navy);
    background: var(--navy-soft);
}

.nav-item {
    position: relative;
}

.nav-item > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.nav-item:hover > ul,
.nav-item:focus-within > ul {
    display: block;
}

.nav-item > ul a {
    padding: 10px 12px;
}

/* Hero */
.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(248, 184, 24, 0.22), transparent 32%),
        linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 58%, #1a2ab8 100%);
    color: var(--white);
    padding: 88px 0 92px;
}

.hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 16ch;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    margin: 0 0 28px;
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: none;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    color: inherit;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn-gold:hover {
    background: #ffc93a;
    color: var(--navy-deep);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--navy-deep);
    color: var(--white);
}

/* Sections */
.section {
    padding: 76px 0;
}

.section-muted {
    background: var(--paper);
}

.section-title {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.2;
}

.section-lead {
    margin: 0 0 36px;
    color: var(--muted);
    max-width: 62ch;
}

.kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-grid,
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.about-grid {
    align-items: center;
}

.split-grid {
    align-items: stretch;
}

.prose {
    color: var(--ink);
}

.prose h2,
.prose h3 {
    margin: 28px 0 10px;
    line-height: 1.3;
}

.prose p {
    margin: 0 0 16px;
}

.prose ul {
    padding-left: 18px;
}

.prose li {
    margin: 8px 0;
}

.float-img {
    float: right;
    width: min(400px, 42%);
    margin: 0 0 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 1px 0 rgba(8, 16, 128, 0.03);
    height: 100%;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.card h3 a {
    color: inherit;
}

.card p {
    margin: 0 0 16px;
    color: var(--muted);
}

.card-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.card-list li {
    margin: 6px 0;
}

.why-grid {
    grid-template-columns: repeat(4, 1fr);
}

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip-row li {
    padding: 8px 16px;
    background: var(--navy-soft);
    color: var(--navy);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
}

.icon-dot {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--navy-soft);
    color: var(--navy);
    font-weight: 700;
}

.link-more {
    font-weight: 600;
    color: var(--navy);
}

.link-more:hover {
    color: var(--gold-dark);
}

/* Page hero */
.page-hero {
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    color: var(--white);
    padding: 48px 0 44px;
}

.page-hero h1 {
    margin: 8px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.crumbs {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.crumbs a {
    color: var(--gold);
}

.crumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.4);
}

.page-note {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Forms */
.form-card,
.contact-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.site-form input,
.site-form select,
.site-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    background: var(--white);
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
    outline: 2px solid rgba(8, 16, 128, 0.18);
    border-color: var(--navy);
}

.captcha-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.captcha-box label {
    width: 100%;
    margin: 0;
    font-weight: 600;
}

.captcha-q {
    margin: 0;
    padding: 10px 14px;
    background: var(--navy-soft);
    color: var(--navy);
    border-radius: 10px;
    font-weight: 500;
}

.captcha-box input {
    max-width: 220px;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.alert-success { background: #e8f8ee; color: #146c36; }
.alert-danger { background: #fdeeee; color: #9b1c1c; }
.alert-warning { background: #fff6e0; color: #8a5a00; }
.alert-info { background: var(--navy-soft); color: var(--navy); }

.map-wrap {
    margin-top: 28px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 350px;
    border: 0;
}

.cta-band {
    background: var(--navy);
    color: var(--white);
    padding: 36px 0;
}

.cta-band .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cta-band h2 {
    margin: 0;
    font-size: 1.5rem;
}

.empty-state {
    background: var(--paper);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--muted);
}

/* Footer */
.site-footer {
    background: #1A237E;
    color: rgba(255, 255, 255, 0.78);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.35fr 2fr;
    gap: 48px;
    padding: 64px 0 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-mark {
    display: inline-flex;
    align-items: stretch;
    height: 46px;
    margin-bottom: 24px;
    overflow: hidden;
    background: rgba(40, 53, 147, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}

.footer-brand-bar {
    width: 4px;
    background: #F2C94C;
    flex-shrink: 0;
}

.footer-brand-inner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 4px 8px;
}

.footer-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    padding: 2px;
    background: #fff;
    border-radius: 4px;
}

.footer-brand-icon img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.footer-brand-text {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: contain;
}

.footer-brand p {
    margin: 0;
    max-width: 28rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    margin-top: 28px;
}

.footer-contact a,
.footer-contact p {
    display: block;
    margin: 0 0 8px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.site-footer h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin: 12px 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.site-footer a:hover {
    color: #F2C94C;
}

.footer-brief {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 40px 0;
}

.footer-brief-title {
    margin: 0 0 4px;
    color: #fff;
    font-weight: 600;
}

.footer-brief p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
}

.footer-subscribe:hover {
    border-color: #F2C94C;
    color: #F2C94C;
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0 36px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy p {
    margin: 0;
}

.error-box {
    text-align: center;
    padding: 40px 0;
}

.error-box h1 {
    font-size: 4rem;
    margin: 0;
    color: var(--navy);
}

@media (max-width: 991px) {
    .about-grid,
    .split-grid,
    .card-grid,
    .why-grid,
    .footer-top,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-toggle {
        display: inline-block;
    }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        padding: 12px 20px 20px;
    }
    .site-nav.is-open {
        display: block;
    }
    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-item > ul {
        position: static;
        display: block;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 12px;
    }
}

@media (max-width: 720px) {
    .about-grid,
    .split-grid,
    .card-grid,
    .why-grid,
    .form-grid,
    .footer-top,
    .footer-links,
    .footer-brief,
    .footer-copy,
    .footer-grid,
    .cta-band .container {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
    .float-img {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }
    .cta-band .container {
        align-items: flex-start;
    }
    .cta-band h2 {
        font-size: 1.2rem;
    }
    .page-hero .hero-actions .btn-outline {
        color: #fff;
        border-color: rgba(255,255,255,.35);
    }
}

.login-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 10%, rgba(242, 201, 76, 0.18), transparent 28%),
        linear-gradient(160deg, #12185c 0%, #1A237E 55%, #283593 100%);
}

.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px 28px;
    box-shadow: 0 20px 50px rgba(18, 24, 92, 0.28);
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    line-height: 0;
}

.login-logo img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 220px;
    max-height: 40px;
    object-fit: contain;
}

.login-card h1 {
    margin: 0 0 6px;
    text-align: center;
    font-size: 1.5rem;
    color: #1A237E;
}

.login-card p {
    margin: 0 0 20px;
    text-align: center;
    color: var(--muted);
}

.login-card label {
    display: block;
    margin: 0 0 6px;
    font-weight: 600;
    font-size: 0.92rem;
}

.login-card input {
    margin-bottom: 14px;
}

.login-card .btn {
    width: 100%;
    margin-top: 6px;
}

.login-back {
    display: block;
    margin-top: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: #1A237E;
}
