:root {
    --primary: #C9A959; /* Oro más elegante */
    --primary-dark: #A68A48; /* Oro más oscuro */
    --primary-light: #D5BE85; /* Oro más claro */
    --accent: #00695C; /* Verde azulado oscuro para acentos */
    --accent-light: #00897B; /* Verde azulado más claro */
    --dark: #393939; /* Negro profundo pero no total */
    --dark-card: #2A2A2A; /* Gris muy oscuro para tarjetas en fondo oscuro */
    --light: #F8F8F8; /* Blanco hueso */
    --light-card: #FFFFFF; /* Blanco puro para tarjetas */
    --text-dark: #303030; /* Texto oscuro */
    --text-light: #E8E8E8; /* Texto claro */
    --grey: #888888; /* Gris para texto secundario */
    --whatsapp: #25D366; /* Color oficial de WhatsApp */
    --modal-overlay: rgba(26, 26, 26, 0.85); /* Fondo semi-transparente para modales */
    --notification-bg: rgba(255, 255, 255, 0.9); /* Fondo semi-transparente para notificaciones */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

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

/* HEADER MEJORADO PARA MÓVILES */
header {
    background-color: rgba(26, 26, 26, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 169, 89, 0.1);
}

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

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.logo span {
    color: var(--primary-light);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.5s ease;
}

.logo:hover::after {
    width: 100%;
}

/* Menú hamburguesa para móviles */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 89, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9)), url('./img/fondo.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.hero-button-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.hero-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 89, 0.4);
}

.hero-button-primary:hover::before {
    left: 100%;
}

