/* ============================================
   CHOCOLATIADA CATALOG — PREMIUM OVERHAUL
   Vibrant colors, glassmorphism, micro-animations
   ============================================ */

/* Google Fonts loaded in HTML */

:root {
    /* Vibrant Primary Palette */
    --color-cacao-deep: #1A0E07;
    --color-cacao-brown: #3D2817;
    --color-tierra: #6B4423;
    --color-terracota: #A0522D;
    --color-verde-bosque: #1B6B2A;
    --color-verde-vibrante: #2D8E3E;
    --color-naranja-panela: #C65B1A;
    --color-naranja-fuerte: #E86520;
    --color-dorado: #D4A843;
    --color-beige: #F5E6D3;
    --color-crema: #FFF8F0;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-hero-overlay: linear-gradient(180deg, rgba(26,14,7,0.7) 0%, rgba(61,40,23,0.5) 50%, rgba(26,14,7,0.8) 100%);
    --gradient-endulzado: linear-gradient(135deg, #D4701E 0%, #C65B1A 40%, #A04210 100%);
    --gradient-semiamargo: linear-gradient(135deg, #3DA54A 0%, #1B6B2A 40%, #0D4A16 100%);
    --gradient-amargo: linear-gradient(135deg, #5A3825 0%, #3D2817 40%, #1A0E07 100%);
    --gradient-contact: linear-gradient(135deg, #1A0E07 0%, #3D2817 50%, #1A0E07 100%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 2rem;
    --sp-lg: 3rem;
    --sp-xl: 4rem;

    /* Radius */
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 12px rgba(26,14,7,0.08);
    --shadow-md: 0 8px 30px rgba(26,14,7,0.12);
    --shadow-lg: 0 16px 50px rgba(26,14,7,0.2);
    --shadow-glow-orange: 0 0 30px rgba(232,118,42,0.4);
    --shadow-glow-green: 0 0 30px rgba(27,107,42,0.4);

    /* Transitions */
    --t-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --t-medium: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index */
    --z-topbar: 1100;
    --z-header: 1000;
    --z-whatsapp: 999;
    --z-lightbox: 2000;
    --z-scroll: 900;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-cacao-brown);
    background: var(--color-crema);
    line-height: 1.7;
    overflow-x: hidden;
    /* Ultra text smoothing */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'kern' 1, 'liga' 1;
    font-variant-ligatures: common-ligatures;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

main {
    scroll-snap-type: y proximity;
    overflow-y: scroll;
    height: 100vh;
}

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

/* ============================================
   TOP INFO BAR
   ============================================ */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-cacao-deep);
    color: var(--color-dorado);
    z-index: var(--z-topbar);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.8rem, 3vw, 3rem);
    padding: 0.4rem clamp(0.5rem, 2vw, 2rem);
    font-size: clamp(0.65rem, 1.5vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--color-dorado);
    overflow: hidden;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.top-bar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

.top-bar-separator {
    width: 4px; height: 4px;
    background: var(--color-dorado);
    border-radius: 50%;
    opacity: 0.5;
}

.top-bar-link {
    cursor: pointer;
    transition: color var(--t-fast), opacity var(--t-fast);
    text-decoration: none;
    color: inherit;
}

.top-bar-link:hover {
    color: var(--color-naranja-fuerte);
    opacity: 0.9;
}

/* ============================================
   STICKY HEADER
   ============================================ */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26,14,7,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem var(--sp-md);
    z-index: var(--z-header);
    transform: translateY(-100%);
    transition: transform var(--t-medium);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

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

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo-img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    display: block;
}

.header-cta-btn {
    background: linear-gradient(135deg, var(--color-naranja-fuerte), var(--color-naranja-panela));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--r-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--t-fast);
    box-shadow: var(--shadow-glow-orange);
}

.header-cta-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 40px rgba(232,118,42,0.6);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(37,211,102,0.4);
    z-index: var(--z-whatsapp);
    transition: all var(--t-fast);
    animation: wa-pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 35px rgba(37,211,102,0.6);
}

