/* =============================================================================
   SMH Store — hoja de estilos única.
   Dirección visual: boutique cálida. Marfil, rosa empolvado y terracota;
   títulos en serif (Fraunces) y texto en DM Sans; formas redondeadas y arcos.
   Orden: tokens → base → utilidades → componentes → secciones → responsive.
   ============================================================================= */

/* ── 1. Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Paleta */
  --ivory:      #fbf6ef;
  --sand:       #f3e8da;
  --blush:      #f2d9cf;
  --blush-soft: #f8e9e2;
  --white:      #fffdfa;
  --ink:        #2b1d1a;
  --ink-soft:   #6b5650;
  --ink-faint:  #a8918a;
  --line:       rgba(43, 29, 26, .12);
  --accent:     #b85c38;   /* terracota */
  --accent-deep:#97462a;
  --cocoa:      #3a2621;   /* fondo de las secciones oscuras */
  --cocoa-deep: #2a1b17;
  --wa:         #1fa855;
  --wa-deep:    #178a45;

  /* Tipografía */
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  /* Métrica */
  --nav-h: 68px;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --gutter: 24px;
  --maxw: 1180px;

  /* Sombras cálidas */
  --shadow-sm: 0 1px 2px rgba(58,38,33,.05), 0 6px 18px rgba(58,38,33,.06);
  --shadow: 0 4px 10px rgba(58,38,33,.06), 0 20px 50px rgba(58,38,33,.10);
  --shadow-lg: 0 8px 20px rgba(58,38,33,.08), 0 36px 90px rgba(58,38,33,.16);

  /* Curvas de animación */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ── 2. Reset y base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.12; }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent); color: #fff; }

/* ── 3. Utilidades ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; border-radius: 2px;
  background: currentColor;
}
.section__head--center .eyebrow,
.cta .eyebrow { justify-self: center; }

.lead { font-size: 1.1875rem; color: var(--ink-soft); line-height: 1.55; }

/* Aparición al hacer scroll — el JS añade .is-in */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(.985);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ── 4. Botones ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--dark  { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(184,92,56,.28); }
.btn--dark:hover  { background: var(--accent-deep); box-shadow: 0 12px 28px rgba(184,92,56,.36); }

.btn--light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { background: var(--blush-soft); }

.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(31,168,85,.3); }
.btn--wa:hover { background: var(--wa-deep); box-shadow: 0 12px 28px rgba(31,168,85,.38); }

.btn--sm { padding: 10px 20px; font-size: .875rem; }
.btn--lg { padding: 19px 38px; font-size: 1.0625rem; }
.btn--wide { width: 100%; }

.icon-arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.icon-wa { width: 20px; height: 20px; flex: none; }

/* ── 5. Navegación ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 239, .86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(58,38,33,.06); }

.nav__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gutter);
  min-height: var(--nav-h);
  display: flex; align-items: center; gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; margin-right: auto; }
.brand__logo { height: 40px; width: auto; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; }
.brand__tag {
  font-family: var(--font-display); font-style: italic;
  font-size: .9375rem; color: var(--ink-soft);
  padding-left: 14px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a {
  padding: 8px 14px; border-radius: 999px;
  font-size: .9375rem; font-weight: 500; color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__links > a:hover { color: var(--ink); background: var(--blush-soft); }
.nav__links > .nav__cta { color: #fff; margin-left: 8px; padding: 10px 20px; }
.nav__links > .nav__cta:hover { color: #fff; background: var(--accent-deep); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blush-soft);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__bar {
  display: block; width: 18px; height: 1.8px; border-radius: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__bar:first-child { transform: translateY(3.4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:last-child  { transform: translateY(-3.4px) rotate(-45deg); }

/* ── 6. Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
  background: linear-gradient(160deg, var(--blush-soft) 0%, var(--ivory) 55%, var(--sand) 100%);
  text-align: center;
  overflow: hidden;
}
/* Dos manchas orgánicas de color detrás del contenido. */
.hero__glow {
  position: absolute; z-index: -1;
  width: clamp(320px, 48vw, 620px); aspect-ratio: 1;
  right: -8%; top: -12%;
  border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 35% 35%, rgba(184,92,56,.20), rgba(242,217,207,.55) 60%, transparent 72%);
  filter: blur(6px);
  animation: blob 16s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: clamp(220px, 30vw, 380px); aspect-ratio: 1;
  left: -10%; bottom: -14%;
  border-radius: 58% 42% 38% 62% / 47% 57% 43% 53%;
  background: radial-gradient(circle, rgba(212,170,120,.28), transparent 70%);
}
@keyframes blob {
  from { transform: rotate(0deg) scale(1); }
  to   { transform: rotate(24deg) scale(1.08); }
}

