/* ============================================
   Los Chagualos — Tienda · V1
   Tipografía: Sora
   Paleta: Brand Teal · Lima · Rosa · Púrpura ·
   Ámbar · Neutral · Success · Error · Info
   ============================================ */
:root {
  /* ---- Primitivos: Brand (Teal) ---- */
  --brand-50:  #F4FAF9;
  --brand-100: #EAF6F4;
  --brand-200: #CDE9E5;
  --brand-300: #9FE4D9;
  --brand-400: #6FD7C5;
  --brand-500: #37C8AF;
  --brand-600: #2CA08C;
  --brand-700: #238070;
  --brand-800: #1B6054;
  --brand-900: #153C36;
  --brand-950: #0C221E;

  /* ---- Primitivos: Secondary (Lima) ---- */
  --lima-50:  #F8FCF3;
  --lima-100: #F1F9E7;
  --lima-200: #DFF0C6;
  --lima-300: #CCF58E;
  --lima-400: #B2F056;
  --lima-500: #94EB14;
  --lima-600: #76BC10;
  --lima-700: #5F960D;
  --lima-800: #47710A;
  --lima-900: #2E460C;
  --lima-950: #1A2707;

  /* ---- Primitivos: Complementary (Rosa) ---- */
  --rosa-50:  #FCF2F6;
  --rosa-100: #FAE6EC;
  --rosa-200: #F2C4D4;
  --rosa-300: #FA89AF;
  --rosa-400: #F84E87;
  --rosa-500: #F60958;
  --rosa-600: #C40847;
  --rosa-700: #9D0638;
  --rosa-800: #76052A;
  --rosa-900: #49091E;
  --rosa-950: #290511;

  /* ---- Primitivos: Accent (Púrpura) ---- */
  --purpura-300: #BAABD9;
  --purpura-500: #6E50AF;
  --purpura-700: #473370;

  /* ---- Primitivos: Warning (Ámbar) ---- */
  --ambar-300: #FFD285;
  --ambar-500: #FFA200;
  --ambar-700: #A36700;

  /* ---- Primitivos: Neutral (Gris) ---- */
  --gris-100: #EFF0F0;
  --gris-200: #DADBDD;
  --gris-300: #BEC1C5;
  --gris-400: #9EA2A9;
  --gris-500: #787E87;
  --gris-600: #60656C;
  --gris-700: #4D5156;
  --gris-800: #3A3C41;
  --gris-900: #27282B;
  --gris-950: #161718;

  /* ---- Primitivos: Success / Error / Info ---- */
  --exito-500: #27D87E;
  --exito-600: #1FAD65;
  --error-500: #E51A1A;
  --error-600: #B71515;
  --info-500:  #0E6CF1;

  /* ---- Semánticos ---- */
  --verde: var(--brand-700);          /* interactivo (links, iconos, bordes) */
  --verde-oscuro: var(--brand-900);   /* títulos, sección reserva */
  --verde-noche: var(--brand-950);    /* footer */
  --franja: var(--brand-50);          /* franjas y fondos suaves */
  --borde-suave: var(--brand-100);
  --lima: var(--lima-300);            /* acentos sobre fondo oscuro */
  --accion: var(--lima-400);          /* botones primarios */
  --accion-hover: var(--lima-500);
  --acento: var(--rosa-500);          /* eyebrows, detalles */
  --crema: #ffffff;                   /* fondo general */
  --tinta: var(--gris-900);
  --gris: var(--gris-600);
  --blanco: #ffffff;
  --whatsapp: var(--exito-500);
  --whatsapp-hover: var(--exito-600);
  --radio: 14px;
  --sombra: 0 10px 30px rgba(21, 60, 54, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Sora', system-ui, sans-serif;
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.contenedor { width: min(1120px, 92%); margin: 0 auto; }

/* ====== Botones ====== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px;
  font-family: 'Sora', system-ui, sans-serif;
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primario { background: var(--accion); color: var(--brand-950); }
.btn--primario:hover { background: var(--accion-hover); color: var(--brand-950); }
.btn--fantasma { background: transparent; color: var(--blanco); border: 2px solid rgba(255,255,255,.7); }
.btn--fantasma:hover { background: rgba(255,255,255,.15); }
.btn--claro { background: var(--blanco); color: var(--verde-oscuro); }
.btn--whatsapp { background: var(--whatsapp); color: var(--brand-950); width: 100%; font-size: 1.05rem; }
.btn--whatsapp:hover { background: var(--whatsapp-hover); color: var(--blanco); }
.btn--whatsapp:disabled { background: var(--gris-300); color: var(--gris-600); cursor: not-allowed; transform: none; }

/* ====== Navegación ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borde-suave);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; }
.nav__logo img { height: 62px; display: block; }
.nav__links { display: flex; gap: 1.8rem; font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--verde); }

/* Variante flotante (home): logo suelto + menú en píldora blanca */
.nav--flotante {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; border-bottom: 1px solid transparent; backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease;
}
.nav--flotante .nav__inner { padding: 1.2rem 0; transition: padding .25s ease; }
.nav--flotante .nav__logo img { height: 70px; transition: height .25s ease; }

/* Estado sólido al hacer scroll fuera del hero */
.nav--solida { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom-color: var(--borde-suave); }
.nav--solida .nav__inner { padding: .65rem 0; }
.nav--solida .nav__logo img { height: 56px; }
.nav--solida .nav__links { box-shadow: none; background: var(--franja); }
.nav--flotante .nav__links {
  background: var(--blanco); border-radius: 999px;
  padding: .45rem .55rem; gap: .25rem; align-items: center;
  box-shadow: 0 10px 30px rgba(12, 34, 30, .18);
}
.nav--flotante .nav__links a {
  padding: .55rem 1.1rem; border-radius: 999px;
  color: var(--verde-oscuro); transition: background .2s, color .2s;
}
.nav--flotante .nav__links a:hover { background: var(--brand-100); color: var(--verde-oscuro); }
.nav--flotante .nav__links a.activo { background: var(--verde-oscuro); color: var(--blanco); }
.nav__acciones { display: flex; align-items: center; gap: .6rem; }
.nav__menu-btn { display: none; }

/* ====== Menú móvil (drawer) ====== */
.menu__overlay {
  position: fixed; inset: 0; background: rgba(12,34,30,.55); z-index: 90;
  opacity: 0; transition: opacity .25s;
}
.menu__overlay.visible { opacity: 1; }
.menu {
  position: fixed; top: 0; left: 0; height: 100dvh; width: min(320px, 86vw);
  background: var(--blanco); z-index: 100;
  display: flex; flex-direction: column; padding: 1.2rem 1.6rem;
  transform: translateX(-100%); transition: transform .28s ease;
  box-shadow: 12px 0 40px rgba(12,34,30,.3);
}
.menu.visible { transform: translateX(0); }
.menu__cabecera { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.menu__cabecera span { font-size: 1.3rem; font-weight: 700; color: var(--verde-oscuro); }
.menu__cabecera button { background: none; border: none; font-size: 1.2rem; color: var(--gris); cursor: pointer; }
.menu a {
  padding: 1rem 0; font-size: 1.1rem; font-weight: 600;
  color: var(--verde-oscuro); border-bottom: 1px solid var(--borde-suave);
}
.menu a:hover { color: var(--verde); }

/* ====== Hero ====== */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.12) contrast(1.06);
  opacity: 0; transition: opacity 1.4s ease;
  will-change: transform, opacity;
}
/* La saliente conserva la misma animación: sigue el zoom mientras
   se desvanece, sin saltar de vuelta al tamaño original */
.hero__slide.activa,
.hero__slide.saliente {
  animation: heroZoom 30s linear forwards;
}
.hero__slide.activa { opacity: 1; }
/* zoom muy lento tipo dron */
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.18); }
}
.hero__velo {
  position: absolute; inset: 0;
  background:
    /* viñeta cinematográfica en los bordes */
    radial-gradient(130% 110% at 50% 42%, transparent 45%, rgba(12, 34, 30, .55) 100%),
    /* letterbox: oscurece arriba y abajo */
    linear-gradient(180deg, rgba(12, 34, 30, .55) 0%, rgba(12, 34, 30, .05) 32%, rgba(12, 34, 30, 0) 55%, rgba(12, 34, 30, .72) 100%),
    /* legibilidad del texto hacia la izquierda */
    linear-gradient(100deg, rgba(21, 60, 54, .68) 12%, rgba(21, 60, 54, .12) 60%, transparent 80%);
}
.hero__contenido { position: relative; color: var(--blanco); padding: 6rem 0; max-width: 760px; margin: 0 auto; text-align: center; }
/* Entrada escalonada del contenido del hero al cargar */
.hero__eyebrow, .hero__contenido h1, .hero__sub, .hero__acciones {
  animation: heroIn .8s cubic-bezier(.2,.7,.3,1) backwards;
}
.hero__contenido h1 { animation-delay: .12s; }
.hero__sub { animation-delay: .26s; }
.hero__acciones { animation-delay: .4s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--lima); margin-bottom: 1.1rem; }
.hero__contenido h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; line-height: 1.08; margin-bottom: 1.3rem; text-wrap: balance; }
.hero__sub { font-size: 1.12rem; color: rgba(255,255,255,.9); margin: 0 auto 2rem; max-width: 40rem; text-wrap: balance; }
.hero__acciones { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ====== Secciones ====== */
.seccion { padding: 5.5rem 0; }
.seccion__eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; color: var(--acento); margin-bottom: .6rem; }
.seccion__eyebrow--claro, .reserva__texto p.seccion__eyebrow--claro { color: var(--lima); }
.seccion__titulo { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--verde-oscuro); margin-bottom: .6rem; }
.seccion__sub { color: var(--gris); max-width: 520px; margin-bottom: 3rem; }
/* El subtítulo de la tienda ocupa todo el ancho del contenedor */
#productos .seccion__sub { max-width: none; }