.hero-button-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.hero-button-secondary:hover {
    background: rgba(201, 169, 89, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.exclusive-badge {
    position: absolute;
    top: 150px;
    right: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: rotate(5deg);
    z-index: 5;
    animation: pulse 2s infinite;
    text-transform: uppercase;
}

/* NUEVA SECCIÓN: ZONA DE DOLOR */
.pain-section {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.pain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Estilos base para todas las tarjetas */
.pain-card {
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 169, 89, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

/* Tarjeta 1: Falta de energía (fondo claro) */
.pain-card-1 {
    background-color: rgba(242, 234, 218, 0.8); /* Fondo crema claro */
    color: #333; /* Texto oscuro */
}
.pain-card-1 .pain-title {
    color: var(--primary-dark);
}
.pain-card-1 .pain-description {
    color: #333;
}

/* Tarjeta 2: Dolores de cabeza (fondo oscuro) */
.pain-card-2 {
    	
    background-color: rgba(127, 85, 57, 0.15); /* Fondo oscuro */
    color: var(--text-light); /* Texto claro */
}
.pain-card-2 .pain-title {
    color: var(--primary);
}
.pain-card-2 .pain-description {
    color: #333;
}

/* Tarjeta 3: Sistema inmune (fondo claro) */
.pain-card-3 {
    background-color: rgba(222, 229, 239, 0.8); /* Fondo azul muy claro */
    color: #333; /* Texto oscuro */
}
.pain-card-3 .pain-title {
    color: var(--primary-dark);
}
.pain-card-3 .pain-description {
    color: #333;
}

/* Tarjeta 4: Concentración (fondo claro) */
.pain-card-4 {
    background-color: rgba(230, 233, 224, 0.8); /* Fondo verde oliva muy claro */
    color: #333; /* Texto oscuro */
}
.pain-card-4 .pain-title {
    color: var(--primary-dark);
}
.pain-card-4 .pain-description {
    color: #333;
}

/* Efecto hover común para todas */
.pain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(201, 169, 89, 0.3);
    background-color: rgba(25, 21, 17, 0.9); /* Fondo oscuro al hacer hover */
    color: var(--text-light); /* Texto claro al hacer hover */
}
.pain-card:hover .pain-title {
    color: var(--primary); /* Color dorado para el título en hover */
}
.pain-card:hover .pain-description {
    color: var(--text-light); /* Texto claro en hover */
}

.pain-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.pain-title {
    font-size: 22px;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.pain-description {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.pain-solution {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 40px;
    border: 1px solid rgba(201, 169, 89, 0.2);
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.solution-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.solution-title {
    font-size: 30px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.solution-description {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.solution-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    border: none;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.solution-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 169, 89, 0.3);
}

/* TARJETAS DE PRODUCTOS MEJORADAS */
.products-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    z-index: 0;
}

.section-title {
    font-size: 44px;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.products-section .section-title {
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--grey);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.title-decoration {
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 10px auto 30px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.product-card {
    background-color: var(--light-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 1px;
}

.product-badge.bestseller {
    background-color: var(--primary);
    color: var(--dark);
}

.product-badge.sugarfree {
    background-color: var(--accent);
    color: white;
}

.product-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.product-description {
    color: var(--grey);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 25px;
}

.current-price {
    font-size: 28px;
    color: var(--primary-dark);
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
}

.original-price {
    font-size: 18px;
    color: var(--grey);
    text-decoration: line-through;
    margin-left: 15px;
    font-weight: 300;
}

.product-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-icon {
    color: var(--primary);
    margin-right: 10px;
    font-size: 14px;
}

.buy-button {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 12px 0;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.buy-button:hover {
    background: var(--primary);
}

/* SECCION SIN AZUCAR REFINADA */
.sugarfree-section {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.sugarfree-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/api/placeholder/1200/800') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.sugarfree-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.sugarfree-image {
    flex: 1;
    height: 500px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.sugarfree-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sugarfree-content {
    flex: 1;
    padding: 50px;
    background-color: rgba(42, 42, 42, 0.9);
    border-radius: 8px;
    margin-left: -100px;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 89, 0.1);
}

.sugarfree-badge {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.sugarfree-title {
    font-size: 44px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.sugarfree-description {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
    background-color: rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 89, 0.1);
    border-radius: 50%;
    color: var(--primary);
    font-size: 18px;
}

.discover-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    border: none;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.discover-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.discover-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 89, 0.3);
}

.discover-button:hover::before {
    left: 100%;
}

/* TESTIMONIOS ELEGANTES */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("");
    opacity: 1;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--light-card);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 40px;
    color: rgba(201, 169, 89, 0.1);
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid var(--primary);
    position: relative;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-family: 'Cormorant Garamond', serif;
}

.testimonial-position {
    font-size: 14px;
    color: var(--grey);
    margin-bottom: 15px;
}

.testimonial-rating {
    color: var(--primary);
    font-size: 16px;
    letter-spacing: 2px;
}

/* FAQ SECTION */
.faq-section {
    padding: 100px 0;
    background-color: var(--dark);
    position: relative;
}

.faq-section .section-title,
.faq-section .section-subtitle {
    color: var(--primary);
}

.faq-section .section-subtitle {
    color: var(--text-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--dark-card);
    border: 1px solid rgba(201, 169, 89, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(201, 169, 89, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
    padding: 20px;
    background-color: rgba(42, 42, 42, 0.8);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary);
}

.faq-question:hover {
    background-color: rgba(201, 169, 89, 0.1);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-content {
    padding: 20px 0;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-toggle {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* FOOTER */
footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Cormorant Garamond', serif;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-text {
    color: var(--grey);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.7;
}

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

.footer-link {
    margin-bottom: 12px;
}

.footer-link a {
    color: var(--grey);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
    padding-left: 15px;
}

.footer-link a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    transition: all 0.3s ease;
}

.footer-link a:hover {
    color: var(--primary-light);
    padding-left: 20px;
}

.footer-link a:hover::before {
    left: 5px;
}

.footer-contact {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact-icon {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact-text {
    color: var(--grey);
    font-size: 14px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 255, 0.05);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
    color: var(--grey);
    font-size: 14px;
}

/* WHATSAPP BUTTON */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    white-space: nowrap;
    background-color: white;
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    right: 80px;
}

/* SOCIAL PROOF NOTIFICATIONS MEJORADAS */
.notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 300px;
    background-color: var(--notification-bg);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 999;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(201, 169, 89, 0.3);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
    animation: notification-pulse 2s infinite;
}

@keyframes notification-pulse {
    0% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 5px 30px rgba(201, 169, 89, 0.3);
    }
    100% {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
}

.notification-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
    flex-shrink: 0;
}

.notification-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 3px;
}

.notification-text {
    color: var(--grey);
    font-size: 12px;
}

.notification-close {
    color: var(--grey);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notification-close:hover {
    color: var(--text-dark);
}

/* MODAL STYLES */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-overlay);
    backdrop-filter: blur(5px);
}

.modal-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    max-width: 90%;
    width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 1101;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.4s ease;
    border: 1px solid rgba(201, 169, 89, 0.3);
}

.modal.show .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--grey);
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-content {
    padding: 40px;
    color: var(--text-dark);
}

.modal-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
}

.modal-description {
    font-size: 16px;
    color: var(--grey);
    margin-bottom: 30px;
    text-align: center;
}

.modal-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.modal-product-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(201, 169, 89, 0.1);
}

