:root {
    --emerald: #165a4a;
    --emerald-light: #1d7b63;
    --anthracite: #2a2e32;
    --gray: #f4f6f5;
    --beige: #f8efe5;
    --white: #ffffff;
    --text: #252525;
    --muted: #6a737d;
    --border: #d8ddda;
    --alert-success: #1d7b63;
    --alert-error: #c0392b;
    --shadow: 0 18px 35px rgba(22, 90, 74, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

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

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

a:hover {
    text-decoration: underline;
}

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

h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

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

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

h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    padding-left: 1.2rem;
}

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

.section {
    padding: 4rem 0;
}

.section-header {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-header p {
    color: var(--muted);
}

.hero {
    padding-top: 6rem;
    background: linear-gradient(135deg, var(--gray), var(--beige));
}

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

.hero-content p {
    color: var(--muted);
}

.hero-list {
    margin: 1.5rem 0;
    padding-left: 1.2rem;
}

.hero-list li {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.button {
    display: inline-block;
    background-color: var(--emerald);
    color: var(--white);
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: var(--emerald-light);
    text-decoration: none;
}

.button-secondary {
    background-color: var(--anthracite);
}

.button-secondary:hover {
    background-color: #1f2327;
}

.hero-image img {
    box-shadow: var(--shadow);
}

.progress-grid,
.cards-grid,
.tracking-grid,
.habits-grid,
.steps-grid,
.availability-grid,
.info-grid,
.faq-grid,
.timeline,
.footer-grid {
    display: grid;
    gap: 2rem;
}

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

.progress-card,
.case-card,
.info-card,
.tracking-card,
.habit-card,
.step-card,
.availability-card,
.faq-item,
.timeline-item {
    padding: 2rem;
    border-radius: 16px;
    background-color: var(--gray);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.04);
}

.progress {
    margin-top: 1rem;
}

.progress-label {
    font-weight: 600;
    color: var(--emerald);
    margin-bottom: 0.5rem;
    display: block;
}

.progress-bar {
    height: 10px;
    border-radius: 999px;
    background-color: rgba(22, 90, 74, 0.15);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 10px;
    border-radius: 999px;
    background-color: var(--emerald);
}

.progress-bar--76::after {
    width: 76%;
}

.progress-bar--62::after {
    width: 62%;
}

.progress-bar--48::after {
    width: 48%;
}

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

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

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

.case-card img {
    margin-bottom: 1.2rem;
}

.tracking-grid,
.steps-grid,
.info-grid,
.availability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tracking-card,
.step-card,
.info-box,
.availability-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    box-shadow: none;
}

.checked-list {
    list-style: none;
    padding-left: 0;
}

.checked-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--muted);
}

.checked-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--emerald);
    font-weight: bold;
}

.process-list {
    counter-reset: process-counter;
    list-style: none;
    padding-left: 0;
    max-width: 820px;
    margin: 0 auto;
}

.process-list li {
    counter-increment: process-counter;
    padding: 1.8rem 2rem;
    border-radius: 16px;
    background-color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 16px 30px rgba(22, 90, 74, 0.08);
}

.process-list li::before {
    content: counter(process-counter);
    position: absolute;
    top: 1.8rem;
    left: 1.6rem;
    background-color: var(--emerald);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
}

.process-list li h3 {
    margin-left: 3.6rem;
}

.process-list li p {
    margin-left: 3.6rem;
    color: var(--muted);
}

.cta-container {
    background-color: var(--emerald);
    color: var(--white);
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow);
}

.cta-container h2 {
    color: var(--white);
}

.cta-container p {
    color: rgba(255, 255, 255, 0.85);
}

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

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

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--emerald);
}

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

.main-nav a {
    color: var(--anthracite);
    font-weight: 600;
}

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

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
}

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

.site-footer {
    background-color: var(--anthracite);
    color: var(--white);
    padding: 3.5rem 0 2rem;
}

.site-footer h3,
.site-footer h4 {
    color: var(--white);
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

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

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

.footer-links li {
    margin-bottom: 0.6rem;
}

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

.footer-links a.active {
    color: var(--white);
    font-weight: 600;
}

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

.contact-form {
    background-color: var(--gray);
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(22, 90, 74, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--anthracite);
}

.form-group input,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(22, 90, 74, 0.2);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.35rem;
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.alert-success {
    background-color: rgba(29, 123, 99, 0.12);
    color: var(--alert-success);
}

.alert-error {
    background-color: rgba(192, 57, 43, 0.12);
    color: var(--alert-error);
}

.legal {
    background-color: #fbfbfb;
}

.legal h1,
.legal h2 {
    text-align: left;
}

.legal-list {
    list-style: none;
    padding-left: 0;
}

.legal-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: var(--muted);
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--emerald);
    font-weight: bold;
}

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

.timeline-item {
    background-color: var(--white);
    border: 1px solid var(--border);
}

.timeline-date {
    display: inline-block;
    background-color: var(--emerald);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content h3 {
    margin-bottom: 0.6rem;
}

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

.info-box {
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: none;
}

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

.faq-item {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--anthracite);
    color: var(--white);
    padding: 1.5rem;
    z-index: 100;
    display: none;
}

.cookie-banner__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.cookie-banner__actions .button {
    padding: 0.7rem 1.4rem;
}

.cookie-banner__link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .hero-grid,
    .split-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 5rem;
    }
    .progress-grid,
    .cards-grid,
    .habits-grid,
    .tracking-grid,
    .steps-grid,
    .info-grid,
    .faq-grid,
    .timeline,
    .availability-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.98rem;
    }
    .section {
        padding: 3rem 0;
    }
    .progress-grid,
    .cards-grid,
    .habits-grid,
    .tracking-grid,
    .steps-grid,
    .info-grid,
    .faq-grid,
    .timeline,
    .availability-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding-top: 4.5rem;
    }
    .footer-grid {
        gap: 1.5rem;
    }
    .nav-toggle-label {
        display: flex;
    }
    .main-nav {
        position: fixed;
        inset: 0;
        background-color: var(--white);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 40;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
        font-size: 1.5rem;
    }
    #nav-toggle:checked ~ .main-nav {
        display: flex;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.9rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .contact-form {
        padding: 1.8rem;
    }
    .cta-container {
        padding: 2.2rem;
    }
    .cookie-banner__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 360px) {
    .container {
        width: 94%;
    }
    .header-container {
        min-height: 64px;
    }
    .nav-toggle-label span {
        width: 20px;
    }
}