/* ====== Productos ====== */
.productos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; max-width: 880px; }

/* ====== Tarjeta cinematográfica ====== */
.tarjeta {
  position: relative; display: block; aspect-ratio: 3/4;
  border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
}
.tarjeta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tarjeta:hover img { transform: scale(1.05); }
.tarjeta__velo {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,34,30,.15) 0%, rgba(12,34,30,0) 32%, rgba(12,34,30,0) 52%, rgba(12,34,30,.8) 100%);
}
.tarjeta__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: .45rem; flex-wrap: wrap; }
.tarjeta__badges span {
  background: rgba(255,255,255,.92); color: var(--verde-oscuro);
  font-size: .7rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: .34rem .75rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.tarjeta__contenido { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.4rem; color: var(--blanco); }
.tarjeta__contenido h3 { font-size: 1.45rem; margin-bottom: .7rem; line-height: 1.15; }
.tarjeta__fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tarjeta__precio { font-size: 1rem; font-weight: 700; color: var(--lima); }
.tarjeta__btn {
  background: var(--accion); color: var(--brand-950);
  font-weight: 600; font-size: .88rem; padding: .5rem 1.15rem;
  border-radius: 999px; transition: background .2s;
}
.tarjeta:hover .tarjeta__btn { background: var(--blanco); }
.producto__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--verde); color: var(--blanco);
  font-size: .72rem; font-weight: 600; letter-spacing: .05em;
  padding: .3rem .7rem; border-radius: 999px;
}

