/* =========================================================================
   BERINTEL · Sistema de diseño
   Telecomunicaciones e Infraestructuras
   Paleta: verde corporativo (#088938 → #56af31), grafito, bosque oscuro.
   ========================================================================= */

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Verdes de marca */
  --green-900: #06250f;
  --green-850: #073017;
  --green-800: #07401d;
  --green-700: #088938;
  --green-600: #19953c;
  --green-500: #36a93a;
  --green-400: #56af31;
  --green-300: #7cc24f;
  --green-200: #bce4a3;
  --green-100: #e6f6dd;
  --green-50:  #f3faec;

  /* Neutros — gris corporativo neutro (en línea con el gris de marca #737171) */
  --ink:      #23292b;
  --ink-soft: #2c3335;
  --graphite: #474d50;
  --slate:    #6f7274;
  --muted:    #9a9da0;
  --line:     #e6e8ea;
  --line-2:   #eef0f1;
  --cloud:    #f4f5f6;
  --cloud-2:  #eceef0;
  --paper:    #ffffff;

  /* Grafitos oscuros para fondos (sustituyen a los verdes oscuros) */
  --graphite-900: #141617;
  --graphite-850: #181b1c;
  --graphite-800: #1f2426;

  /* Gradientes */
  --grad:       linear-gradient(118deg, #088938 0%, #56af31 100%);
  --grad-rev:   linear-gradient(118deg, #56af31 0%, #088938 100%);
  --grad-text:  linear-gradient(100deg, #1c9a3e 0%, #6cc23f 100%);
  --grad-dark:  radial-gradient(130% 125% at 78% -8%, #2c3234 0%, #1c2123 46%, #141719 100%);

  /* Sombras (neutras) */
  --shadow-xs: 0 1px 2px rgba(20, 24, 27, .06);
  --shadow-sm: 0 4px 14px rgba(20, 24, 27, .08);
  --shadow:    0 12px 34px rgba(20, 24, 27, .10);
  --shadow-lg: 0 26px 60px rgba(20, 24, 27, .16);
  --shadow-green: 0 18px 40px rgba(8, 137, 56, .26);

  /* Radios */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 5vw, 44px);
  --section-y: clamp(64px, 9vw, 128px);

  /* Tipografía */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Movimiento */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
}

/* ------------------------------------------------------------ Reset/base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
}

::selection { background: var(--green-400); color: #fff; }

:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ----------------------------------------------------------- Utilidades */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--tint { background: var(--cloud); }
.section--tint-2 { background: linear-gradient(180deg, var(--paper), var(--cloud)); }
.section--dark { background: var(--grad-dark); color: #cfd3d4; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section--dark .eyebrow { color: var(--green-300); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem); margin-top: 16px; letter-spacing: -0.03em;
}
.section-head__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); margin-top: 18px; line-height: 1.6; }
.section--dark .section-head__lead { color: #a9afb0; }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section--dark .grad-text { background: linear-gradient(100deg, #6cc23f, #b6e88e); -webkit-background-clip: text; background-clip: text; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--slate); line-height: 1.7; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.mt-s { margin-top: 20px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 56px; }

/* --------------------------------------------------------------- Botones */
.btn {
  --b-bg: var(--grad); --b-fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill);
  background: var(--b-bg); color: var(--b-fg);
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-green); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(-1px); }

