﻿
:root {
    --tal-gold: #C9732C;
    --tal-gold-soft: #E4A769;
    --tal-text: #2B2119;
    --tal-muted: #7A6656;
    --tal-bg: #F3ECE3;
    --tal-bg-soft: #E9DED2;
    --tal-border-soft: #D7C6B6;
    --tal-nav: #241710;
}

body {
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background-color: var(--tal-bg);
    color: var(--tal-text);
}


/* =========================================================
           01) NAVBAR
           ========================================================= */
.navbar {
    background: var(--tal-nav);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.15);
}

.navbar-brand span {
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--tal-gold-soft);
}

.navbar-dark .navbar-nav .nav-link {
    color: #F7EFE7;
}

    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link.active {
        color: var(--tal-gold-soft);
    }


/* =========================================================
           02) HERO (FULL WIDTH)
           ========================================================= */
#hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 6rem 0 4rem;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.20) 70%, rgba(0,0,0,0.05) 100% ), url("/recursos/img/inicio3.jpeg") 15% center/cover no-repeat;
    color: #FFF4E3;
    overflow: hidden;
}

.hero-card-3d {
    max-width: 640px;
    margin-left: auto;
    margin-right: 8%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    text-align: left;
}

.hero-badge {
    color: #F1C48A;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 800;
    text-shadow: 0 2px 6px rgba(0,0,0,.55);
}

#hero h1 {
    color: #FFEEDB;
    font-size: clamp(2rem, 2.9vw, 3.05rem);
    font-weight: 900;
    line-height: 1.10;
    margin: 0.7rem 0 1.1rem;
    letter-spacing: -0.02em;
    text-shadow: -1px -1px 0 rgba(0,0,0,.70), 1px -1px 0 rgba(0,0,0,.70), -1px 1px 0 rgba(0,0,0,.70), 1px 1px 0 rgba(0,0,0,.70), 0 6px 14px rgba(0,0,0,.55), 0 22px 46px rgba(0,0,0,.55);
    opacity: 1;
    mix-blend-mode: normal;
}

#hero p.lead {
    color: #F3E4D2;
    font-size: 1.05rem;
    line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0,0,0,.55), 0 14px 32px rgba(0,0,0,.35);
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #FBEBDD;
    display: grid;
    gap: .3rem;
}

    .hero-highlights li {
        font-size: 0.95rem;
        font-weight: 500;
        opacity: .95;
        color: #F7ECDC;
        text-shadow: 0 2px 6px rgba(0,0,0,.6);
    }


/* =========================================================
           03) BOTONES HERO
           ========================================================= */
.btn-cta-main {
    border-radius: 999px;
    padding: .85rem 1.9rem;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(145deg,#F08B3A,#D86F28);
    border: 1px solid #A95216;
    color: #FFF7EE;
    box-shadow: 0 6px 0 #A95216, 0 14px 26px rgba(0,0,0,0.45);
    transform: translateY(0);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-cta-main:hover {
        filter: brightness(1.05);
        transform: translateY(-1px);
        box-shadow: 0 8px 0 #A95216, 0 18px 32px rgba(0,0,0,0.55);
        color: #FFF7EE;
    }

    .btn-cta-main:active {
        transform: translateY(2px);
        box-shadow: 0 3px 0 #A95216, 0 8px 18px rgba(0,0,0,0.4);
    }

.btn-cta-outline {
    border-radius: 999px;
    padding: .83rem 1.7rem;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(0,0,0,0.25);
    color: #FFF1DB;
    border-color: rgba(255,230,205,0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,.55);
    transform: translateY(0);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .btn-cta-outline:hover {
        background: rgba(0,0,0,0.4);
        transform: translateY(-1px);
        box-shadow: 0 6px 0 rgba(0,0,0,0.65), 0 14px 26px rgba(0,0,0,0.55);
        color: #FFE6C9;
    }

    .btn-cta-outline:active {
        transform: translateY(2px);
        box-shadow: 0 3px 0 rgba(0,0,0,0.65), 0 8px 18px rgba(0,0,0,0.45);
    }


/* =========================================================
           04) SECCIONES GENERALES
           ========================================================= */
section {
    padding-block: 4rem;
    background: var(--tal-bg);
}

    section:nth-of-type(even) {
        background: var(--tal-bg-soft);
    }

    section h2 {
        font-weight: 800;
        margin-bottom: 1.1rem;
        color: var(--tal-gold);
        letter-spacing: -0.01em;
    }

.section-subtitle {
    color: var(--tal-muted);
    max-width: 40rem;
}


/* =========================================================
           05) CARDS BASE + TAGS + IMAGENES
           ========================================================= */
.cd-card {
    position: relative;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid var(--tal-border-soft);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .cd-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(0,0,0,0.12);
        border-color: var(--tal-gold-soft);
    }

    .cd-card h3 {
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--tal-text);
        margin: 0;
    }

.cd-meta {
    font-size: .92rem;
    color: var(--tal-muted);
}

.cd-divider {
    border-top: 1px solid var(--tal-border-soft);
    margin-block: 1rem;
}

.tag-pill {
    font-size: .75rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    border: 1px solid var(--tal-border-soft);
    text-transform: uppercase;
    letter-spacing: .10em;
    color: var(--tal-muted);
    background: #fff;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.cd-card-img-wrapper {
    border-radius: .75rem;
    overflow: hidden;
    margin-bottom: .75rem;
    max-height: 170px;
}

.cd-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform .35s ease;
}

.cd-card:hover .cd-card-img {
    transform: scale(1.06);
}


/* =========================================================
           06) EXCLUSIVIDAD
           ========================================================= */
#exclusividad {
    position: relative;
}