/* ====== Página de producto ====== */
.detalle { padding: 1.8rem 0 4rem; }
.detalle__migas {
  display: flex; gap: .55rem; align-items: center;
  font-size: .88rem; color: var(--gris); margin-bottom: 1.4rem;
}
.detalle__migas a:hover { color: var(--verde); }
.detalle__migas strong { color: var(--verde-oscuro); font-weight: 600; }
.detalle__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; }
.detalle__galeria {
  display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: start;
}
.detalle__imagen {
  height: min(60vh, 520px); border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra);
}
.detalle__imagen img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.detalle__thumbs { display: flex; flex-direction: column; gap: .6rem; }
.detalle__thumb {
  width: 64px; height: 64px; flex: none;
  border-radius: 10px; overflow: hidden; padding: 0;
  border: 2px solid transparent; cursor: pointer; background: none;
  opacity: .65; transition: opacity .2s, border-color .2s;
}
.detalle__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detalle__thumb:hover { opacity: 1; }
.detalle__thumb.activa { border-color: var(--verde); opacity: 1; }
.detalle__etiquetas { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .7rem; }
.detalle__tag { position: static; display: inline-block; }
.detalle__badges { display: contents; }
.detalle__badges span {
  border: 1.5px solid var(--verde); color: var(--verde);
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  padding: .26rem .7rem; border-radius: 999px;
}
.detalle__info h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem); color: var(--verde-oscuro);
  margin-bottom: .5rem;
}
.detalle__preciofila {
  display: flex; align-items: baseline; gap: .8rem;
  margin: .2rem 0 1.1rem;
}
.detalle__precio {
  font-size: 1.75rem; font-weight: 800;
  color: var(--verde); display: inline-block;
}
.detalle__precio.pulso { animation: pulso .35s ease; }
@keyframes pulso {
  0% { transform: scale(1.05); color: var(--acento); }
  100% { transform: scale(1); }
}
.detalle__preciounit { color: var(--gris); font-size: .88rem; }
.detalle__desc { color: var(--gris); margin-bottom: 1.4rem; max-width: 50ch; font-size: .96rem; }
.opcion__actual { color: var(--gris); font-weight: 500; text-transform: none; letter-spacing: 0; }
.opcion__nota {
  font-size: .85rem; color: var(--gris); margin-top: .5rem;
  padding-left: .9rem; border-left: 3px solid var(--lima-400);
}
.detalle__confianza {
  list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  margin: 1.5rem 0 0; padding: 1rem 0;
  border-top: 1px solid var(--brand-200);
  font-size: .84rem; color: var(--gris);
}
.detalle__confianza li { display: flex; align-items: center; gap: .5rem; }
.detalle__confianza svg { width: 17px; height: 17px; flex: none; color: var(--verde); }
.detalle__plegable { border-top: 1px solid var(--brand-200); padding: .85rem 0; }
.detalle__plegable summary {
  cursor: pointer; font-weight: 600; color: var(--verde-oscuro);
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.detalle__plegable summary::-webkit-details-marker { display: none; }
.detalle__plegable summary::after { content: '+'; font-size: 1.3rem; color: var(--verde); font-weight: 500; }
.detalle__plegable[open] summary::after { content: '−'; }
.detalle__plegable p { margin-top: .8rem; color: var(--gris); font-size: .95rem; }
.detalle__relacionado { margin-top: 3rem; }
.detalle__relacionado h2 {
  font-size: 1.6rem; color: var(--verde-oscuro); margin-bottom: 1.5rem;
}
#det-relacionado { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 330px)); gap: 1.5rem; }
.tarjeta--mini .tarjeta__contenido h3 { font-size: 1.2rem; }
.barra-compra { display: none; }
:focus-visible { outline: 3px solid var(--lima-500); outline-offset: 2px; border-radius: 4px; }
.opcion { margin-bottom: 1.1rem; }
.opcion__etiqueta {
  font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--verde-oscuro); margin-bottom: .45rem;
}
.opcion__valores { display: flex; flex-wrap: wrap; gap: .7rem; }
.opcion__pildora {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: .65rem 1.2rem; border-radius: 12px;
  border: 1.5px solid var(--brand-200); background: var(--blanco);
  font-family: 'Sora', system-ui, sans-serif; font-size: .92rem; font-weight: 600;
  color: var(--verde-oscuro); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.opcion__pildora span { font-size: .78rem; font-weight: 500; color: var(--gris); }
.opcion__pildora:hover { border-color: var(--verde); }
.opcion__pildora.activa { background: var(--verde-oscuro); border-color: var(--verde-oscuro); color: var(--blanco); }
.opcion__pildora.activa span { color: var(--lima); }
.detalle__compra { display: flex; gap: 1rem; align-items: stretch; margin: 1.2rem 0 0; flex-wrap: wrap; }
.detalle__cantidad {
  display: flex; align-items: center; gap: 1.1rem;
  border: 1.5px solid var(--brand-200); border-radius: 999px; padding: 0 .6rem;
}
.detalle__cantidad button {
  width: 34px; height: 34px; border: none; background: none;
  font-size: 1.3rem; font-weight: 600; color: var(--verde); cursor: pointer;
}
.detalle__cantidad span { min-width: 22px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.detalle__pedir { flex: 1; min-width: 220px; }
.detalle__nota { font-size: .85rem; color: var(--gris); }

/* ====== Campo de ciudad (pedido por WhatsApp) ====== */
.campo { margin: 1.2rem 0 0; }
.campo label {
  display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--verde-oscuro); margin-bottom: .45rem;
}
.campo input {
  width: 100%; padding: .8rem 1.1rem;
  border: 1.5px solid var(--brand-200); border-radius: 12px;
  font-family: 'Sora', system-ui, sans-serif; font-size: .95rem; color: var(--tinta);
  background: var(--blanco);
  transition: border-color .2s;
}
.campo input::placeholder { color: var(--gris-400); }
.campo input:focus { outline: none; border-color: var(--verde); }
.campo input.campo--error { border-color: var(--error-500); }
.campo__ayuda { font-size: .8rem; color: var(--gris); margin-top: .4rem; }
.campo__error { font-size: .8rem; color: var(--error-600); margin-top: .4rem; }
.campo__error[hidden] { display: none; }

/* ====== Cata de laboratorio (radar interactivo) ====== */
.cata {
  margin-top: 3rem; padding: 2.4rem; border-radius: var(--radio);
  background: var(--franja); border: 1px solid var(--borde-suave);
}
.cata__cabecera {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.cata__intro { max-width: 46rem; }
.cata__intro .seccion__titulo { margin-bottom: .6rem; }
.cata__resumen { color: var(--gris); font-size: .95rem; margin: 0; }
.cata__anillo { flex: none; width: 132px; }
.cata-anillo__prog { transition: stroke-dashoffset 1.2s ease .2s; }
.cata--visible .cata-anillo__prog { stroke-dashoffset: var(--off); }
.cata-anillo__num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 2.5rem; fill: var(--verde-oscuro); }
.cata-anillo__lbl { font-family: 'Sora', sans-serif; font-weight: 600; font-size: .62rem; letter-spacing: .08em; fill: var(--gris); }

.cata__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.cata__radar { width: 100%; max-width: 420px; margin: 0 auto; }
.cata-radar__svg { width: 100%; height: auto; overflow: visible; }
.cata-radar__ring { fill: none; stroke: var(--brand-200); stroke-width: 1; }
.cata-radar__axis { stroke: var(--brand-200); stroke-width: 1; }
.cata-radar__area {
  fill: rgba(35, 128, 112, .18); stroke: var(--brand-700); stroke-width: 2; stroke-linejoin: round;
  transform: scale(.06); opacity: 0; transform-box: view-box; transform-origin: 160px 160px;
  transition: transform .7s cubic-bezier(.2,.7,.3,1), opacity .5s ease;
}
.cata--visible .cata-radar__area { transform: scale(1); opacity: 1; }
.cata-radar__label { font-family: 'Sora', sans-serif; font-size: 10.5px; font-weight: 600; fill: var(--gris); }
.cata-radar__dot {
  fill: var(--brand-700); stroke: var(--blanco); stroke-width: 2; cursor: pointer;
  opacity: 0; transition: opacity .4s ease .5s, r .15s ease, fill .15s ease;
}
.cata--visible .cata-radar__dot { opacity: 1; }
.cata-radar__dot.es-perfecto { fill: var(--lima-500); }
.cata-radar__dot:hover, .cata-radar__dot.activo { r: 7.5; }
.cata-radar__dot.activo { stroke: var(--brand-800); stroke-width: 3; }
.cata-radar__dot:focus-visible { outline: none; stroke: var(--brand-800); stroke-width: 3; }

.cata__panel { align-self: center; }
.cata__panel-hint { font-size: .8rem; color: var(--gris); margin-bottom: 1rem; }
.cata__panel-etiqueta { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--verde-oscuro); margin-bottom: .1rem; }
.cata__panel-valor { font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--verde); line-height: 1; margin-bottom: .6rem; }
.cata__panel-valor span { font-size: 1.1rem; font-weight: 600; color: var(--gris); }
.cata__panel-nota { color: var(--gris); font-size: .95rem; margin-bottom: 1.4rem; min-height: 3.2em; }
.cata__perfectos-titulo { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); margin-bottom: .6rem; }
#cata-perfectos { display: flex; flex-wrap: wrap; gap: .5rem; }
.cata-perfecto {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--lima-100); color: var(--lima-900);
  border-radius: 999px; padding: .3rem .8rem .3rem .35rem; font-size: .82rem; font-weight: 600;
}
.cata-perfecto strong {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--lima-400); color: var(--lima-950); font-size: .82rem;
}

