/* ==========================================================================
   FUENTES AUTOALOJADAS (Subset latino + español, font-display: swap)
   Colocar los 6 archivos .woff2 en la carpeta /fonts/ del repositorio.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-024F, U+20AC;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-024F, U+20AC;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-024F, U+20AC;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-024F, U+20AC;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-024F, U+20AC;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0100-024F, U+20AC;
}

/* PALETA DE MARCA: Beige (#f1ddad), Marrón (#61470A), Verde (#455d3c) */
:root {
  --beige: #f1ddad;
  --marron: #61470A;
  --verde: #455d3c;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--beige);
  color: var(--marron);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.15;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Barra superior */
.promo-bar {
  background-color: var(--verde);
  color: var(--beige);
  text-align: center;
  font-size: 0.83rem;
  font-weight: 500;
  padding: 9px 16px;
  border-bottom: 1px solid var(--marron);
}

/* Header compacto y ergonómico */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--beige);
  border-bottom: 2px solid var(--marron);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand-logo-full { display: inline-flex; align-items: center; justify-content: center; }
.brand-logo-compact { display: none; align-items: center; justify-content: center; }
.brand-logo-full img { height: 74px; width: auto; display: block; }
.brand-logo-compact img { height: 50px; width: auto; display: block; }
header.is-compact .brand-logo-full { display: none; }
header.is-compact .brand-logo-compact { display: inline-flex; }
header.is-compact .nav-inner { padding: 6px 0; }
@media (max-width: 639px) {
  .brand-logo-full { display: none; }
  .brand-logo-compact { display: inline-flex; }
  .nav-inner { padding: 6px 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--verde);
}

.nav-links a:hover {
  color: var(--marron);
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 2px solid var(--marron);
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

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

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

.btn-verde:hover {
  background-color: var(--marron);
  border-color: var(--marron);
  color: var(--beige);
}

.btn-marron {
  background-color: var(--marron);
  color: var(--beige);
  border-color: var(--marron);
}

.btn-marron:hover {
  background-color: var(--verde);
  border-color: var(--verde);
  color: var(--beige);
}

.btn-beige {
  background-color: var(--beige);
  color: var(--marron);
  border-color: var(--marron);
}

.btn-beige:hover {
  background-color: var(--verde);
  color: var(--beige);
  border-color: var(--beige);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* 1. HERO CON VIDEO EN LOOP DEL GALLINERO + CAPA NEGRA AL 50% + SLOGAN */
.video-hero {
  position: relative;
  width: 100%;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  overflow: hidden;
  border-bottom: 3px solid var(--marron);
}

.coop-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.video-scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.video-hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 64px 0;
  text-align: center;
  color: var(--beige);
}

.slogan-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--beige);
  color: var(--beige);
  margin-bottom: 18px;
}

.slogan-main {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  color: var(--beige);
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.55);
}

.slogan-sub {
  font-size: 1.05rem;
  color: var(--beige);
  max-width: 600px;
  margin: 0 auto 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.video-hero .btn-row {
  justify-content: center;
}

/* Secciones generales */
section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  color: var(--marron);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--marron);
  font-size: 1rem;
}

.pill {
  display: inline-block;
  background-color: var(--verde);
  color: var(--beige);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* 2. NUESTRA HISTORIA + GALERÍA + PILARES DE VALOR (SIN SHOCK DE PRECIO PREMATURO) */
.story-section {
  background-color: var(--beige);
  padding: 72px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.letters-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}

.letters-logo-wrap img.logo-letras-img {
  height: 40px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
}

.letters-fallback-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--marron);
  color: var(--beige);
  border: 1px solid var(--beige);
  padding: 6px 15px;
  border-radius: 999px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.story-card-box {
  background-color: var(--verde);
  color: var(--beige);
  border: 2px solid var(--marron);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 22px;
  font-size: 0.94rem;
  line-height: 1.7;
}

.story-card-box strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: var(--beige);
}

/* 4 pilares de valor antes de mostrar precios */
.story-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  border-top: 1px solid var(--marron);
  padding-top: 18px;
  margin-top: 22px;
}

.metric {
  background-color: rgba(69, 93, 60, 0.08);
  border: 1px solid rgba(97, 71, 10, 0.35);
  border-radius: 12px;
  padding: 11px 13px;
}

.metric strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.38rem;
  color: var(--verde);
  line-height: 1.15;
}

.metric span {
  display: block;
  font-size: 0.79rem;
  color: var(--marron);
  margin-top: 2px;
}

/* Galería dinámica de 2 fotos */
.farm-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.farm-photo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--marron);
  background-color: var(--verde);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.farm-photo-card:hover {
  transform: translateY(-4px);
}

.farm-photo-card.offset-card {
  margin-top: 28px;
}

.farm-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--marron);
  position: relative;
}

.farm-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.farm-photo-card:hover .farm-photo-frame img {
  transform: scale(1.05);
}

