/* ================================================
   VARIABLES Y RESET
   ================================================ */

:root {
    --primary-yellow: #FFD700;
    --primary-yellow-dark: #F4C430;
    --primary-yellow-light: #FFF4CC;
    --primary-green: #2ECC71;
    --primary-green-dark: #27AE60;
    --primary-green-light: #A8E6CF;
    --accent-orange: #FF9F1C;
    --accent-red: #E63946;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #1A1A1A;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.18);
    --shadow-2xl: 0 20px 48px rgba(0, 0, 0, 0.25);
    --shadow-yellow: 0 8px 24px rgba(255, 215, 0, 0.3);
    --shadow-green: 0 8px 24px rgba(46, 204, 113, 0.3);
    --shadow-colored: 0 8px 24px rgba(46, 204, 113, 0.2), 0 4px 12px rgba(255, 215, 0, 0.2);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ================================================
   UTILIDADES
   ================================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-green));
    margin: 0 auto var(--spacing-sm);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-top: var(--spacing-sm);
}

/* ================================================
   ★ CAMBIO 1 — NAVBAR
   Gradiente izquierda→derecha: verde → amarillo
   Textos en negro para legibilidad sobre fondo claro
   ================================================ */

.navbar {
    /* MODIFICADO: dirección 90deg (izquierda→derecha), verde primero */
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-yellow) 100%);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: linear-gradient(90deg, var(--primary-green-dark) 0%, var(--primary-yellow-dark) 100%);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: padding var(--transition-normal);
    gap: 2rem;
}

.navbar.scrolled .nav-content {
    padding: 0.75rem 0;
}

/* Letras blancas sobre el gradiente */
.logo h2 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-normal);
    cursor: pointer;
}

.logo h2:hover {
    opacity: 0.85;
}

.logo-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.logo h2:hover .logo-icon {
    transform: scale(1.5);
}

/* Lema blanco con opacidad */
.logo .lema {
    font-size: 0.75rem;
    font-weight: 400;
    font-style: italic;
    color: var(--white);
    opacity: 0.9;
    margin: 0;
    margin-top: -0.25rem;
    transition: var(--transition-normal);
}

.logo:hover .lema {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

/* Links blancos */
.nav-links a {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
    display: block;
    white-space: nowrap;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-links a:active {
    transform: translateY(0);
}

/* CTA: fondo blanco con texto verde para destacar sobre el gradiente */
.cta-nav {
    background-color: var(--white) !important;
    color: var(--primary-green-dark) !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin-left: 0.75rem;
    padding: 0.6rem 1.5rem !important;
    border-radius: 8px;
}

.cta-nav:hover {
    background-color: var(--light-gray) !important;
    color: var(--primary-green-dark) !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: var(--shadow-md);
}

/* Menú hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Barras blancas */
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ================================================
   ★ CAMBIO 2 — HERO SECTION
   Animaciones fade-in eliminadas: visibilidad inmediata.
   Solo afecta elementos dentro de .hero.
   Las demás secciones conservan su fade-in.
   ================================================ */

.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary-yellow-light) 0%, var(--primary-green-light) 100%);
    padding: var(--spacing-lg) 0;
    overflow: hidden;
}

/* MODIFICADO: sin animación, visible desde el primer frame */
.hero .fade-in,
.hero .fade-in.delay-1,
.hero .fade-in.delay-2,
.hero .fade-in.delay-3 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    animation-delay: 0s !important;
}

.hero-content {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    font-weight: 800;
}

.hero-text p {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: var(--white);
    box-shadow: var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(46, 204, 113, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.01);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-green-dark);
    border: 2px solid var(--primary-green);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-green);
}

.btn-secondary:active {
    transform: translateY(-2px) scale(1.01);
}

.hero-features {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    cursor: default;
}

.feature-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.feature-item .icon-svg {
    flex-shrink: 0;
    transition: transform var(--transition-bounce);
    width: 32px;
    height: 32px;
}

.feature-item:hover .icon-svg {
    transform: rotate(10deg) scale(1.15);
}

.feature-item p {
    margin: 0;
    font-weight: 600;
    color: var(--primary-green-dark);
    font-size: 0.9rem;
}

/* Carrusel Hero */
.hero-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl), 0 0 40px rgba(46, 204, 113, 0.15);
    transition: all var(--transition-slow);
}

.hero-carousel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(46, 204, 113, 0.25);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-yellow-light), var(--primary-green-light));
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.05);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 215, 0, 0.5);
    transition: all var(--transition-normal);
}

.indicator.active {
    background-color: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.indicator.active::after {
    width: 20px;
    height: 20px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

/* ================================================
   QUIÉNES SOMOS
   ================================================ */

.quienes-somos {
    background-color: var(--white);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.content-text .highlight {
    font-size: 1.3rem;
    color: var(--primary-green-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.content-text p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.content-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(255, 215, 0, 0.1));
    opacity: 0;
    transition: opacity var(--transition-slow);
    z-index: 1;
    pointer-events: none;
}

.content-image:hover::before {
    opacity: 1;
}

.content-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    display: block;
}

.content-image:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-2xl);
}

/* ================================================
   HISTORIA
   ================================================ */

.historia {
    background: linear-gradient(135deg, var(--primary-yellow-light) 0%, var(--white) 100%);
}

.historia-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
}

.historia-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    line-height: 1.8;
}

.historia-text .quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-green-dark);
    padding-left: var(--spacing-md);
    border-left: 4px solid var(--primary-yellow);
    margin-top: var(--spacing-md);
}

/* Timeline */
.historia-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    position: relative;
}

.timeline-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    background-color: var(--white);
    padding: var(--spacing-sm);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    border-left: 4px solid transparent;
    cursor: pointer;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-yellow), var(--primary-green));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-item:hover {
    transform: translateX(15px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(46, 204, 113, 0.05));
}

.timeline-item::after {
    content: '❯';
    position: absolute;
    bottom: 50%;
    right: 16px;
    transform: translateY(50%) rotate(90deg);
    font-size: 0.85rem;
    color: var(--primary-green);
    opacity: 0.6;
    pointer-events: none;
    font-style: normal;
}

.timeline-item:hover::after {
    opacity: 1;
}

.timeline-icon-emoji {
    min-width: 54px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 14px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}

