:root {
    --red: #ff0100;
    --black: #000000;
    --white: #ffffff;
    --bg: #e5e5e5;
    --radius: 24px;
    --gap: 20px;
    --pad: 20px;
    --font: "Inter", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--black);
    -webkit-font-smoothing: antialiased;
}

img,
svg,
picture,
video,
canvas {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--red);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
    padding: 72px 24px 0;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 52vh;
    background: linear-gradient(
        180deg,
        rgb(229 229 229 / 0%) 0%,
        rgb(229 229 229 / 12%) 35%,
        var(--bg) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero-logo {
    width: 116px;
    height: 116px;
    object-fit: contain;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.hero-title {
    position: relative;
    z-index: 2;
    width: 100%;
    font-size: clamp(42px, 5.4vw, 78px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 1.078;
    max-width: 1201px;
}

.br-narrow {
    display: none;
}

.hero-last {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.18em;
    white-space: nowrap;
}

.hero-flecha {
    width: 0.86em;
    height: 0.8em;
    flex-shrink: 0;
}

.hero-smiley {
    width: 1.06em;
    height: 0.94em;
    flex-shrink: 0;
}

.hero-lead {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.08em;
    line-height: 1.25;
    max-width: 559px;
}

.hero-scroll {
    position: relative;
    z-index: 2;
    margin-top: 48px;
    width: 38px;
    height: 38px;
    animation: hero-bounce 1.8s ease-in-out infinite;
}

.hero-scroll img {
    width: 38px;
    height: 38px;
}

@keyframes hero-bounce {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.hero-deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.hero-keys {
    left: 2%;
    top: 18%;
    width: min(28vw, 380px);
    transform-origin: 32% 10%;
    transform: rotate(-31.3deg);
    animation: hero-keys-move 2.8s ease-in-out infinite alternate;
}

.hero-wa {
    right: 14%;
    top: 16%;
    width: min(16vw, 228px);
    transform-origin: center center;
    animation: hero-wa-move 2.4s ease-in-out 0.35s infinite alternate;
}

.hero-bag {
    right: 4%;
    top: 42%;
    width: min(22vw, 320px);
    object-fit: contain;
    transform-origin: 50% 80%;
    animation: hero-bag-move 3.2s ease-in-out 0.7s infinite alternate;
}

@keyframes hero-keys-move {
    from { transform: rotate(-31.3deg) translate(0, 0); }
    to { transform: rotate(-38.8deg) translate(-3.24%, -16.29%); }
}

@keyframes hero-wa-move {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.094) translate(-1%, 10%); }
}

@keyframes hero-bag-move {
    from { transform: rotate(0deg) translate(0, 0); }
    to { transform: rotate(2.89deg) translate(0, 8%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-deco,
    .hero-scroll,
    .logo-corona {
        animation: none;
    }
}

.bento {
    flex: 1;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--pad);
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    background: var(--bg);
}

.fila-01 {
    display: flex;
    gap: var(--gap);
    height: 290px;
    flex-shrink: 0;
}

.fila-02 {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 200px minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 200px minmax(0, 1fr);
    grid-template-areas:
        "pisos viajes logo tablon tablon"
        "pisos viajes multi  multi  multi";
    gap: var(--gap);
}

.col-derecha,
.superior {
    display: contents;
}

.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
}

.card-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    max-width: 100%;
}

.card h2 {
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.08em;
}

.subtitle {
    font-weight: 600;
    letter-spacing: -0.08em;
    line-height: 1.2;
}

.eyebrow {
    font-weight: 500;
    letter-spacing: -0.08em;
    line-height: 1.2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    min-width: 181px;
    padding: 8px 31px;
    border-radius: 32px;
    font-family: inherit;
    font-size: 23.25px;
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 1;
    white-space: nowrap;
    border: 2px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn img {
    width: 22px;
    height: 22px;
    transform: rotate(180deg);
    flex-shrink: 0;
}

.btn:hover {
    transform: scale(1.03);
}

.btn-on-red {
    background: var(--white);
    color: var(--red);
}

.btn-on-red:hover,
.btn-on-red:focus-visible {
    background: var(--black);
    color: var(--red);
    border-color: var(--red);
}

.btn-on-black {
    background: var(--white);
    color: var(--black);
}

.btn-on-black:hover,
.btn-on-black:focus-visible {
    background: var(--red);
    color: var(--white);
    border-color: var(--white);
}

.btn-on-black:hover img,
.btn-on-black:focus-visible img {
    filter: brightness(0) invert(1);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--red);
    width: 100%;
    min-width: 0;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}

.btn-outline:hover img,
.btn-outline:focus-visible img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(97%) saturate(7492%) hue-rotate(1deg) brightness(97%) contrast(118%);
}