.modal-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.modal-product-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

.modal-product-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.modal-product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.modal-product-button {
    background-color: var(--primary-dark);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-product-button:hover {
    background-color: var(--primary);
}

/* Estilos para modal de detalles de producto */
.product-detail-container {
    width: 800px;
    max-width: 95%;
}

.product-detail-content {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.product-detail-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info {
    flex: 1;
}

.product-detail-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-detail-description {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-detail-specs {
    margin-bottom: 20px;
}

.product-detail-specs h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-detail-specs ul {
    list-style: none;
}

.product-detail-specs li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--grey);
}

.product-detail-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 18px;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.product-detail-current-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-right: 10px;
}

.product-detail-original-price {
    font-size: 16px;
    color: var(--grey);
    text-decoration: line-through;
}

.product-detail-quantity {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.product-detail-quantity label {
    margin-right: 15px;
    color: var(--text-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(201, 169, 89, 0.1);
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: var(--primary);
    color: white;
}

.quantity-btn.minus {
    border-radius: 4px 0 0 4px;
}

.quantity-btn.plus {
    border-radius: 0 4px 4px 0;
}

#quantity {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid rgba(201, 169, 89, 0.3);
    border-left: none;
    border-right: none;
}

.add-to-cart-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    border: none;
    padding: 12px 0;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.add-to-cart-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(201, 169, 89, 0.3);
}

/* Estilos para modal de productos sin azúcar */
.sugarfree-benefits {
    background-color: rgba(0, 105, 92, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.sugarfree-benefits h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 18px;
}

.sugarfree-benefits ul {
    list-style: none;
}

.sugarfree-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.sugarfree-benefits li i {
    color: var(--accent);
    margin-right: 10px;
}

/* Carrito flotante */
.cart-widget {
    position: fixed;
    bottom: 30px;
    right: 110px;
    background-color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 900;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cart-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(201, 169, 89, 0.4);
}

.cart-icon {
    color: var(--dark);
    font-size: 22px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--dark);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.cart-tooltip {
    position: absolute;
    right: 60px;
    background-color: var(--dark);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cart-widget:hover .cart-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ANIMACIONES */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: rotate(5deg) scale(1);
    }
    50% {
        transform: rotate(5deg) scale(1.05);
    }
    100% {
        transform: rotate(5deg) scale(1);
    }
}

