/* ==========================================================================
   Conexionvirtual — hoja de estilos
   Paleta tomada del logo: amarillo, magenta y rosa sobre tinta morada.
   ========================================================================== */

:root {
  --ink: #221b33;
  --ink-2: #3a3150;
  --slate: #5e5870;
  --line: #e4e0ea;
  --mist: #f5f3f8;
  --paper: #ffffff;
  --magenta: #c2185b;
  --magenta-dark: #9c1249;
  --pink: #f2b8cc;
  --pink-soft: #fbe7ee;
  --yellow: #ffd24d;
  --yellow-soft: #fff4cc;
  --green: #1d7a4f;
  --red: #b42318;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
  --step-4: clamp(2.1rem, 1.4rem + 2.6vw, 3.1rem);
  --step-5: clamp(2.5rem, 1.5rem + 4vw, 4.25rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --shadow: 0 1px 2px rgb(34 27 51 / .06), 0 8px 24px -12px rgb(34 27 51 / .18);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--magenta-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--slate); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-mist { background: var(--mist); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 38em; }
.measure { max-width: 68ch; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--slate); font-size: var(--step-1); line-height: 1.5; margin: 0; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--magenta); --fg: #fff; --bd: var(--magenta);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 24px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd); border-radius: 999px;
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { --bg: var(--magenta-dark); --bd: var(--magenta-dark); color: var(--fg); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bg: var(--mist); --bd: var(--ink); --fg: var(--ink); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); --bd: var(--yellow); }
.btn-yellow:hover { --bg: #ffc61a; --bd: #ffc61a; --fg: var(--ink); }
.btn-ink { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn-ink:hover { --bg: var(--ink-2); --bd: var(--ink-2); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-name { font: 500 1.35rem/1 var(--font-display); letter-spacing: -0.03em; }
.brand-name b { font-weight: 800; color: var(--magenta); }
.brand-small .brand-name { font-size: 1.1rem; }

.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; white-space: nowrap; padding: 10px 12px; border-radius: var(--radius-s);
  color: var(--ink-2); font-weight: 500; font-size: .98rem; text-decoration: none;
}
.site-nav ul a:hover { background: var(--mist); color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; color: var(--ink); cursor: pointer; border-radius: var(--radius-s); }
.nav-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h)); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px var(--gutter) 40px; background: var(--paper);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { padding: 16px 4px; font-size: 1.25rem; font-family: var(--font-display); border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 16px; }
  .header-login { min-height: 54px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .site-header { backdrop-filter: none; background: var(--paper); }
}

/* ---------- Hero de inicio ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 11.5em; margin-bottom: .35em; }
.hero .lead { margin-bottom: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 36px 0 0; padding: 0; list-style: none; color: var(--slate); font-size: .95rem; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .icon { color: var(--green); }

/* Panel “envío en curso”: el momento animado de la página */
.send-panel {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-l); box-shadow: var(--shadow), 0 40px 80px -40px rgb(194 24 91 / .35);
  padding: 22px; font-size: .95rem;
}
.send-panel::before {
  content: ""; position: absolute; z-index: -1; inset: -52px 28px auto auto; width: 150px; height: 87px;
  background: url("/assets/img/mark.svg") no-repeat center / contain; opacity: .9;
}
.sp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sp-title { font-weight: 600; }
.sp-sub { color: var(--slate); font-size: .85rem; }
.sp-state { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--yellow-soft); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.sp-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d49b00; }
.send-panel.is-done .sp-state { background: #e3f4ea; color: var(--green); }
.send-panel.is-done .sp-state::before { background: var(--green); }
.sp-bar { height: 8px; border-radius: 999px; background: var(--mist); margin: 18px 0 6px; overflow: hidden; }
.sp-bar span { display: block; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--magenta), var(--pink)); border-radius: inherit; transition: width .2s linear; }
.sp-progress { display: flex; justify-content: space-between; color: var(--slate); font-size: .82rem; font-variant-numeric: tabular-nums; }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.sp-stat { background: var(--mist); border-radius: var(--radius-m); padding: 12px 14px; }
.sp-stat b { display: block; font: 700 1.6rem/1.1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sp-stat span { color: var(--slate); font-size: .8rem; }
.sp-stat.is-open { background: var(--pink-soft); }
.sp-stat.is-click { background: var(--yellow-soft); }
.sp-checks { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.sp-checks li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; color: var(--ink-2); }
.sp-checks .icon { color: var(--green); width: 1em; height: 1em; stroke-width: 2.4; }
.sp-feed { list-style: none; margin: 0 0 4px; padding: 0; min-height: 84px; }
.sp-feed li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .85rem; animation: feed-in .35s ease both; }
.sp-feed li:last-child { border-bottom: 0; }
.sp-feed time { color: var(--slate); font-variant-numeric: tabular-nums; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 5vw, 64px); background: var(--mist); position: relative; overflow: hidden; }
.page-hero h1 { font-size: var(--step-5); max-width: 13em; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero-cube { position: absolute; right: max(-40px, calc((100vw - var(--wrap)) / 2 - 60px)); bottom: -30px; width: clamp(160px, 22vw, 300px); opacity: .95; pointer-events: none; }
.crumbs { margin-bottom: 20px; font-size: .9rem; color: var(--slate); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--slate); }

