/* ==========================================================================
   DULCE SECRETO - HIGH-END PREMIUM STYLE SHEET
   Aesthetics: Botanical Editorial + Advanced Biotechnology UI
   Inspired by Luméa, Moss, Purelis, Natura Labs, Verdora
   ========================================================================== */

/* --- DESIGN TOKENS (Variables) --- */
:root {
    /* Color Palette */
    --clr-bg-cream: #FDFBF7;         /* Warm, organic off-white/cream base */
    --clr-bg-white: #FFFFFF;         /* Pure white for cards */
    --clr-bg-sage: #F3F5F2;          /* Soft organic clay/sage green tone */
    
    /* Forest & Moss Tones */
    --clr-forest-dark: #1E2C22;      /* Deep editorial forest green */
    --clr-forest-medium: #2D3F33;    /* Moss green for mid-tone containers */
    --clr-forest-light: #5A7060;     /* Muted sage for light text / active states */
    --clr-forest-soft: #EBEFEB;      /* Light border green */

    /* Accent Gradients (representing the violet-to-pink product packaging) */
    --clr-accent-violet: #7C3AED;    /* Molecular violet */
    --clr-accent-pink: #EC4899;      /* Botanical pink */
    --clr-accent-gradient: linear-gradient(135deg, var(--clr-accent-violet), var(--clr-accent-pink));
    
    /* WhatsApp Green */
    --clr-whatsapp: #25D366;
    --clr-whatsapp-hover: #128C7E;
    
    /* Text Tones */
    --clr-text-dark: #1E221E;        /* Deep charcoal for body readability */
    --clr-text-muted: #576059;       /* Gray-green for subheadings */
    --clr-text-light: #FAFBF9;       /* Off-white for dark background blocks */
    
    /* Typography */
    --font-editorial: 'Playfair Display', Georgia, serif;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Radius & Spacing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-organic: 120px 40px 100px 30px; /* Asymmetric botanical curves */
    
    /* Shadows */
    --shadow-subtle: 0 4px 20px rgba(45, 63, 51, 0.03);
    --shadow-medium: 0 10px 40px rgba(45, 63, 51, 0.06);
    --shadow-heavy: 0 20px 60px rgba(45, 63, 51, 0.12);
    --shadow-violet-glow: 0 8px 30px rgba(124, 58, 237, 0.25);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.25);
}

/* --- RESET & CORE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--clr-bg-cream);
    color: var(--clr-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

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

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    transition: var(--transition-smooth);
}

/* --- SECTION HEADERS (Editorial Style) --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

@media (max-width: 768px) {
    .section-container {
        padding: 60px 16px;
    }
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: var(--clr-bg-sage);
    color: var(--clr-forest-light);
    border-radius: 999px;
    margin-bottom: 16px;
    border: 1px solid var(--clr-forest-soft);
}

.section-badge-light {
    display: inline-block;
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background-color: rgba(255, 255, 255, 0.05);
    color: #CEDCD0;
    border-radius: 999px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-family: var(--font-editorial);
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--clr-text-dark);
}

.text-white {
    color: var(--clr-text-light) !important;
}

.section-description {
    font-size: 1.05rem;
    color: var(--clr-text-muted);
    margin-top: 14px;
}

.text-gray-light {
    color: #A3B8A8 !important;
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--clr-accent-gradient);
    margin: 20px auto 0 auto;
    border-radius: 999px;
}

.bg-white {
    background: var(--clr-text-light) !important;
}


/* --- BUTTONS --- */
.btn-primary-whatsapp {
    background-color: var(--clr-whatsapp);
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: var(--transition-bounce);
}