.timeline-item:hover .timeline-icon-emoji {
    transform: none;
}

.timeline-icon svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.timeline-content h3 {
    color: var(--primary-green-dark);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.timeline-item:hover .timeline-content h3 {
    color: var(--primary-green);
}

.timeline-content p {
    color: var(--gray);
    margin: 0;
}

/* ── Estado expandido ── */
.historia-timeline.expanded .timeline-item {
    opacity: 0;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition:
        opacity     0.35s ease,
        max-height  0.4s  ease,
        margin      0.4s  ease,
        padding     0.4s  ease;
}

.historia-timeline.expanded .timeline-item.selected {
    opacity: 1;
    pointer-events: auto;
    max-height: 120px;
    margin-bottom: 0 !important;
    padding: 0.85rem 1rem !important;
    border-left: 4px solid var(--primary-green) !important;
    background: linear-gradient(135deg, rgba(46,204,113,0.07), rgba(255,215,0,0.07));
    box-shadow: var(--shadow-sm) !important;
    border-radius: 14px 14px 0 0 !important;
    border-bottom: none !important;
}

.historia-timeline.expanded .timeline-item.selected::after {
    content: '❯';
    transform: translateY(50%) rotate(-90deg);
    opacity: 1;
}

.timeline-expanded {
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity   0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 18px 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border: 2px solid var(--primary-green);
    border-top: none;
    position: relative;
    width: 100%;
    margin-top: 0;
}

.timeline-expanded.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.timeline-expanded-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.timeline-expanded:hover .timeline-expanded-img {
    transform: scale(1.03);
}

.timeline-expanded-body {
    padding: 0.85rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    background: linear-gradient(135deg, rgba(46,204,113,0.05), rgba(255,215,0,0.05));
}

.timeline-expanded-year {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-green-dark);
    line-height: 1;
}

.timeline-expanded-text {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.55;
    margin: 0;
}

.timeline-expanded-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast), transform var(--transition-fast);
    z-index: 2;
    line-height: 1;
}

.timeline-expanded-close:hover {
    background: var(--accent-red);
    transform: scale(1.15) rotate(90deg);
}

.historia-timeline:not(.expanded) .timeline-item {
    opacity: 1;
    pointer-events: auto;
    max-height: 200px;
    margin-bottom: 0;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

/* ================================================
   AJUSTES DE ESPACIADO - SECCIÓN HISTORIA
   ================================================ */

@media (min-width: 993px) {
    .historia-content {
        gap: var(--spacing-xl);
        align-items: flex-start;
    }

    .historia-timeline {
        gap: 0.85rem;
        position: sticky;
        top: 90px;
    }

    .timeline-item {
        padding: 0.9rem 1rem;
    }

    .timeline-expanded-img {
        height: 210px;
    }
}

@media (max-width: 992px) {
    .historia-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .historia-timeline {
        gap: 0.75rem;
    }

    .historia-timeline.expanded .timeline-item.selected {
        max-height: 100px;
    }

    .timeline-expanded-img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo h2 {
        font-size: 1.1rem;
        white-space: nowrap;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo .lema {
        font-size: 0.7rem;
    }

    .historia-content {
        gap: var(--spacing-sm);
    }

    .historia-timeline {
        gap: 0.6rem;
    }

    .timeline-item {
        padding: 0.75rem 0.9rem;
        gap: 0.6rem;
    }

    .timeline-icon svg {
        width: 32px;
        height: 32px;
    }

    .timeline-content h3 {
        font-size: 1rem;
    }

    .timeline-content p {
        font-size: 0.85rem;
    }

    .historia-timeline.expanded .timeline-item.selected {
        max-height: 90px;
        padding: 0.7rem 0.9rem !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .timeline-expanded-img {
        height: 240px;
    }

    .timeline-expanded-body {
        padding: 0.7rem 0.9rem 0.9rem;
    }

    .timeline-expanded-year {
        font-size: 1.2rem;
    }

    .timeline-expanded-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .historia-timeline {
        gap: 0.5rem;
    }

    .timeline-item {
        padding: 0.65rem 0.75rem;
    }

    .timeline-expanded-img {
        height: 200px;
    }
}

/* ================================================
   SECCIÓN SERVICIO
   ================================================ */

.servicio {
    background: linear-gradient(160deg, #f8fffe 0%, #f0faf5 50%, #fffdf0 100%);
}

/* ================================================
   ★ CAMBIO 3 — PROMO CARD: imagen full-cover
   PC  → imagen llena toda la columna derecha
   Móvil → imagen 100% ancho × 280px, apilada arriba
   ================================================ */

.promo-card {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(46, 204, 113, 0.10), 0 1px 8px rgba(0,0,0,0.07);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
    border: 1.5px solid rgba(46, 204, 113, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(46, 204, 113, 0.16), 0 2px 12px rgba(0,0,0,0.09);
}

/* Columna izquierda — sin cambios */
.promo-card__left {
    padding: 2.8rem 2.8rem 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    border-right: 1.5px solid rgba(46, 204, 113, 0.12);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--primary-yellow), #FFB300);
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    width: fit-content;
}

.promo-badge::before {
    content: '★';
    font-size: 0.7rem;
}

.promo-card__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.25;
    margin: 0;
}

.promo-card__desc {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
    max-width: 520px;
}

/* Lista de beneficios */
.promo-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.promo-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 3.5px solid var(--primary-green);
    transition: background 0.2s ease, transform 0.2s ease;
}

.promo-benefits li:hover {
    background: linear-gradient(90deg, rgba(46,204,113,0.07), var(--light-gray));
    transform: translateX(4px);
}

.benefit-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    display: block;
    flex-shrink: 0;
}

.benefit-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.benefit-info strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.benefit-info span {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.4;
}

/* Acciones */
.promo-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.4rem;
}

.promo-card__actions .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.promo-note {
    font-size: 0.78rem;
    color: var(--gray);
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* ── Columna derecha (PC): imagen ocupa todo el espacio ── */
.promo-card__right {
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, rgba(46,204,113,0.06) 0%, rgba(255,215,0,0.08) 100%);
    /* MODIFICADO: altura mínima generosa para que la imagen luzca bien */
    min-height: 460px;
}