.art {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

/* GRUPOS */
.card-grupos {
    flex: 1.59;
    min-width: 0;
    background: var(--red);
    color: var(--white);
    padding: 40px 34px 40px 32px;
    display: flex;
    align-items: center;
    transform-origin: center center;
    transition: background-color 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-grupos:hover,
.card-grupos:focus-within {
    background: var(--black);
}

.card-grupos h2 {
    font-size: 64px;
}

.card-grupos .subtitle {
    font-size: 28px;
    margin-top: 2px;
}

.card-grupos .btn {
    margin-top: 45px;
}

.art-whatsapp {
    width: 311px;
    height: 311px;
    right: 0;
    top: -16px;
    object-fit: cover;
}

/* SALSEO */
.card-salseo {
    flex: 1;
    min-width: 0;
    color: var(--white);
    padding: 40px 34px 40px 32px;
    display: flex;
    align-items: center;
    background: var(--red);
    transform-origin: center center;
    transition: background-color 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-salseo:hover,
.card-salseo:focus-within {
    background: var(--black);
}

.card-salseo::before,
.card-salseo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.card-salseo::before {
    background: url("assets/salseo.jpg") center / cover no-repeat;
    opacity: 0.8;
}

.card-salseo::after {
    background: url("assets/salseo2.png") center / cover no-repeat;
    opacity: 0;
}

.card-salseo:hover::before,
.card-salseo:focus-within::before {
    opacity: 0;
}

.card-salseo:hover::after,
.card-salseo:focus-within::after {
    opacity: 0.8;
}

.card-salseo h2 {
    font-size: 56px;
}

.card-salseo .subtitle {
    font-size: 20px;
    margin-top: 4px;
}

.card-salseo .btn {
    margin-top: 38px;
}

/* PISOS */
.card-pisos {
    grid-area: pisos;
    min-width: 0;
    background: var(--black);
    color: var(--white);
    padding: 50px clamp(16px, 2.2vw, 32px) 0;
    transform-origin: center center;
    transition: background-color 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-pisos:hover,
.card-pisos:focus-within {
    background: var(--red);
}

.card-pisos .eyebrow {
    display: flex;
    align-items: center;
    height: 29px;
    color: var(--red);
    font-size: 16px;
    line-height: 1;
    transition: color 0.5s ease;
}

.card-pisos:hover .eyebrow,
.card-pisos:focus-within .eyebrow {
    color: var(--white);
}

.card-pisos h2 {
    font-size: clamp(40px, 3.9vw, 56px);
    margin-top: 2px;
}

.card-pisos .subtitle {
    font-size: 20px;
    margin-top: 4px;
}

.card-pisos .btn {
    margin-top: 61px;
    min-width: 0;
    width: min(181px, 100%);
}

.art-llaves {
    width: 260px;
    height: 460px;
    left: auto;
    top: auto;
    right: -118px;
    bottom: -70px;
    object-fit: contain;
    max-width: none;
    transform: rotate(-11.4deg);
    transform-origin: 100% 90%;
}

/* VIAJES */
.card-viajes {
    grid-area: viajes;
    min-width: 0;
    background: var(--black);
    color: var(--white);
    padding: 50px clamp(16px, 2.2vw, 32px) 0;
    transform-origin: center center;
    transition: background-color 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-viajes:hover,
.card-viajes:focus-within {
    background: var(--red);
}

.what-next {
    width: min(153px, 100%);
    height: 29px;
    overflow: hidden;
    position: relative;
}

.what-next img {
    position: absolute;
    height: 411.51%;
    width: 136.44%;
    left: -19.26%;
    top: -146.22%;
    max-width: none;
    object-fit: cover;
}

.card-viajes h2 {
    font-size: clamp(40px, 3.9vw, 56px);
    margin-top: 2px;
}

.card-viajes .subtitle {
    font-size: 20px;
    margin-top: 4px;
}

.card-viajes .btn {
    margin-top: 61px;
    min-width: 0;
    width: min(181px, 100%);
}

.art-maleta {
    width: 263px;
    height: 314px;
    left: 50%;
    bottom: -8px;
    transform: translateX(0%);
    object-fit: cover;
    object-position: 70% 20%;
}

@media (prefers-reduced-motion: no-preference) {
    .card-grupos:hover,
    .card-grupos:focus-within,
    .card-salseo:hover,
    .card-salseo:focus-within,
    .card-tablon:hover,
    .card-tablon:focus-within,
    .card-pisos:hover,
    .card-pisos:focus-within,
    .card-viajes:hover,
    .card-viajes:focus-within {
        transform: scale(0.985);
    }

    .card-tablon:hover .art-notas,
    .card-tablon:focus-within .art-notas {
        transform: scale(1.08) rotate(-6deg);
    }

    .multi-poster:hover img,
    .multi-poster:focus-within img {
        transform: scale(1.06);
    }
}

/* LOGO */
.card-logo {
    grid-area: logo;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: default;
}

.logo-mark {
    position: relative;
    width: 158px;
    height: 158px;
    flex-shrink: 0;
}

.logo-mark img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-corona {
    animation: logo-spin 14s linear infinite;
}

@keyframes logo-spin {
    to { transform: rotate(360deg); }
}

/* TABLÓN */
.card-tablon {
    grid-area: tablon;
    min-width: 0;
    background: var(--red);
    color: var(--white);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    transform-origin: center center;
    transition: background-color 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-tablon:hover,
.card-tablon:focus-within {
    background: var(--black);
}

.card-tablon .card-copy {
    flex: 0 0 auto;
}

.card-tablon .btn {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 181px;
    margin-left: 18%;
}

.card-tablon .eyebrow {
    font-size: 16px;
    transition: color 0.5s ease;
}

.card-tablon:hover .eyebrow,
.card-tablon:focus-within .eyebrow {
    color: var(--red);
}

.card-tablon h2 {
    font-size: 56px;
}

.card-tablon .subtitle {
    font-size: 20px;
}

.card-tablon .art-notas {
    display: none;
}

/* MULTIFUNCIÓN */
.card-multi {
    grid-area: multi;
    min-width: 0;
    min-height: 0;
    background: var(--black);
    padding: clamp(16px, 2vw, 28px) clamp(20px, 2.4vw, 32px);
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(16px, 2.4vw, 40px);
    cursor: default;
}

.multi-poster {
    flex: 0 0 auto;
    height: 100%;
    width: auto;
    max-width: min(341px, 46%);
    aspect-ratio: 341 / 360;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}

.multi-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.multi-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(10px, 1.6vh, 24px);
    flex: 1 1 0;
    width: 100%;
    max-width: none;
    min-width: 0;
    align-items: stretch;
}

.multi-actions .btn {
    display: flex;
    width: 100%;
    max-width: none;
    flex: 0 0 auto;
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    box-sizing: border-box;
}

/* FOOTER */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 20px;
    padding: 0 57px 0 57px;
    background: var(--red);
    color: var(--black);
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 57px;
    align-items: center;
}

.site-footer a,
.site-footer p {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: -0.08em;
    white-space: nowrap;
}

.site-footer a:hover {
    text-decoration: underline;
}

@media (min-width: 1440px) {
    .hero-title {
        font-size: 78px;
    }
}

/* ========== TABLET ========== */
@media (max-width: 1139px) {
    :root {
        --gap: 15px;
        --pad: 24px;
        --radius: 24px;
    }

    .hero {
        padding: 98px 24px 80px;
        justify-content: flex-start;
    }

    .hero-logo {
        margin-bottom: 64px;
    }

    .hero-title {
        font-size: 71px;
        letter-spacing: -0.08em;
    }

    .br-narrow {
        display: block;
    }

    .br-wide {
        display: none;
    }

    .hero-lead {
        margin-top: 52px;
        font-size: 22px;
        max-width: 406px;
    }

    .hero-scroll {
        margin-top: 72px;
    }

    .hero-keys {
        left: -14%;
        top: 5%;
        width: min(48vw, 368px);
    }

    .hero-wa {
        right: 7%;
        left: auto;
        top: 13%;
        width: min(26vw, 197px);
    }

    .hero-bag {
        right: -8%;
        left: auto;
        top: 36%;
        width: min(40vw, 306px);
    }

    .fila-01,
    .fila-02,
    .col-derecha,
    .superior {
        display: contents;
    }

    .bento {
        display: grid;
        grid-template-columns: 270fr 165fr 270fr;
        grid-template-rows: 241px 259px 154px 257px 194px;
        grid-template-areas:
            "grupos grupos grupos"
            "salseo salseo pisos"
            "viajes logo   pisos"
            "viajes tablon tablon"
            "multi  multi  multi";
        padding-bottom: var(--pad);
    }

    .card-grupos { grid-area: grupos; }
    .card-salseo { grid-area: salseo; }
    .card-pisos { grid-area: pisos; width: auto; }
    .card-viajes { grid-area: viajes; width: auto; }
    .card-logo { grid-area: logo; width: auto; height: auto; }
    .card-tablon { grid-area: tablon; }
    .card-multi { grid-area: multi; }

    .card-grupos,
    .card-salseo {
        padding: 40px 34px 40px 32px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .card-grupos h2,
    .card-salseo h2,
    .card-tablon h2 {
        font-size: 56px;
    }

    .card-grupos .subtitle {
        font-size: 22px;
    }

    .card-grupos .btn,
    .card-salseo .btn,
    .card-pisos .btn,
    .card-viajes .btn,
    .card-tablon .btn {
        height: 38px;
        min-width: 134px;
        width: 134px;
        padding: 8px 12px;
        font-size: 18px;
        margin-top: 32px;
        border-radius: 47px;
    }

    .card-grupos .btn {
        margin-top: 45px;
    }

    .card-salseo .btn {
        margin-top: 38px;
    }

    .btn img {
        width: 19px;
        height: 19px;
    }

    .art-whatsapp {
        width: 262px;
        height: 262px;
        right: -14px;
        top: -45px;
    }

    .card-pisos,
    .card-viajes {
        padding: 40px 32px 0;
    }

    .card-pisos .eyebrow,
    .card-tablon .eyebrow {
        font-size: 13px;
    }

    .card-pisos h2,
    .card-viajes h2 {
        font-size: 48px;
    }

    .card-pisos .subtitle,
    .card-viajes .subtitle,
    .card-salseo .subtitle,
    .card-tablon .subtitle {
        font-size: 18px;
    }

    .card-pisos .btn,
    .card-viajes .btn {
        margin-top: 31px;
    }

    .art-llaves {
        width: 184px;
        height: 328px;
        left: auto;
        top: auto;
        right: -56px;
        bottom: -58px;
        transform: rotate(-30deg);
        transform-origin: 85% 90%;
    }

    .what-next {
        width: 127px;
        height: 24px;
    }

    .art-maleta {
        width: 197px;
        height: 236px;
        left: auto;
        right: -20px;
        bottom: -10px;
        transform: none;
    }

    .card-logo {
        padding: 12px;
    }

    .logo-mark {
        width: 130px;
        height: 130px;
    }

    .card-tablon {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 24px 32px;
        gap: 0;
    }

    .card-tablon .btn {
        margin-top: 24px;
        margin-left: 0;
        flex: 0 0 auto;
        width: 100%;
        height: 38px;
        max-width: none;
        min-width: 0;
        align-self: stretch;
    }

    .card-tablon .art-notas {
        display: block;
        width: 201px;
        height: 201px;
        right: -20px;
        top: 30px;
        object-fit: cover;
    }

    .card-multi {
        display: flex;
        gap: 40px;
        padding: 10px 32px;
        justify-content: center;
        align-items: center;
    }

    .multi-poster {
        flex: 0 0 178px;
        width: 178px;
        max-width: 178px;
        height: 174px;
        align-self: center;
        border-radius: 24px;
    }

    .multi-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 401px;
        flex: 1 1 auto;
    }

    .multi-actions .btn {
        width: 100%;
        max-width: none;
        flex: unset;
        min-height: 0;
        max-height: none;
        height: 43px;
        font-size: 19px;
    }

    .site-footer {
        height: 18px;
        padding: 0 28px 0 28px;
        gap: 24px;
    }

    .footer-links {
        gap: 30px;
    }

    .site-footer a {
        font-size: 9px;
    }

    .site-footer p {
        font-size: 5px;
    }
}

/* Hero más contenido por debajo de 1040px (1040+ se queda igual) */
@media (max-width: 1039px) {
    .hero {
        padding: 56px 20px 48px;
    }

    .hero-logo {
        width: clamp(72px, 9vw, 96px);
        height: clamp(72px, 9vw, 96px);
        margin-bottom: clamp(28px, 4vw, 40px);
    }

    .br-wide {
        display: block;
    }

    .hero-title {
        font-size: clamp(34px, 5vw, 52px);
        max-width: 14em;
    }

    .hero-lead {
        margin-top: clamp(20px, 3.2vw, 32px);
        font-size: clamp(15px, 1.9vw, 18px);
        max-width: 32ch;
    }

    .hero-scroll {
        margin-top: clamp(28px, 4.5vw, 44px);
    }

    .hero-keys {
        left: -10%;
        top: -4%;
        width: clamp(175px, 23vw, 220px);
    }

    .hero-wa {
        right: 5%;
        top: 7%;
        width: min(14vw, 120px);
    }

    .hero-bag {
        right: -6%;
        top: 40%;
        width: min(26vw, 200px);
    }
}

/* ========== MOBILE ========== */
@media (max-width: 767px) {
    :root {
        --gap: 12px;
        --pad: 16px;
        --radius: 16px;
    }

    .hero {
        padding: 48px 16px 36px;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: clamp(26px, 6.8vw, 32px);
        letter-spacing: -0.08em;
        max-width: 12em;
    }

    .hero-lead {
        margin-top: 20px;
        font-size: 13px;
        max-width: 26ch;
    }

    .hero-scroll {
        margin-top: 28px;
        width: 19px;
        height: 19px;
    }

    .hero-keys {
        left: -12%;
        top: -2%;
        width: min(36vw, 136px);
    }

    .hero-wa {
        right: 1%;
        left: auto;
        top: 6%;
        width: min(18vw, 78px);
    }

    .hero-bag {
        right: -12%;
        left: auto;
        top: 46%;
        width: min(34vw, 140px);
    }

    .hero-scroll img {
        width: 19px;
        height: 19px;
    }

    .bento {
        grid-template-columns: 135fr 75fr 1fr 135fr;
        grid-template-rows: 181px 154px 75px 154px 132px;
        grid-template-areas:
            "grupos grupos grupos grupos"
            "salseo salseo salseo pisos"
            "viajes logo   logo   pisos"
            "viajes tablon tablon tablon"
            "multi  multi  multi  multi";
        padding-bottom: var(--pad);
    }

    .card-grupos,
    .card-salseo,
    .card-pisos,
    .card-viajes,
    .card-tablon {
        padding: 16px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .card-grupos h2 {
        font-size: 36px;
    }

    .card-salseo h2,
    .card-tablon h2,
    .card-pisos h2,
    .card-viajes h2 {
        font-size: 24px;
    }

    .card-grupos .subtitle {
        font-size: 12px;
    }

    .card-salseo .subtitle,
    .card-tablon .subtitle,
    .card-pisos .subtitle,
    .card-viajes .subtitle {
        font-size: 10px;
    }

    .card-pisos .eyebrow {
        font-size: 7px;
    }

    .card-tablon .eyebrow {
        display: none;
    }

    .card-grupos .btn,
    .card-salseo .btn,
    .card-pisos .btn,
    .card-viajes .btn {
        height: 25px;
        min-width: 89px;
        width: 89px;
        padding: 4px 8px;
        font-size: 11px;
        margin-top: 14px;
        border-radius: 32px;
        gap: 6px;
    }

    .card-tablon .btn {
        flex: 0 0 auto;
        height: 25px;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin-left: 0;
        align-self: stretch;
        padding: 4px 8px;
        font-size: 11px;
        margin-top: 14px;
        border-radius: 32px;
        gap: 6px;
    }

    .card-grupos .btn {
        margin-top: 20px;
    }

    .btn img {
        width: 13px;
        height: 13px;
    }

    .art-whatsapp {
        width: 164px;
        height: 164px;
        right: 5px;
        top: 17px;
    }

    .art-llaves {
        width: 89px;
        height: 156px;
        left: auto;
        top: auto;
        right: -36px;
        bottom: -36px;
        transform: rotate(-36deg);
        transform-origin: 85% 90%;
    }

    .what-next {
        width: 65px;
        height: 12px;
    }

    .art-maleta {
        width: 117px;
        height: 140px;
        right: -24px;
        bottom: -24px;
        object-fit: contain;
    }

    .card-logo {
        padding: 9px;
    }

    .logo-mark {
        width: 57px;
        height: 57px;
    }

    .card-tablon .art-notas {
        width: 93px;
        height: 117px;
        right: -8px;
        top: -10px;
    }

    .card-multi {
        padding: 12px 20px;
        gap: 16px;
    }

    .multi-poster {
        flex: 0 0 108px;
        width: 108px;
        max-width: 108px;
        height: 108px;
        align-self: center;
        border-radius: 16px;
    }

    .multi-actions {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        max-width: none;
        flex: 1;
    }

    .multi-actions .btn {
        flex: unset;
        min-height: 0;
        max-height: none;
        height: 27px;
        font-size: 11px;
        border-width: 1px;
        padding: 4px 8px;
        border-radius: 16px;
        gap: 4px;
    }

    .multi-actions .btn img {
        width: 11px;
        height: 11px;
    }

    .site-footer {
        height: 18px;
        padding: 0 16px;
        gap: 8px;
    }

    .footer-links {
        gap: 17px;
        min-width: 0;
    }

    .site-footer a {
        font-size: 7px;
    }

    .site-footer p {
        font-size: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 380px) {
    .site-footer p {
        display: none;
    }
}

/* ========== PÁGINA LEGAL ========== */
.legal-hero {
    position: relative;
    background: var(--red);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 56px clamp(20px, 5vw, 72px) 96px;
    overflow: hidden;
}

.legal-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgb(229 229 229 / 0%) 0%, var(--bg) 100%);
    pointer-events: none;
}

.legal-logo {
    position: relative;
    z-index: 1;
    margin-bottom: 36px;
}

.legal-logo img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.legal-kicker,
.legal-hero h1,
.legal-lead,
.legal-hero .btn {
    position: relative;
    z-index: 1;
}

.legal-kicker {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.08em;
}

.legal-hero h1 {
    font-size: clamp(64px, 8vw, 112px);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.9;
    margin-top: 4px;
}

.legal-lead {
    max-width: 560px;
    margin-top: 20px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    letter-spacing: -0.06em;
    line-height: 1.25;
}

.legal-hero .btn {
    margin-top: 32px;
}

.legal-body {
    width: min(1120px, calc(100% - var(--pad) * 2));
    margin: 0 auto var(--pad);
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.legal-panel,
.legal-type {
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 40px);
}

.legal-panel {
    background: var(--white);
    color: var(--black);
}

.legal-panel .eyebrow,
.legal-type .eyebrow {
    color: var(--red);
    font-size: 14px;
    margin-bottom: 8px;
}

.legal-panel h2,
.legal-type h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -0.08em;
    line-height: 0.95;
}

.legal-panel p,
.legal-type p,
.legal-panel li {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: 1.35;
}

.legal-panel .btn {
    margin-top: 28px;
}

.legal-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap);
}

.legal-type {
    background: var(--black);
    color: var(--white);
}

.legal-type-light {
    background: var(--white);
    color: var(--black);
}

.legal-table-wrap {
    margin-top: 28px;
    overflow-x: auto;
    border-radius: 16px;
}

.legal-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--bg);
}

