/* =============================================================================
   ECMALL · Landing comercial (ecmall.club)
   Paleta oficial ECmall: degradado de marca magenta (#D81B60 / #E91E63) →
   azul rey/eléctrico (#1565C0 / #1976D2), acentos morados (#7B1FA2) y azul
   marino profundo (#0F172A). Mobile-first, sin dependencias.
   ============================================================================= */

:root {
  /* Oficiales */
  --magenta: #d81b60;
  --magenta-600: #c2185b;
  --magenta-700: #ad1457;
  --magenta-50: #fce4ec;
  --magenta-25: #fff5f8;
  --pink: #e91e63;
  --blue: #1565c0;
  --blue-500: #1976d2;
  --blue-50: #e3f2fd;
  --purple: #7b1fa2;
  --purple-50: #f3e5f5;
  --navy: #0f172a;       /* azul marino profundo: títulos y sección oscura */
  --navy-800: #1e293b;
  --navy-900: #0b1120;
  /* Degradado de marca */
  --grad: linear-gradient(120deg, #d81b60 0%, #e91e63 22%, #7b1fa2 55%, #1565c0 82%, #1976d2 100%);
  --grad-soft: linear-gradient(120deg, #fce4ec, #f3e5f5 50%, #e3f2fd);
  /* Apoyo */
  --sky: #1976d2;
  --bg: #f8fafc;
  --text: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --amber-50: #fffbeb;
  --amber-300: #fcd34d;
  --amber-800: #92400e;

  /* Fondo del login del Panel: halo azul arriba a la derecha y rosa abajo a la izquierda */
  --soft-bg:
    radial-gradient(90% 70% at 100% 0%, rgba(21, 101, 192, .16), rgba(21, 101, 192, 0) 70%),
    radial-gradient(90% 70% at 0% 100%, rgba(216, 27, 96, .12), rgba(216, 27, 96, 0) 70%),
    radial-gradient(60% 50% at 50% 50%, rgba(123, 31, 162, .05), rgba(123, 31, 162, 0) 70%),
    var(--bg);

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .04);
  --shadow: 0 16px 40px -16px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 30px 60px -20px rgba(15, 33, 64, .40);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
  background: var(--magenta-50);
  color: var(--magenta-700);
  padding: .1em .4em;
  border-radius: 6px;
  white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, background-position .4s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad); background-size: 160% 100%; background-position: 0% 50%; color: #fff; box-shadow: 0 12px 26px -12px rgba(123, 31, 162, .8); }
.btn--primary:hover { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(21, 101, 192, .75); }
.btn--ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn--ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn--link { color: var(--navy); padding-inline: 6px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--purple); text-decoration-thickness: 2px; }
.btn--lg { min-height: 54px; padding: 14px 24px; font-size: 16px; border-radius: 14px; white-space: normal; text-align: center; }
.btn--block { width: 100%; }
.btn--whatsapp { background: #128c4a; color: #fff; }
.btn--whatsapp:hover { background: #0f7a40; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--magenta); margin-bottom: 14px;
}
.eyebrow--light { color: #f48fb1; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px var(--purple-50); flex: none; }

/* Badge con el degradado de marca (texto blanco) */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad); color: #fff;
  font-size: 12.5px; font-weight: 800; letter-spacing: .02em;
  padding: 4px 11px; border-radius: 999px;
}

/* ---------- Navbar ----------
   sticky (no fixed): ocupa su lugar en el flujo, así nunca tapa el contenido,
   y respeta el área segura (notch / barra de estado del iPhone). */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 33, 64, .45); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }

.nav__links { display: none; }
.nav__cta { display: none; margin-left: auto; gap: 10px; }
.nav__toggle {
  margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.nav__toggle span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menú móvil desplegable */
.nav.is-open .nav__links {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 12px 20px 20px; box-shadow: var(--shadow);
  max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
}
.nav.is-open .nav__links > a { padding: 12px 4px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line); }
.nav__cta--mobile { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; }

@media (min-width: 900px) {
  .nav__toggle, .nav__cta--mobile { display: none !important; }
  .nav__links { display: flex; gap: 28px; margin-left: 20px; }
  .nav__links a { font-weight: 600; font-size: 15px; color: var(--navy); transition: color .15s; }
  .nav__links a:hover { color: var(--purple); }
  .nav__cta { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 64px; background: var(--soft-bg); }
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 7.2vw, 58px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--magenta); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { margin-top: 20px; font-size: clamp(17px, 2.2vw, 19px); color: var(--text); max-width: 560px; }
.hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__proof { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--muted); }
.hero__proof strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 18px; margin-right: 4px; }

