/* ==========================================================================
   Servi-Tec — sistema de diseño
   Tema claro/oscuro automático según el sistema operativo (prefers-color-scheme).
   Todo el color vive en variables: cambia la paleta SOLO en los dos bloques de abajo.
   ========================================================================== */

/* ---------- Fuentes (autoalojadas) ---------- */
@font-face{font-family:'Sora Variable';font-style:normal;font-display:swap;font-weight:100 800;src:url(../fonts/sora-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Sora Variable';font-style:normal;font-display:swap;font-weight:100 800;src:url(../fonts/sora-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Variable';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter Variable';font-style:normal;font-display:swap;font-weight:100 900;src:url(../fonts/inter-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Paleta · CLARO (por defecto) ---------- */
:root {
  color-scheme: light dark;

  --bg: #f6f7fc;
  --bg-soft: #eceefa;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --text: #0e1128;
  --dim: #555c7a;
  --faint: #8a90ab;
  --line: rgba(14, 17, 40, 0.09);
  --line-strong: rgba(14, 17, 40, 0.18);

  --brand: #5846f5;      /* índigo señal */
  --brand-2: #0a9fc2;    /* cian conexión */
  --accent: #f0457f;     /* coral de acento */
  --btn-a: #6150f7;
  --btn-b: #4634dd;
  --wa: #1fb956;
  --wa-ink: #ffffff;

  --shadow-sm: 0 1px 2px rgba(14, 17, 40, 0.05), 0 6px 18px rgba(14, 17, 40, 0.05);
  --shadow-md: 0 2px 4px rgba(14, 17, 40, 0.04), 0 16px 40px -12px rgba(70, 52, 221, 0.22);
  --shadow-pop: 0 24px 60px -18px rgba(14, 17, 40, 0.28);

  --grad-text: linear-gradient(100deg, #5846f5 0%, #8e3df0 48%, #0a9fc2 100%);
  --fx-1: rgba(88, 70, 245, 0.16);
  --fx-2: rgba(10, 159, 194, 0.15);
  --fx-3: rgba(240, 69, 127, 0.1);
  --stars-opacity: 0;
  --dot-grid: rgba(14, 17, 40, 0.09);

  --radius: 20px;
  --radius-sm: 14px;
  --display: 'Sora Variable', 'Sora', system-ui, sans-serif;
  --body: 'Inter Variable', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
}

/* ---------- Paleta · OSCURO ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080917;
    --bg-soft: #0d0f23;
    --surface: #12142b;
    --surface-glass: rgba(18, 20, 43, 0.7);
    --text: #eef0ff;
    --dim: #a3a9c9;
    --faint: #6f7599;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.2);

    --brand: #8b7dff;
    --brand-2: #3ddbee;
    --accent: #ff6aa2;
    --wa: #25d366;
    --wa-ink: #05200f;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.4), 0 20px 50px -14px rgba(111, 90, 255, 0.35);
    --shadow-pop: 0 28px 70px -16px rgba(0, 0, 0, 0.7);

    --grad-text: linear-gradient(100deg, #ff8cb8 0%, #a592ff 45%, #3ddbee 100%);
    --fx-1: rgba(111, 90, 255, 0.32);
    --fx-2: rgba(61, 219, 238, 0.2);
    --fx-3: rgba(255, 106, 162, 0.18);
    --stars-opacity: 0.55;
    --dot-grid: rgba(255, 255, 255, 0.07);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--brand) 35%, transparent); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
main { position: relative; z-index: 1; }
section { padding: 96px 0; position: relative; }
section.tight-top { padding-top: 0; }
section.anchor { scroll-margin-top: 90px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Fondo global ---------- */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: ''; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 85% 8%, var(--fx-1), transparent 70%),
    radial-gradient(35% 30% at 8% 30%, var(--fx-2), transparent 70%),
    radial-gradient(40% 35% at 70% 95%, var(--fx-3), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
.bg-fx::after {
  content: ''; position: absolute; inset: 0; opacity: var(--stars-opacity);
  background-image:
    radial-gradient(1.2px 1.2px at 20px 30px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 140px 90px, #fff, transparent),
    radial-gradient(1px 1px at 90px 160px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 230px 40px, #fff, transparent),
    radial-gradient(1px 1px at 300px 120px, #fff, transparent),
    radial-gradient(1.2px 1.2px at 360px 200px, #fff, transparent),
    radial-gradient(1px 1px at 60px 220px, #fff, transparent);
  background-size: 400px 260px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
@keyframes drift { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }

.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(var(--dot-grid) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
}

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px 24px; transition: padding .25s, background .25s, box-shadow .25s; }
.site-header.is-scrolled { padding-block: 10px; background: var(--surface-glass); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.nav-row { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; width: fit-content; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--brand) 40%, transparent)); }
.brand-text i { font-style: normal; color: var(--brand-2); margin: 0 1px; }
.brand-text b { font-weight: 700; color: var(--dim); }

.pillnav {
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: var(--surface-glass); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow-sm);
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 17px; border-radius: 999px; border: 0; background: none;
  font-size: 14px; font-weight: 500; color: var(--dim); cursor: pointer; transition: color .2s, background .2s; white-space: nowrap;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--text); background: color-mix(in srgb, var(--brand) 10%, transparent); }
.nav-link.current { color: var(--text); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.chev { transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; width: 300px; padding: 8px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown::before { content: ''; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; transition: background .15s; }
.dropdown a:hover, .dropdown a:focus-visible { background: color-mix(in srgb, var(--brand) 9%, transparent); }
.dd-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.dd-text { display: flex; flex-direction: column; line-height: 1.3; }
.dd-text strong { font-size: 14px; font-weight: 600; }
.dd-text small { font-size: 12.5px; color: var(--dim); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; cursor: pointer; background: var(--surface-glass); border: 1px solid var(--line); }

.mobile-panel {
  position: fixed; top: calc(var(--header-h) - 6px); left: 14px; right: 14px; z-index: 101; padding: 12px;
  display: flex; flex-direction: column; gap: 2px; max-height: calc(100dvh - var(--header-h) - 20px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s;
}
.mobile-panel.open { opacity: 1; visibility: visible; transform: none; }
.mobile-link, .mobile-acc > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 12px; border: 0; background: none;
  font-size: 16px; font-weight: 600; text-align: left; border-radius: 12px; cursor: pointer;
}
.mobile-link:hover, .mobile-acc > button:hover { background: color-mix(in srgb, var(--brand) 8%, transparent); }
.mobile-acc.open .chev { transform: rotate(180deg); }
.mobile-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.mobile-acc.open .mobile-sub { grid-template-rows: 1fr; }
.mobile-sub > div { overflow: hidden; display: flex; flex-direction: column; }
.mobile-sub a { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 20px; color: var(--dim); font-size: 15px; border-radius: 10px; }
.mobile-sub a svg { color: var(--brand); }
.mobile-panel .btn { margin-top: 10px; justify-content: center; }
.scrim { position: fixed; inset: 0; z-index: 99; border: 0; background: color-mix(in srgb, var(--bg) 55%, transparent); backdrop-filter: blur(4px); }

/* ---------- Botones / etiquetas ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--body); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .18s, box-shadow .18s, border-color .18s, background .18s;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--btn-b) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--btn-b) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: var(--surface-glass); border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--wa); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--dim); background: var(--surface-glass); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.eyebrow b { font-weight: 600; color: var(--text); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 color-mix(in srgb, var(--wa) 60%, transparent); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { display: inline-block; padding: 5px 11px; border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--btn-b)); }

/* ---------- Tarjetas ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
a.card:hover, .card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: var(--shadow-md); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; color: var(--brand);
  background: linear-gradient(145deg, color-mix(in srgb, var(--brand) 16%, transparent), color-mix(in srgb, var(--brand-2) 14%, transparent));
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
}
.icon-tile.sm { width: 40px; height: 40px; border-radius: 12px; }

/* ---------- Encabezados de sección / página ---------- */
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2, .h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.section-head .tag + h2 { margin-top: 14px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { color: var(--dim); margin-top: 14px; font-size: 17px; }
.body-dim { color: var(--dim); font-size: 17px; margin-top: 18px; }
.h2 { margin-top: 4px; }

.page-hero { position: relative; padding: calc(var(--header-h) + 72px) 0 64px; isolation: isolate; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1.04; }
.page-hero .lead { color: var(--dim); font-size: 18px; max-width: 60ch; margin-top: 18px; }
.page-hero .cta-row, .page-hero .stats-row { margin-top: 30px; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.stats-row { display: flex; gap: 56px; flex-wrap: wrap; }
.stat .num { font-family: var(--display); font-size: clamp(40px, 5vw, 56px); font-weight: 700; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat .label { margin-top: 8px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }

/* ---------- Hero inicio ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 76px) 0 70px; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); font-weight: 700; line-height: 1; letter-spacing: -0.035em; }
.hero .lead { margin: 24px 0 32px; font-size: 18.5px; color: var(--dim); max-width: 46ch; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 14px; color: var(--dim); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { color: var(--wa); }

.net { position: relative; aspect-ratio: 400 / 420; width: 100%; max-width: 520px; margin-inline: auto; }
.net-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.net-ring { position: absolute; left: 48.75%; top: 48.8%; border-radius: 50%; border: 1px solid var(--line-strong); transform: translate(-50%, -50%); opacity: .7; }
.net-ring.r1 { width: 38%; aspect-ratio: 1; }
.net-ring.r2 { width: 68%; aspect-ratio: 1; opacity: .5; }
.net-ring.r3 { width: 98%; aspect-ratio: 1; opacity: .3; }
.net-line { stroke: var(--line-strong); stroke-width: 1.4; }
.net-flow { stroke: var(--brand-2); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 10 320; stroke-dashoffset: 330; animation: flow 3.6s linear infinite; }
.net-flow.accent { stroke: var(--accent); }
@keyframes flow { to { stroke-dashoffset: -330; } }
.net-node .halo { fill: color-mix(in srgb, var(--brand-2) 22%, transparent); }
.net-node .dot { fill: var(--brand-2); }
.net-node.accent .halo { fill: color-mix(in srgb, var(--accent) 22%, transparent); }
.net-node.accent .dot { fill: var(--accent); }
.net-node { animation: pulse 3.2s ease-in-out infinite; }
.net-core { animation: pulse 3.2s ease-in-out infinite; }
.net-core .halo { fill: color-mix(in srgb, var(--brand) 24%, transparent); }
.net-core .dot { fill: var(--brand); }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.18); opacity: 1; } }
.chip {
  position: absolute; padding: 14px 18px; border-radius: 16px; min-width: 150px;
  background: var(--surface-glass); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm);
  animation: floaty 6s ease-in-out infinite alternate;
}
.chip strong { display: block; font-family: var(--display); font-size: 24px; line-height: 1.1; }
.chip span { font-size: 12px; color: var(--dim); }
.chip-a { left: -2%; bottom: 2%; }
.chip-b { right: -2%; top: 2%; animation-delay: -3s; }
@keyframes floaty { to { transform: translateY(-8px); } }

/* ---------- Inicio: bloques ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quick-grid > *, .pillars > *, .pricing-grid > *, .info-row > *, .legal-grid > *, .services-grid > * { display: flex; }
.quick-grid .card, .pillars .card, .pricing-grid .card, .info-row .card, .legal-grid .card, .services-grid .card { width: 100%; }
.quick-card { padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.quick-card h3 { font-size: 19px; margin-top: 6px; }
.quick-card p { color: var(--dim); font-size: 14.5px; }
.quick-card .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.quick-card .more svg { transition: transform .2s; }
.quick-card:hover .more svg { transform: translateX(4px); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.pillar h3 { font-size: 22px; }
.pillar p { color: var(--dim); font-size: 15.5px; }

.two-col { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.gallery { position: relative; aspect-ratio: 4 / 3.2; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-pop); background: var(--bg-soft); }
.gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 1s ease, transform 6s ease; }
.gallery img.active { opacity: 1; transform: scale(1); }
.gallery-shade { position: absolute; inset: auto 0 0 0; height: 35%; background: linear-gradient(to top, rgba(8, 9, 23, .55), transparent); pointer-events: none; }
.gallery-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; z-index: 2; }
.gallery-dots button { width: 22px; height: 22px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.gallery-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width .3s, background .3s; }
.gallery-dots button.active::before { width: 22px; background: #fff; }

.brands-section { padding-bottom: 80px; }
.marquee { overflow: hidden; padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: scroll 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 20px; padding-right: 20px; }
@keyframes scroll { to { transform: translateX(-50%); } }
.brand-chip { width: 164px; height: 72px; flex: none; display: grid; place-items: center; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.brand-chip img { height: 42px; width: auto; max-width: 128px; object-fit: contain; }

.banner { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 52px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md); isolation: isolate; }
.banner-glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 0% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%), radial-gradient(50% 100% at 100% 100%, color-mix(in srgb, var(--brand-2) 16%, transparent), transparent 60%); }
.banner-icon { width: 120px; height: 120px; border-radius: 32px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--btn-a), var(--brand-2)); box-shadow: 0 18px 40px -14px var(--brand); }
.banner-copy h3 { font-size: clamp(24px, 3.2vw, 36px); }
.banner-copy p { color: var(--dim); margin: 12px 0 24px; max-width: 52ch; font-size: 17px; }
.banner-copy .eyebrow { margin-bottom: 14px; }

/* ---------- Servicios ---------- */
.cat-nav { position: sticky; top: calc(var(--header-h) - 4px); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 8px; margin: 0 0 48px; border-radius: 999px; width: fit-content; max-width: 100%; background: var(--surface-glass); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: var(--shadow-sm); scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--dim); white-space: nowrap; transition: color .2s, background .2s; }
.cat-nav a:hover { color: var(--text); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.cat-nav a svg { color: var(--brand); }
.cat-block { margin-bottom: 64px; scroll-margin-top: 150px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cat-head h2 { font-size: clamp(24px, 3vw, 30px); }
.cat-head p { color: var(--dim); font-size: 15px; margin-top: 4px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-item { padding: 22px; display: flex; gap: 16px; align-items: flex-start; }
.service-item p { font-size: 16px; padding-top: 6px; }

/* ---------- Internet ---------- */
.signal-art { display: grid; place-items: center; }
.signal-art svg { width: min(100%, 340px); filter: drop-shadow(0 20px 40px color-mix(in srgb, var(--brand) 35%, transparent)); }
.signal-art .w1 { animation: wave 2.6s ease-in-out infinite; }
.signal-art .w2 { animation: wave 2.6s ease-in-out .35s infinite; }
@keyframes wave { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.price-card h3 { font-size: 20px; }
.price-card .folio { font-size: 12px; color: var(--faint); margin-top: -8px; }
.price { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price .cur { font-size: 22px; vertical-align: top; margin-right: 2px; color: var(--dim); position: relative; top: 4px; }
.price small { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--dim); letter-spacing: 0; margin-left: 2px; }
.speed-top { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--dim); }
.speed-top svg { color: var(--brand); }
.speed-top strong { color: var(--text); }
.speed-bar { height: 6px; border-radius: 999px; margin-top: 10px; background: var(--line); overflow: hidden; }
.speed-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.price-card ul { display: flex; flex-direction: column; gap: 9px; margin: 4px 0 8px; }
.price-card li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--dim); }
.price-card li svg { color: var(--wa); flex: none; }
.price-card .btn { margin-top: auto; }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow-md); background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 9%, var(--surface)), var(--surface) 55%); }
.badge { position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--accent), var(--btn-a)); box-shadow: 0 6px 16px -6px var(--accent); }
.note { margin-top: 28px; color: var(--dim); font-size: 14.5px; max-width: 72ch; }
.note a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.coverage-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.coverage-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coverage-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s; }
.coverage-photos img:nth-child(3n+2) { transform: translateY(18px); }
.coverage-photos img:hover { transform: translateY(-4px) scale(1.02); }
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; }
.zone-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.zone-chip svg { color: var(--brand); }
.zone-chip:hover { border-color: var(--brand); transform: translateY(-2px); }

.info-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.info-card h4 { font-size: 17px; margin-top: 8px; }
.info-card p { color: var(--dim); font-size: 14.5px; }

.legal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.legal-link { padding: 16px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; }
.legal-link .end { margin-left: auto; color: var(--faint); transition: color .2s, transform .2s; flex: none; }
.legal-link:hover .end { color: var(--brand); transform: translateY(-1px); }

/* ---------- Contacto ---------- */
.wa-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 40px; border-radius: 28px; border: 1px solid color-mix(in srgb, var(--wa) 35%, var(--line)); background: linear-gradient(120deg, color-mix(in srgb, var(--wa) 12%, var(--surface)), var(--surface) 70%); box-shadow: var(--shadow-sm); }
.wa-cta-copy { display: flex; align-items: center; gap: 20px; }
.wa-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 24px -8px var(--wa); }
.wa-cta h3 { font-size: 24px; }
.wa-cta p { color: var(--dim); margin-top: 4px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.map-frame { border-radius: 24px; overflow: hidden; min-height: 380px; height: 100%; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (prefers-color-scheme: dark) { .map-frame iframe { filter: invert(.92) hue-rotate(180deg) contrast(.9) saturate(.8); } }
.contact-card { padding: 12px 28px; }
.contact-card:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .label { font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin-bottom: 3px; }
.contact-row a { font-weight: 500; }
.contact-row a:hover { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; margin-top: 40px; padding: 72px 0 28px; background: var(--bg-soft); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot-about p { margin: 16px 0 18px; color: var(--dim); max-width: 32ch; font-size: 15px; }
.social { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--dim); transition: color .2s; }
.social:hover { color: var(--brand); }
.foot-col h5 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; font-family: var(--body); font-weight: 600; }
.foot-col a, .foot-col p { display: flex; align-items: center; gap: 9px; color: var(--dim); font-size: 14.5px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--brand); }
.foot-col a svg, .foot-hours svg { color: var(--brand); flex: none; }
.foot-col p:not(.foot-hours) { display: block; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 24px; font-size: 13px; color: var(--faint); }
.foot-bottom a:hover { color: var(--brand); }

