:root {
    --primary: #1c4b82;
    --primary-dark: #0f2e53;
    --secondary: #f2a007;
    --light: #f8fafc;
    --text: #1c1f25;
    --muted: #4a5568;
    --border: #d7dce3;
    --footer: #10131a;
    --white: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 12px;
}

h1, h2, h3, h4 {
    color: var(--primary-dark);
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
    color: var(--muted);
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

ul {
    padding-left: 1.2rem;
}

.container {
    width: min(1160px, 92%);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0 0 8px 0;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-toggle {
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--secondary);
}

.primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 4%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    width: 220px;
    box-shadow: 0 30px 60px rgba(17, 24, 39, 0.1);
    display: none;
}

.primary-nav.open {
    display: block;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav li + li {
    margin-top: 0.75rem;
}

.primary-nav a {
    font-weight: 600;
    color: var(--primary-dark);
}

.primary-nav a[aria-current="page"] {
    color: var(--secondary);
}

.hero,
.page-hero {
    padding: 3.5rem 0 2.5rem;
}

.hero-grid,
.page-hero .hero-grid {
    display: grid;
    gap: 2rem;
}

.hero-text h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cta-button:hover,
.cta-button:focus {
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.hero-media img {
    height: auto;
}

section {
    padding: 2.5rem 0;
}

.two-column {
    display: grid;
    gap: 2rem;
}

.info-card,
.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(15, 46, 83, 0.08);
}

.info-card h3,
.stat-card h3 {
    margin-top: 0;
}

.card-grid {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(28, 75, 130, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card h3 {
    margin-bottom: 0.25rem;
}

.text-link {
    font-weight: 600;
}

.news-grid,
.highlight-grid,
.team-grid,
.image-gallery,
.faq-list {
    display: grid;
    gap: 1.5rem;
}

.news-item {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(28, 75, 130, 0.08);
}

.image-gallery figure {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.image-gallery figcaption {
    font-size: 0.95rem;
    color: var(--muted);
}

.highlight {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(28, 75, 130, 0.08);
}

.cta-section {
    background: var(--primary);
    color: var(--white);
    border-radius: 24px;
    margin: 2.5rem auto;
    padding: 2.5rem 0;
}

.cta-section h2,
.cta-section p {
    color: var(--white);
}

.cta-container {
    display: grid;
    gap: 1.5rem;
}

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

.cta-section .cta-link {
    color: var(--white);
}

.site-footer {
    background: var(--footer);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.site-footer h3 {
    color: var(--white);
}

.site-footer a {
    color: var(--light);
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links li + li {
    margin-top: 0.5rem;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #9aa2b2;
}

.scroll-to-top {
    position: fixed;
    bottom: 110px;
    right: 24px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(242, 160, 7, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 950;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -12px 40px rgba(28, 75, 130, 0.2);
    padding: 1rem 0;
    z-index: 1000;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    width: min(1160px, 92%);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    color: var(--muted);
}

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(28, 75, 130, 0.08);
    display: grid;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    gap: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    outline: 2px solid rgba(28, 75, 130, 0.2);
}

textarea {
    resize: vertical;
}

.contact-list {
    list-style: disc;
    padding-left: 1.25rem;
    color: var(--muted);
}

.policy-text h2 {
    margin-top: 2rem;
}

.policy-text ul {
    margin-bottom: 1.5rem;
}

.team-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(28, 75, 130, 0.08);
}

.highlight-grid,
.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.news-grid,
.image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.faq-list details {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(28, 75, 130, 0.08);
}

.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-dark);
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details[open] summary {
    color: var(--secondary);
}

.faq-list p {
    margin-top: 0.75rem;
    color: var(--muted);
}

.policy-hero {
    padding: 3rem 0 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.policy-content {
    padding: 2rem 0 4rem;
}

.media-block {
    margin: 0;
}

@media (min-width: 576px) {
    .hero-text h1 {
        font-size: 2.35rem;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .primary-nav {
        position: static;
        display: block !important;
        width: auto;
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .primary-nav ul {
        display: flex;
        gap: 1.5rem;
    }

    .primary-nav li + li {
        margin-top: 0;
    }

    .hero-grid,
    .page-hero .hero-grid,
    .two-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
    }

    .cta-container {
        grid-template-columns: 2fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cookie-content {
        grid-template-columns: minmax(0, 3fr) auto;
        align-items: center;
    }
}

@media (min-width: 992px) {
    .hero,
    .page-hero {
        padding: 4rem 0 3rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}