.section-kicker {
    display: inline-block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tal-muted);
    margin-bottom: .4rem;
    font-weight: 700;
}

.cd-card--feature {
    border-radius: 1.4rem;
    background: radial-gradient(circle at 0% -20%, rgba(255,215,170,0.25), transparent 55%), #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.7);
    border: 1px solid rgba(215,198,182,0.8);
    padding-top: 1.9rem;
    overflow: visible;
}

.feature-icon-circle {
    position: absolute;
    top: -18px;
    left: 1.6rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(140deg,#F3B26C,#C9732C);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.22);
}

    .feature-icon-circle i {
        color: #fff;
        font-size: 1.1rem;
    }

.cd-card--feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.16), 0 0 0 1px rgba(255,255,255,0.9);
    border-color: var(--tal-gold-soft);
}

.cd-card--sust {
    border-radius: 1.6rem;
    border: 1px solid rgba(215,198,182,0.85);
    background: radial-gradient(circle at 100% 0%, rgba(255,215,170,0.22), transparent 55%), #fff;
    box-shadow: 0 22px 50px rgba(0,0,0,0.10);
    position: relative;
}

    .cd-card--sust::after {
        content: "";
        position: absolute;
        left: 18%;
        right: 18%;
        bottom: -2px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(246,182,103,0.8), rgba(201,115,44,0.3));
        opacity: .8;
    }

#exclusividad .check-list li {
    margin-bottom: .15rem;
}


/* =========================================================
           08) MAPA — PREMIUM (para tu HTML actual)
           ========================================================= */
#mapa {
    position: relative;
    background: radial-gradient(circle at 0% 0%, rgba(255,215,170,0.18), transparent 55%), radial-gradient(circle at 100% 100%, rgba(201,115,44,0.10), transparent 60%), var(--tal-bg);
}

    #mapa h2 {
        margin-bottom: .9rem;
    }

.map-placeholder {
    border-radius: 1.8rem;
    border: 1px solid rgba(215,198,182,0.95);
    min-height: 320px;
    background: radial-gradient(circle at 20% 0%, rgba(255,215,170,0.18), transparent 55%), linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.52));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tal-muted);
    text-align: center;
    padding: 1.8rem;
    box-shadow: 0 18px 50px rgba(0,0,0,0.08), 0 0 0 1px rgba(255,255,255,0.65) inset;
    position: relative;
    overflow: hidden;
}

    .map-placeholder::after {
        content: "";
        position: absolute;
        left: 18%;
        right: 18%;
        bottom: -2px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(246,182,103,0.85), rgba(201,115,44,0.30));
        opacity: .85;
    }

    .map-placeholder h3 {
        color: var(--tal-text);
        font-weight: 900;
        letter-spacing: -0.01em;
    }


/* =========================================================
           09) TESTIMONIOS — CARRIL (tu HTML actual)
           ========================================================= */