.btn-primary-whatsapp:hover {
    background-color: var(--clr-whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(18, 140, 126, 0.35);
}

.btn-primary-whatsapp svg {
    width: 22px;
    height: 22px;
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--clr-text-dark);
    font-family: var(--font-heading);
    font-weight: 600;
    border: 1.5px solid var(--clr-text-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 999px;
    transition: var(--transition-smooth);
}

.btn-secondary-outline:hover {
    background-color: var(--clr-text-dark);
    color: var(--clr-text-light);
    transform: translateY(-2px);
}


/* --- TOP BAR --- */
.top-bar {
    background-color: var(--clr-forest-dark);
    color: #CEDCD0;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1000;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pulse-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--clr-accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(236, 72, 153, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(236, 72, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0); }
}

@media (max-width: 480px) {
    .top-bar-text {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}


/* --- MAIN HEADER --- */
.main-header {
    background-color: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-forest-soft);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: var(--transition-smooth);
}

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

.brand-logo {
    height: 48px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--clr-forest-dark);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--clr-accent-gradient);
    transition: var(--transition-smooth);
}

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

.nav-vip-badge {
    background: var(--clr-accent-gradient);
    color: var(--clr-text-light) !important;
    padding: 6px 16px !important;
    border-radius: 999px;
    box-shadow: var(--shadow-violet-glow);
}

.nav-vip-badge::after {
    display: none !important;
}

.btn-whatsapp-header {
    background-color: var(--clr-whatsapp);
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    transition: var(--transition-bounce);
}

.btn-whatsapp-header:hover {
    background-color: var(--clr-whatsapp-hover);
    transform: translateY(-2px);
}

.btn-whatsapp-header svg {
    width: 16px;
    height: 16px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--clr-forest-dark);
    transition: var(--transition-smooth);
}

@media (max-width: 860px) {
    .main-nav, .header-cta {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
}

/* Mobile Nav Drawer */
.main-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--clr-bg-cream);
    padding: 30px 24px;
    box-shadow: var(--shadow-medium);
    border-top: 1px solid var(--clr-forest-soft);
    gap: 20px;
    align-items: flex-start;
}

.main-header.nav-open .mobile-menu-btn span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.main-header.nav-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
.main-header.nav-open .mobile-menu-btn span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding: 80px 0 60px 0;
    overflow: hidden;
}

.hero-background-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Organic shapes for botanical aesthetics (Verdora style) */
.organic-shape-1 {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 55vw;
    height: 55vw;
    background-color: rgba(243, 245, 242, 0.7); /* Sage overlay */
    border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
}

.organic-shape-2 {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(124, 92, 246, 0.05) 0%, rgba(253, 251, 247, 0) 70%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: var(--clr-bg-white);
    border: 1px solid var(--clr-forest-soft);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-forest-light);
    letter-spacing: 0.03em;
    margin-bottom: 24px;
    box-shadow: var(--shadow-subtle);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--clr-accent-pink);
}

.hero-title {
    font-family: var(--font-editorial);
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1.1;
    color: var(--clr-forest-dark);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    margin-top: 24px;
    max-width: 580px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .hero-subtitle { margin: 24px auto 0 auto; }
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .hero-cta-group { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero-action, .btn-secondary-outline {
        width: 100%;
    }
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    border-radius: var(--radius-organic); /* Asymmetrical leaf-like shape */
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    background-color: var(--clr-bg-white);
    padding: 10px;
    border: 1px solid var(--clr-forest-soft);
    transition: var(--transition-smooth);
}

.hero-image-container:hover {
    transform: scale(1.02);
}

.hero-featured-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: inherit;
}

@media (max-width: 768px) {
    .hero-featured-image { height: 380px; }
}

.hero-floating-glass-tag {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--clr-forest-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-medium);
}

.glow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--clr-success);
    box-shadow: 0 0 10px var(--clr-success);
}


/* --- TRUST TICKER BAR (Purelis / Verdora style) --- */
.credentials-bar {
    border-top: 1px solid var(--clr-forest-soft);
    border-bottom: 1px solid var(--clr-forest-soft);
    background-color: var(--clr-bg-white);
    margin-top: 80px;
    padding: 24px 0;
}

.credentials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .credentials-container {
        justify-content: center;
        gap: 30px;
    }
}

.cred-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 550;
    color: var(--clr-text-muted);
}

