/* ============================================================
   Ayuda Colombia — hoja de estilos única
   Mobile-first. Sin dependencias.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Superficies */
  --paper:      #FBF7F0;
  --paper-2:    #F4EBDD;
  --paper-3:    #FFFDF9;
  --card:       #FFFFFF;

  /* Texto */
  --ink:        #1B1814;
  --ink-soft:   #554D43;
  --ink-mute:   #7A7167;

  /* Acentos (Colombia, en dosis pequeñas) */
  --red:        #B5362B;
  --red-dark:   #93261D;
  --yellow:     #F0B429;
  --yellow-soft:#FDF0CE;
  --blue:       #1D4E89;
  --green:      #2F7D57;
  --wa:         #128C4A;
  --wa-dark:    #0E6E3A;

  --line:       #E7DCC9;
  --line-soft:  #F0E7D8;

  /* Forma */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27,24,20,.06), 0 2px 8px rgba(27,24,20,.05);
  --shadow-md: 0 2px 4px rgba(27,24,20,.05), 0 12px 28px rgba(27,24,20,.09);

  /* Tipografía */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Espaciado */
  --gutter: 20px;
  --section-y: 56px;
  --maxw: 1120px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Deja aire bajo los anclajes para que el header sticky no tape el título */
:target,
section[id],
[id^="acc-"] { scroll-margin-top: 84px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 7.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 3.4vw, 1.4rem); }

a { color: var(--blue); }

/* ---------- 3. Accesibilidad ---------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* El foco programático tras el scroll no debe dibujar un contorno */
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- 4. Layout base ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap-narrow { max-width: 760px; }

.section { padding-block: var(--section-y); }

.section-head { margin-bottom: 28px; }
.section-sub { color: var(--ink-soft); max-width: 56ch; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.eyebrow.center { justify-content: center; }

.flag-dot {
  width: 30px; height: 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--yellow) 0 50%, var(--blue) 50% 75%, var(--red) 75% 100%);
  flex: none;
}

.tricolor {
  height: 5px;
  background: linear-gradient(90deg, var(--yellow) 0 50%, var(--blue) 50% 75%, var(--red) 75% 100%);
  opacity: .9;
}
.tricolor.small {
  height: 4px;
  width: 84px;
  border-radius: var(--r-pill);
  margin: 22px 0;
}

.hl {
  background: linear-gradient(180deg, transparent 62%, var(--yellow-soft) 62%);
  padding-inline: 2px;
  white-space: nowrap;
}

/* ---------- 5. Botones ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--red); box-shadow: 0 6px 18px rgba(181,54,43,.24); }
.btn-primary:hover { --btn-bg: var(--red-dark); }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--red);
  border-color: var(--red);
}
.btn-outline:hover { --btn-bg: var(--red); --btn-fg: #fff; }

.btn-whatsapp { --btn-bg: var(--wa); box-shadow: 0 6px 18px rgba(18,140,74,.22); }
.btn-whatsapp:hover { --btn-bg: var(--wa-dark); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; border-color: var(--ink); }

.btn-quiet {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
  min-height: 46px;
  padding: 10px 20px;
  font-size: .94rem;
}
.btn-quiet:hover { --btn-bg: var(--ink); --btn-fg: #fff; }

.btn-lg { min-height: 60px; padding: 18px 32px; font-size: 1.08rem; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

.btn-arrow { font-size: 1.1em; transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateY(3px); }
.ext { font-size: .95em; opacity: .8; }

.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,247,240,.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 30%, var(--yellow) 0 42%, transparent 43%),
    linear-gradient(140deg, var(--red) 0 55%, var(--blue) 55% 100%);
  flex: none;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.01em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Contador compacto en el header */
.header-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.header-count:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.header-count-bar {
  position: relative;
  width: 34px;
  height: 6px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  overflow: hidden;
}
.header-count-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transition: width .9s cubic-bezier(.22,.8,.3,1);
}
.header-count-text {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1;
}
.header-count-text strong { font-size: .96rem; color: var(--red); }
.header-count-text .sep,
.header-count-text #header-goal { color: var(--ink-mute); }
.header-count-label {
  margin-left: 3px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

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

/* ---------- 7. Hero (foto a sangre + texto en HTML encima) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 780px);
  padding-block: 96px 66px;   /* el padding inferior sube el texto */
  background: #1A1712;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg picture,
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-bg img {
  object-fit: cover;
  object-position: 62% center;
}

/* Velo para que el texto tenga contraste sobre cualquier zona de la foto */
/* Velo cargado hacia abajo: arriba se ve la foto, abajo el texto tiene contraste */
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,17,12,.34)  0%,
    rgba(20,17,12,.14) 22%,
    rgba(20,17,12,.62) 46%,
    rgba(20,17,12,.86) 66%,
    rgba(20,17,12,.94) 100%
  );
}

