/* ==========================================================================
   MACROTECNO v3 - "Proteccion que no duerme"
   Direccion: editorial / centro de control, CLARO con AZUL DE MARCA principal.
   Color principal: #2A75FF (dominante, no de acento). Fondo claro.
   Tipografia: Clash Display (titulos) + Satoshi (cuerpo) + JetBrains Mono (datos)
   Oficio: doble bisel, encuadre de visor, GSAP. NO dark mode.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Azul de marca (principal) */
  --blue:        #2A75FF;
  --blue-bright: #5C95FF;
  --blue-600:    #1A5DEB;
  --blue-700:    #1648C2;
  --blue-ink:    #0A1B45;   /* azul muy profundo (footer / texto fuerte) */
  --blue-100:    #DBE7FF;
  --blue-50:     #EEF3FF;
  --glow:        rgba(42,117,255,.32);

  /* Acento de identidad (acciones de conversion) */
  --accent:      #FE6C18;
  --accent-600:  #E85E0E;
  --glow-accent: rgba(254,108,24,.32);

  /* Neutros claros */
  --bg:          #FFFFFF;
  --band:        #EDF2FC;   /* fondo alterno (tinte azul suave) */
  --surface:     #FFFFFF;
  --surface-2:   #EAF0FA;
  --line:        #E1E8F4;
  --line-2:      #CFDAEC;
  --ink:         #0F1B33;   /* texto principal */
  --text-soft:   #41506C;
  --text-mute:   #66738E;
  --on-blue:     #FFFFFF;
  --on-blue-soft: rgba(255,255,255,.82);

  --ok:          #15A06B;

  --r-bezel:   26px;
  --r-in:      19px;
  --r-card:    16px;
  --r-pill:    999px;

  --container: 1240px;
  --gutter:    clamp(1.2rem, 4vw, 2.5rem);
  --section-y: clamp(3.25rem, 5.2vw, 5.5rem);

  --fs-mega:   clamp(2.6rem, 1.7rem + 4vw, 5.2rem);
  --fs-h1:     clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
  --fs-h2:     clamp(2rem, 1.4rem + 2.7vw, 3.4rem);
  --fs-h3:     clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  --fs-lead:   clamp(1.08rem, 1rem + 0.45vw, 1.3rem);

  --ease:     cubic-bezier(.32,.72,0,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --sh-sm: 0 4px 16px rgba(15,27,51,.06);
  --sh-md: 0 18px 40px rgba(15,27,51,.10);
  --sh-lg: 0 34px 70px rgba(13,32,80,.18);
  --sh-blue: 0 14px 32px var(--glow);

  --z-grain: 80; --z-nav: 100; --z-float: 90; --z-overlay: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Satoshi", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--blue); color: #fff; font-family: "Satoshi", sans-serif; font-weight: 700; padding: .8rem 1.2rem; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Grano (textura sutil, barato) */
.grain { position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .grain { display: none; } }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4, .display { font-family: "Clash Display", system-ui, sans-serif; font-weight: 600; line-height: .99; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.mega { font-size: var(--fs-mega); font-weight: 600; line-height: .92; letter-spacing: -.035em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.02em; }
.accent { color: var(--blue); }
.lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.55; max-width: 56ch; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--band); }
.section--alt + .section--alt { border-top: 1px solid var(--line); }
.section-head { max-width: 64ch; }
.section-head .lead { margin-top: 1.1rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; font-family: "JetBrains Mono", monospace; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.kicker .live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21,160,107,.16); }
.kicker .barcode { width: 26px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); border-radius: 2px; }