.cred-icon {
    font-size: 1.25rem;
}

.cred-divider {
    width: 1px;
    height: 24px;
    background-color: var(--clr-forest-soft);
}

@media (max-width: 768px) {
    .cred-divider { display: none; }
}


/* --- SECCIÓN 2: EL RETO DE LA ETIQUETA --- */
.challenge-section {
    background-color: var(--clr-bg-cream);
}

.challenge-layout-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 960px) {
    .challenge-layout-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.section-badge-premium {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-accent-pink);
    display: block;
    margin-bottom: 12px;
}

.editorial-title-section {
    font-family: var(--font-editorial);
    font-size: 2.8rem;
    line-height: 1.15;
    font-weight: 400;
    color: var(--clr-forest-dark);
}

@media (max-width: 768px) {
    .editorial-title-section { font-size: 2.2rem; }
}

.challenge-editorial-paragraph {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-top: 24px;
}

.clinical-mini-highlights {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.h-card {
    display: flex;
    flex-direction: column;
}

.h-card-num {
    font-family: var(--font-editorial);
    font-size: 2.2rem;
    color: var(--clr-forest-dark);
    border-bottom: 1.5px solid var(--clr-accent-pink);
    width: max-content;
    padding-bottom: 4px;
    line-height: 1.1;
}

.h-card-txt {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    margin-top: 8px;
    max-width: 150px;
    font-weight: 500;
}

/* Comparison table */
.comparison-table-card {
    background-color: var(--clr-bg-white);
    border: 1px solid var(--clr-forest-soft);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-medium);
}

@media (max-width: 550px) {
    .comparison-table-card { padding: 24px; }
}

.comparison-table-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--clr-forest-dark);
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 16px 0;
    border-bottom: 1px solid var(--clr-forest-soft);
    font-size: 0.9rem;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-header {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-forest-dark);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--clr-forest-dark);
}

.feat-name {
    font-weight: 600;
    color: var(--clr-forest-dark);
}

.bad-feat {
    color: #C05656;
    padding-left: 10px;
}

.good-feat {
    color: var(--clr-forest-dark);
    font-weight: 600;
    background-color: rgba(243, 245, 242, 0.8);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(45, 63, 51, 0.05);
}