.whatsapp-icon { width: 36px; height: 36px; color: white; }

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
    50% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-scroll);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-xs);
    animation: bounce 2s infinite;
    opacity: 0.9;
    transition: opacity var(--t-fast);
}
.scroll-indicator.hidden { opacity: 0; pointer-events: none; }

.scroll-arrow {
    width: 24px; height: 24px;
    border-left: 3px solid var(--color-dorado);
    border-bottom: 3px solid var(--color-dorado);
    transform: rotate(-45deg);
}
.scroll-text {
    font-size: 0.75rem;
    color: var(--color-dorado);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   SECTIONS BASE
   ============================================ */
.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-lg) var(--sp-md);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    z-index: 10;
    position: relative;
}

/* ============================================
   HERO — VIDEO BACKGROUND
   ============================================ */
.hero-section {
    background: var(--color-cacao-deep);
    padding: 0;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-hero-overlay);
    z-index: 2;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-lg);
    z-index: 10;
    padding: var(--sp-xl) var(--sp-md);
}

.hero-logo-container { max-width: 500px; width: 100%; }

.hero-logo {
    width: 100%;
    filter: brightness(0) invert(1) drop-shadow(0 8px 30px rgba(0,0,0,0.5));
    animation: logoReveal 1.2s ease forwards;
}

@keyframes logoReveal {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.hero-tagline {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.tagline-top, .tagline-bottom {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-crema);
    font-style: italic;
    opacity: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-cta {
    background: linear-gradient(135deg, var(--color-naranja-fuerte), var(--color-naranja-panela));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--r-xl);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-glow-orange);
    transition: all var(--t-fast);
    opacity: 0;
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 50px rgba(255,107,26,0.5);
}

/* Fade-in animations */
.fade-in-up { animation: fadeUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 0.9s; }
.delay-3 { animation-delay: 1.3s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   STORY SECTION — White rest zone
   ============================================ */
.story-section {
    background: var(--color-white);
    position: relative;
}

.story-content {
    text-align: center;
    padding: var(--sp-xl) var(--sp-md);
}

.invima-badge {
    position: absolute;
    top: 2rem; right: 2rem;
    background: linear-gradient(135deg, var(--color-verde-vibrante), var(--color-verde-bosque));
    padding: 0.6rem 1.2rem;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-glow-green);
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all var(--t-fast);
    z-index: 20;
}

.invima-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(27,107,42,0.5);
}

.invima-badge .badge-icon {
    background: white;
    color: var(--color-verde-bosque);
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
}

.invima-badge-hint {
    font-size: 0.65rem;
    opacity: 0.85;
    margin-left: 0.3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: var(--sp-md);
    color: var(--color-cacao-brown);
    font-weight: 700;
    line-height: 1.2;
}

.story-text {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.story-paragraph {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #4A3020;
}

.story-paragraph.emphasis {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--color-cacao-brown);
}

.story-paragraph strong { color: var(--color-naranja-panela); font-weight: 800; }

.story-values {
    display: flex;
    gap: var(--sp-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--sp-lg);
}

.value-badge {
    background: linear-gradient(135deg, var(--color-naranja-fuerte), var(--color-naranja-panela));
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: var(--r-xl);
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    transition: all var(--t-fast);
}

.value-badge:hover { transform: translateY(-3px) scale(1.05); }

/* ============================================
   PRODUCT SECTIONS
   ============================================ */
.product-section { position: relative; }

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
}

.product-image-container {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--t-medium);
}

.product-image {
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-image-container:hover .product-image { transform: scale(1.06); }

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.product-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: var(--r-lg);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: fit-content;
}

.orange-label { background: rgba(255,255,255,0.25); color: white; border: 2px solid rgba(255,255,255,0.5); }
.green-label { background: rgba(255,255,255,0.2); color: white; border: 2px solid rgba(255,255,255,0.4); }
.brown-label { background: rgba(255,255,255,0.15); color: var(--color-dorado); border: 2px solid var(--color-dorado); }

.product-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
    letter-spacing: -0.01em;
}