/* Una columna en móvil; texto + carrusel a partir de 861px (ver responsive). */
.hero__inner { display: grid; gap: clamp(40px, 5vw, 72px); justify-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* El logotipo es un wordmark sobre fondo transparente: va suelto, sin tarjeta. */
.hero__logo { width: clamp(170px, 26vw, 250px); }
.hero__logo img { width: 100%; }

/* ── Carrusel del hero ─────────────────────────────────────────────────────── */
.hero__slider { width: 100%; max-width: 440px; position: relative; }

/* Marco con forma de arco, con un contorno desplazado detrás. */
.hero__slider::before {
  content: ""; position: absolute; z-index: -1;
  inset: 18px -18px 46px 18px;
  border: 1.5px solid var(--accent);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  opacity: .45;
}

.hero__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

/* Las tres fotos se apilan y sólo cambia la opacidad: sin saltos de layout. */
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; pointer-events: auto; }

/* Los flyers son composiciones completas, con titular y precio: se muestran
   enteros (contain) en vez de recortarse al marco. */
.hero__slide img { width: 100%; height: 100%; object-fit: contain; }

.hero__slide-label {
  position: absolute; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  padding: 9px 20px; border-radius: 999px;
  background: var(--ink); color: var(--ivory);
  font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.hero__slide:hover .hero__slide-label { transform: translate(-50%, -2px); background: var(--accent); }

.hero__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.hero__dot {
  width: 9px; height: 9px; padding: 0;
  border-radius: 999px;
  background: rgba(43, 29, 26, .18);
  transition: width .3s var(--ease), background .3s var(--ease);
}
.hero__dot:hover { background: rgba(43, 29, 26, .35); }
.hero__dot.is-active { width: 30px; background: var(--accent); }

.hero__title {
  font-size: clamp(2.6rem, 7.2vw, 4.75rem);
  line-height: 1.02;
  max-width: 13ch;
}
.hero__title em {
  display: block;
  font-style: italic; font-weight: 400;
  color: var(--accent);
}

.hero__lead { max-width: 52ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 4px; }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 8px;
}
.hero__badges li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 253, 250, .75);
  border: 1px solid var(--line);
  font-size: .8125rem; font-weight: 500; color: var(--ink-soft);
}
.hero__badges li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
}

.hero__scroll { display: flex; justify-content: center; margin-top: clamp(28px, 5vw, 52px); }
.hero__scroll span {
  width: 24px; height: 38px; border-radius: 999px;
  border: 1.5px solid var(--ink-faint);
  position: relative;
}
.hero__scroll span::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
  animation: scrollHint 1.9s var(--ease) infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0; transform: translate(-50%, 0); }
  35%      { opacity: 1; transform: translate(-50%, 4px); }
  70%      { opacity: 0; transform: translate(-50%, 14px); }
}

/* ── 7. Secciones ──────────────────────────────────────────────────────────── */
.section { padding: clamp(68px, 9vw, 120px) 0; position: relative; }
.section--cream { background: var(--sand); }
.section--light { background: var(--ivory); }
.section--dark  { background: var(--cocoa); color: var(--ivory); }
.section--dark .lead,
.section--dark .product__desc { color: rgba(251,246,239,.74); }
.section--dark .eyebrow { color: #e9a585; }

/* Las secciones oscuras entran con una curva suave en el borde superior. */
.section--dark {
  border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0;
  margin-top: calc(clamp(28px, 5vw, 56px) * -1);
}

.section__head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); display: grid; gap: 14px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.25rem); }

/* ── 8. Producto ───────────────────────────────────────────────────────────── */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.product--reverse .product__media { order: 2; }

/* Galería */
.gallery__stage {
  margin: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 120px var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.product--reverse .gallery__stage { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 120px; }
.gallery__stage--dark { background: var(--cocoa-deep); }
.gallery__stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .18s var(--ease); }
.gallery__stage.is-swapping img { opacity: 0; }

.gallery__thumbs { display: flex; gap: 12px; margin-top: 16px; }
.thumb {
  flex: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  opacity: .6;
  transition: opacity .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  padding: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; transform: translateY(-3px); }
.thumb.is-active { opacity: 1; border-color: var(--accent); }

