:root {
    --color-mint: #98DFC9;
    --color-cream: #F9F5EB;
    --color-violet: #6C63FF;
    --color-slate: #1F2A3D;
    --color-text: #1D1D1F;
    --color-muted: #5A6072;
    --color-border: rgba(31, 42, 61, 0.15);
    --container-width: 1180px;
    --spacing-section: 80px;
    --font-family-base: 'Manrope', sans-serif;
}

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

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

img {
    max-width: 100%;
    display: block;
    height: auto;
    border-radius: 16px;
}

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

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

h1, h2, h3, h4 {
    color: var(--color-slate);
    line-height: 1.2;
}

h1 {
    font-size: 2.6rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

ul, ol {
    margin: 0 0 16px 20px;
    padding: 0;
}

.section {
    padding: var(--spacing-section) 0;
}

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

.container {
    width: min(100% - 40px, var(--container-width));
    margin: 0 auto;
}

.site-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-slate);
}

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

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

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

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.burger-line {
    width: 28px;
    height: 2px;
    background-color: var(--color-slate);
    display: block;
    margin: 6px 0;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-violet);
    color: #FFFFFF;
}

.btn-secondary {
    background-color: var(--color-mint);
    color: var(--color-slate);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-violet);
    border: 2px solid var(--color-violet);
}

.feature-grid,
.module-grid,
.service-grid,
.package-grid,
.support-grid,
.tool-grid,
.contact-grid,
.cases-grid,
.timeline-grid,
.partnership-grid,
.simulation-grid {
    display: grid;
    gap: 32px;
}

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

.feature-card,
.module-card,
.service-card,
.package-card,
.method-card {
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

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

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

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

.support-grid,
.tool-grid,
.contact-grid,
.cases-grid,
.timeline-grid,
.partnership-grid,
.simulation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
}

.support-list {
    list-style: disc;
    margin-left: 20px;
}

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

.timeline-list li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.timeline-year {
    font-weight: 700;
    color: var(--color-violet);
}

.details-container details,
.section details {
    background-color: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

details summary {
    font-weight: 600;
    cursor: pointer;
}

details[open] summary {
    color: var(--color-violet);
}

.simulation-widget {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.simulation-inputs label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.simulation-inputs input[type="range"] {
    width: 100%;
    margin-bottom: 8px;
    accent-color: var(--color-violet);
}

.range-output {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 16px;
}

.simulation-results p {
    margin-bottom: 12px;
}

.contact-form-wrapper,
.contact-info {
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 32px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    font-family: var(--font-family-base);
    font-size: 1rem;
    background-color: var(--color-cream);
}

.form-feedback {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background-color: rgba(152, 223, 201, 0.3);
    color: var(--color-slate);
}

.legal-container {
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 32px;
    border: 1px solid var(--color-border);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.05);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

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

.site-footer {
    background-color: var(--color-slate);
    color: #FFFFFF;
    padding: 60px 0 40px;
}

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

.footer-brand p,
.footer-links ul {
    color: #E5E7EB;
}

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

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

.footer-links a {
    color: #E5E7EB;
}

.footer-bottom {
    margin-top: 24px;
    border-top: 1px solid rgba(229, 231, 235, 0.2);
    padding-top: 20px;
    text-align: center;
    color: #E5E7EB;
}

.cta-section {
    text-align: center;
    background-color: #FFFFFF;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-top: 1px solid var(--color-border);
    padding: 24px;
    display: none;
    z-index: 1000;
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.08);
}

.cookie-banner__content {
    width: min(100%, var(--container-width));
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-banner__content p {
    margin: 0;
    flex: 1 1 60%;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex: 1 1 250px;
    justify-content: flex-end;
}

@media (max-width: 992px) {
    .hero-grid,
    .support-grid,
    .tool-grid,
    .contact-grid,
    .cases-grid,
    .timeline-grid,
    .partnership-grid,
    .simulation-grid {
        grid-template-columns: 1fr;
    }

    .simulation-widget {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        background-color: var(--color-slate);
        display: none;
        align-items: center;
        justify-content: center;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 24px;
    }

    .main-nav a {
        color: #FFFFFF;
        font-size: 1.4rem;
    }

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

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

    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section {
        padding: 60px 0;
    }

    .header-container {
        padding: 16px 0;
    }

    .hero-grid {
        gap: 32px;
    }

    .contact-form-wrapper,
    .contact-info,
    .legal-container {
        padding: 24px;
    }
}