.product-description {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.desc-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 1px rgba(0,0,0,0.15);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.desc-paragraph.sensory {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.desc-paragraph.emphasis { font-weight: 700; font-size: 1.1rem; color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

.desc-paragraph.aromatics {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: var(--sp-sm) 1.2rem;
    border-radius: var(--r-md);
    border-left: 4px solid var(--color-dorado);
}

.desc-paragraph.aromatics em { font-weight: 700; }

.desc-paragraph.final {
    margin-top: var(--sp-xs);
    padding-top: var(--sp-sm);
    border-top: 2px solid rgba(255,255,255,0.15);
    font-weight: 500;
}

/* Composition Grid */
.composition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
    margin: var(--sp-md) 0;
}
.composition-grid.single-item { grid-template-columns: 1fr; }

.composition-item {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    padding: var(--sp-md);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--sp-xs);
    border: 1px solid rgba(255,255,255,0.15);
    transition: all var(--t-fast);
}

.composition-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.comp-percentage {
    font-size: 3.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    letter-spacing: -0.02em;
}

.comp-label { font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.95); letter-spacing: 0.01em; }

/* CTA Buttons */
.product-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: var(--sp-md);
}

.product-cta-btn {
    padding: 0.9rem 1.5rem;
    border-radius: var(--r-lg);
    text-decoration: none;
    font-weight: 800;
    text-align: center;
    font-size: 0.95rem;
    transition: all var(--t-fast);
    color: white;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.product-cta-btn::after {
    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.5s, height 0.5s;
}
.product-cta-btn:hover::after { width: 400px; height: 400px; }

.orange-btn { background: linear-gradient(135deg, #FF6B1A, #E8762A); box-shadow: 0 4px 20px rgba(232,118,42,0.3); }
.orange-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-orange); }

.green-btn { background: linear-gradient(135deg, #2D8E3E, #1B6B2A); box-shadow: 0 4px 20px rgba(27,107,42,0.3); }
.green-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow-green); }

.brown-btn { background: linear-gradient(135deg, #5A3825, #3D2817); box-shadow: 0 4px 20px rgba(61,40,23,0.3); }
.brown-btn:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(61,40,23,0.5); }

/* Product section color overrides */
/* — Endulzado: white text, minimal shadow for crispness */
.product-endulzado { background: var(--gradient-endulzado); }
.product-endulzado .product-title,
.product-endulzado .desc-paragraph.sensory,
.product-endulzado .desc-paragraph.emphasis { color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.18); }
.product-endulzado .desc-paragraph { color: rgba(255,255,255,0.97); }
.product-endulzado .comp-percentage { color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.15); }
.product-endulzado .comp-label { color: rgba(255,255,255,0.95); }

/* — Semiamargo: white text, slightly firmer shadow for green bg */
.product-semiamargo { background: var(--gradient-semiamargo); }
.product-semiamargo .product-title,
.product-semiamargo .desc-paragraph.sensory,
.product-semiamargo .desc-paragraph.emphasis { color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.25); }
.product-semiamargo .desc-paragraph { color: rgba(255,255,255,0.97); text-shadow: 0 1px 2px rgba(0,0,0,0.18); }
.product-semiamargo .comp-percentage { color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.product-semiamargo .comp-label { color: rgba(255,255,255,0.97); }
.product-semiamargo .desc-paragraph.aromatics { border-left-color: rgba(255,255,255,0.4); }

/* — Amargo: gold accents on deep brown, minimal shadow */
.product-amargo { background: var(--gradient-amargo); }
.product-amargo .product-title { color: var(--color-dorado); text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.product-amargo .desc-paragraph.sensory,
.product-amargo .desc-paragraph.emphasis { color: var(--color-dorado); text-shadow: 0 1px 2px rgba(0,0,0,0.25); }
.product-amargo .desc-paragraph { color: rgba(255,255,255,0.95); text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.product-amargo .comp-percentage { color: var(--color-dorado); text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.product-amargo .comp-label { color: rgba(255,255,255,0.95); }
.product-amargo .desc-paragraph.aromatics { border-left-color: var(--color-dorado); }
.product-amargo .brown-btn { background: linear-gradient(135deg, var(--color-dorado), #B8882E); color: var(--color-cacao-deep); font-weight: 800; }

/* ============================================
   PREPARATION — White rest zone
   ============================================ */
.preparation-section { background: var(--color-white); }

.preparation-content {
    text-align: center;
    padding: var(--sp-lg) var(--sp-md);
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-tierra);
    font-style: italic;
    margin-bottom: var(--sp-xl);
}

.preparation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-lg);
    margin-top: var(--sp-xl);
}

.prep-step {
    background: var(--color-crema);
    padding: var(--sp-lg) var(--sp-md);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--t-fast);
    border: 1px solid rgba(61,40,23,0.06);
}

.prep-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -18px; left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--color-naranja-fuerte), var(--color-naranja-panela));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow-orange);
}