/* ---------- Servicios (inicio) ---------- */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l);
  background: var(--paper); color: var(--ink); text-decoration: none; min-height: 230px; border: 1px solid var(--line);
  grid-column: span 2; transition: background-color .2s;
}
.service:hover { color: var(--ink); text-decoration: none; border-color: var(--ink); }
.services > .service:nth-child(n+4) { grid-column: span 3; }
.service h3 { font-size: var(--step-2); margin: auto 0 0; }
.service p { margin: 0; color: var(--slate); }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--pink-soft); color: var(--magenta); }
.service-icon .icon { width: 26px; height: 26px; }
.service-more { font-weight: 600; color: var(--magenta); margin-top: 6px; }
.service:hover .service-more { text-decoration: underline; }
.service-main { grid-column: span 4; grid-row: span 2; background: var(--ink); border-color: var(--ink); color: #fff; padding: clamp(28px, 4vw, 48px); }
.service-main:hover { background: var(--ink-2); color: #fff; }
.service-main h3 { font-size: var(--step-4); max-width: 10em; }
.service-main p { color: #d6d0e3; font-size: var(--step-1); line-height: 1.45; max-width: 26em; }
.service-main .service-icon { background: var(--yellow); color: var(--ink); }
.service-main .service-more { color: var(--yellow); }
.service-main ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service-main li { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .08); color: #efeaf7; font-size: .9rem; }

/* ---------- Pasos (secuencia real) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: paso; border-top: 2px solid var(--ink); }
.steps li { counter-increment: paso; padding: 24px 24px 0 0; }
.steps li::before {
  content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 50%; background: var(--yellow); font: 700 1.1rem/1 var(--font-display);
}
.steps h3 { margin-bottom: .35em; }
.steps p { color: var(--slate); margin: 0; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--paper);
}
.plan h3 { font-size: var(--step-1); margin: 0; }
.plan-amount { font: 800 var(--step-3)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-amount small { display: block; margin-top: 6px; font: 400 .9rem/1.3 var(--font-body); letter-spacing: 0; color: var(--slate); }
.plan-credits { font: 700 var(--step-2)/1 var(--font-display); color: var(--magenta); letter-spacing: -0.02em; }
.plan-credits span { font: 500 .95rem var(--font-body); color: var(--slate); letter-spacing: 0; }
.plan-note { color: var(--slate); margin: 0; }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 9px; font-size: .97rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--green); margin-top: 3px; width: 1.05em; height: 1.05em; stroke-width: 2.4; }
.plan .btn { margin-top: auto; }
.plan.is-featured { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.plan-badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; }
.plans-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding: 20px 24px; border-radius: var(--radius-m); background: var(--yellow-soft); }
.plans-foot p { margin: 0; }

/* Tabla comparativa de hosting */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font: 700 var(--step-1)/1.2 var(--font-display); vertical-align: bottom; background: var(--mist); }
.compare thead th small { display: block; margin-top: 4px; font: 700 1.15rem var(--font-display); color: var(--magenta); }
.compare tbody th { font-weight: 500; color: var(--slate); width: 22%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .is-featured { background: var(--yellow-soft); }
.compare td { font-variant-numeric: tabular-nums; }

/* ---------- Listas de características ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 32px; }
.feature .icon { width: 30px; height: 30px; color: var(--magenta); margin-bottom: 14px; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--slate); margin: 0; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticks .icon { color: var(--magenta); margin-top: 3px; stroke-width: 2.2; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-wide { grid-template-columns: 1.15fr .85fr; }
.split-toc { grid-template-columns: 240px minmax(0, 1fr); }

.callout { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); background: var(--ink); color: #efeaf7; }
.callout h2, .callout h3 { color: #fff; }
.callout a:not(.btn) { color: var(--yellow); }
.callout code { display: block; margin: 14px 0; padding: 14px 16px; border-radius: var(--radius-s); background: rgb(255 255 255 / .08); color: var(--yellow); font: 500 .95rem/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; overflow-x: auto; white-space: nowrap; }

/* Muestra de estadísticas (página email) */
.report { border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; background: var(--paper); box-shadow: var(--shadow); }
.report-row { display: grid; grid-template-columns: 120px 1fr 56px; gap: 14px; align-items: center; padding: 10px 0; font-size: .95rem; }
.report-row .bar { height: 12px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.report-row .bar span { display: block; height: 100%; border-radius: inherit; background: var(--c, var(--magenta)); width: var(--w); }
.report-row b { text-align: right; font-variant-numeric: tabular-nums; }
.report h3 { margin-bottom: 4px; }
.report-meta { color: var(--slate); font-size: .9rem; margin-bottom: 12px; }

/* ---------- Preguntas frecuentes ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 600 var(--step-1)/1.3 var(--font-display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--magenta); width: 24px; height: 24px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band { background: var(--yellow); }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding-block: clamp(48px, 6vw, 80px); }
.cta-band h2 { margin: 0 0 .3em; max-width: 16em; }
.cta-band p { margin: 0; font-size: var(--step-1); color: var(--ink-2); }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid #cfc9d9; border-radius: var(--radius-s);
  font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23221b33' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 4px rgb(194 24 91 / .15); }
.field-error { margin: 0; min-height: 0; color: var(--red); font-size: .88rem; }
.field-error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red); }
.hint { margin: 0; color: var(--slate); font-size: .88rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--magenta); flex: none; }
.notice { padding: 14px 16px; border-radius: var(--radius-s); font-weight: 500; }
.notice.is-ok { background: #e3f4ea; color: #14532d; border-left: 4px solid var(--green); }
.notice.is-error { background: #fdecea; color: #7a1a12; border-left: 4px solid var(--red); }
.fineprint { font-size: .85rem; color: var(--slate); margin: 0; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }

/* ---------- Login ---------- */
.login-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--header-h)); }
.login-art { background: var(--ink); color: #efeaf7; padding: clamp(32px, 6vw, 80px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; }
.login-art h1 { color: #fff; font-size: var(--step-4); max-width: 12em; }
.login-art ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.login-art li { display: flex; gap: 10px; align-items: center; }
.login-art .icon { color: var(--yellow); }
.login-art img { width: 220px; opacity: .95; }
.login-form { display: grid; place-items: center; padding: clamp(32px, 6vw, 80px) var(--gutter); }
.login-form > div { width: 100%; max-width: 400px; }
.login-form h2 { font-size: var(--step-3); }

/* ---------- Contenido legal ---------- */
.prose { max-width: 72ch; }
.prose > :first-child { margin-top: 0; }
.header-login { white-space: nowrap; }
.prose h2 { font-size: var(--step-3); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .5em; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .95rem; }
.toc ol { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.toc a { color: var(--ink-2); }

/* ---------- Pagos ---------- */
.pay { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pay-item { padding: 24px; border-radius: var(--radius-l); background: var(--mist); }
.pay-item .icon { width: 30px; height: 30px; color: var(--magenta); margin-bottom: 14px; }
.pay-item h3 { margin-bottom: .3em; }
.pay-item p { margin: 0; color: var(--slate); }
.pay-item .num { color: var(--ink); font: 600 1.1rem var(--font-body); font-variant-numeric: tabular-nums; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(64px, 10vw, 140px); }
.notfound h1 { max-width: 12em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #d6d0e3; padding-top: clamp(56px, 7vw, 88px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.footer-news h2 { font: 700 var(--step-2)/1.15 var(--font-display); letter-spacing: -0.02em; max-width: 14em; }
.footer-news p { color: #bdb5cd; }
.footer-news .field label { color: #fff; font-weight: 500; font-size: .9rem; }
.footer-news .field input { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .22); color: #fff; }
.footer-news .field input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgb(255 210 77 / .2); }
.footer-news .field-error { color: #ffb4ab; }
.footer-news .fineprint { color: #a69fb7; margin-top: 10px; }
.footer-news .fineprint a { color: #d6d0e3; text-decoration: underline; }
.footer-news .notice { margin-top: 12px; }
.news-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.news-row .btn { grid-column: 1 / -1; justify-self: start; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-contact p { margin: 0 0 10px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .muted { color: #a69fb7; font-size: .92rem; margin-top: 14px; }
.footer-col ul.social { list-style: none; display: flex; gap: 10px; margin: 16px 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); }
.social a:hover { border-color: var(--yellow); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .9rem; color: #a69fb7; }
.footer-base p { margin: 0; }
.footer-base .brand-name { color: #fff; }
.footer-base .brand-name b { color: var(--pink); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .4); }
.wa-float:hover { color: #fff; background: #168a45; }
.wa-float .icon { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid, .split, .split-wide, .split-toc { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service, .service-main, .services > .service:nth-child(n+4) { grid-column: span 1; grid-row: auto; }
  .service-main { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { --cols: 2 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-news { grid-column: 1 / -1; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-art { order: 2; }
  .toc { position: static; }
}
@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .services, .steps, .plans, .form-grid { grid-template-columns: 1fr; }
  .plans { --cols: 1 !important; }
  .service { min-height: 0; }
  .service h3 { margin-top: 12px; }
  .steps li { padding-right: 0; }
  .sp-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sp-stat { padding: 10px; }
  .sp-stat b { font-size: 1.25rem; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .report-row { grid-template-columns: 92px 1fr 48px; }
  .brand-name { font-size: 1.2rem; }
  .page-hero-cube, .send-panel::before { display: none; }
}

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

@media print {
  .site-header, .site-footer, .wa-float, .cta-band { display: none; }
  body { font-size: 12pt; }
}
