/* ============================================================
   Logo Al Toque — styles.css
   Sistema visual definido en docs/design-system.md
   Mobile-first. Sin frameworks.
   ============================================================ */

:root {
  --navy: #0D1B3D;
  --navy-soft: #16295C;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-100: #E8F0FE;
  --blue-50: #F1F6FF;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --line: #E4EAF4;
  --text: #3D4A66;
  --muted: #6B7A99;
  --danger: #DC2626;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;

  --sh-sm: 0 1px 2px rgba(13, 27, 61, 0.05);
  --sh-md: 0 8px 28px rgba(13, 27, 61, 0.07);
  --sh-lg: 0 18px 50px rgba(13, 27, 61, 0.12);

  --page-gutter: 20px;
  --shell-pad: 24px;
  --head-h: 64px;
  --scroll-gap: 22px;

  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --brand: "Quicksand", var(--sans);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + var(--scroll-gap)); }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img, svg { display: block; }
button { font-family: inherit; }
.noscript { background: var(--navy); color: #fff; text-align: center; padding: 10px; font-size: 0.9rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--page-gutter); }
.section { padding: 48px 0; scroll-margin-top: calc(var(--head-h) + var(--scroll-gap)); }
.section.soft { background: var(--bg-soft); }
#inicio, #ejemplos, #incluye { scroll-margin-top: calc(var(--head-h) + var(--scroll-gap)); }

/* Panel elevado: esquinas redondeadas visibles con aire lateral */
.shell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: var(--shell-pad) var(--page-gutter);
}

:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.35); outline-offset: 2px; }
::selection { background: rgba(37, 99, 235, 0.18); }

/* ============ Wordmark (imagen oficial, solo sobre fondo blanco) ============ */
.wm { display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; }
.wm img { height: 26px; width: auto; max-width: 148px; object-fit: contain; }
.wm-img { height: 22px; width: auto; max-width: 132px; object-fit: contain; }

/* ============ Botones ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r-md);
  padding: 13px 24px;
  transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
  text-align: center;
}
.btn:active { transform: scale(0.985); }
.btn .arr { transition: transform 0.18s ease; }
.btn:hover .arr { transform: translateX(3px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
  transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, transform 0.12s ease, translate 0.16s ease;
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-wsp {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-wsp svg { width: 28px; height: 28px; color: #25D366; flex: 0 0 auto; }
.btn-wsp { gap: 10px; }
.btn-wsp:hover { border-color: #25D366; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; border-radius: 12px; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ============ Chips de icono ============ */
.chip-ic {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.chip-ic svg { width: 20px; height: 20px; }
.chip-ic.big { width: 48px; height: 48px; border-radius: 14px; }
.chip-ic.big svg { width: 24px; height: 24px; }
.chip-ic.sm { width: 34px; height: 34px; border-radius: 10px; }
.chip-ic.sm svg { width: 17px; height: 17px; }

/* Checks y X */
i.ok, i.no {
  width: 21px; height: 21px;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
i.ok { background: var(--blue); }
i.ok::after {
  content: "";
  width: 9px; height: 5px;
  border-left: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}
i.no { background: #EDF1F8; }
i.no::before, i.no::after {
  content: "";
  position: absolute;
  width: 9px; height: 2px;
  background: var(--muted);
  border-radius: 2px;
}
i.no::before { transform: rotate(45deg); }
i.no::after { transform: rotate(-45deg); }
i.no.clock { background: #EDF1F8; }
i.no.clock::before {
  width: 7px; height: 7px;
  background: transparent;
  border: 2px solid var(--muted);
  border-radius: 50%;
  transform: none;
}
i.no.clock::after { width: 2px; height: 4px; transform: translate(0px, -2px); }

/* ============ Tipografía de sección ============ */
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.sec-head { text-align: center; margin-bottom: 24px; }

/* Precio: S/ pequeño arriba del monto */
.price {
  display: inline-flex;
  align-items: flex-start;
  gap: 1px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  white-space: nowrap;
}
.price-cur {
  font-size: 0.58em;
  font-weight: 700;
  line-height: 1;
  margin-top: 0.12em;
  opacity: 0.88;
  letter-spacing: -0.02em;
}
.price-num { font-size: 1em; font-variant-numeric: tabular-nums; }
.sec-head .kicker { text-align: center; }
h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--navy);
}
h2 b, h2 em { color: var(--blue); }
.h-serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}
.h-serif em { font-style: italic; font-weight: 600; }
.sec-sub { color: var(--muted); margin-top: 12px; max-width: 600px; }
.sec-sub.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-sub b { color: var(--blue); font-weight: 600; }

[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   HEADER
============================================================ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(13, 27, 61, 0.04), 0 4px 18px rgba(13, 27, 61, 0.04);
}
.sh-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--head-h);
}
.sh-nav { display: none; gap: 26px; }
.sh-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.sh-nav a:hover { color: var(--navy); }

/* ============================================================
   HERO
============================================================ */
.hero { padding: 36px 0 48px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 18px;
  align-items: start;
}
.hero-badge {
  display: inline-block;
  border: 1px solid #DCE7FB;
  background: var(--blue-50);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 16px;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero-sub { color: var(--muted); font-size: 1.02rem; max-width: 460px; margin-bottom: 24px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }

.hero-feats { list-style: none; display: grid; gap: 12px; }
.hero-feats li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  box-shadow: var(--sh-sm);
}
.hero-feats .chip-ic { width: 36px; height: 36px; border-radius: 50%; grid-row: 1 / 3; }
.hero-feats .chip-ic svg { width: 17px; height: 17px; }
.hero-feats b { color: var(--navy); font-size: 0.93rem; font-weight: 700; }
.hero-feats span:not(.chip-ic) { color: var(--muted); font-size: 0.82rem; }