.hero__visual { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1e293b, var(--navy-900));
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.phone__notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; border-radius: 12px; background: var(--navy-900); z-index: 2; }
.phone__screen { height: 100%; border-radius: 34px; overflow: hidden; background: #fff; display: flex; flex-direction: column; padding: 12px 12px 0; gap: 8px; font-size: 10px; color: #111; position: relative; }
/* Foto recortada (un mismo archivo sirve para varias miniaturas) */
.ph { background-color: #e7e5e4; background-image: var(--img); background-size: var(--s, cover); background-position: var(--x, 50%) var(--y, 50%); background-repeat: no-repeat; }
/* Tienda de ejemplo: Atelier Valeria (estilo Dawn Minimal) */
.av__status { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; height: 18px; font-size: 10px; }
.av__status span { width: 18px; height: 8px; border-radius: 2px; border: 1.5px solid #111; }
.av__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-top: 4px; }
.av__head strong { display: block; font-family: ui-serif, Georgia, "Times New Roman", serif; font-size: 15px; letter-spacing: .02em; color: #111; line-height: 1.1; }
.av__head small { display: block; font-size: 8.5px; color: #78716c; margin-top: 2px; }
.av__bag { position: relative; flex: none; width: 28px; height: 28px; border-radius: 8px; background: #f5f5f4; display: grid; place-items: center; color: #111; }
.av__bag svg { width: 15px; height: 15px; }
.av__bag b { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--magenta); color: #fff; font-size: 8px; display: grid; place-items: center; }
.av__search { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 8px; background: #f5f5f4; color: #a8a29e; font-size: 9.5px; }
.av__search svg { width: 12px; height: 12px; }
.av__hero { position: relative; height: 132px; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 10px; color: #fff; flex: none; }
.av__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.72)); }
.av__hero > * { position: relative; }
.av__tag { align-self: flex-start; background: #111; color: #fff; font-size: 7.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 3px; }
.av__hero strong { font-family: ui-serif, Georgia, serif; font-size: 14px; line-height: 1.15; }
.av__hero small { font-size: 8.5px; opacity: .9; }
.av__chips { display: flex; gap: 5px; overflow: hidden; flex: none; }
.av__chips span { padding: 4px 9px; border-radius: 6px; background: #f5f5f4; border: 1px solid #e7e5e4; font-weight: 600; white-space: nowrap; font-size: 9.5px; }
.av__chips .on { background: #111; border-color: #111; color: #fff; }
.av__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.av__card { display: flex; flex-direction: column; gap: 2px; border: 1px solid #e7e5e4; border-radius: 8px; overflow: hidden; padding-bottom: 6px; }
.av__card > span:not(.av__add) { padding: 0 6px; }
.av__img { position: relative; aspect-ratio: 3 / 4; margin-bottom: 3px; }
.av__badge { position: absolute; top: 5px; left: 5px; background: #111; color: #fff; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 2px 5px; border-radius: 3px; }
.av__name { font-family: ui-serif, Georgia, serif; font-weight: 700; font-size: 9.5px; line-height: 1.2; color: #111; }
.av__price { font-weight: 800; font-size: 10px; }
.av__price s { color: #a8a29e; font-weight: 500; margin-left: 2px; }
.av__pay { margin-top: auto; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 9.5px; }
.av__pay svg { width: 12px; height: 12px; flex: none; }
.av__add { margin: 4px 6px 0; text-align: center; background: #111; color: #fff; font-weight: 700; font-size: 9px; padding: 5px 0; border-radius: 5px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.3; color: var(--navy);
}
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--grad); color: #fff; }
.float-card__icon--cyan { background: var(--blue-50); color: var(--blue); }
.float-card--a { left: 0; top: 18%; }
.float-card--b { right: 0; bottom: 14%; }
@media (max-width: 420px) {
  .float-card--a { left: -6px; top: 6%; }
  .float-card--b { right: -6px; bottom: 4%; }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .phone { width: 300px; }
  .float-card--a { left: -40px; top: 46%; }
  .float-card--b { right: -40px; bottom: 10%; }
}

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section--tint { background: var(--soft-bg); }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__head h2, .section h2 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 800; }
.section__sub { margin-top: 14px; font-size: 17px; }
@media (min-width: 960px) { .section { padding: 104px 0; } }

/* Ventajas */
.features { display: grid; gap: 16px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #ce93d8; }
.feature__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -12px rgba(123, 31, 162, .8); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { font-size: 15px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Modelo híbrido: tienda propia ⇄ Plaza ECmall.club + 3 pilares */
.hybrid { display: grid; gap: 28px; }
.hybrid__switch {
  display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; justify-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-sm);
}
.hybrid__node {
  width: 100%; max-width: 300px; text-align: center; padding: 14px 18px; border-radius: var(--radius);
  background: var(--grad-soft); border: 1px solid #e1bee7;
}
.hybrid__node strong { display: block; color: var(--navy); font-size: 18px; letter-spacing: -.01em; }
.hybrid__node--mall { background: var(--navy); border-color: var(--navy); }
.hybrid__node--mall strong { color: #fff; }
.hybrid__node--mall .hybrid__label { color: #cbd5e1; }
.hybrid__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--purple); }
.hybrid__toggle { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hybrid__toggle::before {
  content: ""; width: 56px; height: 30px; border-radius: 999px; background: var(--grad);
  box-shadow: 0 8px 18px -10px rgba(123, 31, 162, .9); grid-area: 1 / 1;
}
.hybrid__knob {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; margin-top: -33px; margin-left: 26px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .25);
}
.hybrid__toggle small { font-size: 12px; font-weight: 700; color: var(--muted); }
.pillars { display: grid; gap: 16px; counter-reset: pillar; }
.pillar {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 26px 26px;
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar__num {
  position: absolute; top: 18px; right: 20px; font-size: 40px; font-weight: 800; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .35;
}
.pillar h3 { font-size: 19px; margin-bottom: 8px; color: var(--navy); }
.pillar p { font-size: 15px; }
@media (min-width: 760px) {
  .hybrid__switch { grid-template-columns: 1fr auto 1fr; padding: 26px 32px; }
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillar:last-child { grid-column: 1 / -1; } }
/* 5 pilares: 2 arriba (anchos) y 3 abajo. */
@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .pillar, .pillar:last-child { grid-column: span 2; }
  .pillar:nth-child(-n+2) { grid-column: span 3; }
}

/* Plantillas: vista previa real de la tienda con 4 estilos por giro */
.templates { display: grid; gap: 18px; }
.tpl {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tpl:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(123, 31, 162, .45); border-color: #ce93d8; }
.tpl__stage { position: relative; height: 318px; padding: 44px 20px 0; display: flex; justify-content: center; overflow: hidden; background: var(--grad-soft); }
.tpl__vname { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 11.5px; padding: 3px 10px; box-shadow: 0 4px 12px -4px rgba(15, 23, 42, .45); }

/* Mini tienda (la parte superior de un teléfono) */
.sf {
  --bg: #fff; --fg: #111; --muted: #78716c; --line: #e7e5e4; --btn: #111; --btn-fg: #fff; --badge: #111; --badge-fg: #fff;
  --hb: linear-gradient(120deg, #57534e, #a8a29e); --r: 3px; --rc: 4px; --head: ui-serif, Georgia, "Times New Roman", serif; --hw: 700; --ht: none; --bw: 1px;
  width: 100%; max-width: 212px; border-radius: 22px 22px 0 0; padding: 12px 10px 0;
  background: var(--bg); color: var(--fg); border: 6px solid #0f172a; border-bottom: 0;
  box-shadow: 0 18px 40px -14px rgba(15, 23, 42, .55); font-size: 8.5px; line-height: 1.25;
  display: flex; flex-direction: column; gap: 6px; transition: background .3s ease, color .3s ease;
}
.sf__head { display: flex; justify-content: space-between; align-items: center; }
.sf__head strong { display: block; font-family: var(--head); font-weight: var(--hw); text-transform: var(--ht); font-size: 11.5px; letter-spacing: .01em; }
.sf__head small { display: block; color: var(--muted); font-size: 7.5px; }
.sf__bag { width: 20px; height: 20px; border-radius: var(--rc); border: var(--bw) solid var(--line); display: grid; place-items: center; }
.sf__bag svg { width: 11px; height: 11px; }
.sf__hero { position: relative; height: 62px; border-radius: var(--rc); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 6px 7px; color: #fff; flex: none; border: var(--bw) solid var(--line); }
.sf__hero { background: var(--hb); }
.sf__hero > * { position: relative; }
.sf__hero span { font-size: 6.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.sf__hero strong { font-family: var(--head); font-weight: var(--hw); text-transform: var(--ht); font-size: 11px; }
.sf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sf__p { display: flex; flex-direction: column; gap: 1px; border: var(--bw) solid var(--line); border-radius: var(--rc); overflow: hidden; padding-bottom: 5px; background: var(--bg); }
.sf__p > span:not(.sf__add) { padding: 0 5px; }
.sf__img { position: relative; aspect-ratio: 3 / 4; margin-bottom: 2px; }
.sf__badge { position: absolute; top: 4px; left: 4px; background: var(--badge); color: var(--badge-fg); font-size: 6px; font-weight: 800; text-transform: uppercase; padding: 1.5px 4px; border-radius: var(--r); }
.sf__n { font-family: var(--head); font-weight: var(--hw); text-transform: var(--ht); font-size: 8.5px; }
.sf__pr { font-weight: 800; }
.sf__pr s { color: var(--muted); font-weight: 500; }
.sf__add { margin: 3px 5px 0; text-align: center; background: var(--btn); color: var(--btn-fg); font-weight: 700; font-size: 7.5px; padding: 3.5px 0; border-radius: var(--r); }

/* Variantes */
.tpl[data-v="noir"] .sf {
  --bg: #0c0a09; --fg: #f5f5f4; --muted: #a8a29e; --line: #292524; --btn: #c9a96e; --btn-fg: #0c0a09; --badge: #c9a96e; --badge-fg: #0c0a09;
  --r: 0; --rc: 0; --hw: 500; --hb: linear-gradient(120deg, #1c1917, #44403c);
}
.tpl[data-v="noir"] .sf__hero strong { color: #c9a96e; }
.tpl[data-v="noir"] .sf__head strong { letter-spacing: .14em; color: #c9a96e; }
.tpl[data-v="pastel"] .sf {
  --bg: #fbf3ee; --fg: #57423f; --muted: #a38b85; --line: #f0dcd4; --btn: #c27c8a; --btn-fg: #fff; --badge: #fff; --badge-fg: #c27c8a;
  --r: 999px; --rc: 14px; --head: var(--font); --hw: 700; --hb: linear-gradient(120deg, #d9a0aa, #c27c8a);
}
.tpl[data-v="street"] .sf {
  --bg: #fff; --fg: #0a0a0a; --muted: #525252; --line: #0a0a0a; --btn: #0a0a0a; --btn-fg: #fff; --badge: #facc15; --badge-fg: #0a0a0a;
  --hb: #0a0a0a; --r: 0; --rc: 0; --head: "Arial Narrow", "Helvetica Neue", Impact, sans-serif; --hw: 900; --ht: uppercase; --bw: 2px;
}
.tpl[data-v="street"] .sf__hero span { color: #facc15; opacity: 1; }
.tpl[data-v="street"] .sf__head strong { font-stretch: condensed; letter-spacing: -.01em; font-size: 13px; }

.tpl__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tpl h3 { font-size: 16.5px; }
.tpl p { font-size: 14px; }
.vchips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; margin-top: 4px; }
.vchip {
  display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 7px; white-space: nowrap; font-size: 11px !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.vchip i { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.vchip--aurora i { background: linear-gradient(90deg, #fff 50%, #111 50%); }
.vchip--noir i { background: linear-gradient(90deg, #111 50%, #c9a96e 50%); }
.vchip--pastel i { background: linear-gradient(90deg, #f3e3da 50%, #c27c8a 50%); }
.vchip--street i { background: linear-gradient(90deg, #fff 50%, #facc15 50%); }
.vchip:hover { border-color: #ce93d8; }
.vchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tpl__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--purple); }
.tpl__go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tpl__go:hover svg { transform: translateX(3px); }
@media (min-width: 640px) { .templates { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .templates { grid-template-columns: repeat(4, 1fr); } }

/* Transparencia */
.honest {
  display: grid; gap: 20px; padding: 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--magenta-25));
  border: 1px solid #e1bee7; box-shadow: var(--shadow);
}
.honest__badge { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.honest__badge svg { width: 30px; height: 30px; }
.honest__body h2 { margin-bottom: 16px; }
.honest__body > p { font-size: 16.5px; margin-bottom: 12px; max-width: 760px; }
.honest__body strong { color: var(--navy); }
.honest__split { display: grid; gap: 14px; margin-top: 20px; }
.honest__col { border-radius: var(--radius); padding: 18px 20px; background: #fff; border: 1px solid var(--line); }
.honest__col h3 { font-size: 15px; margin-bottom: 10px; }
.honest__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15px; }
.honest__col li { padding-left: 26px; position: relative; }
.honest__col li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.honest__col--yes li::before { content: "✓"; color: var(--blue); }
.honest__col--no { background: var(--amber-50); border-color: var(--amber-300); }
.honest__col--no h3 { color: var(--amber-800); }
.honest__col--no li::before { content: "+"; color: var(--amber-800); }
@media (min-width: 760px) {
  .honest { grid-template-columns: auto 1fr; padding: 44px; gap: 28px; }
  .honest__split { grid-template-columns: 1fr 1fr; }
}

/* Precios */
.section--dark {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(21, 101, 192, .38), transparent 60%),
    radial-gradient(800px 420px at 0% 100%, rgba(216, 27, 96, .30), transparent 60%),
    radial-gradient(600px 360px at 50% 50%, rgba(123, 31, 162, .22), transparent 70%),
    var(--navy);
  color: #cbd5e1;
}
.section--dark h2 { color: #fff; background: linear-gradient(90deg, #fff 30%, #f48fb1 65%, #90caf9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pricing { display: grid; gap: 40px; align-items: center; }
.pricing__copy p { font-size: 17px; margin-top: 14px; max-width: 480px; }
.pricing__trust { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.pricing__trust li { padding-left: 28px; position: relative; color: #e2e8f0; }
.pricing__trust li::before { content: "✓"; position: absolute; left: 0; color: #f48fb1; font-weight: 800; }
.plan {
  position: relative; color: var(--text); border-radius: var(--radius-lg);
  padding: 38px 26px 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  max-width: 460px; width: 100%; justify-self: center;
}
.plan__ribbon { position: absolute; top: -15px; left: 26px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 13px; }
.plan h3 { font-size: 20px; }
.plan__price { display: flex; align-items: flex-start; gap: 4px; margin-top: 14px; color: var(--navy); }
.plan__currency { font-size: 28px; font-weight: 800; margin-top: 10px; }
.plan__amount { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.plan__period { font-size: 14px; color: var(--muted); font-weight: 600; line-height: 1.3; margin: 16px 0 0 6px; }
.plan__then { margin-top: 10px; font-size: 15.5px; }
.plan__then strong { color: var(--navy); }
.plan__list { list-style: none; padding: 20px 0; margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.plan__list li { padding-left: 30px; position: relative; color: var(--navy); font-weight: 500; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat, var(--grad); }
.plan__note { font-size: 14px; background: var(--amber-50); border: 1px solid var(--amber-300); color: #78350f; padding: 12px 14px; border-radius: 12px; margin-bottom: 20px; }
.plan__note strong { color: var(--amber-800); }
@media (min-width: 960px) { .pricing { grid-template-columns: 1fr 1fr; gap: 64px; } .plan { padding: 42px 36px 32px; } }

/* Soporte / FAQ */
.support { display: grid; gap: 36px; }
.support__intro p { margin: 14px 0 22px; font-size: 17px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 18px; transition: border-color .2s; }
.faq details[open] { border-color: #ce93d8; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--purple); font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; font-size: 15.5px; }
@media (min-width: 960px) { .support { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

/* CTA final */
.cta-band { padding: 0 0 72px; }
.cta-band__inner {
  display: grid; gap: 18px; justify-items: center; text-align: center;
  background: var(--grad-soft); border: 1px solid #e1bee7;
  border-radius: var(--radius-lg); padding: 32px 24px;
}
.cta-band img { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 6px #d81b60, 0 0 0 9px #fff, 0 0 0 12px #1565c0, 0 14px 28px -10px rgba(15, 23, 42, .5); }
.cta-band h2 { font-size: clamp(22px, 3.4vw, 30px); }
.cta-band p { margin-top: 6px; }
@media (min-width: 760px) {
  .cta-band__inner { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; padding: 32px 40px; }
}

/* Footer */
.footer { background: var(--navy-900); color: #a9b8cc; padding: 56px 0 28px; font-size: 15px; }
.footer__grid { display: grid; gap: 32px; }
.footer h3 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #f48fb1; }
/* Logo sobre tarjeta blanca, como en el login del Panel */
.footer__logo { display: inline-block; background: #fff; border-radius: 16px; padding: 10px 14px; }
.footer__logo img { height: 72px; width: auto; }
.footer__brand p { margin-top: 14px; max-width: 320px; }
.footer__backed strong { color: #e2e8f0; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__credits { margin-top: 10px; font-size: 12px; color: #7d8fa8; }
.footer__credits a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

/* Deja espacio para el botón flotante de Ohzkar en móvil */
@media (max-width: 640px) { .footer { padding-bottom: 104px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