/* MODIFICADO: wrapper crece para llenar toda la columna */
.promo-card__img-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

/* MODIFICADO: imagen cubre el contenedor sin deformarse */
.promo-card__img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

/* Soporte para <picture> si se usa */
.promo-card__img-wrap picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo-card__img-wrap picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.promo-card:hover .promo-card__img-wrap img,
.promo-card:hover .promo-card__img-wrap picture img {
    transform: scale(1.04);
}

/* Stats — flex-shrink:0 para no comprimir la imagen */
.promo-stats {
    display: flex;
    align-items: stretch;
    border-top: 1.5px solid rgba(46, 204, 113, 0.15);
    flex-shrink: 0;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.1rem 0.5rem;
    gap: 0.25rem;
    text-align: center;
}

.stat-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-green-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.stat-divider {
    width: 1px;
    background: rgba(46, 204, 113, 0.15);
    margin: 0.8rem 0;
}

/* ================================================
   GRID / CARRUSEL DE CARACTERÍSTICAS
   ================================================ */

.feature-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.8rem 1.6rem 1.5rem;
    border: 1.5px solid rgba(46, 204, 113, 0.12);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(46, 204, 113, 0.14);
    border-color: rgba(46, 204, 113, 0.35);
}

.feature-card__icon {
    font-size: 2.2rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46,204,113,0.1), rgba(255,215,0,0.1));
    border-radius: 14px;
    flex-shrink: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.feature-card__body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.feature-card__body p {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

.feature-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--light-gray);
}

.feature-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    letter-spacing: 0.02em;
}

/* ================================================
   FEATURES CAROUSEL
   ================================================ */

.features-carousel {
    position: relative;
    padding-bottom: 3rem;
}

.features-track-wrapper {
    overflow: hidden;
    border-radius: 18px;
}

.features-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.features-track .feature-card {
    min-width: 100%;
    box-sizing: border-box;
}

.feature-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 18px 18px 0 0;
}

.feature-card:hover .feature-card__accent,
.feature-card.is-active .feature-card__accent {
    transform: scaleX(1);
}

.feature-card.is-active .feature-card__icon {
    background: linear-gradient(135deg, rgba(46,204,113,0.2), rgba(255,215,0,0.2));
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.25);
}

.feature-card__counter {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(46, 204, 113, 0.07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s ease;
}

.feature-card.is-active .feature-card__counter {
    color: rgba(46, 204, 113, 0.12);
}

@keyframes cardEnter {
    from { opacity: 0.4; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1;   transform: translateY(0) scale(1); }
}

.feature-card.is-active {
    animation: cardEnter 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border-color: rgba(46, 204, 113, 0.35);
    box-shadow: 0 12px 32px rgba(46, 204, 113, 0.14);
}

.features-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(calc(-50% - 1.5rem));
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(46, 204, 113, 0.3);
    background: var(--white);
    color: var(--primary-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
    z-index: 10;
}

.features-arrow:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    transform: translateY(calc(-50% - 1.5rem)) scale(1.1);
    box-shadow: var(--shadow-green);
}

.features-arrow--prev { left: -22px; }
.features-arrow--next { right: -22px; }

.features-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
}

.features-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.3);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-dot.active {
    width: 28px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-yellow));
}

/* Desktop: grid normal */
@media (min-width: 769px) {
    .features-track-wrapper {
        overflow: visible;
    }

    .features-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        transform: none !important;
        transition: none;
    }

    .features-track .feature-card {
        min-width: unset;
    }

    .features-arrow,
    .features-dots {
        display: none;
    }

    .feature-card.is-active {
        animation: none;
        border-color: rgba(46, 204, 113, 0.12);
        box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    }
}

/* ================================================
   RESPONSIVE — PROMO CARD (★ CAMBIO 3 continúa)
   ================================================ */

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .promo-card {
        grid-template-columns: 1fr;
    }

    .promo-card__left {
        border-right: none;
        border-bottom: 1.5px solid rgba(46, 204, 113, 0.12);
        padding: 2rem;
    }

    .promo-card__right {
        flex-direction: row;
        min-height: auto;
    }

    /* MODIFICADO: imagen fija lado a lado con stats en tablet */
    .promo-card__img-wrap {
        flex: 0 0 220px;
        width: 220px;
        height: 220px;
        min-height: unset;
        position: relative;
    }

    .promo-card__img-wrap img,
    .promo-card__img-wrap picture img {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
    }

    .promo-stats {
        flex: 1;
        border-top: none;
        border-left: 1.5px solid rgba(46, 204, 113, 0.15);
        flex-direction: column;
        gap: 0;
    }

    .stat-divider {
        width: 60%;
        height: 1px;
        margin: 0 auto;
    }
}

/* Móvil (≤768px): imagen ARRIBA a todo el ancho × 280px */
@media (max-width: 768px) {
    /* MODIFICADO: imagen sube arriba del texto con order */
    .promo-card__left {
        padding: 1.5rem;
        gap: 1.1rem;
        order: 2;
    }

    .promo-card__right {
        flex-direction: column;
        min-height: auto;
        order: 1;
    }

    /* MODIFICADO: 100% ancho, altura fija */
    .promo-card__img-wrap {
        flex: none;
        width: 100%;
        height: 280px;
        min-height: unset;
        position: relative;
    }

    .promo-card__img-wrap img,
    .promo-card__img-wrap picture img {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .promo-stats {
        width: 100%;
        border-left: none;
        border-top: 1.5px solid rgba(46, 204, 113, 0.15);
        flex-direction: row;
    }

    .stat-divider {
        width: 1px;
        height: auto;
        margin: 0.8rem 0;
    }

    .promo-card__title {
        font-size: 1.4rem;
    }

    .promo-benefits li {
        padding: 0.7rem 0.85rem;
        gap: 0.75rem;
    }

    .benefit-icon {
        font-size: 1.3rem;
        width: 30px;
    }

    .feature-card {
        padding: 1.4rem 1.2rem 1.2rem;
    }

    .feature-card__icon {
        font-size: 1.9rem;
        width: 46px;
        height: 46px;
    }

    .features-arrow--prev { left: -12px; }
    .features-arrow--next { right: -12px; }
}

/* Móvil pequeño (≤480px) */
@media (max-width: 480px) {
    .promo-card__title {
        font-size: 1.25rem;
    }

    /* MODIFICADO: altura algo menor en pantallas muy pequeñas */
    .promo-card__img-wrap {
        height: 220px;
    }

    .promo-card__img-wrap picture img {
        object-position: center top;
    }

    .promo-benefits li {
        flex-direction: row;
        align-items: flex-start;
    }

    .stat-num {
        font-size: 1.1rem;
    }

    .features-arrow {
        display: none;
    }
}

/* ================================================
   MISIÓN Y VISIÓN
   ================================================ */

.mision-vision {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--white) 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.mv-card {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.7s;
}

.mv-card:hover::before {
    left: 100%;
}

.mv-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl), var(--shadow-colored);
    border-color: var(--primary-yellow);
}

