@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f4c81;
    --primary-dark: #0a2f50;
    --gold: #d4a017;
    --text: #14213d;
    --muted: #64748b;
    --bg: #f5f7fb;
    --white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
    --radius: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-wrapper {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 800;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(15, 76, 129, 0.25);
}

.brand strong {
    display: block;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav a {
    padding: 10px 15px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
    background: #eef6ff;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 12px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    margin: 5px auto;
    background: var(--text);
}

.hero {
    position: relative;
    padding: 90px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(212, 160, 23, 0.18), transparent 32%),
        linear-gradient(135deg, #08233c 0%, #0f4c81 55%, #12385c 100%);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    border: 45px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.05em;
    max-width: 760px;
}

.hero-text {
    margin: 22px 0 30px;
    color: rgba(255, 255, 255, 0.84);
    max-width: 600px;
    font-size: 18px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--gold);
    color: #111827;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(212, 160, 23, 0.25);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.hero-card p {
    color: rgba(255, 255, 255, 0.82);
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px;
}

.stats div {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 18px;
}

.stats strong {
    display: block;
    font-size: 30px;
}

.stats span {
    color: rgba(255, 255, 255, 0.78);
}

.section {
    padding: 72px 0;
}

.section-title {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 34px;
}

.section-title h2,
.about-box h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.section-title p:last-child,
.about-box p {
    color: var(--muted);
    margin-top: 10px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.branch-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.branch-card:hover {
    transform: translateY(-6px);
    border-color: rgba(15, 76, 129, 0.28);
    box-shadow: var(--shadow);
}

.icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #eef6ff;
    color: var(--primary);
    font-weight: 800;
}

.branch-card h3 {
    margin-top: 22px;
    font-size: 20px;
}

.branch-card p {
    color: var(--muted);
    font-size: 14px;
    margin-top: 8px;
}

.about-section {
    padding-top: 0;
}

.about-box {
    background: var(--white);
    border-radius: 24px;
    padding: 38px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: center;
}

.footer {
    background: #071d33;
    color: rgba(255, 255, 255, 0.78);
    padding: 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 14px;
}

@media (max-width: 980px) {
    .hero-grid,
    .about-box {
        grid-template-columns: 1fr;
    }

    .branch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .nav-wrapper {
        min-height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 10px;
        box-shadow: var(--shadow);
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        border-radius: 12px;
    }

    .hero {
        padding: 64px 0 52px;
    }

    .hero-card,
    .about-box {
        padding: 24px;
    }

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

    .branch-card {
        min-height: 170px;
    }
}