.step-icon {
    font-size: 2.5rem;
    margin: var(--sp-md) 0 var(--sp-sm);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--color-cacao-brown);
    margin-bottom: var(--sp-xs);
}

.step-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-tierra);
}

.step-tip {
    display: block;
    font-size: 0.8rem;
    font-style: italic;
    color: var(--color-naranja-panela);
    font-weight: 700;
    margin-top: var(--sp-sm);
    padding-top: var(--sp-sm);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.preparation-note {
    background: linear-gradient(135deg, rgba(232,118,42,0.08), rgba(232,118,42,0.03));
    border-left: 4px solid var(--color-naranja-panela);
    padding: var(--sp-md) 1.5rem;
    border-radius: var(--r-md);
    margin-top: var(--sp-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.preparation-note p { font-size: 1rem; line-height: 1.7; color: var(--color-tierra); }

/* ============================================
   TESTIMONIALS — Vibrant section
   ============================================ */
.testimonials-section {
    background: linear-gradient(135deg, var(--color-naranja-fuerte) 0%, var(--color-naranja-panela) 50%, #C4530A 100%);
    color: white;
}

.testimonials-content { text-align: center; padding: var(--sp-lg) var(--sp-md); }

.testimonials-section .section-title { color: white; }
.testimonials-section .section-subtitle { color: rgba(255,255,255,0.85); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--sp-md);
    margin-top: var(--sp-xl);
}

.testimonial-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--sp-lg);
    border-radius: var(--r-xl);
    border: 1px solid rgba(255,255,255,0.25);
    transition: all var(--t-fast);
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
}

.testimonial-rating { color: var(--color-dorado); font-size: 1.3rem; letter-spacing: 3px; }

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
    font-style: italic;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding-top: var(--sp-sm);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.6);
    flex-shrink: 0;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: left;
}

.testimonial-author-info strong { color: white; font-weight: 700; font-size: 0.9rem; }
.testimonial-author-info span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.testimonial-cta {
    margin-top: var(--sp-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-md);
}

.testimonial-cta-text { font-size: 1.2rem; font-weight: 700; color: white; }

.testimonial-cta-btn {
    background: white;
    color: var(--color-naranja-panela);
    padding: 0.8rem 2rem;
    border-radius: var(--r-xl);
    text-decoration: none;
    font-weight: 800;
    transition: all var(--t-fast);
    box-shadow: var(--shadow-md);
}

.testimonial-cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   CONTACT — Dark premium
   ============================================ */
.contact-section {
    background: var(--gradient-contact);
    color: var(--color-crema);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: var(--sp-xl);
}

.contact-header { text-align: center; }

.contact-logo {
    max-width: 350px;
    width: 100%;
    margin: 0 auto var(--sp-md);
    filter: brightness(0) invert(1) drop-shadow(0 8px 30px rgba(0,0,0,0.4));
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-dorado);
    margin-bottom: var(--sp-xs);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(245,230,211,0.75);
    font-style: italic;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-md);
}

.contact-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(15px);
    padding: var(--sp-lg);
    border-radius: var(--r-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
    transition: all var(--t-fast);
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    border-color: var(--color-dorado);
}

.contact-icon { color: var(--color-dorado); }

.contact-card-title { font-size: 1.15rem; font-weight: 700; color: var(--color-dorado); }
.contact-card-text { font-size: 0.85rem; color: rgba(245,230,211,0.65); }

