.rio-footer {
        --footer-accent: #d76b2b;
        --footer-accent-light: #f5ad82;
        --footer-ink: #fffaf6;
        --footer-muted: #bfb1a8;
        position: relative;
        overflow: hidden;
        padding: 0 0 24px;
        border-top: 1px solid rgba(245, 173, 130, .22);
        background:
            radial-gradient(circle at 88% 14%, rgba(215, 107, 43, .17), transparent 27%),
            radial-gradient(circle at 10% 92%, rgba(245, 173, 130, .07), transparent 24%),
            linear-gradient(145deg, #211c19 0%, #2d2521 52%, #181412 100%);
        color: var(--footer-muted);
        font-family: 'Poppins', sans-serif;
    }

    .rio-footer::before {
        content: '';
        position: absolute;
        top: 190px;
        right: -85px;
        width: 350px;
        aspect-ratio: 135 / 100;
        background: url('../images/logo-riolar.png') center / contain no-repeat;
        filter: brightness(0) invert(1);
        opacity: .025;
        pointer-events: none;
    }

    .rio-footer::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--footer-accent), var(--footer-accent-light), transparent);
        opacity: .58;
    }

    .rio-footer .container {
        position: relative;
        z-index: 1;
    }

    .footer-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        margin-bottom: 54px;
        padding: 30px clamp(24px, 4vw, 48px);
        border: 1px solid rgba(255, 255, 255, .09);
        border-top: 0;
        border-radius: 0 0 24px 24px;
        background:
            linear-gradient(105deg, rgba(215, 107, 43, .17), rgba(255, 255, 255, .035)),
            rgba(255, 255, 255, .025);
        box-shadow: 0 22px 60px rgba(0, 0, 0, .16);
        backdrop-filter: blur(12px);
    }

    .footer-eyebrow {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 7px;
        color: var(--footer-accent-light);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    .footer-eyebrow::before {
        content: '';
        width: 28px;
        height: 2px;
        border-radius: 2px;
        background: var(--footer-accent);
    }

    .footer-cta h2 {
        margin: 0;
        color: var(--footer-ink);
        font-family: 'Playfair Display', serif;
        font-size: clamp(25px, 3vw, 38px);
        font-weight: 600;
        line-height: 1.15;
    }

    .footer-cta-actions {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 10px;
    }

    .footer-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        min-height: 46px;
        padding: 0 20px;
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: 999px;
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
    }

    .footer-cta-btn:hover {
        border-color: rgba(255, 255, 255, .28);
        background: rgba(255, 255, 255, .07);
        color: #fff;
        transform: translateY(-2px);
    }

    .footer-cta-btn.is-primary {
        border-color: var(--footer-accent);
        background: var(--footer-accent);
        box-shadow: 0 10px 28px rgba(215, 107, 43, .23);
    }

    .footer-cta-btn.is-primary:hover {
        border-color: #e87a39;
        background: #e87a39;
    }

    .footer-main {
        padding-bottom: 42px;
    }

    .footer-brand-link {
        display: inline-flex;
        margin-bottom: 19px;
        transition: transform .25s ease;
    }

    .footer-brand-link:hover {
        transform: translateY(-2px);
    }

    .footer-brand-logo {
        width: 148px;
        height: auto;
        filter: brightness(0) invert(1);
    }

    .footer-about-text {
        max-width: 360px;
        margin: 0 0 22px;
        color: var(--footer-muted);
        font-size: 13px;
        line-height: 1.75;
    }

    .footer-social {
        display: flex;
        gap: 9px;
    }

    .footer-social-link {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: 12px;
        background: rgba(255, 255, 255, .035);
        color: #d5c9c2;
        font-size: 16px;
        text-decoration: none;
        transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
    }

    .footer-social-link:hover {
        border-color: var(--footer-accent);
        background: var(--footer-accent);
        color: #fff;
        transform: translateY(-3px);
    }

    .footer-heading {
        position: relative;
        margin: 8px 0 22px;
        padding-bottom: 12px;
        color: var(--footer-ink);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        border-radius: 2px;
        background: var(--footer-accent);
    }

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

    .footer-links a {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        width: fit-content;
        color: var(--footer-muted);
        font-size: 13px;
        text-decoration: none;
        transition: color .22s ease, transform .22s ease;
    }

    .footer-links a::before {
        content: '';
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: rgba(215, 107, 43, .65);
        transition: background .22s ease, transform .22s ease;
    }

    .footer-links a:hover {
        color: var(--footer-accent-light);
        transform: translateX(4px);
    }

    .footer-links a:hover::before {
        background: var(--footer-accent-light);
        transform: scale(1.35);
    }

    .footer-contact-list {
        display: grid;
        gap: 11px;
    }

    .footer-contact-item {
        display: grid;
        grid-template-columns: 37px minmax(0, 1fr);
        align-items: center;
        gap: 11px;
        min-height: 50px;
        padding: 7px 10px 7px 7px;
        border: 1px solid rgba(255, 255, 255, .065);
        border-radius: 13px;
        background: rgba(255, 255, 255, .025);
        color: var(--footer-muted);
        font-size: 12px;
        line-height: 1.45;
        text-decoration: none;
        transition: border-color .22s ease, background .22s ease, color .22s ease;
    }

    .footer-contact-icon {
        display: grid;
        place-items: center;
        width: 37px;
        height: 37px;
        border-radius: 10px;
        background: rgba(215, 107, 43, .13);
        color: var(--footer-accent-light);
        font-size: 14px;
    }

    a.footer-contact-item:hover {
        border-color: rgba(215, 107, 43, .38);
        background: rgba(215, 107, 43, .07);
        color: #fff;
    }

    .footer-bottom {
        padding-top: 23px;
        border-top: 1px solid rgba(255, 255, 255, .075);
    }

    .footer-bottom p {
        margin: 0;
        color: #8f827a;
        font-size: 11px;
        line-height: 1.6;
    }

    .footer-legal {
        margin-top: 6px !important;
        color: #94877f !important;
        font-size: 10px !important;
        line-height: 1.55 !important;
    }

    .footer-bottom strong {
        color: #cfc3bc;
        font-weight: 600;
    }

    .footer-dev-link {
        color: #cfc3bc;
        text-decoration: none;
        transition: color .2s ease;
    }

    .footer-dev-link i {
        margin-right: 3px;
        color: var(--footer-accent);
    }

    .footer-dev-link:hover {
        color: var(--footer-accent-light);
    }

    .footer-cta-btn:focus-visible,
    .footer-brand-link:focus-visible,
    .footer-social-link:focus-visible,
    .footer-links a:focus-visible,
    .footer-contact-item:focus-visible,
    .footer-dev-link:focus-visible,
    .whatsapp-float:focus-visible {
        outline: 3px solid rgba(245, 173, 130, .55);
        outline-offset: 3px;
    }

    .whatsapp-float {
        position:fixed;right:32px;bottom:26px;z-index:999;display:grid;place-items:center;
        width:80px;height:80px;border:0;border-radius:50%;background:#00ad27;color:#fff;
        font-size:49px;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.12);
        transition:transform .2s ease;
    }
    .whatsapp-float:hover{color:#fff;transform:scale(1.04)}
    .whatsapp-float-label{
        position:absolute;right:0;bottom:calc(100% + 26px);display:flex;align-items:center;justify-content:center;
        min-width:130px;height:42px;padding:0 16px;border:0;border-radius:16px;background:#13c337;color:#fff;
        font-size:12px;font-weight:700;line-height:1.2;text-transform:none;white-space:nowrap;
        animation:riolar-contact-bounce 1.8s ease-in-out infinite;
    }
    .whatsapp-float-label::after{content:'';position:absolute;right:23px;bottom:-15px;border-left:17px solid transparent;border-right:17px solid transparent;border-top:17px solid #13c337}
    @keyframes riolar-contact-bounce{0%,100%{transform:translateY(0)}45%{transform:translateY(-9px)}65%{transform:translateY(-3px)}}
    @media(prefers-reduced-motion:reduce){.whatsapp-float-label{animation:none}}
    @media (max-width: 991px) {
        .footer-cta {
            align-items: flex-start;
            flex-direction: column;
        }

        .footer-main {
            padding-bottom: 34px;
        }

        .footer-heading {
            margin-top: 12px;
        }
    }

    @media (max-width: 767px) {
        .rio-footer {
            padding-bottom: 20px;
        }

        .rio-footer::before {
            top: 275px;
            right: -110px;
            width: 280px;
        }

        .footer-cta {
            gap: 22px;
            margin-bottom: 38px;
            padding: 26px 22px;
            border-radius: 0 0 19px 19px;
        }

        .footer-cta-actions {
            width: 100%;
        }

        .footer-cta-btn {
            flex: 1;
            padding: 0 14px;
        }

        .footer-about-text {
            max-width: 520px;
        }

        .footer-bottom p {
            text-align: center;
        }

        .footer-bottom .text-md-end {
            margin-top: 6px;
        }

        .whatsapp-float {
            right: 18px;
            bottom: 18px;
            width: 64px;
            height: 64px;
            font-size: 39px;
        }
    }

    @media (max-width: 430px) {
        .footer-cta-actions {
            align-items: stretch;
            flex-direction: column;
        }

        .footer-cta-btn {
            width: 100%;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .rio-footer *,
        .whatsapp-float {
            scroll-behavior: auto !important;
            transition-duration: .01ms !important;
        }
    }

    .favorite-button {
        position: absolute;
        z-index: 7;
        right: 14px;
        bottom: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .65);
        border-radius: 50%;
        background: rgba(255, 255, 255, .9);
        box-shadow: 0 8px 24px rgba(33, 28, 25, .2);
        color: #7c6d65;
        font-size: 16px;
        cursor: pointer;
        backdrop-filter: blur(10px);
        transition: transform .22s ease, background .22s ease, color .22s ease;
    }

    .favorite-button:hover {
        color: #d76b2b;
        transform: translateY(-2px) scale(1.04);
    }

    .favorite-button.is-favorite {
        border-color: #d76b2b;
        background: #d76b2b;
        color: #fff;
    }

    .favorite-button.is-loading {
        opacity: .65;
        pointer-events: none;
    }

    .favorite-button--detail {
        position: static;
        width: auto;
        min-width: 42px;
        padding: 0 15px;
        border-color: #eadfd7;
        border-radius: 999px;
        background: #fff;
        box-shadow: none;
        color: #292522;
        font-size: 12px;
        font-weight: 650;
    }

    .favorite-button--detail.is-favorite {
        border-color: #d76b2b;
        background: #fff4ec;
        color: #9e481d;
    }

    .favorite-button--detail.is-favorite i {
        font-weight: 900;
    }

    .favorite-toast {
        position: fixed;
        z-index: 10050;
        left: 50%;
        bottom: 28px;
        max-width: min(90vw, 420px);
        padding: 12px 17px;
        border-radius: 999px;
        background: #211c19;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, 14px);
        transition: opacity .22s ease, transform .22s ease;
    }

    .favorite-toast.is-visible {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    @media (max-width: 767px) {
        .favorite-button--detail span {
            display: none;
        }

        .favorite-button--detail {
            width: 42px;
            padding: 0;
        }

        .favorite-toast {
            bottom: 82px;
        }
    }

    .footer-privacy-links {
        display: inline-flex;
        align-items: center;
        gap: 13px;
        margin-top: 7px;
    }

    .footer-privacy-links a,
    .footer-cookie-settings {
        padding: 0;
        border: 0;
        background: transparent;
        color: #a99b93;
        font: inherit;
        text-decoration: underline;
        text-decoration-color: rgba(169, 155, 147, .35);
        text-underline-offset: 3px;
        cursor: pointer;
    }

    .footer-privacy-links a:hover,
    .footer-cookie-settings:hover {
        color: #f5ad82;
    }

    .cookie-banner[hidden],
    .cookie-modal[hidden] {
        display: none !important;
    }

    .cookie-banner {
        position: fixed;
        z-index: 11000;
        right: 20px;
        bottom: 20px;
        left: 20px;
        width: min(1120px, calc(100% - 40px));
        margin: 0 auto;
        padding: 20px;
        border: 1px solid rgba(255, 255, 255, .13);
        border-radius: 20px;
        background: rgba(33, 28, 25, .97);
        box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
        color: #fff;
        backdrop-filter: blur(16px);
    }

    .cookie-banner-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 24px;
    }

    .cookie-banner-copy {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    .cookie-banner-icon {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border-radius: 13px;
        background: rgba(215, 107, 43, .16);
        color: #f5ad82;
        font-size: 18px;
    }

    .cookie-banner h2 {
        margin: 0 0 5px;
        color: #fff;
        font-size: 16px;
        font-weight: 650;
    }

    .cookie-banner p {
        max-width: 660px;
        margin: 0;
        color: #cfc3bc;
        font-size: 11px;
        line-height: 1.6;
    }

    .cookie-banner p a {
        color: #f5ad82;
        text-underline-offset: 3px;
    }

    .cookie-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .cookie-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 15px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 999px;
        background: rgba(255, 255, 255, .05);
        color: #fff;
        font-size: 11px;
        font-weight: 650;
        cursor: pointer;
        transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }

    .cookie-button:hover {
        border-color: rgba(255, 255, 255, .32);
        background: rgba(255, 255, 255, .1);
        transform: translateY(-1px);
    }

    .cookie-button.is-primary {
        border-color: #d76b2b;
        background: #d76b2b;
    }

    .cookie-button.is-primary:hover {
        border-color: #e87d3d;
        background: #e87d3d;
    }

    .cookie-modal {
        position: fixed;
        z-index: 11010;
        inset: 0;
        display: grid;
        place-items: center;
        padding: 20px;
        background: rgba(20, 16, 14, .7);
        backdrop-filter: blur(9px);
    }

    .cookie-dialog {
        width: min(560px, 100%);
        max-height: min(720px, 92vh);
        overflow-y: auto;
        border: 1px solid #e8ddd5;
        border-radius: 26px 26px 26px 8px;
        background: #fff;
        box-shadow: 0 34px 90px rgba(0, 0, 0, .3);
        color: #292522;
    }

    .cookie-dialog-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        padding: 25px 25px 18px;
        border-bottom: 1px solid #eee4dd;
    }

    .cookie-dialog-header h2 {
        margin: 0 0 5px;
        font-size: 22px;
        font-weight: 650;
    }

    .cookie-dialog-header p {
        margin: 0;
        color: #776d67;
        font-size: 11px;
        line-height: 1.55;
    }

    .cookie-close {
        display: grid;
        place-items: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 50%;
        background: #f5efeb;
        color: #4b423d;
        cursor: pointer;
    }

    .cookie-options {
        display: grid;
        gap: 12px;
        padding: 20px 25px;
    }

    .cookie-option {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 18px;
        padding: 17px;
        border: 1px solid #eadfd7;
        border-radius: 15px;
        background: #fdfbf9;
    }

    .cookie-option strong,
    .cookie-option span {
        display: block;
    }

    .cookie-option strong {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .cookie-option span {
        color: #776d67;
        font-size: 10px;
        line-height: 1.55;
    }

    .cookie-always-on {
        color: #347348 !important;
        font-size: 9px !important;
        font-weight: 750;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .cookie-switch {
        position: relative;
        display: inline-flex;
        flex: 0 0 46px;
        width: 46px;
        height: 26px;
    }

    .cookie-switch input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .cookie-switch-ui {
        width: 100%;
        border-radius: 999px;
        background: #cfc5bf;
        cursor: pointer;
        transition: background .2s ease;
    }

    .cookie-switch-ui::after {
        content: '';
        position: absolute;
        top: 4px;
        left: 4px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
        transition: transform .2s ease;
    }

    .cookie-switch input:checked + .cookie-switch-ui {
        background: #d76b2b;
    }

    .cookie-switch input:checked + .cookie-switch-ui::after {
        transform: translateX(20px);
    }

    .cookie-switch input:focus-visible + .cookie-switch-ui {
        outline: 3px solid rgba(215, 107, 43, .3);
        outline-offset: 3px;
    }

    .cookie-dialog-footer {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        padding: 0 25px 25px;
    }

    @media (max-width: 800px) {
        .cookie-banner {
            right: 12px;
            bottom: 12px;
            left: 12px;
            width: calc(100% - 24px);
            padding: 17px;
        }

        .cookie-banner-layout {
            grid-template-columns: 1fr;
            gap: 17px;
        }

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

        .cookie-actions .cookie-button:first-child {
            grid-column: 1 / -1;
        }
    }

    @media (max-width: 480px) {
        .cookie-banner-copy {
            grid-template-columns: 1fr;
        }

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

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

        .cookie-actions .cookie-button:first-child {
            grid-column: auto;
        }

        .cookie-dialog-header,
        .cookie-options {
            padding-right: 18px;
            padding-left: 18px;
        }

        .cookie-dialog-footer {
            display: grid;
            grid-template-columns: 1fr 1fr;
            padding: 0 18px 20px;
        }
    }
