/*
 * OJO con --color01 en este fichero: es el color de FONDO de la cabecera y en
 * varios clubes vale blanco. Aqui la portada lava ademas su propio fondo a
 * blanco del 94-98%, asi que cualquier texto pintado con --color01 desaparece
 * en esos clubes. El acento legible sobre superficie clara es --color06, que es
 * el que el tema usa de fondo para .btn-solid con texto blanco.
 *
 * --color01 SI vale cuando se usa de fondo con color: var(--color02), que es el
 * par pactado (y su inverso, fondo color02 con texto color01).
 */
/*
 * Portada pública del Club.
 * Todo queda limitado a .club-home para no alterar catálogo, cuenta, carrito,
 * pedidos, pagos ni las personalizaciones de los servicios.
 */

.club-home {
    --club-home-ink: #101828;
    --club-home-muted: #667085;
    --club-home-line: #e4e7ec;
    --club-home-soft: #f7f8fa;
    --club-home-surface: #ffffff;
    --club-home-radius: 18px;
    --club-home-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    background: var(--club-home-surface);
    color: var(--club-home-ink);
}

.club-home *,
.club-home *::before,
.club-home *::after {
    box-sizing: border-box;
}

.club-home .container {
    width: calc(100% - 32px);
    max-width: 1280px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.club-home img {
    display: block;
    max-width: 100%;
}

.club-home a:focus-visible,
.club-home button:focus-visible {
    outline: 3px solid var(--color06);
    outline-offset: 3px;
}

.club-home-hero {
    position: relative;
    isolation: isolate;
    min-height: 560px;
    overflow: hidden;
    background: linear-gradient(120deg, #ffffff 0%, #f6f8fb 60%, #eef2f6 100%);
}

.club-home-hero__background,
.club-home-hero__wash {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.club-home-hero__background {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

.club-home-hero__wash {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.52) 74%, rgba(255, 255, 255, 0.16) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.62));
}

.club-home-hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    align-items: center;
    gap: clamp(40px, 6vw, 86px);
    min-height: 560px;
    padding-top: 56px;
    padding-bottom: 56px;
}

.club-home-hero__copy {
    max-width: 720px;
}

.club-home-kicker,
.club-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color06);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.club-home-kicker {
    padding: 8px 12px;
    border: 1px solid color-mix(in srgb, var(--color01) 20%, #d0d5dd);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
}

.club-home-hero h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    color: var(--club-home-ink) !important;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-transform: none;
    text-wrap: balance;
}

.club-home-hero h1 span {
    color: var(--color06);
}

.club-home-hero__copy > p {
    max-width: 640px;
    margin: 0;
    color: #475467;
    font-size: 18px;
    line-height: 1.7;
}

.club-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.club-home .club-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px !important;
    border: 1px solid transparent;
    border-radius: 11px;
    box-shadow: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.club-home .club-home-button::after {
    display: none;
}

.club-home .club-home-button--primary {
    border-color: var(--color01);
    background: var(--color01);
    color: var(--color02) !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--color01) 24%, transparent);
}

.club-home .club-home-button--secondary {
    border-color: color-mix(in srgb, var(--color01) 36%, #d0d5dd);
    background: rgba(255, 255, 255, 0.88);
    color: var(--color06) !important;
}

.club-home .club-home-button:hover {
    transform: translateY(-2px);
}

.club-home-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 26px 0 0;
    padding: 0;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
}

.club-home-hero__facts li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.club-home-hero__facts i {
    color: var(--color06);
}

.club-home-video {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    padding: 0;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.88);
    border-radius: 22px;
    background: #101828;
    box-shadow: 0 24px 64px rgba(16, 24, 40, 0.2);
    cursor: pointer;
}

.club-home-video::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 40%, rgba(16, 24, 40, 0.76) 100%);
}

.club-home-video img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 260ms ease;
}

.club-home-video:hover img {
    transform: scale(1.025);
}

.club-home-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color01);
    color: var(--color02);
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.25);
    transform: translate(-50%, -50%);
}

.club-home-video__play i {
    margin-left: 4px;
}

.club-home-video__caption {
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    z-index: 2;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.club-home-section {
    padding: 76px 0;
}

.club-home-section--advantages {
    padding-top: 64px;
}

.club-home-section--soft {
    background: var(--club-home-soft);
}

.club-home-heading {
    margin-bottom: 32px;
}

.club-home-heading--center {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.club-home-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.club-home-heading h2,
.club-home-join h2 {
    margin: 8px 0 8px;
    color: var(--club-home-ink) !important;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-transform: none;
    text-wrap: balance;
}

.club-home-heading p,
.club-home-join p {
    max-width: 680px;
    margin: 0;
    color: var(--club-home-muted);
    font-size: 15px;
    line-height: 1.65;
}

.club-home-text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    color: var(--color06) !important;
    font-size: 13px;
    font-weight: 800;
}

.club-home-access-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.club-home-access-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 16px;
    min-height: 132px;
    padding: 22px;
    border: 1px solid var(--club-home-line);
    border-radius: var(--club-home-radius);
    background: var(--club-home-surface);
    color: var(--club-home-ink) !important;
    box-shadow: 0 4px 18px rgba(16, 24, 40, 0.045);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.club-home-access-card:hover {
    border-color: color-mix(in srgb, var(--color01) 34%, var(--club-home-line));
    box-shadow: var(--club-home-shadow);
    transform: translateY(-3px);
}

.club-home-access-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--color01) 10%, #ffffff);
    color: var(--color06);
    font-size: 21px;
}

