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

:root {
    --color-lime: #A4C639;
    --color-alabaster: #F2F0E6;
    --color-crimson: #DC143C;
    --color-obsidian: #0B0C10;
    --color-text: #1F2329;
    --color-muted: #5C626A;
    --color-border: #D3D4D6;
    --font-base: 'Inter', sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-base);
    background-color: var(--color-alabaster);
    color: var(--color-text);
    line-height: 1.65;
}

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

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

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

.section {
    padding: 5rem 0;
    background-color: #fff;
}

.section-light {
    background-color: #f7f6f2;
}

.hero {
    background: linear-gradient(135deg, rgba(10,11,15,0.95), rgba(18,20,25,0.8)), url('../images/hero-texture.png');
    color: #fff;
}

.hero.sub-hero {
    background: linear-gradient(135deg, rgba(10,11,15,0.95), rgba(18,20,25,0.9));
}

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

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

.hero-content p {
    margin-bottom: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    gap: 1rem;
}

.hero-points li {
    padding: 1rem 1.2rem;
    border-left: 4px solid var(--color-lime);
    background: rgba(255, 255, 255, 0.06);
}

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

.btn {
    display: inline-flex;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background-color: var(--color-lime);
    color: #0B0C10;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #8ba82f;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary.btn-on-light {
    color: var(--color-obsidian);
    border-color: var(--color-obsidian);
}

.site-header {
    background-color: var(--color-obsidian);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.nav-toggle {
    display: none;
}

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

.nav-toggle-label span {
    width: 1.8rem;
    height: 0.2rem;
    background: #fff;
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.2rem;
}

.nav-link--active,
.nav-link:hover,
.nav-link:focus {
    color: #fff;
}

.nav-link--active::after {
    content: '';
    position: absolute;
    height: 2px;
    background: var(--color-lime);
    width: 100%;
    left: 0;
    bottom: -6px;
}

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

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse .text-block,
.two-column.reverse .image-block {
    direction: ltr;
}

.text-block h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.text-block p {
    margin-bottom: 1rem;
}

.image-block {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(12, 13, 18, 0.15);
}

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

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

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

.card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 1.8rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(12, 13, 18, 0.06);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.card p {
    margin: 0;
}

.card-highlight {
    border-top: 4px solid var(--color-crimson);
}

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

.scenario {
    border-radius: 1rem;
    padding: 1.6rem;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(12, 13, 18, 0.05);
}

.scenario h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
}

.data-section p {
    margin-bottom: 1rem;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 1rem;
}

.data-list li {
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    background: rgba(164, 198, 57, 0.12);
    border: 1px solid rgba(164, 198, 57, 0.25);
}

.timeline {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 2rem;
}

.timeline-item {
    position: relative;
    padding: 1.4rem 1.6rem;
    border-left: 4px solid var(--color-crimson);
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(12, 13, 18, 0.06);
}

.timeline-item h3 {
    margin-top: 0;
}

.contact-info .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-form {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 26px rgba(12, 13, 18, 0.05);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

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

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-lime);
    box-shadow: 0 0 0 3px rgba(164, 198, 57, 0.25);
}

textarea {
    resize: vertical;
    min-height: 160px;
}

.form-hint {
    font-size: 0.92rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}

.status-message {
    padding: 1rem 1.3rem;
    border-radius: 0.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.status-message.success {
    background: rgba(164, 198, 57, 0.2);
    border: 1px solid rgba(164, 198, 57, 0.4);
    color: #425410;
}

.status-message.error {
    background: rgba(220, 20, 60, 0.18);
    border: 1px solid rgba(220, 20, 60, 0.45);
    color: #681024;
}

.legal-hero {
    background: linear-gradient(135deg, rgba(12, 13, 18, 0.95), rgba(36, 38, 45, 0.85));
    color: #fff;
    padding: 4rem 0;
}

.legal-text {
    background: #fff;
    border-radius: 1.2rem;
    padding: 2.5rem;
    border: 1px solid rgba(12, 13, 18, 0.12);
    box-shadow: 0 14px 36px rgba(12, 13, 18, 0.08);
    line-height: 1.75;
}

.legal-text h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--color-border);
    padding: 0.9rem;
    text-align: left;
    vertical-align: top;
}

.cookie-table thead {
    background-color: rgba(164, 198, 57, 0.18);
}

.site-footer {
    background-color: var(--color-obsidian);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

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

.footer-column h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

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

.footer-links a:hover,
.footer-links a:focus {
    color: var(--color-lime);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    width: min(640px, 92%);
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 18px 44px rgba(12, 13, 18, 0.18);
    padding: 1.8rem;
    z-index: 1000;
    border: 1px solid rgba(12, 13, 18, 0.1);
}

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

.cookie-content {
    display: grid;
    gap: 1.2rem;
}

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

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

.cookie-content a {
    color: var(--color-crimson);
    font-weight: 600;
}

.btn-secondary[data-cookie-decline] {
    color: var(--color-obsidian);
    border-color: var(--color-obsidian);
}

.site-header .main-nav {
    display: flex;
}

@media (max-width: 900px) {
    .hero-grid,
    .two-column,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 2.5rem;
    }

    .two-column.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: flex;
    }

    .main-nav {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(11, 12, 16, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

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

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

    .cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner {
        bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .card,
    .scenario {
        padding: 1.3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}