/* ==========================================================================
   Isoltel — hoja de estilos compartida (home, tienda, producto, cotizar)
   Sistema: tokens en :root (claro) + override oscuro (sistema o [data-theme]).
   WordPress: este archivo = style.css del tema hijo (Hello/Astra/Woodmart).
   Las clases siguen BEM ligero: .bloque, .bloque__elemento, .bloque--variante
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --bg: #f5f6fb;
  --surface: #ffffff;
  --surface-2: #eef0f8;
  --surface-3: #e4e8f4;
  --ink: #0a0f1f;
  --ink-2: #48526e;
  --ink-3: #737d98;
  --line: rgba(14, 22, 48, .09);
  --line-2: rgba(14, 22, 48, .16);

  /* Colores corporativos tomados del sitio actual (Elementor global colors + Woodmart):
     primary #3C439A · accent #00BCE4 · botón acentuado #171754 (hover #00BCE4) */
  --isoltel-indigo: #3c439a;
  --isoltel-cyan: #00bce4;
  --isoltel-navy: #171754;
  --brand: #3c439a;
  --brand-2: #4d55c0;
  --brand-soft: rgba(60, 67, 154, .09);
  --accent: #0098b9;
  --btn-primary: linear-gradient(135deg, #3c439a, #171754);
  --btn-primary-hover: #00bce4;
  --ok: #0f9d6b;
  --wa: #16a34a;
  --wa-2: #128c3e;

  --logo-ink: #0a0f1f;
  --stage-1: #ffffff;
  --stage-2: #e9ecf6;
  --floor: rgba(10, 16, 40, .30);

  --shadow-sm: 0 1px 2px rgba(10, 15, 31, .06), 0 2px 8px -2px rgba(10, 15, 31, .06);
  --shadow-md: 0 1px 2px rgba(10, 15, 31, .05), 0 12px 32px -12px rgba(10, 15, 31, .18);
  --shadow-lg: 0 2px 4px rgba(10, 15, 31, .04), 0 30px 60px -20px rgba(10, 15, 31, .28);
  --ring: 0 0 0 3px color-mix(in srgb, var(--brand-2) 45%, transparent);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
  --wrap: 1240px;
  color-scheme: light;
}