.club-home-access-card__content {
    min-width: 0;
}

.club-home-access-card__content strong,
.club-home-access-card__content small {
    display: block;
}

.club-home-access-card__content strong {
    margin-bottom: 6px;
    color: var(--club-home-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.club-home-access-card__content small {
    color: var(--club-home-muted);
    font-size: 12px;
    line-height: 1.5;
}

.club-home-access-card__arrow {
    color: #98a2b3;
    transition: color 180ms ease, transform 180ms ease;
}

.club-home-access-card:hover .club-home-access-card__arrow {
    color: var(--color06);
    transform: translateX(3px);
}

.club-home-product-grid,
.club-home-promotion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.club-home-product-card,
.club-home-promotion-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--club-home-line);
    border-radius: var(--club-home-radius);
    background: var(--club-home-surface);
    box-shadow: 0 4px 18px rgba(16, 24, 40, 0.045);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.club-home-product-card:hover,
.club-home-promotion-card:hover {
    border-color: #d0d5dd;
    box-shadow: var(--club-home-shadow);
    transform: translateY(-3px);
}

.club-home-product-card__image,
.club-home-promotion-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f2f4f7;
}

.club-home-product-card__image {
    aspect-ratio: 1 / 1;
}

.club-home-promotion-card__image {
    aspect-ratio: 4 / 3;
}

.club-home-product-card__image img,
.club-home-promotion-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.club-home-product-card:hover img,
.club-home-promotion-card:hover img {
    transform: scale(1.035);
}

.club-home-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--color01);
    color: var(--color02);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.club-home-product-card__body,
.club-home-promotion-card__body {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 18px;
}

.club-home-product-card h3,
.club-home-promotion-card h3 {
    display: -webkit-box;
    min-height: 45px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--club-home-ink) !important;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.club-home-product-card h3 a,
.club-home-promotion-card h3 a {
    color: inherit !important;
}

.club-home-promotion-card__body > span {
    display: block;
    margin-bottom: 8px;
    overflow: hidden;
    color: var(--color06);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.055em;
    line-height: 1.35;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.club-home-product-card__price {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-bottom: 16px;
}

.club-home-product-card__price del {
    color: #98a2b3;
    font-size: 12px;
}

.club-home-product-card__price strong {
    color: var(--club-home-ink);
    font-size: 18px;
    font-weight: 900;
}

.club-home-product-card__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--color06) !important;
    font-size: 12px;
    font-weight: 800;
}

.club-home-join {
    padding-top: 34px;
}

.club-home-join__panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: clamp(30px, 5vw, 58px);
    overflow: hidden;
    border-radius: 24px;
    background: var(--color01);
    color: var(--color02);
    box-shadow: 0 20px 48px color-mix(in srgb, var(--color01) 22%, transparent);
}

.club-home-join__panel::after {
    position: absolute;
    top: -90px;
    right: -70px;
    width: 290px;
    height: 290px;
    border: 50px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
}

.club-home-join .club-home-eyebrow,
.club-home-join h2,
.club-home-join p {
    position: relative;
    z-index: 1;
    color: var(--color02) !important;
}

.club-home-join p {
    opacity: 0.82;
}

.club-home .club-home-button--light {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    border-color: var(--color02);
    background: var(--color02);
    color: var(--color01) !important;
}

.club-home-special {
    padding-top: 0;
}

.club-home-special__link {
    display: block;
    overflow: hidden;
    border: 1px solid var(--club-home-line);
    border-radius: var(--club-home-radius);
    box-shadow: var(--club-home-shadow);
}

.club-home-special__link img {
    width: 100%;
    height: auto;
}

.club-home-video-modal .modal-title {
    color: var(--club-home-ink) !important;
    font-size: 19px;
    font-weight: 800;
    text-transform: none;
}

/* El pie mantiene exactamente sus enlaces, logotipos y condiciones actuales. */
.club-home-page > footer.footer-3 {
    margin-top: 0;
    border-top: 1px solid rgba(16, 24, 40, 0.09);
}

.club-home-page > footer.footer-3 .footer-section > .container,
.club-home-page > footer.footer-3 .sub-footer > .container {
    width: calc(100% - 32px);
    max-width: 1280px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.club-home-page > footer.footer-3 .footer-section .border-cls {
    padding-top: 52px !important;
    padding-bottom: 46px !important;
}

.club-home-page > footer.footer-3 .footer-logo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 24px !important;
}