.farm-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--beige);
  font-size: 0.88rem;
  font-weight: 600;
  background-color: var(--verde);
}

.farm-photo-caption {
  background-color: var(--verde);
  color: var(--beige);
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-top: 1px solid var(--marron);
}

/* 3. ANATOMÍA A COLOR REAL + COMPARADOR ACCESIBLE CON TECLADO */
.anatomy-section {
  background-color: var(--verde);
  color: var(--beige);
  border-top: 2px solid var(--marron);
  border-bottom: 2px solid var(--marron);
}

.anatomy-section .section-head h2,
.anatomy-section .section-head p {
  color: var(--beige);
}

.tag-pill {
  display: inline-block;
  background-color: var(--beige);
  color: var(--marron);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.anatomy-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
  width: 100%;
}

.egg-stage-card {
  background-color: var(--marron);
  border: 2px solid var(--beige);
  border-radius: var(--radius);
  padding: 18px;
  width: 100%;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
}

.egg-stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.egg-interactive {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 48%, #262C27 0%, #141815 100%);
  border: 1.5px solid var(--beige);
  cursor: ew-resize;
  touch-action: pan-y;
}

.egg-interactive:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

.egg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.egg-layer svg {
  width: 100%;
  height: 100%;
  display: block;
}

.egg-layer-pasture {
  clip-path: inset(0 0 0 50%);
}

.egg-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2.5px;
  background-color: #FFFFFF;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.75);
  pointer-events: none;
  z-index: 5;
}

.egg-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--beige);
  color: var(--marron);
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 6;
}

.egg-controls-bar {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.drag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--verde);
  color: var(--beige);
  border: 1px solid var(--beige);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
}

.quick-mode {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-mode button {
  background-color: var(--verde);
  color: var(--beige);
  border: 1px solid var(--beige);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.quick-mode button.active {
  background-color: var(--beige);
  color: var(--marron);
}

.anatomy-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.hotspot-card {
  background-color: var(--marron);
  border: 1.5px solid var(--beige);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: transform 0.18s ease;
}

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

.hotspot-card:focus-visible,
.hotspot-card.active {
  outline: 2px solid var(--beige);
  outline-offset: 2px;
}

.hotspot-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hotspot-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--beige);
  color: var(--marron);
  font-weight: 800;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hotspot-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--beige);
}

.hotspot-diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  font-size: 0.81rem;
  line-height: 1.5;
  color: var(--beige);
}

.diff-col-left {
  padding-right: 10px;
  border-right: 1px solid var(--beige);
}

.diff-label {
  display: block;
  font-size: 0.69rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  text-decoration: underline;
}

/* 4. POR QUÉ VALE LA DIFERENCIA + MITO DEL HUEVO MARRÓN (NUEVO BLOQUE DE CONVENCIMIENTO) */
.value-section {
  background-color: var(--beige);
  padding: 68px 0 36px;
}

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

.value-card {
  background-color: var(--beige);
  border: 2px solid var(--verde);
  border-radius: var(--radius);
  padding: 24px 22px;
  color: var(--marron);
}

.value-num {
  display: inline-block;
  background-color: var(--verde);
  color: var(--beige);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.value-card h3 {
  font-size: 1.48rem;
  color: var(--verde);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.myth-callout {
  background-color: var(--marron);
  color: var(--beige);
  border: 2px solid var(--verde);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.myth-callout strong {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  color: var(--beige);
}

.myth-callout p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* 5. COMPARATIVA NUTRICIONAL (4 BARRAS REALES CON FUENTES VERIFICADAS) */
.study-card {
  background-color: var(--verde);
  color: var(--beige);
  border: 2px solid var(--marron);
  border-radius: 22px;
  padding: 32px;
}

.study-top {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--beige);
}

.study-top h3 {
  font-size: 1.75rem;
  color: var(--beige);
  margin-bottom: 6px;
}

.study-top p {
  font-size: 0.9rem;
  color: var(--beige);
}

.bar-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bar-item-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--beige);
  margin-bottom: 6px;
}

.bar-row {
  display: grid;
  grid-template-columns: 112px 1fr 78px;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  margin-bottom: 5px;
}

.bar-bg {
  height: 13px;
  background-color: var(--marron);
  border: 1px solid var(--beige);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill-ind { height: 100%; background-color: var(--beige); opacity: 0.45; }
.bar-fill-pas { height: 100%; background-color: var(--beige); }

.study-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.summary-box {
  background-color: var(--marron);
  color: var(--beige);
  border: 1px solid var(--beige);
  border-radius: 14px;
  padding: 18px;
  font-size: 0.87rem;
  line-height: 1.6;
}

.summary-box h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-decoration: underline;
}

.study-sources {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--beige);
  font-size: 0.8rem;
  color: var(--beige);
  line-height: 1.6;
}

.study-sources a {
  color: var(--beige);
  text-decoration: underline;
  font-weight: 600;
}


