/* ============================================================
   123site.shop — Sistema de diseño
   Índigo + coral · claro · minimalista con movimiento
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── Tokens ─────────────────────────────────────────────── */
:root {
  /* Paleta */
  --indigo:   #4F46E5;
  --indigo-d: #4338CA;
  --violet:   #6D28D9;
  --coral:    #FF6B5C;
  --teal:     #14B8A6;
  --amber:    #F59E0B;

  /* Marca (acento por defecto; los sitios lo sobreescriben) */
  --brand:    var(--indigo);

  /* Superficies (tema claro) */
  --bg:       #FBFBFD;
  --bg-soft:  #F4F4F8;
  --surface:  #FFFFFF;
  --line:     #E7E7EF;

  /* Texto */
  --ink:      #16161D;
  --ink-2:    #4A4A57;
  --muted:    #8A8A99;

  /* Radios y sombras */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(22,22,29,.05), 0 1px 3px rgba(22,22,29,.06);
  --shadow:    0 8px 24px rgba(22,22,29,.07), 0 2px 6px rgba(22,22,29,.05);
  --shadow-lg: 0 24px 60px rgba(22,22,29,.12), 0 8px 24px rgba(22,22,29,.08);
  --ring: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);

  /* Tipografía */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22,.61,.36,1);
  color-scheme: light;
}

/* ─── Temas: Tenue (dim) y Oscuro ────────────────────────── */
html[data-theme="dim"] {
  --bg: #2B2B33; --bg-soft: #34343D; --surface: #3B3B45; --line: #4C4C57;
  --ink: #ECECF2; --ink-2: #C4C4CE; --muted: #9A9AA8;
  color-scheme: dark;
}
html[data-theme="dark"] {
  --bg: #0F0F14; --bg-soft: #17171F; --surface: #1D1D27; --line: #2C2C38;
  --ink: #F3F3F8; --ink-2: #C2C2CC; --muted: #8A8A99;
  color-scheme: dark;
}
/* En temas oscuros, las superficies "blancas" hardcodeadas se atenúan */
html[data-theme="dim"] .card[style*="#FEF3C7"], html[data-theme="dark"] .card[style*="#FEF3C7"] { filter: none; }

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }

/* ─── Utilidades ─────────────────────────────────────────── */
.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
  padding: .35rem .85rem; border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.grad {
  background: linear-gradient(105deg, var(--indigo), var(--violet) 40%, var(--coral));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 56ch; }

/* ─── Botones ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(120deg, var(--indigo), var(--violet));
  color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--indigo) 35%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--indigo) 42%, transparent); }
.btn-accent { background: var(--coral); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--coral) 38%, transparent); }
.btn-accent:hover { transform: translateY(-2px); }
/* WhatsApp: verde clásico, mismo peso visual que un botón normal */
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--brand); transform: translateY(-2px); }
.btn-soft { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.btn-soft:hover { background: color-mix(in srgb, var(--brand) 18%, transparent); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ─── Navbar ─────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brandmark { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brandmark .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--indigo), var(--coral)); box-shadow: 0 4px 12px color-mix(in srgb, var(--indigo) 40%, transparent); }
.brandmark__mark { width: 34px; height: 34px; object-fit: contain; }
.beta-tag { font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(120deg, var(--indigo), var(--coral)); padding: .12rem .4rem; border-radius: 6px; margin-left: .1rem; }
.nav__links { display: flex; align-items: center; gap: .4rem; }
.nav__links a:not(.btn) { padding: .5rem .8rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__share { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2); background: none; border: 0; cursor: pointer; transition: color .2s, background .2s; }
@media (hover: hover) {
  .nav__links a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }
  .nav__share:hover { color: var(--ink); background: var(--bg-soft); }
}
.nav__theme { display: inline-flex; gap: .1rem; align-items: center; }
.nav__theme button { font-size: 1rem; line-height: 1; padding: .3rem .35rem; border-radius: 8px; opacity: .5; }
.nav__theme button:hover { background: var(--bg-soft); opacity: .85; }
.nav__theme button.on { opacity: 1; background: color-mix(in srgb, var(--brand) 14%, transparent); }
.nav__lang { font-size: .82rem; color: var(--muted); display: inline-flex; gap: .25rem; align-items: center; }
.nav__lang a { padding: .2rem .35rem !important; font-weight: 700 !important; }
.nav__lang a.on { color: var(--brand) !important; }
.nav__toggle { display: none; font-size: 1.5rem; line-height: 1; padding: .25rem .55rem; border-radius: 10px; }
.nav__toggle:hover { background: var(--bg-soft); }

