/* style.css */
:root {
    --primary-color: #10B981;
    /* Emerald green - health/nature */
    --primary-hover: #059669;
    --accent-red: #F43F5E;
    /* Rose red - urgency/warmth */
    --accent-red-hover: #E11D48;
    --bg-main: #FFFFFF;
    --bg-soft: #FFF9FA;
    /* Ultra light pastel pink/red */
    --bg-gradient: linear-gradient(135deg, #FFF1F2, #EAFBFA);

    --text-main: #1F2937;
    --text-light: #4B5563;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --border-radius: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-main);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.bg-soft {
    background-color: var(--bg-soft);
}

.bg-gradient {
    background: var(--bg-gradient);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background-color: var(--accent-red);
    color: white;
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.btn-secondary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.5);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(244, 63, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
    }
}

.btn-pulse {
    background-color: var(--accent-red);
    box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
    animation: pulse 2s infinite;
}

.btn-pulse:hover {
    background-color: var(--accent-red-hover);
    animation: none;
    transform: translateY(-2px);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent-red);
    letter-spacing: -1px;
}

.header-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    display: none;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    margin-right: 20px;
    transition: color 0.2s;
}

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

@media (min-width: 768px) {
    .header-subtitle {
        display: block;
    }
}

/* Hero Section */
.hero {
    padding: 60px 0 80px;
    background: radial-gradient(circle at top right, #FFF1F2 0%, #FFFFFF 60%);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr 400px;
    }
}

.hero-text .title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: var(--primary-color);
}

.hero-text .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: start !important;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.05rem;
}

.benefits-list .icon {
    font-size: 1.5rem;
    margin-right: 15px;
    background: var(--bg-soft);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-visual {
    position: relative;
    text-align: center;
}

.hero-product {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    position: relative;
    z-index: 2;
}

/* Hero Text Enhancements */
.hero-pretitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.hero-brand-title {
    font-size: clamp(3rem, 8vw, 5.5rem) !important;
    font-weight: 800;
    line-height: 1 !important;
    letter-spacing: -2px;
    margin-bottom: 14px !important;
    color: var(--text-main);
}

.hero-brand-accent {
    color: var(--primary-color);
}

/* Modern SVG benefit list */
.benefits-list-modern {
    list-style: none;
    margin-bottom: 30px;
}

.benefits-list-modern li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.benefit-icon-svg {
    flex-shrink: 0;
    color: var(--primary-color);
    background: #D1FAE5;
    padding: 6px;
    border-radius: 8px;
    width: 34px;
    height: 34px;
}

/* =============================================
   FORM BOX — Página paleta de colores
   ============================================= */
.hero-form-dark {
    background: linear-gradient(160deg, #ECFDF5 0%, #F9FAFB 55%, #EFF6FF 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.18) !important;
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    position: relative;
    overflow: hidden;
    padding: 28px 26px 22px !important;
}

.hero-form-dark::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.form-dark-title {
    text-align: center;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
}

/* Countdown */
.countdown-dark {
    gap: 8px !important;
    justify-content: center;
}

.time-block-dark {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(16, 185, 129, 0.16);
    border-radius: 10px !important;
    padding: 10px 14px !important;
    min-width: 58px;
    position: relative;
}

.time-block-dark span {
    font-family: 'Courier New', monospace;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 2px;
    display: block;
    text-align: center;
}

.time-block-dark small {
    color: var(--text-light) !important;
    font-size: 0.55rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    margin-top: 4px !important;
}

.countdown-sep {
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(31, 41, 55, 0.35);
    line-height: 1;
    align-self: center;
    padding-bottom: 18px;
}

/* Price block */
.price-block-dark {
    text-align: center;
    margin: 18px 0;
    padding: 14px 0;
    border-top: 1px solid rgba(16, 185, 129, 0.16);
    border-bottom: 1px solid rgba(16, 185, 129, 0.16);
}

.price-label-dark {
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(31, 41, 55, 0.55);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.price-sub-dark {
    font-size: 0.8rem;
    color: rgba(31, 41, 55, 0.6);
    margin-bottom: 8px;
}

.new-price-dark {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent-red);
    line-height: 1;
    margin-bottom: 4px;
}

.old-price-dark {
    font-size: 1rem;
    color: rgba(31, 41, 55, 0.45);
    text-decoration: line-through;
}

/* Form inputs */
.lead-form-dark {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.input-dark {
    width: 100%;
    padding: 14px 16px;
    background: white;
    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.2s;
}

.input-dark::placeholder {
    color: #9CA3AF;
}

.input-dark:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.input-dark:not(:placeholder-shown):user-invalid {
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
}

.error-dark {
    display: none;
    color: #E11D48;
    font-size: 0.78rem;
    margin-top: -4px;
}

.input-dark:not(:placeholder-shown):user-invalid~.error-dark {
    display: block;
}

/* CTA button */
.btn-ordena {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    text-transform: uppercase;
    margin-top: 4px;
}

.btn-ordena:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.55);
}

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

/* Callback text */
.form-callback-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.78rem;
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 0 8px;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(16, 185, 129, 0.16);
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(31, 41, 55, 0.75);
}