/* Tema oscuro: preferencia del sistema (salvo que el usuario fije claro) o elección manual */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070a14;
    --surface: #0d1222;
    --surface-2: #121831;
    --surface-3: #1a2140;
    --ink: #eef1ff;
    --ink-2: #a5aecb;
    --ink-3: #737d9c;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .16);
    --brand: #9aa0f0;
    --brand-2: #5a62cc;
    --brand-soft: rgba(124, 131, 230, .14);
    --accent: #00bce4;
    --btn-primary: linear-gradient(135deg, #4d55c0, #3c439a);
    --logo-ink: #eef1ff;
    --stage-1: #1a2142;
    --stage-2: #0f1429;
    --floor: rgba(0, 0, 0, .65);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070a14;
  --surface: #0d1222;
  --surface-2: #121831;
  --surface-3: #1a2140;
  --ink: #eef1ff;
  --ink-2: #a5aecb;
  --ink-3: #737d9c;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --brand: #9aa0f0;
  --brand-2: #5a62cc;
  --brand-soft: rgba(124, 131, 230, .14);
  --accent: #00bce4;
  --btn-primary: linear-gradient(135deg, #4d55c0, #3c439a);
  --logo-ink: #eef1ff;
  --stage-1: #1a2142;
  --stage-2: #0f1429;
  --floor: rgba(0, 0, 0, .65);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 70px -20px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* Bloques que siempre son oscuros ("tech"): hero, cabecera de página, CTA, footer */
.is-dark {
  --bg: #060913;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .06);
  --ink: #f2f4ff;
  --ink-2: #aab3d0;
  --ink-3: #7c86a6;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --brand: #a3a9f5;
  --brand-2: #5a62cc;
  --brand-soft: rgba(124, 131, 230, .16);
  --accent: #00bce4;
  --btn-primary: linear-gradient(135deg, #4d55c0, #3c439a);
  --logo-ink: #f2f4ff;
  --floor: rgba(0, 0, 0, .7);
  color: var(--ink);
  background: var(--bg);
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-spacing: .07em;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.025em; word-spacing: .08em; font-weight: 800; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: color-mix(in srgb, var(--brand-2) 30%, transparent); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .74rem/1 var(--font-mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 20px 32px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.section-head p { color: var(--ink-2); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 62ch; }
.grad-text { background: linear-gradient(100deg, var(--brand) 10%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--ink-2); }

/* ---------- 3. Botones ---------- */
.btn {
  --btn-bg: var(--surface); --btn-ink: var(--ink); --btn-line: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-line);
  font-weight: 700; font-size: .95rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
  isolation: isolate; overflow: hidden;
}
.btn svg { flex: none; }
/* brillo que cruza el botón al pasar el mouse */
.btn--primary::after, .btn--wa::after, .btn--light::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: 1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn--primary:hover::after, .btn--wa:hover::after, .btn--light:hover::after { left: 130%; }
.ripple { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .25; transform: scale(0); animation: ripple .6s var(--ease) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn, .hero__tab, .chip, .add-btn { word-spacing: .14em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { --btn-ink: #fff; --btn-line: transparent; background: var(--btn-primary); box-shadow: 0 10px 28px -12px rgba(60, 67, 154, .9), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--btn-primary-hover); opacity: 0; transition: opacity .3s; }
.btn--primary:hover { box-shadow: 0 16px 36px -12px rgba(0, 188, 228, .75); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { --btn-bg: transparent; }
.btn--ghost:hover { --btn-line: var(--brand); }
.btn--wa { --btn-bg: var(--wa); --btn-ink: #fff; --btn-line: transparent; box-shadow: 0 10px 28px -12px rgba(22, 163, 74, .8); }
.btn--wa:hover { --btn-bg: var(--wa-2); }
.btn--light { --btn-bg: #fff; --btn-ink: #0a0f1f; --btn-line: transparent; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .86rem; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--icon { width: 44px; padding: 0; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; pointer-events: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.link-arrow:hover { background-size: calc(100% - 24px) 2px; }
.u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.u-link:hover { background-size: 100% 1.5px; }
.link-arrow svg { transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line);
}
.chip--brand { color: var(--brand); background: var(--brand-soft); border-color: transparent; }
.badge {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; line-height: 1;
  transition: transform .3s var(--ease);
}
.badge[data-count="0"] { background: var(--surface-3); color: var(--ink-2); }
.badge:empty { display: none; }
.badge.is-bump { transform: scale(1.4); }

/* ---------- 4. Logo (máscara: hereda color, funciona en claro/oscuro) ---------- */
.logo { display: inline-flex; align-items: center; color: var(--logo-ink); }
.logo__img {
  display: block; width: 128px; aspect-ratio: 561 / 189; background: currentColor;
  -webkit-mask: url("assets/site/isoltel-logo.png") center / contain no-repeat;
  mask: url("assets/site/isoltel-logo.png") center / contain no-repeat;
}

/* ---------- 5. Header ---------- */
.site-header {
  /* Siempre blanco (también en modo oscuro), como pidió el cliente */
  --bg: #ffffff; --surface: #ffffff; --surface-2: #f1f3f9; --surface-3: #e6e9f3;
  --ink: #0a0f1f; --ink-2: #48526e; --ink-3: #737d98; --line: rgba(14, 22, 48, .09); --line-2: rgba(14, 22, 48, .16);
  --brand: #3c439a; --brand-soft: rgba(60, 67, 154, .09); --logo-ink: #171754;
  --btn-primary: linear-gradient(135deg, #3c439a, #171754);
  color-scheme: light; color: var(--ink);
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 8px 30px -14px rgba(10, 15, 40, .28); background: rgba(255, 255, 255, .86); }
.site-header.is-stuck .site-header__in { height: calc(var(--header-h) - 10px); }
.site-header__in { transition: height .35s var(--ease); }
.site-header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: color .2s, background-color .2s;
}
.site-nav__link::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--isoltel-indigo), var(--isoltel-cyan)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav__link:hover { color: var(--ink); }
.site-nav__link:hover::before, .site-nav__link[aria-current="page"]::before { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--ink); }
.site-nav__sep { width: 1px; height: 18px; background: var(--line-2); margin: 0 8px; }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: border-color .2s, transform .2s var(--ease), background-color .2s;
}
.icon-btn:hover { border-color: var(--line-2); transform: translateY(-1px); }
.icon-btn .badge { position: absolute; top: -4px; right: -4px; }
.theme-toggle svg { transition: transform .5s var(--ease); }
.theme-toggle:hover svg { transform: rotate(-25deg) scale(1.1); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.quote-btn { gap: 8px; }
.burger { display: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- 6. Hero slider (home) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; transition: background-color 1s var(--ease); }
.hero__glow--a { width: 620px; height: 620px; right: -120px; top: -160px; background: var(--slide-accent, #6070ff); opacity: .32; }
.hero__glow--b { width: 520px; height: 520px; left: -200px; bottom: -260px; background: #3f48cc; opacity: .35; }
.hero__slides { position: relative; display: grid; min-height: clamp(560px, 78vh, 760px); }
.slide {
  grid-area: 1 / 1; position: relative; display: grid; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; }
.slide__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .16; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); transform: scale(1.06); transition: transform 8s linear; }
.slide.is-active .slide__bg { transform: scale(1); }
.slide__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 96px 0 128px; }
.slide__copy { display: grid; gap: 22px; justify-items: start; }
.slide__copy > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide__copy > * { opacity: 1; transform: none; }
.slide.is-active .slide__copy > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide__copy > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide__copy > :nth-child(4) { transition-delay: .24s; }
.slide.is-active .slide__copy > :nth-child(5) { transition-delay: .32s; }
.slide__brand { height: 30px; width: auto; }
.slide__brand--mask { width: 150px; height: 40px; background: #fff; -webkit-mask: var(--src) left center / contain no-repeat; mask: var(--src) left center / contain no-repeat; }
.slide__title { font-size: clamp(2.3rem, 5.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1.02; }
.slide__title em { font-style: normal; color: var(--slide-accent); text-shadow: 0 0 40px color-mix(in srgb, var(--slide-accent) 45%, transparent); }
.slide__text { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 50ch; }
.slide__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide__visual { --vis-h: min(470px, 54vh); position: relative; display: grid; place-items: center; height: var(--vis-h); }
.slide__visual img {
  position: relative; z-index: 1; max-height: var(--vis-h); width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55));
  opacity: 0; transform: translateY(30px) scale(.94); filter: blur(10px) drop-shadow(0 40px 40px rgba(0,0,0,.55));
  transition: opacity 1s var(--ease) .1s, transform 1.2s var(--ease) .1s, filter 1s var(--ease) .1s;
}
.slide.is-active .slide__visual img { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 40px 40px rgba(0,0,0,.55)); }
.slide__visual::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--slide-accent) 38%, transparent), transparent 66%);
}
.slide__visual::after { /* sombra de piso */
  content: ""; position: absolute; bottom: 2%; width: 56%; height: 34px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,.75), transparent); filter: blur(6px);
}
.slide__ring { position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); }
.slide__ring::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.08); animation: spin 60s linear infinite; }
.slide__photo { border-radius: var(--r-xl); overflow: hidden; height: var(--vis-h); aspect-ratio: 900 / 980; position: relative; z-index: 1; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); border: 1px solid rgba(255,255,255,.08); }
.slide__photo img { width: 100%; height: 100%; object-fit: cover; filter: none !important; }
.slide.is-active .slide__photo img { filter: none !important; }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3;
  display: flex; align-items: center; gap: 16px;
}
.hero__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; flex: 1; list-style: none; max-width: 760px; }
.hero__tab {
  display: grid; gap: 10px; width: 100%; text-align: left; padding: 0; color: var(--ink-3);
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; transition: color .3s;
}
.hero__tab:hover, .hero__tab[aria-selected="true"] { color: var(--ink); }
.hero__bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.hero__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--slide-accent, #fff), #fff); border-radius: inherit; }
.hero__tab[aria-selected="true"] .hero__bar i { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__tab[aria-selected="true"] .hero__bar i { animation-play-state: paused; }
.hero__tab.is-done .hero__bar i { width: 100%; }
@keyframes progress { to { width: 100%; } }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows .icon-btn { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.hero__tagline { position: absolute; top: 28px; left: 0; right: 0; z-index: 2; pointer-events: none; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: var(--ink-2);
  font-size: .82rem; font-weight: 600; backdrop-filter: blur(8px);
}
.pill__dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--isoltel-indigo); }
.pill__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
@keyframes pulse { 50% { transform: scale(.6); opacity: .6; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 7. Franja de datos reales ---------- */
.facts { position: relative; z-index: 4; margin-top: -1px; border-top: 1px solid var(--line); }
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.facts__item { display: grid; gap: 4px; padding: 26px 24px; border-right: 1px solid var(--line); }
.facts__item:last-child { border-right: 0; }
.facts__num { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.facts__label { color: var(--ink-2); font-size: .9rem; }

/* ---------- 8. Marquee de marcas ---------- */
.marquee { --gap: clamp(48px, 6vw, 88px); --dur: 38s; position: relative; overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; align-items: center; gap: var(--gap); width: max-content; animation: marquee var(--dur) linear infinite; padding-right: var(--gap); }
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brand-logo {
  --h: 34px; --c: var(--brand);
  position: relative; display: block; height: var(--h); aspect-ratio: var(--ar, 4); flex: none;
  background: var(--ink-3); opacity: .75;
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  transition: background-color .35s var(--ease), opacity .35s, transform .35s var(--ease);
}
.brand-link { display: grid; place-items: center; padding: 14px 6px; border-radius: 14px; }
.brand-link:hover .brand-logo, .brand-link:focus-visible .brand-logo { background: var(--c); opacity: 1; transform: scale(1.08); }
.brands-band { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.brands-band__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.brands-band__head p { color: var(--ink-2); font-weight: 600; }

/* ---------- 9. Industrias (íconos de línea, estilo corporativo sobrio) ---------- */
.industries { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; list-style: none; }
.industry {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 14px; padding: 26px 10px 22px; text-align: center; height: 100%;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
/* línea de acento que crece desde el centro al hacer hover */
.industry::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--isoltel-indigo); transform: scaleX(0); transition: transform .4s var(--ease);
}
.industry:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--isoltel-indigo) 35%, var(--line)); box-shadow: 0 14px 28px -18px rgba(23, 23, 84, .35); }
.industry:hover::after { transform: scaleX(1); }
.industry__ico {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; color: var(--isoltel-indigo);
  background: color-mix(in srgb, var(--isoltel-indigo) 7%, transparent);
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.industry__ico svg { width: 32px; height: 32px; overflow: visible; }
.industry__ico .duo { display: none; }
.industry__ico .ln { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.industry:hover .industry__ico { background: var(--isoltel-indigo); color: #fff; transform: scale(1.04); }
.industry span { font-weight: 600; font-size: .92rem; color: var(--ink); }

/* ---------- 10. Tarjeta de producto ---------- */
.p-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  animation: rise .6s var(--ease) both;
}
.p-card { transform-style: preserve-3d; }
.p-card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.p-card__stage {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / .92; margin: 8px 8px 0; border-radius: calc(var(--r-lg) - 6px); overflow: hidden;
  background: radial-gradient(70% 60% at 50% 38%, var(--stage-1), var(--stage-2));
}
.p-card__stage::before { /* brillo de estudio */
  content: ""; position: absolute; inset: 0; background: radial-gradient(40% 30% at 50% 30%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 70%); opacity: 0; transition: opacity .4s;
}
.p-card__stage::after { /* sombra de contacto bajo el equipo */
  content: ""; position: absolute; left: 50%; bottom: calc(18% - 9px); width: 54%; height: 18px; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--floor), transparent); filter: blur(3px);
  transition: transform .5s var(--ease), opacity .5s;
}
.p-card:hover .p-card__stage::before { opacity: 1; }
.p-card:hover .p-card__stage::after { transform: scaleX(.8); opacity: .7; }
.p-card__img {
  position: absolute; z-index: 1; left: 14%; top: 12%; width: 72%; height: 70%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 14px 14px rgba(8, 12, 30, .18));
  transition: transform .6s var(--ease);
}
.p-card:hover .p-card__img { transform: translate3d(var(--mx, 0px), -8px, 30px) scale(1.05); }
.p-card.is-tilting { transition: transform .12s linear, box-shadow .4s var(--ease), border-color .4s; }
.p-card__tag { position: absolute; z-index: 2; left: 12px; top: 12px; }
.p-card__tag .chip { background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: blur(6px); }
.p-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.p-card__brand { font: 600 .7rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.p-card__name { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.p-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.p-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-card__price { font-size: .78rem; color: var(--ink-3); font-weight: 600; line-height: 1.25; }
.add-btn {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: .84rem; font-weight: 700; white-space: nowrap;
  transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.add-btn:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }
.add-btn.is-added { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.add-btn svg { transition: transform .3s var(--ease); }
.add-btn:hover svg { transform: rotate(90deg); }
.add-btn.is-added svg { transform: none; }

/* ---------- 11. Carrusel de productos (drag + autoplay) ---------- */
.rail { position: relative; }
.rail__viewport {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px 4px 28px; margin: -8px -4px -28px; cursor: grab;
}
.rail__viewport::-webkit-scrollbar { display: none; }
.rail__viewport > * { scroll-snap-align: start; }
.rail__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail__viewport.is-dragging * { pointer-events: none; user-select: none; }
.rail__nav { display: flex; gap: 8px; }
.rail__progress { height: 3px; margin-top: 28px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.rail__progress i { display: block; height: 100%; width: 25%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: transform .3s var(--ease), width .3s; }

/* ---------- 12. PoC vs celular ---------- */
.poc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.poc__visual { position: relative; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); background: radial-gradient(70% 70% at 50% 40%, var(--stage-1), var(--stage-2)); border: 1px solid var(--line); overflow: hidden; }
.poc__visual::after { content: ""; position: absolute; left: 50%; bottom: 9%; width: 70%; height: 30px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, var(--floor), transparent); filter: blur(6px); }
.poc__visual img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 24px 24px rgba(8,12,30,.2)); }
.benefits { display: grid; gap: 14px; list-style: none; margin: 28px 0 30px; }
.benefit { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), border-color .3s; }
.benefit:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
.benefit img { width: 56px; height: 56px; }
.benefit h3 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 2px; }
.benefit p { color: var(--ink-2); font-size: .93rem; }