@media (max-width: 1024px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: calc(var(--nav-h) - 2px); right: clamp(.6rem, 3vw, 1.2rem);
    width: min(300px, calc(100vw - 1.2rem));
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r); padding: .55rem; box-shadow: var(--shadow-lg);
    display: none; animation: menuIn .18s var(--ease);
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn), .nav__share {
    padding: .8rem .9rem; border-radius: var(--r-sm); font-size: 1rem; color: var(--ink);
    width: 100%; justify-content: flex-start;
  }
  .nav__links .btn { margin: .35rem 0; width: 100%; justify-content: center; padding-block: .85rem; }
  /* Tema + idioma: en una fila, separados por una línea divisoria */
  .nav__theme {
    width: 100%; justify-content: center; gap: .5rem;
    border-top: 1px solid var(--line); margin-top: .35rem; padding-top: .7rem;
  }
  .nav__theme button { font-size: 1.25rem; padding: .45rem .55rem; border: 1px solid var(--line); border-radius: 10px; opacity: .55; }
  .nav__theme button.on { opacity: 1; border-color: var(--brand); }
  .nav__lang { width: 100%; justify-content: center; padding-top: .55rem; font-size: 1rem; gap: .4rem; }
  .nav__lang a { padding: .35rem .6rem !important; }
  .brandmark { font-size: 1.05rem; }
  .brandmark__mark { width: 30px; height: 30px; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ─── Orbes decorativos (antigravity) ────────────────────── */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.orb--1 { width: 46vw; height: 46vw; left: -10vw; top: -12vw; background: radial-gradient(circle at 30% 30%, var(--indigo), transparent 70%); animation: float1 22s ease-in-out infinite; }
.orb--2 { width: 38vw; height: 38vw; right: -8vw; top: 8vh; background: radial-gradient(circle at 60% 40%, var(--coral), transparent 70%); opacity: .4; animation: float2 26s ease-in-out infinite; }
.orb--3 { width: 34vw; height: 34vw; left: 20vw; bottom: -14vw; background: radial-gradient(circle at 50% 50%, var(--teal), transparent 70%); opacity: .35; animation: float3 30s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6vw,4vh) scale(1.08)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5vw,5vh) scale(1.12)} }
@keyframes float3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(4vw,-4vh) scale(1.1)} }

/* ─── Hero ───────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }
.hero__title { font-size: clamp(2.4rem, 6.5vw, 4.6rem); font-weight: 900; letter-spacing: -.035em; }
.hero__sub { margin: 1.4rem auto 0; }
.hero__cta { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.hero__note { margin-top: 1.1rem; font-size: .85rem; color: var(--muted); }
.hero__mock { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* Marco "navegador" para mockup */
.browser { max-width: 880px; margin-inline: auto; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #D8D8E0; display: inline-block; }
.browser__bar .url { margin-left: .8rem; font-size: .8rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: .25rem .7rem; border-radius: 999px; }
.browser__body { padding: clamp(1.4rem, 4vw, 2.6rem); background:
  radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--indigo) 8%, transparent), transparent 50%),
  radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--coral) 8%, transparent), transparent 50%); }

