/* =====================================================
   POSTRES EN VASOS IRRESISTIBLES — style.css
   Landing Page Premium · Mobile First
   ===================================================== */


/* =====================================================
   1. VARIABLES CSS
   ===================================================== */
:root {
    /* Paleta de colores */
    --cream:        #FAF7F0;
    --cream-dark:   #F2E9DA;
    --white:        #FFFFFF;
    --choco-deep:   #1A0700;
    --choco:        #3A1200;
    --choco-mid:    #6B3520;
    --caramel:      #C47A2A;
    --caramel-lt:   #DFA04E;
    --gold:         #E8C070;
    --cta:          #C0521B;       /* botón principal */
    --cta-hover:    #993D12;
    --cta-glow:     rgba(192, 82, 27, 0.35);
    --text:         #2E150A;
    --text-mid:     #614030;
    --text-light:   #967060;
    --border:       #E5D0BC;
    --shadow-sm:    0 2px 12px rgba(42, 14, 0, 0.07);
    --shadow-md:    0 6px 28px rgba(42, 14, 0, 0.12);
    --shadow-lg:    0 12px 48px rgba(42, 14, 0, 0.18);
    --radius:       14px;
    --radius-lg:    22px;
    --transition:   0.3s ease;

    /* Tipografía */
    --serif: 'Playfair Display', Georgia, serif;
    --sans:  'Nunito Sans', system-ui, sans-serif;
}


/* =====================================================
   2. RESET Y BASE
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--sans);
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    /* espacio abajo para sticky bar */
    padding-bottom: 72px;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: var(--sans);
    cursor: pointer;
}


/* =====================================================
   3. TIPOGRAFÍA
   ===================================================== */
h1, h2, h3, h4 {
    font-family: var(--serif);
    line-height: 1.2;
    color: var(--choco);
}

h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.6rem, 4vw,  2.6rem);  }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.35rem); }

/* Itálica en color caramelo */
em {
    font-style: italic;
    color: var(--caramel);
    font-family: var(--serif);
}

strong { font-weight: 700; }


/* =====================================================
   4. CONTENEDOR
   ===================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Padding de sección estándar */
.section-pad {
    padding: 5rem 0;
}


/* =====================================================
   5. BOTONES
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
}

/* CTA principal */
.btn--cta {
    background: var(--cta);
    color: var(--white);
    padding: 0.9rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 18px var(--cta-glow);
}

.btn--cta:hover,
.btn--cta:focus-visible {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--cta-glow);
    outline: none;
}

.btn--cta:active {
    transform: translateY(0);
}

/* Tamaños */
.btn--lg {
    font-size: 1.1rem;
    padding: 1.1rem 2.5rem;
}

.btn--sm {
    font-size: 0.85rem;
    padding: 0.65rem 1.35rem;
}

/* Variante blanca (sobre fondos oscuros) */
.btn--white {
    background: var(--white);
    color: var(--cta);
    box-shadow: 0 4px 18px rgba(255,255,255,0.2);
}

.btn--white:hover {
    background: var(--cream);
    color: var(--cta-hover);
}

/* Animación pulso para el CTA final */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 18px var(--cta-glow); }
    50%       { box-shadow: 0 6px 36px rgba(192, 82, 27, 0.55), 0 0 0 8px rgba(192, 82, 27, 0.1); }
}

.btn--pulse {
    animation: pulse-glow 2.4s ease-in-out infinite;
}


/* =====================================================
   6. ETIQUETAS (TAGS)
   ===================================================== */
.tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--caramel);
    background: rgba(196, 122, 42, 0.12);
    border: 1.5px solid rgba(196, 122, 42, 0.22);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
}

.tag--accent {
    color: var(--caramel-lt);
    background: rgba(223, 160, 78, 0.14);
    border-color: rgba(223, 160, 78, 0.25);
}

.tag--light {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

.tag--caramel {
    color: var(--white);
    background: var(--caramel);
    border-color: var(--caramel);
}


/* =====================================================
   7. CABECERAS DE SECCIÓN
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.section-header h2 {
    max-width: 640px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 580px;
    text-align: center;
    line-height: 1.65;
}


/* =====================================================
   8. ANIMACIONES DE ENTRADA (Intersection Observer)
   ===================================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Retardos escalonados para grids */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.15s; }
.reveal:nth-child(6) { transition-delay: 0.25s; }


/* =====================================================
   9. STICKY BAR (abajo)
   ===================================================== */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--choco);
    padding: 0.85rem 1.25rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom));
    transform: translateY(105%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}

.sticky-bar.visible {
    transform: translateY(0);
}

.sticky-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-bar__text {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}