.trust-badge svg {
    flex-shrink: 0;
}

.trust-badge span {
    font-size: 0.65rem;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Box — old version override (preserve backward compat) */
.hero-form-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}


.offer-banner {
    background: #FEF2F2;
    color: var(--accent-red);
    padding: 10px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.price-box {
    text-align: center;
    margin-bottom: 20px;
}

.old-price {
    color: #9CA3AF;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.new-price {
    color: var(--text-main);
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.timer {
    text-align: center;
    margin-bottom: 25px;
}

.timer p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}

.time-block {
    background: var(--text-main);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.time-block small {
    font-size: 0.6rem;
    font-weight: 400;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Forms (Modern Guidance) */
.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #F9FAFB;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.error-message {
    display: none;
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Validate after interaction */
.input-group input:not(:placeholder-shown):user-invalid {
    border-color: var(--accent-red);
}

.input-group input:not(:placeholder-shown):user-invalid~.error-message {
    display: block;
}

.input-group input:not(:placeholder-shown):user-valid {
    border-color: var(--primary-color);
}

.security-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* Sections Common */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

section {
    padding: 80px 0;
}

/* Timeline */
.timeline {
    position: relative;
    overflow: hidden;
}

.timeline-container-horizontal {
    position: relative;
    margin: 60px 0 20px;
    padding: 0 10px;
}

.timeline-curve-wrapper {
    position: absolute;
    top: 0;
    /* Aligns with the top of the container */
    left: 0;
    width: 100%;
    height: 380px;
    z-index: 1;
    pointer-events: none;
    display: none;
    /* Only show on desktop */
}

@media (min-width: 992px) {
    .timeline-curve-wrapper {
        display: block;
    }
}

.timeline-curve-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.timeline-curve-svg path.active-path {
    stroke-dasharray: 8 6;
    animation: dash-flow 30s linear infinite;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -1000;
    }
}

.timeline-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .timeline-horizontal {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        align-items: flex-start;
    }
}

.timeline-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px 20px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (min-width: 992px) {
    .timeline-card {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    /* Steeper S-curve layout of cards on desktop */
    .timeline-card[data-step="1"] {
        margin-top: 240px;
    }

    .timeline-card[data-step="2"] {
        margin-top: 180px;
    }

    .timeline-card[data-step="3"] {
        margin-top: 120px;
    }

    .timeline-card[data-step="4"] {
        margin-top: 60px;
    }

    /* Make the cards bounce slightly on hover and get more solid */
    .timeline-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        background: white;
    }
}

/* Nodes on Desktop: floating above the card, sitting exactly on the curve! */
.timeline-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: var(--shadow-md);
    z-index: 3;
    transition: transform 0.3s ease;
}

.timeline-card:hover .timeline-node {
    transform: scale(1.1);
}