/* RESPONSIVE DESIGN MEJORADO */
@media (max-width: 992px) {
    .products-grid, 
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sugarfree-container {
        flex-direction: column;
    }
    
    .sugarfree-image {
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }
    
    .sugarfree-content {
        width: 100%;
        margin-left: 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-content {
        flex-direction: column;
    }
    
    .countdown-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
  .header-container {
    position: relative;
    padding-right: 15px; /* Asegura espacio adecuado */
  }
    
    .logo {
        font-size: 24px;
        flex: 0 0 auto;
        margin-right: 15px;
    }
    
    .menu-icon {
        display: block;
        order: -1; /* Coloca el menú hamburguesa a la izquierda */
        margin-right: 10px;
        font-size: 20px;
    }
    
     .cta-button {
    padding: 8px 10px;
    font-size: 12px;
    max-width: 100px; /* Limita el ancho */
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: auto;
    margin-right: 0;
    text-align: center;
  }
    
    .nav-menu {
        position: fixed;
        top: 60px; /* Ajustado a la altura de la cabecera */
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.95);
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
   
    .menu-toggle:checked ~ .nav-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(201, 169, 89, 0.1);
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .hero-button-primary, 
    .hero-button-secondary {
        width: 100%;
        text-align: center;
        padding: 15px 0;
    }
    
    .exclusive-badge {
        top: 80px;
        right: 10px;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .section-title,
    .sugarfree-title,
    .modal-title {
        font-size: 32px;
    }
    
    .pain-grid,
    .products-grid, 
    .testimonials-grid,
    .modal-products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-detail-content {
        padding: 20px;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .cta-button, 
    .modal-container,
    .oferta-exclusiva {
        width: 100%;
        max-width: 95vw;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
    
    button, .button, a.button {
        max-width: 100%;
        white-space: normal;
    }
    
    .oferta-exclusiva {
        padding: 10px;
        font-size: 14px;
    }
    
    .whatsapp-button {
        bottom: 25px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .cart-widget {
        bottom: 25px;
        right: 85px;
        width: 50px;
        height: 50px;
    }
    
   
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        /* Centrar la línea decorativa debajo del título */
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-link a {
        padding-left: 0;
    }
    
    .footer-link a::before {
        display: none;
    }
 .notification {
        width: 90% !important;
        max-width: 400px !important;
        height: auto !important;
        padding: 8px 12px !important;
        bottom: 100px !important;
        left: 10px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .notification-avatar {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }
    
    .notification-content {
        flex: 1 !important;
        padding-right: 10px !important;
    }
    
    .notification-title {
        font-size: 13px !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }
    
    .notification-text {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}


@media (max-width: 576px) {
    .header-container {
        height: 70px;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .cta-button {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title, 
    .sugarfree-title,
    .modal-title {
        font-size: 26px;
    }
    
    .section-subtitle,
    .modal-description {
        font-size: 14px;
    }
    
    .countdown-container {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: auto;
        padding: 10px 5px;
    }
    
    .countdown-number {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .product-detail-content {
        padding: 15px;
    }
    
    .modal-product-card {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 60px;
        padding: 0 10px;
    }
    
      .logo {
        font-size: 20px;
    }
    
    .cta-button {
        padding: 6px 8px;
        font-size: 11px;
    }
}
    
    .menu-icon {
        font-size: 20px;
    }
    
    .whatsapp-button {
        bottom: 20px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 22px;
        z-index: 1001;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .cart-widget {
        bottom: 20px;
        right: 70px;
        width: 45px;
        height: 45px;
        z-index: 1001;
    }
    
    .cart-tooltip {
        display: none;
    }
    
    .notification {
        width: 220px;
        bottom: 80px;
        left: 15px;
    }
    
    .pain-card, 
    .product-card,
    .testimonial-card {
        padding: 15px;
    }
    
    .modal-container {
        width: 95%;
        max-height: 85vh;
    }
    /* Estilos para prueba social en pantallas de escritorio */
@media (min-width: 769px) {
    .notification {
        width: 450px !important;
        max-width: 450px !important;
        height: auto !important;
        padding: 10px 15px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .notification-avatar {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
    }
    
    .notification-content {
        flex: 1 !important;
        padding-left: 5px !important;
        padding-right: 10px !important;
    }
    
    .notification-title, 
    .notification-text {
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

