/**
 * Footer V2.1 — Tras el Nombre
 * Ajuste visual: marca / explorar / CTA. Legal pasa a una franja horizontal.
 */

.ten-footer__main.ten-footer__main--v21 {
    grid-template-columns: minmax(0, 1.28fr) minmax(180px, 0.52fr) minmax(250px, 0.72fr);
    gap: clamp(2.75rem, 6vw, 6.25rem);
    align-items: start;
    padding-bottom: 2rem;
}

/* Explorar: una sola columna evita cortes de texto y ruido visual. */
.ten-footer__links--explore {
    grid-template-columns: 1fr;
    gap: 0.52rem;
}

.ten-footer__links--explore a {
    width: fit-content;
}

/* CTA integrado, sin caja pesada. */
.ten-footer__product {
    padding: 0.15rem 0 0;
    border: 0;
}

.ten-footer__product-kicker {
    margin: 0 0 0.55rem;
    color: #D8B99E;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-transform: uppercase;
}

.ten-footer__product-title {
    margin: 0;
    color: var(--ten-white);
    font-family: var(--ten-font-headings);
    font-size: clamp(1.45rem, 2.2vw, 1.8rem);
    font-weight: 600;
    line-height: 1.15;
}

.ten-footer__product-price {
    margin: 0.45rem 0 1.1rem;
    color: var(--ten-white);
    font-size: 1rem;
    font-weight: 650;
}

.ten-footer__product-price span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    font-weight: 400;
}

.ten-footer__product-cta,
.ten-footer__product-cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 42px;
    padding: 0.68rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: transparent;
    color: var(--ten-white) !important;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ten-footer__product-cta:hover,
.ten-footer__product-cta:focus-visible {
    border-color: #D8B99E;
    background: #D8B99E;
    color: var(--ten-navy) !important;
    text-decoration: none !important;
}

/* Legal separado de navegación y producto. */
.ten-footer__legal-strip {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.ten-footer__legal-label {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ten-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.35rem;
}

.ten-footer__legal-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    text-decoration: none;
}

.ten-footer__legal-links a:hover,
.ten-footer__legal-links a:focus-visible {
    color: var(--ten-white);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* La franja inferior ya no necesita una segunda línea superior. */
.ten-footer__bottom {
    padding-top: 0.95rem;
    border-top: 0;
}

@media (max-width: 1024px) {
    .ten-footer__main.ten-footer__main--v21 {
        grid-template-columns: minmax(0, 1.1fr) minmax(170px, 0.55fr) minmax(230px, 0.72fr);
        gap: 2.5rem 3rem;
    }
}

@media (max-width: 820px) {
    .ten-footer__main.ten-footer__main--v21 {
        grid-template-columns: 1fr 1fr;
        gap: 2.2rem 2.5rem;
    }

    .ten-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .ten-footer__main.ten-footer__main--v21 {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .ten-footer__brand {
        grid-column: auto;
    }

    .ten-footer__product {
        padding-top: 0.2rem;
    }

    .ten-footer__legal-strip {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .ten-footer__legal-links {
        gap: 0.5rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .ten-footer__legal-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .ten-footer__product-cta {
        width: auto;
    }
}