/* Ficha */
.product__info {
  display: grid; gap: 22px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.section--cream .product__info { background: var(--ivory); }
.section--dark .product__info {
  background: rgba(255,253,250,.05);
  border: 1px solid rgba(251,246,239,.1);
  box-shadow: none;
}

.promo {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: .8125rem; font-weight: 700; letter-spacing: .02em;
}
.promo::before { content: "✦"; font-size: .75rem; }
.promo--light { background: var(--blush); color: var(--accent-deep); }

.product__desc { font-size: 1.0625rem; color: var(--ink-soft); }

.options { display: grid; gap: 11px; }
.options__label { font-size: .875rem; font-weight: 700; }
.options__hint { font-weight: 400; color: var(--ink-faint); }
.section--dark .options__hint { color: rgba(251,246,239,.55); }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  min-width: 48px;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-size: .9375rem; font-weight: 500;
  transition: all .22s var(--ease);
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); font-weight: 600; }
.section--dark .chip { border-color: rgba(251,246,239,.22); }
.section--dark .chip:hover { border-color: #e9a585; color: #e9a585; }
.section--dark .chip.is-active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.swatches { display: flex; flex-wrap: wrap; gap: 13px; }
.swatch {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--tone, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 2px 6px rgba(58,38,33,.12);
  position: relative;
  transition: transform .22s var(--ease);
  padding: 0;
}
.swatch:hover { transform: scale(1.1); }
.swatch.is-active::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.section--dark .swatch { box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.section--dark .swatch.is-active::after { border-color: #e9a585; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.specs li {
  position: relative; padding-left: 28px;
  font-size: .9375rem; color: var(--ink-soft);
}
.specs li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blush);
}
.specs li::after {
  content: ""; position: absolute; left: 6px; top: .55em;
  width: 6px; height: 3.5px;
  border-left: 1.6px solid var(--accent-deep);
  border-bottom: 1.6px solid var(--accent-deep);
  transform: rotate(-45deg);
}
.section--dark .specs li { color: rgba(251,246,239,.74); }
.section--dark .specs li::before { background: rgba(233,165,133,.2); }
.section--dark .specs li::after { border-color: #e9a585; }

.buybox {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.section--dark .buybox { border-top-color: rgba(251,246,239,.18); }
.buybox .btn { flex: 1 1 220px; }

.price { display: grid; gap: 0; min-width: 130px; }
.price__from { font-size: .8125rem; font-weight: 500; color: var(--ink-faint); }
.section--dark .price__from { color: rgba(251,246,239,.55); }
.price__value {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.15;
  color: var(--accent);
}
.section--dark .price__value { color: #f0b597; }
.price__value--sm { font-size: 1.25rem; }

/* ── 9. Beneficios ─────────────────────────────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.benefit {
  display: grid; gap: 12px; align-content: start;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.benefit__icon {
  width: 56px; height: 56px; padding: 13px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--accent-deep);
  margin-bottom: 4px;
}
.benefit h3 { font-size: 1.125rem; }
.benefit p { font-size: .9375rem; color: var(--ink-soft); }

/* ── 10. Pasos ─────────────────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  position: relative;
}
/* Línea que une los tres pasos en escritorio. */
.steps::before {
  content: ""; position: absolute; z-index: 0;
  left: 16%; right: 16%; top: 36px;
  border-top: 1.5px dashed rgba(184,92,56,.4);
}
.step {
  position: relative; z-index: 1;
  display: grid; gap: 10px; justify-items: center; text-align: center;
}
.step__num {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 400; font-style: italic;
  line-height: 1;
  box-shadow: 0 0 0 8px var(--ivory), 0 10px 24px rgba(184,92,56,.3);
  margin-bottom: 8px;
}
.section--cream .step__num { box-shadow: 0 0 0 8px var(--sand), 0 10px 24px rgba(184,92,56,.3); }
.step h3 { font-size: 1.25rem; }
.step p { font-size: .9375rem; color: var(--ink-soft); max-width: 32ch; }

/* ── 11. Preguntas ─────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: rgba(184,92,56,.35); }
.faq__item summary {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  font-size: 1.0625rem; font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
/* Signo + que se convierte en − al abrir. */
.faq__item summary::after {
  content: "+"; margin-left: auto; flex: none;
  display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blush-soft); color: var(--accent);
  font-size: 1.25rem; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.faq__item[open] summary::after { content: "−"; background: var(--accent); color: #fff; transform: rotate(180deg); }
.faq__item em { font-style: italic; }
.faq__body { padding: 0 24px 22px; }
.faq__body p { font-size: .9375rem; color: var(--ink-soft); max-width: 68ch; }

/* ── 12. CTA final ─────────────────────────────────────────────────────────── */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(72px, 10vw, 124px) 0;
  background: linear-gradient(135deg, var(--accent) 0%, #c9774f 55%, #d9946a 100%);
  color: #fff;
  text-align: center;
}
.cta::before, .cta::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.22);
}
.cta::before { width: 420px; height: 420px; left: -140px; top: -180px; }
.cta::after  { width: 520px; height: 520px; right: -200px; bottom: -260px; }
.cta__inner { display: grid; gap: 20px; justify-items: center; }
.cta__title { font-size: clamp(2rem, 5vw, 3.5rem); }
.cta .lead { color: rgba(255,255,255,.88); max-width: 52ch; }
.cta .btn--wa { background: #fff; color: var(--wa-deep); box-shadow: 0 14px 36px rgba(58,38,33,.25); }
.cta .btn--wa:hover { background: var(--ivory); }
.cta__note { font-size: .875rem; color: rgba(255,255,255,.75); }

/* ── 13. Footer ────────────────────────────────────────────────────────────── */
.footer { background: var(--sand); padding: clamp(48px, 6vw, 76px) 0 28px; }
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(28px, 4vw, 56px);
}
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__nav h3 {
  font-family: var(--font-display); font-size: 1.125rem; font-weight: 500;
  margin-bottom: 12px;
}
.footer__nav a, .footer__meta { display: block; font-size: .9375rem; color: var(--ink-soft); margin-bottom: 7px; }
.footer__nav a:hover { color: var(--accent); }
.brand--footer { align-items: flex-start; flex-direction: column; gap: 10px; }
.brand--footer .brand__logo { height: 34px; }
.brand--footer .brand__tag { padding-left: 0; border-left: 0; }

.footer__legal {
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
}
.footer__legal p { font-size: .8125rem; color: var(--ink-faint); }

/* ── 14. Botón flotante ────────────────────────────────────────────────────── */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px 13px 16px;
  border-radius: 999px;
  background: var(--wa); color: #fff;
  font-size: .9375rem; font-weight: 600;
  box-shadow: 0 8px 26px rgba(31,168,85,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: var(--wa);
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: .55; }
  80%, 100% { transform: scale(1.35); opacity: 0; }
}
.fab:hover { transform: translateY(-3px); background: var(--wa-deep); box-shadow: 0 12px 32px rgba(31,168,85,.5); }
.fab svg { width: 22px; height: 22px; }

/* ── 15. Avisos (sin JS / sin datos) ───────────────────────────────────────── */
.fallback, .notice {
  max-width: 640px;
  margin: 12vh auto; padding: 36px var(--gutter);
  text-align: center; display: grid; gap: 14px;
}
.notice h1, .fallback h1 { font-size: 1.75rem; }
.notice p, .fallback p { color: var(--ink-soft); font-size: .9375rem; }
.notice code {
  display: inline-block;
  padding: 10px 16px; border-radius: 12px;
  background: var(--sand); border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .875rem;
}

/* Marco de reemplazo cuando una foto todavía no existe en assets/img */
.is-missing {
  background: linear-gradient(135deg, var(--sand) 0%, var(--blush) 100%);
  position: relative;
}
.is-missing img { opacity: 0; }
.is-missing::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: grid; place-content: center;
  padding: 18px; text-align: center;
  font-size: .8125rem; font-weight: 600; color: var(--ink-faint);
  letter-spacing: .02em;
}