.hero-inner { position: relative; width: 100%; }
.hero-copy { max-width: 34rem; }

/* Mismos tamaños y jerarquía de antes, invertidos para fondo oscuro */
.hero .eyebrow { color: rgba(255,255,255,.86); }

.hero-copy h1 { margin-bottom: .35em; color: #fff; }
.hero-copy h1 em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
  color: #FFC94A;
}
.hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .1em;
  background: rgba(255,255,255,.34);
  border-radius: var(--r-pill);
}

.hero .lead {
  font-size: 1.06rem;
  color: rgba(255,255,255,.92);
  max-width: 42ch;
  text-shadow: 0 1px 12px rgba(20,17,12,.5);
}
.lead-2 { margin-bottom: 1.6em; }

.hero .btn-primary { box-shadow: 0 10px 30px rgba(0,0,0,.42); }

.micro-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  font-size: .88rem;
  color: rgba(255,255,255,.82);
  max-width: 42ch;
}
.lock { flex: none; font-size: .95em; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(4px);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}
.chip strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #FFC94A;
}
.chip-accent {
  border-color: rgba(255,201,74,.62);
  background: rgba(255,201,74,.17);
  color: #FFE0A0;
}

.hero-caption {
  position: absolute;
  right: 14px;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.62);
}

.hero .tricolor { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }

/* ---------- 8. Kits ---------- */
.kits { background: var(--paper-3); }

/* Aviso destacado: D1 duplica el kit y no se entrega a domicilio */
.match-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 34px;
  padding: 20px 22px;
  border: 1px solid var(--yellow);
  border-left-width: 5px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #FFFBEF 0%, var(--card) 100%);
}
.match-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--yellow);
  color: #3A2A05;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.match-note h3 {
  font-size: 1.15rem;
  margin-bottom: .35em;
}
.match-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .96rem;
  max-width: 62ch;
}
.match-note strong { color: var(--ink); }

.kit-group + .kit-group { margin-top: 40px; }

.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.group-ico {
  width: 12px; height: 12px;
  border-radius: 4px;
  flex: none;
}
.group-ico.ali { background: var(--yellow); }
.group-ico.aseo { background: var(--blue); }

.kit-grid { display: grid; gap: 16px; }

.kit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.kit-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* El kit económico manda visualmente */
.kit-card.featured {
  border-color: var(--yellow);
  border-width: 2px;
  background: linear-gradient(180deg, #FFFCF4 0%, var(--card) 46%);
}

.tag {
  position: absolute;
  top: -12px;
  left: 20px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
}
.tag-yellow { background: var(--yellow); color: #3A2A05; }

/* Miniatura del kit */
.kit-media {
  margin: -6px -6px 16px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
}
.kit-media img {
  width: 100%;
  aspect-ratio: 3 / 2;      /* reserva el espacio: sin saltos al cargar */
  object-fit: contain;
  transition: transform .35s cubic-bezier(.22,.8,.3,1);
}
.kit-card:hover .kit-media img { transform: scale(1.03); }

.kit-ref {
  display: inline-block;
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--paper-2);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  margin: 0 0 10px;
}

.kit-name {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 6px;
}
.kit-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.kit-price .cur { font-size: .62em; vertical-align: .16em; color: var(--ink-soft); }
.kit-price .cop {
  font-family: var(--font-body);
  font-size: .34em;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink-mute);
  vertical-align: .62em;
}
.kit-desc {
  color: var(--ink-soft);
  font-size: .96rem;
  margin-bottom: 20px;
  flex: 1 1 auto;
}

/* "Ver contenido completo" */
.kit-more {
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 4px 0;
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  cursor: pointer;
  transition: color .15s ease;
}
.kit-more:hover { color: var(--ink); }

