﻿/* =========================================================
   EXPERIENCIA SENSORIAL - TALAMPAYA PREMIUM / APPLE-STRIPE
   REEMPLAZO COMPLETO
   ========================================================= */

#experiencia-sensorial {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 62px 0 76px;
    background: linear-gradient(135deg, #F9F7F4 0%, #F5F2EE 50%, #F0EDE8 100%);
    overflow: hidden;
}

    #experiencia-sensorial::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 30%, rgba(210, 140, 90, 0.04), transparent 40%), radial-gradient(circle at 80% 70%, rgba(190, 120, 70, 0.03), transparent 35%);
        pointer-events: none;
    }

    #experiencia-sensorial::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 24%);
        pointer-events: none;
    }

/* =========================
   WRAPPER
   ========================= */
.sensorial-wrapper {
    width: min(1200px, 80%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* =========================
   HEADER
   ========================= */
.sensorial-header {
    margin-bottom: 30px;
}

.sensorial-heading {
    max-width: 720px;
}

.sensorial-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(210, 140, 90, 0.10);
    border: 1px solid rgba(210, 140, 90, 0.18);
    color: #B56734;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sensorial-h2 {
    margin: 0 0 10px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.035em;
    font-size: clamp(2rem, 2.7vw, 2.9rem);
    max-width: 680px;
    text-wrap: balance;
}

.sensorial-word-mark {
    display: inline-block;
    background: linear-gradient(180deg, #b13a2f 0%, #8b2323 28%, #c66a2d 62%, #7f2d1f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    text-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

    .sensorial-word-mark::after {
        content: "";
        position: absolute;
        left: 2px;
        right: 2px;
        bottom: -6px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg, #8B2323, #D2691E, #B54B2E);
        opacity: 0.95;
        box-shadow: 0 6px 16px rgba(139, 35, 35, 0.18);
    }

.sensorial-word-sub {
    color: #7e241f;
}

.sensorial-subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #665c55;
    max-width: 640px;
}

    .sensorial-subtitle strong {
        color: #433832;
        font-weight: 700;
    }

/* =========================
   BOTÓN
   ========================= */
.sensorial-btn {
    position: relative;
    min-width: 220px;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #8B2323, #A42B2B);
    color: #fff;
    font-size: 0.93rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 22px rgba(139, 35, 35, 0.18), 0 3px 8px rgba(139, 35, 35, 0.08);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, filter 0.32s ease;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
}

    .sensorial-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.16) 50%, transparent 80%);
        transform: translateX(-120%);
        transition: transform 0.9s ease;
    }

    .sensorial-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 32px rgba(139, 35, 35, 0.24), 0 8px 16px rgba(139, 35, 35, 0.10);
        filter: saturate(1.04);
    }

        .sensorial-btn:hover::before {
            transform: translateX(120%);
        }

/* =========================
   CARDS
   ========================= */
.sensorial-cards-row {
    margin-bottom: 26px;
}

.sensorial-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, background 0.45s ease, filter 0.35s ease;
    will-change: transform;
    transform: translateY(0) scale(1);
    isolation: isolate;
}

    .sensorial-card::after {
        content: "";
        position: absolute;
        inset: -1px;
        background: linear-gradient( 120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 24%, rgba(255,255,255,0.08) 40%, rgba(255,255,255,0) 58% );
        transform: translateX(-130%);
        transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
        z-index: 0;
    }

/* =========================
   TARJETAS CLARAS - TONO MEDIO
   ========================= */
.sensorial-card-light {
    padding: 24px 22px 22px;
    border: 1px solid rgba(188, 141, 110, 0.22);
    box-shadow: 0 10px 24px rgba(88, 61, 42, 0.07), 0 2px 8px rgba(88, 61, 42, 0.04);
    backdrop-filter: blur(8px);
    cursor: default;
}

