/* lo oculto con el atributo hidden siempre se oculta, aunque su clase le dé display */
[hidden] { display: none !important; }

:root {
  --navy: #05173a;
  --ink: #0b0d12;
  --cyan: #00ACE6;
  --blue: #165FAA;
  --sky: #00ACE6;
  --lilac: #eef2ff;
  --line: #e3e8f2;
  --muted: #5d6b85;
  --foot: #1c1e22;
  --r-card: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Figtree", Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: #fff;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- tipografía ---------- */
.eyebrow { font-size: 15px; font-weight: 500; color: var(--blue); margin-bottom: 18px; }
.eyebrow span { color: var(--sky); }
.h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); font-weight: 500; line-height: 1.2; letter-spacing: -.005em; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.2; }
.lead { max-width: 760px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.body { max-width: 640px; margin: 0 auto; color: var(--muted); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px; font-weight: 500; font-size: 17px;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .3s;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--cyan { background: var(--cyan); color: #fff; margin-top: 34px; }
.btn--cyan:hover { box-shadow: 0 12px 30px -10px rgba(0, 182, 224, .7); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); margin-top: 48px; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-cyan { border-color: var(--cyan); color: var(--cyan); }
.btn--ghost-cyan:hover { background: var(--cyan); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 84px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 clamp(20px, 3vw, 40px);
  background: #fff;
  transition: transform .5s var(--ease), box-shadow .3s;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { font-weight: 600; font-size: 28px; letter-spacing: .02em; color: var(--navy); justify-self: start; }
.logo--light { color: #fff; }
.site-header .btn { justify-self: end; }
.menu-pill {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--navy); padding: 0;
}
.menu-pill__label { border: 1.5px solid var(--navy); border-radius: 999px; padding: 4px 14px; font-size: 15px; font-weight: 500; transition: background-color .3s, color .3s; }
.menu-pill:hover .menu-pill__label, .menu-pill[aria-expanded="true"] .menu-pill__label { background: var(--navy); color: #fff; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger i { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.menu-pill[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-pill[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.menu-pill[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* ---------- hero ---------- */
.hero { padding: 172px 0 104px; position: relative; overflow: hidden; background: #fff; }
.hero-tiles {
  margin-top: 64px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px);
  align-items: end; padding-inline: clamp(12px, 2vw, 24px); min-height: 360px;
}
.tile { border-radius: 22px; overflow: hidden; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.t1 { height: 340px; transform: translateY(10px); }
.t2 { height: 200px; align-self: start; margin-top: 40px; }
.t3 { height: 210px; }
.t4 { height: 220px; align-self: start; margin-top: 10px; }
.t5 { height: 380px; }
.tile--photo .ph--hands {
  height: 100%;
  background:
    radial-gradient(80% 60% at 70% 30%, rgba(80, 120, 255, .65), transparent 60%),
    radial-gradient(60% 50% at 20% 80%, rgba(0, 182, 224, .5), transparent 60%),
    linear-gradient(160deg, #0b1d4d, #050b1f);
}
.tile--photo .ph--hands::after {
  content: ""; position: absolute; inset: 52% 10% 8%; border-radius: 10px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 18px, transparent 18px 22px),
              repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 12px, transparent 12px 16px);
  transform: perspective(300px) rotateX(48deg); opacity: .7;
}
.tile--dark { background: #111318; color: #39c3ee; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile__kicker { font-size: 15px; }
.tile__big { font-size: clamp(16px, 1.6vw, 22px); line-height: 1.2; }
.tile--soft { background: var(--lilac); display: grid; place-items: end center; padding: 22px 22px 0; }
.tablet { width: 82%; height: 150px; border-radius: 14px 14px 0 0; background: linear-gradient(160deg, #3b6dff, #1a3fd1); padding: 16px; display: grid; gap: 10px; align-content: start; border: 6px solid #0f1a33; border-bottom: 0; }
.tablet__chip { font-size: 12px; color: #fff; opacity: .8; }
.tablet i { display: block; height: 8px; border-radius: 6px; background: rgba(255,255,255,.35); }
.tablet i:nth-child(3) { width: 70%; } .tablet i:nth-child(4) { width: 45%; }
.tile--white { background: #fff; border: 1px solid var(--line); padding: 20px; display: grid; justify-items: center; align-content: start; gap: 18px; box-shadow: 0 20px 40px -24px rgba(5,23,58,.25); }
.tile__label { font-size: 14px; font-weight: 500; }
.finger { width: 64px; color: var(--blue); }

/* ---------- marquesinas ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; }
.marquee__track img { height: 48px; width: auto; margin-inline: clamp(30px, 4.2vw, 68px); transition: transform .4s var(--ease); }
.marquee__track img:hover { transform: scale(1.08); }
.clients { padding-bottom: 64px; }
.stars { color: #f6b400; letter-spacing: 2px; }
.badges { display: flex; justify-content: center; gap: 22px; margin: 80px 0 40px; flex-wrap: wrap; }
.card {
  position: sticky; top: 110px; min-height: min(620px, 78vh);
  border-radius: var(--r-card); padding: clamp(28px, 4vw, 40px); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  transform-origin: 50% 0;
}
.card__link { display: inline-block; margin-top: 26px; font-size: 16px; font-weight: 500; transition: transform .3s var(--ease); }
.card__link:hover { transform: translateX(4px); }
.b3 { width: 55%; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.icon-cols { position: absolute; right: 4%; top: -10%; bottom: -10%; display: flex; gap: 22px; }
.ft1 { right: 26%; top: 34%; }
.ft2 { right: 6%; bottom: 30%; }
.waves { position: absolute; left: 30%; right: 0; bottom: 0; height: 60%; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; padding-right: 4%; }
.waves i { flex: 1; max-width: 6px; height: 100%; border-radius: 3px 3px 0 0; background: #9fb6ff; transform-origin: 50% 100%; transform: scaleY(.15); animation: wave 1.4s ease-in-out var(--d) infinite alternate; }
@keyframes wave { to { transform: scaleY(var(--h)); } }

/* ---------- aliados ---------- */
.partners { padding: 64px 0 96px; }
.partner-rows { margin-top: 56px; display: grid; gap: 34px; }
.partner-rows .marquee__track img { height: 54px; }

/* ---------- soluciones ---------- */

/* ---------- planes ---------- */
.chev { transition: transform .4s var(--ease); display: inline-block; }

/* ---------- contacto ---------- */
.contact { position: relative; padding: 140px 0 120px; overflow: hidden; background: linear-gradient(#fff, #f7fbfe); }
.rings { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rings i { position: absolute; left: 50%; top: 70%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%; border: 1.2px solid #bfe6f3; opacity: calc(1 - var(--i, 0) * .1); }
.rings i:nth-child(1) { --s: 240px; --i: 0; } .rings i:nth-child(2) { --s: 440px; --i: 1; } .rings i:nth-child(3) { --s: 660px; --i: 2; }
.rings i:nth-child(4) { --s: 900px; --i: 3; } .rings i:nth-child(5) { --s: 1160px; --i: 4; } .rings i:nth-child(6) { --s: 1440px; --i: 5; }
.contact__inner { position: relative; }

/* ---------- footer ---------- */
.footer { background: var(--foot); color: #d9dde6; padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; align-items: start; }
.footer__about p { margin: 22px 0 24px; font-size: 14px; max-width: 290px; }
.footer__pills { display: grid; gap: 12px; justify-items: center; }
.footer__pills a { width: 130px; text-align: center; border: 1px solid #5f646f; border-radius: 999px; padding: 7px 0; font-size: 13px; transition: border-color .3s, color .3s; }
.footer__pills a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer__list { display: grid; gap: 14px; font-size: 14px; }
.footer__list a:hover { color: var(--cyan); }
.footer__title { font-size: 18px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.footer__title span { color: var(--cyan); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 36px; height: 36px; border-radius: 8px; background: #fff; display: grid; place-items: center; transition: transform .3s var(--ease); }
.footer__social a:hover { transform: translateY(-3px); }
.footer__social svg { width: 20px; fill: var(--foot); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 72px; font-size: 13px; color: #9aa1ae; flex-wrap: wrap; }

/* ---------- estados de animación ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); animation: failsafe 0s 3s forwards; }
@keyframes failsafe { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; animation: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-tiles { grid-template-columns: repeat(3, 1fr); }
  .t4, .t5 { display: none; }
  .icon-tile { width: 100px; height: 100px; }
  .flow { width: 70%; opacity: .6; }
  .editor { width: 55%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { height: 68px; }
  .logo { font-size: 22px; }
  .menu-pill__label { display: none; }
  .hero { padding: 120px 0 80px; }
  .hero-tiles { grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .t3 { display: none; }
  .t1 { height: 240px; } .t2 { height: 170px; margin-top: 0; }
  .card { top: 84px; min-height: 560px; }
  .chat, .icon-cols, .editor { opacity: .35; }
  .waves { left: 0; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__pills { justify-items: start; }
}

/* ---------- ajustes DLTEC ---------- */
.logo img { height: 44px; width: auto; }
.footer .logo img { height: 50px; }
.u { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.contact__ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.contact__ctas .btn { margin-top: 0; }
.footer__contact { display: grid; gap: 16px; justify-items: end; }
.footer__phone { font-size: 14px; text-align: right; line-height: 1.8; }
.footer__phone a:hover { color: var(--cyan); }
@media (max-width: 720px) {
  .logo img { height: 34px; }
  .h1 br, .h2 br { display: none; }
  .footer__contact { justify-items: start; }
  .footer__phone { text-align: left; }
}

/* =============================================================
   COMPONENTES DLTEC (tienda, herramientas, cotizador)
   ============================================================= */
:root { --ok: #12a46b; --warn: #e8a300; --err: #e2483d; --soft: #f5f7fb; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg use { pointer-events: none; }
.btn--inline { margin-top: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--navy); transition: background-color .3s, color .3s, border-color .3s; }
.icon-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- encabezado: lista ---------- */
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.cart-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .3s, background-color .3s; }
.cart-pill:hover { border-color: var(--navy); }
.cart-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--cyan); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.cart-count.is-pop { animation: pop .5s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }

/* ---------- controles de formulario ---------- */
.f-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 500; margin: 22px 0 10px; }
.f-label output { font-size: 22px; color: var(--blue); font-weight: 600; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--cyan) var(--fill, 50%), var(--line) var(--fill, 50%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); box-shadow: 0 4px 12px -4px rgba(5,23,58,.4); cursor: grab; transition: transform .2s; }
.range::-webkit-slider-thumb:active { transform: scale(1.15); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); cursor: grab; }
.range:focus-visible { box-shadow: 0 0 0 4px rgba(0,172,230,.25); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.seg span, .chips span { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: background-color .25s, color .25s, border-color .25s; }
.seg label:hover span, .chips label:hover span { border-color: var(--navy); }
.seg input:checked + span, .chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span, .chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0,172,230,.35); }
.seg--sm span { padding: 6px 14px; font-size: 13px; }
.toggle { display: flex; align-items: center; gap: 14px; margin-top: 26px; cursor: pointer; font-size: 15px; font-weight: 500; }
.toggle small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.toggle input { position: absolute; opacity: 0; }
.toggle-ui { flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background-color .3s; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .35s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--cyan); }
.toggle input:checked + .toggle-ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-ui { box-shadow: 0 0 0 3px rgba(0,172,230,.35); }

/* ---------- calcula antes de invertir ---------- */
.tools { padding: 128px 0 64px; }
.tool-card { margin-top: 56px; border-radius: var(--r-card); background: var(--lilac); padding: clamp(20px, 3vw, 40px); }
.tool-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -18px rgba(5,23,58,.35); }
.tool-switch button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .3s; white-space: nowrap; }
.tool-switch button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.tool-switch button.is-on { color: #fff; }
.tool-thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--navy); transition: transform .5s var(--ease); }
.tool-switch.is-alt .tool-thumb { transform: translateX(100%); }
.tool-panel { margin-top: 28px; }
.tool-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.sim { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.sim-controls, .sim-out, .diag-list, .diag-result { background: #fff; border-radius: 24px; padding: clamp(20px, 2.4vw, 32px); }
.sim-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { border-radius: 18px; background: var(--soft); padding: 16px; }
.stat p:first-child { font-size: 13px; color: var(--muted); }
.stat--blue { background: linear-gradient(150deg, #2a7fe0, var(--blue)); color: #fff; }
.stat--blue p:first-child { color: rgba(255,255,255,.8); }
.stat-num { font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1.1; margin-top: 6px; }
.stat-num small { font-size: .5em; margin-left: 2px; }
.stat-num i { font-style: normal; font-size: .55em; margin: 0 6px; color: var(--muted); }
.sim-board { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: start; margin-top: 22px; padding: 18px; border-radius: 18px; background: #0b0d12; min-height: 180px; }
.sim-col-t { font-size: 12px; color: #9aa4b8; margin-bottom: 10px; }
.sim-col-t span { color: #fff; font-weight: 600; }
.sim-old { display: flex; flex-wrap: wrap; gap: 4px; }
.sim-srv { width: 22px; height: 9px; border-radius: 2px; background: #343a48; box-shadow: inset 3px 0 0 #e2483d; animation: popIn .4s var(--ease) both; animation-delay: calc(var(--k) * 15ms); }
.sim-mid { align-self: center; color: var(--cyan); font-size: 22px; }
.sim-new { display: flex; flex-wrap: wrap; gap: 8px; }
.sim-host { position: relative; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 3px; width: 64px; min-height: 52px; padding: 18px 6px 6px; border-radius: 8px; background: #1a2030; border: 1px solid #2a3346; animation: popIn .5s var(--ease) both; animation-delay: calc(var(--k) * 50ms); }
.sim-host::before { content: "Host " attr(data-n); position: absolute; top: 4px; left: 6px; font-size: 9px; color: #9aa4b8; }
.sim-host.is-spare { border-style: dashed; border-color: var(--cyan); background: transparent; }
.sim-host.is-spare::before { content: "Reserva"; color: var(--cyan); }
.sim-vm { width: 10px; height: 10px; border-radius: 2px; background: var(--cyan); animation: popIn .35s var(--ease) both; animation-delay: calc(var(--k) * 12ms); }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } }
.tool-note { font-size: 13px; color: var(--muted); margin: 18px 0 20px; }
.diag { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.diag-list { margin: 0; padding-left: clamp(20px, 2.4vw, 32px); list-style: none; display: grid; gap: 4px; }
.dq { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dq:last-child { border-bottom: 0; }
.dq p { font-size: 15px; font-weight: 500; display: flex; gap: 12px; flex: 1 1 260px; }
.dq p span { color: var(--cyan); font-weight: 600; }
.dq.is-answered p span { color: var(--ok); }
.diag-result { text-align: center; position: sticky; top: 110px; }
.gauge { position: relative; width: 190px; margin: 0 auto; }
.gauge svg { transform: rotate(-90deg); }
.g-track, .g-val { fill: none; stroke-width: 14; }
.g-track { stroke: var(--soft); }
.g-val { stroke: var(--gcol, var(--cyan)); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1s var(--ease), stroke .4s; }
.gauge-num { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; font-size: 48px; font-weight: 600; line-height: 1; }
.gauge-num small { font-size: 14px; color: var(--muted); font-weight: 500; }
.diag-level { margin-top: 14px; font-size: 20px; font-weight: 600; color: var(--gcol, var(--navy)); }
.diag-progress { font-size: 13px; color: var(--muted); margin-top: 4px; }
.diag-recs { text-align: left; margin: 18px 0 22px; display: grid; gap: 8px; }
.diag-recs li { position: relative; padding: 10px 12px 10px 34px; border-radius: 12px; background: var(--soft); font-size: 14px; animation: popIn .4s var(--ease) both; animation-delay: calc(var(--k, 0) * 70ms); }
.diag-recs li::before { content: "→"; position: absolute; left: 12px; color: var(--cyan); }
.diag-recs li.is-good::before { content: "✓"; color: var(--ok); }

/* ---------- preguntas frecuentes ---------- */
.faq { padding: 96px 0 64px; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__body { margin: 22px 0 0; text-align: left; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 20px; background: var(--soft); transition: background-color .3s; }
.qa[open] { background: var(--lilac); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-size: 18px; font-weight: 500; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; }

/* ---------- cotizador ---------- */
.quote { padding: 96px 0 64px; }
.quote__grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.qf { border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 60px -40px rgba(5,23,58,.3); }
.qf.is-pulse { animation: pulse 1s var(--ease); }
@keyframes pulse { 30% { box-shadow: 0 0 0 6px rgba(0,172,230,.35); } }
.qf-steps { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.qf-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--soft); font-size: 14px; color: var(--muted); transition: background-color .3s, color .3s; }
.qf-steps span { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.qf-steps li.is-active { background: var(--navy); color: #fff; }
.qf-steps li.is-active span { color: var(--navy); }
.qf-steps li.is-done { color: var(--navy); }
.qf-steps li.is-done span { background: var(--cyan); color: #fff; }
.qf-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.qf-step.is-active { display: block; }
.qf-step legend { font-size: 24px; font-weight: 500; margin-bottom: 18px; padding: 0; }
.qf-step legend small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips span { padding: 11px 20px; font-size: 15px; }
.qf-error { color: var(--err); font-size: 14px; min-height: 1.4em; margin-top: 12px; }
.qf-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.qf-nav .btn { margin-top: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--navy); padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); transition: border-color .25s, background-color .25s, box-shadow .25s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(0,172,230,.15); }
.field.is-invalid input { border-color: var(--err); }
.field--full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--navy); }
.qf-done { text-align: center; padding: 30px 0; }
.qf-done p { color: var(--muted); margin: 12px auto 24px; max-width: 460px; }
.qf-done .btn { margin-top: 0; }
.qs { display: grid; gap: 20px; position: sticky; top: 110px; }
.qs-card { border-radius: var(--r-card); background: var(--navy); color: #fff; padding: 28px; }
.qs-title { font-size: 20px; font-weight: 500; }
.qs-meter { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); margin: 14px 0 18px; overflow: hidden; }
.qs-meter i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), #7fe0ff); transform-origin: left; transform: scaleX(var(--m, .06)); transition: transform .6s var(--ease); }
.qs-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.qs-list dt { color: #9fb0cf; }
.qs-list dd { margin: 0; text-align: right; font-weight: 500; }
.qs-list dd.is-flash { animation: flash .6s; }
@keyframes flash { 30% { color: var(--cyan); } }
.qs-cart { margin-top: 18px; }
.qs-sub { font-size: 13px; color: #9fb0cf; margin-bottom: 8px; }
.qs-cart li { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 4px 0; }
.qs-cart li b { margin-left: auto; }
.qs-thumb { width: 40px; height: 30px; border-radius: 6px; background: #fff; display: grid; place-items: center; flex: none; }
.qs-thumb svg { width: 100%; height: 100%; }
.qs-edit { margin-top: 10px; background: none; border: 0; color: var(--cyan); font: inherit; font-size: 14px; cursor: pointer; padding: 0; }
.map-card { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.map-frame { height: 220px; background: radial-gradient(circle at 50% 55%, rgba(0,172,230,.18), transparent 60%), repeating-linear-gradient(0deg, transparent 0 22px, rgba(5,23,58,.05) 22px 23px), repeating-linear-gradient(90deg, transparent 0 22px, rgba(5,23,58,.05) 22px 23px), var(--soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load { width: 100%; height: 100%; border: 0; background: none; display: grid; place-items: center; align-content: center; gap: 6px; cursor: pointer; font: inherit; color: var(--navy); }
.map-load svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 2; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.map-load span { font-weight: 500; }
.map-load small { font-size: 12px; color: var(--muted); }
.map-info { padding: 20px 24px 24px; }
.map-addr { font-size: 15px; }
.map-links { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.pill-link { border: 1px solid var(--navy); border-radius: 999px; padding: 6px 16px; font-size: 14px; transition: background-color .3s, color .3s; }
.pill-link:hover { background: var(--navy); color: #fff; }

/* ---------- lista de cotización (panel lateral) ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(5,23,58,.5); opacity: 0; transition: opacity .4s; }
.scrim.is-on { opacity: 1; }
.drawer { position: fixed; z-index: 100; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100vw - 24px)); border-radius: 28px; background: #fff; display: flex; flex-direction: column; transform: translateX(110%); transition: transform .55s var(--ease); box-shadow: 0 30px 80px -20px rgba(5,23,58,.45); }
.drawer.is-open { transform: none; }
.has-drawer, .has-modal { overflow: hidden; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 26px 26px 18px; border-bottom: 1px solid var(--line); }
.drawer__head .eyebrow { margin-bottom: 4px; }
.cart-empty { display: grid; justify-items: center; gap: 14px; padding: 60px 26px; color: var(--muted); text-align: center; }
.cart-empty[hidden] { display: none; }
.cart-empty svg { width: 46px; height: 46px; fill: none; stroke: var(--line); stroke-width: 1.6; }
.cart-list { flex: 1; overflow: auto; padding: 8px 18px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 14px 8px; border-bottom: 1px solid var(--line); }
.ci-art { width: 84px; height: 64px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.ci-art svg { width: 100%; height: 100%; }
.ci-name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.ci-sku { font-size: 12px; color: var(--muted); }
.ci-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.ci-price { font-size: 14px; }
.ci-del { width: 34px; height: 34px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.qty button:hover { background: var(--soft); }
.qty button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.qty input, .qty span { width: 44px; text-align: center; border: 0; font: inherit; font-weight: 600; color: var(--navy); background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 30px; height: 30px; }
.qty--sm span { width: 28px; font-size: 14px; }
.drawer__foot { padding: 18px 26px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot[hidden] { display: none; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; }
.cart-sum span { font-size: 14px; color: var(--muted); }
.cart-sum b { font-size: 22px; font-weight: 600; }
.cart-note { font-size: 12px; color: var(--muted); }
.drawer__foot .btn { margin-top: 0; width: 100%; }
.cart-clear { background: none; border: 0; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; text-decoration: underline; }
.toast { position: fixed; z-index: 120; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 22px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 14px; box-shadow: 0 14px 40px -12px rgba(5,23,58,.6); transition: transform .5s var(--ease), opacity .4s; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- tienda ---------- */
.shop-hero { padding: 172px 0 40px; }
.shop-steps { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.shop-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--soft); font-size: 15px; font-weight: 500; }
.shop-steps span { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px; }
.shop { padding: 40px 0 96px; }
.shop-cats { position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; scrollbar-width: thin; }
.cat-btn { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 500; color: var(--navy); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.cat-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cat-btn i { font-style: normal; font-size: 12px; min-width: 22px; height: 22px; border-radius: 999px; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.cat-btn:hover { border-color: var(--navy); }
.cat-btn.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-btn.is-on i { background: rgba(255,255,255,.15); color: #fff; }
.shop-bar { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.shop-search { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; background: var(--soft); border: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.shop-search:focus-within { border-color: var(--cyan); background: #fff; }
.shop-search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.shop-search input { flex: 1; border: 0; background: none; font: inherit; font-size: 16px; color: var(--navy); outline: none; min-width: 0; }
.mode-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--soft); height: 52px; }
.mode-switch button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); padding: 0 18px; cursor: pointer; border-radius: 999px; transition: color .3s; }
.mode-switch button.is-on { color: #fff; }
.mode-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--navy); transition: transform .5s var(--ease); }
.mode-switch.is-rent .mode-thumb { transform: translateX(100%); }
.shop-sort select { height: 52px; padding: 0 44px 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305173a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 16px; -webkit-appearance: none; appearance: none; font: inherit; font-size: 14px; color: var(--navy); cursor: pointer; }
.shop-count { margin: 26px 0 16px; font-size: 14px; color: var(--muted); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(5,23,58,.35); }
.pcard-media { position: relative; border: 0; padding: 18px; background: var(--soft); cursor: pointer; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.pcard-media .pa { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.pcard:hover .pcard-media .pa { transform: scale(1.05); }
.pbadge { position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 999px; background: var(--cyan); color: #fff; font-size: 12px; font-weight: 600; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.pcard-cat { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--blue); text-transform: uppercase; }
.pcard-name { font-size: 18px; font-weight: 500; line-height: 1.3; margin-top: 6px; }
.pcard-name button { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pcard-name button:hover { color: var(--blue); }
.pcard-specs { margin-top: 10px; display: grid; gap: 4px; }
.pcard-specs li { position: relative; padding-left: 14px; font-size: 13px; color: var(--muted); }
.pcard-specs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.pcard-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 18px; }
.price { display: grid; line-height: 1.2; }
.price small { font-size: 12px; color: var(--muted); }
.price b { font-size: 22px; font-weight: 600; }
.price b i { font-style: normal; font-size: 13px; font-weight: 500; color: var(--muted); }
.price.is-quote b { font-size: 18px; color: var(--blue); }
.price.is-flash { animation: flash .7s; }
.pcard-add { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .3s, transform .3s var(--ease); }
.pcard-add:hover { background: var(--blue); transform: translateY(-2px); }
.pcard-add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.pcard-add.is-added { background: var(--ok); }
.shop-empty { text-align: center; padding: 60px 20px; border-radius: var(--r-card); background: var(--soft); }
.shop-empty p:not(.h3) { color: var(--muted); margin: 10px auto 22px; max-width: 460px; }
.shop-demo { margin-top: 36px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- vista rápida ---------- */
.qv { border: 0; padding: 0; background: none; max-width: min(1000px, calc(100vw - 24px)); width: 100%; max-height: calc(100vh - 24px); overflow: visible; color: var(--navy); }
.qv::backdrop { background: rgba(5,23,58,.55); }
.qv-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 32px; background: #fff; overflow: hidden; max-height: calc(100vh - 24px); }
.qv-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.qv-art { position: relative; background: var(--soft); display: grid; place-items: center; padding: 40px; }
.qv-art .pa { width: 100%; height: auto; }
.qv-body { padding: 40px 36px 32px; overflow: auto; }
.qv-body .eyebrow { margin-bottom: 8px; }
.qv-sku { font-size: 13px; color: var(--muted); margin-top: 4px; }
.qv-desc { color: var(--muted); margin-top: 14px; font-size: 16px; }
.qv-specs { margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; }
.qv-specs div { background: #fff; padding: 10px 14px; }
.qv-specs dt { font-size: 12px; color: var(--muted); }
.qv-specs dd { margin: 0; font-size: 14px; font-weight: 500; }
.qv-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qv-prices > div { border-radius: 16px; border: 1px solid var(--line); padding: 12px 14px; }
.qv-prices > div.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.qv-prices > div > p { font-size: 12px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.qv-actions { display: flex; gap: 12px; margin-top: 20px; align-items: center; flex-wrap: wrap; }
.qv-actions .btn { flex: 1; }

@media (max-width: 1024px) {
  .sim, .diag, .quote__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__head, .qs, .diag-result { position: static; }
  .cart-pill__label { display: none; }
}
@media (max-width: 720px) {
  .header-actions .btn { display: none; }
  .cart-pill { padding: 0 12px; }
  .tool-switch { display: grid; width: 100%; border-radius: 22px; }
  .tool-switch button { white-space: normal; padding: 10px 12px; font-size: 13px; border-radius: 18px; }
  .tool-thumb { border-radius: 18px; }
  .sim-stats { grid-template-columns: 1fr 1fr; }
  .sim-stats .stat:last-child { grid-column: 1 / -1; }
  .fields { grid-template-columns: 1fr; }
  .qa summary { font-size: 16px; padding: 18px 20px; }
  .qa__a p { padding: 0 20px 20px; }
  .shop-hero { padding: 120px 0 24px; }
  .mode-switch, .shop-sort, .shop-sort select { width: 100%; }
  .qv-inner { grid-template-columns: 1fr; overflow: auto; }
  .qv-art { padding: 24px; max-height: 240px; }
  .qv-art .pa { max-height: 190px; width: auto; }
  .qv-body { padding: 24px 22px; overflow: visible; }
}

/* ---------- rendimiento ---------- */
html { scrollbar-gutter: stable; }            /* abrir la lista no cambia el ancho ni recalcula animaciones */
.is-off, .is-off * { animation-play-state: paused !important; }
.drawer { contain: layout paint; visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; }
.drawer.is-open { visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.cart-list { contain: content; overscroll-behavior: contain; }
.sim-board, .diag-list, .qf { contain: layout paint; }
.map-frame { contain: strict; }

/* ---------- transición entre secciones (solo desde el menú) ----------
   un disco azul que escala desde una esquina: se anima con transform, sin repintar */
.veil { position: fixed; inset: 0; z-index: 300; overflow: hidden; pointer-events: none; visibility: hidden; }
.veil.is-active, .veil-on .veil { visibility: visible; pointer-events: auto; }
.veil__disc { position: absolute; left: calc(var(--x, 100vw) - var(--d, 300vmax) / 2); top: calc(var(--y, 0px) - var(--d, 300vmax) / 2); width: var(--d, 300vmax); height: var(--d, 300vmax); border-radius: 50%; background: #165FAA; transform: scale(0); }
.veil-on .veil__disc { transform: scale(1); }
.veil__mark { position: absolute; left: 50%; top: 50%; width: 104px; height: auto; margin: -37px 0 0 -52px; opacity: 0; }
.veil-on .veil__mark { opacity: 1; }

/* ---------- carrusel de soluciones: scroll horizontal fijado ---------- */
.hscroll { position: relative; }
.hscroll__sticky { padding: 24px 0 112px; }
.hscroll__track { display: flex; gap: 20px; padding: 0 clamp(20px, 4vw, 56px) 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll__track.is-dragging { cursor: grabbing; }
.hscroll__track.is-dragging .hbox { pointer-events: none; }
.hbox img, .hbox svg { -webkit-user-drag: none; }
.hbox { position: relative; flex: none; height: min(600px, 70vh); border-radius: 32px; overflow: hidden; }
.hbox--intro { width: min(440px, 80vw); padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.hbox--intro .h2 { margin-top: 6px; }
.hbox--intro .accent { color: var(--cyan); }
.count-badge { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border: 1.5px solid var(--navy); border-radius: 999px; font-size: 20px; font-weight: 500; vertical-align: super; margin-left: 4px; }
.hbox__text { margin: 18px 0 0; text-align: left; }
.hbox--case { width: min(760px, 82vw); color: #fff; display: block; isolation: isolate; }
.hbox--photo { background: #0b0d12; }
.hbox__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .9s var(--ease); }
.hbox--case:hover .hbox__img { transform: scale(1.04); }
.hbox--case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,23,58,.05) 30%, rgba(5,14,35,.86)); pointer-events: none; }
.hbox__cap { position: absolute; left: clamp(22px, 3vw, 40px); right: clamp(22px, 3vw, 40px); bottom: clamp(22px, 3vw, 40px); }
.hbox__title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.hbox__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hbox__tags li { border: 1px solid rgba(255,255,255,.7); border-radius: 999px; padding: 7px 18px; font-size: 15px; }
.hscroll__bar { width: min(240px, 50vw); height: 3px; border-radius: 3px; background: var(--line); margin: 34px auto 0; overflow: hidden; }
.hscroll__bar i { display: block; height: 100%; background: var(--navy); transform-origin: left; transform: scaleX(0); }
/* burbuja que sigue al cursor sobre las tarjetas */
.cursor-bubble { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; transform: translate3d(-200px, -200px, 0); }
.cursor-bubble > span { display: grid; grid-auto-flow: column; place-items: center; gap: 4px; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: var(--cyan); color: #fff; font-size: 16px; font-weight: 500; transform: scale(0); transition: transform .45s var(--ease); }
.cursor-bubble svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cursor-bubble.is-on > span { transform: scale(1); }
.hscroll.has-bubble .hbox--case { cursor: none; }
/* celular / sin JS: deslizar con el dedo */
@media (max-width: 899px), (hover: none) {
  .hscroll__track { scroll-snap-type: x mandatory; }
  .hscroll__sticky { padding-bottom: 72px; }
  .hbox { scroll-snap-align: center; height: min(480px, 68vh); }
  .hbox--intro { width: 82vw; padding: 26px; }
  .hbox--intro .h2 { font-size: 30px; }
  .hbox--intro .btn { padding: 12px 20px; font-size: 15px; white-space: nowrap; align-self: flex-start; }
  .count-badge { min-width: 38px; height: 38px; font-size: 16px; }
  .hbox__title { font-size: 28px; }
  .hbox__tags li { padding: 5px 12px; font-size: 13px; }
  .hbox--case { width: 86vw; }
  .cursor-bubble { display: none; }
}

/* logo de la cortina, más grande */
.veil__mark { width: clamp(170px, 20vw, 280px); margin: 0; transform: translate(-50%, -50%); }

/* ---------- hero con más vida ---------- */
.hero__inner { position: relative; }
.rotator { position: relative; display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; transition: width .6s var(--ease); color: var(--blue); }
.rotator__word { display: inline-block; white-space: nowrap; }
.rotator__word:not(.is-on) { position: absolute; left: 0; top: 0; }
.js .rotator__word { transform: translateY(110%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.js .rotator__word.is-on { transform: none; opacity: 1; }
.js .rotator__word.is-out { transform: translateY(-110%); opacity: 0; }
.hero__ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero__trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero__trust li { padding: 6px 14px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 500; }
.hero__trust li::before { content: "✓"; color: var(--cyan); margin-right: 6px; }
.hero__contact { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.hero__contact a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 500; transition: color .2s; }
.hero__contact a:hover { color: var(--blue); }
.hero__contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 720px) {
  .hero { padding: 124px 0 64px; }
    .hero__ctas .btn { flex: 1 1 100%; }
  .marquee__track img { height: 38px; }
  .partner-rows .marquee__track img { height: 42px; }
}

/* ---------- hero limpio: título por líneas + marco tipo video ---------- */
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line__in { display: inline-block; text-wrap: balance; }
[data-magnetic] { transition: transform .4s var(--ease), box-shadow .3s, background .3s, color .3s; }

/* ---------- red de puntos detrás del título (canvas 2D, ver main.js) ---------- */
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { z-index: 1; }

/* ---------- video que crece a pantalla completa (pin con GSAP, solo transform) ---------- */
.vreveal { position: relative; }
.vreveal__pin { height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.vreveal__frame { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 28px; background: var(--navy); transform: scale(.78); }
.vreveal__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vreveal__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,23,58,.15), rgba(5,14,35,.65)); pointer-events: none; }
.vreveal__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 12vh; text-align: center; color: #fff; padding: 0 20px; opacity: 0; }
.vreveal__text .eyebrow { color: #9fdcf5; }
.vreveal__text .eyebrow span { color: #fff; }
.vreveal__title { font-size: clamp(34px, 5.4vw, 76px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
@media (prefers-reduced-motion: reduce) {
  .vreveal__frame { transform: none; border-radius: 0; }
  .vreveal__text { opacity: 1; }
}

/* =============================================================
   Menú: ventana centrada con tarjetas + vista de Soluciones
   ============================================================= */
html.menu-open { overflow: hidden; }
.mega { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.mega[hidden] { display: none; }
.mega__scrim { position: absolute; inset: 0; background: rgba(5,23,58,.42); }
.mega__panel { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); max-height: calc(100svh - 48px); overflow: auto; overscroll-behavior: contain; border-radius: 28px; background: #fff; padding: clamp(20px, 3.4vw, 44px); box-shadow: 0 40px 100px -30px rgba(5,23,58,.5); }
.mega__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--soft); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .25s, transform .4s var(--ease); }
.mega__x:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }
.mega__x svg { width: 18px; height: 18px; }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mcard { position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 52px 14px 14px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--navy); font: inherit; text-align: left; cursor: pointer; overflow: hidden; isolation: isolate; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.mcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(22,95,170,.07), rgba(0,172,230,.1)); opacity: 0; transition: opacity .35s; }
.mcard:hover, .mcard:focus-visible { border-color: rgba(22,95,170,.35); box-shadow: 0 16px 34px -20px rgba(22,95,170,.55); transform: translateY(-2px); }
.mcard:hover::before, .mcard:focus-visible::before { opacity: 1; }
.mcard__ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 18px -8px rgba(5,23,58,.3); color: var(--blue); transition: background .35s, color .35s, transform .5s var(--ease); }
.mcard__ic svg { width: 24px; height: 24px; }
.mcard:hover .mcard__ic, .mcard:focus-visible .mcard__ic { background: var(--blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.mcard__t { display: grid; gap: 3px; font-size: 18px; font-weight: 500; line-height: 1.25; }
.mcard__t small { font-size: 14px; font-weight: 400; color: var(--muted); }
.mcard__go { position: absolute; right: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--navy); transition: transform .45s var(--ease), color .3s; }
.mcard:hover .mcard__go { transform: translate(3px, -3px); color: var(--blue); }
.mcard:hover .mcard__go--side { transform: translateX(4px); }
.mega__cta { position: relative; overflow: hidden; margin-top: 26px; border-radius: 22px; padding: clamp(28px, 4vw, 48px) 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #165FAA, #1f7ae0 55%, #00ACE6); isolation: isolate; }
.mega__rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.mega__rings i { position: absolute; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); animation: megaRing 6s linear infinite; }
.mega__rings i:nth-child(2) { animation-delay: -2s; }
.mega__rings i:nth-child(3) { animation-delay: -4s; }
@keyframes megaRing { from { transform: scale(.5); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.mega__cta-t { font-size: clamp(24px, 3vw, 34px); font-weight: 500; line-height: 1.15; }
.mega__cta-s { margin-top: 8px; opacity: .85; font-size: 15px; }
.mega__cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn--line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--line:hover { background: #fff; color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.mega__subhead { display: flex; align-items: center; gap: 14px; margin: 0 52px 18px 0; }
.mega__back { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: var(--navy); cursor: pointer; transition: background .25s, color .25s; }
.mega__back svg { width: 16px; height: 16px; transform: rotate(180deg); transition: transform .4s var(--ease); }
.mega__back:hover { background: var(--navy); color: #fff; }
.mega__back:hover svg { transform: rotate(180deg) translateX(3px); }
.mega__subtitle { font-size: 22px; font-weight: 500; color: var(--navy); }
.mega__all { margin-left: auto; font-size: 14px; color: var(--blue); }
@media (max-width: 720px) {
  .mega { padding: 10px; align-items: end; }
  .mega__panel { max-height: calc(100svh - 20px); border-radius: 24px; padding: 56px 14px 16px; }
  .mega__grid { grid-template-columns: 1fr; gap: 10px; }
  .mcard { padding: 10px 44px 10px 10px; gap: 12px; }
  .mcard__ic { width: 44px; height: 44px; }
  .mcard__t { font-size: 16px; }
  .mcard__t small { font-size: 13px; }
  .mega__subhead { margin-right: 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .mega__rings i { animation: none; } }

/* =============================================================
   Página de solución (solucion.html?s=...)
   ============================================================= */
.sol-hero { padding: 108px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin: 0 0 16px 6px; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--blue); }
.crumbs b { font-weight: 500; color: var(--navy); }
.sol-banner { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4.5vw, 64px); border-radius: 32px; color: #fff; background: linear-gradient(135deg, #0d3f80 0%, #165FAA 45%, #1f86d6 80%, #00ACE6 120%); }
.sol-banner::before { content: ""; position: absolute; z-index: -1; right: -20%; bottom: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,172,230,.45), transparent); }
.sol-banner .eyebrow { color: #a9e3fa; }
.sol-banner .eyebrow span { color: #fff; }
.sol-title { font-size: clamp(38px, 5vw, 66px); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
.sol-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.sol-title .line__in { display: inline-block; }
.sol-lead { margin-top: 18px; max-width: 540px; font-size: 18px; opacity: .88; }
.sol-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sol-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.sol-tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); font-size: 14px; }
.sol-banner__media { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.sol-banner__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.sol-badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 14px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.sol-badge svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--blue); color: #fff; }
.sol-block { padding: clamp(72px, 9vw, 120px) 0 0; }
.sol-block--soft { margin-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); background: var(--soft); }
.sol-head { max-width: 720px; margin-bottom: 40px; }
.sol-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sol-incl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sol-incl__item { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.sol-incl__item:hover { border-color: rgba(22,95,170,.3); box-shadow: 0 20px 40px -26px rgba(22,95,170,.55); transform: translateY(-4px); }
.sol-incl__n { position: absolute; top: 24px; right: 26px; font-size: 13px; color: var(--muted); }
.sol-incl__ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(0,172,230,.12); color: var(--blue); }
.sol-incl__item h3 { margin-top: 18px; font-size: 20px; font-weight: 500; color: var(--navy); }
.sol-incl__item p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.steps { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); }
.steps__tabs { display: grid; gap: 10px; align-content: start; }
.steps__tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; font: inherit; font-size: 18px; font-weight: 500; color: var(--muted); text-align: left; cursor: pointer; transition: color .3s, border-color .3s, box-shadow .4s var(--ease); }
.steps__tab.is-on { color: var(--navy); border-color: rgba(22,95,170,.35); box-shadow: 0 14px 30px -22px rgba(22,95,170,.6); }
.steps__n { font-size: 14px; color: var(--blue); }
.steps__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.steps__bar b { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: 0 50%; }
.steps__tab.is-on .steps__bar b { transform: scaleX(1); }
.steps.is-running .steps__tab.is-on .steps__bar b { animation: stepBar 5.2s linear forwards; }
@keyframes stepBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.steps__panel { position: relative; min-height: 320px; padding: clamp(28px, 4vw, 52px); border-radius: 26px; color: #fff; background: #05173a radial-gradient(90% 120% at 100% 0%, #165FAA 0%, transparent 60%); overflow: hidden; }
.steps__big { font-size: clamp(80px, 11vw, 150px); font-weight: 500; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.steps__pane .h3 { margin-top: 18px; }
.steps__pane p:last-child { margin-top: 12px; max-width: 520px; opacity: .85; font-size: 18px; }
.steps__dots { position: absolute; right: 28px; bottom: 26px; display: flex; gap: 6px; }
.steps__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); transition: background .3s, transform .4s var(--ease); }
.steps__dots i.is-on { background: var(--cyan); transform: scale(1.3); }
.sol-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.sol-prod { padding: 16px 16px 20px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.sol-prod:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(5,23,58,.45); }
.sol-prod__art { display: block; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--soft); overflow: hidden; }
.sol-prod__art .pa { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.sol-prod:hover .sol-prod__art .pa { transform: scale(1.05); }
.sol-prod__cat { margin-top: 14px; font-size: 13px; color: var(--blue); }
.sol-prod h3 { margin-top: 4px; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--navy); }
.sol-prod__add { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: var(--navy); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.sol-prod__add svg { width: 16px; height: 16px; }
.sol-prod__add:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.sol-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.sol-faq { padding-top: clamp(72px, 9vw, 120px); }
.sol-others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sol-others--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sol-other { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; color: #fff; isolation: isolate; }
.sol-others--all .sol-other { aspect-ratio: 4 / 3; }
.sol-other img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.sol-other::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(5,14,35,.85)); }
.sol-other:hover img { transform: scale(1.06); }
.sol-other__cap { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 4px; }
.sol-other__cap b { font-size: 19px; font-weight: 500; line-height: 1.2; }
.sol-other__cap small { font-size: 13px; opacity: .8; }
.sol-other__go { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; padding: 10px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .3s, color .3s, transform .45s var(--ease); }
.sol-other:hover .sol-other__go { background: #fff; color: var(--navy); transform: rotate(45deg); }
.sol-cta { position: relative; overflow: hidden; isolation: isolate; margin-bottom: clamp(72px, 9vw, 120px); border-radius: 32px; padding: clamp(48px, 7vw, 96px) 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #165FAA, #00ACE6); }
.sol-cta p { margin: 12px auto 0; max-width: 520px; opacity: .88; }
.sol-cta .sol-ctas { justify-content: center; }
.sol-cta__rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.sol-cta__rings i { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
@media (max-width: 1080px) {
  .sol-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sol-others { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .sol-banner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps__tabs { grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; scrollbar-width: none; }
  .steps__tab { font-size: 15px; padding: 14px 16px; }
}
@media (max-width: 720px) {
  .sol-hero { padding-top: 84px; }
  .sol-banner { border-radius: 24px; padding: 24px 18px; }
  .sol-lead { font-size: 16px; }
  .sol-ctas .btn { flex: 1 1 100%; }
  .sol-incl, .sol-others, .sol-others--all { grid-template-columns: 1fr; }
  .sol-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sol-other { aspect-ratio: 16 / 10; }
  .steps__panel { min-height: 260px; }
}

/* =============================================================
   Quiénes somos (adelanto en el inicio + página nosotros.html)
   ============================================================= */
.ab-p { margin-top: 18px; max-width: 560px; color: var(--muted); font-size: 18px; }
[data-words] .w { display: inline-block; opacity: .16; }
.ab-teaser { padding: clamp(96px, 11vw, 150px) 0 clamp(72px, 9vw, 120px); }
.ab-teaser__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ab-teaser__title { font-size: clamp(30px, 3.6vw, 50px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; color: var(--navy); }
.ab-teaser__list { display: grid; gap: 18px; margin: 32px 0 36px; }
.ab-teaser__list li { display: flex; gap: 14px; align-items: flex-start; }
.ab-teaser__list svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(0,172,230,.12); color: var(--blue); }
.ab-teaser__list span { display: grid; gap: 2px; color: var(--muted); font-size: 16px; }
.ab-teaser__list b { color: var(--navy); font-weight: 500; font-size: 18px; }
.ab-teaser__media { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; }
.ab-teaser__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-teaser__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,14,35,.7)); pointer-events: none; }
.ab-teaser__quote { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 72px; color: #fff; }
.ab-teaser__quote p { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.2; }
.ab-teaser__quote span { display: block; margin-top: 8px; font-size: 14px; opacity: .75; }
.ab-teaser__chips { position: absolute; z-index: 1; left: 24px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-teaser__chips li { padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; }

.versus { padding: 0 0 clamp(96px, 11vw, 150px); }
.versus__head { text-align: center; margin-bottom: 48px; }
.versus__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.versus__card { border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.versus__card ul { display: grid; gap: 16px; margin-top: 24px; }
.versus__card li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; line-height: 1.4; }
.versus__card li svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; }
.versus__label { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.versus__card--before { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.versus__card--before .versus__label { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.versus__card--before li svg { background: #fde8e6; color: #d2483d; }
.versus__foot { margin-top: 28px; padding-top: 20px; border-top: 1px dashed #cfd6e4; font-size: 15px; }
.versus__card--after { color: #fff; background: #05173a radial-gradient(100% 120% at 100% 0%, #165FAA 0%, transparent 60%); box-shadow: 0 30px 60px -30px rgba(5,23,58,.6); }
.versus__card--after .versus__label { background: var(--cyan); color: #fff; }
.versus__card--after li svg { background: rgba(0,172,230,.2); color: var(--cyan); }
.versus__cta { display: inline-block; margin-top: 28px; color: var(--cyan); font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .25s; }
.versus__cta:hover { color: #fff; }
.versus__vs { position: absolute; left: 50%; top: 50%; z-index: 1; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 10px 30px -10px rgba(5,23,58,.4); }

.about-page .partners { padding: clamp(72px, 9vw, 120px) 0 0; }
.ab-statement { padding: clamp(80px, 10vw, 140px) 0 0; }
.ab-statement__text { max-width: 1080px; font-size: clamp(28px, 3.8vw, 54px); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.ab-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ab-pillars { display: grid; gap: 16px; }
.ab-rows { border-top: 1px solid var(--line); }
.ab-row { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr) 40px; gap: 20px; align-items: center; padding: 28px 8px; border-bottom: 1px solid var(--line); color: var(--navy); overflow: hidden; isolation: isolate; }
.ab-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,95,170,.06), rgba(0,172,230,.1)); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); }
.ab-row:hover::before { transform: scaleY(1); }
.ab-row__n { font-size: 14px; color: var(--blue); }
.ab-row b { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; transition: transform .5s var(--ease); }
.ab-row:hover b { transform: translateX(10px); }
.ab-row__tags { color: var(--muted); font-size: 16px; }
.ab-row__go { width: 24px; height: 24px; justify-self: end; transition: transform .45s var(--ease), color .3s; }
.ab-row:hover .ab-row__go { transform: rotate(45deg); color: var(--blue); }
.ab-sticky { position: sticky; top: 120px; }
.ab-sticky .btn { margin-top: 28px; }
.ab-time { position: relative; display: grid; gap: 22px; padding-left: 44px; }
.ab-time__line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.ab-time__line i { position: absolute; inset: 0; background: linear-gradient(var(--blue), var(--cyan)); transform: scaleY(0); transform-origin: 50% 0; }
.ab-step { position: relative; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: border-color .4s, box-shadow .5s var(--ease); }
.ab-step.is-on { border-color: rgba(22,95,170,.35); box-shadow: 0 20px 40px -28px rgba(22,95,170,.6); }
.ab-step__dot { position: absolute; left: -44px; top: 32px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.ab-step.is-on .ab-step__dot { border-color: var(--cyan); background: var(--cyan); transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0,172,230,.15); }
.ab-step__k { font-size: 14px; color: var(--blue); }
.ab-step h3 { margin-top: 6px; font-size: 22px; font-weight: 500; color: var(--navy); }
.ab-step p:last-child { margin-top: 8px; color: var(--muted); }
.ab-commit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ab-commit__item { padding: 28px; border-radius: 22px; background: var(--navy); color: #fff; min-height: 260px; display: flex; flex-direction: column; transition: transform .5s var(--ease), background .4s; }
.ab-commit__item:nth-child(2) { background: var(--blue); }
.ab-commit__item:nth-child(3) { background: #1f86d6; }
.ab-commit__item:nth-child(4) { background: var(--cyan); }
.ab-commit__item:hover { transform: translateY(-6px); }
.ab-commit__item span { font-size: 14px; opacity: .7; }
.ab-commit__item h3 { margin-top: auto; font-size: 22px; font-weight: 500; line-height: 1.2; }
.ab-commit__item p { margin-top: 10px; opacity: .85; font-size: 15px; }
.ab-where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ab-where .btn { margin-top: 28px; }
.ab-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ab-contact li { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; }
.ab-contact svg { width: 22px; height: 22px; color: var(--blue); margin-bottom: 8px; }
.ab-contact span { font-size: 14px; color: var(--muted); }
.ab-contact a, .ab-contact b { font-weight: 500; color: var(--navy); }
@media (max-width: 1080px) {
  .ab-commit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .ab-teaser__grid, .ab-split, .ab-where, .versus__grid { grid-template-columns: 1fr; }
  .ab-teaser__media { aspect-ratio: 4 / 3; }
  .ab-sticky { position: static; }
  .versus__vs { position: relative; left: auto; top: auto; margin: -38px auto; }
  .ab-row { grid-template-columns: 44px minmax(0, 1fr) 28px; }
  .ab-row__tags { grid-column: 2 / 3; font-size: 14px; }
}
@media (max-width: 720px) {
  .ab-teaser__media { aspect-ratio: 4 / 5; }
  .ab-commit, .ab-contact { grid-template-columns: 1fr; }
  .ab-commit__item { min-height: 200px; }
  .versus__card li { font-size: 16px; }
}

/* las animaciones que entran desde los lados no deben ensanchar la página en celular */
main > section { overflow-x: clip; }

/* =============================================================
   Modalidades: paneles que se expanden
   ============================================================= */
.modes { padding: clamp(96px, 11vw, 150px) 0 0; }
.modes__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.modes__shop { display: flex; align-items: center; gap: 14px; padding: 12px 52px 12px 12px; position: relative; border: 1px solid var(--line); border-radius: 18px; color: var(--navy); transition: border-color .3s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.modes__shop:hover { border-color: rgba(22,95,170,.35); box-shadow: 0 16px 34px -20px rgba(22,95,170,.55); transform: translateY(-2px); }
.modes__shop > svg:first-child { width: 46px; height: 46px; padding: 12px; border-radius: 12px; background: var(--blue); color: #fff; }
.modes__shop span { display: grid; font-size: 14px; color: var(--muted); }
.modes__shop b { font-size: 17px; font-weight: 500; color: var(--navy); }
.modes__shop-go { position: absolute; right: 18px; width: 20px; height: 20px; transition: transform .45s var(--ease); }
.modes__shop:hover .modes__shop-go { transform: translate(3px, -3px); }
.modes__panels { display: flex; gap: 14px; height: 480px; }
.mode { position: relative; flex: 1 1 0; min-width: 0; border-radius: 28px; overflow: hidden; color: #fff; background: #05173a; isolation: isolate; transition: flex-grow .8s var(--ease); }
.mode:nth-child(2) { background: var(--blue); }
.mode:nth-child(3) { background: #0b7fb8; }
.mode.is-open { flex-grow: 2.6; }
.mode::before { content: ""; position: absolute; z-index: -1; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,172,230,.4), transparent); transition: transform 1s var(--ease); }
.mode.is-open::before { transform: translate(-10%, 10%) scale(1.2); }
.mode__tab { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.mode.is-open .mode__tab { pointer-events: none; }
.mode__n { font-size: 14px; opacity: .7; }
.mode__name { margin-top: 10px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; line-height: 1.1; white-space: nowrap; }
.mode__ic { position: absolute; right: 26px; top: 26px; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255,255,255,.14); transition: transform .6s var(--ease), background .3s; }
.mode.is-open .mode__ic { transform: rotate(-12deg) scale(1.1); background: rgba(255,255,255,.22); }
.mode__body { position: absolute; left: 28px; right: 28px; bottom: 28px; max-width: 520px; opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .35s, transform .5s var(--ease); }
.mode.is-open .mode__body { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.mode__lead { font-size: 19px; line-height: 1.4; }
.mode__list { display: grid; gap: 8px; margin: 18px 0 24px; }
.mode__list li { position: relative; padding-left: 26px; opacity: .88; font-size: 15px; }
.mode__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* =============================================================
   Compra o arrendamiento: interruptor + barras
   ============================================================= */
.buyrent { padding: clamp(96px, 11vw, 150px) 0 clamp(40px, 5vw, 64px); }
.buyrent__head { text-align: center; }
.br-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 32px; padding: 5px; border-radius: 999px; background: var(--soft); }
.br-switch button { position: relative; z-index: 1; padding: 12px 26px; border: 0; background: none; font: inherit; font-size: 16px; font-weight: 500; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .3s; white-space: nowrap; }
.br-switch button.is-on { color: #fff; }
.br-switch__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--navy); transition: transform .6s var(--ease), background .4s; }
.is-rent .br-switch__thumb { transform: translateX(100%); background: var(--blue); }
.buyrent__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 48px; }
.br-facts { display: grid; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.br-facts > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; align-items: center; padding: 22px 28px; border-bottom: 1px solid var(--line); }
.br-facts > div:last-child { border-bottom: 0; }
.br-facts dt { color: var(--muted); font-size: 15px; }
.br-facts dd { position: relative; min-height: 1.4em; font-size: 18px; font-weight: 500; color: var(--navy); overflow: hidden; }
.br-facts dd span { display: block; transition: transform .6s var(--ease), opacity .4s; }
.br-facts [data-br-rent] { position: absolute; inset: 0; transform: translateY(110%); opacity: 0; }
.is-rent .br-facts [data-br-buy] { transform: translateY(-110%); opacity: 0; }
.is-rent .br-facts [data-br-rent] { transform: none; opacity: 1; }
.br-chart { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 28px; color: #fff; background: #05173a radial-gradient(100% 120% at 100% 0%, #165FAA 0%, transparent 60%); }
.br-chart__t { font-size: 15px; opacity: .8; }
.br-bars { flex: 1; min-height: 200px; margin-top: 20px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; border-bottom: 1px solid rgba(255,255,255,.25); }
.br-bars i { display: block; height: 100%; border-radius: 8px 8px 2px 2px; background: linear-gradient(var(--cyan), #1f86d6); transform-origin: 50% 100%; transform: scaleY(.04); }
.br-chart__axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; opacity: .7; }
.br-chart__note { margin-top: 14px; font-size: 13px; opacity: .6; }
.br-both { margin-top: 20px; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 22px 28px; border-radius: 28px; background: var(--soft); }
.br-both p { font-weight: 500; color: var(--navy); }
.br-both ul { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.br-both li { padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 14px; color: var(--navy); }
.br-both li::before { content: "✓"; color: var(--cyan); margin-right: 6px; }
@media (max-width: 899px) {
  .modes__panels { flex-direction: column; height: auto; }
  .mode { flex: none; }
  .mode__tab { position: relative; inset: auto; padding: 24px; }
  .mode__body { position: relative; left: auto; right: auto; bottom: auto; padding: 0 24px 26px; opacity: 1; transform: none; pointer-events: auto; max-width: none; }
  .mode.is-open::before { transform: none; }
  .buyrent__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .br-switch button { padding: 10px 16px; font-size: 14px; }
  .br-facts > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 20px; }
  .br-facts dd { font-size: 17px; }
  .br-both .btn { width: 100%; }
}

/* =============================================================
   Calculadora de costo total (TCO) y retorno (ROI)
   ============================================================= */
.tco { margin-top: 20px; padding: clamp(24px, 3.5vw, 44px); border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 60px -45px rgba(5,23,58,.35); }
.tco__head { max-width: 680px; }
.tco__head .h3 { margin-top: 4px; }
.tco__intro { margin-top: 10px; color: var(--muted); }
.tco__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 32px; }
.tco__inputs { display: grid; gap: 22px; align-content: start; }
.tco-in label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; font-size: 15px; font-weight: 500; color: var(--navy); }
.tco-in output { font-size: 17px; font-weight: 600; color: var(--blue); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tco-in small { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.tco-check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--navy); cursor: pointer; }
.tco-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.tco__out { padding: clamp(22px, 3vw, 34px); border-radius: 24px; color: #fff; background: #05173a radial-gradient(100% 120% at 100% 0%, #165FAA 0%, transparent 60%); }
.tco__label { font-size: 15px; opacity: .8; }
.tco-bar { margin-top: 18px; }
.tco-bar__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 15px; }
.tco-bar__top b { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; font-variant-numeric: tabular-nums; }
.tco-bar__track { margin-top: 8px; height: 12px; border-radius: 12px; background: rgba(255,255,255,.1); overflow: hidden; }
.tco-bar__track i { display: block; height: 100%; border-radius: 12px; background: rgba(255,255,255,.45); transform-origin: 0 50%; transform: scaleX(.02); transition: transform .8s var(--ease), background .4s; }
.tco-bar.is-best .tco-bar__track i { background: linear-gradient(90deg, var(--cyan), #7fe0ff); }
.tco-bar.is-best .tco-bar__top span::after { content: "Menor costo"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--cyan); font-size: 12px; }
.tco__verdict { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 15px; line-height: 1.45; }
.tco__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 22px; }
.tco-kpi { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); display: grid; gap: 4px; }
.tco-kpi span { font-size: 13px; opacity: .75; }
.tco-kpi b { font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.tco-kpi small { font-size: 12px; opacity: .65; }
.tco__out .btn { width: 100%; margin-top: 0; }
.tco__note { margin-top: 14px; font-size: 12px; opacity: .6; }

/* =============================================================
   Preguntas frecuentes: buscador, temas y ayuda
   ============================================================= */
.faq { padding: clamp(96px, 11vw, 150px) 0 64px; }
.faq-search { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 0 18px; height: 52px; border-radius: 999px; border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.faq-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,172,230,.15); }
.faq-search svg { width: 20px; height: 20px; color: var(--muted); }
.faq-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--navy); }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.faq-cats button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.faq-cats button:hover { border-color: var(--navy); color: var(--navy); }
.faq-cats button.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-help { margin-top: 28px; padding: 22px; border-radius: 22px; background: var(--soft); }
.faq-help p { display: grid; gap: 2px; color: var(--muted); font-size: 15px; }
.faq-help b { color: var(--navy); font-size: 17px; font-weight: 500; }
.faq-help__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.qa { border: 1px solid transparent; transition: background-color .3s, border-color .3s, box-shadow .4s var(--ease); }
.qa:hover { border-color: var(--line); }
.qa[open] { background: #fff; border-color: rgba(22,95,170,.25); box-shadow: 0 18px 40px -30px rgba(22,95,170,.6); }
.qa summary { justify-content: flex-start; }
.qa__n { flex: none; font-size: 13px; color: var(--blue); font-weight: 500; width: 26px; }
.qa__q { flex: 1; }
.qa summary i { transition: background .3s, transform .5s var(--ease); }
.qa[open] summary i { background: var(--navy); transform: rotate(180deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa__a p { padding-left: 72px; }
.faq-empty { padding: 24px; border-radius: 20px; background: var(--soft); color: var(--muted); }

/* =============================================================
   Cotizador: barra de progreso, tarjetas con icono y confirmación
   ============================================================= */
.qf-progress { height: 4px; margin: -4px 0 22px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.qf-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform-origin: 0 50%; transform: scaleX(.333); transition: transform .7s var(--ease); }
.chips--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.chips--cards label { display: block; }
.chips--cards span { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 44px 14px 14px; border-radius: 16px; font-size: 15px; font-weight: 500; color: var(--navy); background: #fff; transition: background-color .25s, color .25s, border-color .25s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.chips--cards span svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--soft); color: var(--blue); transition: background .25s, color .25s, transform .5s var(--ease); }
.chips--cards label:hover span { transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(22,95,170,.6); }
.chips--cards input:checked + span { background: var(--navy); color: #fff; }
.chips--cards input:checked + span svg { background: rgba(255,255,255,.14); color: var(--cyan); transform: rotate(-6deg); }
.chk { position: absolute; right: 14px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .25s, border-color .25s; }
.chk::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--ease); }
.chips--cards input:checked + span .chk { background: var(--cyan); border-color: var(--cyan); }
.chips--cards input:checked + span .chk::after { transform: rotate(45deg) scale(1); }
.qf-done__ic { width: 76px; height: 76px; margin: 0 auto 16px; display: block; fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.qf-done__ic circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawLine 1s var(--ease) forwards; }
.qf-done__ic path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawLine .6s .6s var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@media (max-width: 899px) {
  .tco__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
@media (max-width: 720px) {
  .chips--cards { grid-template-columns: 1fr; }
  .tco__kpis { grid-template-columns: 1fr 1fr; }
  .tco-kpi b { font-size: 18px; }
  .qa__a p { padding-left: 26px; }
  .qa__n { display: none; }
}

/* ---------- mapa: vista previa animada, Google Maps al acercarse y accesos directos ---------- */
.map-frame { position: relative; height: 280px; }
.map-ph { position: absolute; inset: 0; display: grid; place-items: center; }
.map-ph__pin { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); box-shadow: 0 14px 30px -10px rgba(22,95,170,.7); animation: bob 2s ease-in-out infinite; }
.map-ph__pin svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; }
.map-ph i { position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(0,172,230,.5); animation: mapPing 2.4s ease-out infinite; }
.map-ph i:last-child { animation-delay: 1.2s; }
@keyframes mapPing { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.map-frame .map-load { position: absolute; left: 50%; bottom: 16px; width: auto; height: auto; transform: translateX(-50%); padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -12px rgba(5,23,58,.4); font-size: 14px; }
.map-frame iframe { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.map-frame.is-loaded iframe { opacity: 1; }
.map-frame.is-loaded .map-ph, .map-frame.is-loaded .map-load { display: none; }
.map-name { font-size: 18px; font-weight: 500; color: var(--navy); }
.map-name span { color: var(--muted); font-weight: 400; font-size: 15px; }
.map-addr { margin-top: 4px; color: var(--muted); }
.map-meta { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; color: var(--navy); }
.map-meta li { display: flex; align-items: center; gap: 8px; }
.map-meta svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; flex: none; }
.map-links { align-items: center; }
button.pill-link { font: inherit; cursor: pointer; }

/* ---------- redes sociales en contacto ---------- */
.contact__follow { margin-top: 36px; color: var(--muted); }
.contact__follow b { color: var(--navy); font-weight: 500; }
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.soc { display: grid; gap: 1px; min-width: 150px; padding: 12px 18px 12px 52px; position: relative; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: left; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.soc::before { content: ""; position: absolute; left: 12px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 9px; transition: transform .5s var(--ease); }
.soc:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(5,23,58,.5); border-color: transparent; }
.soc:hover::before { transform: rotate(-8deg) scale(1.08); }
.soc b { font-size: 15px; font-weight: 500; color: var(--navy); }
.soc span { font-size: 13px; color: var(--muted); }
.soc--wa::before { background: linear-gradient(135deg, #2bd46b, #12a05a); }
.soc--ig::before { background: linear-gradient(135deg, #f9a03a, #e1306c 50%, #833ab4); }
.soc--fb::before { background: #1877f2; }
.soc--tt::before { background: #111; box-shadow: inset 2px 0 #25f4ee, inset -2px 0 #fe2c55; }
.soc--yt::before { background: #ff0033; }
.footer__social { flex-wrap: wrap; }
.footer__handle { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .map-ph i, .map-ph__pin { animation: none; } }

/* ---------- aviso de cookies ---------- */
.consent { position: fixed; z-index: 110; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 18px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(5,23,58,.45); }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 320px; display: grid; gap: 2px; font-size: 14px; color: var(--muted); }
.consent b { font-size: 16px; font-weight: 500; color: var(--navy); }
.consent__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consent .btn { margin-top: 0; }

/* ---------- páginas legales ---------- */
.legal { padding: 120px 0 clamp(72px, 9vw, 120px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.legal__nav { position: sticky; top: 110px; }
.legal__kicker { margin-top: 20px; font-size: 14px; color: var(--blue); }
.legal__nav ul { display: grid; gap: 4px; margin-top: 10px; }
.legal__nav a:not(.u) { display: block; padding: 10px 14px; border-radius: 12px; color: var(--muted); transition: background .25s, color .25s; }
.legal__nav a:hover { background: var(--soft); color: var(--navy); }
.legal__nav a.is-on { background: var(--navy); color: #fff; }
.legal__date { margin-top: 18px; font-size: 13px; color: var(--muted); }
.legal__body { max-width: 780px; color: var(--navy); }
.legal__body h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.1; }
.legal__lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.legal__body h2 { margin-top: 40px; font-size: 22px; font-weight: 500; }
.legal__body p, .legal__body li { margin-top: 12px; color: #33415c; line-height: 1.65; }
.legal__body ul { padding-left: 20px; list-style: disc; }
.legal__body b { color: var(--navy); font-weight: 600; }
.legal__table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.legal__table th, .legal__table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__table th { background: var(--soft); font-weight: 500; }
.legal__table tr:last-child td { border-bottom: 0; }
@media (max-width: 899px) {
  .legal { padding-top: 96px; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__nav { position: static; }
}

/* ---------- botón "Mi cuenta" ---------- */
.acct-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 15px; font-weight: 500; transition: border-color .3s, background .3s, color .3s; }
.acct-pill:hover { border-color: var(--navy); }
.acct-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.acct-pill.is-in { background: var(--soft); }
.header-actions { gap: 8px; }
@media (max-width: 720px) { .acct-pill { padding: 0 11px; } .acct-pill__label { display: none; } }

/* ---------- tienda sin productos ---------- */
.shop-soon { grid-column: 1 / -1; display: grid; justify-items: center; gap: 12px; padding: clamp(40px, 7vw, 80px) 20px; border-radius: 28px; background: var(--soft); text-align: center; }
.shop-soon > svg { width: 64px; height: 64px; padding: 16px; border-radius: 18px; background: #fff; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.6; }
.shop-soon p { max-width: 520px; color: var(--muted); }
.shop-soon__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.pa--img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Mi cuenta ---------- */
.acct { padding: 110px 0 clamp(72px, 9vw, 120px); min-height: 70vh; }
.acct-card { padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -45px rgba(5,23,58,.35); }
.acct-note { display: flex; gap: 14px; align-items: center; margin: 8px 0 24px; padding: 16px 20px; border-radius: 18px; background: rgba(0,172,230,.1); }
.acct-note svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--blue); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; }
.acct-note p { display: grid; color: var(--muted); }
.acct-note b { color: var(--navy); font-weight: 500; }
.acct-off { max-width: 640px; margin-top: 20px; }
.acct-off p { margin-top: 10px; color: var(--muted); }
.acct-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-top: 16px; }
.acct-perks { display: grid; gap: 12px; margin-top: 26px; }
.acct-perks li { display: flex; gap: 10px; align-items: center; color: var(--navy); }
.acct-perks svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(0,172,230,.15); color: var(--blue); fill: none; stroke: currentColor; stroke-width: 2.4; }
.acct-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--soft); margin-bottom: 22px; }
.acct-tabs button { position: relative; z-index: 1; padding: 11px; border: 0; background: none; font: inherit; font-weight: 500; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .3s; }
.acct-tabs button.is-on { color: #fff; }
.acct-tabs__thumb { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--navy); transition: transform .5s var(--ease); }
.acct-tabs.is-alt .acct-tabs__thumb { transform: translateX(100%); }
.acct-form { display: grid; gap: 14px; }
.acct-form .btn { justify-self: start; margin-top: 4px; }
.acct-form .check { margin: 0; }
.acct-help { font-size: 14px; color: var(--muted); }
.acct-dash { margin-top: 12px; }
.acct-dash__head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.acct-dash__head .btn { margin: 0; }
.acct-ok { margin-bottom: 20px; padding: 14px 18px; border-radius: 16px; background: rgba(18,164,107,.12); color: #0f7a51; }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.acct-h { font-size: 20px; font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.acct-muted { color: var(--muted); font-size: 15px; }
.acct-list, .acct-quotes { display: grid; gap: 8px; margin-bottom: 16px; }
.acct-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.acct-quotes li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: 14px; }
.acct-quotes small { display: block; color: var(--muted); font-size: 12px; }
.acct-status { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; background: var(--soft); color: var(--navy); }
.acct-status--nueva { background: rgba(0,172,230,.15); color: #0b6e94; }
.acct-status--en_proceso, .acct-status--enviada { background: #fff4d6; color: #8a6200; }
.acct-status--ganada { background: rgba(18,164,107,.14); color: #0f7a51; }
.acct-row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-row-btns .btn, .acct-card > .btn { margin-top: 0; }
.acct-del { margin-top: 16px; font-size: 13px; }
@media (max-width: 899px) { .acct-auth, .acct-grid { grid-template-columns: 1fr; } }
