:root {
    --emerald: #2ecc71;
    --ivory: #f8f4ec;
    --orange: #f39c12;
    --charcoal: #2d3436;
    --text-dark: #2d3436;
    --text-light: #f8f4ec;
    --border-light: rgba(45, 52, 54, 0.12);
    --shadow-soft: 0 10px 30px rgba(45, 52, 54, 0.1);
}

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

html {
    font-size: 16px;
}

body {
    margin: 0;
    font-family: 'Poppins', Arial, sans-serif;
    background-color: var(--ivory);
    color: var(--text-dark);
    line-height: 1.7;
}

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

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

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

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

.site-header {
    background-color: var(--charcoal);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.logo {
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

#nav-toggle {
    display: none;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
}

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

.hero {
    padding: 96px 0;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(243, 156, 18, 0.08));
}

.inner-hero {
    padding-top: 72px;
}

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

.hero-text h1 {
    font-size: clamp(2.2rem, 2.8vw, 2.8rem);
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.hero-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    background-color: var(--emerald);
    color: var(--text-light);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.section {
    padding: 88px 0;
}

.section.light {
    background-color: var(--ivory);
}

.section.dark {
    background-color: #1f2426;
    color: var(--text-light);
}

.section.dark h2,
.section.dark h3,
.section.dark p,
.section.dark li {
    color: var(--text-light);
}

.section.timeline {
    background-color: #ffffff;
}

.hero-image,
.visual-card {
    box-shadow: var(--shadow-soft);
    border-radius: 16px;
    overflow: hidden;
}

.split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 48px;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.section.dark .info-card {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

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

.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.section.dark .feature-list li {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 48px 0;
    display: grid;
    gap: 32px;
}

.timeline-month {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background-color: rgba(46, 204, 113, 0.15);
    color: var(--charcoal);
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-image {
    margin-top: 32px;
}

.quote-slider {
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    background-color: #ffffff;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}

.quote-track {
    display: flex;
    gap: 48px;
    animation: quoteCycle 18s infinite linear;
}

.quote-track figure {
    flex: 0 0 100%;
    margin: 0;
}

.quote-track blockquote {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.quote-track figcaption {
    font-size: 0.95rem;
    color: rgba(45, 52, 54, 0.7);
}

@keyframes quoteCycle {
    0%, 30% { transform: translateX(0); }
    33%, 63% { transform: translateX(-100%); }
    66%, 96% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

.faq details {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

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

.site-footer {
    background-color: #15191a;
    color: var(--text-light);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-bottom: 32px;
}

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

.footer-nav li {
    margin-bottom: 12px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.contact-form {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    padding: 32px;
    border: 1px solid var(--border-light);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
}

input,
textarea {
    border: 1px solid rgba(45, 52, 54, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #ffffff;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(46, 204, 113, 0.4);
    border-color: var(--emerald);
}

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

button {
    border: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--emerald);
    color: var(--text-light);
}

.form-hint {
    font-size: 0.9rem;
    color: rgba(45, 52, 54, 0.7);
    margin-bottom: 12px;
}

.alert {
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 500;
}

.alert-error {
    background-color: rgba(243, 156, 18, 0.15);
    color: #8e4b00;
}

.alert-success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #13592f;
}

.section.legal {
    padding-top: 120px;
    padding-bottom: 120px;
}

.section.legal h1 {
    font-size: 2.4rem;
    margin-bottom: 24px;
}

.section.legal h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 1.6rem;
}

.section.legal h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.section.legal p,
.section.legal ul,
.section.legal table {
    font-size: 1rem;
}

.section.legal ul {
    padding-left: 20px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background-color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.legal-table th,
.legal-table td {
    border: 1px solid var(--border-light);
    padding: 12px 16px;
    text-align: left;
}

.numbered-list {
    list-style: decimal;
    padding-left: 20px;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: min(640px, 90%);
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(21, 25, 26, 0.25);
    padding: 24px 28px;
    z-index: 2000;
}

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

.cookie-content p {
    margin: 0 0 16px;
    color: var(--charcoal);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-actions button {
    flex: 1 1 160px;
}

.cookie-actions .secondary {
    background-color: var(--charcoal);
}

@media (max-width: 992px) {
    .hero-grid,
    .split,
    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .main-nav ul {
        flex-direction: column;
        gap: 32px;
        font-size: 1.4rem;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background-color: rgba(21, 25, 26, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.2s ease-in-out;
    }

    .burger {
        display: flex;
    }

    #nav-toggle:checked + .burger + .main-nav {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 72px 0;
    }

    .hero {
        padding: 80px 0;
    }

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

    .quote-track {
        animation-duration: 27s;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .nav-container {
        min-height: 64px;
    }

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

    .contact-form {
        padding: 24px;
    }

    .cookie-banner {
        padding: 20px;
    }
}