.cata__sabores { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--brand-200); }
.cata__sabores-titulo { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--verde-oscuro); margin-bottom: .9rem; }
.cata__chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.cata-chip {
  border: 1.5px solid var(--brand-300); background: var(--blanco); color: var(--verde-oscuro);
  font-family: 'Sora', sans-serif; font-size: .9rem; font-weight: 600;
  padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.cata-chip:hover { border-color: var(--verde); }
.cata-chip.activo { background: var(--verde-oscuro); border-color: var(--verde-oscuro); color: var(--blanco); }
.cata__sabor-desc {
  margin-top: 1rem; color: var(--gris); font-size: .92rem;
  padding-left: .9rem; border-left: 3px solid var(--lima-400); max-width: 46rem;
}
.cata__sabor-desc[hidden] { display: none; }
.cata__meta { margin-top: 1.8rem; font-size: .8rem; color: var(--gris-500); letter-spacing: .02em; }

/* ====== Aparición al hacer scroll (reveal) ======
   js/tienda.js agrega .reveal a los elementos y .visible al entrar en pantalla */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ====== Testimonios (carrusel horizontal automático) ====== */
.testimonios__marquee {
  margin-top: 2.6rem; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.testimonios__track { display: flex; width: max-content; animation: testiScroll 70s linear infinite; }
.testimonios__marquee:hover .testimonios__track,
.testimonios__marquee:focus-within .testimonios__track { animation-play-state: paused; }
.testimonios__grupo { display: flex; align-items: stretch; gap: 1.6rem; padding-left: 1.6rem; }
@keyframes testiScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.testimonio {
  width: clamp(270px, 82vw, 360px); flex: none;
  background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra);
  padding: 1.8rem; margin: 0; display: flex; flex-direction: column;
}
.testimonio__estrellas { color: var(--ambar-500); letter-spacing: .12em; font-size: 1rem; margin-bottom: .9rem; }
.testimonio blockquote { margin: 0 0 1.3rem; color: var(--tinta); font-size: 1rem; line-height: 1.6; flex: 1; }
.testimonio blockquote::before { content: "\201C"; color: var(--brand-300); font-size: 2.4rem; line-height: 0; vertical-align: -.5rem; margin-right: .1rem; }
.testimonio figcaption { display: flex; flex-direction: column; }
.testimonio__nombre { font-weight: 700; color: var(--verde-oscuro); }
.testimonio__ciudad { font-size: .85rem; color: var(--gris); }

/* ====== Preguntas frecuentes ====== */
.faq__contenedor { max-width: 780px; }
.faq__lista { margin-top: 2.2rem; }
.faq__item { border-bottom: 1px solid var(--brand-200); padding: .3rem 0; }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.08rem; color: var(--verde-oscuro);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--verde); border-bottom: 2px solid var(--verde);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item summary:hover { color: var(--verde); }
.faq__item p { margin: 0 0 1.2rem; color: var(--gris); font-size: .96rem; max-width: 62ch; }
.faq__item[open] p { animation: faqIn .3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ====== Evidencia viva (cámara trampa en el home) ====== */
.evidencia { background: var(--verde-noche); color: var(--blanco); padding: 5rem 0; }
.evidencia__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; }
.evidencia__video {
  position: relative; overflow: hidden;
  border-radius: var(--radio);
  /* Recorta la franja de datos y el logo Bushnell (~7.3% inferior del video) */
  aspect-ratio: 1656 / 866;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.evidencia__video video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
}
.evidencia__credencial {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(0,0,0,.55); color: rgba(255,255,255,.92);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: 999px; backdrop-filter: blur(4px);
}
.evidencia__texto h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: .6rem 0 1.2rem; }
.evidencia__texto p { color: rgba(255,255,255,.88); margin-bottom: 1.6rem; }