/* Card 1 */
.sensorial-cards-row .col-lg-4:nth-child(1) .sensorial-card-light {
    background: linear-gradient(180deg, #f1e9e0 0%, #e7dbcf 56%, #dcccbc 100%);
}

/* Card 2 */
.sensorial-cards-row .col-lg-4:nth-child(2) .sensorial-card-light,
.sensorial-cards-row .col-md-6:nth-child(2) .sensorial-card-light {
    background: linear-gradient(180deg, #f3e7da 0%, #ead9c8 56%, #dfc6ae 100%);
}

.sensorial-card-light::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 84% 18%, rgba(255,255,255,0.30), transparent 28%), radial-gradient(circle at 12% 85%, rgba(210, 140, 90, 0.10), transparent 38%);
    pointer-events: none;
    z-index: 0;
}

.sensorial-card-light:hover {
    transform: translateY(-9px) scale(1.012);
    box-shadow: 0 22px 44px rgba(139, 35, 35, 0.10), 0 10px 24px rgba(210, 140, 90, 0.10);
    border-color: rgba(188, 141, 110, 0.34);
    filter: saturate(1.02);
}

    .sensorial-card-light:hover::after {
        transform: translateX(130%);
    }

/* =========================
   ACCENTS
   ========================= */
.sensorial-card-accent {
    width: 48px;
    height: 4px;
    border-radius: 999px;
    margin-bottom: 16px;
    box-shadow: 0 5px 12px rgba(139, 35, 35, 0.12);
    position: relative;
    z-index: 1;
}

.sensorial-cards-row .col-lg-4:nth-child(1) .sensorial-card-accent {
    background: linear-gradient(90deg, #8B2323, #B93C35);
}

.sensorial-cards-row .col-lg-4:nth-child(2) .sensorial-card-accent,
.sensorial-cards-row .col-md-6:nth-child(2) .sensorial-card-accent {
    background: linear-gradient(90deg, #D2691E, #E7A067);
    box-shadow: 0 5px 12px rgba(210, 105, 30, 0.12);
}

/* =========================
   CARD DESTACADA
   ========================= */
.sensorial-card-feature {
    padding: 24px 22px 22px;
    background: linear-gradient(165deg, #7f1f22 0%, #96272a 44%, #b33a31 100%);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 18px 38px rgba(139, 35, 35, 0.20), inset 0 1px 0 rgba(255,255,255,0.08);
}

    .sensorial-card-feature::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0) 42%);
        pointer-events: none;
        z-index: 0;
    }

.sensorial-feature-glow {
    position: absolute;
    width: 170px;
    height: 170px;
    right: -52px;
    bottom: -52px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,214,168,0.20), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.sensorial-card-feature:hover {
    transform: translateY(-9px) scale(1.012);
    box-shadow: 0 28px 52px rgba(139, 35, 35, 0.30), inset 0 1px 0 rgba(255,255,255,0.10);
}

    .sensorial-card-feature:hover::after {
        transform: translateX(130%);
    }

/* =========================
   TEXTO
   ========================= */
.sensorial-title {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    font-weight: 900;
    font-size: 0.80rem;
    position: relative;
    z-index: 1;
    transition: letter-spacing 0.32s ease, transform 0.32s ease;
}

.sensorial-card:hover .sensorial-title {
    letter-spacing: 0.12em;
    transform: translateY(-1px);
}

.sensorial-title-red {
    color: #8B2323;
}

.sensorial-title-orange {
    color: #D2691E;
}

.sensorial-title-light {
    color: #FDF8F3;
}

.sensorial-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #584f49;
    position: relative;
    z-index: 1;
}

.sensorial-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

    .sensorial-list li {
        margin-bottom: 10px;
        line-height: 1.6;
        color: rgba(255,255,255,0.96);
        font-size: 0.95rem;
    }

        .sensorial-list li:last-child {
            margin-bottom: 0;
        }

    .sensorial-list strong {
        color: #fff;
        font-weight: 800;
    }

/* =========================
   INFO BOX PREMIUM CONECTIVA
   ========================= */
