:root {
    --color-background: #f4f6f8;
    --color-primary: #0f4c75;
    --color-secondary: #3282b8;
    --color-accent: #bbe1fa;
    --color-dark: #1b262c;
    --color-text: #1d1f28;
    --color-muted: #5e6c7b;
    --color-white: #ffffff;
    --max-width: 1200px;
    --gutter: 1.5rem;
    --transition: all 0.3s ease;
    font-size: 16px;
}

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

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

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

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

a:hover,
a:focus {
    color: var(--color-secondary);
}

.container {
    width: min(100% - 2 * var(--gutter), var(--max-width));
    margin-inline: auto;
}

.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.section-intro {
    max-width: 42rem;
    margin-bottom: 2rem;
    color: var(--color-muted);
}

.site-header {
    background: rgba(15, 76, 117, 0.92);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-mark {
    background: var(--color-accent);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    font-weight: 700;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-white);
    font-weight: 500;
    position: relative;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    display: none;
    position: relative;
    width: 2rem;
    height: 2rem;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: currentColor;
    transition: var(--transition);
}

.menu-icon {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon::before {
    top: -0.6rem;
}

.menu-icon::after {
    top: 0.6rem;
}

.hero {
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.08), rgba(187, 225, 250, 0.3));
}

.hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.3rem, 2vw + 1.8rem, 3rem);
    color: var(--color-dark);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn.primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn.primary:hover {
    background: var(--color-secondary);
}

.btn.secondary {
    background: var(--color-accent);
    color: var(--color-primary);
}

.btn.secondary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn.ghost {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn.ghost:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn.small {
    padding: 0.6rem 1.2rem;
}

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

.inline-link::after {
    content: "→";
    font-size: 0.9rem;
    transition: var(--transition);
}

.inline-link:hover::after {
    transform: translateX(4px);
}

.split {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

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

.grid.four-col {
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 1.5rem;
}

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

.card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 76, 117, 0.08);
    border: 1px solid rgba(15, 76, 117, 0.1);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.stats-panel {
    display: grid;
    gap: 1.5rem;
}

.stat-item {
    background: rgba(15, 76, 117, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    color: var(--color-muted);
    margin-top: 0.5rem;
    display: block;
}

.neutral-background {
    background: rgba(15, 76, 117, 0.05);
}

.gradient-background {
    background: linear-gradient(115deg, rgba(15, 76, 117, 0.08) 0%, rgba(187, 225, 250, 0.2) 100%);
}

.diagram figcaption {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.timeline {
    display: grid;
    gap: 2rem;
}

.timeline-item {
    background: var(--color-white);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 8px 22px rgba(15, 76, 117, 0.08);
}

.gallery-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cta {
    background: linear-gradient(120deg, rgba(15, 76, 117, 0.9), rgba(50, 130, 184, 0.95));
    color: var(--color-white);
}

.cta-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}

.post-card {
    background: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 76, 117, 0.08);
}

.post-card img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.post-card h3 {
    margin: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.post-card p {
    margin: 0 1.5rem 1.5rem;
    color: var(--color-muted);
}

.post-card a {
    font-weight: 600;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.checklist li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
}

.checklist li::before {
    content: "✔";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    top: 0;
}

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

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(135deg, rgba(50, 130, 184, 0.15), rgba(11, 30, 45, 0.85));
    color: var(--color-white);
}

.page-hero h1 {
    margin: 0;
}

.blog-list .blog-entry {
    background: var(--color-white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(15, 76, 117, 0.08);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.blog-entry div {
    padding: 1.8rem;
}

.article-header {
    background: linear-gradient(135deg, rgba(15, 76, 117, 0.8), rgba(50, 130, 184, 0.85));
    color: var(--color-white);
    padding: 3rem 0;
}

.article-body {
    background: var(--color-white);
    margin-top: -3rem;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(11, 30, 45, 0.12);
    line-height: 1.75;
}

.article-body h2 {
    margin-top: 2.5rem;
    color: var(--color-primary);
}

.article-cta {
    margin-top: 3rem;
    background: rgba(15, 76, 117, 0.1);
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-form {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 76, 117, 0.08);
    display: grid;
    gap: 1.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid rgba(15, 76, 117, 0.2);
    border-radius: 10px;
    font-size: 1rem;
}

.contact-form label {
    font-weight: 600;
}

.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.faq details {
    background: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(15, 76, 117, 0.1);
    margin-bottom: 1.2rem;
}

.faq summary {
    font-weight: 600;
    cursor: pointer;
}

.legal-text h2 {
    margin-top: 2.5rem;
}

.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(50, 130, 184, 0.4);
    z-index: 999;
}

.scroll-top.visible {
    display: inline-flex;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 30, 45, 0.96);
    color: var(--color-white);
    padding: 1.5rem;
    display: none;
    z-index: 2000;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.8rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 1rem;
    width: 2px;
    height: 100%;
    background: rgba(15, 76, 117, 0.2);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    top: 1rem;
    width: 0.8rem;
    height: 0.8rem;
    background: var(--color-secondary);
    border-radius: 50%;
}

.map img {
    border-radius: 16px;
}

.active-link {
    color: var(--color-accent);
}

@media (max-width: 960px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        position: absolute;
        inset: 100% 0 auto 0;
        background: rgba(15, 76, 117, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .main-nav.open {
        max-height: 320px;
    }
    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    .main-nav li {
        text-align: center;
    }
    .split {
        grid-template-columns: 1fr;
    }
    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    .article-body {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    .scroll-top {
        right: 1rem;
        bottom: 1rem;
    }
}