#testimonios {
    position: relative;
    background: radial-gradient(circle at 0% 0%, rgba(255,215,170,0.18), transparent 55%), radial-gradient(circle at 100% 100%, rgba(201,115,44,0.10), transparent 60%), var(--tal-bg-soft);
}

    #testimonios .testi-panel {
        border-radius: 2.2rem;
        border: 1px solid rgba(215,198,182,0.85);
        background: radial-gradient(circle at 50% -10%, rgba(255,215,170,0.26), transparent 55%), radial-gradient(circle at 0% 90%, rgba(230,198,170,0.18), transparent 60%), rgba(255,255,255,0.60);
        box-shadow: 0 26px 70px rgba(0,0,0,0.10), 0 0 0 1px rgba(255,255,255,0.55) inset;
        padding: 2.3rem 2.2rem;
    }

    #testimonios .testi-head {
        text-align: center;
        max-width: 860px;
        margin: 0 auto 1.4rem;
    }

    #testimonios .testi-badges {
        display: flex;
        flex-wrap: wrap;
        gap: .55rem;
        justify-content: center;
        margin: .75rem 0 0;
    }

    #testimonios .badge-premium {
        display: inline-flex;
        align-items: center;
        gap: .45rem;
        padding: .34rem .78rem;
        border-radius: 999px;
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--tal-text);
        background: rgba(255,255,255,0.78);
        border: 1px solid rgba(215,198,182,0.95);
        box-shadow: 0 10px 22px rgba(0,0,0,0.05);
    }

        #testimonios .badge-premium i {
            color: var(--tal-gold);
        }

    #testimonios .quotes-track-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 1.8rem;
        border: 1px solid rgba(215,198,182,0.65);
        background: rgba(255,255,255,0.35);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
        padding: 1.35rem 1.05rem;
    }

        #testimonios .quotes-track-wrapper::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: linear-gradient(90deg, rgba(243,236,227,0.95) 0%, rgba(243,236,227,0.0) 14%, rgba(243,236,227,0.0) 86%, rgba(243,236,227,0.95) 100%), radial-gradient(circle at 50% 50%, rgba(255,255,255,0.50) 0%, rgba(255,255,255,0.10) 45%, rgba(255,255,255,0.0) 70%);
        }

    #testimonios .quotes-track {
        display: flex;
        align-items: stretch;
        gap: 2.4rem;
        will-change: transform;
    }

    #testimonios .quote {
        position: relative;
        flex: 0 0 auto;
        width: clamp(320px, 34vw, 520px);
        padding: .25rem .15rem;
        opacity: .82;
        transform: scale(1);
        transform-origin: center;
        transition: transform .35s ease, opacity .35s ease, filter .35s ease;
    }

        #testimonios .quote p {
            margin: 0;
            color: var(--tal-text);
            line-height: 1.5;
            font-size: 1rem;
            text-shadow: 0 1px 0 rgba(255,255,255,.35);
        }

            #testimonios .quote p::before {
                content: "“";
                display: inline-block;
                margin-right: .25rem;
                font-weight: 900;
                color: rgba(201,115,44,.35);
            }

        #testimonios .quote .who {
            margin-top: .75rem;
            display: inline-flex;
            align-items: center;
            gap: .55rem;
            font-weight: 900;
            color: var(--tal-gold);
        }

        #testimonios .quote .dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: var(--tal-gold);
            box-shadow: 0 0 0 4px rgba(201,115,44,.14);
            transform: translateY(1px);
        }

    #testimonios .stars {
        display: inline-flex;
        gap: .08rem;
        transform: translateY(-1px);
        opacity: .95;
    }

    #testimonios .star {
        font-size: .95rem;
        line-height: 1;
        text-shadow: 0 2px 10px rgba(0,0,0,.10);
        animation: starPulse 2.2s ease-in-out infinite;
    }

        #testimonios .star:nth-child(1) {
            animation-delay: 0s;
        }

        #testimonios .star:nth-child(2) {
            animation-delay: .08s;
        }

        #testimonios .star:nth-child(3) {
            animation-delay: .16s;
        }

        #testimonios .star:nth-child(4) {
            animation-delay: .24s;
        }

        #testimonios .star:nth-child(5) {
            animation-delay: .32s;
        }

@@keyframes starPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: brightness(1);
        opacity: .92;
    }

    50% {
        transform: translateY(-1px) scale(1.08);
        filter: brightness(1.15);
        opacity: 1;
    }
}

#testimonios .quote.is-center {
    opacity: 1;
    transform: scale(1.10);
    filter: saturate(1.05) contrast(1.03);
}

    #testimonios .quote.is-center::after {
        content: "";
        position: absolute;
        inset: -16px -18px;
        border-radius: 999px;
        background: radial-gradient(circle at 50% 50%, rgba(255,215,170,.22), rgba(255,215,170,0) 62%);
        z-index: -1;
        pointer-events: none;
    }

#testimonios .quote:hover {
    opacity: 1;
    transform: scale(1.04);
}


/* =========================================================
           10) CTA FINAL + CHECK LIST
           ========================================================= */
.check-list li {
    margin-bottom: .45rem;
    color: var(--tal-text);
}

