:root {
    --color-primary: #3ccfcf;
    --color-secondary: #f7f7f5;
    --color-accent: #d81b60;
    --color-dark: #374151;
    --color-muted: #e5e7eb;
    --color-white: #ffffff;
    --color-text: #1f2937;
    --font-family-base: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --shadow-soft: 0 10px 30px rgba(55, 65, 81, 0.12);
    --shadow-card: 0 15px 35px rgba(15, 23, 42, 0.08);
    --radius-base: 14px;
    --radius-pill: 999px;
    --spacing-section: 90px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-card);
}

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

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

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

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-dark);
    letter-spacing: 0.5px;
}

.nav-toggle {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 26px;
    height: 2px;
    background-color: var(--color-dark);
    border-radius: 2px;
}

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

.site-nav a {
    color: var(--color-dark);
    font-weight: 600;
    padding: 12px 0;
}

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

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

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

.hero-sub {
    background: linear-gradient(135deg, rgba(60, 207, 207, 0.12), rgba(216, 27, 96, 0.08));
}

.hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--color-dark);
    color: var(--color-dark);
    background-color: transparent;
}

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

.btn-link {
    background: none;
    border: none;
    color: var(--color-accent);
    padding: 0;
    font-weight: 600;
    cursor: pointer;
}

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

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

.section-muted {
    background-color: #eef2f6;
}

.section-accent {
    background: linear-gradient(145deg, rgba(60, 207, 207, 0.15), rgba(216, 27, 96, 0.12));
}

.section-cta {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-cta a {
    color: var(--color-white);
}

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

.hero-highlights {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.hero-highlights > div {
    background-color: var(--color-white);
    border-radius: var(--radius-base);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
    flex: 1 1 150px;
    min-width: 160px;
}

.hero-highlights strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.card-grid {
    display: grid;
    gap: 24px;
}

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

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

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

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

.card {
    background-color: var(--color-white);
    border-radius: var(--radius-base);
    padding: 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card h3 {
    margin: 0;
    color: var(--color-dark);
}

.list-check,
.list-arrow {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.list-check li::before,
.list-arrow li::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 12px;
    border-radius: 50%;
    background-color: var(--color-accent);
    vertical-align: middle;
}

.list-arrow li::before {
    border-radius: 4px;
    background-color: var(--color-primary);
}

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

.timeline li,
.timeline div {
    background-color: var(--color-white);
    border-left: 4px solid var(--color-accent);
    padding: 18px 24px;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-soft);
}

.media-card {
    display: grid;
    gap: 18px;
}

.media-caption {
    background-color: var(--color-white);
    border-radius: var(--radius-base);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.module-progress {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.progress-item {
    background-color: var(--color-white);
    padding: 16px;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-soft);
}

.progress-label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.progress-bar {
    background-color: var(--color-muted);
    border-radius: var(--radius-pill);
    overflow: hidden;
    height: 12px;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    height: 100%;
    color: var(--color-white);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
}

.progress-52 { width: 52%; }
.progress-65 { width: 65%; }
.progress-72 { width: 72%; }
.progress-80 { width: 80%; }
.progress-90 { width: 90%; }

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

.metric-card {
    background-color: var(--color-white);
    border-radius: var(--radius-base);
    padding: 28px;
    box-shadow: var(--shadow-card);
}

.cta-block {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.cta-block .btn {
    align-self: center;
}

.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-card);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
}

th, td {
    text-align: left;
    padding: 18px 20px;
    border-bottom: 1px solid var(--color-muted);
}

th {
    background-color: rgba(60, 207, 207, 0.15);
    color: var(--color-dark);
    font-weight: 700;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.form-section {
    display: grid;
    gap: 24px;
}

.contact-form {
    background-color: var(--color-white);
    border-radius: var(--radius-base);
    padding: 32px;
    box-shadow: var(--shadow-card);
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

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

input,
textarea {
    border: 1px solid var(--color-muted);
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-family: var(--font-family-base);
    background-color: var(--color-secondary);
}

input:focus,
textarea:focus {
    outline: 2px solid var(--color-primary);
    background-color: var(--color-white);
}

textarea {
    resize: vertical;
}

.form-feedback {
    padding: 18px 20px;
    border-radius: var(--radius-base);
    font-weight: 600;
}

.form-feedback.success {
    background-color: rgba(60, 207, 207, 0.25);
    color: var(--color-dark);
}

.form-feedback.error {
    background-color: rgba(216, 27, 96, 0.15);
    color: var(--color-dark);
}

.faq-list {
    display: grid;
    gap: 18px;
    text-align: left;
}

.faq-list article {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-base);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.site-footer {
    background-color: var(--color-white);
    padding: 48px 0 24px;
    border-top: 1px solid var(--color-muted);
}

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

.footer-brand .logo {
    display: inline-block;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-contact ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer-legal ul a {
    color: var(--color-dark);
}

.footer-legal ul a.active {
    color: var(--color-accent);
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid var(--color-muted);
    padding-top: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.legal-hero {
    background: linear-gradient(135deg, rgba(60, 207, 207, 0.25), rgba(216, 27, 96, 0.12));
    padding: 80px 0;
    text-align: center;
}

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

.legal-content {
    display: grid;
    gap: 26px;
    line-height: 1.8;
}

.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: min(960px, 94%);
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 20px;
    border-radius: var(--radius-base);
    box-shadow: var(--shadow-soft);
    z-index: 1200;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-banner[data-hidden="true"] {
    opacity: 0;
    visibility: hidden;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    flex: 1 1 320px;
    margin: 0;
}

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

.btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.metrics-grid,
.timeline,
.card-grid,
.split-grid,
.hero-grid {
    align-items: start;
}

@media (max-width: 1024px) {
    .hero-home .hero-grid,
    .hero-sub .hero-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }

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

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

    .site-nav {
        position: fixed;
        inset: 0;
        background-color: rgba(29, 32, 44, 0.96);
        display: grid;
        place-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

    .nav-toggle:checked ~ .site-nav {
        transform: translateY(0);
    }

    .hero {
        padding: 70px 0;
    }

    .section {
        padding: 70px 0;
    }

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

    .cookie-actions {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    table {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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

    .hero-highlights {
        gap: 16px;
    }

    .cookie-banner {
        bottom: 10px;
    }
}