@media (min-width: 992px) {
    .timeline-node {
        position: absolute;
        top: -40px;
        /* Sits exactly on the S-curve coordinates */
        left: 50%;
        transform: translateX(-50%);
        margin-bottom: 0;
    }

    .timeline-card:hover .timeline-node {
        transform: translateX(-50%) scale(1.1);
    }
}

/* Color styles for nodes */
.timeline-node.danger {
    border: 3px solid #F43F5E;
    color: #F43F5E;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

.timeline-node.warning {
    border: 3px solid #F59E0B;
    color: #F59E0B;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.timeline-node.success {
    border: 3px solid #10B981;
    color: #10B981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.timeline-node.active {
    border: 3px solid #047857;
    color: #047857;
    box-shadow: 0 0 15px rgba(4, 120, 87, 0.3);
}

.node-icon {
    width: 24px;
    height: 24px;
}

.node-number {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: var(--shadow-sm);
}

.timeline-node.danger .node-number {
    background: #F43F5E;
}

.timeline-node.warning .node-number {
    background: #F59E0B;
}

.timeline-node.success .node-number {
    background: #10B981;
}

.timeline-node.active .node-number {
    background: #047857;
}

/* Labels / Badges */
.timeline-label {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-danger {
    background: rgba(244, 63, 94, 0.1);
    color: #F43F5E;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.badge-active {
    background: rgba(4, 120, 87, 0.1);
    color: #047857;
}

.timeline-card h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Mobile Vertical Line style when grid is vertical */
@media (max-width: 991px) {
    .timeline-container-horizontal {
        padding-left: 30px;
        margin-top: 40px;
    }

    .timeline-container-horizontal::before {
        content: '';
        position: absolute;
        top: 10px;
        bottom: 10px;
        left: 20px;
        width: 4px;
        background: linear-gradient(to bottom, #F43F5E, #F59E0B, #10B981, #047857);
        border-radius: 2px;
    }

    .timeline-card {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        padding: 20px;
        background: white;
    }

    .timeline-node {
        margin: 0;
        flex-shrink: 0;
        /* Pull it slightly to sit over the vertical timeline line */
        margin-left: -48px;
        background: white;
    }

    .card-content {
        flex-grow: 1;
    }
}

/* Ingredients Flow Layout */
.ingredients {
    position: relative;
    overflow: hidden;
}

.ingredients .container {
    position: relative;
    z-index: 2;
}

.anatomy-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    gap: 80px;
}

.anatomy-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    z-index: 2;
}

.anatomy-column.left {
    align-items: flex-end;
    text-align: right;
}

.anatomy-column.right {
    align-items: flex-start;
    text-align: left;
}

.anatomy-item {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.anatomy-item:hover {
    transform: translateY(-5px);
}

.anatomy-column.left .anatomy-item {
    flex-direction: row-reverse;
}

.anatomy-column.right .anatomy-item {
    flex-direction: row;
}

.anatomy-icon-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    z-index: 5;
}

.anatomy-icon-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 350px;
    height: 80px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(35px);
    pointer-events: none;
    background-size: 200% 100%;
}

.anatomy-column.left .anatomy-icon-wrap::after {
    left: 60%;
    transform-origin: left center;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.8) 0%, rgba(244, 63, 94, 0.8) 50%, transparent 100%);
    animation: shadow-flow-right 5s ease-in-out infinite alternate;
}

.anatomy-column.right .anatomy-icon-wrap::after {
    right: 60%;
    transform-origin: right center;
    background: linear-gradient(to left, rgba(16, 185, 129, 0.8) 0%, rgba(244, 63, 94, 0.8) 50%, transparent 100%);
    animation: shadow-flow-left 5s ease-in-out infinite alternate;
}

/* Orientación dispar hacia el centro */
.anatomy-column.left .anatomy-item:nth-child(1) .anatomy-icon-wrap::after {
    transform: translateY(-50%) rotate(22deg);
}

