/* --- FUENTES --- */
/* Importamos Playfair Display (Elegancia/Autoridad) y Roboto (Ciencia/Claridad) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* --- VARIABLES Y RESET --- */
:root {
  --cream: #f9f7f2;
  --cream-dark: #eeeae2;
  --olive: #2c3e30;
  --olive-light: #4a6350;
  --gold: #b4976b;
  --gold-hover: #9e8258;
  --white: #ffffff;
  --black: #1a1a1a;
  --shadow: 0 10px 30px rgba(44, 62, 48, 0.08); /* Sombra más suave y elegante */
  --whatsapp: #25D366;
  --mercadolibre: #ffe600;
}

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

body {
  /* Usamos Roboto para todo el texto base: limpio y científico */
  font-family: 'Roboto', sans-serif; 
  background-color: var(--cream);
  color: var(--olive);
  line-height: 1.7; /* Un poco más de aire para facilitar lectura */
  overflow-x: hidden;
  font-weight: 400;
}

/* --- TIPOGRAFÍA DE TÍTULOS (AUTORIDAD) --- */
h1, h2, h3, h4, .logo-text { 
  font-family: 'Playfair Display', serif; 
  font-weight: 700; 
  letter-spacing: -0.5px; /* Hace que los títulos se vean más compactos y modernos */
}

h1 { line-height: 1.15; }
h2 { color: var(--olive); margin-bottom: 1rem; }

/* --- NAV --- */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(249, 247, 242, 0.98);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  padding: 0.6rem 0;
}
nav .container {
  display: flex; justify-content: space-between; align-items: center;
  width: 90%; max-width: 1200px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 48px; width: auto; object-fit: contain; }

/* Logo más serio y elegante */
.logo-text { 
  font-family: 'Playfair Display', serif; 
  font-size: 1.5rem; 
  font-weight: 700; 
  color: var(--olive);
  text-transform: none; /* Mantenemos mayúsculas/minúsculas para elegancia */
  letter-spacing: 0px;
}

.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a { 
  text-decoration: none; 
  color: var(--olive); 
  font-family: 'Roboto', sans-serif; /* Menú limpio */
  font-weight: 500; 
  transition: 0.3s; 
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--gold); }

.btn-menu-buy {
  background: var(--gold); color: white !important;
  padding: 0.6rem 1.4rem; border-radius: 4px; /* Bordes menos redondos = más formalidad */
  font-weight: 500; box-shadow: 0 4px 10px rgba(180, 151, 107, 0.3);
  text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px;
}

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; background: var(--olive); margin: 5px; transition: 0.3s; }