/* ---------- Doble bisel (cards tipo hardware, version clara) ---------- */
.bezel { position: relative; border-radius: var(--r-bezel); background: var(--surface-2); border: 1px solid var(--line); padding: 6px; box-shadow: var(--sh-md); }
.bezel__in { position: relative; border-radius: var(--r-in); background: var(--surface); border: 1px solid var(--line); overflow: hidden; box-shadow: inset 0 1px 0 #fff; }

/* ---------- Botones (boton-dentro-de-boton) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: .7rem; font-family: "Satoshi", sans-serif; font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap; padding: .8rem .85rem .8rem 1.4rem; border-radius: var(--r-pill); border: 1.5px solid transparent; transition: transform .5s var(--ease), background .35s var(--ease), border-color .35s, color .35s, box-shadow .45s var(--ease); }
.btn__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; transition: transform .5s var(--ease), background .35s; }
.btn__ico svg { width: 17px; height: 17px; }
.btn:active { transform: scale(.975); }

/* Primario = naranja de marca. Texto navy para contraste AA sobre el naranja. */
.btn--primary { background: var(--accent); color: var(--blue-ink); box-shadow: 0 14px 32px var(--glow-accent), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--primary .btn__ico { background: rgba(10,27,69,.14); color: var(--blue-ink); }
.btn--primary:hover { background: var(--accent-600); box-shadow: 0 18px 40px var(--glow-accent), inset 0 1px 0 rgba(255,255,255,.3); transform: translateY(-2px); }
.btn--primary:hover .btn__ico { transform: translate(3px,-2px) scale(1.06); }

.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-sm); }
.btn--ghost .btn__ico { background: var(--blue-50); color: var(--blue); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

/* sobre bloque azul */
.btn--on-blue { background: #fff; color: var(--blue-700); box-shadow: 0 14px 30px rgba(10,27,69,.28); }
.btn--on-blue .btn__ico { background: var(--blue-50); color: var(--blue); }
.btn--on-blue:hover { background: var(--blue-50); transform: translateY(-2px); }
.btn--glass-blue { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--glass-blue .btn__ico { background: rgba(255,255,255,.18); }
.btn--glass-blue:hover { background: rgba(255,255,255,.2); border-color: #fff; transform: translateY(-2px); }

.btn--lg { font-size: 1.05rem; padding: .95rem 1rem .95rem 1.6rem; }
.btn--lg .btn__ico { width: 38px; height: 38px; }
.btn--block { width: 100%; justify-content: space-between; }

/* ---------- Nav flotante (glass claro) ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); pointer-events: none; }
/* Barra: al tope = vidrio OSCURO (tinte navy) sobre el azul: contraste real.
   Al scrollear (is-stuck) = blanca sólida con texto oscuro. */
.nav { pointer-events: auto; margin: 1.1rem auto 0; max-width: var(--container); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .55rem .55rem .55rem 1.4rem; border-radius: var(--r-pill); background: rgba(7,16,40,.46); border: 1px solid rgba(255,255,255,.16); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 14px 36px rgba(5,12,32,.35); transition: background .4s var(--ease), box-shadow .4s, border-color .4s; }
.nav.is-stuck { background: #fff; border-color: var(--line); box-shadow: var(--sh-md); }
/* colores segun estado */
.nav .brand { color: #fff; }
.nav.is-stuck .brand { color: var(--blue); }
.nav .nav__toggle { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.42); }
.nav .nav__toggle span { background: #fff; }
.nav.is-stuck .nav__toggle { background: #fff; border-color: var(--line-2); }
.nav.is-stuck .nav__toggle span { background: var(--ink); }
.nav-inner { margin-inline: var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; color: var(--blue); }
.brand__logo { width: 40px; height: 40px; display: block; flex: none; }
.brand b { color: var(--blue); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__links a { font-weight: 500; font-size: .96rem; color: rgba(255,255,255,.88); padding: .5rem .85rem; border-radius: var(--r-pill); transition: color .25s, background .25s, box-shadow .25s; }
.nav__links a:hover { color: var(--blue); background: #fff; box-shadow: 0 6px 16px rgba(8,20,55,.25); }
.nav__links a[aria-current="page"] { color: #fff; font-weight: 600; }
/* Fix: el link activo debe cambiar de color en hover igual que el resto */
.nav__links a[aria-current="page"]:hover { color: var(--blue); }
.nav.is-stuck .nav__links a { color: var(--text-soft); }
.nav.is-stuck .nav__links a:hover { color: #fff; background: var(--blue); box-shadow: 0 6px 16px var(--glow); }
.nav.is-stuck .nav__links a[aria-current="page"] { color: var(--blue); }
.nav.is-stuck .nav__links a[aria-current="page"]:hover { color: #fff; }
.nav__cta { display: flex; align-items: center; gap: .5rem; }
/* WhatsApp (ghost) en el nav: vidrio blanco arriba, solido al scrollear */
.nav .btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.42); box-shadow: none; }
.nav .btn--ghost .btn__ico { background: rgba(255,255,255,.2); color: #fff; }
.nav .btn--ghost:hover { background: rgba(255,255,255,.24); border-color: #fff; }
.nav.is-stuck .btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--sh-sm); }
.nav.is-stuck .btn--ghost .btn__ico { background: var(--blue-50); color: var(--blue); }
/* Cotizá (primary) en el nav: naranja de marca en ambos estados (contrasta sobre vidrio oscuro y sobre blanco) */
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav__toggle span:nth-child(1) { top: 16px; } .nav__toggle span:nth-child(2) { top: 22px; } .nav__toggle span:nth-child(3) { top: 28px; }
@media (max-width: 980px) { .nav__links, .nav__cta .btn--ghost { display: none; } .nav__toggle { display: block; } }
/* En telefonos el CTA vive en el hero y en la action-bar: el header queda logo + hamburguesa */
@media (max-width: 640px) { .nav__cta .btn--primary { display: none; } }

/* Menu movil (azul de marca) */
.mobile-menu { position: fixed; inset: 0; z-index: var(--z-overlay); background: linear-gradient(160deg, var(--blue), var(--blue-700)); color: #fff; display: flex; flex-direction: column; padding: 1.1rem var(--gutter) 2rem; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease); }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mobile-menu .brand { color: #fff; } .mobile-menu .brand b { color: #fff; }
.mobile-menu__close { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-pill); color: #fff; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .1rem; margin-top: 2.5rem; }
.mobile-menu nav a { font-family: "Clash Display", sans-serif; font-size: 2rem; font-weight: 500; padding: .55rem 0; color: #fff; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); border-bottom: 1px solid rgba(255,255,255,.14); }
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(1){transition-delay:.08s}.mobile-menu.open nav a:nth-child(2){transition-delay:.13s}.mobile-menu.open nav a:nth-child(3){transition-delay:.18s}.mobile-menu.open nav a:nth-child(4){transition-delay:.23s}.mobile-menu.open nav a:nth-child(5){transition-delay:.28s}.mobile-menu.open nav a:nth-child(6){transition-delay:.33s}
.mobile-menu .btn { margin-top: auto; }

/* ---------- Encuadre de visor ---------- */
.frame { position: relative; }
.frame__brackets { position: absolute; inset: 20px; z-index: 3; pointer-events: none; }
.frame__brackets i { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255,255,255,.85); }
.frame__brackets i:nth-child(1){ top:0; left:0; border-right:0; border-bottom:0; }
.frame__brackets i:nth-child(2){ top:0; right:0; border-left:0; border-bottom:0; }
.frame__brackets i:nth-child(3){ bottom:0; left:0; border-right:0; border-top:0; }
.frame__brackets i:nth-child(4){ bottom:0; right:0; border-left:0; border-top:0; }
.frame__tag { position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; gap: .45rem; font-family: "JetBrains Mono", monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(10,27,69,.5); border: 1px solid rgba(255,255,255,.3); padding: .3rem .6rem; border-radius: 6px; backdrop-filter: blur(6px); }
.frame__tag .live { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(21,160,107,.25); }
.frame__rec { position: absolute; top: 18px; right: 18px; z-index: 3; display: inline-flex; align-items: center; gap: .4rem; font-family: "JetBrains Mono", monospace; font-size: .68rem; color: #fff; background: rgba(10,27,69,.5); border: 1px solid rgba(255,255,255,.3); padding: .3rem .55rem; border-radius: 6px; backdrop-filter: blur(6px); }
.frame__rec .dot { width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 8px #ff5a5a; }
@media (prefers-reduced-motion: no-preference) { .frame__rec .dot, .frame__tag .live, .kicker .live { animation: pulse 2.4s ease-in-out infinite; } }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

/* ---------- Comparador antes/después (slider) ---------- */
.ba { --pos: 50%; aspect-ratio: 1; touch-action: pan-y; }
.ba > img, .ba__before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); transform: translateX(-50%); width: 3px; background: #fff; box-shadow: 0 0 14px rgba(10,27,69,.4); z-index: 2; pointer-events: none; }
.ba__handle::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1B45' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center/19px no-repeat; box-shadow: 0 8px 22px rgba(10,27,69,.35); }
.ba__label { position: absolute; top: 16px; z-index: 2; font-family: "JetBrains Mono", monospace; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(10,27,69,.55); border: 1px solid rgba(255,255,255,.3); padding: .3rem .6rem; border-radius: 6px; backdrop-filter: blur(6px); pointer-events: none; }
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; background: transparent; }

/* ---------- Hero (BLOQUE AZUL DE MARCA) ---------- */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; padding-top: 6rem; padding-bottom: clamp(2.5rem,4vw,3.5rem); overflow: hidden; background: linear-gradient(155deg, var(--blue) 0%, var(--blue-600) 52%, var(--blue-700) 100%); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .15; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(90% 70% at 85% 5%, rgba(255,255,255,.18), transparent 55%), radial-gradient(80% 90% at 0% 100%, rgba(10,27,69,.4), transparent 55%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; width: 100%; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem,4vw,4rem); align-items: center; }
.hero__copy { display: flex; flex-direction: column; }
.hero__copy .hero__rating { order: -1; align-self: flex-start; }
.hero .kicker { color: #fff; }
.hero .kicker .barcode { background: linear-gradient(90deg,#fff,transparent); }
.hero__title { max-width: 16ch; color: #fff; }
/* Enfasis solido: el contorno quedaba lavado a este tamano */
.hero__title em { font-style: normal; color: #fff; padding-bottom: .06em; background: linear-gradient(0deg, rgba(255,255,255,.34) 0 .09em, transparent .09em); }
.hero__lead { margin-top: 1.1rem; max-width: 44ch; color: var(--on-blue-soft); }
.hero__actions { display: flex; flex-wrap: nowrap; gap: .7rem; margin-top: 1.7rem; }
@media (max-width: 560px) {
  .hero__actions .btn, .page-hero__actions .btn { flex: 1 1 0; min-width: 0; padding-left: 1.05rem; padding-right: .55rem; font-size: .96rem; }
  .hero__actions .btn__ico, .page-hero__actions .btn__ico { width: 32px; height: 32px; }
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 2.2rem; }
.hero__meta div { display: flex; align-items: center; gap: .6rem; color: #fff; font-size: .92rem; }
.hero__meta svg { width: 20px; height: 20px; color: #fff; flex: none; }
/* Badge de reputación de Google */
.hero__rating { display: inline-flex; align-items: center; gap: .7rem; padding: .55rem .95rem .55rem .7rem; background: #fff; border-radius: 14px; box-shadow: var(--sh-lg); color: var(--ink); }
.hero__rating .g-logo { width: 30px; height: 30px; flex: none; }
.hero__rating__body { display: flex; flex-direction: column; gap: .18rem; }
.hero__rating__score { display: flex; align-items: center; gap: .4rem; line-height: 1; }
.hero__rating__score b { font-family: "Clash Display", sans-serif; font-size: 1.15rem; letter-spacing: -.02em; }
.hero__rating .stars { color: #FFB400; display: inline-flex; gap: 1px; }
.hero__rating .stars svg { width: 14px; height: 14px; }
.hero__rating__sub { font-size: .74rem; color: var(--text-mute); }
.hero__visual { position: relative; }
.hero__visual .bezel { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); box-shadow: var(--sh-lg); }
.hero__visual .bezel__in { aspect-ratio: 4/3.2; border-color: rgba(255,255,255,.25); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__chip { position: absolute; left: -18px; bottom: 28px; z-index: 4; display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); color: var(--ink); }
.hero__chip .ring { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(21,160,107,.14); }
.hero__chip .ring i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(21,160,107,.18); }
.hero__chip b { font-family: "Clash Display", sans-serif; font-size: .95rem; display: block; line-height: 1.1; }
.hero__chip span { font-family: "JetBrains Mono", monospace; font-size: .72rem; color: var(--text-mute); }
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 7rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero__visual { order: -1; }
  .hero__visual .bezel__in { aspect-ratio: 16/12; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface); }
.marquee__track { display: flex; gap: 3.5rem; padding-block: 1.5rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: .8rem; font-family: "Clash Display", sans-serif; font-size: 1.25rem; color: var(--ink); white-space: nowrap; }
.marquee__item svg { width: 22px; height: 22px; color: var(--blue); }
.marquee__item .star { color: var(--blue); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px; margin-top: 3rem; }
.cell { position: relative; border-radius: var(--r-bezel); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-sm); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; transition: transform .6s var(--ease), box-shadow .4s, border-color .4s; isolation: isolate; }
.cell:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--blue-100); }
.cell--cam { grid-column: span 3; grid-row: span 2; }
.cell--alarm { grid-column: span 3; grid-row: span 2; }
.cell--fire { grid-column: span 3; }
.cell--net { grid-column: span 3; }
/* celdas con imagen: foto + degrade azul-profundo + texto blanco */
.cell--cam, .cell--alarm { color: #fff; }
.cell--cam .cell__img, .cell--alarm .cell__img { position: absolute; inset: 0; z-index: -1; }
.cell__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cell--cam:hover .cell__img img, .cell--alarm:hover .cell__img img { transform: scale(1.06); }
.cell--cam .cell__img::after, .cell--alarm .cell__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,45,.2) 10%, rgba(8,18,45,.55) 55%, rgba(8,18,45,.94)); }
.cell--cam h3, .cell--alarm h3 { color: #fff; }
/* especificidad extra: .cell p (dark) venia despues y pisaba el blanco */
.bento .cell--cam p, .bento .cell--alarm p { color: #fff; }
.cell--cam .cell__ico, .cell--alarm .cell__ico { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.cell--cam .cell__go, .cell--alarm .cell__go { color: #fff; }
.cell__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue); margin-bottom: auto; }
.cell__ico svg { width: 23px; height: 23px; }
.cell h3 { margin-top: 1rem; }
.cell p { color: var(--text-soft); font-size: .96rem; margin-top: .4rem; max-width: 42ch; }
.cell__go { margin-top: 1rem; display: inline-flex; align-items: center; gap: .5rem; font-family: "Satoshi"; font-weight: 700; font-size: .93rem; color: var(--blue); }
.cell__go svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.cell:hover .cell__go svg { transform: translateX(5px); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(210px, auto); }
  .cell--cam, .cell--alarm, .cell--fire, .cell--net { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .cell, .cell--cam { grid-column: auto; grid-row: auto; min-height: 240px; } }

/* ---------- Producto ---------- */
.product { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.product--flip .product__media { order: 2; }
.product__media .bezel__in { aspect-ratio: 4/3.3; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__price { position: absolute; z-index: 5; right: -16px; bottom: 26px; background: var(--blue); color: #fff; border: 1px solid var(--blue-600); border-radius: 16px; padding: .8rem 1.1rem; box-shadow: var(--sh-blue); }
.product--flip .product__price { right: auto; left: -16px; }
.product__price span { font-family: "JetBrains Mono", monospace; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-blue-soft); display: block; }
.product__price b { font-family: "Clash Display", sans-serif; font-size: 1.7rem; letter-spacing: -.02em; }
.product__tag { font-family: "JetBrains Mono", monospace; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.product h2 { margin: .9rem 0 1.1rem; }
.spec-list { display: grid; gap: .2rem; margin: 1.6rem 0 2rem; }
.spec-list li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: center; padding: .85rem 0; border-top: 1px solid var(--line); color: var(--text-soft); }
.spec-list li:last-child { border-bottom: 1px solid var(--line); }
.spec-list svg { width: 20px; height: 20px; color: var(--blue); }
/* Opciones de compra / comodato */
.offer-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.6rem 0 2rem; }
.offer { border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.1rem 1.2rem; background: var(--surface); box-shadow: var(--sh-sm); }
.offer__tag { font-family: "JetBrains Mono", monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.offer b { font-family: "Clash Display", sans-serif; font-size: 1.45rem; display: block; margin: .3rem 0 .35rem; letter-spacing: -.02em; }
.offer p { font-size: .85rem; color: var(--text-soft); }
.offer--hot { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue), var(--sh-sm); position: relative; overflow: hidden; }
.offer--hot::after { content: "Recomendado"; position: absolute; top: 10px; right: -30px; transform: rotate(45deg); background: var(--blue); color: #fff; font-family: "JetBrains Mono", monospace; font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; padding: .2rem 2.4rem; }
.offer--hot .offer__tag { color: var(--blue); }
.offer--hot b { color: var(--blue-700); }
/* opción única (solo comodato): ocupa todo el ancho y sin sello "Recomendado" */
.offer-options--single { grid-template-columns: 1fr; }
.offer-options--single .offer--hot::after { display: none; }
.offer-options--single .offer b { font-size: 1.75rem; }
.offer__note { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: .85rem; padding-top: .85rem; border-top: 1px solid rgba(42,117,255,.2); font-size: .9rem; color: var(--text-soft); }
.offer__note b { font-family: "Clash Display", sans-serif; font-size: 1.05rem !important; color: var(--blue-700); margin: 0 !important; display: inline !important; }
@media (max-width: 480px) { .offer-options { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 2.2rem; } .product--flip .product__media { order: -1; } .product__media .bezel__in { aspect-ratio: 16/11; } }

/* ---------- Proceso (stack) ---------- */
.stack-wrap { margin-top: 3rem; }
.stack-card { position: sticky; top: 110px; margin-bottom: 1.4rem; }
.stack-card .bezel__in { padding: clamp(1.8rem,4vw,3.2rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem,3vw,3rem); align-items: center; }
.stack-card__n { font-family: "Clash Display", sans-serif; font-size: clamp(3rem,7vw,5.5rem); font-weight: 600; line-height: 1; color: var(--blue); }
.stack-card h3 { font-size: clamp(1.4rem,3vw,2.1rem); margin-bottom: .6rem; }
.stack-card p { color: var(--text-soft); max-width: 60ch; }
@media (max-width: 640px) { .stack-card { position: relative; top: 0; } .stack-card .bezel__in { grid-template-columns: 1fr; gap: .4rem; } }

/* ---------- Monitoreo ---------- */
.monitor__media { margin-top: 2.6rem; position: relative; }
.monitor__media .bezel__in { aspect-ratio: 21/8; }
.monitor__media img { width: 100%; height: 100%; object-fit: cover; }
.monitor__cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 14px; }
.mcard { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 1.3rem 1.4rem; box-shadow: var(--sh-sm); transition: transform .5s var(--ease), box-shadow .4s; }
.mcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.mcard svg { width: 24px; height: 24px; color: var(--blue); margin-bottom: .7rem; }
.mcard b { font-family: "Clash Display", sans-serif; font-size: 1.05rem; display: block; }
.mcard p { font-size: .9rem; color: var(--text-mute); margin-top: .25rem; }
@media (max-width: 820px) { .monitor__cards { grid-template-columns: 1fr 1fr; } .monitor__media .bezel__in { aspect-ratio: 16/10; } }
@media (max-width: 480px) { .monitor__cards { grid-template-columns: 1fr; } }

/* ---------- Formulario (BLOQUE AZUL) ---------- */
.formband { background: linear-gradient(155deg, var(--blue), var(--blue-700)); color: #fff; }
.cta-form { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.formband .kicker { color: #fff; } .formband .kicker .barcode { background: linear-gradient(90deg,#fff,transparent); }
.formband h2 { color: #fff; } .formband .lead { color: var(--on-blue-soft); }
.cta-form__points { display: grid; gap: .9rem; margin-top: 1.8rem; }
.cta-form__points li { display: flex; gap: .7rem; align-items: center; color: #fff; }
.cta-form__points svg { width: 21px; height: 21px; color: #fff; flex: none; }
.form .bezel { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.form .bezel__in { padding: clamp(1.6rem,3.5vw,2.4rem); }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-family: "Satoshi"; font-weight: 500; font-size: .88rem; color: var(--text-soft); }
.field input, .field select { font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.field input::placeholder { color: #9aa6bd; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.form-note { font-size: .82rem; color: var(--text-mute); text-align: center; margin-top: .9rem; }
.form-ok { color: var(--ok); font-weight: 600; }
@media (max-width: 860px) { .cta-form { grid-template-columns: 1fr; } }

/* ---------- Equipo (riel) ---------- */
.team-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px; margin-top: 2.6rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.member { scroll-snap-align: start; }
.member__photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); position: relative; box-shadow: var(--sh-sm); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85); transition: filter .5s var(--ease), transform .7s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.05); }
.member b { font-family: "Clash Display", sans-serif; font-size: 1.02rem; display: block; margin-top: .7rem; }
.member span { font-family: "JetBrains Mono", monospace; font-size: .74rem; color: var(--text-mute); }

/* ---------- Notas ---------- */
.posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 2.8rem; }
.post { border-radius: var(--r-bezel); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .4s; }
.post:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.post__media { overflow: hidden; }
.post__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .7s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.post__tag { font-family: "JetBrains Mono", monospace; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.post h3 { font-size: 1.2rem; margin: .55rem 0 .5rem; }
.post p { font-size: .93rem; color: var(--text-soft); }
.post__go { margin-top: auto; padding-top: 1.1rem; font-family: "Satoshi"; font-weight: 700; font-size: .9rem; color: var(--ink); display: inline-flex; gap: .45rem; align-items: center; }
.post__go svg { width: 17px; height: 17px; color: var(--blue); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Reseñas de Google ---------- */
.reviews__summary { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.8rem; padding: 1.1rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-bezel); box-shadow: var(--sh-sm); }
.reviews__score { font-family: "Clash Display", sans-serif; font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.stars { display: inline-flex; gap: 2px; color: #FFB400; }
.stars svg { width: 19px; height: 19px; }
.reviews__meta { color: var(--text-mute); font-size: .9rem; }
.reviews__meta b { color: var(--ink); font-family: "Clash Display", sans-serif; }
.reviews__g { margin-left: auto; display: inline-flex; align-items: center; gap: .5rem; font-family: "JetBrains Mono", monospace; font-size: .8rem; color: var(--text-mute); }
.reviews__g svg { width: 20px; height: 20px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-bezel); padding: 1.5rem; box-shadow: var(--sh-sm); display: flex; flex-direction: column; gap: .85rem; transition: transform .5s var(--ease), box-shadow .4s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.review__top { display: flex; align-items: center; gap: .7rem; }
.review__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: "Clash Display", sans-serif; font-weight: 600; color: #fff; font-size: 1.15rem; flex: none; }
.review__who b { font-family: "Clash Display", sans-serif; display: block; font-size: .98rem; }
.review__who span { font-size: .76rem; color: var(--text-mute); }
.review .stars svg { width: 16px; height: 16px; }
.review p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.review__src { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--text-mute); }
.review__src svg { width: 15px; height: 15px; }
@media (max-width: 860px) { .reviews__grid { grid-template-columns: 1fr; } .reviews__g { margin-left: 0; } }

/* ---------- Instagram feed ---------- */
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.ig-handle { display: inline-flex; align-items: center; gap: .5rem; font-family: "JetBrains Mono", monospace; font-size: .9rem; color: var(--blue); margin-top: .6rem; }
.ig-handle svg { width: 18px; height: 18px; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 2rem; }
.ig-tile { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile__ov { position: absolute; inset: 0; display: grid; place-items: center; gap: .3rem; background: rgba(10,27,69,.45); opacity: 0; transition: opacity .3s var(--ease); color: #fff; }
.ig-tile:hover .ig-tile__ov { opacity: 1; }
.ig-tile__ov svg { width: 24px; height: 24px; }
.ig-tile[data-type="video"]::after { content: ""; position: absolute; top: 8px; right: 8px; z-index: 2; width: 22px; height: 22px; border-radius: 7px; background: rgba(10,27,69,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") no-repeat 56% center; background-size: 11px; pointer-events: none; }
@media (max-width: 760px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.6rem,4vw,3rem); }
.contact__rows { display: grid; gap: 1.3rem; align-content: start; }
.crow { display: flex; gap: .9rem; align-items: flex-start; }
.crow__ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--blue); flex: none; }
.crow__ico svg { width: 20px; height: 20px; }
.crow b { font-family: "Clash Display", sans-serif; display: block; font-size: 1.02rem; }
.crow span, .crow a { color: var(--text-soft); }
.crow a:hover { color: var(--blue); }
.contact__map .bezel__in { aspect-ratio: 16/10; }
.map-panel { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--blue-50), #fff); display: flex; align-items: flex-end; padding: 1.3rem; }
.map-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--blue-100) 1px, transparent 1px), linear-gradient(90deg, var(--blue-100) 1px, transparent 1px); background-size: 38px 38px; opacity: .6; -webkit-mask-image: radial-gradient(circle at 38% 42%, #000, transparent 72%); mask-image: radial-gradient(circle at 38% 42%, #000, transparent 72%); }
.map-pin { position: absolute; top: 38%; left: 38%; transform: translate(-50%,-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.map-pin svg { width: 26px; height: 26px; }
.map-pin::after { content: ""; position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--blue); opacity: .4; animation: ripple 2.6s ease-out infinite; }
@keyframes ripple { from { transform: scale(1); opacity: .5; } to { transform: scale(2.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pin::after { animation: none; } }
.map-card { position: relative; z-index: 1; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1rem 1.2rem; box-shadow: var(--sh-md); }
.map-card b { font-family: "Clash Display", sans-serif; display: block; }
.map-card span { font-size: .9rem; color: var(--text-mute); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } }

/* ---------- CTA final (BLOQUE AZUL) ---------- */
.finale { padding-block: var(--section-y); }
.finale .bezel { background: var(--surface-2); }
.finale .bezel__in { background: linear-gradient(155deg, var(--blue), var(--blue-700)); border-color: var(--blue-600); text-align: center; padding: clamp(3rem,7vw,6rem) clamp(1.5rem,5vw,4rem); position: relative; overflow: hidden; }
.finale .bezel__in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 130% at 50% 0%, rgba(255,255,255,.2), transparent 60%); pointer-events: none; }
.finale h2 { font-size: var(--fs-h1); color: #fff; max-width: 18ch; margin-inline: auto; position: relative; }
.finale .lead { color: var(--on-blue-soft); margin: 1.2rem auto 0; max-width: 52ch; position: relative; }
.finale__actions { position: relative; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* ---------- Footer (azul profundo de marca) ---------- */
.footer { background: var(--blue-ink); color: rgba(255,255,255,.72); padding-block: clamp(3.5rem,6vw,5rem) 2.2rem; }
.footer .brand { color: #fff; margin-bottom: 1.1rem; } .footer .brand b { color: var(--blue-bright); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer p { font-size: .92rem; color: rgba(255,255,255,.6); max-width: 34ch; }
.footer h4 { font-family: "JetBrains Mono", monospace; font-weight: 500; color: rgba(255,255,255,.55); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: .65rem; }
.footer a { color: rgba(255,255,255,.75); font-size: .94rem; }
.footer a:hover { color: #fff; }
.footer__social { display: flex; gap: .55rem; margin-top: 1.3rem; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 11px; transition: background .3s, transform .3s; }
.footer__social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__bottom { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: rgba(255,255,255,.6); }
.footer__bottom .mono { font-size: .78rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante (solo desktop/tablet) ---------- */
.wa-float { position: fixed; right: clamp(1rem,3vw,1.8rem); bottom: clamp(1rem,3vw,1.8rem); z-index: var(--z-float); display: inline-flex; align-items: center; gap: .6rem; background: #1FAE54; color: #fff; font-family: "Satoshi"; font-weight: 700; padding: .8rem 1.1rem; border-radius: var(--r-pill); box-shadow: 0 16px 36px rgba(31,174,84,.4); transition: transform .4s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 25px; height: 25px; }

/* ---------- Action bar mobile (Llamar + WhatsApp) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float);
  display: none; gap: 10px;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--blue-ink);
  box-shadow: 0 -12px 30px rgba(10,27,69,.35);
}
.action-bar .btn { flex: 1; justify-content: space-between; }
/* sobre la barra navy: Llamar = blanco (icono naranja), WhatsApp = verde (identidad reconocible) */
.action-bar .btn--ghost { background: #fff; color: var(--blue-ink); border-color: transparent; box-shadow: 0 8px 20px rgba(0,0,0,.22); }
.action-bar .btn--ghost .btn__ico { background: var(--accent); color: #fff; }
.btn--whatsapp { background: #128C3E; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn--whatsapp .btn__ico { background: rgba(255,255,255,.22); }
.btn--whatsapp:hover { background: #0F7A36; transform: translateY(-2px); }
@media (max-width: 768px) {
  .action-bar { display: flex; }
  .wa-float { display: none; }         /* la barra lo reemplaza */
  body { padding-bottom: 74px; }        /* que el footer no quede tapado */
}

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); }
.reveal.in { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.reveal-stagger > * { opacity: 0; transform: translateY(34px); filter: blur(6px); }
.reveal-stagger.in > * { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.reveal-stagger.in > *:nth-child(2){transition-delay:.08s}.reveal-stagger.in > *:nth-child(3){transition-delay:.16s}.reveal-stagger.in > *:nth-child(4){transition-delay:.24s}.reveal-stagger.in > *:nth-child(5){transition-delay:.32s}
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; } *, *::before, *::after { animation-duration: .001ms !important; } }

/* ---------- Page hero (interiores) ---------- */
.page-hero { position: relative; padding-top: 9rem; padding-bottom: clamp(3rem,6vw,5rem); overflow: hidden; background: linear-gradient(155deg, var(--blue) 0%, var(--blue-600) 55%, var(--blue-700) 100%); color: #fff; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 80% at 85% 5%, rgba(255,255,255,.16), transparent 55%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .kicker { color: #fff; } .page-hero .kicker .barcode { background: linear-gradient(90deg,#fff,transparent); }
.page-hero .hero__rating { display: flex; width: fit-content; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-family: "JetBrains Mono", monospace; font-size: .78rem; color: var(--on-blue-soft); margin-bottom: 1.4rem; }
.breadcrumb svg { width: 14px; height: 14px; flex: none; opacity: .7; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { max-width: 18ch; color: #fff; }
.page-hero h1 em { font-style: normal; color: #fff; padding-bottom: .06em; background: linear-gradient(0deg, rgba(255,255,255,.34) 0 .09em, transparent .09em); }
.page-hero .lead { margin-top: 1.3rem; color: var(--on-blue-soft); }
.page-hero__actions { display: flex; flex-wrap: nowrap; gap: .8rem; margin-top: 2rem; }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 3rem; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 2rem 1.8rem; border-radius: var(--r-bezel); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-sm); transition: transform .5s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.plan--top { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--sh-md); position: relative; }
.plan__flag { position: absolute; top: -12px; left: 1.8rem; font-family: "JetBrains Mono", monospace; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: var(--blue); color: #fff; padding: .3rem .8rem; border-radius: var(--r-pill); }
.plan__name { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 1.2rem; }
.plan__price { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 2.6rem; letter-spacing: -.03em; margin: .5rem 0 0; color: var(--blue); }
.plan__price--sm { font-size: 1.75rem; line-height: 1.15; }
.plan__price--ask { font-size: 1.7rem; color: var(--text-mute); }
.plan__note { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid rgba(42,117,255,.2); font-size: .88rem; color: var(--text-soft); }
.plan__note b { font-family: "Clash Display", sans-serif; font-size: 1.1rem; color: var(--blue-700); }
.plan__price small { font-family: "JetBrains Mono", monospace; font-size: .8rem; font-weight: 400; color: var(--text-mute); letter-spacing: 0; }
.plan__desc { font-size: .9rem; color: var(--text-mute); margin: .4rem 0 1.4rem; }
.plan ul { display: grid; gap: .75rem; margin-bottom: 1.8rem; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; color: var(--text-soft); }
.plan li svg { width: 19px; height: 19px; color: var(--blue); flex: none; margin-top: 1px; }
.plan .btn { margin-top: auto; }
.plans--single { grid-template-columns: minmax(0, 460px); justify-content: center; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---------- Wizard / calculadora (step form) ---------- */
.wizard { max-width: 680px; margin: 2.6rem auto 0; background: #fff; border-radius: var(--r-bezel); box-shadow: var(--sh-lg); padding: clamp(1.4rem, 3.5vw, 2.4rem); color: var(--ink); }
.wizard__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.7rem; }
.wizard__count { font-family: "JetBrains Mono", monospace; font-size: .78rem; color: var(--text-mute); flex: none; }
.wizard__bar { flex: 1; height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.wizard__bar-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .45s var(--ease); }
.wizard__q { font-family: "Clash Display", sans-serif; font-size: clamp(1.35rem, 2.6vw, 1.8rem); letter-spacing: -.02em; margin-bottom: 1.3rem; }
.wizard__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.wizard__opt { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; text-align: left; padding: 1.05rem 1.2rem; border: 1.5px solid var(--line-2); border-radius: var(--r-card); background: #fff; font-family: "Clash Display", sans-serif; font-weight: 500; font-size: 1.05rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--ease), box-shadow .25s; }
.wizard__opt svg { width: 26px; height: 26px; color: var(--blue); }
.wizard__opt b { font-weight: 600; }
.wizard__opt small { font-family: "Satoshi", sans-serif; font-weight: 400; font-size: .82rem; color: var(--text-mute); line-height: 1.3; }
.wizard__opt:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.wizard__opt.is-sel { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 0 0 1px var(--blue); }
.wizard__fields { display: grid; gap: 1rem; }
.wizard__nav { display: flex; align-items: center; gap: .8rem; margin-top: 1.9rem; flex-wrap: wrap; }
.wizard__back { background: none; border: none; color: var(--text-mute); font-family: "Satoshi", sans-serif; font-weight: 600; font-size: .96rem; padding: .6rem .3rem; display: inline-flex; align-items: center; gap: .4rem; }
.wizard__back svg { width: 17px; height: 17px; }
.wizard__back:hover { color: var(--ink); }
.wizard__back[disabled] { opacity: 0; pointer-events: none; }
.wizard__next { margin-left: auto; }
.wizard__next[disabled] { background: var(--surface-2); color: var(--text-mute); border-color: rgba(10,27,69,.06); box-shadow: none; pointer-events: none; }
.wizard__next[disabled] .btn__ico { background: rgba(10,27,69,.08); color: var(--text-mute); }
.wizard__send { margin-left: auto; display: flex; gap: .7rem; flex-wrap: wrap; }
.wizard__send[hidden] { display: none; }
.wizard__done { display: none; margin-top: 1.4rem; padding: .9rem 1.1rem; border-radius: var(--r-card); background: rgba(21,160,107,.1); border: 1px solid rgba(21,160,107,.3); color: var(--ok); font-weight: 600; font-size: .92rem; }
.wizard.is-sent .wizard__done { display: block; }
@media (max-width: 520px) {
  .wizard__opts { grid-template-columns: 1fr 1fr; }
  .wizard__next, .wizard__send { margin-left: 0; width: 100%; }
  .wizard__send .btn { flex: 1; }
  .wizard__nav { justify-content: space-between; }
}

/* ---------- Kit specs ---------- */
.kit { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 2.6rem; }
.kit__item { display: flex; gap: .8rem; align-items: flex-start; padding: 1.3rem 1.4rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--sh-sm); }
.kit__item svg { width: 24px; height: 24px; color: var(--blue); flex: none; }
.kit__item b { font-family: "Clash Display", sans-serif; display: block; }
.kit__item p { font-size: .87rem; color: var(--text-mute); margin-top: .2rem; }
@media (max-width: 760px) { .kit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .kit { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 2.8rem auto 0; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); padding: 0 1.4rem; box-shadow: var(--sh-sm); transition: border-color .3s; }
.faq details[open] { border-color: var(--blue-100); }
.faq summary { font-family: "Clash Display", sans-serif; font-weight: 500; font-size: 1.08rem; padding: 1.2rem 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; flex: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A75FF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); background-size: contain; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 0 1.3rem; color: var(--text-soft); font-size: .97rem; }
