/* ============================================
   HERENTIA NATURAL — Estilos globales
   Paleta: verde oliva + dorado + crema
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --verde-oscuro: #1a2408;
  --verde: #3d4a1f;
  --verde-medio: #2c3815;
  --dorado: #d4a92a;
  --crema: #f5f0e8;
  --crema-claro: #faf7f2;
  --verde-suave: #f0f4e8;
  --texto: #2a2a2a;
  --texto-suave: #666;
  --blanco: #ffffff;
  --whatsapp: #25d366;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.7;
}

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

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

/* ---------- TIPOGRAFÍA ---------- */
h1, h2, h3, .serif { font-family: 'Playfair Display', serif; }

.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--verde);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 16px;
  color: var(--texto-suave);
  max-width: 620px;
  font-weight: 300;
}

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 36, 8, 0.97);
  backdrop-filter: blur(8px);
  padding: 14px 0;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  color: var(--blanco);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
}

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

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

.nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

.nav a:hover { color: var(--dorado); }

.nav .btn-wa-nav {
  background: var(--whatsapp);
  color: white;
  padding: 9px 18px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 13px;
}

.nav .btn-wa-nav:hover { color: white; opacity: .9; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(140deg, var(--verde-oscuro) 0%, var(--verde) 55%, var(--verde-medio) 100%);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(212,169,42,0.15);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(212,169,42,0.1);
}

.hero-tag {
  display: inline-block;
  background: rgba(212,169,42,0.15);
  border: 1px solid rgba(212,169,42,0.4);
  color: var(--dorado);
  padding: 7px 20px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  color: white;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--dorado);
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 18px;
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 38px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-wa {
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-gold {
  background: var(--dorado);
  color: var(--verde-oscuro);
  box-shadow: 0 6px 20px rgba(212,169,42,0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover { border-color: var(--dorado); color: var(--dorado); }

.btn-verde {
  background: var(--verde);
  color: white;
}

/* ---------- BARRA DE CONFIANZA ---------- */
.trust-bar {
  background: var(--verde-oscuro);
  border-top: 1px solid rgba(212,169,42,0.25);
  padding: 22px 0;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.trust-item {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-item .icon { font-size: 22px; }
.trust-item strong { color: var(--dorado); font-weight: 600; }

/* ---------- SECCIONES ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--crema-claro); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .section-sub { margin: 0 auto; }

/* ---------- FILOSOFÍA (4 PASOS) ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: white;
  border-radius: 16px;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  position: relative;
  transition: transform .25s;
}

.step-card:hover { transform: translateY(-6px); }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--dorado);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.step-icon { font-size: 38px; margin-bottom: 14px; }

.step-card h3 { color: var(--verde); font-size: 20px; margin-bottom: 8px; }

.step-card p { font-size: 13.5px; color: var(--texto-suave); line-height: 1.6; }

/* ---------- GRID DE PRODUCTOS ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.product-img {
  background: linear-gradient(135deg, var(--verde-oscuro), var(--verde));
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-img .emoji { font-size: 60px; }

.product-star {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--dorado);
  color: var(--verde-oscuro);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 14px;
  text-transform: uppercase;
}

.product-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: var(--verde);
  margin-bottom: 4px;
}

.product-desc {
  font-size: 13px;
  color: var(--texto-suave);
  margin-bottom: 14px;
  flex: 1;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 14px;
}

.product-price small {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--texto-suave);
  font-weight: 400;
  display: block;
}

.product-actions { display: flex; gap: 8px; }

.product-actions .btn {
  padding: 11px 16px;
  font-size: 13px;
  border-radius: 24px;
  flex: 1;
  justify-content: center;
}

.btn-ficha {
  background: var(--verde-suave);
  color: var(--verde);
}

/* ---------- PROGRAMAS ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}

.program-card {
  background: linear-gradient(140deg, var(--verde-oscuro), var(--verde-medio));
  border-radius: 18px;
  padding: 32px 30px;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s;
}

.program-card:hover { transform: translateY(-6px); }

.program-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,169,42,0.25);
}

.program-linea {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dorado);
  font-weight: 600;
  margin-bottom: 10px;
}

.program-card h3 {
  font-size: 23px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.program-card .program-frase {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-style: italic;
  margin-bottom: 18px;
  flex: 1;
}

.program-includes {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  line-height: 1.9;
}

.program-includes strong { color: var(--dorado); }

.program-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.program-price-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

.program-price-tag strong {
  display: block;
  color: var(--dorado);
  font-size: 15px;
  font-weight: 700;
}

/* ---------- BANNER TEST ---------- */
.test-banner {
  background: linear-gradient(120deg, var(--dorado), #b8901f);
  border-radius: 22px;
  padding: 52px 46px;
  text-align: center;
  color: var(--verde-oscuro);
  position: relative;
  overflow: hidden;
}

.test-banner h2 {
  font-size: clamp(24px, 3.5vw, 34px);
  margin-bottom: 12px;
}

.test-banner p {
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 28px;
  opacity: .85;
}

.test-banner .btn {
  background: var(--verde-oscuro);
  color: white;
}

/* ---------- HISTORIA ---------- */
.historia-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.historia-visual {
  background: linear-gradient(140deg, var(--verde-oscuro), var(--verde));
  border-radius: 22px;
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--dorado);
  position: relative;
  overflow: hidden;
}

.historia-visual .big-icon { font-size: 90px; margin-bottom: 18px; }

.historia-visual .marca {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  letter-spacing: 3px;
  color: white;
}

.historia-visual .marca span { color: var(--dorado); }

.historia-texto p {
  font-size: 16px;
  color: var(--texto-suave);
  margin-bottom: 18px;
  font-weight: 300;
}

.historia-texto p strong { color: var(--verde); font-weight: 600; }

.historia-valores {
  display: flex;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.valor-chip {
  background: var(--verde-suave);
  color: var(--verde);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 20px;
}

/* ---------- TESTIMONIOS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}

.testimonial-stars { color: var(--dorado); font-size: 16px; margin-bottom: 12px; }

.testimonial-text {
  font-size: 14.5px;
  color: var(--texto-suave);
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--verde);
}

.testimonial-author small {
  display: block;
  font-weight: 400;
  color: var(--texto-suave);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--verde);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--dorado);
  transition: transform .25s;
  flex-shrink: 0;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--texto-suave);
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 22px;
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: linear-gradient(140deg, var(--verde-oscuro), var(--verde));
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta-final h2 {
  color: white;
  font-size: clamp(26px, 4vw, 40px);
  max-width: 680px;
  margin: 0 auto 16px;
}

.cta-final h2 em { color: var(--dorado); font-style: italic; }

.cta-final p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 34px;
  font-weight: 300;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--verde-oscuro);
  border-top: 1px solid rgba(212,169,42,0.2);
  padding: 50px 0 30px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer h4 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 17px;
  margin-bottom: 14px;
}

.footer h4 span { color: var(--dorado); }

.footer p, .footer a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  line-height: 2;
}

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

.footer-links { display: flex; flex-direction: column; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: var(--whatsapp);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform .2s;
}

.wa-float:hover { transform: scale(1.1); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .historia-grid { grid-template-columns: 1fr; gap: 32px; }
  .historia-visual { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--verde-oscuro);
    flex-direction: column;
    padding: 20px;
    gap: 18px;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 72px; }
  .steps-grid { grid-template-columns: 1fr; }
  .test-banner { padding: 40px 24px; }
}