.mv-icon {
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-bounce);
}

.mv-card:hover .mv-icon {
    transform: scale(1.15) rotate(-5deg);
}

.mv-icon svg {
    flex-shrink: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: filter var(--transition-normal);
}

.mv-card:hover .mv-icon svg {
    filter: drop-shadow(0 8px 16px rgba(255, 215, 0, 0.4));
}

.mv-card h3 {
    font-size: 1.8rem;
    color: var(--primary-green-dark);
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
}

.mv-card:hover h3 {
    color: var(--primary-green);
    transform: scale(1.05);
}

.mv-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: left;
}

/* ================================================
   UBICACIÓN
   ================================================ */

.ubicacion {
    background-color: var(--white);
}

.ubicacion-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.ubicacion-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
    padding: var(--spacing-sm);
    background-color: var(--light-gray);
    border-radius: 15px;
    transition: all var(--transition-normal);
    cursor: default;
    border: 2px solid transparent;
}

.info-item:hover {
    background: linear-gradient(135deg, var(--primary-yellow-light), var(--primary-green-light));
    transform: translateX(10px) scale(1.02);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-yellow);
}

.info-icon {
    min-width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-bounce);
}

.info-item:hover .info-icon {
    transform: scale(1.2) rotate(-5deg);
}

.info-icon svg {
    flex-shrink: 0;
    transition: filter var(--transition-normal);
}

.info-item:hover .info-icon svg {
    filter: drop-shadow(0 4px 8px rgba(46, 204, 113, 0.3));
}

.info-item h4 {
    color: var(--primary-green-dark);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
    transition: color var(--transition-fast);
}

.info-item:hover h4 {
    color: var(--primary-green);
}

.info-item p {
    margin: 0;
    color: var(--dark-gray);
}

.mapa-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    position: relative;
}

.mapa-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid var(--primary-green);
    border-radius: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 1;
}

.mapa-container:hover::before {
    opacity: 1;
}

.mapa-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl), var(--shadow-green);
}

.mapa-container iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ================================================
   CONTACTO
   ================================================ */

.contacto {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-green) 100%);
    color: var(--white);
}

.contacto-content {
    text-align: center;
}

.contacto-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.contacto-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.contacto-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-whatsapp:hover::after {
    width: 300px;
    height: 300px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp:active {
    transform: translateY(-2px) scale(1.01);
}

.whatsapp-icon {
    flex-shrink: 0;
    transition: transform var(--transition-bounce);
}

.btn-whatsapp:hover .whatsapp-icon {
    transform: rotate(15deg) scale(1.1);
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-yellow);
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

.footer-section a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform var(--transition-normal);
}

.social-links a:hover::before {
    transform: scale(1.3);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.15);
}

.social-links a:active {
    transform: translateY(-2px) scale(1.1);
}

.social-links svg {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: filter var(--transition-normal);
}

.social-links a:hover svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: ripple 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: var(--shadow-2xl), 0 0 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(1.05);
}

.whatsapp-float .whatsapp-icon {
    display: block;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-bounce);
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(15deg) scale(1.1);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes ripple {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ================================================
   ANIMACIONES DE SCROLL
   (fade-in global sigue activo fuera del .hero)
   ================================================ */

.fade-in {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================
   KEYFRAMES VARIOS
   ================================================ */

@keyframes shimmer {
    0%   { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

@keyframes colorPulse {
    0%, 100% { box-shadow: var(--shadow-md); }
    50%       { box-shadow: var(--shadow-lg), var(--shadow-colored); }
}

@keyframes gentleRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================================
   RESPONSIVE GLOBAL
   ================================================ */

/* Tablets */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-text {
        order: 2;
        text-align: center;
    }

    .hero-carousel {
        order: 1;
    }

    .carousel-container {
        height: 400px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .historia-content {
        grid-template-columns: 1fr;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .ubicacion-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Móviles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        /* MODIFICADO: menú desplegable conserva gradiente verde→amarillo */
        background: linear-gradient(90deg, var(--primary-green-dark) 0%, var(--primary-yellow-dark) 100%);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        gap: 0;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    /* Links blancos en menú móvil */
    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-radius: 0;
        color: var(--white);
        font-weight: 600;
    }

    .cta-nav {
        margin-left: 0 !important;
        margin: 0.5rem 1rem;
        border-radius: 8px !important;
        background-color: var(--white) !important;
        color: var(--primary-green-dark) !important;
    }

    .section-padding {
        padding: var(--spacing-md) 0;
    }

    .hero {
        margin-top: 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .carousel-container {
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contacto-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contacto-content h2 {
        font-size: 2rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .carousel-container {
        height: 250px;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ================================================
   CATÁLOGO PUNTO FRÍO
   ================================================ */

/* Ocultar/mostrar páginas */
body.show-catalogo-pf #catalogoPF { display: flex; }
body.show-catalogo-pf > *:not(#catalogoPF) { display: none !important; }

.catalogo-pf {
  display: none;
  flex-direction: column;
  min-height: 100vh;
  background: var(--light-gray);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ── Header ─────────────────────────────────── */
.cpf-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--primary-green) 0%, var(--primary-yellow) 100%);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}

.cpf-btn-back {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.cpf-btn-back:hover { background: rgba(255,255,255,0.35); }

.cpf-logo { flex-shrink: 0; }

.cpf-nav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  flex: 1;
}

.cpf-cat-btn {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.cpf-cat-btn:hover,
.cpf-cat-btn.active {
  background: var(--white);
  color: var(--primary-green-dark);
  border-color: var(--white);
}

.cpf-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.95);
  border: 2px solid var(--white);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  color: var(--dark-gray);
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}
.cpf-search-wrap:focus-within {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), 0 0 0 3px rgba(255,255,255,0.5);
  transform: scale(1.02);
}
.cpf-search-wrap svg { color: var(--primary-green-dark); flex-shrink: 0; width: 16px; height: 16px; }
.cpf-search-wrap input {
  background: none;
  border: none;
  outline: none;
  color: var(--dark-gray);
  font-size: 0.88rem;
  font-weight: 500;
  width: 100%;
}
.cpf-search-wrap input::placeholder { color: var(--gray); font-weight: 400; }

.cpf-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.cpf-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ── Menú móvil ──────────────────────────────── */
.cpf-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-md);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 199;
}
.cpf-mobile-nav.open { display: flex; }
.cpf-mobile-nav .cpf-cat-btn {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-gray);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  padding: 1rem 1.5rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
}
.cpf-mobile-nav .cpf-cat-btn:hover {
  background: var(--light-gray);
  color: var(--dark-gray);
  border-color: rgba(0,0,0,0.06);
}
.cpf-mobile-nav .cpf-cat-btn.active {
  background: var(--primary-green-dark);
  color: var(--white);
  font-weight: 700;
  border-color: transparent;
}

/* ── Hero ────────────────────────────────────── */
.cpf-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--primary-green-dark) 0%, #1a7a42 100%);
  color: var(--white);
}

.cpf-hero-tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.4rem;
}