.legal-table th,
.legal-table td {
    text-align: left;
    padding: 16px 18px;
    letter-spacing: -0.04em;
    vertical-align: top;
}

.legal-table th {
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.legal-table td {
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
}

.legal-table td:first-child {
    font-weight: 700;
}

.legal-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--gap);
}

.legal-panel-red {
    background: var(--red);
    color: var(--white);
}

.legal-panel-red .eyebrow {
    color: var(--white);
}

.legal-panel ul {
    margin-top: 8px;
    padding-left: 18px;
}

.legal-panel-last {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 800px) {
    .legal-hero {
        padding: 40px 20px 80px;
    }

    .legal-logo img {
        width: 70px;
        height: 70px;
    }

    .legal-types,
    .legal-split {
        grid-template-columns: 1fr;
    }

    .legal-panel p,
    .legal-type p,
    .legal-panel li {
        font-size: 16px;
    }

    .legal-table {
        min-width: 0;
    }

    .legal-table thead {
        display: none;
    }

    .legal-table,
    .legal-table tbody,
    .legal-table tr,
    .legal-table td {
        display: block;
        width: 100%;
    }

    .legal-table tr {
        padding: 14px 16px 16px;
        border-bottom: 1px solid rgb(0 0 0 / 8%);
    }

    .legal-table td {
        padding: 2px 0;
        border: 0;
    }

    .legal-table td:first-child {
        font-size: 18px;
        margin-bottom: 4px;
    }
}