/* 5B. MAPA MENTAL DEL FOLÍCULO CAPILAR + GRÁFICO % + BENEFICIOS COTIDIANOS */
.hair-section {
  background-color: var(--beige);
  padding: 68px 0 42px;
}

.mindmap-shell {
  background-color: var(--verde);
  color: var(--beige);
  border: 2px solid var(--marron);
  border-radius: 24px;
  padding: 32px 26px;
}

.mindmap-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
}

.mindmap-intro h3 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--beige);
  margin-bottom: 8px;
}

.mindmap-intro p {
  font-size: 0.93rem;
  color: var(--beige);
  opacity: 0.95;
}

/* 3 columnas en escritorio: nodos izq | SVG folículo | nodos der */
.mindmap-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 20px;
  align-items: center;
}

.mm-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.mm-node {
  background-color: var(--marron);
  color: var(--beige);
  border: 1.5px solid rgba(241, 221, 173, 0.55);
  border-radius: 16px;
  padding: 15px 16px;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
}

.mm-node:hover,
.mm-node.active,
.mm-node:focus-visible {
  border-color: var(--beige);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  outline: 2px solid var(--beige);
  outline-offset: 2px;
}

.mm-node.star-node {
  background-color: var(--beige);
  color: var(--marron);
  border: 2px solid var(--marron);
}

.mm-node.star-node .mm-pct {
  background-color: var(--verde);
  color: var(--beige);
}

.mm-node.star-node .mm-num {
  background-color: var(--marron);
  color: var(--beige);
}

.mm-node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.mm-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mm-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--beige);
  color: var(--marron);
  font-weight: 800;
  font-size: 0.78rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mm-node h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.mm-pct {
  display: inline-block;
  background-color: var(--verde);
  color: var(--beige);
  border: 1px solid rgba(241, 221, 173, 0.45);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
}

.mm-nutrient {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.92;
  margin-bottom: 4px;
}

.mm-desc {
  font-size: 0.8rem;
  line-height: 1.48;
  opacity: 0.94;
}

/* Escenario central del Folículo + Hebra SVG */
.follicle-stage {
  background: radial-gradient(circle at 50% 42%, #243326 0%, #151F17 100%);
  border: 2px solid var(--beige);
  border-radius: 20px;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.follicle-stage svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
}

.f-pin {
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.f-pin:hover,
.f-pin.active {
  transform: scale(1.18);
}

.f-pin.active .pin-ring {
  stroke: #FFFFFF;
  stroke-width: 3;
}

.follicle-live-readout {
  margin-top: 10px;
  width: 100%;
  background-color: var(--marron);
  color: var(--beige);
  border: 1px solid var(--beige);
  border-radius: 12px;
  padding: 10px 13px;
  text-align: center;
  font-size: 0.81rem;
  line-height: 1.45;
}

.follicle-live-readout strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

/* Gráfico de % de Valor Diario (2 huevos cocidos) */
.hair-chart-box {
  margin-top: 26px;
  background-color: var(--beige);
  color: var(--marron);
  border: 2px solid var(--marron);
  border-radius: 18px;
  padding: 24px 22px;
}

.hair-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(97, 71, 10, 0.3);
}

.hair-chart-head h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  color: var(--verde);
  line-height: 1.15;
}

.hair-chart-head span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--marron);
}

.hc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

.hc-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hc-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.84rem;
}

.hc-top strong {
  color: var(--marron);
}

.hc-val {
  font-weight: 800;
  color: var(--verde);
  white-space: nowrap;
}

.hc-track {
  position: relative;
  height: 12px;
  background-color: rgba(97, 71, 10, 0.16);
  border: 1px solid rgba(97, 71, 10, 0.35);
  border-radius: 999px;
  overflow: hidden;
}

.hc-fill {
  height: 100%;
  background-color: var(--verde);
  border-radius: 999px;
}

.hc-fill.accent {
  background-color: var(--marron);
}

.hc-conv-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background-color: var(--beige);
  box-shadow: 0 0 0 1px var(--marron);
}

.hc-sub {
  font-size: 0.74rem;
  color: var(--marron);
  opacity: 0.88;
}

.cooked-tip-bar {
  margin-top: 18px;
  background-color: var(--verde);
  color: var(--beige);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.83rem;
  line-height: 1.5;
}