.cpf-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.cpf-hero h1 em {
  display: block;
  font-style: normal;
  color: var(--primary-yellow);
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.cpf-hero-sub {
  font-size: 0.95rem;
  opacity: 0.85;
  max-width: 480px;
}

.cpf-hero-count {
  text-align: center;
  flex-shrink: 0;
}
.cpf-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-yellow);
  line-height: 1;
}
.cpf-label {
  font-size: 0.75rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Main / Grid ─────────────────────────────── */
.cpf-main {
  padding: 2rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.cpf-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
  border-bottom: 1.5px solid #e0e0e0;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.cpf-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* ── Card ────────────────────────────────────── */
.cpf-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.cpf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cpf-card-img {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--light-gray);
  overflow: hidden;
}
.cpf-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cpf-card:hover .cpf-card-img img { transform: scale(1.05); }

.cpf-card-cat {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--primary-green);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.cpf-card-promo-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: var(--primary-yellow);
  color: var(--black);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* Placeholder: ícono de Punto Frío cuando falta la foto */
img.cpf-img-ph {
  object-fit: contain;
  padding: 15%;
  box-sizing: border-box;
  background: var(--dark-gray);
}

.cpf-card-body {
  padding: 0.85rem 1rem 0.5rem;
  flex: 1;
}
.cpf-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cpf-price-label { font-size: 0.65rem; color: var(--gray); display: block; }
.cpf-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-green-dark);
}

.cpf-card-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 1rem 0.85rem;
}

.cpf-btn-add-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 1;
  background: var(--primary-green-dark);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.cpf-btn-add-sm:hover { background: var(--primary-green); }

/* ── Skeleton ─────────────────────────────────── */
.cpf-card-skeleton { pointer-events: none; }
.cpf-skel-img { height: 180px; background: #e9e9e9; border-radius: 14px 14px 0 0; }
.cpf-skel-line {
  height: 12px;
  background: linear-gradient(90deg, #e9e9e9 25%, #f5f5f5 50%, #e9e9e9 75%);
  background-size: 200% 100%;
  animation: cpfShimmer 1.4s infinite;
  border-radius: 6px;
  margin: 0.5rem 1rem;
}
.cpf-skel-title { width: 70%; }
.cpf-skel-price { width: 40%; }
.cpf-skel-btn { width: 80%; height: 32px; margin: 0.5rem 1rem 0.85rem; }
@keyframes cpfShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ── Estado vacío ────────────────────────────── */
.cpf-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray);
}
.cpf-empty h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--dark-gray); }

/* ── Modal ───────────────────────────────────── */
.cpf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cpf-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cpf-modal-sheet {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0 0 2rem;
  position: relative;
  transform: translateY(40px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cpf-modal-overlay.open .cpf-modal-sheet { transform: translateY(0); }

.cpf-modal-handle {
  width: 40px; height: 4px;
  background: #ddd;
  border-radius: 2px;
  margin: 0.75rem auto 0;
}

.cpf-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--light-gray);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}
.cpf-modal-close:hover { background: #e0e0e0; }

.cpf-modal-img {
  position: relative;
  background: var(--light-gray);
  overflow: hidden;
}
.cpf-modal-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f8f8f8;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cpf-modal-img img.swapping {
  opacity: 0;
  transform: scale(0.95);
}
/* Variant image badge overlay */
.cpf-img-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  transition: opacity 0.2s ease;
}
/* Beer variant visual */
.cpf-beer-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.2rem 1rem 0.8rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f5e9 100%);
  min-height: 200px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}
.cpf-beer-can-svg {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
  transition: transform 0.2s ease;
}
.cpf-beer-can-svg:hover { transform: scale(1.05); }
.cpf-beer-visual-label {
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray);
  margin-top: 0.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cpf-modal-body { padding: 1.25rem 1.5rem 0.5rem; }