.anatomy-column.left .anatomy-item:nth-child(2) .anatomy-icon-wrap::after {
    transform: translateY(-50%) rotate(0deg);
}

.anatomy-column.left .anatomy-item:nth-child(3) .anatomy-icon-wrap::after {
    transform: translateY(-50%) rotate(-22deg);
}

.anatomy-column.right .anatomy-item:nth-child(1) .anatomy-icon-wrap::after {
    transform: translateY(-50%) rotate(-22deg);
}

.anatomy-column.right .anatomy-item:nth-child(2) .anatomy-icon-wrap::after {
    transform: translateY(-50%) rotate(0deg);
}

.anatomy-column.right .anatomy-item:nth-child(3) .anatomy-icon-wrap::after {
    transform: translateY(-50%) rotate(22deg);
}

@keyframes shadow-flow-right {
    0% {
        background-position: 0% 50%;
        opacity: 0.1;
    }

    100% {
        background-position: 100% 50%;
        opacity: 0.35;
    }
}

@keyframes shadow-flow-left {
    0% {
        background-position: 100% 50%;
        opacity: 0.1;
    }

    100% {
        background-position: 0% 50%;
        opacity: 0.35;
    }
}

.anatomy-blob {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary-main), #10b981);
    opacity: 0.3;
    z-index: 1;
    animation: morphing-blob 4s infinite ease-in-out;
}

@keyframes morphing-blob {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    34% {
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

.anatomy-icon {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.anatomy-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anatomy-icon svg,
.anatomy-icon i {
    width: 45px;
    height: 45px;
    object-fit: contain;
    color: var(--primary-main);
}

.anatomy-text {
    flex: 1;
}

.anatomy-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.anatomy-column.left .anatomy-header {
    justify-content: flex-end;
}

.anatomy-column.right .anatomy-header {
    justify-content: flex-start;
}

.anatomy-header h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0;
}

.clinical-badge {
    background: linear-gradient(135deg, var(--primary-main), var(--primary-hover));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    white-space: nowrap;
}

.anatomy-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

.anatomy-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
}

.anatomy-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 1;
    animation: blob-float 8s infinite alternate ease-in-out;
}

.product-anatomy {
    max-height: 250px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.molecule-wrap {
    position: absolute;
    width: 350px;
    height: 350px;
    z-index: 1;
    pointer-events: none;
}

.molecule {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--primary-main) 50%, var(--primary-hover) 100%);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.4);
    opacity: 0.85;
}

.molecule.m1 {
    width: 40px;
    height: 40px;
    top: 15%;
    left: 10%;
    animation: float-m1 4s infinite alternate ease-in-out;
}

.molecule.m2 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    right: 5%;
    animation: float-m2 5s infinite alternate ease-in-out;
}

.molecule.m3 {
    width: 30px;
    height: 30px;
    top: 40%;
    right: -5%;
    animation: float-m3 3.5s infinite alternate ease-in-out;
}

.molecule.m4 {
    width: 45px;
    height: 45px;
    bottom: 10%;
    left: 15%;
    animation: float-m4 4.5s infinite alternate ease-in-out;
}

.molecule.m5 {
    width: 25px;
    height: 25px;
    top: 0%;
    right: 30%;
    animation: float-m5 3s infinite alternate ease-in-out;
}

@keyframes float-m1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15px, -25px) scale(1.1);
    }
}

@keyframes float-m2 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-20px, -15px) scale(1.05);
    }
}

@keyframes float-m3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10px, 20px) scale(1.2);
    }
}

@keyframes float-m4 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-15px, 25px) scale(0.9);
    }
}

@keyframes float-m5 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(25px, 10px) scale(1.15);
    }
}

@keyframes blob-float {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
    }

    100% {
        transform: scale(1.05) translate(10px, -10px) rotate(5deg);
    }
}

