.legal-page {
    background: #f5f7f4;
}

.legal-hero {
    position: relative;
    padding: 150px 0 85px;
    color: #fff;
    background: linear-gradient(135deg, #101b12 0%, #234e28 65%, #39a33b 100%);
    overflow: hidden;
}

.legal-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -90px;
    bottom: -190px;
    border-radius: 50%;
    border: 70px solid rgba(255, 255, 255, .08);
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    color: #dff3df;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 7vw, 5rem);
}

.legal-hero p {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: 1.1rem;
}

.legal-content {
    padding: 80px 0 100px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 35px;
    align-items: start;
}

.legal-card,
.legal-aside {
    border: 1px solid #e3e9e1;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(26, 48, 29, .08);
}

.legal-card {
    padding: clamp(25px, 5vw, 55px);
}

.legal-section + .legal-section {
    padding-top: 35px;
    margin-top: 35px;
    border-top: 1px solid #e6ece5;
}

.legal-section h2 {
    margin: 0 0 15px;
    color: #17251a;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.legal-section h3 {
    margin: 24px 0 10px;
    color: #203823;
    font-size: 1.15rem;
}

.legal-section p,
.legal-section li {
    color: #556358;
    line-height: 1.8;
}

.legal-section a,
.legal-aside a {
    color: #24872b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-address {
    padding: 25px;
    border-left: 4px solid #39a33b;
    border-radius: 0 14px 14px 0;
    background: #f3f9f3;
    font-style: normal;
    line-height: 1.9;
}

.legal-aside {
    position: sticky;
    top: 110px;
    padding: 28px;
}

.legal-aside h2 {
    margin-bottom: 18px;
    font-size: 1.3rem;
}

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

.legal-simple-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    background: rgba(8, 17, 10, .8);
    backdrop-filter: blur(12px);
}

.legal-simple-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.legal-simple-header img {
    width: 210px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.legal-simple-header nav {
    display: flex;
    gap: 22px;
}

.legal-simple-header a {
    color: #fff;
    font-weight: 700;
}

.legal-footer {
    padding: 38px 0;
    color: rgba(255, 255, 255, .75);
    background: #111a13;
}

.legal-footer__inner,
.legal-footer__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.legal-footer a,
.legal-footer button {
    padding: 0;
    color: #fff;
    border: 0;
    background: transparent;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-legal-links a,
.footer-legal-links a:visited,
.footer-legal-links button {
    padding: 0;
    color: #fff !important;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover {
    color: #72d276;
}

.cookie-consent {
    position: fixed;
    z-index: 999999;
    inset: auto 18px 18px;
    display: none;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(57, 163, 59, .3);
    border-radius: 20px;
    color: #26352a;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 70px rgba(12, 25, 14, .28);
}

.cookie-consent.is-visible {
    display: block;
    animation: cookie-in .35s ease both;
}

.cookie-consent__inner {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
}

.cookie-consent__icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: #39a33b;
    font-size: 26px;
}

.cookie-consent h2 {
    margin: 0 0 8px;
    color: #142318;
    font-size: 1.3rem;
}

.cookie-consent p {
    margin: 0;
    color: #5b695e;
    line-height: 1.6;
}

.cookie-consent p a {
    color: #24872b;
    font-weight: 700;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
    flex-wrap: wrap;
}

.cookie-consent__button {
    min-height: 44px;
    padding: 10px 19px;
    border: 2px solid #39a33b;
    border-radius: 999px;
    color: #226d27;
    background: #fff;
    font-weight: 800;
    cursor: pointer;
}

.cookie-consent__button--primary {
    color: #fff;
    background: #39a33b;
}

.cookie-consent__button:focus-visible,
.cookie-settings-trigger:focus-visible {
    outline: 3px solid #f5c451;
    outline-offset: 3px;
}

@keyframes cookie-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .legal-simple-header nav a:not(:last-child) {
        display: none;
    }

    .legal-simple-header img {
        width: 165px;
    }

    .legal-hero {
        padding: 125px 0 65px;
    }

    .legal-content {
        padding: 50px 0 70px;
    }

    .footer-legal-links a:hover,
.footer-legal-links button:hover {
    color: #72d276;
}

.cookie-consent {
        inset: auto 10px 10px;
        padding: 18px;
    }

    .cookie-consent__inner {
        grid-template-columns: 1fr;
    }

    .cookie-consent__icon {
        width: 46px;
        height: 46px;
    }

    .cookie-consent__actions,
    .cookie-consent__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent.is-visible {
        animation: none;
    }
}

/* WhatsApp icon hard size */
.whatsapp-float > svg {
    display: block !important;
    width: 30px !important;
    height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
    flex: 0 0 30px !important;
}