/* 3 beneficios cotidianos complementarios */
.everyday-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.everyday-card {
  background-color: var(--beige);
  color: var(--marron);
  border: 2px solid var(--verde);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.everyday-tag {
  display: inline-block;
  background-color: var(--marron);
  color: var(--beige);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.everyday-card h3 {
  font-size: 1.42rem;
  color: var(--verde);
  margin-bottom: 8px;
}

.everyday-card p {
  font-size: 0.89rem;
  line-height: 1.6;
}

.hair-sources {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(241, 221, 173, 0.45);
  font-size: 0.79rem;
  color: var(--beige);
  line-height: 1.6;
}

.hair-sources a {
  color: var(--beige);
  text-decoration: underline;
  font-weight: 600;
}


/* 5C. CONTRASTE INTERACTIVO: SUPLEMENTOS DE FARMACIA vs. ALIMENTO REAL (2 vs 4 HUEVOS) */
.supp-section {
  background-color: var(--verde);
  color: var(--beige);
  border-top: 2px solid var(--marron);
  border-bottom: 2px solid var(--marron);
  padding: 72px 0;
}

.supp-section .section-head h2,
.supp-section .section-head p {
  color: var(--beige);
}

.supp-card-shell {
  background-color: var(--marron);
  border: 2px solid var(--beige);
  border-radius: 24px;
  padding: 30px 26px;
}

.dose-toggle-wrap {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.dose-tab {
  background-color: var(--verde);
  color: var(--beige);
  border: 2px solid var(--beige);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

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

.dose-tab.active {
  background-color: var(--beige);
  color: var(--marron);
}

/* Tarjetas enfrentadas de totales */
.vs-totals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}

.vs-total-box {
  border-radius: 18px;
  padding: 22px 20px;
  border: 2px solid var(--beige);
}

.vs-total-box.eggs-box {
  background-color: var(--beige);
  color: var(--marron);
}

.vs-total-box.pharma-box {
  background-color: var(--verde);
  color: var(--beige);
}

.vs-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.eggs-box .vs-kicker {
  background-color: var(--verde);
  color: var(--beige);
}

.pharma-box .vs-kicker {
  background-color: var(--marron);
  color: var(--beige);
  border: 1px solid var(--beige);
}

.vs-big-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 4px 0 6px;
}

.vs-subline {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Gráfico interactivo de intervalos por suplemento + cobertura */
.supp-chart-panel {
  background-color: var(--beige);
  color: var(--marron);
  border: 2px solid var(--marron);
  border-radius: 18px;
  padding: 22px 20px;
}

.supp-chart-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(97, 71, 10, 0.3);
}

.supp-chart-title h3 {
  font-size: 1.55rem;
  color: var(--verde);
}

.supp-chart-title span {
  font-size: 0.79rem;
  font-weight: 600;
}

.supp-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.supp-row {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 0.95fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(97, 71, 10, 0.25);
}

.supp-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.supp-name strong {
  display: block;
  font-size: 0.9rem;
  color: var(--marron);
}

.supp-name small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Barra visual de rango de precio (0 € a 90 €) */
.range-track {
  position: relative;
  height: 14px;
  background-color: rgba(97, 71, 10, 0.14);
  border: 1px solid rgba(97, 71, 10, 0.35);
  border-radius: 999px;
  margin-bottom: 4px;
}

.range-span {
  position: absolute;
  top: 1px;
  bottom: 1px;
  background-color: var(--marron);
  border-radius: 999px;
  min-width: 12px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--marron);
}

.cov-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  width: 100%;
}

.cov-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background-color: var(--verde);
  color: var(--beige);
}

.cov-pill.full {
  background-color: var(--marron);
  color: var(--beige);
}

.cov-detail {
  font-size: 0.72rem;
  margin-top: 3px;
  color: var(--marron);
}

/* Barra visual comparativa final */
.visual-compare-bars {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(97, 71, 10, 0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vcb-row {
  display: grid;
  grid-template-columns: 180px 1fr 125px;
  gap: 10px;
  align-items: center;
  font-size: 0.81rem;
  font-weight: 700;
}

.vcb-track {
  height: 16px;
  background-color: rgba(97, 71, 10, 0.14);
  border: 1px solid rgba(97, 71, 10, 0.35);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.vcb-fill-eggs {
  height: 100%;
  background-color: var(--verde);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.vcb-fill-pharma-min {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  background-color: var(--marron);
  border-radius: 999px 0 0 999px;
  transition: width 0.3s ease;
}

.vcb-fill-pharma-max {
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: rgba(97, 71, 10, 0.42);
  border-radius: 0 999px 999px 0;
  transition: left 0.3s ease, width 0.3s ease;
}

.supp-honesty-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--beige);
  line-height: 1.6;
  border-top: 1px solid rgba(241, 221, 173, 0.4);
  padding-top: 14px;
}

/* 6. PLANES EN CUADRÍCULA 2x2 CON ALIVIO VISUAL (TARJETAS CLARAS + 1 DESTACADA) */
.products-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.product-card {
  background-color: var(--beige);
  color: var(--marron);
  border: 2px solid var(--verde);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card.featured {
  background-color: var(--marron);
  color: var(--beige);
  border: 2px solid var(--verde);
}

.badge {
  align-self: flex-start;
  background-color: var(--verde);
  color: var(--beige);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.product-card.featured .badge {
  background-color: var(--beige);
  color: var(--marron);
}

.product-card h3 {
  font-size: 1.6rem;
  color: var(--marron);
  margin-bottom: 6px;
}

.product-card.featured h3 {
  color: var(--beige);
}

.product-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.7rem;
  font-weight: 700;
  color: var(--verde);
  line-height: 1.05;
  margin: 8px 0 4px;
}

.product-card.featured .product-price {
  color: var(--beige);
}

.product-units {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--marron);
  margin-bottom: 14px;
  text-decoration: underline;
}

.product-card.featured .product-units {
  color: var(--beige);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--marron);
  flex-grow: 1;
  margin-bottom: 20px;
}

.product-card.featured .product-desc {
  color: var(--beige);
}

.payment-strip {
  max-width: 920px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.strip-box {
  background-color: var(--verde);
  color: var(--beige);
  border: 2px solid var(--marron);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
}

.strip-box.shipping {
  background-color: var(--marron);
  border-color: var(--verde);
}

/* 7. PREGUNTAS FRECUENTES (FAQ ACORDEÓN) */
.faq-section {
  padding: 20px 0 64px;
}

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

.faq-item {
  border: 2px solid var(--marron);
  border-radius: 14px;
  background-color: var(--beige);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--verde);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--marron);
  flex-shrink: 0;
}