/* Marquee vertical de logos de ejemplo */
.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  height: 430px;
  overflow: hidden;
  scroll-margin-top: 90px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.fl-col { min-width: 0; }
.fl-col.down { display: none; }
.fl-track {
  --mq-gap: 12px;
  display: grid;
  gap: var(--mq-gap);
  animation: mq-up 44s linear infinite;
}
.fl-col.down .fl-track { animation: mq-down 52s linear infinite; }
@keyframes mq-up {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-50% - var(--mq-gap) / 2)); }
}
@keyframes mq-down {
  from { transform: translateY(calc(-50% - var(--mq-gap) / 2)); }
  to { transform: translateY(0); }
}
.fl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--sh-sm);
  padding: 8px 8px 9px;
  display: grid;
  justify-items: center;
  gap: 7px;
}
.fl-img {
  width: 100%;
  height: auto;
  border-radius: 11px;
}
.fl-cap { font-size: 0.6rem; color: var(--muted); text-align: center; line-height: 1.3; }

/* ============================================================
   POR QUÉ — comparación
============================================================ */
.why-grid { display: grid; gap: 22px; }
.why-left .kicker { margin-bottom: 8px; }
.why-left h2 { margin-bottom: 6px; }
.why-left .sec-sub { margin-top: 8px; margin-bottom: 0; }
.rev-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 14px 16px;
  margin: 14px 0 12px;
}
.rev-stars { display: flex; gap: 2px; color: var(--blue); margin-bottom: 4px; }
.rev-stars svg { width: 16px; height: 16px; }
.rev-claim { font-size: 0.86rem; color: var(--text); margin-bottom: 8px; }
.rev-claim b { color: var(--navy); }
.rev-list { display: grid; gap: 8px; }
.rev {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 12px;
  align-items: start;
}
.rev-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--navy);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / 3;
  font-size: 0.82rem;
}
.rev blockquote { font-size: 0.84rem; color: var(--text); line-height: 1.45; }
.rev figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 1px; }
.rev figcaption b { color: var(--navy); }
.safe-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
}
.why-left .btn { margin-top: 2px; }
.safe-line svg { width: 17px; height: 17px; color: var(--blue); }