@media (max-width: 992px) {
    .anatomy-layout {
        flex-direction: column;
        gap: 60px;
    }

    .anatomy-center {
        order: -1;
    }

    .anatomy-column.left,
    .anatomy-column.right {
        align-items: center;
        text-align: center;
    }

    .anatomy-item {
        flex-direction: column-reverse !important;
        text-align: center;
        max-width: 100%;
    }

    .anatomy-column.left .anatomy-header,
    .anatomy-column.right .anatomy-header {
        justify-content: center;
    }
}

/* Expert */
.expert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .expert-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.expert-image-box {
    text-align: center;
}

.expert-img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.expert-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.quote-box {
    background: white;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    margin: 30px 0;
    font-style: italic;
    font-weight: 600;
}

/* Reviews */
/* Reviews Slider styling */
.reviews-slider-wrapper {
    position: relative;
    padding: 0;
    margin: 40px auto 0;
    max-width: 100%;
    padding-bottom: 15px;
    /* bottom padding to give space for indicators and prevent cutoff */
}

@media (min-width: 768px) {
    .reviews-slider-wrapper {
        padding: 0 35px;
        /* reduced side padding to make the cards area wider */
    }
}

.reviews-slider-track-container {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
    /* vertical padding for card translations and shadows */
    margin: -15px 0;
    /* counter margin to keep layout flows perfectly aligned */
}

.reviews-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.review-slide {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .review-slide {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (min-width: 992px) {
    .review-slide {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

.review-card {
    background: white;
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.2);
}

.stars {
    color: #F59E0B;
    /* Golden Amber */
    font-size: 0.95rem;
    margin: 0;
    letter-spacing: 1px;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 5px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.review-author-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1.05rem;
}

.author-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

.author-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.verified-badge {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
    background: rgba(16, 185, 129, 0.08);
    padding: 1.5px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--text-main);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transform: translateY(-50%) scale(1.08);
}

.prev-btn {
    left: -15px;
}

.next-btn {
    right: -15px;
}

@media (max-width: 767px) {
    .slider-btn {
        display: none;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E5E7EB;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--primary-color);
}

/* =============================================
   CÓMO TOMAR SECTION
   ============================================= */
.how-to-take {
    position: relative;
    overflow: hidden;
}

.steps-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 40px;
    flex-direction: column;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 36px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    margin-top: 16px;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
}

.step-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    margin: 0 auto;
}

.step-green {
    background: linear-gradient(135deg, #D1FAE5, #6EE7B7);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.step-red {
    background: linear-gradient(135deg, #FFE4E6, #FCA5A5);
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--text-main);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    border: 2px solid white;
}

.step-emoji {
    font-size: 2.4rem;
    line-height: 1;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.connector-line {
    display: none;
}

.connector-arrow {
    font-size: 1.8rem;
    color: #D1D5DB;
    transform: rotate(90deg);
    line-height: 1;
}

.take-note {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border: 1px solid #BFDBFE;
    border-radius: 16px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.take-note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.take-note p {
    color: #1E40AF;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .steps-grid {
        flex-direction: row;
        align-items: center;
    }

    .step-connector {
        padding: 0 4px;
        flex-direction: column;
        flex-shrink: 0;
    }

    .connector-line {
        display: none;
    }

    .connector-arrow {
        transform: rotate(0deg);
        font-size: 2rem;
        color: #D1D5DB;
    }
}

/* =============================================
   CÓMO ORDENAR SECTION
   ============================================= */
.how-to-order {
    background: var(--bg-main);
    position: relative;
}

.how-to-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at bottom left, rgba(16, 185, 129, 0.05) 0%, transparent 65%),
        radial-gradient(ellipse at top right, rgba(244, 63, 94, 0.05) 0%, transparent 65%);
    pointer-events: none;
}

.order-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.order-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: white;
    border-radius: 20px;
    padding: 28px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.order-step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    padding-top: 4px;
}

.order-step-body {
    flex: 1;
}

.order-step-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.step-img-icon {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.order-step-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.order-step-body p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.65;
    margin: 0;
}

.order-cta-wrap {
    text-align: center;
    position: relative;
    z-index: 1;
}