.sensorial-info {
    position: relative;
    padding: 24px 24px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.18)), linear-gradient(135deg, rgba(222, 201, 183, 0.42), rgba(232, 219, 206, 0.30));
    border: 1px solid rgba(210, 140, 90, 0.16);
    box-shadow: 0 12px 26px rgba(80, 50, 30, 0.05), inset 0 1px 0 rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.sensorial-info-topline {
    width: 84px;
    height: 4px;
    border-radius: 999px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, #8B2323, #D2691E);
    box-shadow: 0 6px 14px rgba(139, 35, 35, 0.12);
}

.sensorial-info-main {
    max-width: 100%;
    padding-right: 12px;
}

.sensorial-label {
    display: inline-block;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #8B2323;
    font-weight: 900;
    font-size: 0.73rem;
    letter-spacing: 0.10em;
}

.sensorial-text-small {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #5d534c;
}

    .sensorial-text-small strong {
        color: #3d332d;
        font-weight: 800;
    }

/* =========================
   STATS DERECHA
   ========================= */
.sensorial-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    height: 100%;
}

.sensorial-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.52), rgba(255,255,255,0.28));
    border: 1px solid rgba(210, 140, 90, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 18px rgba(80, 50, 30, 0.04);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

    .sensorial-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 24px rgba(139, 35, 35, 0.08), 0 6px 16px rgba(210, 140, 90, 0.06);
        border-color: rgba(210, 140, 90, 0.22);
    }

.sensorial-label-orange {
    display: block;
    margin-bottom: 8px;
    color: #D2691E;
    font-weight: 900;
    font-size: 0.70rem;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.sensorial-value {
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 900;
    color: #3c312b;
    max-width: 100%;
}

/* neutralizamos clases viejas */
.sensorial-stat,
.sensorial-stat-divider,
.sensorial-stat-divider::after {
    all: unset;
}

/* =========================
   ANIMACIÓN
   ========================= */
@keyframes sensorialFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#experiencia-sensorial .sensorial-header,
#experiencia-sensorial .sensorial-card,
#experiencia-sensorial .sensorial-info {
    animation: sensorialFadeUp .7s ease both;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1200px) {
    .sensorial-wrapper {
        width: min(1200px, 88%);
    }
}

@media (max-width: 991.98px) {
    #experiencia-sensorial {
        padding: 56px 0 68px;
    }

    .sensorial-wrapper {
        width: min(1200px, 92%);
    }

    .sensorial-btn {
        width: 100%;
        min-width: 0;
    }

    .sensorial-card-light:hover,
    .sensorial-card-feature:hover {
        transform: translateY(-6px) scale(1.008);
    }

    .sensorial-info {
        padding: 20px 20px 18px;
    }

    .sensorial-info-main {
        padding-right: 0;
    }

    .sensorial-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767.98px) {
    #experiencia-sensorial {
        padding: 48px 0 58px;
    }

    .sensorial-wrapper {
        width: min(100%, calc(100% - 24px));
    }

    .sensorial-kicker {
        font-size: 0.66rem;
    }

    .sensorial-h2 {
        font-size: 1.85rem;
        max-width: 100%;
    }

    .sensorial-subtitle {
        font-size: 0.95rem;
    }

    .sensorial-card-light,
    .sensorial-card-feature {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .sensorial-info {
        padding: 18px 16px;
        border-radius: 18px;
    }

    .sensorial-info-topline {
        width: 70px;
        margin-bottom: 16px;
    }

    .sensorial-text,
    .sensorial-text-small,
    .sensorial-list li {
        font-size: 0.93rem;
    }

    .sensorial-text-small {
        line-height: 1.68;
    }

    .sensorial-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sensorial-stat-card {
        padding: 14px 14px;
        border-radius: 14px;
    }

    .sensorial-value {
        max-width: 100%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sensorial-h2 {
        font-size: 1.7rem;
    }

    .sensorial-title {
        font-size: 0.75rem;
    }

    .sensorial-btn {
        min-height: 47px;
        padding: 0 20px;
        font-size: 0.88rem;
    }
}