/* Desktop: tabla */
.cmp-wrap { display: none; }
.cmp {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 0.95fr 0.95fr 0.95fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 0 12px;
  box-shadow: var(--sh-sm);
}
.cmp .c {
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  min-height: 46px;
}
.cmp .c.last { border-bottom: none; }
.cmp .c.h {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.8rem;
  padding-top: 12px;
  padding-bottom: 8px;
  min-height: auto;
}
.cmp .c.lab { font-weight: 700; color: var(--navy); font-size: 0.78rem; }
.cmp .c i.ok,
.cmp .c i.no { flex-shrink: 0; width: 18px; height: 18px; }
.cmp .c i.ok::after { width: 7px; height: 4px; }
.cmp .c.f i.ok + *,
.cmp .c:not(.lab):not(.h) { line-height: 1.35; }
.l-ic {
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.l-ic svg { width: 13px; height: 13px; }
.cmp .c.f {
  background: #FAFCFF;
  border-inline: 1px solid #E2EBFA;
  color: var(--navy);
  font-weight: 600;
  margin: 0 4px;
}
.cmp .c.f.h {
  background: #fff;
  border-top: 1px solid #E2EBFA;
  border-radius: 14px 14px 0 0;
  justify-content: center;
  margin-top: 6px;
  padding-top: 10px;
}
.cmp .c.f.last {
  border-bottom: 1px solid #E2EBFA;
  border-radius: 0 0 14px 14px;
  margin-bottom: 6px;
  padding-bottom: 10px;
}

/* Mobile: card + tabs */
.cmp-m { display: block; }
.cmpm-feat {
  background: #fff;
  border: 1.5px solid #C8DAFF;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  margin-bottom: 16px;
}
.cmpm-head { background: #fff; border-bottom: 1px solid var(--line); padding: 13px; display: flex; justify-content: center; }
.cmpm-feat ul, .cmp-panel ul { list-style: none; }
.cmpm-feat li, .cmp-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.cmpm-feat li:last-child, .cmp-panel li:last-child { border-bottom: none; }
.cmpm-feat b, .cmp-panel b { display: block; font-size: 0.88rem; color: var(--navy); }
.cmpm-feat span, .cmp-panel span { font-size: 0.8rem; color: var(--muted); }
.cmp-tabs {
  display: flex;
  background: #EAEFF7;
  border-radius: var(--r-md);
  padding: 4px;
  gap: 4px;
  margin-bottom: 10px;
}
.cmp-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 9px 4px;
  border-radius: 10px;
  cursor: pointer;
}
.cmp-tabs button.on { background: #fff; color: var(--navy); box-shadow: var(--sh-sm); }
.cmp-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.cmp-panel.on { display: block; }

/* ============================================================
   EQUIPO
============================================================ */
.team-head { margin-bottom: 18px; }
.team-head .sec-sub { margin-top: 8px; font-size: 0.9rem; }
.t-wrap {
  position: relative;
  margin: 0 calc(var(--page-gutter) * -0.25);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.t-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px var(--page-gutter) 10px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.t-track.dragging { cursor: grabbing; }
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 188px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.t-card:hover { border-color: #D5E0F2; box-shadow: var(--sh-md); }
.t-photo {
  height: 184px;
  overflow: hidden;
  background: var(--bg-soft);
}
.t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.t-info { padding: 11px 14px 14px; }
.t-info p { line-height: 1.4; min-height: 2.8em; }
.t-info h3 { font-size: 0.94rem; color: var(--navy); font-weight: 800; }
.t-info p { font-size: 0.8rem; color: var(--muted); }
.t-bar { display: block; width: 30px; height: 3px; border-radius: 4px; background: var(--c); margin-top: 7px; }
.t-hint { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.t-note {
  margin: 14px auto 0;
  max-width: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  text-align: center;
}
.t-note svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.t-note b { color: var(--blue); font-weight: 700; }

/* ============================================================
   PROCESO
============================================================ */
.proc-grid { display: grid; gap: 12px; }
.process .sec-head { margin-bottom: 20px; }
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--sh-sm);
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 14px;
  align-items: center;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.p-card:hover { border-color: #D5E0F2; }
.p-ic {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / 3;
}
.p-ic > svg { width: 22px; height: 22px; }
.p-num {
  position: absolute;
  top: -7px; left: -7px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: 2px solid #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-card[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
.p-card[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
.p-card[data-reveal]:nth-child(4) { transition-delay: 0.24s; }
.p-card h3 { font-size: 0.96rem; color: var(--navy); font-weight: 800; align-self: end; }
.p-card h3::after {
  content: "";
  display: block;
  width: 26px; height: 2.5px;
  border-radius: 3px;
  background: var(--blue);
  margin-top: 5px;
}
.p-card p { font-size: 0.84rem; color: var(--muted); margin-top: 6px; align-self: start; line-height: 1.45; }

.proc-cta {
  margin-top: 16px;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 16px 0 0;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.proc-cta-btns { display: grid; gap: 10px; width: 100%; }
.proc-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}
.proc-chips li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}
.proc-chips svg { width: 16px; height: 16px; color: var(--navy); }

/* ============================================================
   CONFIGURADOR
============================================================ */
.cfg.section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft) 88%, #fff 100%);
  padding: 40px var(--page-gutter) 64px;
  margin-bottom: 8px;
}
.cfg.section > .container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: var(--shell-pad) var(--page-gutter);
}
.cfg-grid { display: grid; gap: 18px; }
.cfg .sec-head { margin-bottom: 18px; }
.base-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: none;
  padding: 16px 18px;
  scroll-margin-top: calc(var(--head-h) + var(--scroll-gap));
}
.base-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.base-head h3 { font-size: 1.05rem; color: var(--navy); font-weight: 800; flex: 1; }
.base-price {
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.95rem;
}
.base-list { list-style: none; display: grid; gap: 6px; }
.base-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.base-list li:last-child { border-bottom: none; padding-bottom: 0; }

.prop-q { font-size: 1rem; color: var(--navy); font-weight: 800; margin: 14px 0 8px; }
.prop-opts { display: grid; gap: 8px; }
.prop {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto 26px;
  align-items: center;
  column-gap: 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.prop:hover { border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--sh-sm); }
.prop input { position: absolute; opacity: 0; pointer-events: none; }
.prop:has(input:checked) { border-color: var(--blue); background: #F7FAFF; box-shadow: var(--sh-sm); }
.p-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  justify-self: end;
  flex-shrink: 0;
}
.p-check svg { width: 12px; height: 12px; }
.prop:has(input:checked) .p-check { display: flex; }
.p-ico {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop:has(input:checked) .p-ico { background: #fff; color: var(--blue); }
.p-ico svg { width: 21px; height: 21px; }
.p-tit { display: block; font-weight: 800; color: var(--navy); font-size: 0.97rem; }
.p-badge {
  font-style: normal;
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 7px;
  vertical-align: 2px;
}
.p-desc { display: block; font-size: 0.82rem; color: var(--muted); margin-top: 2px; }
.p-price {
  justify-self: end;
  align-self: center;
  font-size: 0.95rem;
  padding-right: 0;
}
.p-price .price-num { font-size: 1.05rem; }

/* ============ Resumen de pedido ============ */
.sum-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: 18px;
}
.js-total { display: inline-block; }
.js-total.bump { animation: bump 0.4s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  45% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.sum-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sum-head h4 { font-size: 1.02rem; color: var(--navy); font-weight: 800; }
.sum-rows { list-style: none; }
.sum-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.sum-rows li b { color: var(--navy); font-weight: 700; white-space: nowrap; }
.sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  margin-top: 11px;
}
.sum-total span { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.sum-total strong { font-weight: 800; color: var(--blue); font-size: 1.22rem; }
.sum-total strong .price-num { font-size: 1.35rem; }
.sum-delivery { font-size: 0.85rem; font-weight: 700; color: var(--blue); margin-top: 9px; }
.sum-inc { margin-top: 12px; }
.sum-inc h5 { font-size: 0.85rem; color: var(--navy); margin-bottom: 7px; }
.sum-inc ul { list-style: none; display: grid; gap: 6px; }
.sum-inc li { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; color: var(--text); }
.sum-inc i.ok { width: 17px; height: 17px; }
.sum-inc i.ok::after { width: 7px; height: 4px; }
.sum-card .btn { margin-top: 14px; }
.sum-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 9px; }
.trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}
.trust li { display: grid; justify-items: center; gap: 5px; text-align: center; }
.trust b { display: block; font-size: 0.72rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.trust span:not(.chip-ic) { display: none; }
.trust .chip-ic.sm { width: 30px; height: 30px; border-radius: 9px; }
.trust .chip-ic.sm svg { width: 15px; height: 15px; }

/* ============================================================
   FOOTER
============================================================ */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; background: #fff; }
.foot .wm img { height: 25px; }
.foot-in { display: grid; gap: 12px; justify-items: center; text-align: center; }
.foot-in p { font-size: 0.9rem; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.foot-nav a { color: var(--text); text-decoration: none; font-size: 0.87rem; font-weight: 600; }
.foot-nav a:hover { color: var(--blue); }
.legal { font-size: 0.76rem !important; color: #93A1BC !important; }

/* ============================================================
   CHECKOUT
============================================================ */
#view-checkout { background: var(--bg-soft); min-height: 100vh; }
.co-head { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; }
.co-head-in { display: grid; gap: 14px; justify-items: center; }
.stepper {
  list-style: none;
  display: flex;
  width: 100%;
  max-width: 760px;
  gap: 4px;
}
.stepper li {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  position: relative;
}
.stepper li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% + 18px);
  right: calc(-50% + 18px);
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.stepper li.done:not(:last-child)::after { background: var(--blue); }
.s-dot {
  width: 27px; height: 27px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.s-label { font-size: 0.66rem; font-weight: 700; color: var(--muted); line-height: 1.25; }
.stepper li.act .s-dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.stepper li.act .s-label { color: var(--blue); }
.stepper li.done { cursor: pointer; }
.stepper li.done .s-dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.stepper li.done .s-dot .n { display: none; }
.stepper li.done .s-dot::after { content: "✓"; font-size: 0.72rem; }
.stepper li.done .s-label { color: var(--navy); }

.co-step { display: none; padding: 20px var(--page-gutter) 48px; }
.co-step.act { display: block; }
.co-step > .container {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: var(--shell-pad) var(--page-gutter);
}
.co-back {
  display: inline-block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.co-back:hover { color: var(--blue); }
.co-grid { display: grid; gap: 20px; align-items: start; }
.co-title { margin-bottom: 4px; }
.co-main > .sec-sub { margin-bottom: 24px; }

/* Cards de extras */
.x-list { display: grid; gap: 12px; }
.x-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  column-gap: 13px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, translate 0.16s ease;
}
.x-card[data-reveal] {
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.16s ease, background 0.16s ease, translate 0.16s ease;
}
.x-card[data-reveal]:nth-child(2) { transition-delay: 0.08s, 0.08s, 0s, 0s, 0s; }
.x-card:hover { border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--sh-sm); }
.x-card input { position: absolute; opacity: 0; pointer-events: none; }
.x-card:has(input:checked) { border-color: var(--blue); background: var(--blue-100); }
.x-ic {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.x-card:has(input:checked) .x-ic { background: #fff; color: var(--blue); }
.x-ic svg { width: 21px; height: 21px; }
.x-tit { display: block; font-weight: 800; color: var(--navy); font-size: 0.96rem; }
.x-desc { display: block; font-size: 0.84rem; color: var(--muted); margin-top: 2px; }
.x-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.x-price { font-weight: 800; color: var(--blue); font-size: 0.95rem; white-space: nowrap; }
.x-box {
  width: 24px; height: 24px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.x-box svg { width: 13px; height: 13px; opacity: 0; }
.x-card:has(input:checked) .x-box { background: var(--blue); border-color: var(--blue); }
.x-card:has(input:checked) .x-box svg { opacity: 1; }

/* Panel de formulario */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: 24px 20px;
}
.panel-head { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px; }
.panel-head h2 { font-size: 1.45rem; }
.panel-head p { font-size: 0.88rem; color: var(--muted); margin-top: 3px; }
.panel-sub {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 800;
  margin: 26px 0 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.panel-sub svg { width: 19px; height: 19px; color: var(--blue); }

.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 0; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--navy); }
.field .hint { font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.field input, .field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.field .err { display: none; color: var(--danger); font-size: 0.8rem; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.lock-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 18px;
}
.lock-line.center { justify-content: center; }
.lock-line svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Chips de estilo */
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 6px 11px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.chip svg {
  width: 42px; height: 42px;
  padding: 9px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--navy);
  transition: background 0.15s ease, color 0.15s ease;
}
.chip:hover { border-color: rgba(37, 99, 235, 0.4); box-shadow: var(--sh-sm); }
.chip:hover svg { background: var(--blue-100); color: var(--blue); }
.chip.on { border-color: var(--blue); background: #F7FAFF; }
.chip.on svg { background: var(--blue); color: #fff; }
.chip.on::after {
  content: "✓";
  position: absolute;
  top: -8px; right: -7px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.js-chips-err { display: none; color: var(--danger); font-size: 0.8rem; }
.field.invalid .js-chips-err { display: block; }

/* Pago */
.js-pay { margin-top: 6px; }
.pay-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--blue-50);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-top: 16px;
}
.pay-note svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--blue); margin-top: 1px; }

/* Tips */
.tips-card {
  background: var(--blue-50);
  border: 1px solid #D8E6FF;
  border-radius: var(--r-lg);
  padding: 20px;
  margin-top: 16px;
}
.tips-card h5 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.tips-card h5 svg { width: 16px; height: 16px; color: var(--blue); }
.tips-card ul { list-style: none; display: grid; gap: 10px; }
.tips-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text); }
.tips-card i.ok { width: 17px; height: 17px; margin-top: 2px; }
.tips-card i.ok::after { width: 7px; height: 4px; }

/* ============================================================
   GRACIAS
============================================================ */
.thx { max-width: 920px; }
.thx-head { text-align: center; margin-bottom: 30px; }
.thx-art { width: 112px; margin: 6px auto 16px; }
.thx-grid { display: grid; gap: 20px; align-items: start; }
.thx-time {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--blue-50);
  border-radius: var(--r-md);
  padding: 14px;
  margin-top: 16px;
}
.thx-time svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }
.thx-time b { display: block; color: var(--navy); font-size: 0.95rem; }
.thx-time b span { color: var(--blue); }
.thx-time div span:not(.js-delivery-big) { font-size: 0.82rem; color: var(--muted); }
.thx-next {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: 22px;
}
.thx-next h3 { color: var(--navy); font-size: 1.08rem; font-weight: 800; margin-bottom: 16px; }
.thx-steps { list-style: none; display: grid; gap: 0; }
.thx-steps li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.thx-steps li:last-child { border-bottom: none; }
.thx-steps b { display: block; font-size: 0.93rem; color: var(--navy); }
.thx-steps div span { font-size: 0.82rem; color: var(--muted); }
.thx-ctas { display: grid; gap: 10px; margin-top: 18px; }