.order-trust {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .order-steps {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .order-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .order-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .order-step-number {
        font-size: 2.4rem;
        width: auto;
    }
}

/* Footer */

.footer {
    background: var(--text-main);
    color: white;
    padding: 40px 0;
}

.footer .disclaimer {
    font-size: 0.8rem;
    color: #9CA3AF;
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations using view-timeline (Modern Web Guidance) */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-anim {
    animation: none !important;
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes fade-in-up {
            from {
                opacity: 0;
                transform: translateY(50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .scroll-anim {
            animation: fade-in-up auto linear backwards;
            animation-timeline: view();
            animation-range: entry 5% cover 25%;
        }
    }
}

/* JS Fallback classes for scroll-anim */
.js-fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.js-fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   DISCOUNT BADGE ON HERO PRODUCT
   ============================================= */
.product-badge-wrapper {
    position: relative;
    display: inline-block;
}

@keyframes badge-pop {
    0% {
        transform: scale(0.5) rotate(-15deg);
        opacity: 0;
    }

    70% {
        transform: scale(1.15) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes badge-wiggle {

    0%,
    100% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg);
    }
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: -10px;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #F43F5E, #E11D48);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.55), 0 0 0 4px white, 0 0 0 6px rgba(244, 63, 94, 0.3);
    animation: badge-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s both,
        badge-wiggle 3s ease-in-out 1.5s infinite;
    z-index: 10;
}

.discount-badge-pct {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.discount-badge-off {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    margin-top: 2px;
}

@keyframes ribbon-slide {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.discount-ribbon {
    position: absolute;
    bottom: 20px;
    left: -10px;
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px 6px 22px;
    border-radius: 0 20px 20px 0;
    box-shadow: 2px 4px 12px rgba(16, 185, 129, 0.4);
    clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 8px 100%, 0% 50%);
    animation: ribbon-slide 0.5s ease 0.8s both;
    z-index: 10;
}

/* =============================================
   CÓMO FUNCIONA SECTION
   ============================================= */
.how-works {
    background: var(--bg-main);
    position: relative;
    overflow: hidden;
}

.how-works::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.how-works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
}

@media (min-width: 640px) {
    .how-works-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .how-works-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.how-works-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.how-works-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.how-works-card:hover::after {
    left: 150%;
}

.how-works-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.how-works-card h3 {
    font-size: 1.15rem;
    margin: 16px 0 10px;
    color: var(--text-main);
}

.how-works-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.65;
}

.hw-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.how-works-card:hover .hw-icon {
    transform: scale(1.1) rotate(-3deg);
}

.hw-green {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    color: #059669;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

.hw-red {
    background: linear-gradient(135deg, #FFE4E6, #FECDD3);
    color: #E11D48;
    box-shadow: 0 6px 18px rgba(244, 63, 94, 0.25);
}

/* Stats bar */
.how-works-science {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.95), rgba(255, 243, 244, 0.95));
    border-radius: 28px;
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(16, 185, 129, 0.18);
    box-shadow: 0 18px 35px rgba(16, 185, 129, 0.08);
}

.how-works-science::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 25%, rgba(16, 185, 129, 0.18), transparent 24%),
        radial-gradient(circle at 88% 30%, rgba(244, 63, 94, 0.14), transparent 22%);
    pointer-events: none;
}

.hw-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 24px;
    position: relative;
    z-index: 1;
}

.hw-stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: transparent;
    line-height: 1;
    background: linear-gradient(135deg, #10B981, #047857);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hw-stat-label {
    color: var(--text-main);
    font-size: 0.88rem;
    margin-top: 6px;
    text-align: center;
    max-width: 140px;
}

.hw-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(16, 185, 129, 0.25);
    display: none;
}