/* =====================================================
   10. HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.875rem 0;
    background: transparent;
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.header.scrolled {
    background: rgba(250, 247, 240, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 0;
    box-shadow: 0 2px 16px rgba(42,14,0,0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.header__logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition);
}

.header.scrolled .header__logo img {
    height: 40px;
}

/* Nav desktop */
.header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--caramel);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--caramel);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    z-index: 200;
    position: relative;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--choco);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Cruz al abrir */
.hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* =====================================================
   11. HERO
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    background: linear-gradient(140deg, #FAF7F0 0%, #F5EAD8 55%, #EDD5AD 100%);
    position: relative;
    overflow: hidden;
}

/* Mancha decorativa de luz */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(196,122,42,0.1) 0%, transparent 65%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Texto hero */
.hero__text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero__title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
}

.hero__sub {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 480px;
    line-height: 1.7;
}

.hero__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1.5rem;
}

.hero__checks li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--choco-mid);
}

.check-mark {
    color: var(--caramel);
    font-size: 1rem;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
}

.hero__secure {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* Imagen hero */
.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__glow {
    position: absolute;
    width: 75%;
    height: 75%;
    background: radial-gradient(circle, rgba(196,122,42,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__img {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 24px 48px rgba(20, 8, 0, 0.35));
    animation: float 5s ease-in-out infinite;
    border-radius: var(--radius);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Badge flotante */
.hero__float-badge {
    position: absolute;
    bottom: 6%;
    right: 3%;
    z-index: 2;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.8s;
}

.float-badge__num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--caramel);
    line-height: 1;
}

.float-badge__txt {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-mid);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Ola de transición */
.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero__wave svg {
    width: 100%;
    height: 64px;
}


/* =====================================================
   12. STATS STRIP
   ===================================================== */
.stats-strip {
    background: var(--white);
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--border);
}

.stats-strip__grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.5rem 2.5rem;
    text-align: center;
}

.stat__num {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--caramel);
    line-height: 1;
}

.stat__lbl {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}


/* =====================================================
   13. PARA QUIÉN ES
   ===================================================== */
.for-who {
    background: var(--white);
}

.for-who__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.who-card {
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.who-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.who-card__icon {
    font-size: 2.5rem;
    margin-bottom: 0.875rem;
    display: block;
}

.who-card h3 {
    margin-bottom: 0.5rem;
}

.who-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* =====================================================
   14. PROBLEMA + SOLUCIÓN
   ===================================================== */
.prob-sol {
    background: var(--cream-dark);
}

.prob-sol__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.prob-sol__box {
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.prob-sol__box--dark {
    background: var(--choco);
    color: var(--white);
}

.prob-sol__box--dark h2 {
    color: var(--white);
}

.prob-sol__box--light {
    background: var(--white);
    border: 1.5px solid var(--border);
}

/* Listas */
.x-list,
.check-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.x-list li,
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.x-icon {
    color: #E05555;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.x-list li { color: rgba(255,255,255,0.85); }

.v-icon {
    color: var(--caramel);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.check-list li { color: var(--text-mid); }


/* =====================================================
   15. CONTENIDO DEL EBOOK
   ===================================================== */
.ebook-content {
    background: var(--white);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.recipe-cat {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
    background: var(--cream);
    transition: box-shadow var(--transition);
}

.recipe-cat:hover {
    box-shadow: var(--shadow-lg);
}

/* Portada con foto */
.recipe-cat__cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.recipe-cat__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-cat:hover .recipe-cat__cover img {
    transform: scale(1.06);
}

.recipe-cat__label {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,7,0,0.85) 0%, rgba(26,7,0,0.1) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    gap: 0.25rem;
}

.recipe-cat__emoji {
    font-size: 1.5rem;
}

.recipe-cat__label h3 {
    color: var(--white);
    font-size: 1.15rem;
}

.recipe-cat__badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--caramel-lt);
    background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    align-self: flex-start;
    letter-spacing: 0.05em;
}

/* Lista de recetas */
.recipe-list {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.recipe-list li {
    font-size: 0.875rem;
    color: var(--text-mid);
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.4;
}

.recipe-list li::before {
    content: '✦';
    color: var(--caramel);
    font-size: 0.55rem;
    flex-shrink: 0;
}

.recipe-list li:last-child {
    border-bottom: none;
}

/* Banner showcase */
.ebook-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
}

.ebook-showcase__img {
    height: 100%;
    min-height: 320px;
}

.ebook-showcase__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ebook-showcase__copy {
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ebook-showcase__copy h3 {
    font-size: 1.6rem;
}

.ebook-showcase__copy p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.65;
}


/* =====================================================
   16. GALERÍA
   ===================================================== */
.gallery {
    background: var(--cream-dark);
}

/* Grid editorial 3 columnas */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.gallery__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 5;
    background: var(--border);
}

/* Elemento ancho ocupa 2 columnas */
.gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
    transform: scale(1.06);
}