/* ============================================================
   BARRA FIJA MOBILE
============================================================ */
.mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(13, 27, 61, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px var(--page-gutter) calc(11px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.mbar.show { transform: translateY(0); }
.mbar[hidden] { display: none; }
.mbar-total { display: flex; flex-direction: column; line-height: 1.25; }
.mbar-total span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); font-weight: 700; }
.mbar-total b { font-size: 1.22rem; font-weight: 800; color: var(--blue); white-space: nowrap; }
.mbar .btn { flex: 1; padding: 13px 10px; font-size: 0.92rem; }
body.has-bar { padding-bottom: 84px; }

/* ============================================================
   DESKTOP (≥ 760px)
============================================================ */
@media (min-width: 760px) {
  :root { --page-gutter: 24px; --shell-pad: 26px; }
  .container { padding: 0 var(--page-gutter); }
  .section { padding: 52px 0; }
  .cfg.section { padding: 44px var(--page-gutter) 56px; }
  .co-step { padding: 24px var(--page-gutter) 56px; }
  .hero { padding: 52px 0 60px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
  .hero-ctas { flex-direction: row; }
  .hero-feats { grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px; }
  .hero-feats li {
    grid-template-columns: 30px auto;
    grid-template-rows: auto;
    border-radius: 999px;
    padding: 9px 16px 9px 10px;
    column-gap: 9px;
  }
  .hero-feats .chip-ic { width: 30px; height: 30px; grid-row: auto; }
  .hero-feats .chip-ic svg { width: 14px; height: 14px; }
  .hero-feats li span:not(.chip-ic) { display: none; }
  .hero-art { grid-template-columns: 1fr 1fr; gap: 18px; height: 470px; }
  .fl-col.down { display: block; }
  .fl-track { --mq-gap: 18px; }
  .fl-card { padding: 10px 10px 11px; border-radius: 18px; }
  .fl-img { border-radius: 12px; }
  .fl-cap { font-size: 0.68rem; }

  .sh-nav { display: flex; }

  .proc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .proc-cta { padding: 22px 24px; }
  .proc-cta-btns { display: flex; justify-content: center; }
  .proc-cta-btns .btn { width: auto; }

  .chips { grid-template-columns: repeat(3, 1fr); }
  .co-grid { grid-template-columns: 1.55fr 1fr; gap: 26px; }
  .co-side { position: sticky; top: 24px; }
  .panel { padding: 28px; }
  .s-label { font-size: 0.74rem; }
  .thx-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   DESKTOP GRANDE (≥ 1024px)
============================================================ */
@media (min-width: 1024px) {
  .section { padding: 44px 0; }
  .why.section { padding: 52px 0; }
  .team.section { padding: 36px 0; }
  .process.section { padding: 36px 0; }

  .why-grid { grid-template-columns: 0.9fr 1.5fr; gap: 34px; align-items: start; }
  .why-left h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); }
  .why-left .rev-card { padding: 16px 18px; margin: 16px 0 14px; }
  .cmp-wrap { display: block; }
  .cmp-m { display: none; }

  .team-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: end; }
  .team-head h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
  .t-card { flex-basis: 196px; }

  .proc-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .p-card { display: block; padding: 16px 14px; }
  .p-ic { margin-bottom: 10px; width: 48px; height: 48px; }
  .p-ic > svg { width: 20px; height: 20px; }
  .p-card h3 { font-size: 0.9rem; }
  .p-card h3::after { margin-top: 6px; }
  .p-card p { margin-top: 6px; font-size: 0.8rem; }
  .proc-cta { grid-template-columns: auto auto; justify-content: space-between; align-items: center; padding-top: 14px; margin-top: 14px; }
  .proc-cta-btns { justify-content: flex-start; }
  .proc-chips { justify-content: flex-end; }

  .cfg.section { padding: 18px var(--page-gutter) 22px; }
  .cfg.section > .container { padding: 14px var(--page-gutter); }
  .cfg-grid { grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: start; }
  .cfg-side { position: sticky; top: calc(var(--head-h) + 12px); }
  .cfg .sec-head { margin-bottom: 8px; }
  .cfg .sec-head h2 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); }
  .cfg .sec-head .sec-sub { margin-top: 3px; font-size: 0.86rem; line-height: 1.4; }
  .base-card { padding: 10px 13px; }
  .base-head { margin-bottom: 7px; gap: 10px; }
  .base-head h3 { font-size: 0.98rem; }
  .base-list { grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .base-list li { font-size: 0.82rem; padding-bottom: 4px; }
  .prop-q { margin: 8px 0 5px; font-size: 0.94rem; }
  .prop-opts { gap: 6px; }
  .prop { padding: 7px 10px; column-gap: 10px; grid-template-columns: 36px 1fr auto 22px; }
  .p-ico { width: 36px; height: 36px; }
  .p-ico svg { width: 17px; height: 17px; }
  .p-tit { font-size: 0.9rem; }
  .p-desc { font-size: 0.78rem; margin-top: 1px; }
  .p-price .price-num { font-size: 0.98rem; }
  .p-check { width: 20px; height: 20px; }
  .sum-card { padding: 12px 14px; }
  .sum-head { margin-bottom: 7px; }
  .sum-rows li { padding: 6px 0; font-size: 0.86rem; }
  .sum-total { padding: 9px 12px; margin-top: 8px; }
  .sum-total strong { font-size: 1.12rem; }
  .sum-total strong .price-num { font-size: 1.22rem; }
  .sum-inc { margin-top: 8px; }
  .sum-inc h5 { margin-bottom: 5px; font-size: 0.8rem; }
  .sum-inc ul { gap: 4px; }
  .sum-inc li { font-size: 0.78rem; }
  .sum-card .btn { margin-top: 10px; }
  .sum-note { margin-top: 7px; }
  .trust { margin-top: 9px; padding-top: 9px; gap: 5px; }

  .chips { grid-template-columns: repeat(6, 1fr); }
  .chip { font-size: 0.74rem; }

  .mbar { display: none; }
  body.has-bar { padding-bottom: 0; }
}

