/* =========================================================
   SuperAgente — estilos
   Neutros + un solo acento. Sin degradados decorativos.
   ========================================================= */
:root {
  /* Tema claro inspirado en Spacemail: blanco, gris carbón y morado */
  --bg: #ffffff;
  --bg-2: #f7f6fa;
  --line: #ececf0;
  --line-2: #dcdbe2;
  --text: #29292d;
  --muted: #5f5e66;
  --dim: #8f8e97;

  --paper: #f6f2ff;
  --paper-2: #e9e0ff;
  --ink: #29292d;
  --ink-muted: #5f5e66;
  --ink-line: #e6def9;

  --accent: #7444e8;
  --accent-hover: #6334dc;
  --accent-soft: #f1ebff;
  --accent-light: #8b5cf6;
  --footer: #2c2c2f;

  --radius: 14px;
  --header-h: 64px;
  --container: 1160px;

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: var(--font);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: -0.01em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hidden { display: none; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Botones ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn .ic { transition: transform .2s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(107,78,255,.7); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--line-2); background: #fff; }
.btn--ghost:hover { background: var(--bg-2); border-color: var(--dim); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: background .2s, border-color .2s;
}
.header.is-scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.brand__mark { width: 24px; height: 24px; }
.brand__word { font-weight: 600; font-size: 17px; letter-spacing: -0.03em; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 6px 12px; border-radius: 8px; color: var(--muted); font-size: 14px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--accent); background: var(--accent-soft); }
.nav__cta-mobile { display: none !important; }
.menu-btn { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ic { width: 18px; height: 18px; }
.menu-btn .ic--close { display: none; }
.menu-open .menu-btn .ic--open { display: none; }
.menu-open .menu-btn .ic--close { display: block; }

@media (max-width: 860px) {
  .header__actions { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .25s var(--ease);
  }
  .nav a { font-size: 17px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .nav a.is-active { background: none; color: var(--accent); }
  .nav__cta-mobile { display: inline-flex !important; margin-top: 16px; border-bottom: 0 !important; color: #fff !important; border-radius: 999px !important; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .header { background: var(--bg); }
}

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 88px) 0 0; background: linear-gradient(180deg, var(--paper) 0%, #fff 70%); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.hero__title { margin: 22px 0 36px; font-size: clamp(40px, 6.4vw, 80px); letter-spacing: -0.045em; line-height: 1.02; max-width: 15ch; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: end; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.br-lg { display: none; }
@media (min-width: 1000px) { .br-lg { display: inline; } .hero__title { max-width: none; } }

.domain__label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 8px; font-family: var(--mono); }
.domain__box {
  display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff; transition: border-color .15s, box-shadow .15s;
  box-shadow: 0 10px 30px -18px rgba(22,20,58,.35);
}
.domain__box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.domain .btn--sm { border-radius: 50%; }
.domain__pre { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.domain input { flex: 1; min-width: 0; height: 36px; border: 0; outline: 0; background: transparent; font-family: var(--mono); font-size: 15px; color: var(--text); caret-color: var(--accent); }
.domain input::placeholder { color: var(--dim); }
.domain__tld { height: 36px; border: 0; border-left: 1px solid var(--line-2); background: transparent; padding: 0 8px; font-family: var(--mono); font-size: 14px; color: var(--text); cursor: pointer; outline: 0; }
.domain__tld option { background: #fff; }
.domain .btn--sm { width: 36px; padding: 0; }

@media (max-width: 860px) {
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero__row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Ventana de navegador (tema claro: así se verá el sitio del agente) */
.hero__shot { margin-top: 72px; }
.win { border-radius: 14px; overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(22,20,58,.35), 0 2px 6px rgba(22,20,58,.04); }
.win__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: #f1efea; border-bottom: 1px solid #e3e0d8; }
.win__dots { display: flex; gap: 6px; width: 60px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d6d2c8; }
.win__sp { width: 60px; }
.win__url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 340px; margin: 0 auto; height: 26px; border-radius: 6px; background: #fff; border: 1px solid #e3e0d8; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.win__url .ic { width: 11px; height: 11px; }
.caret { width: 1px; height: 13px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.ag { padding: 22px 36px 40px; background: #fbfaf7; }
.ag__nav { display: flex; align-items: center; gap: 24px; }
.ag__brand b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.ag__brand small { font-size: 12px; color: var(--ink-muted); }
.ag__links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; color: var(--ink-muted); }
.ag__wa { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 8px; background: #1f7a4a; color: #fff; }
.ag__wa .ic { width: 13px; height: 13px; }
.ag__hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; margin-top: 48px; align-items: center; }
.ag__meta { font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.ag__h { margin: 14px 0 14px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.ag__p { color: var(--ink-muted); font-size: 15px; max-width: 420px; }
.ag__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; }
.ag__cta .ic { width: 14px; height: 14px; }
.ag__calc { padding: 20px; border-radius: 12px; background: #fff; border: 1px solid var(--ink-line); box-shadow: 0 12px 30px -18px rgba(0,0,0,.25); }
.ag__calc > small { font-family: var(--mono); font-size: 11.5px; color: var(--ink-muted); }
.ag__calc-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #efece5; font-size: 13.5px; }
.ag__calc-row span { color: var(--ink-muted); }
.ag__calc-row--total { border: 0; padding-top: 12px; }
.ag__calc-row--total b { color: var(--accent); font-size: 16px; }
.ag__prog { height: 8px; margin: 14px 0 4px; border-radius: 99px; background: #eceaf5; overflow: hidden; }
.ag__prog i { display: block; height: 100%; width: 8%; border-radius: inherit; background: var(--accent); transform-origin: left; }
.is-visible .ag__prog i { animation: growX 1s var(--ease) .5s both; }
@keyframes growX { from { transform: scaleX(0); } }
.ag__calc-row--total b { color: #c8323c !important; }
.ag__calc-btn { display: block; margin-top: 12px; padding: 10px; border-radius: 999px; text-align: center; background: var(--accent); color: #fff; font-size: 13px; font-weight: 500; }

/* Maqueta de propuesta CalculaMiRetiro */
.prop { padding: 26px 28px 30px; background: #fff; }
.prop__meta { font-size: 12.5px; color: var(--ink-muted); }
.prop__name { margin: 4px 0 12px; font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.prop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.prop__chips span { padding: 6px 12px; border-radius: 10px; border: 1px solid var(--ink-line); font-size: 12.5px; color: var(--ink-muted); }
.prop__chips b { color: var(--ink); margin-left: 4px; }
.prop__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: center; margin-top: 22px; }
.prop__gauge { position: relative; text-align: center; }
.prop__gauge svg { width: 100%; max-width: 180px; margin: 0 auto; overflow: visible; }
.prop__gauge path { fill: none; stroke-width: 10; stroke-linecap: round; }
.g-bg { stroke: #e7e5ee; }
.g-fg { stroke: var(--accent); stroke-dasharray: 157; stroke-dashoffset: 157; transition: stroke-dashoffset 1.4s var(--ease) .4s; }
.is-visible .g-fg { stroke-dashoffset: 144.4; }
.prop__gauge b { display: block; margin-top: -34px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.prop__gauge small { color: var(--accent); font-size: 13px; }
.prop__cards { display: grid; gap: 10px; }
.prop__card { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ink-line); }
.prop__card small { display: block; font-size: 12px; color: var(--ink-muted); }
.prop__card b { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.prop__card--goal { background: var(--accent-soft); border-color: #d9d0ff; }
.prop__card--goal small { color: var(--accent); }
.prop__gap { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #fdecee; border: 1px solid #f6c9ce; color: #b42a35; font-size: 14px; }
.calc__stat { margin-bottom: 8px; font-size: 20px; letter-spacing: -0.02em; line-height: 1.35; }
.calc__stat b { color: var(--accent); font-weight: 600; }
.calc__stat small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--ink-muted); letter-spacing: 0; }
@media (max-width: 520px) {
  .prop { padding: 20px 18px 22px; }
  .prop__grid { grid-template-columns: minmax(0, 1fr); }
  .prop__gauge svg { max-width: 150px; }
}
.ag__bars { display: flex; align-items: flex-end; gap: 5px; height: 72px; margin-top: 14px; }
.ag__bars i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: #e9e5dc; transform-origin: bottom; }
.ag__bars i:last-child { background: var(--accent); }
.is-visible .ag__bars i { animation: grow .9s var(--ease) both; }
.is-visible .ag__bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 60ms + 300ms); }
@keyframes grow { from { transform: scaleY(0); } }

@media (max-width: 760px) {
  .ag { padding: 16px 18px 24px; }
  .ag__links { display: none; }
  .ag__wa { margin-left: auto; }
  .ag__hero { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 28px; }
  .hero__shot { margin-top: 48px; }
  .win__dots, .win__sp { width: auto; }
  .win__sp { display: none; }
}

/* Datos clave */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts dt { font-size: 13px; color: var(--dim); font-family: var(--mono); }
.facts dd { margin-top: 8px; font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.facts dd small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div { padding: 22px 16px; }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .facts dd { font-size: 21px; }
}

/* ---------- Secciones ---------- */
.section { padding: 128px 0; scroll-margin-top: var(--header-h); }
.section--line { border-top: 1px solid var(--line); }
.section--paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.section--paper .shead p { color: var(--ink-muted); }
.section--paper .shead__n { color: var(--ink-muted); border-color: var(--ink-line); }

.shead { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; margin-bottom: 64px; }
.shead__n { align-self: start; display: inline-block; justify-self: start; padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 6px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.shead h2 { font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.04em; max-width: 20ch; }
.shead p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 560px; }
@media (max-width: 760px) {
  .section { padding: 88px 0; }
  .shead { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 44px; }
}

/* ---------- Servicios ---------- */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc__item { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s; }
.svc__item:hover { background: var(--bg-2); }
.svc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.svc__item h3 { font-size: 22px; letter-spacing: -0.03em; }
.svc__item > p { color: var(--muted); font-size: 15.5px; }
.price { font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; }
.price small { font-size: 12px; color: var(--dim); font-weight: 400; }
.list { margin-top: 20px; display: grid; gap: 8px; }
.list li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--text); }
.list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--accent); }
.svc__item--feature { background: var(--accent-soft); }
.svc__item--feature:hover { background: var(--accent-soft); }
.svc__item--feature h3::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-radius: 2px; background: var(--accent); vertical-align: middle; }
.svc__item--extras { grid-column: span 2; }
.extra { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.extra:first-of-type { border-top: 0; padding-top: 4px; }
.extra b { font-weight: 500; }
.extra p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 14.5px; font-weight: 500; color: var(--accent); }
.link:hover .ic { transform: translateX(2px); }
.link .ic { transition: transform .2s var(--ease); }
.fine { margin-top: 16px; font-size: 13px; color: var(--dim); font-family: var(--mono); }
@media (max-width: 960px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__item--extras { grid-column: auto; }
  .svc__item { padding: 26px 20px 28px; }
}

/* ---------- CalculaMiRetiro ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.calc__site { padding: 40px 36px 44px; background: linear-gradient(160deg, #fff 40%, var(--accent-soft)); }
.calc__h { margin: 12px 0 10px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; max-width: 16ch; }
.calc__p { color: var(--ink-muted); max-width: 360px; }
.calc__btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 14.5px; }
.calc__btn .ic { width: 14px; height: 14px; }
.calc__by { display: block; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.calc .link { margin-top: 28px; }
.calc__demo { padding: 32px; border-radius: 16px; background: #fff; border: 1px solid var(--ink-line); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.calc__field { margin-bottom: 26px; }
.calc__field label { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--ink-muted); margin-bottom: 12px; }
.calc__field output { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--p, 50%) 100% no-repeat, var(--paper-2); outline-offset: 6px; cursor: pointer; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
.calc__result { padding-top: 22px; border-top: 1px solid var(--ink-line); }
.calc__result span { font-size: 14px; color: var(--ink-muted); }
.calc__result b { display: block; margin: 4px 0 8px; font-size: clamp(36px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc__result small { font-size: 12.5px; color: var(--ink-muted); }
.calc__steps { display: grid; gap: 0; }
.calc__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-top: 1px solid var(--ink-line); }
.calc__steps li:last-child { border-bottom: 1px solid var(--ink-line); }
.calc__steps .mono { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; }
.calc__steps b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.calc__steps p { color: var(--ink-muted); margin-top: 4px; }
@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .calc__demo { padding: 22px; }
}

/* ---------- Plantillas ---------- */
.tpl { --accent-t: #1f4fd6; }
.tpl__tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tpl__tabs::-webkit-scrollbar { display: none; }
.tpl__tabs button { flex: none; position: relative; border: 0; background: none; cursor: pointer; padding: 12px 18px; font-size: 15px; color: var(--muted); transition: color .15s; }
.tpl__tabs button:hover { color: var(--text); }
.tpl__tabs button[aria-selected="true"] { color: var(--text); }
.tpl__tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--accent); }
.tsite { padding: 22px 36px 36px; background: #fbfaf7; }
.tsite__nav { display: flex; align-items: center; gap: 24px; }
.tsite__brand b { display: block; font-size: 15px; letter-spacing: -0.02em; }
.tsite__brand small { font-size: 12px; color: var(--ink-muted); }
.tsite__links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; color: var(--ink-muted); }
.tsite__btn { font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 8px; background: #1f7a4a; color: #fff; }
.tsite__hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; margin-top: 40px; align-items: center; }
.tsite h3 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.04em; }
.tsite__hero p { margin-top: 14px; color: var(--ink-muted); max-width: 420px; }
.tsite__cta { display: inline-block; margin-top: 22px; padding: 11px 16px; border-radius: 8px; background: var(--accent-t); color: #fff; font-size: 14px; font-weight: 500; transition: background .3s; }
.tsite__img {
  position: relative; aspect-ratio: 4 / 3; border-radius: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-t) 18%, #fff), color-mix(in srgb, var(--accent-t) 6%, #f1efea));
  transition: background .3s;
}
.tsite__img::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 42%; aspect-ratio: 1 / 1.25; transform: translateX(-50%); border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px; background: color-mix(in srgb, var(--accent-t) 30%, #e9e5dc); transition: background .3s; }
.tsite__img::after { content: ""; position: absolute; left: 50%; bottom: 46%; width: 22%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: color-mix(in srgb, var(--accent-t) 38%, #e2ddd2); transition: background .3s; }
.tsite__badge { position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 6px 10px; border-radius: 8px; background: #fff; font-size: 12.5px; font-weight: 600; box-shadow: 0 6px 16px -8px rgba(0,0,0,.3); }
.tsite__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.tsite__cards span { padding: 16px; border-radius: 10px; background: #fff; border: 1px solid var(--ink-line); font-size: 14px; font-weight: 500; }
[data-tpl-field] { transition: opacity .2s; }
.tpl.is-swapping [data-tpl-field] { opacity: 0; }
@media (max-width: 760px) {
  .tsite { padding: 16px 18px 24px; }
  .tsite__links { display: none; }
  .tsite__btn { margin-left: auto; }
  .tsite__hero { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 24px; }
  .tsite__cards { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .tsite__cards span { padding: 12px 10px; font-size: 13px; }
}

/* ---------- Precios ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.presets { display: inline-flex; padding: 3px; margin-bottom: 20px; border: 1px solid var(--line-2); border-radius: 10px; }
.presets button { border: 0; background: none; cursor: pointer; padding: 7px 14px; border-radius: 7px; font-size: 14px; color: var(--muted); transition: background .15s, color .15s; }
.presets button:hover { color: var(--text); }
.presets { border-radius: 999px; }
.presets button { border-radius: 999px !important; }
.presets button.is-on { background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px #d6ccff; }
.opts { border-top: 1px solid var(--line); }
.opts__group { padding: 28px 0 10px; font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.opt { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 4px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.opt:hover { background: var(--bg-2); }
.opt.is-locked { cursor: default; }
.opt.is-locked:hover { background: none; }
.opt__check { width: 20px; height: 20px; margin-top: 2px; border-radius: 5px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.opt__check .ic { width: 13px; height: 13px; stroke-width: 3; color: var(--bg); opacity: 0; }
.opt__check .ic { color: #fff !important; }
.opt.is-on .opt__check { background: var(--accent); border-color: var(--accent); }
.opt.is-on .opt__check .ic { opacity: 1; }
.opt.is-locked .opt__check { background: var(--line-2); border-color: var(--line-2); }
.opt.is-locked .opt__check .ic { color: var(--muted); }
.opt__txt b { font-weight: 500; font-size: 16px; }
.opt__txt small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.opt__tag { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 4px; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); vertical-align: 2px; }
.opt__price { text-align: right; font-family: var(--mono); font-size: 14.5px; white-space: nowrap; }
.opt__price small { display: block; font-size: 12px; color: var(--dim); }
.opt:not(.is-on) .opt__price { color: var(--dim); }

.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: 20px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink-line); }
.summary__label { font-family: var(--mono); font-size: 13px; color: var(--ink-muted); }
.summary__price { margin-top: 10px; font-size: 56px; font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.summary__sub { margin-top: 8px; font-size: 14px; color: var(--ink-muted); }
.summary__rows { margin: 24px 0 0; padding: 16px 0; border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line); display: grid; gap: 6px; }
.summary__rows div { display: flex; justify-content: space-between; font-size: 14px; }
.summary__rows dt { color: var(--ink-muted); }
.summary__rows dd { font-family: var(--mono); }
.summary__renew { margin: 16px 0 22px; font-size: 14px; color: var(--ink); line-height: 1.5; }
.summary__renew b { font-family: var(--mono); font-weight: 500; }
.summary__fine { margin-top: 14px; font-size: 12.5px; color: var(--ink-muted); }
@media (max-width: 960px) {
  .builder { grid-template-columns: minmax(0, 1fr); }
  .summary { position: relative; top: 0; }
}
@media (max-width: 520px) {
  .opt { grid-template-columns: 22px minmax(0, 1fr); }
  .opt__price { grid-column: 2; text-align: left; }
  .opt__price small { display: inline; margin-left: 6px; }
  .summary__price { font-size: 46px; }
}

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 0 0; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps .mono { font-size: 12.5px; color: var(--accent); }
.steps h3 { margin: 14px 0 8px; font-size: 20px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.shead--stack { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0; }
.faq { border-top: 1px solid var(--ink-line); }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 18px; height: 18px; color: var(--ink-muted); transition: transform .25s var(--ease); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq__a p { padding: 0 32px 24px 0; color: var(--ink-muted); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.contact__copy h2 { margin-top: 24px; font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -0.04em; }
.contact__copy p { margin: 18px 0 28px; font-size: 18px; color: var(--muted); max-width: 440px; }
.form { position: relative; display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; color: var(--muted); padding: 0; }
.field legend { margin-bottom: 9px; }
.field small { color: var(--dim); }
.field input, .field textarea {
  width: 100%; min-width: 0; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line-2);
  background: #fff; outline: 0; font-size: 15.5px; resize: vertical; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 7px 13px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all .15s; }
.chips label:hover span { color: var(--text); }
.chips span { border-radius: 999px !important; }
.chips input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__fine { font-size: 12.5px; color: var(--dim); }
.form__fine a { text-decoration: underline; }
.form__ok { position: absolute; inset: -8px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 24px; background: var(--bg); }
.form__ok[hidden] { display: none; }
.form__ok .ic { width: 28px; height: 28px; color: var(--accent); stroke-width: 2.5; }
.form__ok h3 { font-size: 28px; }
.form__ok p { color: var(--muted); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 520px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer__brand p { margin-top: 12px; color: var(--dim); font-size: 14px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer__cols h4 { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer__cols a { display: block; padding: 3px 0; font-size: 14px; color: var(--muted); }
.footer__cols a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
@media (max-width: 600px) { .footer__cols { gap: 40px; } }

/* =========================================================
   Capa de estilo Spacemail (sobrescribe lo anterior)
   ========================================================= */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; }
.hl { color: var(--accent-light); }
.mono { font-family: var(--font); font-weight: 600; }

/* Hero de alto contraste, inspirado en la referencia */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 72px) 0 0; color: #fff;
  background: linear-gradient(118deg, #5920c8 0%, #6427d5 56%, #4d18b5 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: auto -8% -1px -8%; height: 125px; background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero__top { position: relative; z-index: 1; max-width: 780px; text-align: left; }
.kicker { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.kicker::before { display: none; }
.hero__title { max-width: 13ch; margin: 22px 0 24px; font-size: clamp(48px, 7.2vw, 88px); font-weight: 800; letter-spacing: -.055em; line-height: .99; }
.hero .hl { color: #ddd0ff; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 36px; align-items: end; }
.hero__lead { max-width: 500px; color: #fff; font-size: 19px; }
.domain { width: 100%; max-width: 440px; }
.domain__label { text-align: left; font-family: var(--font); color: #fff; }
.domain__box { border-color: #d7c8fa; }
.domain__pre, .domain input, .domain__tld { font-family: var(--font); }
.hero__shot { position: relative; z-index: 1; max-width: 1040px; margin: 72px auto 0; }
.hero__shot .win { box-shadow: 0 40px 90px -38px rgba(27,8,74,.55), 0 2px 6px rgba(22,20,58,.04); }
.hero.grain { background: linear-gradient(118deg, #5920c8 0%, #6427d5 56%, #4d18b5 100%); }
.hero.grain::before { opacity: .13; mix-blend-mode: soft-light; -webkit-mask-image: none; mask-image: none; }
.hero .container:last-child { position: relative; z-index: 1; }
.hero .banner { margin-top: 76px; }
.hero .hero__shot + .container { position: relative; z-index: 1; }
.header:not(.is-scrolled) .brand,
.header:not(.is-scrolled) .nav a:not(.btn),
.header:not(.is-scrolled) .menu-btn { color: #fff; }
.header:not(.is-scrolled) .menu-btn { border-color: rgba(255,255,255,.55); }
.header:not(.is-scrolled) .nav a.is-active { color: #fff; background: rgba(255,255,255,.16); }
.header:not(.is-scrolled) .header__actions .btn { background: #fff; color: #4d18b5; box-shadow: none; }

/* Banner morado */
.banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  margin-top: 96px; padding: 64px; border-radius: 32px; color: #fff;
  background: #6d35e6;
}
.banner::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(135deg, #5b2ad1 0 32%, transparent 32%);
}
.banner::after {
  content: ""; position: absolute; z-index: -1; right: -18%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: #8457f0;
}
.banner__pre { font-size: 22px; font-weight: 600; opacity: .9; }
.banner__price { margin-top: 4px; font-size: clamp(64px, 9.5vw, 120px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.banner__price small { display: block; margin-top: 10px; font-size: 16px; font-weight: 500; letter-spacing: 0; opacity: .85; }
.banner__list { display: grid; gap: 8px; margin: 28px 0 32px; }
.banner__list li { position: relative; padding-left: 26px; font-size: 16.5px; }
.banner__list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.btn--white { background: #fff; color: var(--accent); }
.btn--white:hover { background: #f4efff; }
.banner__art { position: relative; display: grid; gap: 16px; justify-items: end; }
.banner__card { display: flex; align-items: center; gap: 14px; width: min(100%, 360px); padding: 16px 18px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: 0 24px 50px -24px rgba(30,10,80,.6); animation: bob 6s ease-in-out infinite; }
.banner__card--2 { margin-right: 48px; animation-delay: -3s; }
.banner__card b { display: block; font-size: 15px; }
.banner__card small { color: var(--muted); font-size: 13px; }
.banner__av { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.banner__av--2 { background: #e7f8ee; color: #1f9d55; }
.banner__av .ic { width: 20px; height: 20px; stroke-width: 3; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (max-width: 860px) {
  .banner { grid-template-columns: minmax(0, 1fr); padding: 40px 28px; border-radius: 24px; margin-top: 64px; }
  .banner__art { justify-items: start; }
  .banner__card--2 { margin: 0 0 0 24px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero__top { max-width: 680px; }
  .hero__row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__lead { max-width: 620px; }
  .domain { max-width: 480px; }
  .hero__shot { margin-top: 52px; }
}
@media (max-width: 520px) {
  .banner { padding: 32px 20px; }
  .banner__card--2 { margin-left: 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero::after { height: 64px; inset-inline: -20%; }
  .hero__title { max-width: 11ch; margin: 18px 0 22px; font-size: clamp(43px, 12vw, 58px); }
  .hero__lead { font-size: 17px; line-height: 1.5; }
  .hero__shot { margin-top: 40px; }
  .hero__shot .ag { padding: 14px 14px 20px; }
  .hero__shot .ag__hero { gap: 18px; margin-top: 22px; }
  .hero__shot .ag__calc { padding: 16px; }
  .hero .banner { margin-top: 52px; }
}

/* Encabezados de sección centrados */
.shead { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.shead__n { display: none; }
.shead h2 { max-width: 22ch; margin: 0 auto; font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.025em; }
.shead p { margin: 18px auto 0; max-width: 620px; }
.contact__copy h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.025em; margin-top: 0; }
.contact__copy .shead__n { display: none; }

/* Servicios: tarjetas suaves */
.svc { border: 0; gap: 20px; }
.svc__item { border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.svc__item:hover { background: #fff; border-color: #dccff9; box-shadow: 0 24px 50px -30px rgba(116,68,232,.45); transform: translateY(-3px); }
.svc__item--feature, .svc__item--feature:hover { background: var(--paper); border-color: #e1d5fb; }
.svc__item--feature h3::after { background: var(--accent); border-radius: 50%; }
.price { font-weight: 700; color: var(--accent); }
.list li::before { width: 6px; height: 6px; top: .6em; border-radius: 50%; }

/* Fondos degradados con grano */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.1 0 0 0 0 0.3 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .32; mix-blend-mode: multiply;
}
.hero.grain {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 25%, #fff 62%),
    radial-gradient(38% 34% at 10% 4%, #cfc2ff 0%, transparent 70%),
    radial-gradient(36% 32% at 90% 2%, #c3d4ff 0%, transparent 70%),
    radial-gradient(40% 32% at 58% 22%, #e2dbff 0%, transparent 72%),
    #fcfbff;
}
.hero.grain::before { opacity: .26; -webkit-mask-image: linear-gradient(#000 25%, transparent 62%); mask-image: linear-gradient(#000 25%, transparent 62%); }

.section--planes.grain {
  background:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, #fff 100%),
    radial-gradient(42% 50% at 0% 10%, #c2b1ff 0%, transparent 70%),
    radial-gradient(40% 48% at 100% 25%, #b7cbff 0%, transparent 70%),
    radial-gradient(46% 52% at 65% 95%, #cbbcff 0%, transparent 70%),
    #f3f1ff;
}
.section--planes.grain::before { opacity: .24; }
.section--planes .shead p { color: #4b4560; }
.section--planes .builder__left { padding: 24px 28px 12px; border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 30px 60px -40px rgba(60,20,140,.5); }
.section--planes .presets { background: #fff; }
.section--planes .summary { background: #fff; border-color: transparent; box-shadow: 0 30px 70px -35px rgba(60,20,140,.55); }
.summary__before { margin-top: 4px; font-size: 15px; color: var(--dim); text-decoration: line-through; }
.summary__before:empty { display: none; }
.summary__nudge { margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--accent); color: var(--text); font-size: 14px; }
.summary__nudge[hidden] { display: none; }
.summary__disc dt, .summary__disc dd { color: #1f8a4c !important; font-weight: 600; }
.summary__disc[hidden] { display: none !important; }
.banner__old { display: block; font-size: 26px; font-weight: 600; opacity: .65; letter-spacing: 0; margin-bottom: 4px; }
.summary__msi { margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.summary__msi b { font-weight: 700; }
.banner__msi { display: inline-block; margin-top: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); font-size: 15px; font-weight: 600; }
@media (max-width: 520px) { .section--planes .builder__left { padding: 18px 16px 8px; } }

/* Servicios base en 4 columnas */
.svc { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc { grid-template-columns: minmax(0, 1fr); } }

/* Servicios especiales */
.special { margin-top: 20px; padding: 32px 28px 28px; border-radius: 26px; background: linear-gradient(135deg, #f2eeff 0%, #edf2ff 100%); border: 1px solid #e0dbf7; }
.special__head { max-width: 640px; margin-bottom: 22px; }
.special__head h3 { margin-top: 12px; font-size: 26px; }
.special__head p { margin-top: 8px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.badge::before { content: "★"; font-size: 11px; }
.special__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.special .svc__item--feature, .special .svc__item--feature:hover { background: #fff; border-color: #e6dbfb; }
@media (max-width: 760px) { .special__grid { grid-template-columns: minmax(0, 1fr); } .special { padding: 24px 18px 18px; } }

.opt__special { margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10.5px; letter-spacing: .04em; vertical-align: 1px; }
.extras .extra--full { grid-column: 1 / -1; }

/* Desarrollo a la medida */
.custom { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; margin-top: 24px; padding: 22px; border-radius: 18px; background: #fff; border: 1px dashed #cdbff5; }
.custom__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.custom__ic .ic { width: 20px; height: 20px; }
.custom b { font-size: 17px; }
.custom p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.custom .custom__foot { color: var(--text); font-weight: 500; }
.custom .link { margin-top: 12px; }
@media (max-width: 520px) { .custom { grid-template-columns: minmax(0, 1fr); } }

/* Adicionales */
.extras { margin-top: 20px; padding: 32px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); }
.extras__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 12px; }
.extras__head h3 { font-size: 22px; }
.extras__head p { color: var(--muted); font-size: 15px; }
.extras__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.extras .extra { border-top: 1px solid var(--line-2); padding: 16px 0; }
.extras .extra:first-of-type { padding-top: 16px; }
.extras__note { margin-top: 12px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .extras__grid { grid-template-columns: minmax(0, 1fr); } .extras { padding: 24px 20px; } }

/* Plantillas: pestañas tipo píldora */
.tpl__tabs { justify-content: center; border: 0; gap: 6px; }
@media (max-width: 760px) {
  .tpl__tabs { justify-content: flex-start; margin-left: -16px; margin-right: -16px; padding: 4px 16px; width: auto; }
}
.tpl__tabs button { border-radius: 999px; padding: 9px 18px; background: var(--bg-2); color: var(--muted); }
.tpl__tabs button[aria-selected="true"] { background: var(--accent); color: #fff; }
.tpl__tabs button[aria-selected="true"]::after { display: none; }

/* Pasos */
.steps { border-top: 0; gap: 20px; }
.steps li, .steps li + li { padding: 28px; border: 1px solid var(--line); border-radius: 22px; }
.steps .mono { font-weight: 700; }

/* FAQ centrado */
.faq-wrap { grid-template-columns: minmax(0, 1fr); max-width: 820px; gap: 40px; }
.faq summary .ic { color: var(--text); }
.section--paper { background: var(--paper); }

/* Footer oscuro */
.footer { background: var(--footer); border-top: 0; color: #e9e9ee; }
.footer .brand { color: #fff; --logo-overlap: #b9a2ff; }
.footer__brand p, .footer__bottom { color: #a6a6ae; }
.footer__cols h4 { color: #8d8d95; font-family: var(--font); font-weight: 600; }
.footer__cols a { color: #e3e3e8; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { border-top-color: #45454a; align-items: center; }
.footer__legal { display: grid; gap: 4px; max-width: 640px; line-height: 1.5; }
.footer__legal a { color: #e3e3e8; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }
.footer__nomy { font-weight: 600; }
.footer__mx { width: 150px; height: auto; flex: none; margin: -24px -24px -24px 0; opacity: .95; }
@media (max-width: 600px) { .footer__mx { margin: -20px 0 -20px -36px; } }
@media (max-width: 600px) { .footer__bottom { flex-direction: column; align-items: flex-start; gap: 20px; } }

/* ---------- Barra de precio fija (celular) ---------- */
.mbar { display: none; }
@media (max-width: 960px) {
  .mbar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(40,20,90,.35);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .mbar.is-on { transform: none; }
  .mbar__info { display: grid; min-width: 0; line-height: 1.25; }
  .mbar__info small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mbar__info b { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .mbar__info s { font-size: 13px; font-weight: 500; color: var(--dim); }
  .mbar__info s:empty { display: none; }
  .mbar__info #mbarMsi { color: var(--accent); font-weight: 600; }
  .mbar .btn { flex: none; }
}

/* ---------- Casillas de consentimiento ---------- */
.consent { display: grid; gap: 10px; }
.check { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box { display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; transition: background .15s, border-color .15s; }
.check__box .ic { width: 13px; height: 13px; stroke-width: 3; color: #fff; opacity: 0; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check__box .ic { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.check small { color: var(--dim); }
.check.is-error .check__box { border-color: #d33a46; box-shadow: 0 0 0 3px #fdecee; }
.check.is-error { color: #b42a35; }

/* ---------- Páginas legales ---------- */
.legal-header { border-bottom: 1px solid var(--line); background: #fff; }
.legal-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.legal-header .link { margin: 0; }
.legal { max-width: 820px; padding-top: 64px; padding-bottom: 96px; }
.legal__kicker { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.legal h1 { margin-top: 12px; font-size: clamp(34px, 5vw, 52px); }
.legal__date { margin-top: 10px; color: var(--dim); font-size: 14px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 48px; padding: 20px; border-radius: 16px; background: var(--paper); }
.legal__toc a { padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 13.5px; color: var(--muted); border: 1px solid var(--ink-line); }
.legal__toc a:hover { color: var(--accent); border-color: #cdbff5; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.legal h2 { font-size: 22px; margin-bottom: 14px; }
.legal p, .legal li { color: #3e3d45; font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { margin: 12px 0; padding-left: 22px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--accent); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal .legal__toc a { text-decoration: none; color: var(--muted); }
.legal .todo { background: #fff3b0; padding: 0 4px; border-radius: 4px; }
.footer--slim { padding: 8px 0 28px; }
.footer--slim .footer__bottom { margin-top: 0; border-top: 0; }

/* ---------- Hero morado: correcciones de contraste ----------
   El morado cubre solo la parte superior (texto + mitad de la maqueta),
   para que el bloque morado del precio quede sobre blanco. */
.hero.grain { background: #fff; }
.hero.grain::before, .hero::after { display: none; }
.hero > .container:first-child { position: relative; }
.hero > .container:first-child::before,
.hero > .container:first-child::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -400px; bottom: 32%; left: 50%; width: 100vw; transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
}
.hero > .container:first-child::before { background: linear-gradient(118deg, #5920c8 0%, #6427d5 56%, #4d18b5 100%); }
.hero > .container:first-child::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.1 0 0 0 0 0.3 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .14; mix-blend-mode: soft-light;
}
.hero .hero__lead { color: rgba(255,255,255,.9); }
.hero .domain__label { color: rgba(255,255,255,.85); }
.hero .domain__box { border-color: transparent; box-shadow: 0 16px 40px -18px rgba(20,5,60,.6); color: var(--text); }
.hero .domain input, .hero .domain__tld { color: var(--text); }
.hero .domain__pre { color: var(--dim); }
@media (max-width: 520px) { .hero > .container:first-child::before, .hero > .container:first-child::after { bottom: 38%; } }

/* Menú móvil abierto: fondo blanco → textos oscuros */
body.menu-open .header .nav a:not(.btn) { color: var(--text); }
body.menu-open .header .nav a.is-active { color: var(--accent); background: none; }
body.menu-open .header .brand, body.menu-open .header .menu-btn { color: var(--text); }
body.menu-open .header .menu-btn { border-color: var(--line-2); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
.form__ok a { color: var(--accent); text-decoration: underline; }