.cpf-modal-cat {
  display: inline-block;
  background: var(--primary-green);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.cpf-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.cpf-modal-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Promo badge en modal */
.cpf-modal-promo {
  background: linear-gradient(135deg, var(--primary-yellow-light), #fff8cc);
  border: 1.5px solid var(--primary-yellow);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.cpf-modal-promo-icon { font-size: 1.4rem; flex-shrink: 0; }
.cpf-modal-promo-text { font-size: 0.82rem; color: var(--dark-gray); line-height: 1.5; }
.cpf-modal-promo-text strong { display: block; font-size: 0.88rem; color: var(--black); margin-bottom: 0.2rem; }

/* Tabla de precios en modal */
.cpf-detail-section { margin-bottom: 1rem; }
.cpf-detail-heading {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 0.5rem;
}
.cpf-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.cpf-price-table th {
  background: var(--primary-green);
  color: var(--white);
  padding: 0.4rem 0.6rem;
  text-align: left;
  font-weight: 600;
}
.cpf-price-table td {
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #f0f0f0;
}
.cpf-price-table td.pval {
  font-weight: 700;
  color: var(--primary-green-dark);
}
.cpf-price-table tr:hover td { background: var(--light-gray); }

/* Opciones en modal */
.cpf-option-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.cpf-option-btn {
  background: var(--light-gray);
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.cpf-option-btn.selected,
.cpf-option-btn:hover {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

/* Footer del modal */
.cpf-modal-footer {
  position: sticky;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid #f0f0f0;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cpf-modal-price-display { display: flex; flex-direction: column; }
.cpf-from-label { font-size: 0.7rem; color: var(--gray); }
.cpf-price-big {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-green-dark);
}



/* ── Variant selector (presentaciones) ─────────── */
.cpf-variants-section { margin-bottom: 1rem; }

.cpf-var-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cpf-var-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
  gap: 0.5rem;
}

.cpf-var-btn:hover {
  border-color: var(--primary-green);
  background: rgba(46, 204, 113, 0.05);
  transform: translateX(3px);
}

.cpf-var-btn.active {
  border-color: var(--primary-green);
  background: linear-gradient(90deg, rgba(46,204,113,0.12), rgba(46,204,113,0.04));
  box-shadow: 0 2px 10px rgba(46, 204, 113, 0.2);
}

.cpf-var-btn.active::before {
  content: '✓';
  color: var(--primary-green);
  font-weight: 800;
  font-size: 0.9rem;
  margin-right: 0.1rem;
}

.cpf-var-label {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--dark-gray);
  flex: 1;
}

.cpf-var-btn.active .cpf-var-label {
  color: var(--primary-green-dark);
}

.cpf-var-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-green-dark);
  white-space: nowrap;
  background: rgba(46,204,113,0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

.cpf-var-btn.active .cpf-var-price {
  background: var(--primary-green);
  color: var(--white);
}

/* ── Beer mode UI ──────────────────────────────── */
.cpf-beer-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.cpf-beer-tab {
  flex: 1;
  min-width: 90px;
  padding: 0.5rem 0.6rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: var(--light-gray);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--dark-gray);
  text-align: center;
}
.cpf-beer-tab:hover {
  border-color: var(--primary-green);
  background: rgba(46,204,113,0.08);
}
.cpf-beer-tab.active {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
  box-shadow: 0 3px 10px rgba(46,204,113,0.35);
}
.cpf-beer-mode-body {
  padding: 0.8rem 1rem;
  background: var(--light-gray);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cpf-beer-mode-note {
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin: 0;
}
.cpf-beer-qty-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark-gray);
  display: block;
}
.cpf-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cpf-qty-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary-green);
  background: var(--white);
  color: var(--primary-green-dark);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}
.cpf-qty-btn:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: scale(1.1);
}
.cpf-qty-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-green-dark);
  min-width: 32px;
  text-align: center;
}
.cpf-beer-total {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  margin: 0;
  padding: 0.4rem 0.6rem;
  background: rgba(46,204,113,0.1);
  border-radius: 8px;
}
/* Cava options */
.cpf-cava-prompt { display: flex; flex-direction: column; gap: 0.5rem; }
.cpf-cava-opts { display: flex; flex-direction: column; gap: 0.4rem; }
.cpf-cava-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease;
  color: var(--dark-gray);
}
.cpf-cava-btn:hover { border-color: var(--primary-green); background: rgba(46,204,113,0.06); }
.cpf-cava-btn.active {
  background: linear-gradient(135deg, rgba(46,204,113,0.12), rgba(255,215,0,0.1));
  border-color: var(--primary-green);
  color: var(--primary-green-dark);
}
.cpf-cava-btn svg { flex-shrink: 0; width: 18px; height: 18px; }
.cpf-cava-promo-note {
  font-size: 0.78rem;
  color: var(--primary-green-dark);
  margin: 0;
  padding: 0.35rem 0.6rem;
  background: linear-gradient(90deg, rgba(255,215,0,0.18), rgba(46,204,113,0.12));
  border-radius: 7px;
  border-left: 3px solid var(--primary-yellow);
}
/* Urgency badge in modal */
.cpf-modal-urgency {
  background: linear-gradient(135deg, var(--primary-yellow-light), #fff3cc);
  border: 1.5px solid var(--primary-yellow);
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7a5200;
}

/* ── Footer del catálogo ─────────────────────── */
.cpf-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--gray);
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}
.cpf-footer a { color: var(--primary-green-dark); font-weight: 600; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .cpf-btn-back  { order: 0; }
  .cpf-logo      { order: 1; }
  .cpf-search-wrap { order: 2; flex: 1; min-width: 0; }
  .cpf-cart-btn  { order: 3; }
  .cpf-hamburger { order: 4; margin-left: 0; display: flex; }
  .cpf-nav       { display: none; }
  .cpf-search-mobile { display: none; }
  .cpf-hero { flex-direction: column; text-align: center; padding: 2rem 1.25rem; }
  .cpf-product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.9rem; }
  .cpf-main { padding: 1.5rem 1rem; }
  .cpf-btn-back span,
  .cpf-btn-back { font-size: 0; padding: 0.45rem 0.6rem; }
  .cpf-btn-back svg { font-size: initial; width: 18px; height: 18px; }
  .cpf-cart-btn { display: none !important; }
}

@media (max-width: 768px) {
  .cpf-cart-float {
    display: flex;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 300;
    background: var(--primary-green-dark);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    align-items: center;
    gap: 0.4rem;
  }
}

@media (max-width: 400px) {
  .cpf-product-grid { grid-template-columns: 1fr 1fr; }
}
/* ================================================
   NUEVAS SECCIONES — HOMEPAGE REDISEÑADA
   ================================================ */

/* Tipografía nueva */
body {
    font-family: 'DM Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h2, h3, .logo h2, .hero-text h1, .section-header h2,
.promo-card__title, .step-number {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ── HERO: eyebrow + trust bar ── */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-green-dark);
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.25);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(46, 204, 113, 0.15);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.trust-sep {
    width: 1px;
    height: 18px;
    background: rgba(0,0,0,0.12);
}