/* ====== La Reserva ====== */
.seccion--verde { background: var(--verde-oscuro); color: var(--blanco); }
.reserva__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.reserva__texto h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.reserva__texto p { color: rgba(255,255,255,.88); margin-bottom: 1.1rem; }
.reserva__texto .btn { margin-top: .8rem; }
.reserva__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reserva__fotos img { border-radius: var(--radio); aspect-ratio: 1; object-fit: cover; }
.reserva__fotos img:nth-child(even) { transform: translateY(1.2rem); }

/* ====== Pasos ====== */
.pasos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.paso { background: var(--franja); border-radius: var(--radio); padding: 2rem 1.6rem; }
.paso__num {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  background: var(--accion); color: var(--brand-950);
  font-weight: 700; font-size: 1.2rem;
  border-radius: 50%; margin-bottom: 1rem;
}
.paso h3 { color: var(--verde-oscuro); font-size: 1.15rem; margin-bottom: .4rem; }
.paso p { font-size: .92rem; color: var(--gris); }

/* ====== Footer ====== */
.footer { background: var(--verde-noche); color: rgba(255,255,255,.85); padding: 4rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__logo { height: 76px; margin-bottom: 1.1rem; }
.footer h4 { color: var(--blanco); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; }
.footer p { font-size: .93rem; margin-bottom: .45rem; }
.footer a:hover { color: var(--lima); }
.footer__redes { display: flex; gap: 1.2rem; margin-top: .8rem; }
.footer__redes a { display: inline-flex; align-items: center; gap: .45rem; }
.footer__redes svg { flex-shrink: 0; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.2rem; padding-bottom: 1.2rem; font-size: .82rem; color: rgba(255,255,255,.6); }

/* ====== Sello Chagualos ====== */
.sello-hero {
  background: var(--verde-oscuro); color: var(--blanco);
  padding: 5rem 0 4.5rem;
}
.sello-hero__grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: 3rem; align-items: center;
}
.sello-hero__texto h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
.sello-hero__sub { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2rem; max-width: 56ch; }
/* Los botones se alinean a la izquierda, igual que el texto de la portada. */
.sello-hero__texto .hero__acciones { justify-content: flex-start; }
/* Sello: anillo exterior que gira lento alrededor del logo fijo del centro,
   ambos ubicados concéntricamente. */