@media (min-width: 640px) {
    .hw-stat-divider {
        display: block;
    }
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq {
    position: relative;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-light);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.open {
    max-height: 400px;
}

.faq-answer p {
    padding: 0 26px 22px;
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.7;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 16px;
}

/* Mobile tweaks: center hero title and hide header on small screens */
@media (max-width: 767px) {
    .header {
        display: none;
    }

    .hero .hero-text {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }

    .hero .hero-brand-title,
    .hero .hero-pretitle,
    .hero .subtitle {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center;
    }
}

/* =============================================
   FOOTER REDESIGN
   ============================================= */
.footer-top {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 30px;
}

@media (min-width: 640px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-brand p {
    color: #9CA3AF;
    font-size: 0.88rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.footer-disclaimers {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-top: 6px;
}

.footer-legal-links a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

.footer-copy {
    margin-top: 8px;
    color: #9CA3AF;
    font-size: 0.88rem;
}

/* =============================================
   HERO BOTTOM VARIANT
   ============================================= */
.hero-bottom {
    background: radial-gradient(circle at bottom left, #FFF1F2 0%, #FFFFFF 60%);
}

/* =============================================
   EXTRA ANIMATIONS & EFFECTS
   ============================================= */

/* Shimmer effect for CTA buttons */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.btn-pulse {
    background: linear-gradient(90deg, #F43F5E 0%, #E11D48 30%, #FF6B6B 50%, #E11D48 70%, #F43F5E 100%);
    background-size: 200% auto;
    animation: pulse 2s infinite, shimmer 4s linear infinite;
}

/* Number count-up animation for stats */
@keyframes count-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hw-stat-num {
    animation: count-up 0.6s ease forwards;
}

/* Glowing orb decoration for sections */
.how-works-card:nth-child(1) {
    animation-delay: 0.05s;
}

.how-works-card:nth-child(2) {
    animation-delay: 0.1s;
}

.how-works-card:nth-child(3) {
    animation-delay: 0.15s;
}

.how-works-card:nth-child(4) {
    animation-delay: 0.2s;
}

/* Staggered step cards */
.step-card:nth-child(1) {
    animation-delay: 0.05s;
}

.step-card:nth-child(3) {
    animation-delay: 0.1s;
}

.step-card:nth-child(5) {
    animation-delay: 0.15s;
}

/* Order step stagger */
.order-step:nth-child(1) {
    animation-delay: 0.05s;
}

.order-step:nth-child(2) {
    animation-delay: 0.1s;
}

.order-step:nth-child(3) {
    animation-delay: 0.15s;
}

.order-step:nth-child(4) {
    animation-delay: 0.2s;
}

/* FAQ stagger */
.faq-item:nth-child(1) {
    animation-delay: 0.05s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.15s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.25s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.3s;
}

/* Glowing green ring animation for primary CTA */
@keyframes glow-ring {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6), 0 4px 15px rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0), 0 4px 15px rgba(16, 185, 129, 0.4);
    }
}

.btn-primary {
    animation: glow-ring 3s ease-in-out infinite;
}

.btn-primary:hover {
    animation: none;
}

/* Floating shape glow */
@keyframes float-glow {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.6;
    }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float-glow 5s ease-in-out infinite;
}


/* Ingredient rows fade from different sides */
.ingredient-row:nth-child(odd).js-fade-in-up {
    transform: translateX(-40px);
    opacity: 0;
}

.ingredient-row:nth-child(even).js-fade-in-up {
    transform: translateX(40px);
    opacity: 0;
}

.ingredient-row.is-visible {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

/* Review cards hover glow */
.review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.12);
}

/* =============================================
   ENHANCED SECTIONS (Llamativo)
   ============================================= */

/* Glassmorphism what-is section */
.what-is-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.08);
    position: relative;
    overflow: hidden;
    margin-top: -20px;
    text-align: center;
}

.what-is-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
    z-index: -1;
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Modern gradient text for titles */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Modern floating cards for grid */
.llamativo-card {
    background: linear-gradient(145deg, #ffffff, #f9fafb);
    border-radius: 20px;
    padding: 35px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
}

.llamativo-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.llamativo-card.red-theme::after {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-red-hover));
}