.faq-item[open] summary {
  background-color: var(--verde);
  color: var(--beige);
}

.faq-item[open] summary::after {
  content: "−";
  color: var(--beige);
}

.faq-body {
  padding: 15px 20px 18px;
  font-size: 0.91rem;
  color: var(--marron);
  border-top: 1px solid var(--marron);
  line-height: 1.65;
}

.faq-body a {
  text-decoration: underline;
  font-weight: 700;
  color: var(--verde);
}

/* 8. PEDIDO DIRECTO POR WHATSAPP CON CONTADOR DE CARTONES */
.checkout-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

.form-card {
  background-color: var(--verde);
  color: var(--beige);
  border: 2px solid var(--marron);
  border-radius: 22px;
  padding: 30px;
}

.form-card h2,
.form-card h3 {
  font-size: 1.7rem;
  color: var(--beige);
  margin-bottom: 16px;
}

.field {
  margin-bottom: 14px;
}

.field label,
.field .field-group-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--beige);
  margin-bottom: 5px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--marron);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.93rem;
  background-color: var(--beige);
  color: var(--marron);
}

/* Selector de cartones sin fricción (- / + y accesos rápidos) */
.qty-stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 8px;
  align-items: center;
}

.qty-btn {
  height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--marron);
  background-color: var(--beige);
  color: var(--marron);
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
}

.qty-btn:hover {
  background-color: var(--marron);
  color: var(--beige);
}

.qty-stepper input {
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  height: 44px;
}

.quick-cartons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 8px;
}

.quick-carton-btn {
  background-color: var(--marron);
  color: var(--beige);
  border: 1px solid var(--beige);
  border-radius: 8px;
  padding: 7px 4px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.quick-carton-btn.active {
  background-color: var(--beige);
  color: var(--marron);
  border-color: var(--marron);
}

.auto-upgrade-hint {
  font-size: 0.79rem;
  color: var(--beige);
  background-color: var(--marron);
  border: 1px solid var(--beige);
  border-radius: 10px;
  padding: 9px 11px;
  margin-top: 8px;
  line-height: 1.45;
}

/* Campo honeypot invisible para bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.info-list {
  list-style: none;
  margin: 18px 0;
}

.info-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--marron);
  font-size: 0.93rem;
}

.disclaimer {
  font-size: 0.78rem;
  color: var(--marron);
  margin-top: 14px;
}

/* Modal Legal / Políticas */
.legal-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.62);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.legal-modal-box {
  background-color: var(--beige);
  color: var(--marron);
  border: 2px solid var(--marron);
  max-width: 640px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  border-radius: 18px;
  padding: 28px;
  position: relative;
}

.legal-close-btn {
  float: right;
  background-color: var(--verde);
  color: var(--beige);
  border: 1px solid var(--marron);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
}

/* Footer */
footer {
  background-color: var(--verde);
  color: var(--beige);
  padding: 38px 0;
  text-align: center;
  font-size: 0.88rem;
  border-top: 2px solid var(--marron);
}