/* --- CLINICAL RESULTS STATS SECTION (Luméa/Natura Labs) --- */
.results-banner-section {
    background-color: var(--clr-forest-dark);
    color: var(--clr-text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

@media (max-width: 820px) {
    .results-stats-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.stat-card-premium {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-circle-box {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-bar {
    transition: stroke-dashoffset 0.8s ease-in-out;
}

.stat-number {
    position: absolute;
    font-family: var(--font-editorial);
    font-size: 2rem;
    font-weight: 400;
    color: var(--clr-text-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stat-card-premium h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--clr-text-light);
}

.stat-card-premium p {
    font-size: 0.95rem;
    color: #A3B8A8;
    line-height: 1.6;
    max-width: 300px;
}


/* --- PRODUCT CATALOG SECTION --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-card-premium {
    background-color: var(--clr-bg-white);
    border: 1px solid var(--clr-forest-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.product-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--clr-accent-violet);
}

.product-image-box {
    background-color: var(--clr-bg-cream);
    padding: 30px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--clr-forest-soft);
}

.catalog-img-element {
    max-height: 220px;
    object-fit: contain;
    transition: var(--transition-bounce);
}

.product-card-premium:hover .catalog-img-element {
    transform: scale(1.06);
}

.size-badge-floating {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--clr-forest-dark);
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
}

.card-glass-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 63, 51, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.product-card-premium:hover .card-glass-hover {
    opacity: 1;
}

.hover-action-text {
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border: 1.5px solid var(--clr-text-light);
    border-radius: 999px;
    transform: translateY(12px);
    transition: var(--transition-smooth);
}

.product-card-premium:hover .hover-action-text {
    transform: translateY(0);
}

.product-desc-box {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-meta-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--clr-accent-pink);
    margin-bottom: 8px;
}

.product-desc-box h3 {
    font-family: var(--font-editorial);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--clr-forest-dark);
}

.product-snippet-text {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.catalog-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--clr-forest-dark);
}

.btn-card-technical {
    background-color: var(--clr-bg-sage);
    color: var(--clr-forest-dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-forest-soft);
}

.product-card-premium:hover .btn-card-technical {
    background: var(--clr-accent-gradient);
    color: var(--clr-text-light);
    border-color: transparent;
    box-shadow: var(--shadow-violet-glow);
}


/* --- INGREDIENTES CIENTÍFICOS GRID (Moss style) --- */
.ingredients-section {
    background-color: var(--clr-bg-cream);
    border-top: 1px solid var(--clr-forest-soft);
}

.ingredients-interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.ingredient-card-premium {
    background-color: var(--clr-bg-white);
    border: 1px solid var(--clr-forest-soft);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-bounce);
}

.ingredient-card-premium:hover {
    transform: translateY(-5px);
    border-color: var(--clr-forest-light);
    box-shadow: var(--shadow-medium);
}

.ing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.ing-label-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--clr-forest-light);
    background-color: var(--clr-bg-sage);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--clr-forest-soft);
}

.ing-symbol {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--clr-accent-pink);
    color: var(--clr-accent-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ingredient-card-premium h3 {
    font-family: var(--font-editorial);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--clr-forest-dark);
}

.ing-chemical-descr {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-top: 2px;
    font-style: italic;
}

.ing-divider {
    height: 1px;
    background-color: var(--clr-forest-soft);
    margin: 20px 0;
}

.ing-action-molecular strong {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--clr-forest-dark);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.ing-action-molecular p {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}


/* --- INTERACTIVE MODALS (MINI-LANDINGS) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 44, 34, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--clr-bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-forest-soft);
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-heavy);
    transform: translateY(35px);
    transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.4rem;
    color: var(--clr-text-muted);
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    color: var(--clr-forest-dark);
    transform: scale(1.1);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 520px;
}

@media (max-width: 820px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
    }
}

.modal-image-panel {
    position: relative;
    background-color: var(--clr-bg-sage);
}

.modal-lifestyle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.modal-badge-floating {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--clr-accent-gradient);
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: var(--shadow-violet-glow);
}

.modal-content-panel {
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media (max-width: 550px) {
    .modal-content-panel { padding: 24px; }
}

.modal-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--clr-accent-pink);
    letter-spacing: 0.08em;
}

.modal-title {
    font-family: var(--font-editorial);
    font-size: 2rem;
    font-weight: 400;
    color: var(--clr-forest-dark);
    margin-top: 6px;
    margin-bottom: 24px;
}

.modal-title .size-label {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    font-weight: 400;
    margin-left: 6px;
}

.scientific-tabs {
    margin-bottom: 30px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1.5px solid var(--clr-forest-soft);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 16px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    border-bottom: 2.5px solid transparent;
}

.tab-btn.active {
    color: var(--clr-forest-dark);
    border-color: var(--clr-forest-dark);
}

.tab-pane {
    display: none;
    font-size: 0.92rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.tab-pane.active {
    display: block;
    animation: modalTabFade 0.4s ease;
}

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

.benefits-bullet-list {
    list-style: none;
    margin-top: 14px;
}

.benefits-bullet-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.benefits-bullet-list li::before {
    content: "•";
    color: var(--clr-accent-pink);
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.step-guide {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-forest-light);
    color: var(--clr-forest-light);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.modal-cta-box {
    margin-top: auto;
    border-top: 1px solid var(--clr-forest-soft);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

@media (max-width: 550px) {
    .modal-cta-box {
        flex-direction: column;
        align-items: stretch;
    }
}

.modal-price-line {
    display: flex;
    flex-direction: column;
}

.price-prefix {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 750;
    color: var(--clr-forest-dark);
}


/* --- SECCIÓN 5: CIENCIA Y CARRUSEL --- */
.science-section {
    background-color: var(--clr-forest-dark);
    color: var(--clr-text-light);
}

.carousel-outer-wrapper {
    position: relative;
    max-width: 860px;
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .carousel-outer-wrapper { gap: 10px; }
}

.carousel-viewport {
    flex-grow: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    background-color: #121814;
    display: none;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.45s ease;
}

.slide-img {
    width: 100%;
    max-height: 480px;
    object-fit: contain;
}

.slide-caption {
    background: rgba(30, 44, 34, 0.9);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: #CEDCD0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--clr-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.carousel-nav-btn:hover {
    background: var(--clr-accent-gradient);
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: var(--shadow-violet-glow);
}

.carousel-nav-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 550px) {
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        position: absolute;
        z-index: 10;
    }
    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }
}