/* Overlay hover */
.gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 7, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.gallery__overlay span {
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: scale(0.7);
    transition: all var(--transition);
    background: var(--cta);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay {
    background: rgba(26, 7, 0, 0.38);
}

.gallery__item:hover .gallery__overlay span,
.gallery__item:focus-visible .gallery__overlay span {
    opacity: 1;
    transform: scale(1);
}

/* CTA de galería */
.gallery__foot {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.gallery__foot p {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-style: italic;
    color: var(--choco-mid);
}


/* =====================================================
   17. BONOS
   ===================================================== */
.bonuses {
    background: var(--white);
}

.bonuses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bonus-card {
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bonus-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Card destacada (central) */
.bonus-card--featured {
    border-color: var(--caramel);
    background: linear-gradient(140deg, #FFF8EE 0%, #FAF0DC 100%);
}

.bonus-card--featured::before {
    content: 'Más popular';
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--caramel);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.875rem;
    border-radius: 50px;
    white-space: nowrap;
}

.bonus-card__number {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
}

.bonus-card__icon {
    font-size: 2.25rem;
}

.bonus-card h3 {
    font-size: 1.1rem;
    line-height: 1.3;
}

.bonus-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
    flex: 1;
}

.bonus-card__value {
    font-size: 0.82rem;
    color: var(--text-light);
    padding-top: 0.875rem;
    border-top: 1px solid var(--border);
}

.bonus-card__value strong {
    color: var(--cta);
}


/* =====================================================
   18. CTA BAND (intermedio)
   ===================================================== */
.cta-band {
    padding: 5.5rem 0;
    background: linear-gradient(135deg, var(--choco) 0%, #5A2400 100%);
    position: relative;
    overflow: hidden;
}

/* Patrón de puntos sutil */
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(196,122,42,0.08) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
}

.cta-band__inner {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    max-width: 760px;
    margin: 0 auto;
}

.cta-band__inner h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 4vw, 2.5rem);
}

.cta-band__inner p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
}

.cta-band__note {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.4) !important;
}


/* =====================================================
   19. BENEFICIOS
   ===================================================== */
.benefits {
    background: var(--cream);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-item__icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.875rem;
}

.benefit-item h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.benefit-item p {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.6;
}


/* =====================================================
   20. TESTIMONIOS
   ===================================================== */
.testimonials {
    background: var(--white);
}

.testimonials__slider {
    max-width: 820px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonials__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cada card ocupa 100% del slider */
.testi-card {
    min-width: 100%;
    background: var(--cream);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testi-card__stars {
    color: var(--caramel);
    font-size: 1.25rem;
    letter-spacing: 0.1em;
}

.testi-card__quote {
    font-family: var(--serif);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-style: italic;
    color: var(--choco-mid);
    line-height: 1.7;
    border: none;
    padding: 0;
}

.testi-card__author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.testi-card__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--caramel-lt);
}

.testi-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testi-card__info strong {
    font-size: 1rem;
    color: var(--choco);
}

.testi-card__info span {
    font-size: 0.82rem;
    color: var(--text-light);
}

/* Controles slider */
.testimonials__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.75rem;
}

.t-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--choco);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    cursor: pointer;
}

.t-btn:hover {
    border-color: var(--caramel);
    background: var(--caramel);
    color: var(--white);
}

.t-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    padding: 0;
}

.t-dot.active {
    background: var(--caramel);
    transform: scale(1.35);
}


/* =====================================================
   21. GARANTÍA
   ===================================================== */
.guarantee {
    background: var(--cream-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.guarantee__card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3.5rem;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--border);
}

.guarantee__seal img {
    width: 160px;
    filter: drop-shadow(0 4px 12px rgba(42,14,0,0.15));
}

.guarantee__body {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.guarantee__body h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.guarantee__lead {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--caramel);
    font-weight: 600;
}

.guarantee__body p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.65;
}


/* =====================================================
   22. OFERTA FINAL
   ===================================================== */
.final-offer {
    padding: 6rem 0;
    background: linear-gradient(145deg, #120500 0%, var(--choco) 100%);
    position: relative;
    overflow: hidden;
}

.final-offer::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196,122,42,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.final-offer__inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.final-offer__inner h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.final-offer__sub {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    max-width: 560px;
}

.final-offer__box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.final-offer__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.88);
    font-size: 0.95rem;
    line-height: 1.5;
}

.final-offer__item:last-child {
    border-bottom: none;
}