.footer-policies {
  margin-top: 14px;
  font-size: 0.82rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.footer-policy-btn {
  background: transparent;
  border: none;
  color: var(--beige);
  text-decoration: underline;
  font-family: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 2px 4px;
}

/* RESPONSIVE MÓVIL */
@media (max-width: 900px) {
  .nav-inner {
    justify-content: center;
  }
  .nav-links {
    display: none;
  }
  .brand-logo-full img { height: 62px; }
  .brand-logo-compact img { height: 44px; }
  .story-grid,
  .anatomy-wrap,
  .value-grid,
  .study-summary-grid,
  .mindmap-grid,
  .hc-grid,
  .everyday-grid,
  .vs-totals-grid,
  .payment-strip,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  /* En tablet y móvil el folículo va primero arriba y los nodos ordenados debajo */
  .follicle-stage {
    order: -1;
  }
  .mm-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .products-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .story-copy,
  .checkout-info {
    text-align: center;
  }
  .letters-logo-wrap {
    justify-content: center;
    width: 100%;
  }
  .btn-row,
  .quick-mode {
    justify-content: center;
    width: 100%;
  }
  .product-card .badge {
    align-self: center;
  }
  .product-card {
    text-align: center;
  }
  .product-card .btn {
    margin: 0 auto;
    width: 100%;
  }
  .study-top {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 14px;
  }
  .video-hero {
    min-height: 430px;
  }
  .farm-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .farm-photo-card.offset-card {
    margin-top: 0;
  }
  .story-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hotspot-diff {
    grid-template-columns: 1fr;
  }
  .diff-col-left {
    border-right: none;
    border-bottom: 1px solid var(--beige);
    padding-right: 0;
    padding-bottom: 8px;
  }
  .bar-row {
    grid-template-columns: 88px 1fr 62px;
    gap: 6px;
  }
  .quick-cartons {
    grid-template-columns: repeat(2, 1fr);
  }
  .study-card,
  .mindmap-shell,
  .hair-chart-box,
  .form-card {
    padding: 20px 15px;
  }
  .mm-col {
    grid-template-columns: 1fr;
  }
  .supp-card-shell,
  .supp-chart-panel {
    padding: 18px 14px;
  }
  .supp-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .cov-badge {
    align-items: flex-start;
    text-align: left;
  }
  .vcb-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .follicle-stage svg {
    max-width: 300px;
  }
  .btn {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Casilla de consentimiento de recordatorio por correo */
.checkbox-field {
  margin-top: -4px;
  margin-bottom: 14px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--beige);
  line-height: 1.45;
  background-color: var(--marron);
  border: 1px solid rgba(241, 221, 173, 0.55);
  border-radius: 10px;
  padding: 10px 12px;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--beige);
  cursor: pointer;
}

.form-feedback {
  display: none;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background-color: var(--beige);
  color: var(--marron);
  border: 1.5px solid var(--marron);
  font-size: 0.84rem;
  font-weight: 600;
}

/* Selector de Estado y Municipio (Carabobo / Falcón Yaracal) */
.field-help {
  font-size: 0.74rem;
  color: var(--beige);
  opacity: 0.9;
  margin-top: 4px;
  line-height: 1.4;
}

.zone-state-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.zone-btn {
  background-color: var(--marron);
  color: var(--beige);
  border: 1.5px solid var(--beige);
  border-radius: 12px;
  padding: 10px 10px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.14s ease;
}

.zone-btn small {
  display: block;
  font-size: 0.71rem;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}

.zone-btn.active {
  background-color: var(--beige);
  color: var(--marron);
  border-color: var(--marron);
}

.zone-subpanel {
  margin-top: 10px;
  background-color: rgba(97, 71, 10, 0.45);
  border: 1px solid rgba(241, 221, 173, 0.55);
  border-radius: 12px;
  padding: 12px;
}

.zone-subpanel[hidden] {
  display: none;
}

.subpanel-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--beige);
  margin-bottom: 8px;
}

.municipio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.muni-btn {
  background-color: var(--marron);
  color: var(--beige);
  border: 1px solid rgba(241, 221, 173, 0.7);
  border-radius: 9px;
  padding: 8px 8px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.muni-btn.active {
  background-color: var(--beige);
  color: var(--marron);
  border-color: var(--marron);
}

.falcon-pickup-box {
  background-color: var(--marron);
  border: 1.5px solid var(--beige);
  color: var(--beige);
  font-size: 0.83rem;
  line-height: 1.5;
}

.falcon-pickup-box strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.email-hint {
  display: none;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background-color: var(--marron);
  border: 1px solid var(--beige);
  color: var(--beige);
  font-size: 0.77rem;
  line-height: 1.45;
}

.email-fix-btn {
  margin-left: 6px;
  background-color: var(--beige);
  color: var(--marron);
  border: 1px solid var(--marron);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

/* Selector desglosado de WhatsApp (Venezuela + Internacional, solo números) */
.wa-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.wa-op-btn {
  background-color: var(--marron);
  color: var(--beige);
  border: 1px solid rgba(241, 221, 173, 0.72);
  border-radius: 9px;
  padding: 7px 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  line-height: 1.15;
}

.wa-op-btn small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  opacity: 0.88;
  margin-top: 2px;
}

.wa-op-btn.wa-op-intl {
  grid-column: 1 / -1;
}

.wa-op-btn.active {
  background-color: var(--beige);
  color: var(--marron);
  border-color: var(--marron);
}

.wa-input-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: stretch;
}

.wa-input-row[hidden],
.wa-intl-row[hidden],
.checkbox-field[hidden] {
  display: none;
}

.wa-prefix-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--marron);
  color: var(--beige);
  border: 1.5px solid var(--beige);
  border-radius: 10px;
  padding: 0 12px;
  font-weight: 800;
  font-size: 0.9rem;
  white-space: nowrap;
}

.wa-intl-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: stretch;
}