.carousel-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.indicator-dot.active {
    background-color: var(--clr-accent-pink);
    transform: scale(1.2);
    width: 18px;
    border-radius: 999px;
}

.video-container-wrapper {
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 60px;
    text-align: center;
}

.video-container-wrapper h3 {
    font-family: var(--font-editorial);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.video-card {
    max-width: 780px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.science-video {
    width: 100%;
    max-height: 440px;
    background-color: #000;
    display: block;
}


/* --- SECCIÓN 3: LA OFERTA IRRESISTIBLE (Order Builder) --- */
.offer-section {
    background-color: var(--clr-bg-cream);
}

.offer-layout-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .offer-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Order Builder Catalog Buttons */
.btn-card-add-cart {
    background-color: var(--clr-bg-sage);
    color: var(--clr-forest-dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-forest-soft);
    transition: var(--transition-smooth);
}

.btn-card-add-cart:hover {
    background: var(--clr-accent-gradient);
    color: var(--clr-text-light);
    border-color: transparent;
    box-shadow: var(--shadow-violet-glow);
    transform: translateY(-1px);
}

/* Cart Item Selector List */
.order-selector-panel {
    display: flex;
    flex-direction: column;
}

.panel-subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-forest-dark);
    margin-bottom: 20px;
    border-left: 3px solid var(--clr-accent-pink);
    padding-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.selection-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-selector-item {
    background-color: var(--clr-bg-white);
    border: 1px solid var(--clr-forest-soft);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.cart-selector-item:hover {
    border-color: var(--clr-forest-light);
    box-shadow: var(--shadow-medium);
}

.featured-cart-item {
    border: 2px dashed var(--clr-accent-pink);
    background-color: #FAF6F9;
}

.item-visual {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--clr-bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--clr-forest-soft);
    flex-shrink: 0;
}

.item-visual img {
    max-height: 70px;
    object-fit: contain;
}

.item-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
    gap: 10px;
}

.item-title-row h4 {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--clr-forest-dark);
}

.item-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-forest-dark);
    flex-shrink: 0;
}

.item-desc {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
    margin-bottom: 10px;
}

.badge-gift {
    color: var(--clr-accent-pink);
    font-weight: 600;
}

/* Quantity Control Buttons */
.item-qty-controller {
    display: flex;
    align-items: center;
    gap: 14px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--clr-forest-soft);
    background-color: var(--clr-bg-cream);
    color: var(--clr-forest-dark);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background-color: var(--clr-forest-dark);
    color: var(--clr-text-light);
    border-color: var(--clr-forest-dark);
}

.qty-display {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-forest-dark);
    min-width: 14px;
    text-align: center;
}

/* Checkout Details Form Panel */
.order-checkout-panel {
    background-color: var(--clr-bg-white);
    border: 1px solid var(--clr-forest-soft);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-medium);
    position: sticky;
    top: 90px;
}

@media (max-width: 550px) {
    .order-checkout-panel { padding: 24px; }
}

.checkout-form-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.form-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-input-wrapper label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-forest-dark);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--clr-forest-soft);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--clr-text-dark);
    background-color: var(--clr-bg-cream);
    transition: var(--transition-smooth);
    outline: none;
}