.club-home-page > footer.footer-3 .footer-logo img {
    width: auto;
    max-width: min(210px, 100%);
    max-height: 62px;
    object-fit: contain;
}

.club-home-page > footer.footer-3 .footer-title h4 {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.025em;
}

.club-home-page > footer.footer-3 .footer-content ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
}

.club-home-page > footer.footer-3 .footer-content li,
.club-home-page > footer.footer-3 .footer-content a {
    font-size: 12px;
    line-height: 1.5;
}

.club-home-page > footer.footer-3 .footer-content a {
    color: inherit;
    opacity: 0.76;
    transition: opacity 160ms ease;
}

.club-home-page > footer.footer-3 .footer-content a:hover {
    opacity: 1;
}

.club-home-page > footer.footer-3 .sub-footer {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.club-home-page > footer.footer-3 .sub-footer .row {
    align-items: center;
}

.club-home-page > footer.footer-3 .payment-card-bottom,
.club-home-page > footer.footer-3 .payment-card-bottom.inflog {
    float: none !important;
}

.club-home-page > footer.footer-3 .payment-card-bottom ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0;
}

.club-home-page > footer.footer-3 .payment-card-bottom.inflog ul {
    justify-content: flex-start;
}

.club-home-page > footer.footer-3 .payment-card-bottom li {
    margin: 0 !important;
}

.club-home-page > footer.footer-3 .payment-card-bottom img {
    width: auto;
    max-width: 82px;
    max-height: 30px;
    object-fit: contain;
}

.club-home-page > footer.footer-3 .footer-end p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 1199px) {
    .club-home-hero__container {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
        gap: 42px;
    }

    .club-home-product-grid,
    .club-home-promotion-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .club-home-hero,
    .club-home-hero__container {
        min-height: auto;
    }

    .club-home-hero__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .club-home-hero__copy {
        max-width: 760px;
    }

    .club-home-video {
        max-width: 600px;
        margin-right: auto;
        margin-left: 0;
    }

    .club-home-access-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .club-home-section {
        padding: 64px 0;
    }

    .club-home-page > footer.footer-3 .about-section {
        margin-bottom: 26px;
    }
}

@media (max-width: 767px) {
    .club-home-hero__wash {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 70%, rgba(255, 255, 255, 0.78) 100%);
    }

    .club-home-hero h1 {
        font-size: clamp(38px, 10vw, 52px);
    }

    .club-home-hero__copy > p {
        font-size: 16px;
        line-height: 1.6;
    }

    .club-home-heading--split {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .club-home-product-grid,
    .club-home-promotion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .club-home-join__panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .club-home-page > footer.footer-3 .footer-link {
        margin-bottom: 28px;
    }

    .club-home-page > footer.footer-3 .sub-footer [class*="col-"] {
        margin: 9px 0;
    }

    .club-home-page > footer.footer-3 .payment-card-bottom ul,
    .club-home-page > footer.footer-3 .payment-card-bottom.inflog ul {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .club-home .container {
        width: calc(100% - 24px);
    }

    .club-home-hero__container {
        padding-top: 46px;
        padding-bottom: 50px;
    }

    .club-home-hero h1 {
        margin-top: 18px;
        letter-spacing: -0.035em;
    }

    .club-home-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .club-home .club-home-button {
        width: 100%;
    }

    .club-home-hero__facts {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .club-home-video {
        border-width: 5px;
        border-radius: 17px;
    }

    .club-home-video__play {
        width: 54px;
        height: 54px;
    }

    .club-home-section {
        padding: 52px 0;
    }

    .club-home-section--advantages {
        padding-top: 48px;
    }

    .club-home-heading {
        margin-bottom: 24px;
    }

    .club-home-heading h2,
    .club-home-join h2 {
        font-size: 30px;
    }

    .club-home-access-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .club-home-access-card {
        min-height: 112px;
        padding: 18px;
    }

    .club-home-product-card__body,
    .club-home-promotion-card__body {
        min-height: 154px;
        padding: 14px;
    }

    .club-home-product-card h3,
    .club-home-promotion-card h3 {
        font-size: 13px;
    }

    .club-home-join {
        padding-top: 18px;
    }

    .club-home-join__panel {
        border-radius: 18px;
    }

    .club-home-page > footer.footer-3 .footer-section > .container,
    .club-home-page > footer.footer-3 .sub-footer > .container {
        width: calc(100% - 24px);
    }

    .club-home-page > footer.footer-3 .footer-section .border-cls {
        padding-top: 42px !important;
        padding-bottom: 22px !important;
    }
}

@media (max-width: 399px) {
    .club-home-product-grid,
    .club-home-promotion-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .club-home-product-card__image,
    .club-home-promotion-card__image {
        aspect-ratio: 16 / 11;
    }
}

@media (prefers-reduced-motion: reduce) {
    .club-home *,
    .club-home *::before,
    .club-home *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
