/* =============================================================
   CSRD ULTRAFIBRA — Design System
   Token-driven (primitive -> semantic). Brand palette extracted
   from the official UltraFibra logo.
   ============================================================= */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand primitives — ULTRA (blue side) */
  --cyan-300: #5fe0f4;
  --cyan-400: #29cdec;
  --cyan-500: #13c2e8;
  --blue-500: #1379cf;
  --blue-600: #0e63c4;
  --blue-700: #0a4fa0;
  --blue-800: #073a7c;
  --navy-900: #06224f;
  --navy-950: #04183a;

  /* Brand primitives — FIBRA (warm side) */
  --gold-300: #ffd766;
  --gold-400: #f9c63a;
  --gold-500: #f4b81e;
  --amber-500: #ef9a1c;
  --orange-500: #ea6a1c;
  --orange-600: #d9560f;

  /* Neutrals */
  --ink-950: #081024;
  --ink-900: #0c1730;
  --ink-700: #20293f;
  --slate-600: #455067;
  --slate-500: #5d687f;
  --slate-400: #8b94a7;
  --slate-300: #b9c0cf;
  --line: #e5eaf2;
  --line-soft: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f9fbfe;
  --bg: #f5f8fd;
  --bg-tint: #eaf2fc;

  /* Semantic */
  --text: #0c1730;
  --text-soft: #455067;
  --text-mut: #6c768c;
  --on-dark: #eaf1fb;
  --on-dark-soft: #a7b6d4;
  --color-primary: var(--blue-700);
  --color-accent: var(--orange-500);
  --focus: #2a93e0;

  /* Gradients */
  --grad-ultra: linear-gradient(135deg, var(--cyan-500) 0%, var(--blue-700) 100%);
  --grad-fibra: linear-gradient(135deg, var(--gold-500) 0%, var(--orange-500) 100%);
  --grad-cta: linear-gradient(180deg, #f08a2c 0%, var(--orange-600) 100%);
  --grad-brand: linear-gradient(110deg, var(--cyan-500), var(--blue-600) 45%, var(--gold-500) 78%, var(--orange-500));
  --grad-hero: radial-gradient(1200px 700px at 78% -10%, rgba(19,194,232,.22), transparent 55%),
               radial-gradient(900px 600px at 5% 110%, rgba(234,106,28,.16), transparent 50%),
               linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--blue-800) 120%);

  /* Typography */
  --font-head: 'Sora', system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Type scale */
  --fs-display: clamp(2.45rem, 1.6rem + 3.6vw, 4.3rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.1vw, 2.85rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem);

  /* Spacing scale (4/8 rhythm) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(8,16,36,.06);
  --sh-sm: 0 2px 8px rgba(8,16,36,.06), 0 1px 2px rgba(8,16,36,.05);
  --sh-md: 0 10px 30px -12px rgba(10,40,90,.18);
  --sh-lg: 0 24px 60px -20px rgba(8,30,70,.28);
  --sh-cta: 0 12px 26px -10px rgba(217,86,15,.55);
  --sh-ring: 0 0 0 4px rgba(42,147,224,.28);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(18px, 5vw, 40px);
  --header-h: 72px;
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: none; box-shadow: var(--sh-ring); border-radius: var(--r-sm); }
::selection { background: var(--cyan-300); color: var(--navy-950); }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-fibra); }
.eyebrow--light { color: var(--cyan-300); }
.section-head { max-width: 660px; margin-bottom: var(--sp-7); }
.section-head h2 { font-size: var(--fs-h2); margin-top: var(--sp-3); }
.section-head p { color: var(--text-soft); font-size: var(--fs-lead); margin-top: var(--sp-4); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.grad-ultra { background: var(--grad-ultra); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-fibra { background: var(--grad-fibra); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-pill);
  min-height: 48px; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--grad-cta); color: #fff; box-shadow: var(--sh-cta); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(217,86,15,.6); }
.btn--primary:active { transform: translateY(0); }
.btn--dark { background: var(--navy-900); color: #fff; box-shadow: var(--sh-md); }
.btn--dark:hover { transform: translateY(-2px); background: var(--ink-900); }
.btn--ghost { background: rgba(255,255,255,.08); color: var(--on-dark); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn--outline { background: var(--surface); color: var(--blue-700); border: 1.5px solid var(--line); box-shadow: var(--sh-xs); }
.btn--outline:hover { border-color: var(--blue-500); color: var(--blue-800); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn--wa { background: #1faf54; color: #fff; box-shadow: 0 12px 26px -12px rgba(31,175,84,.6); }
.btn--wa:hover { background: #1a9a49; transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 18px; min-height: 42px; font-size: .92rem; }

/* ---------- 5. Header ---------- */
.announce {
  background: var(--navy-950); color: var(--on-dark);
  font-size: .82rem; letter-spacing: .01em;
}
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 38px; flex-wrap: wrap; text-align: center; }
.announce strong { color: #fff; font-weight: 600; }
.announce .dot { color: var(--cyan-400); }
.announce a { color: var(--cyan-300); font-weight: 600; }
.announce a:hover { text-decoration: underline; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: var(--sh-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 38px; width: auto; }
.brand__name { display: none; }
.nav__links { display: none; align-items: center; gap: 6px; }
.nav__links a {
  font-size: .95rem; font-weight: 500; color: var(--text-soft);
  padding: 9px 14px; border-radius: var(--r-pill); position: relative;
  transition: color .2s ease, background .2s ease;
}
.nav__links a:hover { color: var(--blue-800); background: var(--bg-tint); }
.nav__links a.active { color: var(--blue-800); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-md); color: var(--navy-900);
  background: var(--surface); border: 1px solid var(--line);
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .icon-close { display: none; }
body.menu-open .nav__toggle .icon-open { display: none; }
body.menu-open .nav__toggle .icon-close { display: block; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; top: 0; height: 100dvh; width: min(86vw, 360px);
  background: var(--surface); z-index: 200; padding: 26px 24px;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: var(--sh-lg);
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-menu__head img { height: 34px; }
.mobile-menu a.m-link {
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--text);
  padding: 14px 8px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu a.m-link:hover { color: var(--blue-700); }
.mobile-menu .btn { margin-top: 18px; }
.scrim {
  position: fixed; inset: 0; background: rgba(6,16,40,.5); z-index: 150;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; backdrop-filter: blur(2px);
}
body.menu-open .scrim { opacity: 1; visibility: visible; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; background: var(--grad-hero); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__fiber { position: absolute; inset: 0; z-index: -1; opacity: .9; pointer-events: none; }
.hero .wrap { position: relative; }
.hero__grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(48px, 6vw, 60px);
  padding-block: clamp(54px, 9vw, 104px); align-items: center;
}
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; font-weight: 600;
  padding: 7px 14px 7px 9px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--on-dark);
  backdrop-filter: blur(6px);
}
.hero__pill .live { width: 9px; height: 9px; border-radius: 50%; background: #36e07a; box-shadow: 0 0 0 0 rgba(54,224,122,.6); animation: pulse 2.2s infinite; }
.hero h1 { color: #fff; font-size: var(--fs-display); margin-top: 0; }
.hero h1 .grad-ultra, .hero h1 .grad-fibra { -webkit-text-fill-color: transparent; }
.hero__lead { color: var(--on-dark-soft); font-size: var(--fs-lead); margin-top: var(--sp-5); max-width: 38ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--sp-6); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: var(--sp-7); }
.hero__trust li { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--on-dark); }
.hero__trust svg { width: 20px; height: 20px; color: var(--cyan-400); flex-shrink: 0; }

/* Hero visual: speed gauge card */
.hero__visual { position: relative; width: min(100%, 420px); margin-inline: auto; }
.speed-card {
  width: min(100%, 420px); background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-xl);
  padding: 26px; backdrop-filter: blur(14px); box-shadow: var(--sh-lg); position: relative; z-index: 1;
}
.speed-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.speed-card__top span { font-size: .82rem; color: var(--on-dark-soft); }
.speed-card__badge { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #36e07a; display: inline-flex; gap: 7px; align-items: center; }
.gauge { position: relative; width: 100%; aspect-ratio: 2 / 1.18; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge__val { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; }
.gauge__num { font-family: var(--font-head); font-size: clamp(2.6rem, 9vw, 3.4rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.gauge__unit { font-size: 1rem; color: var(--cyan-300); font-weight: 600; }
.gauge__label { display: block; margin-top: 6px; font-size: .8rem; color: var(--on-dark-soft); }
.speed-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 18px; }
.speed-metrics div { background: rgba(255,255,255,.06); border-radius: var(--r-md); padding: 12px 10px; text-align: center; }
.speed-metrics b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.speed-metrics small { font-size: .72rem; color: var(--on-dark-soft); }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--navy-900); padding: 11px 15px; border-radius: var(--r-md);
  box-shadow: var(--sh-lg); font-size: .85rem; font-weight: 600;
}
.float-chip svg { width: 22px; height: 22px; }
.float-chip--1 { top: -32px; left: -14px; animation: floaty 5s ease-in-out infinite; }
.float-chip--2 { bottom: -30px; right: -14px; animation: floaty 6s ease-in-out infinite .8s; }
.float-chip .fc-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; }

