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

:root {
    --forest-green: #1b4332;
    --soft-beige: #f3ede3;
    --deep-blue: #1d3557;
    --light-gray: #dfe3e6;
    --background: #ffffff;
    --text: #1f2933;
    --muted: #4f5d75;
    --border: #c7d0d9;
    --accent: #2d6a4f;
    --accent-hover: #22543d;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

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

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

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

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

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 5rem 0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--deep-blue);
}

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

.neutral-bg {
    background: var(--soft-beige);
}

.hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(120deg, rgba(29, 53, 87, 0.1), rgba(43, 75, 58, 0.05));
}

.inner-hero {
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--forest-green);
}

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

.hero-info {
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: 2px solid transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
}

.btn.primary:hover,
.btn.primary:focus {
    background: var(--accent-hover);
}

.btn.secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn.secondary:hover,
.btn.secondary:focus {
    background: rgba(45, 106, 79, 0.08);
}

.btn.link {
    background: transparent;
    color: var(--deep-blue);
    padding-left: 0;
    padding-right: 0;
}

.btn.link:hover,
.btn.link:focus {
    color: var(--accent);
}

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

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

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--deep-blue);
}

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

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

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
    color: var(--deep-blue);
}

.header-contact a {
    font-weight: 600;
    color: var(--accent);
}

.nav-toggle {
    display: none;
}

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

.nav-toggle-label span {
    display: block;
    width: 2rem;
    height: 0.15rem;
    background: var(--deep-blue);
}

.split,
.split.reverse {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.split.reverse .split-text {
    order: 2;
}

.card-grid,
.resource-grid,
.result-grid,
.faq,
.service-grid {
    display: grid;
    gap: 1.8rem;
}

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

.card,
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.8rem;
    box-shadow: 0 10px 20px rgba(29, 53, 87, 0.06);
}

.card h3,
.service-card h3 {
    margin-top: 0;
    color: var(--deep-blue);
}

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

.feature-list li,
.stat-list li,
.steps-list li {
    margin-bottom: 0.9rem;
    padding-left: 1.8rem;
    position: relative;
}

.feature-list li::before,
.stat-list li::before,
.steps-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.6rem;
    height: 0.6rem;
    background: var(--accent);
    border-radius: 50%;
}

.steps-list li {
    counter-increment: step;
    padding-left: 2.4rem;
}

.steps-list li::before {
    content: counter(step);
    background: var(--deep-blue);
    color: #fff;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    top: 0.3rem;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
}

.progress-wrapper {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.progress-item {
    padding: 1.6rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 8px 18px rgba(27, 67, 50, 0.08);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--deep-blue);
}

.progress-bar {
    width: 100%;
    background: var(--light-gray);
    border-radius: 999px;
    height: 0.6rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--forest-green);
    border-radius: inherit;
}

.timeline {
    display: grid;
    gap: 1.6rem;
}

.timeline-item {
    border-left: 4px solid var(--forest-green);
    padding: 1.2rem 1.4rem;
    background: #fff;
    border-radius: 0.6rem;
    box-shadow: 0 8px 16px rgba(27, 67, 50, 0.06);
}

.timeline-item h3 {
    margin-top: 0;
    color: var(--deep-blue);
}

.cta-section {
    background: linear-gradient(120deg, rgba(45, 106, 79, 0.12), rgba(29, 53, 87, 0.12));
}

.cta-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 0.9rem;
    box-shadow: 0 16px 30px rgba(27, 67, 50, 0.1);
    border: 1px solid var(--border);
    text-align: center;
}

.cta-card h2 {
    margin-bottom: 1rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.site-footer {
    background: var(--forest-green);
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-contact,
.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li,
.footer-legal li {
    margin-bottom: 0.6rem;
}

.footer-legal a {
    color: #f0f4f8;
}

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

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(29, 53, 87, 0.08);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--deep-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--muted);
}

.form-alert {
    padding: 1rem 1.2rem;
    border-radius: 0.6rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.form-alert.error {
    background: #fdecea;
    color: #9b2c2c;
    border: 1px solid #f5c2c0;
}

.form-alert.success {
    background: #edf9f2;
    color: #276749;
    border: 1px solid #9ae6b4;
}

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

.faq article {
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 20px rgba(29, 53, 87, 0.06);
}

header,
footer {
    width: 100%;
}

.legal-hero {
    padding: 4.5rem 0 2.5rem;
    background: var(--soft-beige);
}

.legal-section {
    padding: 4rem 0;
    background: #fff;
}

.legal-content h2 {
    color: var(--deep-blue);
    margin-top: 2rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    color: var(--forest-green);
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.2rem;
}

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

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

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 550px);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.4rem;
    box-shadow: 0 18px 36px rgba(29, 53, 87, 0.15);
    display: none;
    z-index: 2000;
}

.cookie-banner.visible {
    display: block;
}

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

.cookie-content p {
    margin: 0 0 1rem 0;
}

.cookie-link {
    color: var(--deep-blue);
    font-weight: 600;
}

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

#cookie-accept {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: 0.6rem;
    font-weight: 600;
    cursor: pointer;
}

#cookie-accept:hover,
#cookie-accept:focus {
    background: var(--accent-hover);
}

.cookie-secondary {
    color: var(--accent);
    font-weight: 600;
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.3rem;
    }

    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        position: absolute;
        left: -9999px;
    }

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

    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(27, 67, 50, 0.98);
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

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

    .main-nav a {
        color: #fff;
        font-size: 1.5rem;
    }

    .nav-toggle:checked ~ .nav-toggle-label span {
        background: #fff;
    }

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

    .header-contact {
        display: none;
    }

    .hero {
        padding: 4.5rem 0 3rem;
    }

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

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cookie-banner {
        width: min(92%, 420px);
    }
}

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

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

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }

    #cookie-accept {
        width: 100%;
    }

    .main-nav a {
        font-size: 1.3rem;
    }
}