.sello-marca {
  position: relative; width: 300px; max-width: 100%;
  margin: 0 auto; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.sello-marca__anillo {
  /* Anillo exterior al 76.5% (10% + 15% adicional más pequeño); el logo central no cambia. */
  display: block; width: 76.5%; height: 76.5%;
  animation: selloGira 40s linear infinite;
}
.sello-marca__logo {
  position: absolute; top: 50%; left: 50%;
  width: 34%; height: auto;
  transform: translate(-50%, -50%);
}
@keyframes selloGira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sello-marca__anillo { animation: none; }
}

.cifras { background: var(--franja); padding: 2.4rem 0; }
.cifras__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.cifra { text-align: center; }
.cifra strong {
  display: block;
  font-size: 2.3rem; font-weight: 800; color: var(--verde-oscuro); line-height: 1.1;
}
.cifra span { font-size: .86rem; color: var(--gris); display: inline-block; max-width: 22ch; }

.seccion__titulo--claro { color: var(--blanco); }
.seccion__sub--claro { color: rgba(255,255,255,.8); }
.seccion--beige { background: var(--franja); }

.fauna__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.fauna-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radio); overflow: hidden;
  display: flex; flex-direction: column;
}
.fauna-card video, .fauna-card > img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block;
  background: #000;
}
.fauna-card figcaption { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.fauna-card h3 { font-size: 1.05rem; color: var(--blanco); margin-bottom: .35rem; }
.fauna-card h3 em { display: block; font-size: .8rem; font-weight: 500; color: var(--lima); font-style: italic; }
.fauna-card p { font-size: .84rem; color: rgba(255,255,255,.75); flex: 1; margin-bottom: .7rem; }
.fauna-card__meta {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.55);
}