/* ─── Cards ──────────────────────────────────────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card-hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }

/* ─── Grid de tipos de sitio ─────────────────────────────── */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.type-card { padding: 1.6rem; border-radius: var(--r-lg); cursor: pointer; display: flex; flex-direction: column; gap: .6rem; position: relative; }
.type-card__icon { font-size: 2rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: var(--r); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.type-card h3 { font-size: 1.15rem; }
.type-card p { font-size: .9rem; color: var(--ink-2); }
.type-card.selected { border-color: var(--brand); box-shadow: var(--ring); }
.type-card.selected::after { content: '✓'; position: absolute; top: 1rem; right: 1.1rem; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }

/* Carrusel circular: fichas que entran desde arriba y salen por la derecha en arco */
.type-orbit { position: relative; height: 400px; margin: .4rem auto 2.4rem; max-width: 1100px; overflow: hidden; perspective: 1200px; }
.type-orbit__card {
  position: absolute; left: 50%; top: 50%;
  width: min(82vw, 300px);
  display: flex; gap: .9rem; align-items: center;
  padding: 1rem 1.2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  opacity: 0; will-change: transform, opacity;
  animation: typeOrbit 40s linear infinite;
}
.type-orbit:hover .type-orbit__card { animation-play-state: paused; }
.type-orbit__card:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.type-chip__icon { font-size: 1.7rem; width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--r); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.type-orbit__card strong { display: block; font-size: .98rem; line-height: 1.2; }
.type-orbit__card small { display: block; margin-top: .2rem; font-size: .78rem; line-height: 1.3; color: var(--ink-2); }
@keyframes typeOrbit {
  0%   { opacity: 0; transform: translate(-86%, -240%) rotate(-13deg) scale(.66); }
  4%   { opacity: 1; }
  10%  { transform: translate(-70%, -120%) rotate(-7deg) scale(.86); }
  20%  { transform: translate(-50%, -50%) rotate(0deg) scale(1.06); }
  30%  { transform: translate(42%, -78%) rotate(6deg) scale(.95); }
  36%  { opacity: 1; }
  40%  { opacity: 0; transform: translate(150%, -150%) rotate(13deg) scale(.7); }
  100% { opacity: 0; transform: translate(150%, -150%) rotate(13deg) scale(.7); }
}
@media (max-width: 600px) {
  .type-orbit { height: 340px; }
  .type-orbit__card { width: min(86vw, 280px); }
}
@media (prefers-reduced-motion: reduce) {
  .type-orbit { height: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; overflow: visible; }
  .type-orbit__card { position: static; opacity: 1; transform: none; animation: none; width: auto; }
}

/* Rifa: grilla de números */
.rifa-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: .35rem; }
@media (max-width: 520px) { .rifa-grid { grid-template-columns: repeat(5, 1fr); } }
.rifa-cell { font: inherit; font-weight: 700; font-size: .8rem; padding: .5rem 0; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: transform .12s, background .15s, color .15s, border-color .15s; }
.rifa-cell:hover:not(.taken) { border-color: var(--brand); transform: translateY(-1px); }
.rifa-cell.sel { background: var(--brand); color: #fff; border-color: var(--brand); }
.rifa-cell.taken { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.rifa-chip { display: inline-flex; align-items: center; gap: .35rem; background: color-mix(in srgb, var(--brand) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); border-radius: 999px; padding: .2rem .6rem; font-weight: 700; font-size: .82rem; margin: .15rem; }
.rifa-chip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-weight: 800; }

/* ─── Pasos (cómo funciona) ──────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; counter-reset: s; }
.step { padding: 1.6rem; }
.step__n { counter-increment: s; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--violet)); margin-bottom: 1rem; }
.step__n::before { content: counter(s); }
.step h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--ink-2); }

/* ─── Formularios ────────────────────────────────────────── */
.field { margin-bottom: 1.1rem; }
.field > label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .45rem; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=url], input[type=number], input[type=date], input[type=datetime-local],
textarea, select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
textarea { resize: vertical; min-height: 110px; }
::placeholder { color: #B4B4C2; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
/* El wizard es angosto (720px): apila los pares antes para que no queden apretados */
@media (max-width: 720px) { .wizard .row-2 { grid-template-columns: 1fr; } }

/* Campo de contraseña con ojo */
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 3rem; }
.pwd-eye { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); font-size: 1.15rem; line-height: 1; padding: .35rem .45rem; border-radius: 8px; }
.pwd-eye:hover { background: var(--bg-soft); }