/* ── SOCIAL PROOF ── */
.social-proof {
    background: var(--light-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: var(--white);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1.5px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.review-card--featured {
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 24px rgba(255, 215, 0, 0.15);
    position: relative;
}

.review-platform {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--dark-gray);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--light-gray);
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--primary-yellow));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.review-author span {
    font-size: 0.75rem;
    color: var(--gray);
}

.reviews-cta {
    text-align: center;
}

.reviews-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── CÓMO PEDIR ── */
.como-pedir {
    background: linear-gradient(160deg, #f0fff8 0%, var(--white) 60%, #fffdf0 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
    margin-top: 1rem;
}

.step-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    border: 1.5px solid rgba(46, 204, 113, 0.15);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    text-align: center;
    align-items: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-yellow));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(46, 204, 113, 0.35);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(46, 204, 113, 0.12);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: -0.5rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(46,204,113,0.1), rgba(255,215,0,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal);
}

.step-card:hover .step-icon {
    background: linear-gradient(135deg, rgba(46,204,113,0.2), rgba(255,215,0,0.2));
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.step-card .btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-top: 0.25rem;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    padding-top: 6rem;
    opacity: 0.5;
}

/* ── NOSOTROS (fusión quiénes somos + historia) ── */
.nosotros {
    background: linear-gradient(135deg, var(--primary-yellow-light) 0%, var(--white) 60%);
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.nosotros-text .highlight {
    font-size: 1.3rem;
    color: var(--primary-green-dark);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    font-family: 'Syne', sans-serif;
}

.nosotros-text p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    line-height: 1.8;
}

.nosotros-text .quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-green-dark);
    padding-left: var(--spacing-md);
    border-left: 4px solid var(--primary-yellow);
    margin-top: var(--spacing-md);
    font-family: 'Syne', sans-serif;
}

/* Timeline icon SVG variant (reemplaza emoji) */
.timeline-icon-svg {
    min-width: 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ================================================
   RESPONSIVE — NUEVAS SECCIONES
   ================================================ */

/* Tablet grande (≤1100px) */
@media (max-width: 1100px) {
    .steps-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 0;
    }
}