.respaldo__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; max-width: 880px; }
.respaldo {
  background: var(--blanco); border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); display: flex; flex-direction: column;
}
.respaldo__img { aspect-ratio: 16/10; overflow: hidden; }
.respaldo__img img { width: 100%; height: 100%; object-fit: cover; }
.respaldo__cuerpo { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.respaldo__cuerpo h3 { color: var(--verde-oscuro); font-size: 1.25rem; margin-bottom: .5rem; }
.respaldo__cuerpo > p { font-size: .9rem; color: var(--gris); margin-bottom: 1rem; }
.respaldo__datos { list-style: none; margin: 0 0 1.2rem; padding: 0; flex: 1; }
.respaldo__datos li {
  font-size: .85rem; color: var(--tinta); padding: .4rem 0 .4rem 1.4rem;
  position: relative; border-bottom: 1px solid var(--borde-suave);
}
.respaldo__datos li::before {
  content: ''; position: absolute; left: 0; top: .85rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--acento);
}
.respaldo__link { font-weight: 600; color: var(--verde); font-size: .92rem; }
.respaldo__link:hover { color: var(--acento); }

.gfw__marco {
  border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra);
  aspect-ratio: 16/9; background: var(--verde-noche);
}
.gfw__marco iframe { width: 100%; height: 100%; border: 0; display: block; }
.mapa-leyenda {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center;
  margin-top: .9rem; font-size: .82rem; color: var(--gris);
}
/* El display:flex anularía el atributo hidden; esta regla lo restaura */
.mapa-leyenda[hidden] { display: none; }
.mapa-leyenda__titulo { font-weight: 600; color: var(--verde-oscuro); }
.mapa-leyenda__item { display: inline-flex; align-items: center; gap: .4rem; }
.mapa-leyenda__item i {
  width: 14px; height: 14px; border-radius: 4px; display: inline-block;
  border: 1px solid rgba(0,0,0,.15);
}
.gfw__nota { font-size: .82rem; color: var(--gris); margin-top: .9rem; }
.gfw__nota a { color: var(--verde); font-weight: 600; }
.gfw__nota a:hover { color: var(--acento); }

.proximos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.proximo {
  border: 1.5px dashed var(--brand-300); border-radius: var(--radio);
  padding: 1.8rem 1.5rem;
}
.proximo__icono { display: inline-block; color: var(--verde); margin-bottom: .9rem; }
.proximo__icono svg { width: 30px; height: 30px; }
.proximo h3 { color: var(--verde-oscuro); font-size: 1.1rem; margin-bottom: .4rem; }
.proximo p { font-size: .88rem; color: var(--gris); }