/* ── 16. Responsive ────────────────────────────────────────────────────────── */
/* A partir de aquí el hero se abre en dos columnas: texto a la izquierda y
   carrusel a la derecha. Por debajo queda apilado y centrado. */
@media (min-width: 861px) {
  .hero { text-align: left; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    align-items: center;
    justify-items: start;
  }
  .hero__copy { align-items: flex-start; }
  .hero__title { max-width: 11ch; }
  .hero__lead { max-width: 44ch; }
  .hero__actions, .hero__badges { justify-content: flex-start; }
}

@media (max-width: 1000px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .product, .product--reverse { grid-template-columns: 1fr; }
  .product--reverse .product__media { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__slider::before { inset: 14px -12px 46px 12px; }
}

@media (max-width: 720px) {
  :root { --gutter: 20px; --nav-h: 62px; }

  .nav__toggle { display: flex; }
  .nav .brand__tag { display: none; }   /* en móvil basta el logotipo */
  .nav__links {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links > a { padding: 12px 16px; font-size: 1.0625rem; }
  .nav__links > .nav__cta { justify-content: center; margin: 8px 0 0; }

  .benefits { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .buybox .btn { flex: 1 1 100%; }
  .gallery__stage,
  .product--reverse .gallery__stage { border-radius: var(--radius-lg) var(--radius-lg) 72px var(--radius-lg); }
  .fab__label { display: none; }
  .fab { padding: 16px; }
  .footer__nav { grid-template-columns: 1fr; gap: 20px; }
}

/* ── 17. Preferencias del sistema ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .nav, .fab, .hero__scroll, .gallery__thumbs { display: none !important; }
  body { background: #fff; }
  .section--dark { border-radius: 0; margin-top: 0; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