.contact-link {
    color: var(--color-naranja-fuerte);
    text-decoration: none;
    font-weight: 700;
    transition: all var(--t-fast);
}
.contact-link:hover { color: var(--color-dorado); }

.contact-footer {
    text-align: center;
    padding-top: var(--sp-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
}

.location-label { font-size: 0.8rem; color: rgba(245,230,211,0.5); text-transform: uppercase; letter-spacing: 2px; }
.location-name { font-size: 1.2rem; font-weight: 700; color: var(--color-dorado); }
.slogan-text { font-family: var(--font-heading); font-size: 1.4rem; font-style: italic; color: var(--color-beige); }
.contact-legal { font-size: 0.8rem; color: rgba(245,230,211,0.4); }

/* ============================================
   INVIMA LIGHTBOX
   ============================================ */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    z-index: var(--z-lightbox);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--t-fast);
    cursor: pointer;
}

.lightbox-overlay.active { opacity: 1; visibility: visible; }

.lightbox-content {
    max-width: 700px;
    width: 90%;
    background: white;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform var(--t-fast);
    cursor: default;
    position: relative;
}

.lightbox-overlay.active .lightbox-content { transform: scale(1); }

.lightbox-header {
    background: linear-gradient(135deg, var(--color-verde-vibrante), var(--color-verde-bosque));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lightbox-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; }

.lightbox-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.35); }

.lightbox-body { padding: var(--sp-md); text-align: center; }
.lightbox-body img { width: 100%; border-radius: var(--r-md); }

.lightbox-placeholder {
    padding: var(--sp-xl);
    color: var(--color-tierra);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
}

.lightbox-placeholder svg { width: 64px; height: 64px; color: var(--color-verde-bosque); }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Tablet (768px) */
@media (max-width: 768px) {
    .top-bar {
        gap: 0.6rem;
        font-size: 0.7rem;
        padding: 0.35rem 0.6rem;
        justify-content: space-evenly;
    }
    .top-bar-separator { display: none; }
    .top-bar-item { gap: 0.3rem; }
    .top-bar-item svg { width: 12px; height: 12px; }

    .header-cta-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .section-title { font-size: 2rem; }
    .product-content { grid-template-columns: 1fr; }
    .product-image-container { order: -1; }
    .composition-grid { grid-template-columns: 1fr; }
    .preparation-steps { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .invima-badge { top: 1rem; right: 1rem; font-size: 0.75rem; padding: 0.5rem 0.8rem; }
    .product-title { font-size: 1.8rem; }
    .hero-cta { padding: 0.9rem 2rem; font-size: 1rem; }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .top-bar {
        gap: 0.2rem 0.6rem;
        font-size: 0.6rem;
        padding: 0.3rem 0.4rem;
        flex-wrap: nowrap;
        justify-content: center;
    }
    .top-bar-item span {
        max-width: 90px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-container {
        padding: 0 0.5rem;
    }
    .header-logo-img { height: 30px; }
    .header-cta-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.75rem;
        border-radius: var(--r-md);
    }

    .section { padding: var(--sp-md) var(--sp-sm); }
    .section-title { font-size: 1.7rem; }
    .hero-logo-container { max-width: 85%; }
    .tagline-top, .tagline-bottom { font-size: 1rem; }
    .product-title { font-size: 1.6rem; }
    .whatsapp-float { width: 56px; height: 56px; bottom: 1.5rem; right: 1.2rem; }
    .whatsapp-icon { width: 30px; height: 30px; }
    .preparation-steps { grid-template-columns: 1fr; }
    .product-cta-btn { padding: 1rem 1.2rem; font-size: 1rem; min-height: 52px; }
    .story-paragraph.emphasis { font-size: 1.3rem; }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .top-bar, .sticky-header, .whatsapp-float, .scroll-indicator,
    .product-cta-group, .testimonial-cta, .lightbox-overlay { display: none; }
    .section { page-break-inside: avoid; min-height: auto; }
    body { background: white; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
a:focus-visible, button:focus-visible {
    outline: 3px solid var(--color-dorado);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