.sello-cta { background: var(--verde-oscuro); color: var(--blanco); padding: 4.5rem 0; }
.sello-cta__inner { text-align: center; max-width: 560px; }
.sello-cta h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .8rem; }
.sello-cta p { color: rgba(255,255,255,.85); margin-bottom: 1.8rem; }

/* ====== Movimiento reducido (accesibilidad) ====== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide, .hero__slide.activa, .hero__slide.saliente { animation: none !important; transition: opacity .6s ease; }
  .tarjeta img { transition: none; }
  .tarjeta:hover img { transform: none; }
  .detalle__precio.pulso { animation: none; }
  .btn { transition: none; }
  .cata-radar__area { transition: none; transform: scale(1); opacity: 1; }
  .cata-radar__dot { transition: r .15s ease, fill .15s ease; opacity: 1; }
  .cata-anillo__prog { transition: none; stroke-dashoffset: var(--off); }
  .testimonios__track { animation: none; }
  .testimonios__grupo[aria-hidden="true"] { display: none; }
  .hero__eyebrow, .hero__contenido h1, .hero__sub, .hero__acciones { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faq__item[open] p { animation: none; }
  .detalle__imagen img { transition: none; }
}

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .productos__grid { grid-template-columns: 1fr; }
  .tarjeta { aspect-ratio: 4/5; }
  .detalle__grid { grid-template-columns: 1fr; gap: 2rem; }
  .detalle__galeria { grid-template-columns: 1fr; }
  .detalle__imagen { order: 1; height: 44vh; }
  .detalle__thumbs { order: 2; flex-direction: row; }
  .cata { padding: 1.6rem; }
  .cata__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .cata__anillo { width: 108px; }
  .testimonios__grid { grid-template-columns: 1fr; }
  .reserva__grid { grid-template-columns: 1fr; }
  .evidencia__grid { grid-template-columns: 1fr; gap: 2rem; }
  /* En columna única, los botones se alinean con el texto (izquierda), no centrados */
  .reserva__texto .hero__acciones { justify-content: flex-start; }
  .pasos__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .sello-hero__grid { grid-template-columns: 1fr; text-align: left; }
  /* En móvil el sello se muestra más pequeño, debajo del texto */
  .sello-hero__marca { margin-top: 2rem; }
  .sello-hero__marca .sello-marca { width: 190px; }
  .cifras__grid { grid-template-columns: repeat(2, 1fr); }
  .fauna__grid { grid-template-columns: repeat(2, 1fr); }
  .respaldo__grid { grid-template-columns: 1fr; }
  .proximos__grid { grid-template-columns: 1fr; }
  .gfw__marco { aspect-ratio: 4/3; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__logo img { height: 58px; }
  .nav__menu-btn {
    display: grid; place-items: center;
    width: 46px; height: 46px; border: none; border-radius: 50%;
    background: var(--verde); color: var(--blanco); cursor: pointer;
  }
  .nav--flotante .nav__menu-btn { box-shadow: 0 10px 30px rgba(12,34,30,.18); }
  .detalle__cantidad button { width: 44px; height: 44px; }
  .hero { min-height: 70vh; }
  .seccion { padding: 3.5rem 0; }
  .detalle { padding-bottom: 7.5rem; }
  .productos__grid { grid-template-columns: 1fr; }
  .tarjeta { aspect-ratio: 4/5; }
  /* Botones de la sección "Sobre nosotros" a ancho completo y apilados */
  .reserva__texto .hero__acciones { flex-direction: column; align-items: stretch; }
  .reserva__texto .hero__acciones .btn { width: 100%; }
  .cifras__grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .fauna__grid { grid-template-columns: 1fr; }
  .barra-compra {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
    display: flex; gap: 1rem; align-items: center;
    padding: .8rem 1.1rem calc(.8rem + env(safe-area-inset-bottom));
    background: var(--blanco); box-shadow: 0 -6px 24px rgba(12,34,30,.14);
  }
  .barra-compra__precio { display: flex; flex-direction: column; line-height: 1.15; }
  .barra-compra__precio small { color: var(--gris); font-size: .72rem; }
  .barra-compra__precio strong { font-size: 1.3rem; font-weight: 800; color: var(--verde-oscuro); }
  .barra-compra .btn { flex: 1; padding: .75rem 1rem; }
}