/* ---------- 13. Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service__media { position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #0a1430; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__media img { transform: scale(1.06); }
.service__media--fiber { background: radial-gradient(80% 120% at 0% 100%, #2b37c9, transparent 60%), radial-gradient(80% 120% at 100% 0%, #0e7490, transparent 60%), #070b1c; }
.service__media--fiber svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.service__media--fiber path { stroke-dasharray: 6 14; animation: flow 3s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -100; } }
.service__body { display: flex; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.service__body h3 { font-size: 1.25rem; }
.service__body p { color: var(--ink-2); font-size: .95rem; }
.service__body .link-arrow { margin-top: auto; padding-top: 8px; }

/* ---------- 14. Tecnología ---------- */
.tech { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; }
.tech__item { display: grid; gap: 10px; justify-items: center; padding: 18px 12px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; }
.tech__item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tech__stage { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; border-radius: var(--r); background: radial-gradient(70% 60% at 50% 40%, var(--stage-1), var(--stage-2)); }
.tech__stage::after { content: ""; position: absolute; bottom: calc(18% - 5px); width: 55%; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, var(--floor), transparent); filter: blur(2px); }
.tech__stage img { position: absolute; z-index: 1; left: 14%; top: 12%; width: 72%; height: 70%; object-position: 50% 100%; object-fit: contain; transition: transform .5s var(--ease); }
.tech__item:hover .tech__stage img { transform: translateY(-5px) scale(1.05); }
.tech__item span { font-weight: 700; font-size: .9rem; }
.tech-brands { margin-top: 36px; }