.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 0; height: 56px; padding: 0 15px; border-radius: 999px; background: var(--wa); color: var(--wa-ink); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45); transition: transform .2s, padding .25s, gap .25s; }
.fab-label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: 14.5px; transition: max-width .3s; }
.fab:hover { transform: translateY(-3px); gap: 8px; padding-right: 20px; }
.fab:hover .fab-label { max-width: 100px; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .quick-grid, .pricing-grid, .legal-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { row-gap: 26px; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  section { padding: 72px 0; }
  .nav-row { grid-template-columns: 1fr auto; }
  .pillnav, .header-cta { display: none; }
  .burger { display: grid; }
  .hero-grid, .page-hero-grid, .two-col, .coverage-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; }
  .net { max-width: 400px; }
  .signal-art { order: -1; justify-items: start; }
  .signal-art svg { width: 180px; }
  .pillars, .services-grid, .info-row { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 1fr; padding: 34px 26px; text-align: center; justify-items: center; gap: 24px; }
  .banner-icon { width: 92px; height: 92px; border-radius: 26px; }
  .banner-copy p { margin-inline: auto; }
  .wa-cta { padding: 28px 24px; }
  .contact-grid .map-frame, .map-frame iframe { min-height: 300px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .quick-grid, .pricing-grid, .legal-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .coverage-photos { grid-template-columns: repeat(2, 1fr); }
  .coverage-photos img:nth-child(3n+2) { transform: none; }
  .chip { min-width: 0; padding: 10px 14px; }
  .chip strong { font-size: 20px; }
  .cta-row .btn { width: 100%; }
  .fab { right: 16px; bottom: 16px; }
  .cat-nav { border-radius: 20px; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Extras (versión sin framework) ---------- */
.burger .i-close, .burger[aria-expanded="true"] .i-menu { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.scrim[hidden] { display: none; }
