:root {
    --color-primary: #0b2c52;
    --color-secondary: #3f7c85;
    --color-accent: #8fbf9f;
    --color-light: #f4f3ed;
    --color-dark: #1f1f29;
    --color-text: #2f3142;
    --color-muted: #6c7080;
    --font-base: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.2s ease-in-out;
}

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

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

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

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

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

h1, h2, h3, h4 {
    color: var(--color-primary);
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

ul {
    padding-left: 1.2rem;
    margin-top: 0;
}

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

.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(11, 44, 82, 0.1);
    position: sticky;
    top: 0;
    z-index: 20;
}

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

.branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.tagline {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0;
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
    cursor: pointer;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a {
    font-weight: 600;
    color: var(--color-text);
}

.nav-links a.active {
    color: var(--color-secondary);
}

.header-contact {
    font-size: 0.85rem;
    color: var(--color-muted);
}

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

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

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

.hero-text h1 {
    font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
    margin-bottom: 1rem;
}

.hero-text ul {
    list-style: none;
    padding: 0;
}

.hero-highlights li::before {
    content: '• ';
    color: var(--color-secondary);
    font-weight: bold;
}

.section {
    padding: 4rem 0;
}

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

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

.two-column.reverse {
    direction: rtl;
}

.two-column.reverse > * {
    direction: ltr;
}

.card-grid {
    display: grid;
    gap: 1.8rem;
}

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

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

.info-card {
    background-color: #ffffff;
    border: 1px solid rgba(11, 44, 82, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(11, 44, 82, 0.05);
}

.value-card,
.stack-card,
.deliverable {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(11, 44, 82, 0.1);
    box-shadow: 0 8px 16px rgba(11, 44, 82, 0.05);
}

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

.list-checked li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 1rem;
}

.list-checked li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.image-stack {
    display: grid;
    gap: 1.5rem;
}

.stacked-cards {
    display: grid;
    gap: 1rem;
}

.timeline {
    border-left: 2px solid rgba(11, 44, 82, 0.2);
    margin-top: 2rem;
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    background-color: var(--color-secondary);
    color: #ffffff;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.timeline-content {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(11, 44, 82, 0.1);
}

.budget-simulator {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(11, 44, 82, 0.15);
    box-shadow: 0 16px 30px rgba(11, 44, 82, 0.08);
    padding: 2rem;
}

.simulator-inputs label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.4rem;
}

.simulator-inputs input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(11, 44, 82, 0.2);
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.simulator-results h3 {
    margin-top: 0;
}

.simulator-results span {
    font-weight: 700;
    color: var(--color-primary);
}

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

.faq-grid article {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(11, 44, 82, 0.12);
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(11, 44, 82, 0.06);
}

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

.process-steps {
    display: grid;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
}

.process-steps li {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.8rem;
    border: 1px solid rgba(11, 44, 82, 0.12);
    box-shadow: 0 12px 24px rgba(11, 44, 82, 0.08);
}

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

.contact-form {
    display: grid;
    gap: 1.2rem;
    max-width: 640px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(11, 44, 82, 0.2);
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.btn {
    display: inline-block;
    background-color: var(--color-secondary);
    color: #ffffff;
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition);
}

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

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    font-weight: 600;
    transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.btn-outline:hover,
.btn-outline:focus {
    color: #ffffff;
    background-color: var(--color-secondary);
}

.alert {
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert.success {
    background-color: #e7f6ef;
    border: 1px solid #8fbf9f;
    color: #1f4d2f;
}

.alert.error {
    background-color: #fbe9e7;
    border: 1px solid #ff8a65;
    color: #b0413e;
}

.steps-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.step {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.7rem;
    border: 1px solid rgba(11, 44, 82, 0.1);
    box-shadow: 0 10px 22px rgba(11, 44, 82, 0.07);
    position: relative;
}

.step-number {
    position: absolute;
    top: -0.8rem;
    left: -0.8rem;
    background-color: var(--color-primary);
    color: #ffffff;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.site-footer {
    background-color: var(--color-dark);
    color: #ffffff;
    padding: 3rem 0 2rem;
}

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

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

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

.footer-links a {
    color: #f0f0f0;
    font-weight: 500;
}

.footer-links a:hover,
.footer-links a:focus {
    color: var(--color-accent);
}

.footer-note {
    text-align: center;
    margin: 0;
    color: #d9dae2;
    font-size: 0.9rem;
}

.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #ffffff;
    border: 1px solid rgba(11, 44, 82, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 340px;
    box-shadow: 0 18px 30px rgba(11, 44, 82, 0.12);
    display: none;
    z-index: 30;
}

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

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

.legal-main h1 {
    font-size: 2.2rem;
}

.legal-main h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.legal-update {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-top: 2rem;
}

.legal-header {
    background-color: var(--color-light);
    border-bottom: 1px solid rgba(11, 44, 82, 0.1);
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        inset: 0;
        background-color: rgba(11, 44, 82, 0.96);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transform: translateY(-100%);
        transition: transform var(--transition);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-links a {
        color: #ffffff;
        font-size: 1.3rem;
    }

    .header-contact {
        color: #d9dae2;
        text-align: center;
    }

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

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

    .hero-grid,
    .two-column {
        grid-template-columns: 1fr;
    }

    .two-column.reverse {
        direction: ltr;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 3rem 0 2.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-wrap: wrap;
    }

    .branding {
        width: 100%;
    }

    .hero-text ul {
        font-size: 0.95rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }
}