.wave-sep { display: block; width: 100%; height: auto; color: var(--bg); margin-top: -1px; }

/* ---------- 7. Stats strip ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); }
.stat { background: var(--surface); padding: 26px 22px; text-align: center; }
.stat b { font-family: var(--font-head); font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; display: block; letter-spacing: -0.03em; }
.stat span { font-size: .88rem; color: var(--text-soft); margin-top: 4px; display: block; }

/* ---------- 8. Features ---------- */
.features__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.feature__ico { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff; margin-bottom: 18px; box-shadow: var(--sh-sm); }
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--fs-h3); }
.feature p { color: var(--text-soft); margin-top: 10px; font-size: .96rem; }
.ico-blue { background: var(--grad-ultra); }
.ico-warm { background: var(--grad-fibra); }

/* ---------- 9. Pricing ---------- */
.pricing { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%); }
.plans { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan--featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-brand) border-box;
  box-shadow: var(--sh-lg);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-cta); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: var(--r-pill);
  box-shadow: var(--sh-cta); white-space: nowrap;
}
.plan__speed { display: flex; align-items: baseline; gap: 6px; }
.plan__speed b { font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.plan__speed span { font-size: 1rem; font-weight: 600; color: var(--text-soft); }
.plan__use { font-size: .9rem; color: var(--text-mut); margin-top: 4px; min-height: 2.6em; }
.plan__price { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: 4px; }
.plan__price .cur { font-size: 1rem; font-weight: 700; color: var(--text-soft); align-self: flex-start; margin-top: 6px; }
.plan__price .amt { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__price .per { font-size: .9rem; color: var(--text-mut); }
.plan__list { margin: 18px 0 22px; display: grid; gap: 10px; }
.plan__list li { display: flex; gap: 10px; font-size: .92rem; color: var(--text-soft); align-items: flex-start; }
.plan__list svg { width: 18px; height: 18px; color: #1faf54; flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; color: var(--text-soft); font-size: .9rem; }
.plans-note span { display: inline-flex; align-items: center; gap: 7px; }
.plans-note svg { width: 17px; height: 17px; color: var(--blue-600); }

/* ---------- 10. Coverage ---------- */
.coverage__grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 48px); align-items: center; }
.coverage__map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); position: relative; background: var(--bg-tint); }
.coverage__map .covermap { display: block; width: 100%; height: auto; }
.cm-ring { transform-box: fill-box; transform-origin: center; animation: cmpulse 3.4s ease-out infinite; }
.cm-ring2 { animation-delay: 1.7s; }
@keyframes cmpulse { 0% { transform: scale(.35); opacity: .55; } 80% { opacity: 0; } 100% { transform: scale(2); opacity: 0; } }
.coverage__map .map-badge {
  position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 600; color: var(--navy-900);
  box-shadow: var(--sh-sm); display: flex; align-items: center; gap: 8px;
}
.coverage__map .map-badge svg { width: 17px; height: 17px; color: var(--orange-500); }
.coverage__list { display: grid; gap: 12px; margin: 22px 0; }
.coverage__list li { display: flex; gap: 12px; align-items: flex-start; }
.coverage__list .c-ico { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--bg-tint); color: var(--blue-700); flex-shrink: 0; }
.coverage__list .c-ico svg { width: 21px; height: 21px; }
.coverage__list b { font-family: var(--font-head); font-size: 1rem; }
.coverage__list p { color: var(--text-soft); font-size: .92rem; }