/* Tablet (≤992px) */
@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }

    .review-card--featured {
        grid-column: span 2;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step-connector {
        padding-top: 0;
        transform: rotate(90deg);
        height: 40px;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Móvil (≤768px) */
@media (max-width: 768px) {
    .hero-trust {
        gap: 0.75rem;
        padding: 0.6rem 0.85rem;
    }

    .trust-item {
        font-size: 0.78rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card--featured {
        grid-column: span 1;
    }

    .review-card {
        padding: 1.25rem;
    }

    .step-card {
        padding: 1.5rem 1.25rem;
    }

    .step-number {
        font-size: 2.2rem;
    }

    .nosotros-grid {
        gap: var(--spacing-sm);
    }
}

/* Móvil pequeño (≤480px) */
@media (max-width: 480px) {
    .hero-eyebrow {
        font-size: 0.72rem;
        padding: 0.3rem 0.7rem;
    }

    .hero-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trust-sep {
        display: none;
    }

    .reviews-cta .btn {
        width: 100%;
        justify-content: center;
    }
}

/* estilos del carrito */
    .cpf-cart-btn {
        position: relative;
        background: rgba(46,204,113,0.12);
        border: 1.5px solid var(--primary-green);
        border-radius: 10px;
        padding: 8px 12px;
        cursor: pointer;
        color: var(--primary-green);
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        }
        .cpf-cart-count {
        background: var(--primary-green);
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        border-radius: 99px;
        padding: 1px 6px;
        min-width: 18px;
        text-align: center;
    }

    .cpf-cart-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        z-index: 1100;
        }
    .cpf-cart-overlay.open { display: block; }

    .cpf-cart-drawer {
        position: fixed;
        top: 0;
        right: -420px;
        width: 100%;
        max-width: 420px;
        height: 100%;
        background: var(--white);
        z-index: 1101;
        display: flex;
        flex-direction: column;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(255,255,255,0.08);
     }
    .cpf-cart-drawer.open { right: 0; }

    .cpf-cart-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .cpf-cart-header h2 { font-size: 1.1rem; margin: 0; }
    .cpf-cart-close {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-light, #ccc);
        padding: 4px;
    }
    .cpf-cart-items {
        flex: 1;
        overflow-y: auto;
        padding: 16px 24px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .cpf-cart-empty {
        color: var(--gray, #888);
        text-align: center;
        margin-top: 40px;
        line-height: 1.6;
        font-size: 0.9rem;
    }
    .cpf-cart-item {
        display: flex;
        align-items: center;
        gap: 12px;
        background: rgba(255,255,255,0.04);
        border-radius: 10px;
        padding: 10px 12px;
    }
    .cpf-cart-item-img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .cpf-cart-item-info { flex: 1; min-width: 0; }
    .cpf-cart-item-name {
        font-size: 0.85rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .cpf-cart-item-price {
        font-size: 0.8rem;
        color: var(--primary-green);
        margin-top: 2px;
    }
    .cpf-cart-item-qty {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .cpf-qty-btn {
        background: rgba(255,255,255,0.08);
        border: none;
        color: #fff;
        width: 26px;
        height: 26px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cpf-qty-num { font-size: 0.9rem; font-weight: 600; min-width: 16px; text-align: center; }

    .cpf-cart-footer {
        padding: 16px 24px 24px;
        border-top: 1px solid rgba(255,255,255,0.08);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .cpf-cart-total {
        font-size: 1rem;
        text-align: right;
    }
    .cpf-cart-total strong { color: var(--primary-green); font-size: 1.2rem; }
    .cpf-cart-wa-btn {
        background: #25D366;
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 14px;
        font-size: 0.95rem;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }
    .cpf-cart-wa-btn:hover { background: #1ebe5a; }
    .cpf-cart-note {
        font-size: 0.75rem;
        color: var(--gray, #888);
        text-align: center;
        margin: 0;
    }

    .cpf-modal-qty-wrap {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--light-gray);
        border-radius: 999px;
        padding: 0.4rem 0.8rem;
    }
/* ================================================
   RESPONSIVE CATÁLOGO — MÓVILES MEDIANOS/PEQUEÑOS
   ================================================ */

/* ── Botón agregar al carrito (modal footer) ── */
.cpf-modal-footer-btns {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cpf-btn-add-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-green-dark);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.cpf-btn-add-cart:hover {
  background: var(--primary-green);
  transform: translateY(-1px);
  box-shadow: var(--shadow-green);
}
.cpf-btn-add-cart:active { transform: scale(0.97); }

/* ── Bump al agregar ── */
@keyframes cpfCartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cpf-cart-bump {
  animation: cpfCartBump 0.35s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* ── Qty buttons modal ── */
.cpf-cart-qty-btn {
  background: var(--light-gray);
  border: 1.5px solid #ddd;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--dark-gray);
  line-height: 1;
  flex-shrink: 0;
}
.cpf-cart-qty-btn:hover {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}
.cpf-cart-qty-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-gray);
  min-width: 20px;
  text-align: center;
}

/* ── Modal footer responsivo ── */
@media (max-width: 480px) {
  .cpf-modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .cpf-modal-price-display {
    flex-direction: row;
    align-items: baseline;
    gap: 0.4rem;
  }

  .cpf-from-label { font-size: 0.72rem; }

  .cpf-price-big { font-size: 1.2rem; }

  .cpf-modal-footer-btns {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    align-items: center;
  }

  .cpf-btn-add-cart {
    justify-content: center;
    padding: 0.65rem 0.6rem;
    font-size: 0.82rem;
  }
}

/* ── Modal sheet en móvil ── */
@media (max-width: 480px) {
  .cpf-modal-sheet {
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
  }

  .cpf-modal-body {
    padding: 1rem 1rem 0.5rem;
  }

  .cpf-modal-title {
    font-size: 1.15rem;
  }

  .cpf-modal-desc {
    font-size: 0.83rem;
  }

  .cpf-price-table {
    font-size: 0.78rem;
  }
}

/* ── Header del catálogo en móvil pequeño ── */
@media (max-width: 380px) {
  .cpf-header {
    padding: 0.6rem 0.85rem;
    gap: 0.6rem;
  }

  .cpf-logo img {
    height: 36px !important;
  }

  .cpf-search-wrap {
    padding: 0.45rem 0.75rem;
    min-width: 0;
  }

  .cpf-search-wrap input {
    font-size: 0.82rem;
  }
}

/* ── Cards del catálogo ── */
@media (max-width: 480px) {
  .cpf-card-title {
    font-size: 0.82rem;
  }

  .cpf-price {
    font-size: 0.9rem;
  }

  .cpf-btn-add-sm {
    font-size: 0.72rem;
    padding: 0.45rem 0.5rem;
  }

  .cpf-card-actions {
    padding: 0.5rem 0.75rem 0.75rem;
    gap: 0.4rem;
  }

  .cpf-card-body {
    padding: 0.7rem 0.75rem 0.4rem;
  }
}

/* ── Hero del catálogo ── */
@media (max-width: 480px) {
  .cpf-hero {
    padding: 1.5rem 1rem;
    gap: 1rem;
  }

  .cpf-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .cpf-hero-sub {
    font-size: 0.85rem;
  }

  .cpf-num {
    font-size: 2.5rem;
  }
}

/* ── Drawer del carrito en móvil ── */
@media (max-width: 480px) {
  .cpf-cart-drawer {
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    top: auto;
    bottom: -100%;
    right: 0;
    height: 85vh;
    transition: bottom 0.3s ease;
  }

  .cpf-cart-drawer.open {
    right: 0;
    bottom: 0;
  }

  .cpf-cart-header {
    padding: 14px 18px;
  }

  .cpf-cart-items {
    padding: 12px 18px;
  }

  .cpf-cart-footer {
    padding: 12px 18px 20px;
  }

  .cpf-cart-item {
    padding: 8px 10px;
    gap: 10px;
  }

  .cpf-cart-item-img {
    width: 40px;
    height: 40px;
  }

  .cpf-cart-item-name {
    font-size: 0.82rem;
  }
}

/* ── Botón flotante del carrito ── */
@media (max-width: 480px) {
  .cpf-cart-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

/* ── Checkout en pasos ── */
.cpf-checkout-step {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.cpf-btn-back-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  color: var(--primary-green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 16px 24px 0;
  cursor: pointer;
  width: fit-content;
}
.cpf-btn-back-step:hover { text-decoration: underline; }

.cpf-payment-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cpf-cava-btn.active[data-method] {
  background: linear-gradient(135deg, rgba(46,204,113,0.12), rgba(255,215,0,0.1));
  border-color: var(--primary-green);
  color: var(--primary-green-dark);
}

.cpf-cash-section {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cpf-cash-input {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-gray);
  transition: border-color 0.2s ease;
}
.cpf-cash-input:focus {
  outline: none;
  border-color: var(--primary-green);
}
.cpf-cash-input.error {
  border-color: var(--accent-red);
}

.cpf-cash-error {
  font-size: 0.8rem;
  color: var(--accent-red);
  margin: 0;
}

/* Casillas de mayoría de edad y tratamiento de datos */
.cpf-consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.35;
  cursor: pointer;
}
.cpf-consent-item input {
  margin-top: 0.15rem;
  accent-color: var(--primary-green-dark);
  flex-shrink: 0;
}
.cpf-consent-item a {
  color: var(--primary-green-dark);
  text-decoration: underline;
}

.cpf-cash-change {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green-dark);
  background: rgba(46,204,113,0.1);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  margin: 0;
}

/* ── Nota adicional (paso 1) ── */
.cpf-note-section {
  padding: 0 24px 12px;
}

.cpf-note-toggle {
  background: none;
  border: none;
  color: var(--primary-green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0;
}
.cpf-note-toggle:hover { text-decoration: underline; }

.cpf-note-textarea {
  width: 100%;
  margin-top: 0.5rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--dark-gray);
  resize: vertical;
  min-height: 70px;
  transition: border-color 0.2s ease;
}
.cpf-note-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

@media (max-width: 480px) {
  .cpf-payment-body,
  .cpf-note-section {
    padding-left: 18px;
    padding-right: 18px;
  }
}