.form-input-wrapper input:focus {
    border-color: var(--clr-accent-violet);
    background-color: var(--clr-bg-white);
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.1);
}

/* Shipping Progress Alert */
.upsell-container {
    background-color: var(--clr-bg-cream);
    border: 1px solid var(--clr-forest-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.upsell-container.active {
    border-color: var(--clr-success);
    background-color: rgba(16, 185, 129, 0.02);
}

.upsell-progress-header {
    margin-bottom: 8px;
}

.progress-status {
    font-size: 0.88rem;
    color: var(--clr-forest-dark);
}

.progress-status strong {
    color: var(--clr-accent-pink);
}

.upsell-container.active .progress-status strong {
    color: var(--clr-success);
}

.upsell-progress-bar-wrapper {
    height: 6px;
    background-color: var(--clr-forest-soft);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 12px;
}

.upsell-progress-bar {
    height: 100%;
    background: var(--clr-accent-gradient);
    border-radius: 999px;
    transition: width 0.5s ease-out;
}

.shipping-info-alert {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
}

/* Receipt breakdown table */
.price-breakdown-card {
    background-color: var(--clr-bg-cream);
    border: 1px solid var(--clr-forest-soft);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.empty-receipt-msg {
    text-align: center;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    font-style: italic;
    padding: 10px 0;
}

.receipt-row-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--clr-forest-dark);
    margin-bottom: 8px;
}

.receipt-row-item span:first-child {
    font-weight: 500;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    margin-bottom: 10px;
}

.divider {
    height: 1px;
    background-color: var(--clr-forest-soft);
    margin: 12px 0;
}

.total-row {
    color: var(--clr-forest-dark);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.total-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--clr-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Order Submission and Validation States */
.checkout-submit-wrapper {
    display: flex;
    flex-direction: column;
}

.btn-offer-checkout {
    width: 100%;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    padding: 16px;
    border-radius: var(--radius-md);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.disabled-btn {
    background-color: var(--clr-forest-soft) !important;
    color: var(--clr-text-muted) !important;
    border: 1px solid var(--clr-forest-soft) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    pointer-events: none;
}

.cta-footnote {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    text-align: center;
    margin-top: 14px;
}



/* --- SITE FOOTER --- */
.site-footer {
    background-color: var(--clr-bg-cream);
    position: relative;
}

.footer-wave-svg {
    width: 100%;
    height: 60px;
    display: block;
    margin-bottom: -10px;
}

.footer-wave-svg svg {
    width: 100%;
    height: 100%;
}

.footer-bg-wrapper {
    background-color: var(--clr-forest-dark);
    color: var(--clr-text-light);
}

.site-footer .section-container {
    padding-top: 40px;
}

/* Scientific Tip (Ekaterina/Moss inspired layout box) */
.footer-scientific-tip {
    background-color: var(--clr-bg-white);
    border: 1px solid var(--clr-forest-medium);
    border-radius: var(--radius-md);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto 60px auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.footer-scientific-tip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--clr-accent-gradient);
}

.tip-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--clr-forest-dark);
    color: var(--clr-text-light);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-scientific-tip p {
    font-size: 1.05rem;
    color: var(--clr-text-dark);
    line-height: 1.6;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 0.9fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 820px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 500px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }
}

.footer-about .footer-logo {
    height: 44px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    color: #A3B8A8;
    max-width: 280px;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--clr-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-col ul {
    list-style: none;
}

.footer-links-col ul li {
    margin-bottom: 10px;
}

.footer-links-col ul li a {
    font-size: 0.9rem;
    color: #A3B8A8;
}

.footer-links-col ul li a:hover {
    color: var(--clr-text-light);
    padding-left: 4px;
}

.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: #CEDCD0;
}

.social-btn:hover {
    border-color: var(--clr-accent-pink);
    color: var(--clr-text-light);
    transform: translateY(-2px);
}

.icon-social {
    width: 18px;
    height: 18px;
}

.footer-bottom-line {
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
    color: #A3B8A8;
}