/* ---------- 11. Speedtest ---------- */
.speedtest { background: var(--navy-950); color: var(--on-dark); position: relative; overflow: hidden; }
.speedtest .wrap { position: relative; z-index: 1; }
.speedtest__glow { position: absolute; inset: 0; background: radial-gradient(700px 380px at 80% 50%, rgba(19,194,232,.18), transparent 60%); z-index: 0; }
.speedtest__grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.speedtest h2 { color: #fff; font-size: var(--fs-h2); }
.speedtest p { color: var(--on-dark-soft); font-size: var(--fs-lead); margin-top: 16px; }
.speedtest .btn { margin-top: 26px; }
.speedtest__server { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-md); }
.speedtest__server .s-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-ultra); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.speedtest__server b { color: #fff; font-family: var(--font-head); font-size: .98rem; }
.speedtest__server small { color: var(--on-dark-soft); font-size: .82rem; }
.dialgraphic { display: grid; place-items: center; }

/* ---------- 12. Nuestra red ---------- */
.network__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.net-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.net-card .feature__ico { margin-bottom: 16px; }
.net-card h3 { font-size: 1.2rem; }
.net-card p { color: var(--text-soft); margin-top: 8px; font-size: .94rem; }
.asbar {
  margin-top: 22px; background: var(--navy-950); color: var(--on-dark); border-radius: var(--r-lg);
  padding: 24px; display: grid; grid-template-columns: 1fr; gap: 18px;
}
.asbar__item { display: flex; flex-direction: column; gap: 2px; }
.asbar__item small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.asbar__item b { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.asbar__item .muted { color: var(--cyan-300); font-size: .85rem; font-weight: 600; }

/* ---------- 13. Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; position: relative; }
.step__n { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; background: var(--grad-fibra); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.2rem; margin-top: 12px; }
.step p { color: var(--text-soft); margin-top: 8px; font-size: .94rem; }

/* ---------- 14. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--text);
}
.faq__q .chev { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s ease, background .3s ease; color: var(--blue-700); }
.faq__q .chev svg { width: 18px; height: 18px; }
.faq__item.open .faq__q .chev { transform: rotate(180deg); background: var(--grad-fibra); color: #fff; }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq__a p { color: var(--text-soft); padding: 0 4px 22px; font-size: .96rem; }

/* ---------- 15. Contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg-tint), var(--bg)); }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.contact__info { display: grid; gap: 14px; align-content: start; }
.contact__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.contact__card .ci { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); color: var(--blue-700); display: grid; place-items: center; flex-shrink: 0; }
.contact__card .ci svg { width: 22px; height: 22px; }
.contact__card small { display: block; color: var(--text-mut); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.contact__card b { font-family: var(--font-head); font-size: 1rem; word-break: break-word; }
.contact__card a:hover { color: var(--blue-700); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 32px); box-shadow: var(--sh-md); }
.form h3 { font-size: 1.4rem; }
.form p.sub { color: var(--text-soft); font-size: .94rem; margin-top: 6px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(19,121,207,.12); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
.form__note { font-size: .82rem; color: var(--text-mut); margin-top: 12px; text-align: center; }
.form__note a { color: var(--blue-700); font-weight: 600; }

/* ---------- 16. Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-dark-soft); padding-top: clamp(48px, 7vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 44px; }
.footer__brand img { height: 42px; margin-bottom: 16px; }
.footer__brand p { font-size: .92rem; max-width: 34ch; }
.footer__brand .social { display: flex; gap: 10px; margin-top: 20px; }
.footer__brand .social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--on-dark); transition: background .2s ease, transform .2s ease; }
.footer__brand .social a:hover { background: var(--blue-700); transform: translateY(-2px); }
.footer__brand .social svg { width: 19px; height: 19px; }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col li { font-size: .92rem; }
.footer__col a:hover { color: var(--cyan-300); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; font-size: .82rem; }
.footer__bottom a:hover { color: var(--cyan-300); }
.footer__bottom .made { color: var(--on-dark-soft); }
.footer__bottom .made b { color: var(--on-dark); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #1faf54; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(31,175,84,.7);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 17. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .07s; }
[data-delay="2"] { transition-delay: .14s; }
[data-delay="3"] { transition-delay: .21s; }
[data-delay="4"] { transition-delay: .28s; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(54,224,122,.5);} 70% { box-shadow: 0 0 0 9px rgba(54,224,122,0);} 100% { box-shadow: 0 0 0 0 rgba(54,224,122,0);} }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-6px);} }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* ---------- 18. Responsive ---------- */
@media (min-width: 600px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .plans-note { gap: 26px; }
}
@media (min-width: 768px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .network__grid { grid-template-columns: repeat(3, 1fr); }
  .asbar { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .brand__name { display: flex; flex-direction: column; line-height: 1; }
}
@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .coverage__grid { grid-template-columns: 1.1fr .9fr; }
  .speedtest__grid { grid-template-columns: 1.1fr .9fr; }
  .contact__grid { grid-template-columns: .9fr 1.1fr; }
}
@media (min-width: 1040px) {
  .plans { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .plan { padding: 26px 16px; }
  .plan__speed b { font-size: 2rem; }
  .plan__price .amt { font-size: 1.85rem; }
}

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