/* ============================================================
   Marco lateral de página (estilo Designjoy)
============================================================ */
#view-landing, #view-checkout { position: relative; }
@media (min-width: 1240px) {
  #view-landing::before, #view-landing::after,
  #view-checkout::before, #view-checkout::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--line);
    z-index: 3;
    pointer-events: none;
  }
  #view-landing::before, #view-checkout::before { left: calc(50% - 600px); }
  #view-landing::after, #view-checkout::after { right: calc(50% - 600px); }
}

/* ============================================================
   Accesibilidad: reducción de movimiento
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fl-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ============================================================
   BONUS DIARIO + PAGO YAPE
============================================================ */
.bonus-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #D7E5FF;
  background: linear-gradient(135deg, #F8FBFF 0%, #EEF5FF 100%);
  border-radius: var(--r-md);
  color: var(--navy);
  padding: 11px 13px;
}
.bonus-card[hidden] { display: none !important; }
.bonus-icon {
  width: 29px; height: 29px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 0.82rem;
  box-shadow: 0 6px 16px rgba(37,99,235,.22);
}
.bonus-copy { display: grid; gap: 1px; line-height: 1.4; }
.bonus-copy b { color: var(--navy); font-size: 0.84rem; }
.bonus-copy span { color: var(--muted); font-size: 0.76rem; }
.bonus-copy strong { color: var(--blue); font-variant-numeric: tabular-nums; }
.bonus-card-hero { margin: -12px 0 18px; max-width: 510px; }
.bonus-card-summary { margin-top: 11px; }
.bonus-card-pay { margin: 18px 0; }
.bonus-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
}
.bonus-summary[hidden] { display: none !important; }
.bonus-summary b { color: var(--blue); white-space: nowrap; }