/* ---------- Modal de contenido del kit ---------- */
.kit-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: min(88vh, 780px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(27,24,20,.28);
  overflow: hidden;
}
.kit-modal::backdrop { background: rgba(27,24,20,.55); }
.kit-modal[open] { animation: modalIn .22s cubic-bezier(.22,.8,.3,1); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
/* Fallback para navegadores sin <dialog> */
.kit-modal.is-open-fallback {
  display: block;
  position: fixed;
  z-index: 100;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.modal-body {
  max-height: min(88vh, 780px);
  overflow-y: auto;
  padding: 0 24px 26px;
  -webkit-overflow-scrolling: touch;
}
.modal-media {
  margin: 0 -24px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.modal-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 230px;
  object-fit: contain;
  background: #fff;
}
@media (min-width: 600px) {
  .modal-media img { max-height: 300px; }
}
.modal-body h2 {
  font-size: 1.7rem;
  margin-bottom: .2em;
}
.modal-price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
  margin: 0 0 20px;
}
.modal-price span {
  font-family: var(--font-body);
  font-size: .38em;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink-mute);
  vertical-align: .55em;
}
.modal-sub {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.modal-list { margin: 0 0 22px; }
.modal-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  font-size: .95rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.modal-list li:last-child { border-bottom: 0; }
.modal-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 15px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}
.modal-list .qty {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  font-size: .78rem;
  font-weight: 800;
  color: var(--ink);
}
.modal-note {
  font-size: .8rem;
  color: var(--ink-mute);
  text-align: center;
  margin: 12px 0 0;
}

body.modal-open { overflow: hidden; }

/* Alternativa presencial: deliberadamente más discreta */
.instore {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 36px;
  padding: 22px;
  background: var(--paper-2);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
}
.instore-ico { font-size: 1.6rem; line-height: 1; flex: none; }
.instore h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.005em;
  margin-bottom: .4em;
}
.instore p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- 9. Confianza ---------- */
.trust { background: var(--ink); color: #F6F1E8; }
.trust-inner { max-width: 720px; text-align: center; }
.trust h2 { color: #fff; }
.shield { color: var(--yellow); display: flex; justify-content: center; margin-bottom: 16px; }
.trust-lead { color: #DCD3C6; font-size: 1.02rem; max-width: 56ch; margin-inline: auto; }

.trust-points {
  display: grid;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
  text-align: left;
}
.trust-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 600;
  color: #EDE6DA;
}
.trust-points span {
  width: 24px; height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(240,180,41,.16);
  color: var(--yellow);
  font-size: .8rem;
  font-weight: 800;
}

/* ---------- 10. Meta comunitaria ---------- */
.goal { background: var(--paper-2); }

.goal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
}
.goal-card h2 { margin-bottom: .35em; }

.counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 12vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}
.counter-sep, #counter-goal {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 600;
  color: var(--ink-mute);
}
.counter-label {
  width: 100%;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.progress {
  height: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 18px;
}
.progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  min-width: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transition: width .9s cubic-bezier(.22,.8,.3,1);
}

.goal-note { font-weight: 700; margin-bottom: .6em; }
.goal-disclaimer {
  font-size: .84rem;
  color: var(--ink-mute);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.55;
}

.report-card {
  max-width: 720px;
  margin: 20px auto 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--wa);
  border-radius: var(--r-md);
  padding: 26px 22px;
}
.report-card h3 { margin-bottom: .5em; }
.report-card > p { color: var(--ink-soft); font-size: .96rem; }
.report-note { font-size: .82rem; color: var(--ink-mute); margin: 14px 0 0; }
.wa-ico { display: inline-flex; }

/* ---------- 11. Cómo funciona ---------- */
.how { background: var(--paper-3); }
.steps { display: grid; gap: 14px; counter-reset: step; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 22px 20px 22px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}
.step h3 { font-size: 1.08rem; margin-bottom: .35em; }
.step p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* ---------- 12. FAQ ---------- */
.accordion {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  overflow: hidden;
}
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-family: var(--font-body); }

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 18px 20px;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background-color .15s ease;
}
.acc-trigger:hover { background: var(--paper-3); }
.acc-trigger:focus-visible { outline-offset: -3px; }