.llamativo-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    background: #ffffff;
}

.llamativo-card.red-theme:hover {
    box-shadow: 0 20px 40px rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.3);
}

.llamativo-card:hover::after {
    transform: scaleX(1);
}

.llamativo-icon-wrap {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    color: var(--primary-color);
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.2);
    transition: transform 0.3s ease;
}

.llamativo-card.red-theme .llamativo-icon-wrap {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(244, 63, 94, 0.05));
    color: var(--accent-red);
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.2);
}

.llamativo-card:hover .llamativo-icon-wrap {
    transform: scale(1.15) rotate(5deg);
}

/* =============================================
   NEW LAYOUTS & ANIMATIONS (Assets Integration)
   ============================================= */

/* What-is Grid */
.what-is-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .what-is-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.what-is-card.text-left-card {
    text-align: left;
    margin-top: 0;
}

.what-is-image-wrap {
    position: relative;
    text-align: center;
    border-radius: 24px;
    padding: 20px;
}

.vitality-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    z-index: 0;
    border-radius: 50%;
}

.vitality-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.floating-product {
    position: absolute;
    bottom: -61px;
    right: -86px;
    z-index: 2;
    width: 250px;
}

.floating-product img {
    max-width: 100%;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* Floating Leaves */
.floating-leaf {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.leaf-top-left {
    top: -50px;
    left: -50px;
    width: 200px;
}

.leaf-bottom-right {
    bottom: -50px;
    right: -50px;
    width: 250px;
    transform: scaleX(-1);
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

.sway-anim {
    animation: sway 8s ease-in-out infinite;
}

/* Center Product Grid */
.benefits-center-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 992px) {
    .benefits-center-grid {
        grid-template-columns: 1fr 300px 1fr;
        gap: 40px;
    }
}

.benefits-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefits-center-visual {
    position: relative;
    text-align: center;
    padding: 40px 0;
}

.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.center-product-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

@keyframes pulse-anim {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.pulse-anim {
    animation: pulse-anim 4s ease-in-out infinite;
}

/* Staggered Scroll Animations */
.staggered-1 {
    transition-delay: 0.1s;
}

.staggered-2 {
    transition-delay: 0.2s;
}

.staggered-3 {
    transition-delay: 0.3s;
}

.staggered-4 {
    transition-delay: 0.4s;
}

/* High Quality Generated Hex Background */
.hex-bg-section {
    position: relative;
    background-image: url('../img/hex_medical_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hex-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 50%, rgba(255, 255, 255, 0.92) 100%);
    z-index: 1;
    pointer-events: none;
}

/* New Background Images Sections */
.bg-img-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.bg-img-waves {
    background-image: url('../img/bg_waves.png');
}

.bg-img-molecules {
    background-image: url('../img/bg_molecules.png');
}

.bg-img-spheres {
    background-image: url('../img/bg_spheres.png');
}

.bg-img-reviews {
    background-image: url('../img/bg_reviews.png');
}

.bg-img-order {
    background-image: url('../img/bg_order.png');
}

.bg-overlay-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

.benefits-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .benefits-grid-2x2 {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

.expert-bottle-overlay {
    position: absolute;
    bottom: -98px;
    left: -95px;
    width: 303px;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
    .expert-bottle-overlay {
        width: 140px;
        left: 10px;
        bottom: -15px;
    }
}

.benefits-clean-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto 0;
}

@media (min-width: 992px) {
    .benefits-clean-list {
        grid-template-columns: 1fr 1fr;
        gap: 40px 80px;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    border-bottom-color: var(--primary-main);
}

.benefit-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 80px;
}

.benefit-item:hover .benefit-number {
    color: var(--primary-main);
    -webkit-text-stroke: 0px transparent;
    transform: scale(1.15) rotate(-4deg);
}

.benefit-content h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-main);
    transition: color 0.3s ease;
}

.benefit-item:hover .benefit-content h3 {
    color: var(--primary-main);
}

.benefit-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
}