.pay-panel { padding: 22px; }
.pay-contact-grid, .pay-code-grid { display: grid; gap: 0 14px; }
.yape-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: var(--r-lg);
  padding: 16px;
  margin: 8px 0 4px;
}
.yape-qr-wrap {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 9px;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.yape-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  font-weight: 800;
}
.yape-qr {
  width: 132px;
  height: 132px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 7px;
}
.yape-copy {
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: .76rem;
  font-weight: 700;
  cursor: pointer;
}
.yape-copy {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #CFE0FF;
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.yape-copy:hover {
  text-decoration: none;
  background: #F4F8FF;
  border-color: #AFCBFF;
  transform: translateY(-1px);
}
.yape-copy.is-copied, .yape-inline-copy.is-copied {
  color: #087A55;
  border-color: #A7E4CE;
  background: #ECFBF5;
}
.yape-number-row dd {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.yape-number-row .js-yape-number {
  font-size: .9rem;
  letter-spacing: .02em;
}
.yape-inline-copy {
  border: 1px solid #CFE0FF;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  padding: 5px 9px;
  font: inherit;
  font-size: .7rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}
.yape-inline-copy:hover { background: #F4F8FF; border-color: #AFCBFF; }
.yape-details { display: grid; align-content: start; gap: 12px; }
.yape-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.yape-total span { font-size: .82rem; color: var(--muted); font-weight: 700; }
.yape-total strong { color: var(--blue); font-size: 1.28rem; }
.yape-data { display: grid; gap: 7px; }
.yape-data div { display: flex; justify-content: space-between; gap: 12px; }
.yape-data dt { color: var(--muted); font-size: .78rem; }
.yape-data dd { color: var(--navy); font-size: .8rem; font-weight: 700; text-align: right; }
.yape-trust { font-size: .76rem; color: var(--text); line-height: 1.45; }
.yape-setup {
  font-size: .73rem;
  line-height: 1.45;
  color: #8A4B08;
  background: #FFF8E7;
  border: 1px solid #F3D8A1;
  border-radius: 10px;
  padding: 8px 10px;
}
.yape-setup[hidden] { display: none !important; }
.pay-note { margin-top: 13px; }

.t-photo, .fl-card { position: relative; }
.t-photo.is-broken::after, .fl-card.is-broken::after {
  content: "Imagen pendiente";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
}

@media (min-width: 760px) {
  .pay-contact-grid, .pay-code-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 759px) {
  .bonus-card-hero { margin-top: -8px; }
  .yape-card { grid-template-columns: 1fr; gap: 14px; }
  .yape-qr-wrap { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; }
  .yape-qr { width: min(180px, 65vw); height: min(180px, 65vw); }
  .yape-data div { align-items: baseline; }
  .yape-number-row { align-items: center !important; }
  .yape-number-row dd { flex-wrap: wrap; }
  .yape-copy { width: 100%; }
}


/* ============================================================
   AJUSTES FINALES — QR, BONUS, RESEÑAS Y CONFIRMACIÓN
============================================================ */
.rev-av {
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--line), 0 5px 14px rgba(13, 27, 61, .10);
}

.bonus-copy { flex: 1; }
.bonus-claim {
  width: fit-content;
  margin-top: 7px;
  border: 1px solid #BFD5FF;
  background: #fff;
  color: var(--blue-dark);
  border-radius: 999px;
  min-height: 34px;
  padding: 7px 12px;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.bonus-claim:hover { transform: translateY(-1px); border-color: #8FB5FF; background: #F8FBFF; }
.bonus-claim.is-claimed,
.bonus-claim:disabled {
  color: #087A55;
  border-color: #A7E4CE;
  background: #ECFBF5;
  cursor: default;
  transform: none;
}

.pay-contact-grid .field label {
  min-height: 42px;
  display: grid;
  align-content: start;
  gap: 2px;
}
.pay-contact-grid .field label .hint {
  margin-left: 0;
  font-weight: 500;
}

.yape-card {
  grid-template-columns: minmax(170px, .78fr) minmax(0, 1.35fr);
  gap: 18px;
  background: linear-gradient(135deg, #FBFCFF 0%, #F4F7FD 100%);
}
.yape-qr-wrap { padding-right: 18px; }
.yape-qr {
  width: 168px;
  height: 168px;
  padding: 8px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(50, 18, 80, .08);
}
.yape-qr-help {
  max-width: 160px;
  color: var(--muted);
  font-size: .68rem;
  line-height: 1.35;
  text-align: center;
}
.yape-number-copy {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "meta action"
    "number action";
  align-items: center;
  gap: 2px 14px;
  border: 1px solid #C9D9F6;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.yape-number-copy:hover {
  transform: translateY(-1px);
  border-color: #9FBEF3;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .08);
}
.yape-number-copy.is-copied {
  border-color: #A7E4CE;
  background: #ECFBF5;
}
.yape-number-meta {
  grid-area: meta;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.yape-number-copy strong {
  grid-area: number;
  font-size: 1.12rem;
  letter-spacing: .04em;
}
.yape-copy-action {
  grid-area: action;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 800;
}
.yape-copy-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.yape-data { padding: 2px 2px 0; }
.yape-data div {
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(218, 226, 240, .75);
}
.yape-data div:last-child { border-bottom: 0; }

.thx { max-width: 1040px; }
.thx-grid { gap: 16px; }
.thx-status {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #D9E7FF;
  background: #F7FAFF;
  border-radius: var(--r-md);
  padding: 12px 13px;
  margin-top: 14px;
}
.thx-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 5px #FFF4D7;
  flex: 0 0 auto;
}
.thx-status b { display: block; color: var(--navy); font-size: .88rem; }
.thx-status span { color: var(--muted); font-size: .76rem; }
.thx-grid > .sum-card,
.thx-next { height: 100%; }
.thx-next { padding: 20px; }
.thx-steps { gap: 0 14px; }
.thx-steps li { padding: 9px 0; }

@media (min-width: 760px) {
  .thx-grid { grid-template-columns: .92fr 1.08fr; align-items: stretch; }
  .thx-steps { grid-template-columns: 1fr 1fr; }
  .thx-steps li:nth-last-child(-n+2) { border-bottom: none; }
  .thx-next h3 { margin-bottom: 9px; }
  .thx-ctas { grid-template-columns: 1fr 1fr; margin-top: 12px; }
}

@media (max-width: 759px) {
  .pay-contact-grid .field label { min-height: 0; }
  .yape-card { grid-template-columns: 1fr; }
  .yape-qr-wrap { padding-right: 0; }
  .yape-qr { width: min(230px, 72vw); height: min(230px, 72vw); }
  .yape-qr-help { max-width: 230px; }
  .yape-number-copy { padding: 13px 14px; }
  .bonus-claim { width: 100%; }
  .thx-head { margin-bottom: 20px; }
  .thx-next { padding: 17px; }
}

/* Balance final de la pantalla de confirmación */
.thx-grid > .sum-card,
.thx-next { height: auto; }
@media (min-width: 760px) {
  .thx-grid { grid-template-columns: .95fr 1.05fr; align-items: start; }
}

/* ============================================================
   PULIDO V3 — bonus sticky, reseñas, QR descargable y seguimiento
============================================================ */
.rev-av {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: 50% 35%;
  border-radius: 50%;
}
.rev { grid-template-columns: 42px 1fr; }

.header-bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  max-width: 0;
  padding: 6px 0;
  margin-inline: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #F7FAFF;
  color: var(--navy);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(37,99,235,0);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transform-origin: center;
  transition:
    max-width .34s cubic-bezier(.22,1,.36,1),
    padding .34s cubic-bezier(.22,1,.36,1),
    margin .34s cubic-bezier(.22,1,.36,1),
    opacity .24s ease,
    transform .34s cubic-bezier(.22,1,.36,1),
    border-color .24s ease,
    box-shadow .24s ease,
    visibility 0s linear .34s;
}
.header-bonus.is-visible {
  max-width: 390px;
  padding: 6px 9px;
  margin-inline: 4px;
  border-color: #D7E5FF;
  box-shadow: 0 6px 18px rgba(37,99,235,.08);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.header-bonus[hidden] { display: inline-flex !important; }
.header-bonus-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: .68rem;
}
.header-bonus-text { display: inline-flex; align-items: center; gap: 7px; font-size: .7rem; }
.header-bonus-text b { font-size: .72rem; }
.header-bonus-text strong { color: var(--blue); font-variant-numeric: tabular-nums; font-size: .78rem; }
.header-bonus-action {
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #BFD5FF;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font: inherit;
  font-size: .66rem;
  font-weight: 800;
  cursor: pointer;
}
.header-bonus-action:disabled { color: #087A55; border-color: #A7E4CE; background: #ECFBF5; cursor: default; }

.bonus-card.is-expired { border-color: #F1D29B; background: #FFFBF2; }
.bonus-card.is-expired .bonus-icon { background: #D98B17; }
.bonus-extend { color: #8A4B08; border-color: #E9C47C; }

.yape-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #BFD5FF;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.yape-download:hover { transform: translateY(-1px); border-color: #8FB5FF; box-shadow: 0 7px 18px rgba(37,99,235,.10); }

.thx-order-id {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: .76rem;
}
.thx-order-id strong { color: var(--navy); letter-spacing: .04em; }
.tracking-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tracking-head .kicker { margin-bottom: 3px; }
.tracking-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: #087A55; background: #ECFBF5; border: 1px solid #BFEBD9;
  border-radius: 999px; padding: 5px 9px; font-size: .68rem; font-weight: 800;
}
.tracking-live i { width: 7px; height: 7px; border-radius: 50%; background: #18B981; box-shadow: 0 0 0 4px rgba(24,185,129,.12); }
.tracking-disclaimer { margin: 10px 0 14px; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.order-timeline { list-style: none; display: grid; gap: 0; position: relative; }
.order-timeline::before { content:""; position:absolute; left: 8px; top: 12px; bottom: 18px; width: 2px; background: #DFE7F5; }
.order-timeline li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 7px 0 11px; }
.timeline-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #CCD8EB; background: #fff; z-index: 1; margin-top: 2px; }
.order-timeline li.done .timeline-dot { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px #fff; }
.order-timeline li.active .timeline-dot { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 5px rgba(37,99,235,.12); }
.order-timeline b { display:block; color: var(--navy); font-size: .86rem; }
.order-timeline div > span { display:block; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.order-timeline small { display:block; margin-top: 2px; color: var(--blue); font-size: .66rem; font-weight: 800; }
.tracking-progress { height: 7px; border-radius: 999px; background: #E9EFF9; overflow: hidden; margin-top: 7px; }
.tracking-progress span { display:block; width: 2%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2563EB, #60A5FA); transition: width .5s ease; }
.tracking-summary { margin-top: 9px; color: var(--text); background: #F7FAFF; border: 1px solid #DCE8FA; border-radius: 12px; padding: 9px 11px; font-size: .73rem; line-height: 1.45; }

/* El carrusel comienza en Patty y deja ver la siguiente tarjeta a la derecha. */
.t-wrap {
  margin-left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 93%, transparent 100%);
}
.t-track { padding-left: 0; padding-right: 34px; }

@media (min-width: 1024px) {
  .why-grid { align-items: stretch; }
  .why-right, .cmp-wrap { height: 100%; }
  .cmp-wrap { display: flex; }
  .cmp { flex: 1; align-content: stretch; }
  .cmp .c { min-height: 53px; }
}

@media (max-width: 759px) {
  .site-head { position: sticky; }
  .site-head.bonus-visible { padding-bottom: 43px; }
  .header-bonus {
    position: absolute;
    left: var(--page-gutter); right: var(--page-gutter); bottom: 5px;
    justify-content: center;
    min-height: 34px;
    padding: 4px 8px;
    border-radius: 11px;
  }
  .header-bonus-text b { display: none; }
  .header-bonus-text { font-size: .68rem; }
  .header-bonus-dot { width: 22px; height: 22px; }
  .header-bonus-action { margin-left: auto; }
  .yape-download { width: 100%; max-width: 260px; }
  .tracking-head { align-items: flex-start; }
  .tracking-live { flex-shrink: 0; }
  .t-track { padding-left: 0; }
}


/* ============================================================
   PULIDO V4 — transición hero/header y bonus GRATIS
============================================================ */
.site-head { transition: padding-bottom .34s cubic-bezier(.22,1,.36,1), box-shadow .24s ease, border-color .24s ease; }
.bonus-card-hero { transition: opacity .28s ease, transform .34s cubic-bezier(.22,1,.36,1), box-shadow .28s ease; }
.bonus-card-hero:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37,99,235,.12); }
.bonus-copy b { letter-spacing: -.01em; }
.header-bonus-text b { color: var(--navy); }
.header-bonus-action { transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.header-bonus-action:not(:disabled):hover { transform: translateY(-1px); border-color: #8FB5FF; background: #fff; }

@media (max-width: 759px) {
  .site-head.bonus-visible { padding-bottom: 47px; }
  .header-bonus {
    max-width: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(.985);
  }
  .header-bonus.is-visible {
    max-width: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-head, .header-bonus, .bonus-card-hero, .header-bonus-action { transition: none !important; }
}


/* ============================================================
   AJUSTE V7 — CTA móvil enfocado en configuración
============================================================ */
@media (max-width: 759px) {
  .mbar-total { display: none; }
  .mbar { gap: 0; }
  .mbar .btn { width: 100%; flex: 1 1 100%; }
}