.wa-intl-prefix-box {
  display: flex;
  align-items: center;
  background-color: var(--beige);
  border: 1.5px solid var(--marron);
  border-radius: 10px;
  padding-left: 10px;
  overflow: hidden;
}

.wa-plus-sign {
  font-weight: 800;
  font-size: 1rem;
  color: var(--marron);
  user-select: none;
}

.wa-intl-prefix-box input {
  border: none !important;
  border-radius: 0 !important;
  padding-left: 4px !important;
  background: transparent !important;
  font-weight: 700;
}

.wa-intl-prefix-box input:focus {
  outline: none;
}

.email-hint.is-ok {
  background-color: rgba(241, 221, 173, 0.16);
  border-color: rgba(241, 221, 173, 0.75);
  color: var(--beige);
}

.email-hint.is-error {
  background-color: #7c2419;
  border-color: var(--beige);
  color: #ffffff;
}

/* Consentimiento localStorage + enlace de borrado */
.local-storage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.clear-local-btn {
  background: transparent;
  border: none;
  color: var(--beige);
  text-decoration: underline;
  font-family: inherit;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
}

.clear-local-btn:hover {
  opacity: 0.85;
}

.local-data-status {
  font-size: 0.75rem;
  color: var(--beige);
  opacity: 0.92;
}

.masked-ref-note {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  background-color: rgba(97, 71, 10, 0.55);
  border: 1px solid rgba(241, 221, 173, 0.55);
  color: var(--beige);
  font-size: 0.76rem;
  line-height: 1.4;
}

.masked-ref-note[hidden] {
  display: none;
}

/* ==================== PÁGINA EXCLUSIVA DE REPOSICIÓN RÁPIDA (reordenar.html) ==================== */
.reorder-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.reorder-header {
  background-color: var(--beige);
  border-bottom: 2px solid var(--marron);
  padding: 12px 0;
  text-align: center;
}

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

.reorder-header img {
  height: 52px;
  width: auto;
  display: block;
}

.reorder-badge-vip {
  display: inline-block;
  background-color: var(--verde);
  color: var(--beige);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 13px;
  border-radius: 999px;
}

.reorder-main {
  flex: 1;
  padding: 28px 0 48px;
}

.reorder-shell {
  max-width: 620px;
  margin: 0 auto;
}

.reorder-greeting {
  text-align: center;
  margin-bottom: 18px;
}

.reorder-greeting h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.55rem);
  color: var(--marron);
  margin-bottom: 6px;
}

.reorder-greeting p {
  font-size: 0.94rem;
  color: var(--marron);
}

.reorder-status-banner {
  background-color: var(--marron);
  color: var(--beige);
  border: 1.5px solid var(--verde);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

.reorder-footer-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--marron);
}

.reorder-footer-link a {
  text-decoration: underline;
  font-weight: 700;
  color: var(--verde);
}

@media (max-width: 600px) {
  .wa-ops-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reorder-header-inner {
    flex-direction: column;
    justify-content: center;
  }
}

/* ==================== FASE 3: ACCESIBILIDAD, NOSCRIPT Y PREFERS-REDUCED-MOTION ==================== */
.skip-link {
  position: absolute;
  top: -120px;
  left: 16px;
  z-index: 200;
  background-color: var(--marron);
  color: var(--beige);
  border: 2px solid var(--beige);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.skip-link:focus {
  top: 14px;
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}

.noscript-box {
  max-width: 920px;
  margin: 18px auto 0;
  background-color: var(--marron);
  color: var(--beige);
  border: 2px solid var(--verde);
  border-radius: 16px;
  padding: 20px 22px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.55;
}

.noscript-box strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.noscript-box p {
  margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover,
  .farm-photo-card:hover,
  .farm-photo-card:hover .farm-photo-frame img,
  .hotspot-card:hover,
  .mm-node:hover,
  .dose-tab:hover,
  .f-pin:hover,
  .f-pin.active {
    transform: none !important;
  }
}

/* ==================== FASE 4 / 4B: TABLA ¿PASTILLAS O DESAYUNO?, PICK UP Y LÍNEA LEGAL ==================== */
.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 22px;
  border-radius: 16px;
  border: 2px solid var(--beige);
  background-color: var(--beige);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--marron);
  font-size: 0.88rem;
  line-height: 1.5;
}

.compare-table thead th {
  background-color: var(--verde);
  color: var(--beige);
  font-weight: 700;
  text-align: left;
  padding: 13px 15px;
  border-bottom: 2px solid var(--marron);
}

.compare-table tbody th,
.compare-table tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(97, 71, 10, 0.25);
  vertical-align: top;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody th {
  font-weight: 700;
  color: var(--verde);
  white-space: nowrap;
  width: 18%;
}

.compare-table tbody td:nth-child(2) {
  background-color: rgba(69, 93, 60, 0.08);
}

.table-sub {
  display: block;
  font-size: 0.77rem;
  font-weight: 500;
  margin-top: 2px;
}