.acc-ico {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
}
.acc-ico::before, .acc-ico::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2.5px;
  background: var(--red);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: transform .22s ease, opacity .22s ease;
}
.acc-ico::after { transform: translateY(-50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-ico::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }

.acc-panel { padding: 0 20px 20px; }
.acc-panel p { color: var(--ink-soft); font-size: .97rem; margin: 0; max-width: 62ch; }
.acc-panel[hidden] { display: none; }

/* ---------- 13. Compartir + QR ---------- */
.share { background: var(--paper-2); }
.share-grid { display: grid; gap: 28px; align-items: center; }
.share-copy p { color: var(--ink-soft); max-width: 46ch; }
.copy-status { color: var(--green); font-weight: 700; }

.qr-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  justify-self: center;
  max-width: 300px;
  width: 100%;
}
.qr-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.qr-box img, .qr-box canvas, .qr-box svg { width: 100%; height: 100%; object-fit: contain; }
.qr-skeleton {
  font-size: .78rem;
  color: var(--ink-mute);
  padding: 14px;
  margin: 0;
  text-align: center;
}
.qr-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.qr-url {
  font-size: .74rem;
  color: var(--ink-mute);
  word-break: break-all;
  margin: 0;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  padding-block: 44px 40px;
}
.foot-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .3em;
}
/* Una sola columna, a todo el ancho del contenedor */
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: var(--maxw);
  width: 100%;
}
.foot-desc { color: var(--ink-soft); max-width: none; margin-bottom: .8em; }
.foot-legal { font-size: .84rem; color: var(--ink-mute); max-width: none; margin-bottom: 0; }
.foot-copy { font-size: .82rem; color: var(--ink-mute); margin: 0; }
.site-footer .tricolor.small { width: 100%; }

/* ---------- 15. Sticky CTA (solo mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,247,240,.94);
  backdrop-filter: saturate(150%) blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform .28s cubic-bezier(.22,.8,.3,1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { min-height: 54px; }
.sticky-cta[hidden] { display: none; }

body.has-sticky-cta { padding-bottom: 84px; }

/* ---------- 16. Breakpoints ---------- */
/* En pantallas muy angostas el header se aprieta: recorta lo prescindible */
@media (max-width: 430px) {
  .brand-name { font-size: .96rem; }
  .header-count { padding: 5px 9px; gap: 6px; }
  .header-count-bar { width: 26px; }
  .header-count-label { display: none; }
  .header-cta { padding-inline: 14px; }
}
@media (max-width: 340px) {
  .brand-name { display: none; }
}

@media (min-width: 600px) {
  :root { --gutter: 28px; --section-y: 72px; }
  .kit-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .goal-card { padding: 42px 36px; }
  .report-card { padding: 32px; }
  .trust-points { grid-auto-flow: row; }
}

@media (min-width: 900px) {
  :root { --section-y: 96px; }
  body { font-size: 17.5px; }

  .hero {
    min-height: min(86vh, 760px);
    padding-block: 120px 96px;
  }
  .hero-bg img { object-position: 58% center; }
  /* En pantallas anchas el texto va a la izquierda: velo lateral en vez de inferior */
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(20,17,12,.90) 0%, rgba(20,17,12,.72) 38%, rgba(20,17,12,.22) 68%, rgba(20,17,12,.10) 100%),
      linear-gradient(180deg, rgba(20,17,12,.30) 0%, rgba(20,17,12,0) 34%, rgba(20,17,12,.42) 100%);
  }
  .hero-copy { max-width: 36rem; }
  .hero .lead { font-size: 1.12rem; }

  .steps { grid-template-columns: repeat(4, 1fr); }
  .trust-points { grid-auto-flow: column; gap: 26px; }

  .share-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .qr-card { justify-self: end; }

  .instore { align-items: center; padding: 26px 30px; }

  /* En desktop el CTA fijo sobra: el hero y las tarjetas ya están a la vista */
  .sticky-cta { display: none !important; }
  body.has-sticky-cta { padding-bottom: 0; }
}

@media (min-width: 1024px) {
  .kit-card { padding: 30px 28px; }
}

/* Anima la entrada del hero sólo si el usuario no pidió menos movimiento */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .6s cubic-bezier(.22,.8,.3,1) both; }
  .hero-copy > *:nth-child(1) { animation-delay: .04s; }
  .hero-copy > *:nth-child(2) { animation-delay: .10s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .22s; }
  .hero-copy > *:nth-child(5) { animation-delay: .28s; }
  .hero-copy > *:nth-child(6) { animation-delay: .34s; }
  .hero-copy > *:nth-child(7) { animation-delay: .40s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 17. Impresión ---------- */
@media print {
  .site-header, .sticky-cta, .hero-bg { display: none !important; }
  .hero { min-height: 0; color: #000; padding-block: 0; }
  body { background: #fff; }
}