.btn--primary { box-shadow: 0 10px 26px rgba(8, 137, 56, .26); }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); box-shadow: var(--shadow); }
.btn--light:hover { box-shadow: var(--shadow-lg); }
.btn--outline {
  --b-fg: var(--ink); background: transparent; border: 1.6px solid var(--line);
  padding-block: 13.4px;
}
.btn--outline:hover { border-color: var(--green-400); color: var(--green-700); box-shadow: var(--shadow-sm); }
.section--dark .btn--outline { --b-fg: #fff; border-color: rgba(255,255,255,.28); }
.section--dark .btn--outline:hover { border-color: var(--green-300); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost { background: transparent; --b-fg: var(--green-700); padding-inline: 6px; }
.btn--ghost:hover { transform: none; box-shadow: none; color: var(--green-600); }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* Botones sobre fondos oscuros (hero, page-hero, fibra, cta-band): texto claro */
.hero .btn--outline, .page-hero .btn--outline, .fibra .btn--outline, .cta-band__card .btn--outline {
  --b-fg: #fff; background: transparent; border-color: rgba(255, 255, 255, .3);
}
.hero .btn--outline:hover, .page-hero .btn--outline:hover, .fibra .btn--outline:hover, .cta-band__card .btn--outline:hover {
  --b-fg: #fff; color: #fff; border-color: var(--green-300); background: rgba(255, 255, 255, .08); box-shadow: none;
}
.hero .btn--ghost, .page-hero .btn--ghost, .fibra .btn--ghost, .cta-band__card .btn--ghost { --b-fg: var(--green-200); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 600; color: var(--green-700);
}
.link-arrow .icon { transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* Píldora informativa */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: var(--r-pill); background: var(--green-100); color: var(--green-700);
  font-weight: 600; font-size: .85rem; font-family: var(--font-display);
}
.pill--dark { background: rgba(255,255,255,.08); color: var(--green-200); border: 1px solid rgba(255,255,255,.12); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px rgba(86,175,49,.2); }
.pill .dot--live { animation: pulse 2s var(--ease) infinite; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo { height: 38px; width: auto; }
.logo--negativo { display: none; }

/* Overlay sobre hero oscuro */
body.has-overlay-header .site-header {
  position: fixed; inset: 0 0 auto 0;
  background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.has-overlay-header .site-header:not(.is-scrolled) .logo--positivo { display: none; }
body.has-overlay-header .site-header:not(.is-scrolled) .logo--negativo { display: block; }
body.has-overlay-header .site-header:not(.is-scrolled) .nav-link,
body.has-overlay-header .site-header:not(.is-scrolled) .lang { color: rgba(255,255,255,.92); }
body.has-overlay-header .site-header:not(.is-scrolled) .lang.is-active { color: #fff; }
body.has-overlay-header .site-header:not(.is-scrolled) .lang-sep { color: rgba(255,255,255,.4); }
body.has-overlay-header .site-header:not(.is-scrolled) .burger span { background: #fff; }
body.has-overlay-header .site-header.is-scrolled {
  position: fixed; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: var(--line);
}
body.has-overlay-header main { margin-top: 0; }

/* Navegación */
.primary-nav { margin-inline: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--ink-soft);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-link:hover { color: var(--green-700); background: var(--green-50); }
.nav-item.is-active > .nav-link { color: var(--green-700); }
.nav-item.is-active > .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav-caret { transition: transform .25s var(--ease); opacity: .7; }
.nav-item--mega:hover .nav-caret { transform: rotate(180deg); }

/* Mega menú */
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(680px, 90vw); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 16px; opacity: 0; visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease-out), visibility .25s;
  z-index: 50;
}
.nav-item--mega:hover .mega, .nav-item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-card { display: flex; gap: 13px; padding: 13px; border-radius: var(--r); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.mega-card:hover { background: var(--green-50); transform: translateY(-1px); }
.mega-card__ico {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
}
.mega-card:hover .mega-card__ico { background: var(--grad); color: #fff; }
.mega-card__ico .icon { width: 22px; height: 22px; }
.mega-card__name { display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--ink); }
.mega-card__desc { display: block; font-size: .82rem; color: var(--slate); line-height: 1.45; margin-top: 2px; }
.mega__all { display: inline-flex; align-items: center; gap: 8px; margin: 8px 8px 4px; padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; color: var(--green-700); width: calc(100% - 16px); }

/* Acciones de cabecera */
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.lang { color: var(--slate); padding: 2px 2px; transition: color .2s var(--ease); }
.lang.is-active { color: var(--ink); }
.lang:hover { color: var(--green-700); }
.lang-sep { color: var(--line); }

/* Burger */
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 99;
  overflow-y: auto; padding: 24px var(--gutter) 48px;
  transform: translateY(-8px); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease-out);
}
.mobile-menu:not([hidden]) { display: block; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.m-link { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; color: var(--ink); padding: 17px 0; border-bottom: 1px solid var(--line); transition: color .2s var(--ease); }
.m-link:active { color: var(--green-700); }
.m-link.is-active { color: var(--green-700); }
.m-group { border-bottom: 0; }
.m-grouprow { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.m-grouprow .m-link { border-bottom: 0; flex: 1; }
.m-expand { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--r-sm); color: var(--slate); transition: transform .35s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.m-expand:hover { background: var(--cloud); }
.m-group.is-open .m-expand { transform: rotate(180deg); color: var(--green-700); }
.m-subs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--ease), opacity .3s var(--ease), padding .4s var(--ease); }
.m-group.is-open .m-subs { max-height: 460px; opacity: 1; padding: 10px 0 18px; }
.m-sub { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: var(--r-sm); background: var(--cloud); font-weight: 500; font-size: .92rem; color: var(--ink-soft); transition: background-color .2s var(--ease); }
.m-sub:active { background: var(--green-100); }
.m-sub__ico { display: grid; place-items: center; color: var(--green-700); flex-shrink: 0; }
.m-foot { margin-top: 30px; display: grid; gap: 18px; }
.m-call { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.m-call .icon { color: var(--green-700); }
.m-foot .lang-switch { font-size: 1.05rem; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; background: var(--grad-dark); color: #d3d7d8; overflow: hidden; padding-top: calc(var(--header-h) + clamp(40px, 7vw, 86px)); padding-bottom: clamp(60px, 9vw, 120px); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero__glow--1 { width: 460px; height: 460px; top: -160px; right: -80px; background: radial-gradient(circle, #56af31, transparent 65%); }
.hero__glow--2 { width: 380px; height: 380px; bottom: -160px; left: -120px; background: radial-gradient(circle, #088938, transparent 65%); }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero .container { position: relative; z-index: 2; }

.hero__layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__eyebrow { color: var(--green-300); }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 22px; }
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: #aeb4b5; margin-top: 24px; max-width: 36ch; line-height: 1.6; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stat .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.4rem); color: #fff; letter-spacing: -0.02em; line-height: 1; }
.hero__stat .l { font-size: .85rem; color: #9ba1a2; margin-top: 8px; max-width: 16ch; }

/* Visual del hero */
.hero__visual { position: relative; }
.hero__photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; border: 1px solid rgba(255,255,255,.1); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6,37,15,.5)); }
.hero__badge {
  position: absolute; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,.92); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 16px 18px; z-index: 3;
}
.hero__badge--speed { right: -16px; bottom: 40px; display: flex; align-items: center; gap: 14px; }
.hero__badge--tag { left: -18px; top: 36px; display: flex; align-items: center; gap: 10px; }
.hero__badge .b-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.hero__badge .b-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); line-height: 1.1; }
.hero__badge .b-l { display: block; font-size: .76rem; color: var(--slate); margin-top: 3px; }

/* Marca de confianza bajo el hero */
.trust-strip { background: var(--graphite-850); color: #989d9e; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.06); }
.trust-strip__in { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: center; }
.trust-strip__label { font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #8b9192; }
.trust-strip__items { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-chip { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: .92rem; color: #b6bcbd; }
.trust-chip .icon { color: var(--green-300); }

/* =====================================================================
   STATS BAND
   ===================================================================== */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }
.stat-card { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-card .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; }
.stat-card .n .grad-text { display: inline; }
.stat-card .l { color: var(--slate); margin-top: 12px; font-size: .96rem; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.svc-card {
  position: relative; padding: clamp(26px, 3vw, 34px); border-radius: var(--r-lg);
  background: var(--paper); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s var(--ease);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: var(--grad-dark); transition: opacity .4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: #cfd3d4; }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover .svc-card__title, .svc-card:hover .svc-num { color: #fff; }
.svc-card:hover .svc-card__desc { color: #aeb4b5; }
.svc-card:hover .svc-ico { background: rgba(255,255,255,.12); color: #fff; }
.svc-card:hover .svc-card__link { color: var(--green-300); }
.svc-ico {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700); transition: background-color .35s var(--ease), color .35s var(--ease);
}
.svc-ico .icon { width: 28px; height: 28px; }
.svc-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--green-200); transition: color .3s var(--ease); }
.svc-card__title { font-size: 1.32rem; margin-top: 22px; transition: color .3s var(--ease); }
.svc-card__desc { color: var(--slate); margin-top: 12px; font-size: .98rem; line-height: 1.6; transition: color .3s var(--ease); }
.svc-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--green-700); transition: color .3s var(--ease); }
.svc-card__link .icon { transition: transform .3s var(--ease-out); }
.svc-card:hover .svc-card__link .icon { transform: translateX(4px); }

/* =====================================================================
   VALUES
   ===================================================================== */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.value-card { text-align: center; padding: clamp(22px, 2.4vw, 30px) 16px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-ico { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: var(--shadow-green); }
.value-ico .icon { width: 26px; height: 26px; }
.value-card h3 { font-size: 1.08rem; margin-top: 16px; }
.value-card p { color: var(--slate); font-size: .9rem; margin-top: 5px; }

/* =====================================================================
   MEDIA SPLIT (texto + imagen)
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { position: relative; }
.split__img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__media--stack { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1/1; }
.split__media--stack .split__img { aspect-ratio: auto; height: 100%; }
.split__media--stack .split__img:first-child { grid-row: 1 / 3; }
.split__deco { position: absolute; inset: auto auto -22px -22px; width: 120px; height: 120px; border-radius: var(--r-lg); background: var(--grad); opacity: .14; z-index: -1; }
.split__kicker { color: var(--green-700); }
.split h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-top: 14px; }
.split__text > p { margin-top: 20px; color: var(--slate); font-size: 1.06rem; line-height: 1.7; }
.split .checklist { margin-top: 26px; }

.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 13px; }
.checklist .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; margin-top: 2px; }
.checklist .ck .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.checklist b { color: var(--ink); font-weight: 600; }
.checklist span { color: var(--slate); }
.section--dark .checklist b { color: #fff; }
.section--dark .checklist span { color: #a9afb0; }
.section--dark .checklist .ck { background: rgba(255,255,255,.1); color: var(--green-300); }

/* =====================================================================
   FIBRA / CONECTIVIDAD (banda con medidor de velocidad)
   ===================================================================== */
.fibra { position: relative; overflow: hidden; background: var(--grad-dark); color: #cfd3d4; border-radius: 0; }
.fibra__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.fibra h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.fibra__price { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.fibra__price .amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.4rem); color: #fff; line-height: 1; letter-spacing: -0.03em; }
.fibra__price .cur { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--green-300); }
.fibra__price .per { color: #9ba1a2; font-size: 1rem; align-self: flex-end; margin-bottom: 8px; }
.fibra__feats { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; }
.fibra__feat { display: inline-flex; align-items: center; gap: 9px; color: #c3c8c9; font-weight: 500; }
.fibra__feat .icon { color: var(--green-300); }

/* Medidor de velocidad (SVG animado) */
.gauge { position: relative; width: min(360px, 80vw); margin-inline: auto; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(135deg); }
.gauge__track { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 14; stroke-linecap: round; }
.gauge__bar { fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: var(--gauge-len); stroke-dashoffset: var(--gauge-len); transition: stroke-dashoffset 2s var(--ease-out); }
.gauge.in .gauge__bar { stroke-dashoffset: var(--gauge-offset); }
.gauge__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.gauge__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff; line-height: 1; }
.gauge__unit { color: var(--green-300); font-weight: 600; font-family: var(--font-display); margin-top: 4px; }
.gauge__label { color: #9ba1a2; font-size: .82rem; margin-top: 8px; letter-spacing: .08em; text-transform: uppercase; }

/* =====================================================================
   PROCESS / STEPS
   ===================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.2vw, 28px); counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step__n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; box-shadow: var(--shadow-green); }
.step h3 { font-size: 1.2rem; margin-top: 20px; }
.step p { color: var(--slate); margin-top: 10px; font-size: .96rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 56px; left: 64px; right: -14px; height: 2px; background: repeating-linear-gradient(90deg, var(--green-200) 0 8px, transparent 8px 16px); }
.section--dark .step p { color: #a9afb0; }
.section--dark .step:not(:last-child)::after { background: repeating-linear-gradient(90deg, rgba(124,194,79,.4) 0 8px, transparent 8px 16px); }

/* =====================================================================
   GALLERY / PROYECTOS
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery__item { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(transparent, rgba(6,37,15,.85)); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .95rem; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease-out); }
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.gallery__cap small { display: block; font-weight: 400; font-size: .8rem; color: #b6bcbd; margin-top: 2px; }

/* =====================================================================
   MARQUEE (sectores / clientes)
   ===================================================================== */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--slate); white-space: nowrap; }
.marquee__item .icon { color: var(--green-500); }
.section--dark .marquee__item { color: #989d9e; }

/* =====================================================================
   TESTIMONIAL / CITA
   ===================================================================== */
.quote-card { max-width: 880px; margin-inline: auto; text-align: center; padding: clamp(30px, 4vw, 56px); }
.quote-card .q-mark { color: var(--green-300); margin: 0 auto 20px; }
.quote-card blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.4; color: var(--ink); letter-spacing: -0.02em; }
.section--dark .quote-card blockquote { color: #fff; }
.quote-card cite { display: block; margin-top: 24px; font-style: normal; color: var(--slate); font-weight: 500; }
.quote-card cite b { color: var(--green-700); font-family: var(--font-display); }
.section--dark .quote-card cite b { color: var(--green-300); }

/* =====================================================================
   FEATURE LIST / accordion (FAQ)
   ===================================================================== */
.accordion { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.acc-item[open] { box-shadow: var(--shadow-sm); border-color: var(--green-200); }
.acc-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); cursor: pointer; list-style: none; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .acc-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--green-100); color: var(--green-700); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .3s var(--ease); }
.acc-item[open] summary .acc-ico { background: var(--grad); color: #fff; transform: rotate(45deg); }
.acc-body { padding: 0 24px 24px; color: var(--slate); line-height: 1.7; }

/* =====================================================================
   CARDS genéricas (áreas, formación)
   ===================================================================== */
.tile { padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); height: 100%; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.tile__ico .icon { width: 28px; height: 28px; }
.tile h3 { font-size: 1.25rem; margin-top: 20px; }
.tile p { color: var(--slate); margin-top: 10px; line-height: 1.6; }
.tile ul.checklist { margin-top: 18px; }

/* Tarjeta imagen (área con foto) */
.photo-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow); color: #fff; }
.photo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); z-index: 0; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,37,15,.05) 30%, rgba(6,37,15,.9)); z-index: 1; }
.photo-card:hover img { transform: scale(1.06); }
.photo-card__body { position: relative; z-index: 2; padding: clamp(24px, 3vw, 34px); }
.photo-card h3 { color: #fff; font-size: 1.35rem; }
.photo-card p { color: #c3c8c9; margin-top: 8px; font-size: .96rem; }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.cta-band { position: relative; overflow: hidden; }
.cta-band__card { position: relative; border-radius: var(--r-xl); background: var(--grad-dark); padding: clamp(40px, 6vw, 80px); overflow: hidden; text-align: center; }
.cta-band__card .hero__net { opacity: .5; }
.cta-band__glow { position: absolute; width: 400px; height: 400px; border-radius: 50%; filter: blur(80px); background: radial-gradient(circle, #56af31, transparent 65%); opacity: .35; top: -120px; right: -60px; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); position: relative; z-index: 2; }
.cta-band p { color: #aeb4b5; max-width: 56ch; margin: 18px auto 0; position: relative; z-index: 2; }
.cta-band__actions { position: relative; z-index: 2; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   PAGE HEADER (interior)
   ===================================================================== */
.page-hero { position: relative; background: var(--grad-dark); color: #cfd3d4; overflow: hidden; padding-top: calc(var(--header-h) + clamp(48px, 7vw, 92px)); padding-bottom: clamp(48px, 7vw, 92px); }
.page-hero .hero__net, .page-hero .hero__grid-overlay, .page-hero .hero__glow { z-index: 0; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__in { max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 18px; }
.page-hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: #aeb4b5; margin-top: 22px; line-height: 1.6; max-width: 60ch; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .85rem; color: #989d9e; font-family: var(--font-display); font-weight: 500; }
.breadcrumb a:hover { color: var(--green-300); }
.breadcrumb .icon { width: 15px; height: 15px; opacity: .6; }

/* =====================================================================
   FORM
   ===================================================================== */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field .req { color: var(--green-700); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.6px solid var(--line); border-radius: var(--r-sm);
  background: var(--cloud); transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green-400); background: #fff; box-shadow: 0 0 0 4px rgba(86,175,49,.35); }
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-check { display: flex; align-items: flex-start; gap: 11px; font-size: .9rem; color: var(--slate); }
.field-check input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--green-600); }
.field-check a { color: var(--green-700); text-decoration: underline; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); font-weight: 500; }
.form-status.is-ok { display: block; background: var(--green-100); color: var(--green-700); }
.form-status.is-err { display: block; background: #fdecec; color: #c0392b; }
.field.has-error input, .field.has-error textarea { border-color: #e07a72; background: #fdf3f2; }
.field-error { color: #c0392b; font-size: .82rem; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }

.contact-aside { display: grid; gap: 16px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--r); background: var(--cloud); border: 1px solid var(--line); }
.contact-line__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-green); }
.contact-line h3, .contact-line h4 { font-size: 1.02rem; }
.contact-line a, .contact-line p { color: var(--slate); margin-top: 3px; }
.contact-line a:hover { color: var(--green-700); }

/* =====================================================================
   PROSE (páginas legales)
   ===================================================================== */
.prose { max-width: 760px; }
.prose-updated { display: inline-block; font-size: .82rem; color: var(--green-700); background: var(--green-100); padding: 8px 14px; border-radius: var(--r-pill); margin-bottom: 26px; }
.prose-block + .prose-block { margin-top: 36px; }
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.prose p { color: var(--graphite); margin-top: 14px; line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 14px; }
.prose li { color: var(--graphite); margin-top: 8px; line-height: 1.7; }
.prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--green-600); }
.prose i { color: var(--slate); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--graphite-900); color: #9ca1a2; }
.footer-cta { background: var(--grad); }
.footer-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(40px, 5vw, 64px); flex-wrap: wrap; }
.footer-cta__eyebrow { color: rgba(255,255,255,.85); font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.footer-cta__title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 10px; line-height: 1.15; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(28px, 3vw, 48px); padding-block: clamp(48px, 6vw, 80px); }
.footer-logo { height: 40px; width: auto; }
.footer-blurb { margin-top: 20px; color: #989d9e; font-size: .96rem; line-height: 1.7; max-width: 38ch; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #b6bcbd; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease-out); }
.social-btn:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.footer-col__title { color: #fff; font-size: 1rem; font-family: var(--font-display); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #989d9e; font-size: .96rem; transition: color .2s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--green-300); }
.footer-col a .icon { color: var(--green-400); }
.footer-contact__static { color: #989d9e; display: inline-flex; align-items: flex-start; gap: 8px; font-size: .96rem; }
.footer-contact__static .icon { color: var(--green-400); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom__in { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 24px; flex-wrap: wrap; font-size: .86rem; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--green-300); }
.footer-claim { color: var(--green-400); font-family: var(--font-display); font-weight: 600; }

/* =====================================================================
   REVEAL / animaciones
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--scale { transform: scale(.94); }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(86,175,49,.5); } 50% { box-shadow: 0 0 0 7px rgba(86,175,49,0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.floaty { animation: float-y 6s ease-in-out infinite; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .primary-nav, .header-cta, .header-actions .lang-switch { display: none; }
  .burger { display: flex; }
  .hero__layout { grid-template-columns: 1fr; gap: 32px; }
  /* Texto primero en móvil; el visual debajo */
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__photo { aspect-ratio: 16/11; grid-column: 1 / -1; }
  /* Las etiquetas dejan de flotar: tarjetas limpias bajo la foto */
  .hero__badge { position: static; inset: auto; margin: 0; box-shadow: var(--shadow-sm); backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .floaty { animation: none; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .fibra__in { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .stat-band, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .svc-grid, .values-grid, .grid--2, .grid--3, .grid--4, .stat-band, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.8rem, 7.6vw, 3rem); overflow-wrap: break-word; }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 3rem); overflow-wrap: break-word; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .hero__stat .n { font-size: clamp(1.25rem, 5.5vw, 1.8rem); }
  .hero__stat .l { font-size: .78rem; }
  .footer-bottom__in { justify-content: flex-start; }
}

/* =====================================================================
   MOVIMIENTO REDUCIDO
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .gauge__bar { transition: none; }
}