.fi-check {
    color: var(--caramel-lt);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.final-offer__item em {
    color: var(--caramel-lt);
    font-style: normal;
    font-size: 0.85rem;
}

.final-offer__secure {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
}


/* =====================================================
   23. FOOTER
   ===================================================== */
.footer {
    background: #0E0400;
    padding: 3rem 0 1.5rem;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-wrap: wrap;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.footer__brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    line-height: 1.5;
}

.footer__nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer__nav a {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
    transition: color var(--transition);
}

.footer__nav a:hover {
    color: var(--caramel-lt);
}

.footer__bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer__bottom p {
    color: rgba(255,255,255,0.22);
    font-size: 0.78rem;
}

.footer__dev {
    margin-top: 0.4rem;
    color: rgba(255,255,255,0.18) !important;
    font-size: 0.72rem !important;
}

.footer__dev a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__dev a:hover {
    color: var(--caramel-lt);
}


/* =====================================================
   24. LIGHTBOX
   ===================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox__stage {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__stage img {
    max-width: 88vw;
    max-height: 86vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: fixed;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    backdrop-filter: blur(4px);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox__close {
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.6rem;
}

.lightbox__prev {
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}


/* =====================================================
   25. RESPONSIVE — TABLET (≤1024px)
   ===================================================== */
@media (max-width: 1024px) {

    .for-who__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recipes-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

    .ebook-showcase {
        grid-template-columns: 1fr;
    }

    .ebook-showcase__copy {
        padding: 2rem;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

}

@media (max-width: 900px) {

    /* Header: esconder nav, mostrar hamburger */
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 150;
        pointer-events: none;
        opacity: 0;
        transform: scale(0.97);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .header__nav.open {
        pointer-events: all;
        opacity: 1;
        transform: scale(1);
    }

    .header__nav .nav-link {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
        z-index: 200;
    }

    /* Hero: apilado */
    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero__text {
        align-items: center;
        order: 2;
    }

    .hero__visual {
        order: 1;
    }

    .hero__img {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero__sub {
        margin: 0 auto;
    }

    .hero__checks {
        justify-content: center;
    }

    .hero__actions {
        align-items: center;
    }

    /* Prob-sol: apilado */
    .prob-sol__grid {
        grid-template-columns: 1fr;
    }

    /* Bonos: apilado */
    .bonuses__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Garantía: apilada */
    .guarantee__card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2.25rem 1.75rem;
    }

    .guarantee__seal img {
        margin: 0 auto;
    }

    .guarantee__body .btn {
        align-self: center;
    }

    /* Stats: 2x2 */
    .stat-divider {
        display: none;
    }

    .stats-strip__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat {
        padding: 0.75rem 1rem;
        background: var(--cream);
        border-radius: var(--radius);
    }

}


/* =====================================================
   26. RESPONSIVE — MOBILE (≤640px)
   ===================================================== */
@media (max-width: 640px) {

    :root {
        --radius: 12px;
        --radius-lg: 18px;
    }

    .section-pad {
        padding: 3.5rem 0;
    }

    /* Hero */
    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero__img {
        max-width: 240px;
    }

    .hero__float-badge {
        right: 5%;
        bottom: 4%;
        padding: 0.6rem 0.75rem;
    }

    .float-badge__num {
        font-size: 1.6rem;
    }

    /* Stats */
    .stats-strip__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Cards apilados en 1 columna */
    .for-who__grid {
        grid-template-columns: 1fr;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Galería mobile: 2 col */
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .gallery__item--wide {
        grid-column: span 2;
        aspect-ratio: 4 / 3;
    }

    /* Testimonios */
    .testi-card {
        padding: 1.75rem 1.25rem;
    }

    .testi-card__author {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    /* Lightbox controles */
    .lightbox__prev { left: 0.5rem; }
    .lightbox__next { right: 0.5rem; }
    .lightbox__prev,
    .lightbox__next { width: 40px; height: 40px; font-size: 1rem; }

    /* Footer */
    .footer__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__brand {
        flex-direction: column;
        align-items: center;
    }

    .footer__nav {
        justify-content: center;
    }

    /* Sticky bar: apilado */
    .sticky-bar__inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .sticky-bar__text {
        font-size: 0.8rem;
    }

    /* Botón grande en mobile */
    .btn--lg {
        font-size: 1rem;
        padding: 1rem 2rem;
        width: 100%;
        max-width: 360px;
    }

    /* CTA band */
    .cta-band {
        padding: 4rem 0;
    }

    /* Final offer */
    .final-offer {
        padding: 4rem 0;
    }

    .final-offer__box {
        padding: 1.5rem;
    }

    /* Showcase */
    .ebook-showcase {
        border-radius: var(--radius);
    }

}


/* =====================================================
   27. MOBILE MUY PEQUEÑO (≤420px)
   ===================================================== */
@media (max-width: 420px) {

    .benefits__grid {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item--wide {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }

    .stats-strip__grid {
        grid-template-columns: 1fr;
    }

    .stat-divider {
        display: none;
    }

}
