/* ==========================================================================
   Comparador Independiente — estilos
   Paleta: celeste (marca), tinta azul marino (texto), filamento (acento cálido)
   ========================================================================== */
:root {
  --sky: #7CC8F2;
  --sky-strong: #52B4EC;
  --sky-pale: #EAF6FD;
  --sky-mist: #F5FBFF;
  --ink: #0E2A47;
  --ink-soft: #4A6580;
  --line: #CFE4F2;
  --paper: #FFFFFF;
  --filament: #FFC940;
  --error: #C2352B;
  --ok: #1D7A55;

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --wrap: 1180px;
  --shadow-lift: 0 1px 0 rgba(14, 42, 71, .04), 0 18px 40px -18px rgba(14, 42, 71, .28);

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn {
  --b: var(--sky);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem;
  border: 0; border-radius: 999px;
  background: var(--b); color: var(--ink);
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(14, 42, 71, .14);
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { --b: var(--sky-strong); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:disabled { opacity: .55; cursor: progress; }
.btn--big { min-height: 60px; padding: 0 2rem; font-size: 1.15rem; }
.btn--small { min-height: 40px; padding: 0 1.1rem; font-size: .95rem; }
.btn--dark { --b: var(--ink); color: #fff; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); }
.btn--dark:hover { --b: #183D63; }
.btn--ghost { --b: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --b: var(--sky-pale); }
.btn--row { min-height: 44px; width: 100%; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; font-size: inherit; color: inherit; }

/* ---------- Cabecera ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(245, 251, 255, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(207, 228, 242, .7);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.brand__name em { font-style: normal; font-weight: 500; color: var(--ink-soft); }
@media (max-width: 440px) { .brand { font-size: 1rem; line-height: 1.05; } .brand__name { max-width: 7.5em; } .brand__name em { display: block; } }
.brand__mark { width: 30px; height: 30px; }
.topbar__nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 600; font-size: .98rem; }
.topbar__nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.topbar__nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 760px) { .topbar__nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 92% 0%, rgba(124, 200, 242, .6), transparent 62%),
    radial-gradient(700px 400px at -10% 110%, rgba(124, 200, 242, .35), transparent 60%),
    linear-gradient(180deg, var(--sky-mist) 0%, var(--sky-pale) 100%);
  padding-top: clamp(28px, 5vw, 64px);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .9rem .35rem .7rem; margin-bottom: 1.3rem;
  font-weight: 600; color: var(--ink-soft); font-size: .92rem;
}
.live { width: 8px; height: 8px; border-radius: 50%; background: #2DBE7E; box-shadow: 0 0 0 4px rgba(45, 190, 126, .18); }
.hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.05rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__lead { margin-top: 1.1rem; font-size: 1.16rem; color: var(--ink-soft); max-width: 50ch; }
.hero__lead #countCompanies { font-weight: 700; color: var(--ink); }

/* ---------- Buscador ---------- */
.search {
  margin-top: 1.8rem;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 18px 18px 14px;
  box-shadow: 0 1px 0 rgba(14, 42, 71, .04), 0 24px 50px -22px rgba(14, 42, 71, .35);
  border: 1px solid rgba(207, 228, 242, .9);
  max-width: 680px;
}
.search__bar { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.search__btn { min-height: 58px; white-space: nowrap; padding: 0 1.6rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field__label { font-size: .88rem; font-weight: 600; color: var(--ink-soft); display: flex; align-items: center; justify-content: space-between; gap: .5rem; white-space: nowrap; }
.field input, .field select {
  width: 100%;
  min-height: 58px;
  padding: 0 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--sky-mist);
  font-size: 1.12rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, background-color .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230E2A47' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
  font-weight: 500; font-size: 1rem;
}
.field input::placeholder { color: #9DB3C6; font-weight: 500; }
.field input:hover, .field select:hover { border-color: #A9D2EB; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--error); background: #FFF7F6; }
.field__suffix { position: relative; display: block; }
.field__suffix > span { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--ink-soft); pointer-events: none; }
.field__suffix input { padding-right: 3.2rem; }
.field__msg { font-size: .86rem; color: var(--error); }
.field__msg:empty { display: none; }
.field__help { font-size: .9rem; color: var(--ink-soft); background: var(--sky-pale); padding: .6rem .8rem; border-radius: var(--r-sm); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.chips__label { font-size: .85rem; color: var(--ink-soft); margin-right: 4px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
  padding: .25rem .75rem; font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--ink-soft);
}
.chip:hover { border-color: var(--sky); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.search__error { color: var(--error); font-weight: 600; font-size: .95rem; margin-top: 10px; }
.assurance {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 18px; font-weight: 600; font-size: 1rem; color: var(--ink);
}
.assurance::before {
  content: ""; width: 20px; height: 20px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%237CC8F2'/%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-4.8' fill='none' stroke='%230E2A47' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Demo animada (elemento protagonista) ---------- */
.demo { position: relative; justify-self: end; width: 100%; max-width: 440px; padding: 10px 0 40px; }
.demo__glow {
  position: absolute; inset: -10% -15% 0 -5%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 200, 242, .55), transparent 70%);
  filter: blur(10px);
}
.demo__card {
  position: relative; z-index: 1;
  background: #fff; border-radius: 28px; padding: 20px;
  box-shadow: 0 0 0 1px rgba(14, 42, 71, .06), 0 36px 70px -32px rgba(14, 42, 71, .5);
}
.demo__inputs { display: grid; grid-template-columns: .8fr 1fr; gap: 10px; }
.demo__input { background: var(--sky-mist); border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 12px 9px; min-height: 60px; }
.demo__input span { display: block; font-size: .74rem; font-weight: 600; color: var(--ink-soft); }
.demo__input b { display: inline-block; font-family: var(--f-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; min-height: 1.4em; }
.demo__input b::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--ink); animation: caret 1s steps(1) infinite; }
.demo.is-working .demo__input b::after, .demo.is-done .demo__input b::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.demo__status { display: flex; align-items: center; gap: .55rem; margin: 16px 2px 8px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); min-height: 1.5em; }
.demo__spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.demo.is-working .demo__spin { border-top-color: var(--ink); animation: spin .7s linear infinite; }
.demo.is-done .demo__spin { background: #2DBE7E; border-color: #2DBE7E; }
.demo.is-done .demo__status { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.demo__progress { height: 6px; border-radius: 99px; background: var(--sky-pale); overflow: hidden; margin-bottom: 14px; }
.demo__progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sky), var(--sky-strong)); border-radius: inherit; }
.demo__list { list-style: none; margin: 0; padding: 0; position: relative; }
.demo__row {
  position: absolute; left: 0; right: 0; top: 0; height: 54px;
  display: grid; grid-template-columns: 34px 1fr 36%; align-items: center; gap: 12px;
  padding: 0 12px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  transition: transform .55s cubic-bezier(.3, .9, .3, 1), box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
.demo__logo { width: 34px; height: 34px; border-radius: 10px; }
.demo__lines { display: grid; gap: 6px; }
.demo__lines i { display: block; height: 7px; border-radius: 99px; background: #E3EEF6; }
.demo__lines i:first-child { background: #CBDDEA; height: 8px; }
.demo__price { height: 10px; border-radius: 99px; background: var(--sky-pale); overflow: hidden; }
.demo__price i { display: block; height: 100%; border-radius: inherit; background: var(--sky); }
.demo.is-working .demo__lines i { background: linear-gradient(90deg, #E3EEF6 20%, #F4F9FD 50%, #E3EEF6 80%); background-size: 200% 100%; animation: shimmer 1s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.demo__row.is-best { border-color: var(--filament); background: #FFFBEF; box-shadow: 0 10px 24px -14px rgba(122, 86, 0, .45); }
.demo__row.is-best .demo__price i { background: var(--ink); }
.demo__toast {
  position: absolute; z-index: 2; left: -28px; bottom: 6px;
  display: flex; align-items: center; gap: .55rem;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .92rem;
  padding: .7rem 1rem .7rem .75rem; border-radius: 999px;
  box-shadow: 0 18px 36px -16px rgba(14, 42, 71, .7);
  opacity: 0; transform: translateY(10px) scale(.96);
  transition: opacity .35s ease, transform .45s cubic-bezier(.3, 1.4, .5, 1);
}
.demo__toast svg { width: 22px; height: 22px; flex: none; }
.demo.is-done .demo__toast { opacity: 1; transform: none; }

/* ---------- Logos (dentro del hero) ---------- */
.brands { margin-top: clamp(36px, 5vw, 60px); padding: 22px 0 26px; background: rgba(255, 255, 255, .6); border-top: 1px solid rgba(207, 228, 242, .9); }
.brands__title { font-family: var(--f-body); font-weight: 600; font-size: .98rem; letter-spacing: 0; color: var(--ink-soft); text-align: center; margin-bottom: 16px; padding: 0 20px; }
.brands__track {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__row { list-style: none; margin: 0; padding: 0 16px 0 0; display: flex; gap: 16px; flex: none; animation: marquee 42s linear infinite; }
.brands__track:hover .brands__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.brand-chip {
  flex: none; display: grid; place-items: center;
  min-width: 160px; height: 60px; padding: 0 24px;
  border-radius: var(--r-md); background: #fff; border: 1px solid var(--line);
  font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; color: #5E7891;
}
.brand-chip img { max-height: 32px; width: auto; max-width: 128px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.brand-chip.has-logo:hover img, .brands__track--color .brand-chip img { filter: none; opacity: 1; }

/* ---------- Ventajas ---------- */
.why { padding: clamp(48px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.why__list--3 { grid-template-columns: repeat(3, 1fr); }
.why__list--3 li { padding-right: clamp(16px, 3vw, 44px); }
.why__list--3 p { max-width: 34ch; }
.why__list li { padding: 4px clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.why__list li:first-child { border-left: 0; padding-left: 0; }
.why__list svg { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--sky-pale); color: var(--ink); margin-bottom: 14px; }
.why h3 { font-size: 1.15rem; margin-bottom: .35rem; letter-spacing: -.01em; }
.why p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- Resultados ---------- */
.results .wrap { max-width: 1340px; }
.results { padding: clamp(48px, 7vw, 88px) 0; background: var(--sky-mist); }
.results__head { margin-bottom: 28px; }
.results h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; max-width: 22ch; text-wrap: balance; }
.results__sub { margin-top: .7rem; color: var(--ink-soft); max-width: 60ch; }
.results__sub strong { color: var(--ink); }
.table { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lift); border: 1px solid var(--line); overflow: hidden; }
.table__row {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1.75fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) 6.9rem minmax(0, 1.05fr) minmax(0, 1.1fr) 7.6rem;
  gap: 12px !important;
  align-items: center; gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}
.table__row--head { border-top: 0; padding-top: 16px; padding-bottom: 16px; background: var(--sky-pale); font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.c-rank { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #A9C6DA; font-variant-numeric: tabular-nums; }
.c-name { display: flex; align-items: center; gap: 14px; min-width: 0; }
.c-name__txt { min-width: 0; }
.c-logo {
  flex: none; width: 92px; height: 48px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; padding: 8px 10px; overflow: hidden;
}
.c-logo { position: relative; }
.c-logo img { position: absolute; inset: 7px 10px; width: calc(100% - 20px); height: calc(100% - 14px); object-fit: contain; }
.c-logo__ini { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: #7E97AD; }
.c-name strong { display: block; font-family: var(--f-display); font-size: 1.22rem; letter-spacing: -.015em; }
.c-plan { display: block; color: var(--ink-soft); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { white-space: nowrap; font-size: .78rem; font-weight: 700; padding: .18rem .6rem; border-radius: 999px; background: var(--sky); color: var(--ink); }
.tag--best { background: var(--filament); }
.tag--win { background: linear-gradient(90deg, #FFE08A, #FFC940); color: #5B3F00; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; box-shadow: 0 4px 10px -6px rgba(217, 154, 18, .8); }
.tag--soft { background: var(--sky-pale); color: var(--ink-soft); font-weight: 600; }
.c-num { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; font-size: .95rem; color: var(--ink-soft); }
.c-num strong { color: var(--ink); font-size: 1.08rem; font-weight: 700; }
.c-num span { white-space: nowrap; font-size: .82rem; }
.c-num small { font-size: .82rem; color: #7E97AD; }
.c-perm { font-size: .95rem; }
.c-est strong, .c-year strong { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: -.01em; }
.c-year span, .c-est span { color: var(--ink-soft); }
.table__row--head .c-year { line-height: 1.25; }
.c-est span { color: var(--ink-soft); }
.table__row--head .c-est { line-height: 1.25; }
.perm { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .92rem; padding: .25rem .7rem; border-radius: 999px; }
.perm--no { background: #E3F6EC; color: var(--ok); }
.perm--yes { background: #FFF1CC; color: #7A5600; }
.table__row.is-best {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(255, 201, 64, .16) 0%, rgba(255, 245, 214, .5) 35%, rgba(255, 255, 255, 0) 75%);
  box-shadow: inset 5px 0 0 #FFC940;
}
.table__row.is-best::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: winShine 3.6s ease-in-out 0.6s infinite;
}
@keyframes winShine { 0% { left: -40%; } 45%, 100% { left: 130%; } }
.table__row.is-best .c-rank { overflow: visible; }
.medal { width: 40px; height: auto; display: block; filter: drop-shadow(0 6px 10px rgba(217, 154, 18, .45)); animation: medalIn .8s cubic-bezier(.3, 1.6, .5, 1) both; transform-origin: 50% 0; }
@keyframes medalIn { 0% { transform: scale(.3) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.08) rotate(6deg); opacity: 1; } 100% { transform: none; } }
.table__row.is-best .medal { animation: medalIn .8s cubic-bezier(.3, 1.6, .5, 1) both, medalSwing 4s ease-in-out 1.2s infinite; }
@keyframes medalSwing { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
.results__note { margin-top: 18px; font-size: .88rem; color: var(--ink-soft); max-width: 80ch; }
.empty { padding: 40px 24px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.empty p { max-width: 52ch; color: var(--ink-soft); }

@media (max-width: 1020px) {
  .table { background: transparent; box-shadow: none; border: 0; overflow: visible; }
  .table__row--head { display: none; }
  .table__row {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: "name name name" "p1 p2 con" "perm perm perm" "est est est" "yr yr yr" "cta cta cta";
    gap: 14px 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    margin-bottom: 12px; padding: 18px;
  }
  .table__row.is-best { box-shadow: inset 0 4px 0 #FFC940, 0 18px 36px -24px rgba(217, 154, 18, .6); background: linear-gradient(180deg, #FFF9E8 0%, #fff 45%); overflow: visible; margin-top: 18px; }
  .table__row.is-best::after { display: none; }
  .table__row.is-best .c-rank { display: block; position: absolute; top: -16px; right: 16px; }
  .medal { width: 44px; }
  .c-rank { display: none; }
  .c-name { grid-area: name; }
  .c-logo { width: 88px; height: 46px; }
  .table__row > .c-num:nth-child(3) { grid-area: p1; }
  .table__row > .c-num:nth-child(4) { grid-area: p2; }
  .table__row > .c-num:nth-child(5) { grid-area: con; }
  .table__row > .c-est { grid-area: est; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--sky-pale); }
  .table__row > .c-est::before { grid-row: 1 / span 2; font-size: .85rem; color: var(--ink-soft); margin: 0; }
  .table__row > .c-est span, .table__row > .c-est small { grid-column: 2; text-align: right; }
  .table__row > .c-year { grid-area: yr; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; padding: 0 14px; border: 0 !important; margin-top: -4px; }
  .table__row > .c-year::before { grid-row: 1 / span 2; font-size: .85rem; color: var(--ink-soft); margin: 0; }
  .table__row > .c-year span, .table__row > .c-year small { grid-column: 2; text-align: right; }
  .table__row > .c-year strong { display: inline !important; font-size: 1.1rem; }
  .table__row > .c-est strong { font-size: 1.5rem; display: inline !important; }
  .c-perm { grid-area: perm; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--line); }
  .c-perm::before { margin-bottom: 0 !important; font-size: .85rem !important; }
  .c-num::before, .c-perm::before { content: attr(data-label); font-size: .76rem; font-weight: 600; color: #7E97AD; margin-bottom: 3px; }
  .table__row > .c-num { padding-top: 12px; border-top: 1px dashed var(--line); }
  .c-num span { font-size: .8rem; line-height: 1.3; }
  .c-num strong { display: block; font-size: 1.05rem; }
  .c-cta { grid-area: cta; }
}

/* ---------- ¿Qué es la potencia / el consumo? ---------- */
.explain { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.explain__item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.explain__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; color: var(--ink); }
.explain__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.explain h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.explain p { color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 720px) { .explain { grid-template-columns: 1fr; } }
.field__help--info { background: #FFF6DB; border: 1px solid #F3DC8E; color: #5B4712; line-height: 1.5; }
.field__help--info b { color: var(--ink); }

/* ---------- Te llamamos ---------- */
.callback {
  margin-top: 28px;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px; align-items: center;
  background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 30px);
}
.callback h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.callback__copy p { color: var(--ink-soft); }
.callback__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.callback__form .field input { min-height: 50px; font-size: 1rem; font-weight: 500; }
.callback__form .btn { min-height: 50px; }
.callback__form .check { grid-column: 1 / -1; }
.callback__done { grid-column: 1 / -1; font-weight: 600; color: var(--ok); }
.check--small { font-size: .88rem; }
.check--small input { width: 18px; height: 18px; }

/* ---------- CTA fijo móvil ---------- */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { width: 100%; min-height: 54px; }
}

/* ---------- Cómo funciona ---------- */
.steps { padding: clamp(64px, 9vw, 120px) 0; }
.steps h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; max-width: 18ch; text-wrap: balance; }
.steps__list { list-style: none; counter-reset: s; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps__list li { counter-increment: s; position: relative; padding-top: 72px; }
.steps__list li::before {
  content: counter(s);
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky); font-family: var(--f-display); font-weight: 800; font-size: 1.4rem;
}
.steps__list li:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 64px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky) 0 8px, transparent 8px 14px);
}
.steps h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.steps p { color: var(--ink-soft); max-width: 36ch; }

/* ---------- Selector de potencia ---------- */
.group__help { font-size: .92rem; color: var(--ink-soft); margin: -4px 0 12px; max-width: 62ch; }
.group__help b { color: var(--ink); }
.power-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.pp { position: relative; cursor: pointer; }
.pp input { position: absolute; opacity: 0; inset: 0; }
.pp span {
  display: flex; align-items: baseline; justify-content: center; gap: .2rem;
  min-height: 48px; padding: .75rem .4rem; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--sky-mist);
  font-size: .82rem; color: var(--ink-soft); font-variant-numeric: tabular-nums;
}
.pp b { font-family: var(--f-display); font-size: 1.1rem; color: var(--ink); }
.pp:hover span { border-color: #A9D2EB; }
.pp input:checked + span { background: var(--ink); border-color: var(--ink); color: #CFE4F2; }
.pp input:checked + span b { color: #fff; }
.pp input:focus-visible + span { outline: 3px solid var(--sky-strong); outline-offset: 2px; }
.power-pick.is-invalid .pp span { border-color: #E9A8A2; }
#powerMsg { display: block; margin-top: 8px; }

/* ---------- Pantalla de carga ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(1100px 700px at 30% 45%, #173D63 0%, rgba(23, 61, 99, 0) 70%),
    radial-gradient(800px 500px at 90% 110%, rgba(124, 200, 242, .18), transparent 70%),
    #0A223B;
  color: #fff;
  opacity: 0; transition: opacity .4s ease;
}
.loader.is-open { opacity: 1; }
.loader__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 200, 242, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 200, 242, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 40% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 40% 45%, #000 20%, transparent 75%);
}
.loader__in {
  position: relative; z-index: 1;
  width: 100%; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center;
}

/* Visualización abstracta */
.viz {
  position: relative; width: 100%; height: clamp(360px, 58vh, 520px);
  border-radius: 24px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 45%, rgba(124, 200, 242, .10), rgba(4, 16, 30, .0) 70%);
}
.viz__canvas { position: absolute; inset: 0; display: block; }
.viz__cap {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; max-width: calc(100% - 24px);
  padding: 10px 16px 10px 10px; border-radius: 999px;
  background: rgba(4, 16, 30, .7); border: 1px solid rgba(124, 200, 242, .25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #E4F2FB; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.viz__cap.is-in { animation: capIn .5s cubic-bezier(.3, 1.3, .5, 1); }
@keyframes capIn { from { opacity: 0; transform: translate(-50%, 10px); } }
.viz__num {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sky); color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: .9rem;
}
.viz__txt { overflow: hidden; text-overflow: ellipsis; }

/* Texto */
.loader__live { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--sky); font-size: .95rem; background: rgba(124, 200, 242, .1); border: 1px solid rgba(124, 200, 242, .25); padding: .3rem .8rem .3rem .65rem; border-radius: 999px; }
.loader__live .live { animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.loader__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: .8rem 0 .5rem; color: #fff; text-wrap: balance; }
.loader__date { color: #BFD7EA; font-size: 1.02rem; }
.loader__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.loader__steps li { display: flex; align-items: center; gap: .75rem; color: rgba(255, 255, 255, .4); font-weight: 500; transition: color .3s ease; }
.loader__steps li.is-active, .loader__steps li.is-done { color: #fff; }
.loader__tick { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid rgba(124, 200, 242, .3); position: relative; transition: background-color .3s ease, border-color .3s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.is-active .loader__tick { border-top-color: var(--sky); animation: spin .8s linear infinite; }
.is-done .loader__tick { background: var(--sky); border-color: var(--sky); animation: none; transform: scale(1.08); }
.is-done .loader__tick::after {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='m6 11.3 3.3 3.3L16 8' fill='none' stroke='%230E2A47' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.loader__progress { margin-top: 28px; }
.loader__bar { position: relative; height: 10px; border-radius: 99px; background: rgba(124, 200, 242, .14); overflow: hidden; }
.loader__bar i {
  position: relative; display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, #52B4EC, #BDE6FB);
  box-shadow: 0 0 18px rgba(124, 200, 242, .9);
}
.loader__bar i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .7) 50%, transparent 100%);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: sheen 1.3s linear infinite;
}
@keyframes sheen { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.loader__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 10px; }
.loader__ticker { font-size: .92rem; color: #BFD7EA; min-height: 1.4em; }
.loader__ticker.is-in { animation: tickIn .35s ease; }
@keyframes tickIn { from { opacity: 0; transform: translateY(6px); } }
.loader__pct { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; color: #fff; }

/* Filas de comercializadoras */
.loader__logos {
  position: absolute; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 1;
  display: grid; gap: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.loader__row { overflow: hidden; }
.loader__track { display: flex; gap: 10px; width: max-content; animation: flow 26s linear infinite; }
.loader__row--rev .loader__track { animation-duration: 32s; animation-direction: reverse; }
@keyframes flow { to { transform: translateX(-33.333%); } }
.lchip {
  flex: none; min-width: 118px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; padding: 8px 14px;
  background: rgba(255, 255, 255, .94);
  font-family: var(--f-display); font-weight: 700; font-size: .8rem; color: var(--ink); white-space: nowrap;
  opacity: .82;
}
.lchip img { max-width: 100%; max-height: 28px; width: auto; height: auto; object-fit: contain; }

@media (max-width: 860px) {
  .loader { justify-content: flex-start; padding-top: calc(28px + env(safe-area-inset-top, 0px)); }
  .loader__in { grid-template-columns: 1fr; gap: 18px; }
  .loader__logos { display: none; }
  .loader__title { font-size: 1.5rem !important; margin: .5rem 0 .3rem !important; }
  .loader__date { font-size: .86rem; }
  .loader__steps { display: none; }
  .loader__progress { margin-top: 14px; }
  .viz { height: 300px; }
  .viz__cap { font-size: .78rem; white-space: normal; border-radius: 16px; padding: 8px 12px 8px 8px; width: calc(100% - 20px); }
  .viz__num { width: 28px; height: 28px; font-size: .78rem; }
  .loader__text { order: -1; }
  .loader__steps { margin-top: 16px; gap: 9px; font-size: .95rem; }
  .loader__title { font-size: 1.8rem; }
  .loader__logos { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .loader__row--rev { display: none; }
  .lchip { min-width: 96px; height: 40px; }
}
@media (max-height: 760px) and (max-width: 860px) { .loader__logos { display: none; } }

/* ---------- Proceso en el formulario ---------- */
.process {
  position: relative; margin-top: 18px; padding: 20px 20px 18px; border-radius: var(--r-md);
  background: linear-gradient(180deg, #F2FAFF 0%, #E7F4FC 100%); border: 1px solid var(--line); overflow: hidden;
}
.process::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; border: 22px solid rgba(124, 200, 242, .14); pointer-events: none; }
.process__title { position: relative; font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; margin-bottom: 16px; }
.process__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.process__steps li { position: relative; padding-top: 50px; }
.process__ico {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: var(--ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(14, 42, 71, .7);
}
.process__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.process__done .process__ico { background: #2DBE7E; box-shadow: 0 0 0 5px rgba(45, 190, 126, .16), 0 8px 18px -10px rgba(29, 122, 85, .8); }
.process__steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 19px; left: 48px; right: -8px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--sky) 0 30%, rgba(124, 200, 242, .25) 30% 100%);
  background-size: 300% 100%;
  animation: flowLine 2.4s linear infinite;
}
@keyframes flowLine { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.process__pill {
  position: absolute; top: 9px; left: 52px; z-index: 1;
  font-style: normal; font-size: .72rem; font-weight: 700; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem; white-space: nowrap;
}
.process__done .process__pill { background: #E3F6EC; border-color: #BFE8D2; color: var(--ok); }
.process__steps b { display: block; font-size: .98rem; margin-bottom: .2rem; }
.process__steps span:not(.process__ico) { display: block; font-size: .86rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Cabecera de resultados ---------- */
.rhead { display: grid; gap: 22px; margin-bottom: 28px; }
.rhead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.rhead__meta .results__date { margin: 0; }
.rhead__chip { font-size: .82rem; font-weight: 700; color: var(--ink); background: var(--sky-pale); border: 1px solid var(--line); border-radius: 999px; padding: .32rem .75rem; }
.rhead h2 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.03em; max-width: 20ch; }
.rhead .results__sub { font-size: 1.06rem; max-width: 62ch; }
.rstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 900px; }
.rstat {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; align-content: center; column-gap: 18px; row-gap: 2px;
  min-height: 116px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 24px;
  box-shadow: 0 16px 34px -26px rgba(14, 42, 71, .5);
}
.rstat__ico { grid-row: 1 / span 3; align-self: center; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-pale); color: var(--ink); }
.rstat__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rstat__label { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.rstat b { font-family: var(--f-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rstat small { font-size: .86rem; color: var(--ink-soft); }
.rstat--win { background: linear-gradient(135deg, #0E2A47 0%, #173D63 100%); border-color: transparent; color: #fff; overflow: hidden; }
.rstat--win::after { content: ""; position: absolute; right: -34px; top: -34px; width: 130px; height: 130px; border-radius: 50%; border: 20px solid rgba(255, 201, 64, .12); pointer-events: none; }
.rstat__logo {
  grid-row: 1 / span 3; align-self: center; position: relative;
  width: 104px; height: 60px; border-radius: 14px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 3px rgba(255, 201, 64, .55), 0 10px 22px -12px rgba(0, 0, 0, .6);
}
.rstat__logo img { position: absolute; inset: 8px 10px; width: calc(100% - 20px); height: calc(100% - 16px); object-fit: contain; }
.rstat__logo .ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; color: #7E97AD; }
.rstat__cup { width: 15px; height: 15px; fill: none; stroke: #FFC940; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rstat--win .rstat__label { color: #FFD66B; }
.rstat--win b { color: #fff; }
.rstat--win small { color: #BFD7EA; }
@media (max-width: 760px) { .rstats { grid-template-columns: 1fr; } .rstat { min-height: 0; padding: 16px 18px; } .rstat b { font-size: 1.4rem; } .rstat__logo { width: 84px; height: 50px; } .rstat__ico { width: 46px; height: 46px; } }

/* ---------- FAQ ---------- */
.faq { padding: clamp(64px, 9vw, 112px) 0; background: linear-gradient(180deg, #fff 0%, var(--sky-mist) 100%); }
.faq__head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 52px); }
.faq__head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
.faq__head p { margin-top: .7rem; color: var(--ink-soft); font-size: 1.12rem; }
.faq__layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.faq__list { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-lift); }
.faq__list details { border-radius: 18px; transition: background-color .2s ease; }
.faq__list details + details { margin-top: 2px; }
.faq__list details:not([open]):hover { background: var(--sky-mist); }
.faq__list details[open] { background: var(--sky-pale); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 44px 1fr 28px; align-items: center; gap: 14px;
  padding: 14px 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 28px; height: 28px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230E2A47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 18px; }
.faq__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--sky-pale); display: grid; place-items: center; color: var(--ink); transition: background-color .2s ease; }
.faq details[open] .faq__icon { background: var(--sky); }
.faq__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.faq__q { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; line-height: 1.3; }
.faq__answer { padding: 0 60px 20px 74px; }
.faq__answer p { color: var(--ink-soft); max-width: 60ch; }
.faq__answer strong { color: var(--ink); }
.faq__contact { position: sticky; top: 100px; }
.callback--side {
  margin: 0; grid-template-columns: 1fr; gap: 18px;
  background: var(--ink); color: #fff; border: 0;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 30px 60px -30px rgba(14, 42, 71, .6);
  position: relative; overflow: hidden;
}
.callback--side::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%;
  border: 30px solid rgba(124, 200, 242, .14); pointer-events: none;
}
.callback--side .callback__kicker { color: var(--sky); font-weight: 600; margin-bottom: .3rem; }
.callback--side h3 { font-size: 1.45rem; line-height: 1.2; color: #fff; }
.callback--side .callback__form { grid-template-columns: 1fr; position: relative; z-index: 1; }
.callback--side .field__label { color: #BFD7EA; }
.callback--side .field input { background: rgba(255, 255, 255, .08); border-color: rgba(124, 200, 242, .3); color: #fff; }
.callback--side .field input::placeholder { color: rgba(191, 215, 234, .5); }
.callback--side .field input:focus { background: rgba(255, 255, 255, .14); border-color: var(--sky); }
.callback--side .check { color: #BFD7EA; }
.callback--side .check a { color: #fff; }
.callback--side .callback__done { color: var(--sky); }
.callback--side .field__msg { color: #FFB4AC; }

/* ---------- Fecha en resultados ---------- */
.results__date {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .9rem .35rem .75rem; margin-bottom: 1rem;
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
}

/* ---------- CTA final ---------- */
.closing { padding: 0 0 clamp(64px, 9vw, 110px); }
.closing__in {
  background: var(--sky);
  border-radius: 40px;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: grid; gap: 1rem; justify-items: start;
  position: relative; overflow: hidden;
}
.closing__in::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 44px solid rgba(255, 255, 255, .28);
}
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 800; max-width: 16ch; letter-spacing: -.035em; }
.closing p { font-size: 1.15rem; margin-bottom: .8rem; }

/* ---------- Pie ---------- */
.footer { background: var(--sky-pale); padding: 56px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.footer__grid { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__text { margin-top: .8rem; color: var(--ink-soft); max-width: 40ch; }
.footer__links { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.footer__links a { color: var(--ink-soft); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); }
.footer__legal p:first-child { max-width: 80ch; }

/* ---------- Modal de contratación ---------- */
.modal {
  width: min(760px, calc(100% - 32px));
  max-height: min(92vh, 980px);
  padding: 0; border: 0;
  border-radius: var(--r-lg);
  background: #fff; color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(14, 42, 71, .6);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; animation: modalIn .28s cubic-bezier(.2, .8, .2, 1); }
.modal::backdrop { background: rgba(14, 42, 71, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.contract { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.contract__head {
  position: relative; padding: 22px 26px 20px;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(124, 200, 242, .55), transparent 70%),
    linear-gradient(180deg, var(--sky-pale), #F5FBFF);
  border-bottom: 1px solid var(--line);
}
.contract__top { display: flex; align-items: center; gap: 16px; }
.contract__logo {
  flex: none; width: 104px; height: 60px; border-radius: 16px; padding: 8px 12px;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 24px -16px rgba(14, 42, 71, .45); overflow: hidden;
}
.contract__logo { position: relative; }
.contract__logo img { position: absolute; inset: 8px 12px; width: calc(100% - 24px); height: calc(100% - 16px); object-fit: contain; }
.contract__logo .ini { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: #7E97AD; }
.contract__titles { flex: 1; min-width: 0; }
.contract__eyebrow { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.contract__head h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; margin-top: .1rem; line-height: 1.15; }
.contract__prices { margin-top: .8rem; font-size: .95rem; color: var(--ink-soft); }
.contract__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 0; }
.fact { background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.fact dt { font-size: .74rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 2px; }
.fact dd { margin: 0; display: flex; flex-direction: column; }
.fact b { font-family: var(--f-display); font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.fact span { font-size: .72rem; color: var(--ink-soft); }
.fact--hi { background: var(--ink); border-color: var(--ink); color: #fff; }
.fact--hi dt, .fact--hi span { color: #BFD7EA; }
.fact--hi b { color: #FFD66B; }
.modal__close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; }
.modal__close svg { width: 22px; height: 22px; }
.modal__close:hover { background: var(--sky); }
.contract__scroll { overflow-y: auto; padding: 4px 26px 24px; flex: 1; min-height: 0; overscroll-behavior: contain; background: #FAFDFF; counter-reset: grp; }
.group {
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  padding: 16px 18px 18px; margin: 14px 0 0; min-width: 0; counter-increment: grp;
}
.group legend {
  float: left; width: 100%;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; padding: 0;
}
.group legend::before {
  content: counter(grp); flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--ink);
  font-size: .82rem; font-weight: 800;
}
.group legend + * { clear: both; }
.group:focus-within { border-color: #A9D2EB; box-shadow: 0 10px 30px -22px rgba(14, 42, 71, .5); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2--cp { grid-template-columns: 9rem 1fr; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 14px; }
.field__label small { font-weight: 500; color: #8FA6BA; font-size: .8rem; }
.field__label:has(small) { justify-content: flex-start; }
.field--full { grid-column: 1 / -1; }
.contract .field input, .contract .field select { min-height: 50px; font-size: 1rem; font-weight: 500; }
.hint { background: none; border: 0; padding: 0; font-size: .85rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented span {
  display: flex; align-items: center; justify-content: center; min-height: 56px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; background: var(--sky-mist);
}
.segmented input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--sky-strong); outline-offset: 2px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.check a { color: var(--ink); font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contract__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 28px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); background: #fff;
}
.contract__secure { display: flex; gap: .5rem; align-items: center; font-size: .86rem; color: var(--ink-soft); max-width: 36ch; }
.contract__secure svg { width: 20px; height: 20px; flex: none; }
.done { padding: 56px 32px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.done__icon { width: 76px; height: 76px; }
.done h2 { font-size: 2rem; font-weight: 800; }
.done p { color: var(--ink-soft); max-width: 44ch; }

.contract__submit { display: flex; align-items: center; gap: 14px; }
.contract__submit .btn { white-space: nowrap; }
.contract__error { color: var(--error); font-weight: 600; font-size: .9rem; max-width: 22ch; text-align: right; }
.checks { margin-top: 16px !important; padding: 0 4px; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; z-index: 70;
  left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-left: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 20px 50px -20px rgba(14, 42, 71, .45);
  padding: 18px 20px; display: grid; gap: 14px; font-size: .92rem;
}
.cookies__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .callback { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .demo { justify-self: center; max-width: 480px; }
  .demo__toast { left: 12px; }
  .faq__layout { grid-template-columns: 1fr; }
  .faq__contact { position: static; }
}
@media (max-width: 720px) {
  .steps__list { grid-template-columns: 1fr; gap: 36px; }
  .steps__list li { padding: 0 0 0 72px; min-height: 52px; }
  .steps__list li::after { display: none !important; }
  .search__bar { grid-template-columns: 1fr; }
  .search__btn { width: 100%; }
  .hero__kicker { font-size: .84rem; }
  .hero__lead { font-size: 1.05rem; }
  .why__list, .why__list--3 { grid-template-columns: 1fr; gap: 24px 0; }
  .why__list li { border-left: 0; padding-left: 0; }
  .grid2, .grid2--cp { grid-template-columns: 1fr; }
  .callback__form { grid-template-columns: 1fr; }
  .faq summary { grid-template-columns: 38px 1fr 24px; gap: 12px; padding: 12px; }
  .faq__icon { width: 38px; height: 38px; border-radius: 12px; }
  .faq__answer { padding: 0 14px 18px 62px; }
  .faq__q { font-size: 1.02rem; }
  .process__steps { grid-template-columns: 1fr; gap: 12px; }
  .process__steps li { padding: 0 0 0 54px; min-height: 40px; }
  .process__steps li::after { display: none; }
  .process__pill { position: static; display: inline-block; margin-bottom: 4px; }
  .demo__toast { font-size: .84rem; }
  .cookies { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 12px 14px; gap: 10px; font-size: .8rem; line-height: 1.45; }
  .cookies .btn--small { min-height: 36px; flex: 1; }
  .modal { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; }
  .contract__head { padding: calc(16px + env(safe-area-inset-top, 0px)) 16px 14px; }
  .contract__logo { width: 76px; height: 46px; border-radius: 12px; }
  .contract__facts { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
  .fact { padding: 8px 10px; }
  .fact b { font-size: 1rem; }
  .group { padding: 14px 14px 16px; }
  .contract__submit { flex-direction: column-reverse; align-items: stretch; }
  .contract__error { max-width: none; text-align: center; }
  .contract__scroll { padding: 4px 14px 20px; }
  .contract__foot { flex-direction: column; align-items: stretch; padding-left: 18px; padding-right: 18px; }
  .contract__foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .brands__track { -webkit-mask-image: none; mask-image: none; }
  .brands__row { flex-wrap: wrap; justify-content: center; animation: none; padding: 0 20px; }
  .brands__row[aria-hidden] { display: none; }
}