/* ---------- 15. Quiénes somos ---------- */
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about__text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }
.about__text strong { color: var(--ink); }
.contact-card { display: grid; gap: 6px; padding: 24px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.contact-card .logo__img { width: 140px; margin-bottom: 12px; }
.contact-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px; margin: 0 -10px; border-radius: 12px; transition: background-color .2s; }
a.contact-row:hover { background: var(--surface-2); }
.contact-row__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.contact-row small { display: block; color: var(--ink-3); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-row b { font-weight: 700; font-size: .96rem; overflow-wrap: anywhere; }

/* ---------- 16. FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 35%, transparent); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737d98' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }

/* ---------- 17. CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; border: 1px solid var(--line); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 100% 0%, rgba(96, 112, 255, .55), transparent 60%), radial-gradient(50% 100% at 0% 100%, rgba(34, 211, 238, .25), transparent 60%); }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 10px; }
.cta p { color: var(--ink-2); max-width: 52ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 18. Footer ---------- */
.site-footer { padding: 72px 0 28px; border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .9fr 1fr .9fr 1.3fr; gap: 36px; }
.site-footer__about p { color: var(--ink-2); margin: 16px 0 20px; max-width: 36ch; font-size: .95rem; }
.site-footer h3 { font: 600 .74rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer li a { color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.site-footer li a:hover { color: var(--ink); }
.site-footer address { font-style: normal; display: grid; gap: 12px; }
.site-footer address a, .site-footer address span { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; overflow-wrap: anywhere; }
.site-footer address a:hover { color: var(--ink); }
.site-footer address svg { flex: none; margin-top: 3px; color: var(--brand); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--ink-2); transition: color .2s, border-color .2s, transform .25s var(--ease), background-color .2s; }
.socials a:hover { color: #fff; background: var(--brand-2); border-color: transparent; transform: translateY(-3px); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }

/* ---------- 19. WhatsApp flotante + toast ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(22, 163, 74, .8); transition: transform .3s var(--ease);
}
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px);
  padding: 10px 10px 10px 16px; border-radius: 999px; background: #0b1020; color: #fff; box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600;
  translate: -50% 140%; opacity: 0; transition: translate .45s var(--ease), opacity .3s;
}
.toast.is-on { translate: -50% 0; opacity: 1; }
.toast__ico { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); flex: none; }
.toast .btn { min-height: 34px; font-size: .82rem; }

/* ---------- 20. Drawer "Mi cotización" ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(4, 7, 18, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.scrim.is-on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 100; display: flex; flex-direction: column; width: min(440px, 100%); height: 100%; height: 100dvh;
  background: var(--bg); border-left: 1px solid var(--line); box-shadow: -30px 0 80px rgba(0, 0, 0, .3);
  transform: translateX(100%); transition: transform .45s var(--ease), visibility 0s .45s; visibility: hidden;
}
.drawer.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer__foot { display: grid; gap: 10px; padding: 18px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__note { color: var(--ink-3); font-size: .8rem; text-align: center; }
.q-list { list-style: none; }
.q-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); animation: rise .4s var(--ease) both; }
.q-item__img { position: relative; width: 64px; height: 64px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, var(--stage-1), var(--stage-2)); display: grid; place-items: center; }
.q-item__img img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.q-item__name { font-weight: 700; font-size: .92rem; line-height: 1.3; }
.q-item__name a:hover { color: var(--brand); }
.q-item small { display: block; color: var(--ink-3); font-size: .78rem; margin-top: 2px; }
.q-item__remove { font-size: .78rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 2px; margin-top: 4px; }
.q-item__remove:hover { color: #e11d48; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.stepper button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: background-color .2s, color .2s; }
.stepper button:hover { background: var(--surface-2); color: var(--ink); }
.stepper output, .stepper input { min-width: 28px; width: 36px; text-align: center; font-weight: 700; font-size: .9rem; border: 0; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.empty-state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 48px 12px; color: var(--ink-2); }
.empty-state__ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.empty-state h3 { color: var(--ink); font-size: 1.15rem; }

/* ---------- 21. Cabecera de páginas internas ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 90% 0%, rgba(96,112,255,.4), transparent 60%), radial-gradient(40% 100% at 0% 100%, rgba(34,211,238,.16), transparent 60%); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 14px 0 10px; }
.page-hero p { color: var(--ink-2); max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .85rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- 22. Tienda ---------- */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; padding: 36px 0 96px; }
.filters { display: grid; gap: 22px; padding: 4px 4px 12px; }
.filters__head { display: none; }
.filters__group h2 { font: 600 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.cat-tree { list-style: none; display: grid; gap: 2px; }
.cat-tree ul { list-style: none; display: grid; gap: 2px; margin: 2px 0 6px 14px; padding-left: 10px; border-left: 1px solid var(--line); }
.cat-btn { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; text-align: left; font-size: .92rem; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.cat-btn small { font: 500 .74rem var(--font-mono); color: var(--ink-3); }
.cat-btn:hover { background: var(--surface-2); color: var(--ink); }
.cat-btn[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand); }
.cat-btn[aria-pressed="true"] small { color: var(--brand); }
.cat-btn--sub { font-weight: 500; font-size: .88rem; padding: 6px 10px; }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .92rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background-color .2s; }
.check:hover { background: var(--surface-2); }
.check input { appearance: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--surface); display: grid; place-items: center; flex: none; transition: background-color .2s, border-color .2s; cursor: pointer; }
.check input:checked { background: var(--brand-2); border-color: var(--brand-2); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { box-shadow: var(--ring); }
.check small { margin-left: auto; font: 500 .74rem var(--font-mono); color: var(--ink-3); }
.filters__help { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.filters__help b { color: var(--ink); }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 260px; }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--ink-3); pointer-events: none; }
.search input, .select, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: .95rem; transition: border-color .2s, box-shadow .2s;
}
.search input { padding-left: 46px; border-radius: 999px; }
.search input:focus, .select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: var(--ring); }
.select { width: auto; padding-right: 40px; appearance: none; cursor: pointer; border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737d98' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.toolbar__filters { display: none; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; min-height: 32px; }
.result-count { color: var(--ink-2); font-size: .9rem; }
.result-count b { color: var(--ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px 0 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .8rem; font-weight: 700; }
.active-filters button:hover { background: color-mix(in srgb, var(--brand) 20%, transparent); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.load-more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------- 23. Ficha de producto ---------- */
.product > *, .quote-page > *, .shop > *, .poc > *, .about > * { min-width: 0; }
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: 36px 0 72px; }
.product__stage {
  position: sticky; top: calc(var(--header-h) + 20px); display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(65% 55% at 50% 40%, var(--stage-1), var(--stage-2)); border: 1px solid var(--line);
}
.product__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); opacity: .7; }
.product__stage::after { content: ""; position: absolute; bottom: calc(16% - 13px); width: 50%; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, var(--floor), transparent); filter: blur(5px); }
.product__stage img { position: absolute; z-index: 1; left: 15%; top: 14%; width: 70%; height: 70%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 26px 24px rgba(8, 12, 30, .22)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.product__info { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; overflow-wrap: anywhere; }
.product__brand { height: 28px; }
.product__brand .brand-logo { --h: 28px; background: var(--ink-2); opacity: 1; }
.product__title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.product__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.product__lead { color: var(--ink-2); font-size: 1.05rem; }
.product__buy { display: grid; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.product__buy-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.product__buy-row .btn--primary { flex: 1; }
.product__price { font-size: .9rem; color: var(--ink-2); }
.product__price b { color: var(--ink); }
.specs { display: grid; gap: 16px; }
.specs h3 { font-size: 1rem; letter-spacing: -.01em; margin-bottom: 6px; }
.specs ul { list-style: none; display: grid; gap: 6px; }
.specs li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .95rem; }
.specs li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg, var(--brand-2), var(--accent)); }
.specs p { color: var(--ink-2); font-size: .95rem; }
.specs__box { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.not-found { padding: 120px 0; text-align: center; display: grid; gap: 16px; justify-items: center; }

/* ---------- 24. Cotizar ---------- */
.quote-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; padding: 36px 0 96px; }
.panel { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.panel__head h2 { font-size: 1.3rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.field label i { color: #e11d48; font-style: normal; }
.field textarea { min-height: 120px; padding: 12px 16px; resize: vertical; }
.field input[aria-invalid="true"] { border-color: #e11d48; }
.field__err { font-size: .78rem; color: #e11d48; min-height: 1em; }
.form__actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.form__note { grid-column: 1 / -1; color: var(--ink-3); font-size: .82rem; }
.quote-page .panel--sticky { position: sticky; top: calc(var(--header-h) + 16px); }

/* ---------- 25. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 26. Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav__link { padding: 0 10px; font-size: .86rem; }
  .header-contact { display: none; }
  .industries { grid-template-columns: repeat(4, 1fr); }
  .tech { grid-template-columns: repeat(3, 1fr); }
  .rail__viewport { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
}
@media (max-width: 1024px) {
  .burger { display: inline-grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; padding: 12px 16px 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(0,0,0,.4); max-height: calc(100dvh - var(--header-h)); overflow: auto;
    opacity: 0; transform: translateY(-10px); pointer-events: none; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s, transform .3s var(--ease); }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__link { height: 50px; padding: 0 14px; font-size: 1rem; border-radius: 12px; }
  .site-nav__link::before { left: 14px; right: auto; width: 24px; bottom: 8px; }
  .site-nav__sep { width: auto; height: 1px; margin: 8px 0; }
  .slide__in { grid-template-columns: 1fr; padding: 88px 0 130px; gap: 8px; }
  .slide__visual { --vis-h: 340px; order: -1; }
  .hero__slides { min-height: 0; }
  .facts__list { grid-template-columns: repeat(2, 1fr); }
  .facts__item:nth-child(2) { border-right: 0; }
  .facts__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .poc, .about, .product, .quote-page { grid-template-columns: 1fr; }
  .product__stage, .quote-page .panel--sticky { position: relative; top: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; padding-top: 24px; }
  .toolbar__filters { display: inline-flex; }
  .filters {
    position: fixed; inset: 0 auto 0 0; z-index: 100; width: min(360px, 88%); height: 100dvh; overflow: auto; overscroll-behavior: contain; padding: 0 20px 24px; background: var(--bg);
    border-right: 1px solid var(--line); box-shadow: 30px 0 80px rgba(0,0,0,.3); align-content: start;
    transform: translateX(-100%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s;
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
  .filters__head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1; padding: 18px 0 12px; background: var(--bg); }
  .filters__head h2 { font-size: 1.2rem; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .logo__img { width: 108px; }
  .section-head--row { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .industries li:last-child { grid-column: 1 / -1; }
  .tech { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .rail__viewport { grid-auto-columns: 72%; }
  .cta { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form, .form__actions { grid-template-columns: 1fr; }
  .hero__tab span { display: none; }
  .hero__controls { bottom: 22px; }
  .slide__in { padding: 76px 0 96px; }
  .slide__visual { --vis-h: 260px; }
  .hero__tagline { top: 20px; }
  .quote-btn__label { display: none; }
  .quote-btn { width: 42px; padding: 0; overflow: visible; }
  .quote-btn .badge { position: absolute; top: -5px; right: -5px; }
  .wa-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .q-item { grid-template-columns: 56px 1fr; }
  .q-item__img { width: 56px; height: 56px; }
  .q-item .stepper { grid-column: 2; justify-self: start; }
}
@media (max-width: 420px) {
  .site-header__in { gap: 10px; }
  .site-header__actions { gap: 6px; }
  .icon-btn { width: 40px; height: 40px; }
  .facts__item { padding: 20px 14px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid .p-card__body { padding: 12px; }
  .grid .p-card__name { font-size: .9rem; }
  .grid .p-card__foot { flex-direction: column; align-items: stretch; }
  .grid .add-btn { justify-content: center; }
  .grid .p-card__tag { display: none; }
  .hero__arrows { display: none; }
  .slide__actions .btn { flex: 1; }
}

/* ---------- 28. Selector segmentado (tienda) con indicador deslizante ---------- */
.segmented {
  position: relative; display: inline-flex; align-items: center; gap: 2px; padding: 4px; min-height: 48px; max-width: 100%;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; isolation: isolate;
}
.segmented::-webkit-scrollbar { display: none; }
.segmented__btn {
  position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px;
  font-size: .88rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; transition: color .3s var(--ease);
}
.segmented__btn:hover { color: var(--ink); }
.segmented__btn[aria-pressed="true"] { color: #fff; }
.segmented__btn small { font: 500 .72rem var(--font-mono); opacity: .7; }
.segmented__pill {
  position: absolute; z-index: 0; top: 4px; left: 0; height: 38px; width: 0; border-radius: 999px;
  background: var(--btn-primary); box-shadow: 0 8px 20px -10px rgba(60, 67, 154, .9);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.toolbar .select { min-height: 48px; padding-left: 18px; font-weight: 600; font-size: .9rem; }
.toolbar .btn { min-height: 48px; }
.toolbar__row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; width: 100%; }
.grid.is-updating { opacity: .5; transform: scale(.99); transition: opacity .15s, transform .15s; }
.grid { transition: opacity .3s, transform .3s var(--ease); }
.p-card.no-rise { animation: none; }

/* ---------- 29. Hero: parallax y elementos flotantes ---------- */
.hero { --px: 0; --py: 0; --sy: 0px; }
.slide__visual { transform: translate3d(calc(var(--px) * 18px), calc(var(--py) * 14px + var(--sy)), 0); transition: transform .5s var(--ease); }
.slide__copy { transform: translate3d(calc(var(--px) * -6px), calc(var(--sy) * -.4), 0); transition: transform .6s var(--ease); }
.hero__float { position: absolute; z-index: 2; pointer-events: none; border-radius: 50%; animation: float 7s ease-in-out infinite; }
.hero__float--1 { width: 14px; height: 14px; right: 9%; top: 22%; background: var(--slide-accent, #00bce4); box-shadow: 0 0 24px var(--slide-accent, #00bce4); translate: calc(var(--px) * 40px) calc(var(--py) * 30px); }
.hero__float--2 { width: 70px; height: 70px; right: 40%; bottom: 22%; border: 1px solid rgba(255,255,255,.18); animation-delay: -2s; translate: calc(var(--px) * -30px) calc(var(--py) * -24px); }
.hero__float--3 { width: 8px; height: 8px; right: 30%; top: 16%; background: #fff; opacity: .7; animation-delay: -4s; translate: calc(var(--px) * 24px) calc(var(--py) * 20px); }
.hero__chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); color: #fff; font-size: .78rem; font-weight: 700;
  animation: float 6s ease-in-out infinite; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
}
.hero__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--slide-accent); box-shadow: 0 0 10px var(--slide-accent); }
.hero__chip--a { left: 2%; top: 18%; }
.hero__chip--b { right: 0; bottom: 14%; animation-delay: -3s; }

/* ---------- 30. Revelados extra ---------- */
.reveal .section-head h2, .reveal.section-head h2 { clip-path: inset(0 0 100% 0); transform: translateY(.4em); transition: clip-path 1s var(--ease) .1s, transform 1s var(--ease) .1s; }
.reveal.is-in .section-head h2, .reveal.is-in.section-head h2 { clip-path: inset(-10% -5% -20% -5%); transform: none; }
.facts__item { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.facts.is-in .facts__item { opacity: 1; transform: none; }
.drawer.is-on .q-item { animation: slide-in .5s var(--ease) both; }
.drawer.is-on .q-item:nth-child(2) { animation-delay: .05s; } .drawer.is-on .q-item:nth-child(3) { animation-delay: .1s; }
.drawer.is-on .q-item:nth-child(4) { animation-delay: .15s; } .drawer.is-on .q-item:nth-child(n+5) { animation-delay: .2s; }
@keyframes slide-in { from { opacity: 0; transform: translateX(30px); } }
.drawer { transition: transform .55s cubic-bezier(.16, 1, .3, 1), visibility 0s .55s; }
.drawer.is-on { transition: transform .55s cubic-bezier(.16, 1, .3, 1); }
.drawer__head h2 .badge { transition: transform .3s var(--ease); }

@media (max-width: 1024px) {
  .hero__chip { display: none; }
  .slide__visual, .slide__copy { transform: none; }
}
@media (max-width: 760px) {
  .toolbar__row .select, .toolbar__row .toolbar__filters { flex: 1 1 0; min-width: 0; }
  .segmented { width: 100%; }
  .hero__float--2 { display: none; }
}
@media (hover: none) { .p-card:hover { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .slide__visual, .slide__copy, .hero__float, .hero__chip { transform: none !important; translate: none !important; }
  .reveal .section-head h2, .reveal.section-head h2 { clip-path: none; transform: none; }
  .facts__item { opacity: 1; transform: none; }
  .p-card:hover { transform: translateY(-4px); }
}

/* ---------- 31. Barra fija de cotización (todas las páginas) ----------
   WordPress: plantilla parcial (get_template_part) en footer.php; los datos
   vienen de la lista de YITH Request a Quote / localStorage. */
:root { --qbar-h: 0px; }
body.has-qbar { padding-bottom: var(--qbar-h); }
body.has-qbar .wa-fab { bottom: calc(var(--qbar-h) + 16px); transition: bottom .45s var(--ease), transform .3s var(--ease); }
body.has-qbar .toast { bottom: calc(var(--qbar-h) + 20px); }
.qbar {
  position: fixed; z-index: 75; left: 50%; bottom: 16px; width: min(820px, calc(100% - 200px));
  translate: -50% 0; transition: translate .5s cubic-bezier(.16, 1, .3, 1), opacity .35s;
}
.qbar[hidden] { display: block !important; translate: -50% calc(100% + 40px); opacity: 0; pointer-events: none; visibility: hidden; transition: translate .4s var(--ease), opacity .3s, visibility 0s .4s; }
.qbar__in {
  display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 14px; border-radius: 20px;
  background: #ffffff; color: #0a0f1f; border: 1px solid rgba(23, 23, 84, .12);
  box-shadow: 0 18px 50px -18px rgba(23, 23, 84, .45), 0 2px 6px rgba(23, 23, 84, .06);
}
.qbar__thumbs { display: flex; align-items: center; flex: none; padding: 0; background: none; border-radius: 14px; }
.qbar__thumb {
  position: relative; width: 44px; height: 44px; border-radius: 12px; flex: none; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #ffffff, #e9ecf6); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(23, 23, 84, .12);
}
.qbar__thumb + .qbar__thumb { margin-left: -12px; }
.qbar__thumb img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; }
.qbar__thumb--more { display: grid; place-items: center; background: #171754; color: #fff; font-size: .78rem; font-weight: 800; }
.qbar__thumb.is-new { animation: thumb-in .6s cubic-bezier(.16, 1, .3, 1); }
@keyframes thumb-in { from { transform: scale(.3) translateY(10px); opacity: 0; } }
.qbar__thumbs:hover .qbar__thumb + .qbar__thumb { margin-left: -6px; }
.qbar__thumb + .qbar__thumb { transition: margin .3s var(--ease); }
.qbar__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.qbar__count { font-weight: 800; font-size: .95rem; color: #171754; }
.qbar__msg { font-size: .86rem; color: #48526e; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qbar.is-collapsed .qbar__msg { display: none; }
.qbar.is-collapsed .qbar__keep { display: none; }
.qbar__actions { display: flex; gap: 8px; flex: none; }
.qbar__actions .btn { min-height: 44px; }
.qbar__keep { --btn-bg: #f1f3f9; --btn-ink: #171754; --btn-line: transparent; }
.qbar__send { --btn-ink: #fff; --btn-line: transparent; background: linear-gradient(135deg, #3c439a, #171754); }
.qbar__send::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: #00bce4; opacity: 0; transition: opacity .3s; }
.qbar__send:hover::before { opacity: 1; }
.qbar.is-pulse .qbar__in { animation: qbar-pulse .7s var(--ease); }
@keyframes qbar-pulse { 30% { transform: translateY(-6px); box-shadow: 0 24px 60px -18px rgba(60, 67, 154, .6); } }
.qbar__send-short { display: none; }

/* Feedback del botón "Cotizar" */
.add-btn.is-pop { animation: add-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes add-pop { 40% { transform: scale(1.12); } }
.fly-thumb { position: fixed; z-index: 130; pointer-events: none; object-fit: contain; border-radius: 12px; }

@media (max-width: 760px) {
  .qbar { left: 0; right: 0; bottom: 0; width: 100%; translate: none; }
  .qbar[hidden] { translate: 0 calc(100% + 20px); }
  .qbar__in { border-radius: 18px 18px 0 0; border-width: 1px 0 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; flex-wrap: wrap; }
  .qbar__thumb { width: 38px; height: 38px; }
  .qbar__actions { width: 100%; }
  .qbar__actions .btn { flex: 1 1 0; min-width: 0; min-height: 42px; padding: 0 12px; font-size: .86rem; }
  .qbar.is-collapsed .qbar__actions { width: auto; }
  .qbar.is-collapsed .qbar__in { flex-wrap: nowrap; }
  .qbar__send-long { display: none; }
  .qbar__send-short { display: inline; }
  body.has-qbar .wa-fab { bottom: calc(var(--qbar-h) + 12px); }
}
@media (min-width: 761px) and (max-width: 1024px) { .qbar { width: calc(100% - 120px); left: 16px; translate: none; } .qbar[hidden] { translate: 0 calc(100% + 40px); } }

/* Las tarjetas de industria ahora son enlaces */
a.industry { color: inherit; }
a.industry:focus-visible { box-shadow: var(--ring); }
.industries__more { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- 32. Página de industrias (una página con secciones ancladas) ----------
   WordPress: página "Soluciones" con una sección Elementor por industria (ID de anclaje),
   y el bloque de equipos como [products ids="…"] + campo ACF con el motivo. */
.page-hero--corp { background: linear-gradient(120deg, #171754 0%, #22276e 55%, #3c439a 100%); }
.page-hero--corp::before { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.page-hero--corp .eyebrow { color: #7fdcf2; }
.page-hero--corp .eyebrow::before { background: #00bce4; }
.ind-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; padding: 40px 0 96px; }
.ind-nav { position: sticky; top: calc(var(--header-h) + 20px); }
.ind-nav h2 { font: 600 .72rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 12px 12px; }
.ind-nav ul { list-style: none; display: grid; gap: 2px; }
.ind-nav li a {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px;
  font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: background-color .25s, color .25s;
}
.ind-nav li a svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ind-nav li a svg .duo { display: none; }
.ind-nav li a:hover { background: var(--surface-2); color: var(--ink); }
.ind-nav li a[aria-current="true"] { background: color-mix(in srgb, var(--isoltel-indigo) 10%, transparent); color: var(--brand); }
.ind-nav li a[aria-current="true"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--isoltel-indigo); }
:root[data-theme="dark"] .ind-nav li a[aria-current="true"]::before { background: var(--brand); }
.ind-nav__cta { margin-top: 20px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; font-size: .88rem; color: var(--ink-2); }
.ind-nav__cta b { color: var(--ink); }

.ind { display: grid; gap: 28px; padding-bottom: 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.ind:last-child { border-bottom: 0; margin-bottom: 0; }
.ind__head {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl); color: #fff;
  background: linear-gradient(120deg, #171754, #3c439a);
}
.ind__head::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 0 0 40px rgba(255,255,255,.03), 0 0 0 80px rgba(255,255,255,.02); }
.ind__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; }
.ind__ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind__ico svg .duo { display: none; }
.ind__head .eyebrow { color: #7fdcf2; }
.ind__head .eyebrow::before { background: #00bce4; }
.ind__head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 10px 0 10px; }
.ind__head p { color: rgba(255,255,255,.82); max-width: 64ch; }
/* entrada sutil del encabezado */
.ind__head.reveal .ind__ico { transform: scale(.7); opacity: 0; transition: transform .7s var(--ease) .15s, opacity .7s .15s; }
.ind__head.reveal.is-in .ind__ico { transform: none; opacity: 1; }
.ind__head.reveal::after { transform: scale(.6); opacity: 0; transition: transform 1.2s var(--ease) .2s, opacity 1s .2s; }
.ind__head.reveal.is-in::after { transform: none; opacity: 1; }

.ind__subtitle { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 14px; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.reason { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.reason__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--isoltel-indigo) 9%, transparent); color: var(--brand); }
.reason h4 { font-size: .98rem; letter-spacing: -.01em; margin-bottom: 3px; }
.reason p { color: var(--ink-2); font-size: .9rem; }

.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; list-style: none; }
.pick { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.pick:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--isoltel-indigo) 30%, var(--line)); }
.pick__stage { position: relative; aspect-ratio: 4 / 3; margin: 6px 6px 0; border-radius: calc(var(--r-lg) - 6px); background: radial-gradient(70% 60% at 50% 38%, var(--stage-1), var(--stage-2)); }
.pick__stage::after { content: ""; position: absolute; left: 50%; bottom: calc(14% - 7px); width: 50%; height: 14px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, var(--floor), transparent); filter: blur(3px); }
.pick__stage img { position: absolute; z-index: 1; left: 15%; top: 10%; width: 70%; height: 76%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 10px 10px rgba(8, 12, 30, .16)); transition: transform .5s var(--ease); }
.pick:hover .pick__stage img { transform: translateY(-5px); }
.pick__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pick__brand { font: 600 .68rem/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pick__name { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.pick__name a:hover { color: var(--brand); }
.pick__why { font-size: .86rem; color: var(--ink-2); padding-left: 10px; border-left: 2px solid color-mix(in srgb, var(--isoltel-cyan) 60%, transparent); }
.pick__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pick__foot a { font-size: .82rem; font-weight: 600; color: var(--ink-3); }
.pick__foot a:hover { color: var(--brand); }
.ind__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); }
.ind__cta p { color: var(--ink-2); font-weight: 600; }

@media (max-width: 1024px) {
  .ind-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 0; }
  .ind-nav { top: var(--header-h); z-index: 20; margin: 0 -16px; padding: 10px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .ind-nav h2, .ind-nav__cta { display: none; }
  .ind-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .ind-nav ul::-webkit-scrollbar { display: none; }
  .ind-nav li a { white-space: nowrap; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
  .ind-nav li a[aria-current="true"]::before { display: none; }
  .ind-nav li a[aria-current="true"] { background: #3c439a; color: #fff; border-color: transparent; }
  .ind { scroll-margin-top: calc(var(--header-h) + 76px); }
}
@media (max-width: 760px) {
  .reasons { grid-template-columns: minmax(0, 1fr); }
  .ind__head { grid-template-columns: 1fr; gap: 14px; }
  .ind__ico { width: 54px; height: 54px; }
  .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pick__body { padding: 12px; }
  .pick__foot { flex-direction: column; align-items: stretch; }
  .pick__foot .add-btn { justify-content: center; }
}
@media (max-width: 380px) { .picks { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .qbar, .qbar[hidden] { transition: none; }
  .qbar.is-pulse .qbar__in, .add-btn.is-pop, .qbar__thumb.is-new { animation: none; }
  .ind__head.reveal .ind__ico, .ind__head.reveal::after { transform: none; opacity: 1; }
}

/* ---------- 27. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
  /* El slider del inicio y el carrusel de logos siguen en movimiento (contenido principal); se pausan al pasar el mouse sobre los controles/logos */
  .marquee__track { animation: marquee var(--dur) linear infinite !important; }
  .marquee--reverse .marquee__track { animation-direction: reverse !important; }
  .marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused !important; }
  .hero__tab[aria-selected="true"] .hero__bar i { animation: progress var(--slide-ms, 7000ms) linear forwards !important; }
  .hero.is-paused .hero__tab[aria-selected="true"] .hero__bar i { animation-play-state: paused !important; }
}

/* Zona de hover estable: el cursor no "sale" de la tarjeta al elevarse (evita parpadeo en el borde inferior) */
.industry::before, .p-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; }

/* Industrias: una sección visible a la vez */
.ind[hidden] { display: none; }
.ind { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; animation: ind-in .45s var(--ease) both; }
@keyframes ind-in { from { opacity: 0; transform: translateY(14px); } }
.ind__next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-weight: 600; }

/* Aviso de demo */
.demo-notice{position:fixed;left:50%;bottom:76px;transform:translateX(-50%);z-index:9999;max-width:min(92vw,760px);padding:8px 14px;border-radius:999px;background:#0f172a;color:#fff;font:500 12px/1.4 system-ui,sans-serif;text-align:center;box-shadow:0 6px 24px rgba(15,23,42,.25)}
.demo-notice strong{font-weight:700}
@media (max-width:640px){.demo-notice{border-radius:14px;font-size:11px;bottom:84px}}
