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

:root {
    --primary: #2c3e50;
    --secondary: #34495e;
    --accent: #3498db;
    --accent-dark: #2980b9;
    --light: #ecf0f1;
    --white: #fff;
    --text: #2c3e50;
    --muted: #5f7080;
    --line: #d7dee3;
    --shadow: 0 12px 34px rgba(20, 36, 50, .14);
}

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

body {
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

h1,
h2,
h3,
h4 {
    font-family: Montserrat, Inter, sans-serif;
    line-height: 1.22;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #dde5ea;
    box-shadow: 0 2px 14px rgba(20, 36, 50, .16);
}

.site-header__inner {
    max-width: 1220px;
    margin: 0 auto;
    min-height: 96px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo img {
    height: 88px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-nav a {
    color: #203344;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover {
    color: #2f80b7;
    border-bottom-color: #2f80b7;
}

.page-header {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 62px 20px;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 14px;
}

.page-header p {
    font-size: 1.15rem;
    opacity: .94;
}

.breadcrumb {
    margin-top: 18px;
    font-size: .94rem;
    opacity: .86;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    padding: 15px 34px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(52, 152, 219, .26);
    transition: .25s;
}

.btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.site-footer {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 50px 20px 22px;
    border-top: 1px solid #d7dee3;
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 42px;
}

.site-footer h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: #2c3e50;
}

.site-footer p,
.footer-links a {
    color: #34495e;
    font-size: .95rem;
}

.footer-tagline {
    font-style: italic;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover,
.site-footer a {
    color: #2980b9;
}

.site-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #cbd5dc;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .9rem;
}

.site-footer__bottom a {
    margin-left: 18px;
}

@media (max-width: 850px) {
    .site-header {
        background: linear-gradient(180deg, #eef3f6 0%, #dde7ed 100%);
        box-shadow: 0 8px 22px rgba(20, 36, 50, .12);
    }

    .site-header__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        min-height: 0;
        padding: 12px 14px 14px;
    }

    .site-logo {
        align-self: center;
        display: block;
    }

    .site-logo img {
        height: 70px;
        max-width: 260px;
        object-fit: contain;
    }

    .site-nav {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        margin: 0 -14px;
        padding: 4px 14px 2px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        flex: 0 0 auto;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 11px 15px;
        border: 1px solid rgba(44, 62, 80, .12);
        border-radius: 999px;
        background: rgba(255, 255, 255, .72);
        box-shadow: 0 4px 12px rgba(20, 36, 50, .07);
        color: #203344;
        font-size: .92rem;
        font-weight: 700;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .site-nav a:hover,
    .site-nav a:focus-visible {
        color: #fff;
        background: #2c3e50;
        border-color: #2c3e50;
        outline: none;
    }

    .site-nav a:last-child {
        background: #3498db;
        border-color: #3498db;
        color: #fff;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-nav a:last-child:hover,
    .site-nav a:last-child:focus-visible {
        background: #2980b9;
        border-color: #2980b9;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
    }

    .site-footer__bottom a {
        margin: 0 14px 0 0;
    }
}

@media (max-width: 430px) {
    .site-header__inner {
        padding: 10px 12px 12px;
    }

    .site-logo img {
        height: 62px;
        max-width: 230px;
    }

    .site-nav {
        margin: 0 -12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-nav a {
        font-size: .88rem;
        padding-left: 13px;
        padding-right: 13px;
    }
}
