:root {
    --color-primary: #0B2C3D;
    --color-accent: #12A37E;
    --color-background: #E6F3F8;
    --color-text: #1E2A32;
    --color-text-muted: #5B6B73;
    --color-white: #FFFFFF;
    --color-coral: #FF6B6B;
    --font-base: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-base);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

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

h1, h2, h3, h4 {
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: 0;
}

p {
    margin-top: 0;
}

ul, ol {
    margin: 0;
    padding-left: 1.2rem;
}

main {
    display: block;
}

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

.section {
    padding: 5rem 0;
}

.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(11, 44, 61, 0.9), rgba(11, 44, 61, 0.6)), url('../images/pattern.png');
    color: var(--color-white);
}

.hero-secondary {
    background: var(--color-white);
    color: var(--color-text);
    padding: 5rem 0;
}

.hero-secondary h1 {
    color: var(--color-primary);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.hero-content .hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.hero-content h1 {
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.hero-content p {
    margin-bottom: 1.5rem;
    color: inherit;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-metrics .metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}

.hero-secondary .hero-metrics .metric-value {
    color: var(--color-accent);
}

.hero-metrics .metric-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-secondary .hero-metrics .metric-label {
    color: var(--color-text-muted);
}

.hero-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.hero-secondary .hero-note {
    color: var(--color-text-muted);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.section-grid.reverse {
    direction: rtl;
}

.section-grid.reverse > * {
    direction: ltr;
}

.section-content h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    margin-bottom: 1.5rem;
}

.key-points {
    display: grid;
    gap: 1rem;
    padding-left: 1.1rem;
    color: var(--color-text-muted);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

.highlight-grid .metric-label {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.cards-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
}

.cards-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.cards-grid.four-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 16px 35px rgba(11, 44, 61, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.card ul {
    color: var(--color-text-muted);
    padding-left: 1rem;
    display: grid;
    gap: 0.5rem;
}

.numbered-list {
    counter-reset: section;
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 1rem;
}

.numbered-list li {
    position: relative;
    padding-left: 3.5rem;
    color: var(--color-text-muted);
}

.numbered-list li::before {
    counter-increment: section;
    content: counter(section);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
}

.faq-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

details {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 12px 24px rgba(11, 44, 61, 0.08);
}

details summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
}

details[open] summary {
    margin-bottom: 0.8rem;
}

.contact-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(11, 44, 61, 0.08);
    margin-top: 1.5rem;
    color: var(--color-text-muted);
}

.contact-form {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 16px 35px rgba(11, 44, 61, 0.1);
}

.form-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    color: var(--color-primary);
}

input,
select,
textarea {
    border: 1px solid rgba(11, 44, 61, 0.15);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font: inherit;
    background: var(--color-background);
    color: var(--color-text);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(18, 163, 126, 0.4);
    border-color: var(--color-accent);
    background: var(--color-white);
}

textarea {
    resize: vertical;
    min-height: 6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: #0f8767;
}

.btn-secondary {
    background: rgba(11, 44, 61, 0.1);
    color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(11, 44, 61, 0.2);
}

.btn-link {
    background: transparent;
    color: var(--color-accent);
    padding: 0.75rem;
}

.cta-box {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(11, 44, 61, 0.35);
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

.cta-box h2 {
    color: var(--color-white);
    margin-bottom: 0;
}

.site-header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(11, 44, 61, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.brand-logo {
    max-height: 50px;
}

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

.main-nav a {
    font-weight: 600;
    color: var(--color-text);
    padding: 0.75rem 0;
}

.main-nav a.active {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-primary);
}

.close-nav {
    display: none;
}

.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
}

.footer-main h4 {
    color: var(--color-white);
}

.footer-main a {
    color: rgba(230, 243, 248, 0.9);
}

.footer-main ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.7rem;
}

.footer-logo {
    max-height: 80px;
}

.footer-bottom {
    margin-top: 2.5rem;
    border-top: 1px solid rgba(230, 243, 248, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(230, 243, 248, 0.8);
    font-size: 0.9rem;
}

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

.legal-hero {
    padding: 4rem 0 2rem;
    background: linear-gradient(90deg, rgba(11, 44, 61, 0.08), rgba(11, 44, 61, 0));
}

.legal-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(11, 44, 61, 0.08);
}

.legal-section:last-of-type {
    border-bottom: none;
    padding-bottom: 4rem;
}

.legal-section h2 {
    margin-bottom: 1.2rem;
}

.legal-section p,
.legal-section ul {
    color: var(--color-text-muted);
}

.legal-section ul {
    display: grid;
    gap: 0.75rem;
    padding-left: 1.2rem;
}

.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: min(420px, calc(100% - 2rem));
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(11, 44, 61, 0.18);
    padding: 1.5rem;
    z-index: 50;
}

.cookie-banner__content {
    display: grid;
    gap: 1rem;
}

.cookie-banner__content h2 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.cookie-banner__content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

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

.thank-you .submission-summary {
    margin-top: 2rem;
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(11, 44, 61, 0.1);
}

.thank-you .submission-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
    color: var(--color-text-muted);
}

.thank-you .follow-up {
    margin-top: 2rem;
    background: rgba(11, 44, 61, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--color-text-muted);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--color-coral);
    color: var(--color-white);
    padding: 0.75rem 1.2rem;
    border-radius: 6px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
}

@media (max-width: 1200px) {
    .cards-grid.four-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .section-grid,
    .highlight-grid,
    .cards-grid.three-columns {
        grid-template-columns: 1fr;
    }

    .cards-grid.four-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .cookie-banner {
        width: calc(100% - 2rem);
        right: 1rem;
        left: 1rem;
    }
}

@media (max-width: 900px) {
    .main-nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: calc(100% - 2rem);
    }

    .hero {
        padding: 5rem 0 3rem;
    }

    .hero-grid,
    .section-grid,
    .section-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .hero-media,
    .section-media {
        order: -1;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .cards-grid.four-columns {
        grid-template-columns: 1fr;
    }

    .cards-grid.two-columns,
    .cards-grid.three-columns {
        grid-template-columns: 1fr;
    }

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

    .nav-toggle-label {
        display: flex;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(11, 44, 61, 0.97);
        display: none;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 2rem;
        z-index: 40;
    }

    .nav-toggle:checked ~ .main-nav {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .main-nav a {
        color: var(--color-white);
        font-size: 1.3rem;
    }

    .main-nav a.active {
        color: var(--color-accent);
    }

    .close-nav {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2.2rem;
        color: var(--color-white);
        cursor: pointer;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section {
        padding: 4rem 0;
    }

    .cookie-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }
}