/* Slug input */
.slug-wrap { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.slug-wrap:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.slug-wrap .fix { display: flex; align-items: center; padding: 0 .7rem; background: var(--bg-soft); color: var(--muted); font-size: .85rem; white-space: nowrap; }
.slug-wrap input { border: none; box-shadow: none; border-radius: 0; }
.slug-status { font-size: .82rem; margin-top: .4rem; min-height: 1.1em; }
.slug-status.ok { color: #0F9D58; }
.slug-status.taken { color: var(--coral); }

/* Swatches de color */
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s; }
.swatch:hover { transform: scale(1.12); }
.swatch.selected { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px currentColor; }

/* ─── Wizard ─────────────────────────────────────────────── */
.wizard { max-width: 720px; margin: clamp(1.5rem, 5vw, 3rem) auto; }
/* Selección de tipo: carrusel manual "coverflow" (ficha central enfocada) */
.cf-wrap { position: relative; }
.cf-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-block: 1.2rem; padding-inline: max(1rem, calc(50% - 120px)); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cf-track::-webkit-scrollbar { display: none; }
.cf-card { flex: 0 0 min(70vw, 240px); height: 270px; margin: 0; scroll-snap-align: center; cursor: pointer; transform: scale(.82); opacity: .5; transition: transform .35s var(--ease), opacity .35s var(--ease), border-color .2s, box-shadow .2s; display: flex; flex-direction: column; }
.cf-card.is-center { transform: scale(1); opacity: 1; }
.cf-card.is-center.selected { border-color: var(--brand); box-shadow: var(--ring); }
.cf-card h3 { margin-top: .2rem; }
.cf-card p { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.cf-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center; }
.cf-arrow:hover { border-color: var(--brand); color: var(--brand); }
.cf-arrow--l { left: 0; }
.cf-arrow--r { right: 0; }
.wz-types-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: .2rem 0 1.4rem; }

/* Lista resumida de tipos (modal) */
.type-list { display: flex; flex-direction: column; gap: .5rem; }
.type-list__row { display: flex; align-items: center; gap: .9rem; width: 100%; text-align: left; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: inherit; cursor: pointer; transition: border-color .15s, transform .12s, background .15s; }
.type-list__row:hover { border-color: var(--brand); transform: translateX(3px); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.type-list__ic { font-size: 1.5rem; width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, transparent); }
.type-list__tx { flex: 1; min-width: 0; }
.type-list__tx strong { display: block; font-size: .95rem; }
.type-list__tx small { display: block; font-size: .78rem; color: var(--ink-2); line-height: 1.3; }
.type-list__go { color: var(--brand); font-weight: 800; flex-shrink: 0; }
.wsteps { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.wstep { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); cursor: pointer; user-select: none; }
.wstep:hover .wstep__n { border-color: var(--brand); color: var(--brand); }
.shake { background: color-mix(in srgb, var(--coral) 16%, transparent); animation: shake .5s; }
@keyframes shake { 10%,90%{transform:translateX(-2px)} 20%,80%{transform:translateX(3px)} 30%,50%,70%{transform:translateX(-5px)} 40%,60%{transform:translateX(5px)} }
.wstep__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--bg-soft); border: 1px solid var(--line); transition: all .2s; }
.wstep.active { color: var(--brand); }
.wstep.active .wstep__n { background: var(--brand); color: #fff; border-color: var(--brand); }
.wstep.done .wstep__n { background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand); border-color: transparent; }
.wstep__line { width: 26px; height: 2px; background: var(--line); }
.wpanel { display: none; animation: panelIn .4s var(--ease); }
.wpanel.active { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.wactions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem;
  position: sticky; bottom: 0; padding: .9rem 0 1rem;
  background: linear-gradient(to top, var(--bg) 60%, transparent); z-index: 20; }
.wactions .btn { box-shadow: var(--shadow); }

/* Modales del wizard */
.wz-modal { position: fixed; inset: 0; z-index: 130; background: rgba(15,15,22,.45); display: none; align-items: center; justify-content: center; padding: 1rem; }
.wz-modal.open { display: flex; animation: panelIn .25s var(--ease); }
.wz-modal__box { padding: 1.6rem; max-width: 440px; width: 100%; }

/* ─── Reveal al scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ─── Auth (login/registro) ──────────────────────────────── */
.auth { max-width: 440px; margin: clamp(2rem,8vw,5rem) auto; }
.auth .card { padding: clamp(1.6rem, 4vw, 2.4rem); }
.auth h1 { font-size: 1.7rem; margin-bottom: .4rem; }

/* ─── Badges / toast ─────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: .8rem 1.3rem; border-radius: 999px; box-shadow: var(--shadow-lg); opacity: 0; transition: all .3s var(--ease); z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.alert { padding: .85rem 1.1rem; border-radius: var(--r-sm); font-size: .9rem; margin-bottom: 1rem; }
.alert-error { background: color-mix(in srgb, var(--coral) 12%, transparent); color: #C2410C; }
.alert-ok { background: color-mix(in srgb, var(--teal) 14%, transparent); color: #0F766E; }

/* ─── Movimiento reducido ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