#cta-final {
    background: linear-gradient(135deg,#F6DAB5,#F0C18A);
    color: var(--tal-text);
    text-align: center;
    border-radius: 2rem 2rem 0 0;
    padding-block: 3.5rem;
}

    #cta-final h2 {
        margin-bottom: 1rem;
        color: var(--tal-text);
    }

    #cta-final p {
        max-width: 34rem;
        margin: 0 auto 1.7rem;
        color: var(--tal-muted);
    }

    #cta-final .btn-cta-main {
        background: var(--tal-nav);
        color: #FCE6CB;
        border-color: rgba(0,0,0,0.6);
    }

        #cta-final .btn-cta-main:hover {
            background: #000;
        }

    #cta-final .btn-cta-outline {
        border-color: var(--tal-nav);
        color: var(--tal-nav);
        background: transparent;
        box-shadow: none;
    }


/* =========================================================
           11) WHATSAPP FLOAT
           ========================================================= */
.whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 999;
}

    .whatsapp-float a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.3rem;
        height: 3.3rem;
        border-radius: 50%;
        background-color: #25D366;
        color: #fff;
        font-size: 1.6rem;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }


/* =========================================================
           12) FOOTER
           ========================================================= */
footer {
    padding-block: 1.8rem;
    font-size: 0.85rem;
    color: #D8C9BB;
    border-top: 1px solid rgba(0,0,0,0.35);
    background: var(--tal-nav);
}


/* =========================================================
           13) HERO — ANIMACIONES (FIX)
           ========================================================= */
.hero-animate {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp .9s ease forwards;
}

.hero-delay-1 {
    animation-delay: .15s;
}

.hero-delay-2 {
    animation-delay: .35s;
}

.hero-delay-3 {
    animation-delay: .55s;
}

.hero-delay-4 {
    animation-delay: .75s;
}

.hero-delay-5 {
    animation-delay: .90s;
}

.hero-strong {
    opacity: 0;
    animation: heroPop 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
    animation-delay: .25s;
}

.hero-glow {
    position: relative;
}

    .hero-glow::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 16px;
        background: radial-gradient(circle at 50% -20%, rgba(255,218,165,.22), transparent 60%);
        opacity: 0;
        animation: heroGlowFade 2.4s ease-out forwards;
        animation-delay: .6s;
        pointer-events: none;
    }

.hero-btn {
    opacity: 0;
    animation: heroDropIn 1s cubic-bezier(.17,.67,.49,1.57) forwards;
    will-change: transform, opacity;
}

/* FIX highlights */
.hero-highlights li {
    transform: translateY(8px);
    animation: fadeUp .7s ease forwards;
}

    .hero-highlights li:nth-child(1) {
        animation-delay: 1.05s;
    }

    .hero-highlights li:nth-child(2) {
        animation-delay: 1.20s;
    }

    .hero-highlights li:nth-child(3) {
        animation-delay: 1.35s;
    }

@@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@@keyframes heroPop {
    0% {
        opacity: 0;
        transform: scale(.92) translateY(18px);
    }

    60% {
        opacity: 1;
        transform: scale(1.02) translateY(0);
    }

    100% {
        transform: scale(1);
    }
}

@@keyframes heroDropIn {
    0% {
        opacity: 0;
        transform: translateY(-18px) scale(.95);
    }

    80% {
        opacity: 1;
        transform: translateY(2px) scale(1.03);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@@keyframes heroGlowFade {
    0% {
        opacity: .85;
    }

    100% {
        opacity: 0;
    }
}

/* FIX FINAL: asegurar visibilidad */
.hero-animate,
.hero-strong,
.hero-btn,
.hero-highlights li {
    animation-fill-mode: forwards !important;
}


/* =========================================================
           14) RESPONSIVE
           ========================================================= */
@@media (max-width: 767.98px) {
    #hero {
        min-height: auto;
        padding: 5rem 0 3rem;
        background-position: center center;
    }

    .hero-card-3d {
        margin: 0 1.4rem;
        text-align: center;
        max-width: 720px;
    }

    .hero-actions {
        flex-direction: column;
    }

    #mapa .map-placeholder {
        min-height: 280px;
    }

    #testimonios .quote {
        width: 78vw;
    }
}

@@media (prefers-reduced-motion: reduce) {
    .hero-animate,
    .hero-strong,
    .hero-btn,
    .hero-highlights li {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
/* FIX HERO: asegurar visibilidad final (botones + animados) */
#hero .hero-btn,
#hero .hero-animate,
#hero .hero-strong,
#hero .hero-highlights li {
    animation-fill-mode: forwards !important;
    opacity: 1 !important;
}

/* por si algún estilo dejó transform raro */
#hero .hero-btn {
    transform: translateY(0) scale(1) !important;
}