.dose-toggle-label {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--beige);
  margin-bottom: 10px;
}

.dose-tab-secondary {
  opacity: 0.92;
  font-size: 0.84rem;
  padding: 10px 18px;
}

.dose4-notice {
  max-width: 720px;
  margin: -14px auto 22px;
  padding: 10px 14px;
  border-radius: 12px;
  background-color: rgba(69, 93, 60, 0.55);
  border: 1px solid var(--beige);
  color: var(--beige);
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.45;
}

.muni-btn.muni-btn-pickup {
  grid-column: 1 / -1;
}

.form-legal-accept {
  margin-top: 10px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--beige);
  line-height: 1.45;
}

.inline-legal-btn {
  background: transparent;
  border: none;
  color: var(--beige);
  text-decoration: underline;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
}

.inline-legal-btn:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .compare-table {
    font-size: 0.81rem;
  }
  .compare-table thead th,
  .compare-table tbody th,
  .compare-table tbody td {
    padding: 10px 10px;
  }
}

/* ==================== RAMA UI (v11.2): MENÚ HAMBURGUESA MINIMALISTA MÓVIL, BOTÓN PEDIR (#pedido), VOLVER ARRIBA Y MODAL ACCESIBLE ==================== */
.nav-cta-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav-backdrop {
  display: none;
}

.planes-cta-wrap {
  margin-top: 22px;
  text-align: center;
}

.planes-cta-btn {
  padding: 14px 32px;
  font-size: 0.98rem;
}

.legal-modal-backdrop.is-open {
  display: flex;
}

.legal-close-btn:focus-visible {
  outline: 3px solid var(--marron);
  outline-offset: 2px;
}

body.modal-open {
  overflow: hidden;
}

/* Botón volver arriba (solo flecha, escritorio y móvil) */
.back-to-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 44;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--marron);
  color: var(--beige);
  border: 2px solid var(--beige);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20, 28, 18, 0.30);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top-btn:hover,
.back-to-top-btn:focus-visible {
  background-color: var(--verde);
  color: var(--beige);
  outline: 3px solid var(--beige);
  outline-offset: 2px;
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.back-to-top-btn.is-hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  visibility: hidden;
}

/* Botón fijo para ir al formulario #pedido (solo móvil <= 900px) */
.floating-order-btn {
  display: none;
}

@media (max-width: 900px) {
  header .nav-inner,
  header.is-compact .nav-inner {
    justify-content: space-between;
    max-width: 440px;
    margin: 0 auto;
    padding: 6px 24px;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 6px;
    border: none;
    border-radius: 8px;
    background-color: transparent;
    color: var(--marron);
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.18s ease, opacity 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-menu-btn:hover,
  .mobile-menu-btn:focus-visible {
    background-color: transparent;
    color: var(--verde);
    outline: 2px solid var(--marron);
    outline-offset: 2px;
  }

  .mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    display: block;
  }

  .mobile-menu-btn .icon-close {
    display: none;
  }

  .mobile-menu-btn[aria-expanded="true"] .icon-hamburger {
    display: none;
  }

  .mobile-menu-btn[aria-expanded="true"] .icon-close {
    display: block;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    background-color: var(--beige);
    border-top: 1px solid rgba(97, 71, 10, 0.25);
    border-bottom: 2px solid var(--marron);
    box-shadow: 0 14px 32px rgba(20, 28, 18, 0.26);
    padding: 12px 24px calc(18px + env(safe-area-inset-bottom));
    z-index: 55;
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.is-open a:not(.btn) {
    display: block;
    padding: 12px 10px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--verde);
    border-bottom: 1px solid rgba(97, 71, 10, 0.16);
    text-decoration: none;
  }

  .nav-links.is-open a:not(.btn):hover,
  .nav-links.is-open a:not(.btn):focus-visible {
    background-color: rgba(69, 93, 60, 0.1);
    color: var(--marron);
    border-radius: 8px;
  }

  .nav-links.is-open .nav-cta-btn {
    margin-top: 10px;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.96rem;
    text-align: center;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 48;
    touch-action: none;
  }

  .mobile-nav-backdrop.is-open {
    display: block;
  }

  .back-to-top-btn {
    right: auto;
    left: max(14px, env(safe-area-inset-left));
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .floating-order-btn {
    position: fixed;
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 45;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background-color: var(--verde);
    color: var(--beige);
    border: 2px solid var(--beige);
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(20, 28, 18, 0.34);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .floating-order-btn:hover,
  .floating-order-btn:focus-visible {
    background-color: var(--marron);
    color: var(--beige);
    outline: 3px solid var(--beige);
    outline-offset: 2px;
  }

  .floating-order-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .floating-order-btn.is-hidden {
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    visibility: hidden;
  }

  footer {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 600px) {
  header .nav-inner,
  header.is-compact .nav-inner {
    max-width: 320px;
    padding: 6px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-order-btn.is-hidden,
  .back-to-top-btn.is-hidden {
    transform: none !important;
  }
}