/* --- HERO --- */
.hero {
  padding: 160px 0 100px;
  min-height: 90vh;
  display: flex; align-items: center;
  background: radial-gradient(circle at 70% 50%, #fffcf5, var(--cream));
}
.hero-container {
  width: 90%; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero h1 { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  color: var(--olive); 
  margin-bottom: 1rem; 
}
.hero .subtitle { 
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem; 
  color: var(--gold); 
  font-weight: 500; 
  text-transform: uppercase; 
  letter-spacing: 2px; /* Espaciado para dar aire premium */
  margin-bottom: 1.5rem; 
}
.hero p { font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 520px; color: #4a4a4a; }

.badge-hero { 
  display: inline-block; 
  background: #e8f5e9; color: #2e7d32; 
  padding: 6px 14px; border-radius: 4px; 
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 1.2rem; font-family: 'Roboto', sans-serif;
}

.hero-buttons { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn { 
  text-decoration: none; padding: 1rem 2rem; border-radius: 6px; /* Formalidad */
  font-weight: 700; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
  font-family: 'Roboto', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.9rem;
}
.btn-secondary { background: var(--olive); color: white; box-shadow: 0 10px 25px rgba(44, 62, 48, 0.2); }
.btn-secondary:hover { transform: translateY(-3px); background: var(--olive-light); }
.btn-text { color: var(--olive); font-weight: 600; border-bottom: 1px solid transparent; padding: 0.5rem; text-transform: none; letter-spacing: 0; }
.btn-text:hover { border-bottom: 1px solid var(--olive); }

.hero-trust { margin-top: 2.5rem; font-size: 0.9rem; color: #666; display: flex; gap: 1.5rem; font-weight: 500; }

.hero-product { position: relative; display: flex; justify-content: center; }
.product-circle { position: absolute; width: 400px; height: 400px; background: rgba(180, 151, 107, 0.1); border-radius: 50%; z-index: 0; }
.hero-product img { position: relative; z-index: 1; max-width: 100%; width: 400px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15)); }

.floating-img { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.pulse-btn { animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.03); } 100% { transform: scale(1); } }

/* --- BIO TEASER (QUIEN FUE) --- */
.bio-teaser { padding: 100px 0; background: var(--cream-dark); }
.bio-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: center; }
.bio-img img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); max-width: 400px; display: block; margin: 0 auto;}
.bio-text h2 { font-size: 3rem; margin-bottom: 1rem; }
.bio-text p { margin-bottom: 1.2rem; font-size: 1.1rem; color: #444; }
.tag-gold { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; display: block; margin-bottom: 1rem; }

/* --- PROBLEM SECTION --- */
.problem { padding: 100px 0; background: white; }
.problem-container { width: 90%; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 5rem; align-items: center; }
.problem h2 { font-size: 3rem; margin-bottom: 1.5rem; }
.lead-text { font-size: 1.2rem; margin-bottom: 2.5rem; font-weight: 300; color: #333; }
.pain-points-grid { display: grid; gap: 1.5rem; }
.pain-point { display: flex; align-items: flex-start; gap: 1.2rem; background: var(--cream); padding: 1.5rem; border-radius: 8px; border-left: 4px solid var(--gold); }
.pain-point .icon { font-size: 1.5rem; }
.pain-point strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 0.3rem; }
.card-info { background: var(--olive); color: var(--cream); padding: 3rem 2rem; border-radius: 8px; text-align: center; position: relative; }
.card-info::before { content: '❝'; font-size: 6rem; position: absolute; top: -30px; left: 20px; opacity: 0.15; font-family: serif; }
.card-info h3 { color: var(--gold); margin-bottom: 1rem; }

/* --- BENEFITS --- */
.benefits { padding: 100px 0; background: var(--cream); text-align: center; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 3rem; width: 90%; max-width: 1200px; margin: 0 auto; }
.benefit-card { background: white; padding: 2.5rem 2rem; border-radius: 8px; box-shadow: var(--shadow); transition: 0.3s; border-top: 4px solid transparent; }
.benefit-card:hover { transform: translateY(-5px); border-top: 4px solid var(--gold); }
.benefit-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }
.benefit-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.benefit-card p { font-size: 0.95rem; color: #555; }

/* --- CARRUSEL DE TESTIMONIOS (MARQUEE) --- */
.testimonials-marquee-section { padding: 80px 0; background: #fff; overflow: hidden; border-top: 1px solid #eee; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: 3rem; }
.section-header p { font-size: 1.2rem; color: #666; }

.marquee-container { width: 100%; overflow: hidden; position: relative; }
.marquee-container::before, .marquee-container::after {
    content: ""; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none;
}
.marquee-container::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, #fff, transparent); }

.marquee-track { display: flex; gap: 2rem; width: max-content; animation: scroll 50s linear infinite; } /* Más lento para poder leer */
.marquee-track:hover { animation-play-state: paused; } /* Se pausa si pasas el mouse */

.testimonial-card-mini {
    background: var(--cream);
    padding: 2rem;
    border-radius: 8px;
    width: 340px;
    flex-shrink: 0;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.testimonial-card-mini p { font-family: 'Roboto', sans-serif; font-size: 0.95rem; font-style: italic; color: #444; margin-bottom: 1rem; line-height: 1.6; }
.testimonial-card-mini small { font-family: 'Roboto', sans-serif; font-weight: 700; color: var(--olive); display: block; text-align: right; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-340px * 7 - 14rem)); } 
}

/* --- OFERTA --- */
.offer-section { padding: 100px 0; background: #1e2b22; color: white; }
.offer-wrapper { width: 90%; max-width: 1100px; margin: 0 auto; background: white; color: var(--olive); border-radius: 12px; padding: 4rem; box-shadow: 0 20px 50px rgba(0,0,0,0.4); position: relative; }
.offer-header { text-align: center; margin-bottom: 3rem; }
.offer-badge { background: var(--gold); color: white; padding: 6px 16px; border-radius: 4px; font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; font-family: 'Roboto', sans-serif; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.pack-display { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; margin-bottom: 1rem; position: relative; height: 180px; align-items: flex-end; }
.jar { width: 60px; transition: 0.3s; filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2)); }
.jar-1 { transform: rotate(-10deg) translateX(10px); z-index: 1; }
.jar-2 { transform: rotate(-5deg); z-index: 2; }
.jar-3 { z-index: 3; width: 70px; }
.jar-4 { transform: rotate(5deg); z-index: 2; }
.jar-5 { transform: rotate(10deg) translateX(-10px); z-index: 1; }
.jar-free-wrapper { position: relative; margin-left: 15px; z-index: 4; }
.jar-free { width: 75px; filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); }
.sticker-free { position: absolute; top: 20px; right: -10px; background: #d32f2f; color: white; font-size: 0.75rem; font-weight: 800; padding: 4px 8px; transform: rotate(15deg); box-shadow: 0 2px 5px rgba(0,0,0,0.3); font-family: 'Roboto', sans-serif; }

.pack-caption { text-align: center; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-top: 1rem;}
.price-box { font-size: 1.2rem; display: flex; align-items: center; gap: 15px; margin-bottom: 1.5rem; flex-wrap: wrap; }
.old-price { text-decoration: line-through; color: #999; font-weight: 300; }
.new-price { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--olive); }
.shipping-tag { background: #e0f2f1; color: #00695c; font-size: 0.8rem; padding: 4px 10px; border-radius: 4px; font-weight: 700; text-transform: uppercase; }
.benefits-list { list-style: none; margin-bottom: 2.5rem; }
.benefits-list li { margin-bottom: 0.8rem; border-bottom: 1px solid #eee; padding-bottom: 0.5rem; display: flex; gap: 10px; font-weight: 400; color: #333; }

.btn-big { width: 100%; text-align: center; padding: 1.2rem; font-size: 1rem; margin-bottom: 12px; letter-spacing: 1px; }
.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-ml { background: var(--mercadolibre); color: #333; }
.guarantee-text { text-align: center; font-size: 0.85rem; color: #888; margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* --- ESTILOS ESPECÍFICOS PARA PAGINA BIO (santa-hildegarda.html) --- */
.bio-page-content { padding: 60px 0; width: 90%; max-width: 800px; margin: 0 auto; }
.bio-page-content h2 { font-size: 2.5rem; border-bottom: 2px solid var(--gold); padding-bottom: 1rem; margin-bottom: 2rem; display: inline-block; }
.bio-page-content h3 { font-size: 1.8rem; color: var(--olive); margin-top: 3rem; margin-bottom: 1rem; }
.bio-page-content p { margin-bottom: 1.5rem; text-align: justify; font-size: 1.1rem; line-height: 1.8; color: #444; }
.bio-page-content ul { margin-left: 2rem; margin-bottom: 2rem; }
.bio-page-content li { margin-bottom: 0.8rem; font-size: 1.05rem; }
.bio-page-content blockquote { border-left: 4px solid var(--gold); padding-left: 1.5rem; font-style: italic; margin: 2.5rem 0; background: #fff; padding: 2rem; border-radius: 0 8px 8px 0; font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--olive); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.indice-box { background: white; padding: 2rem; border-radius: 8px; border: 1px solid #eee; margin-bottom: 2rem; float: right; width: 300px; margin-left: 2rem; box-shadow: var(--shadow); }

/* --- FOOTER --- */
footer { background: var(--olive); color: var(--cream); padding: 80px 0 30px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; margin-bottom: 4rem; }
.footer-brand h3 { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 0.85rem; opacity: 0.7; letter-spacing: 1px; }

/* --- FADE IN --- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: absolute; top: 60px; right: 0; height: 100vh; background: var(--cream);
        flex-direction: column; align-items: center; justify-content: center; width: 70%;
        transform: translateX(100%); transition: 0.4s; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-links.active { transform: translateX(0); }
    
    .hero-container, .problem-container, .offer-grid, .bio-grid { grid-template-columns: 1fr; text-align: center; }
    .hero { padding-top: 120px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-product { order: -1; margin-bottom: 3rem; }
    .product-circle { width: 280px; height: 280px; }
    .hero-product img { width: 280px; }
    .hero-buttons { justify-content: center; }
    
    .bio-img img { margin: 0 auto; }
    .indice-box { float: none; width: 100%; margin-left: 0; }
    
    .price-box { justify-content: center; }
    .offer-wrapper { padding: 2rem 1.5rem; }
}