/* ==========================================================================
   CDGO — Landing pública
   Paleta alineada con la intranet y el portal de auditores:
   azul institucional como base, verde CDGO como acento.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tipografías auto-hospedadas (sin dependencia de fonts.googleapis.com)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/dmsans-latin-ext.woff2') format('woff2');
  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: 'DM Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/dmsans-latin.woff2') format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  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;
}

/* --------------------------------------------------------------------------
   Tokens de color
   -------------------------------------------------------------------------- */
:root {
  /* Indigo: puente con la intranet, auditores y la app (familia #5156be).
     Se usa como superficie profunda, nunca como color de texto. */
  --indigo-900: #23255f;
  --indigo-800: #2b2d7a;
  --indigo-700: #34378f;
  --indigo-600: #4348ab;

  /* Azul institucional */
  --azul-900: #04264d;
  --azul-800: #06376b;
  --azul-700: #0a5390;
  --azul-600: #0b63b0;
  --cian-600: #0d7fa8;

  /* Verde CDGO: acento, nunca fondo dominante */
  --verde: #10a45c;
  --verde-oscuro: #0b7d45;
  --verde-claro: #5fd99b;

  /* Neutros */
  --ink: #0a2e4f;
  --dark: var(--indigo-900);
  --paper: #f4f5fb;
  --line: #d7e2ea;
  --muted: #5c6f7f;

  /* Texto sobre superficies oscuras */
  --sobre-oscuro: #cbdce8;
  --sobre-oscuro-suave: #9fbdd1;

  /* Alias heredados */
  --green: var(--verde);
  --green2: var(--verde-oscuro);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.55 'DM Sans', system-ui, sans-serif;
}
h1, h2, h3, strong { font-family: Manrope, system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--verde-claro); outline-offset: 3px; }
/* La cabecera fija no debe tapar el destino de los enlaces ancla */
section[id], div[id] { scroll-margin-top: 92px; }

/* --------------------------------------------------------------------------
   Aparicion progresiva (se activa desde script.js con la clase .revelado)
   -------------------------------------------------------------------------- */
[data-revelar] { opacity: 0; }
[data-revelar].revelado {
  opacity: 1;
  animation: revelarArriba .72s cubic-bezier(.22, .68, .35, 1) backwards;
}
[data-revelar="izq"].revelado { animation-name: revelarIzq; }
[data-revelar="der"].revelado { animation-name: revelarDer; }

@keyframes revelarArriba { from { opacity: 0; transform: translateY(24px); } }
@keyframes revelarIzq { from { opacity: 0; transform: translateX(-36px); } }
@keyframes revelarDer { from { opacity: 0; transform: translateX(36px); } }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  color: #a9c9e0;
}
.eyebrow span { width: 28px; height: 1px; background: var(--verde); }
.eyebrow.dark { color: #4d6a80; }

/* --------------------------------------------------------------------------
   Cabecera
   -------------------------------------------------------------------------- */
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
  position: fixed;
  top: 0;
  z-index: 30;
  width: 100%;
  color: #fff;
  border-bottom: 1px solid #ffffff22;
  transition: height .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
/* Al salir del hero gana fondo propio para seguir siendo legible */
.site-header.compacto {
  height: 68px;
  background: rgba(35, 37, 95, .92);
  backdrop-filter: blur(14px);
  border-bottom-color: #ffffff1f;
  box-shadow: 0 10px 30px rgba(2, 18, 38, .38);
}
/* El isotipo es a todo color: sobre fondo oscuro va en pastilla blanca */
.brand-image { display: flex; align-items: center; }
.brand-image img { display: block; width: 152px; height: auto; }
.brand-chip { padding: 6px 10px; border-radius: 8px;}
.site-header nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.site-header nav > a:not(.button) { opacity: .82; }
.site-header nav > a:hover { opacity: 1; }
.site-header nav .portal { padding-left: 18px; border-left: 1px solid #ffffff33; }
.client { padding-left: 22px; border-left: 1px solid #ffffff33; }
.menu { display: none; }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(100deg, #0e9a56, #12b063);
  color: #fff;
  padding: 16px 22px;
  border-radius: 4px;
  font-weight: 600;
  transition: .2s;
}
.button:hover { background: linear-gradient(100deg, #0d8c4e, #10a45c); transform: translateY(-2px); }
.button.small { padding: 11px 17px; gap: 8px; }
.button.light { background: #fff; color: var(--verde-oscuro); margin: 20px 0; }
.button.light:hover { background: #f2f7fb; }
.text-link { font-size: 14px; color: #c3d6e2; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 760px;
  color: #fff;
  display: grid;
  grid-template-columns: 49% 51%;
  align-items: center;
  padding: 125px clamp(24px, 7vw, 108px) 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(16, 164, 92, .15) 0, transparent 34%),
    linear-gradient(125deg, #23255f 0%, #34378f 22%, #0a5390 58%, #0d7fa8 82%, #11855f 100%);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(54px, 5.9vw, 92px);
  line-height: .98;
  letter-spacing: -5px;
  max-width: 760px;
  margin: 0 0 26px;
}
.hero h1 em { font-style: normal; color: var(--verde-claro); }
.lead { max-width: 620px; color: var(--sobre-oscuro); font-size: 18px; }
.actions { display: flex; align-items: center; gap: 28px; margin: 35px 0 50px; }
.proof {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--verde-claro);
  padding-left: 16px;
  font-size: 13px;
}
.proof span { color: #a5c1d4; }

/* Iconos de tienda como SVG embebido: el glifo  de Apple solo existe en
   dispositivos Apple y en el resto se ve como un cuadro. */
.icono-tienda {
  width: 17px;
  height: 17px;
  flex: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.icono-ios { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.05 20.28c-.98.95-2.05.8-3.08.35-1.09-.46-2.09-.48-3.24 0-1.44.62-2.2.44-3.06-.35C2.79 15.25 3.51 7.59 9.05 7.31c1.35.07 2.29.74 3.08.8 1.18-.24 2.31-.93 3.57-.84 1.51.12 2.65.72 3.4 1.8-3.12 1.87-2.38 5.98.48 7.13-.57 1.5-1.31 2.99-2.54 4.09zM12.03 7.25c-.15-2.23 1.66-4.07 3.74-4.25.29 2.58-2.34 4.5-3.74 4.25z'/%3E%3C/svg%3E"); }
.icono-android { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233ddc84'%3E%3Cpath d='M6 18c0 .55.45 1 1 1h1v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h2v3.5c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5V19h1c.55 0 1-.45 1-1V8H6v10zM3.5 8C2.67 8 2 8.67 2 9.5v7c0 .83.67 1.5 1.5 1.5S5 17.33 5 16.5v-7C5 8.67 4.33 8 3.5 8zm17 0c-.83 0-1.5.67-1.5 1.5v7c0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5v-7c0-.83-.67-1.5-1.5-1.5zm-4.97-5.84l1.3-1.3c.2-.2.2-.51 0-.71-.2-.2-.51-.2-.71 0l-1.48 1.48C13.85 1.23 12.95 1 12 1c-.96 0-1.86.23-2.66.63L7.85.15c-.2-.2-.51-.2-.71 0-.2.2-.2.51 0 .71l1.31 1.31C6.97 3.26 6 5.01 6 7h12c0-1.99-.97-3.75-2.47-4.84zM10 5H9V4h1v1zm5 0h-1V4h1v1z'/%3E%3C/svg%3E"); }

/* Acceso rápido a la app dentro del hero */
.hero-app {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 26px;
  padding: 14px 18px;
  max-width: 620px;
  border: 1px solid #ffffff2e;
  border-radius: 14px;
  background: #ffffff14;
  backdrop-filter: blur(8px);
  transition: border-color .25s ease, background .25s ease;
}
.hero-app:hover { border-color: #ffffff4d; background: #ffffff1f; }
.hero-app-texto { display: flex; flex-direction: column; }
.hero-app-texto small {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 9px;
  font-weight: 700;
  color: #a9c9e0;
}
.hero-app-texto strong { font-size: 16px; margin-top: 3px; }
.hero-app-enlaces { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pastilla-tienda {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #23255f;
  border: 1px solid #ffffff26;
  font: 600 13px/1 Manrope, system-ui, sans-serif;
  transition: transform .2s ease, background .2s ease;
}
.pastilla-tienda:hover { background: #062f5e; transform: translateY(-2px); }
.hero-app-mas { font-size: 12px; color: #c3d6e2; white-space: nowrap; }
.hero-app-mas:hover { color: #fff; }

.visual { height: 580px; position: relative; }
.orb {
  width: 520px;
  height: 520px;
  border: 1px solid rgba(95, 217, 155, .28);
  border-radius: 50%;
  position: absolute;
  top: 18px;
  right: -70px;
  box-shadow: 0 0 120px rgba(16, 164, 92, .14);
}
.float-card {
  position: absolute;
  right: -15px;
  bottom: 42px;
  background: #fff;
  color: var(--ink);
  border-radius: 7px;
  padding: 17px 24px;
  box-shadow: 0 18px 40px #0006;
  display: flex;
  flex-direction: column;
}
.float-card span, .float-card small { font-size: 9px; color: #6d818f; }
.float-card strong { font-size: 28px; color: var(--verde-oscuro); }

/* Marco de producto del hero */
.hero-product { isolation: isolate; min-width: 0; }
.hero-product .orb { right: -65px; top: 20px; opacity: .78; }
.hero-image-frame {
  position: absolute;
  inset: 52px -38px 48px 0;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #ffffff2e;
  border-radius: 24px;
  background: #242a5e;
  box-shadow: 0 35px 80px #00142c80, 0 10px 28px #051c3366;
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
  transform-origin: center right;
}
.hero-image-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, #23255f80 0%, transparent 22%, transparent 80%, #0d7fa81f 100%);
  box-shadow: inset 0 0 0 1px #ffffff12;
}
.hero-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.hero-product .float-card {
  z-index: 3;
  right: -18px;
  bottom: 12px;
  background: #f8fbfff5;
  border-color: #ffffffaa;
  box-shadow: 0 20px 45px #00203f66;
  backdrop-filter: blur(14px);
}

/* --------------------------------------------------------------------------
   Cifras
   -------------------------------------------------------------------------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 38px clamp(24px, 7vw, 108px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.numbers article {
  display: flex;
  flex-direction: column;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.numbers strong { font-size: 33px; }
.numbers sup { color: var(--verde-oscuro); }
.numbers span { font-size: 12px; color: var(--muted); }
.numbers strong .conteo { font-size: inherit; color: inherit; font-variant-numeric: tabular-nums; }
.numbers article.conteo-oculto {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .68, .35, 1);
}
.numbers article.conteo-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Clientes
   -------------------------------------------------------------------------- */
.customers {
  padding: 75px clamp(24px, 7vw, 108px);
  background: linear-gradient(135deg, #fff 0%, #f3f3fb 46%, #f0f7fa 100%);
  border-bottom: 1px solid var(--line);
}
.customers-copy { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr; gap: 45px; align-items: end; }
.customers-copy .eyebrow { grid-column: 1/-1; margin-bottom: -18px; }
.customers-copy h2 { font-size: clamp(31px, 3.4vw, 49px); line-height: 1.08; letter-spacing: -2px; margin: 0; }
.customers-copy > p:last-child { color: var(--muted); font-size: 14px; margin: 0; }
.customers > small { display: block; text-align: center; margin-top: 6px; color: #7b8b98; }

.customer-logos {
  max-width: 1180px;
  margin: 46px auto 24px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffffb8, #eef4f9a8);
}
.customer-logos span {
  position: relative;
  height: 138px;
  padding: 24px 26px;
  overflow: hidden;
  border: 1px solid #dde7ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px #12333e10;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.customer-logos span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  width: 56%;
  height: 2px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--azul-600), var(--verde));
  opacity: .4;
  transition: opacity .25s ease;
}
.customer-logos span:hover {
  z-index: 1;
  transform: translateY(-5px);
  border-color: #a6cfe4;
  box-shadow: 0 20px 42px #0a4a6a21;
}
.customer-logos span:hover::before { opacity: 1; }
/* Los logotipos de terceros van en gris para no competir con la paleta CDGO */
.customer-logos img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 210px;
  max-height: 88px;
  margin: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) contrast(1.04) opacity(.72);
  transition: filter .25s ease;
}
.customer-logos span:hover img { filter: none; }

/* --------------------------------------------------------------------------
   SaaS
   -------------------------------------------------------------------------- */
.saas {
  padding: 110px clamp(24px, 7vw, 108px);
  background: #fff;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px 90px;
}
.saas h2 { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.06; letter-spacing: -3px; margin: 0; }
.saas-intro { color: var(--muted); font-size: 18px; padding-top: 35px; }
.saas-intro strong { display: block; color: var(--verde-oscuro); font-size: 14px; margin-top: 28px; }
.saas-benefits {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.saas-benefits article { padding: 32px 28px 18px 0; border-right: 1px solid var(--line); }
.saas-benefits article:not(:first-child) { padding-left: 28px; }
.saas-benefits i { font-style: normal; color: var(--azul-600); font-size: 27px; }
.saas-benefits h3 { font-size: 17px; margin: 35px 0 8px; }
.saas-benefits p { font-size: 13px; color: var(--muted); }

.development-note {
  grid-column: 1/-1;
  margin-top: 10px;
  background: var(--paper);
  border-left: 4px solid var(--verde);
  padding: 32px 38px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 12px 55px;
  align-items: center;
}
.development-note strong { font-size: 23px; line-height: 1.2; }
.development-note strong span { color: var(--verde-oscuro); font-size: 34px; }
.development-note p { color: var(--muted); margin: 0; }
.development-note small {
  grid-column: 2;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--azul-700);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Equipo y cobertura nacional
   -------------------------------------------------------------------------- */
.national-team {
  position: relative;
  overflow: hidden;
  padding: 105px clamp(24px, 7vw, 108px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(16, 164, 92, .13) 0, transparent 32%),
    linear-gradient(135deg, #23255f 0%, #34378f 55%, #0a5390 100%);
}
.national-team:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid #ffffff14;
  border-radius: 50%;
  left: -250px;
  bottom: -320px;
  box-shadow: 0 0 0 80px #ffffff08, 0 0 0 160px #ffffff05;
}
.team-copy { position: relative; z-index: 1; }
.team-copy h2 { font-size: clamp(43px, 5vw, 72px); line-height: 1.02; letter-spacing: -3.5px; margin: 0 0 27px; }
.team-lead { max-width: 670px; color: var(--sobre-oscuro); font-size: 17px; }
.team-copy blockquote {
  margin: 34px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--verde-claro);
  color: #fff;
  font: 600 clamp(18px, 2vw, 26px)/1.32 Manrope, system-ui, sans-serif;
  max-width: 690px;
}
.team-disciplines { display: flex; flex-wrap: wrap; gap: 8px; }
.team-disciplines span {
  padding: 8px 12px;
  border: 1px solid #ffffff28;
  border-radius: 100px;
  background: #ffffff0c;
  color: #d5e6f0;
  font-size: 10px;
  letter-spacing: .3px;
  backdrop-filter: blur(5px);
}

.coverage-map {
  position: relative;
  z-index: 1;
  min-height: 660px;
  border: 1px solid #ffffff28;
  border-radius: 20px;
  background: linear-gradient(155deg, #ffffff17, #ffffff08);
  box-shadow: 0 35px 80px #00193166;
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.map-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 24px 26px;
  border-bottom: 1px solid #ffffff1f;
}
.map-top small { grid-column: 1/-1; text-transform: uppercase; letter-spacing: 1.7px; color: #8ed9b9; font-size: 9px; }
.map-top strong { font-size: 18px; margin-top: 4px; }
.map-top i { align-self: end; font-style: normal; color: #bcd3dd; font-size: 9px; }
.map-top i:first-letter { color: #4ed18d; }
.map-stage { position: relative; height: 535px; }

.chile-network {
  position: absolute;
  width: 190px;
  height: 520px;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  overflow: visible;
}
.map-silueta {
  fill: url(#teamRoute);
  filter: drop-shadow(0 6px 20px rgba(0, 22, 46, .6)) drop-shadow(0 0 14px rgba(31, 159, 208, .35));
  opacity: 0;
  transition: opacity 1s ease .95s;
}
.map-borde {
  fill: none;
  stroke: #ffffff4d;
  stroke-width: 1.4;
  stroke-linejoin: round;
  transition: stroke-dashoffset 2.3s cubic-bezier(.45, .05, .3, 1);
}
/* El contorno se traza de norte a sur, luego entra el relleno y los nodos */
.mapa-activo .map-silueta { opacity: 1; }

.map-node { position: absolute; display: flex; align-items: center; gap: 12px; min-width: 155px; transition: .25s; opacity: 0; }
.mapa-activo .map-node { opacity: 1; animation: revelarNodo .6s ease backwards; }
@keyframes revelarNodo { from { opacity: 0; transform: translateY(12px) scale(.88); } }
.map-node > b {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 7px rgba(16, 164, 92, .18), 0 0 20px rgba(16, 164, 92, .5);
}
.map-node > b:after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid #8fe3ba;
  border-radius: 50%;
  animation: mapPulse 2.8s infinite;
}
.map-node span {
  display: flex;
  flex-direction: column;
  padding: 8px 11px;
  border: 1px solid #ffffff1d;
  border-radius: 8px;
  background: rgba(35, 37, 95, .84);
  box-shadow: 0 10px 25px #00162e45;
  backdrop-filter: blur(8px);
}
.map-node small { text-transform: uppercase; letter-spacing: 1.4px; color: #8ecfe8; font-size: 8px; }
.map-node strong { font-size: 11px; margin-top: 1px; }
.map-node:hover { transform: translateX(5px); }
.node-north { top: 10%; left: 54%; }
.node-center { top: 35%; right: 52%; flex-direction: row-reverse; text-align: right; }
.node-south { top: 61%; left: 51%; }
.node-austral { top: 84%; right: 54%; flex-direction: row-reverse; text-align: right; }
.node-center > b:after { animation-delay: .6s; }
.node-south > b:after { animation-delay: 1.2s; }
.node-austral > b:after { animation-delay: 1.8s; }
.map-note {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 14px;
  margin: 0;
  color: #a9c4d4;
  font-size: 8px;
  text-align: center;
}
@keyframes mapPulse {
  0%, 100% { transform: scale(.7); opacity: .2; }
  45% { transform: scale(1.3); opacity: .75; }
}

/* --------------------------------------------------------------------------
   Plataforma y módulos
   -------------------------------------------------------------------------- */
.platform {
  color: #fff;
  padding: 110px clamp(24px, 7vw, 108px);
  background:
    radial-gradient(circle at 80% 12%, rgba(16, 164, 92, .14) 0, transparent 32%),
    linear-gradient(160deg, #23255f 0%, #2e3180 55%, #24275f 100%);
}
.platform h2, .impact h2, .cta h2 {
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -3px;
  margin: 0;
}
.section-head { display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 80px; }
.section-head > p { color: #bfd3e0; }

.layers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border: 1px solid #ffffff20; }
.layers article {
  padding: 27px;
  min-height: 330px;
  border-right: 1px solid #ffffff20;
  position: relative;
  transition: .25s;
}
.layers article:hover { background: #2e3180; }
.layers .featured { background: linear-gradient(150deg, #34378f, #12855f); }
.layers article > span { font: 600 10px Manrope, system-ui, sans-serif; color: var(--sobre-oscuro-suave); }
.layers h3 { font-size: 18px; }
.layers p { font-size: 13px; color: #bcd2e0; }
.icon { font-size: 31px; color: var(--verde-claro); margin: 75px 0 30px; }

.base-module {
  margin-top: 55px;
  border: 1px solid rgba(95, 217, 155, .38);
  background: linear-gradient(110deg, #34378f, #0b63b0);
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 25px 50px;
  padding: 30px;
}
.base-module small { text-transform: uppercase; letter-spacing: 1.5px; color: #bfe9d6; font-size: 9px; }
.base-module h3 { font-size: 25px; margin: 6px 0; }
.base-module > p { color: #d6e8f2; font-size: 14px; margin: 4px 0; }
.base-module ul {
  grid-column: 1/-1;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid #ffffff2e;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.base-module li { font-size: 11px; color: #e0edf4; }
.base-module li:before { content: '✓'; color: var(--verde-claro); margin-right: 9px; }

.module-head {
  margin-top: 95px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff20;
  padding-bottom: 24px;
}
.module-head .eyebrow { margin: 0; }
.module-head h3 { font-size: 18px; margin: 0; color: #cfe0ea; }

.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.module-grid article {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 25px 20px;
  border: 1px solid #ffffff24;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff12, #ffffff06);
  box-shadow: 0 18px 40px #00223b26;
  transition: .2s;
}
.module-grid article:hover {
  transform: translateY(-3px);
  border-color: #8ec8e57d;
  background: linear-gradient(155deg, #ffffff1c, #0d7fa820);
  box-shadow: 0 24px 50px #00203b4d;
}
.module-grid b {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  font: 600 9px Manrope, system-ui, sans-serif;
  background: rgba(35, 37, 95, .85);
  color: #bcd6e6;
  border: 1px solid #ffffff22;
  border-radius: 3px;
  padding: 6px 8px;
  backdrop-filter: blur(6px);
}
.module-grid img {
  display: block;
  width: calc(100% + 40px);
  max-width: none;
  aspect-ratio: 1.38;
  object-fit: cover;
  margin: -25px -20px 20px;
  border-bottom: 1px solid #ffffff18;
  transition: transform .35s ease, filter .35s ease;
}
.module-grid article:hover img { transform: scale(1.035); filter: brightness(1.04) saturate(1.04); }
.module-grid h3 { font-size: 16px; letter-spacing: -.25px; margin: 12px 0 8px; }
.module-grid p { font-size: 11px; color: #c3d5e0; margin: 0; }

.module-icon {
  position: relative;
  z-index: 3;
  width: 58px;
  height: 58px;
  margin: -50px 0 17px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff82;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(140deg, #4348ab 0%, #0b63b0 58%, #12925c 100%);
  box-shadow: 0 12px 28px #001a2d75, inset 0 1px 0 #ffffff70;
  font: 700 27px/1 Manrope, system-ui, sans-serif;
  text-shadow: 0 2px 8px #00355799;
  transform: rotate(-3deg);
  transition: transform .28s ease, box-shadow .28s ease;
}
.module-icon::after { content: ""; position: absolute; inset: 6px; border: 1px solid #ffffff30; border-radius: 11px; }
.module-grid article:nth-child(3n+2) .module-icon {
  background: linear-gradient(140deg, #34378f, #0b63b0 50%, #0f8f7e);
  transform: rotate(3deg);
}
.module-grid article:nth-child(3n) .module-icon {
  background: linear-gradient(140deg, #2e3180, #0d7fa8 55%, #12925c);
}
.module-grid article:hover .module-icon {
  transform: translateY(-4px) rotate(0) scale(1.06);
  box-shadow: 0 18px 34px #001a2d8c, 0 0 0 5px rgba(80, 200, 214, .12);
}

/* --------------------------------------------------------------------------
   Aplicación móvil
   -------------------------------------------------------------------------- */
.app {
  padding: 100px clamp(24px, 7vw, 108px);
  background: linear-gradient(135deg, #fff 0%, #f3f3fb 48%, #f0f7fa 100%);
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 60px;
  align-items: center;
}
.app-copy h2 {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
  letter-spacing: -2.5px;
  margin: 0 0 20px;
}
.app-copy h2 em { font-style: normal; color: var(--verde-oscuro); }
.app-copy > p { color: var(--muted); max-width: 560px; margin: 0; }

.app-capacidades { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; max-width: 580px; }
.app-capacidades li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.app-capacidades b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--azul-600), var(--cian-600) 55%, #12925c);
  color: #fff;
  font: 700 15px/1 Manrope, system-ui, sans-serif;
}
.app-capacidades span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.app-capacidades strong { font-size: 15px; color: var(--ink); margin-bottom: 2px; }

.app-tiendas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.app-tienda {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 16px;
  border-radius: 9px;
  background: #23255f;
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.app-tienda:hover { background: #34378f; transform: translateY(-2px); }
.app-tienda .icono-tienda { width: 20px; height: 20px; }
.app-tienda span { display: flex; flex-direction: column; font: 600 15px/1.1 Manrope, system-ui, sans-serif; }
.app-tienda small { font-size: 9px; font-weight: 500; opacity: .75; letter-spacing: .4px; }

/* Ilustracion del telefono: reproduce el dashboard real de la app CDGO
   (fondo claro, primario indigo, tarjetas de KPI con mini-graficos).
   Es una reconstruccion en CSS, no una captura de pantalla. */
.app-visual { display: flex; justify-content: center; }
.app-telefono {
  --app-indigo: #5b4fc4;
  --app-texto: #2c2c3d;
  --app-gris: #9b9bb0;
  position: relative;
  width: 268px;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(160deg, #2b2b3a, #16161f);
  box-shadow: 0 30px 70px rgba(6, 30, 56, .32), inset 0 0 0 1px #ffffff26;
}
.app-pantalla {
  border-radius: 28px;
  overflow: hidden;
  background: #f7f6fa;
  min-height: 462px;
  display: flex;
  flex-direction: column;
}
.app-barra { display: flex; align-items: center; gap: 13px; padding: 22px 16px 14px; background: #fbfafc; }
.app-barra span { font: 500 17px Manrope, system-ui, sans-serif; color: var(--app-texto); }
.app-menu { position: relative; width: 15px; height: 11px; border-top: 2px solid #3a3a4c; border-bottom: 2px solid #3a3a4c; flex: none; }
.app-menu:after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: #3a3a4c; transform: translateY(-1px); }

.app-cuerpo { padding: 13px 12px 14px; display: flex; flex-direction: column; gap: 11px; }

.app-filtros { display: flex; gap: 8px; }
.app-filtro {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 8px 11px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #e6e4ee;
  font: 600 10px Manrope, system-ui, sans-serif;
  color: var(--app-texto);
}
.app-filtro.activo { background: var(--app-indigo); border-color: var(--app-indigo); color: #fff; }
.app-filtro small { font-size: 7px; font-weight: 500; color: var(--app-gris); text-transform: uppercase; letter-spacing: .5px; }
.app-filtro b { font-size: 8px; opacity: .7; }

.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.app-kpis article {
  display: flex;
  flex-direction: column;
  padding: 9px 8px 6px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(44, 44, 61, .07);
}
.app-kpis small { font-size: 7px; color: #6d6d82; line-height: 1.25; }
.app-kpis strong { font-size: 15px; letter-spacing: -.5px; color: var(--app-texto); margin-top: 1px; }
.app-kpis em { font-style: normal; font-size: 6.5px; color: var(--app-gris); }
.app-kpis em.alza { color: #1eb85f; font-weight: 600; }
.app-kpis svg { width: 100%; height: 16px; margin-top: 4px; }
.chispa { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chispa.indigo { stroke: var(--app-indigo); }
.chispa.cian { stroke: #3cbdf0; }
.chispa.verde { stroke: #1eb85f; }

.app-seccion {
  margin: 3px 0 0;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font: 700 7.5px Manrope, system-ui, sans-serif;
  color: #a3a3b8;
}

.app-tarjeta { padding: 11px 12px 9px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(44, 44, 61, .07); }
.app-tarjeta-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.app-tarjeta-top b { font: 600 10px Manrope, system-ui, sans-serif; color: var(--app-texto); }
.app-tarjeta-top small { font-size: 7.5px; color: var(--app-gris); }
.app-linea { display: block; width: 100%; height: 62px; }
.app-guia { stroke: #eceaf3; stroke-width: 1; vector-effect: non-scaling-stroke; }
.app-area { fill: rgba(91, 79, 196, .12); }
.app-trazo { fill: none; stroke: var(--app-indigo); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.app-meses { display: flex; justify-content: space-between; margin-top: 3px; }
.app-meses small { font-size: 7px; color: var(--app-gris); }

.app-punto { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #1eb85f; margin-right: 4px; }
.app-ranking { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.app-ranking li { display: grid; grid-template-columns: 11px 1fr auto; gap: 7px; align-items: center; }
.app-ranking li > span { font: 600 8px Manrope, system-ui, sans-serif; color: var(--app-gris); }
.app-ranking em { display: flex; flex-direction: column; font-style: normal; font: 600 8.5px Manrope, system-ui, sans-serif; color: var(--app-texto); }
.app-ranking em small { font-weight: 400; font-size: 7px; color: var(--app-gris); }
.app-ranking li > b { font: 600 9px Manrope, system-ui, sans-serif; color: #1eb85f; }

/* --------------------------------------------------------------------------
   Impacto
   -------------------------------------------------------------------------- */
.impact {
  text-align: center;
  padding: 105px clamp(24px, 7vw, 108px);
  background: linear-gradient(140deg, #fff 0%, #f3f3fb 45%, #eff8f9 100%);
}
.impact > .eyebrow { justify-content: center; }
.impact h2 em { font-style: normal; color: var(--verde-oscuro); }
.before-after {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  text-align: left;
  max-width: 1050px;
  margin: 60px auto 0;
}
.before-after > div:not(.arrow) { padding: 40px; background: #fff; }
.before-after > div.after { background: #34378f; color: #fff; }
.before-after small { text-transform: uppercase; letter-spacing: 2px; color: var(--verde-oscuro); font-weight: 700; }
.before-after .after small { color: #8ee3b8; }
.before-after ul { list-style: none; padding: 10px 0 0; margin: 0; }
.before-after li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.before-after li:before { content: '✓'; color: var(--verde-oscuro); margin-right: 12px; }
.before-after > div:first-child li:before { content: '×'; color: #94a5b2; }
.after li { border-color: #ffffff2e; }
.after li:before { color: #8ee3b8; }
.arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted); }

/* Curva de aprendizaje: misma metrica que el resumen de vicerrectoria */
.curva {
  max-width: 1050px;
  margin: 70px auto 0;
  padding: 42px 44px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(10, 46, 79, .09);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 20px 48px;
  align-items: center;
}
.curva-copy h3 {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin: 0 0 16px;
}
.curva-copy h3 em { font-style: normal; color: var(--verde-oscuro); }
.curva-copy > p { color: var(--muted); font-size: 14px; margin: 0; }

/* Rejilla en la lista, no en cada fila: la columna de cifras se ajusta a la
   mas ancha y todas quedan alineadas aunque cambie el largo del dato. */
.curva-cifras {
  list-style: none;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: baseline;
  column-gap: 16px;
}
.curva-cifras li { display: contents; }
.curva-cifras strong {
  padding: 10px 0;
  font-size: 24px;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--verde-oscuro);
  white-space: nowrap;
}
.curva-cifras strong span { font-size: .62em; opacity: .6; margin: 0 1px; }
.curva-cifras > li > span { padding: 9px 0; font-size: 12px; color: var(--muted); }

.curva-grafico { margin: 0; }
.curva-grafico figcaption {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 9px;
  font-weight: 700;
  color: var(--azul-700);
  margin-bottom: 10px;
}
.curva-grafico svg { display: block; width: 100%; height: auto; overflow: visible; }
.curva-grafico > small { display: block; margin-top: 10px; font-size: 10px; color: #7b8b98; }

.curva-rejilla { stroke: var(--line); stroke-width: 1; }
.curva-umbral { stroke: var(--azul-600); stroke-width: 1; stroke-dasharray: 4 5; opacity: .55; }
.curva-umbral-txt {
  fill: var(--azul-700);
  font: 700 9px Manrope, system-ui, sans-serif;
  letter-spacing: .6px;
  text-anchor: end;
}
.curva-eje-y, .curva-eje-x { fill: #8494a1; font: 500 10px 'DM Sans', system-ui, sans-serif; }
.curva-eje-y { text-anchor: end; }
.curva-eje-x { text-anchor: middle; }
.curva-area { fill: url(#curvaRelleno); opacity: 0; transition: opacity .9s ease .8s; }
.curva-linea {
  fill: none;
  stroke: var(--verde);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 1.9s cubic-bezier(.35, .05, .2, 1);
}
.curva-punto { fill: #fff; stroke: var(--verde); stroke-width: 2.5; opacity: 0; }
.curva-activa .curva-area { opacity: 1; }
.curva-activa .curva-punto { opacity: 1; animation: revelarPunto .45s ease backwards; }
@keyframes revelarPunto { from { opacity: 0; transform: scale(.2); transform-origin: center; transform-box: fill-box; } }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta {
  padding: 90px clamp(24px, 7vw, 108px);
  background: linear-gradient(115deg, #2b2d7a 0%, #3b3f9e 48%, #0b63b0 100%);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.cta .eyebrow { color: #cfe3f2; }
.cta .eyebrow span { background: #fff; }
.cta p { color: #d6e7f4; }
.cta small { display: block; margin-top: 26px; opacity: .85; }
.cta .contact-email { color: inherit; border-bottom: 1px solid #ffffff66; }
.cta .contact-email:hover { border-bottom-color: #fff; }

/* Bloque de contacto directo */
.cta-contacto {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px clamp(24px, 3vw, 38px);
  border: 1px solid #ffffff33;
  border-radius: 14px;
  background: #ffffff14;
}
.cta-contacto-titulo {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 700;
  color: #fff;
}
.cta-contacto p { margin: 0; }
.cta-contacto-acciones { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-contacto .button.light { margin: 6px 0 0; }
.cta-contacto-tel { color: #fff; font-weight: 600; border-bottom: 1px solid #ffffff66; }
.cta-contacto-tel:hover { border-bottom-color: #fff; }
.form-nota { font-size: 11px; color: #c6dcee; margin: 0; }

/* --------------------------------------------------------------------------
   Pie
   -------------------------------------------------------------------------- */
footer {
  background: linear-gradient(110deg, #1c1e4d, #2a2c73 60%, #0a5390);
  color: #a8c2d4;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 45px clamp(24px, 7vw, 108px);
  font-size: 12px;
}
.footer-brand img { width: 148px; }
footer div { display: flex; gap: 22px; }
footer small { opacity: .65; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-image-frame { right: -12px; }
  .hero-product .float-card { right: 0; }
}

@media (max-width: 900px) {
  .site-header { height: 70px; }
  .menu {
    display: block;
    background: none;
    border: 1px solid #ffffff55;
    color: #fff;
    padding: 8px 11px;
    border-radius: 3px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--indigo-900);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav .portal, .client { border: 0; padding: 0; }

  .hero { grid-template-columns: 1fr; padding-top: 130px; }
  .hero h1 { letter-spacing: -3px; }
  .visual { height: 460px; margin-top: 10px; }
  .hero-product { height: 500px; }
  .hero-image-frame { inset: 24px 0 42px; border-radius: 20px; transform: none; }
  .hero-image-frame img { object-position: center; }
  .hero-product .float-card { right: 18px; bottom: 12px; }
  .float-card { right: 0; }

  .numbers { grid-template-columns: repeat(2, 1fr); gap: 25px; }
  .customers-copy { grid-template-columns: 1fr 1fr; }
  .customers-copy > p:last-child { grid-column: 1/-1; }
  .customer-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .saas, .section-head, .cta { grid-template-columns: 1fr; }
  .saas-benefits, .layers, .module-grid { grid-template-columns: repeat(2, 1fr); }
  .layers article { min-height: 280px; }
  .module-grid article { min-height: 350px; }
  .module-grid img { aspect-ratio: 1.5; }
  .development-note { grid-template-columns: 1fr; }
  .development-note small { grid-column: 1; }
  .base-module { grid-template-columns: 1fr; }
  .base-module ul { grid-column: 1; grid-template-columns: repeat(2, 1fr); }

  .national-team { grid-template-columns: 1fr; gap: 55px; }
  .coverage-map { min-height: 640px; max-width: 620px; width: 100%; margin: auto; }
  .map-stage { height: 515px; }

  .app { grid-template-columns: 1fr; gap: 46px; }
  .app-visual { order: -1; }

  .before-after { grid-template-columns: 1fr; }
  .arrow { height: 60px; transform: rotate(90deg); }
  /* El SVG se reduce al ir a una columna: se agrandan los rotulos para compensar */
  .curva { grid-template-columns: 1fr; gap: 34px; padding: 34px; }
  .curva-eje-y, .curva-eje-x { font-size: 14px; }
  .curva-umbral-txt { font-size: 13px; }
  .curva-linea { stroke-width: 4; }
  .curva-punto { r: 5; stroke-width: 3; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p { display: none; }
}

@media (max-width: 560px) {
  .brand-image img { width: 152px; }
  .brand-chip { padding: 6px 8px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 49px; }
  .actions { align-items: flex-start; flex-direction: column; }
  .visual { height: 350px; }
  .hero-product { height: 330px; margin-top: 26px; }
  .hero-image-frame { inset: 0 -22px 30px; border-radius: 15px; }
  .hero-image-frame img { object-position: 58% center; }
  .hero-product .float-card { right: -4px; bottom: 0; transform: scale(.88); transform-origin: bottom right; }

  .numbers { padding: 28px 20px; }
  .numbers article { padding-left: 15px; }
  .numbers strong { font-size: 26px; }

  .customers { padding: 65px 22px; }
  .customers-copy { grid-template-columns: 1fr; }
  .customer-logos { padding: 4px; gap: 10px; border-radius: 16px; }
  .customer-logos span { height: 112px; padding: 18px 16px; border-radius: 13px; }
  .customer-logos img { max-height: 72px; }

  .saas, .platform, .impact { padding: 75px 22px; }
  .saas-benefits, .layers, .module-grid { grid-template-columns: 1fr; }
  .saas-benefits article { padding-left: 0 !important; border-right: 0; }
  .section-head { gap: 25px; }
  .layers article { min-height: 250px; }
  .icon { margin: 45px 0 20px; }
  .development-note { padding: 26px 22px; }
  .base-module ul { grid-template-columns: 1fr; }
  .module-head { align-items: flex-start; flex-direction: column; gap: 15px; }
  .module-grid { gap: 16px; }
  .module-grid article { min-height: auto; padding-bottom: 30px; }
  .module-grid img { aspect-ratio: 1.45; }
  .module-icon { width: 54px; height: 54px; margin-top: -47px; border-radius: 15px; font-size: 25px; }

  .national-team { padding: 75px 22px; }
  .team-copy h2 { letter-spacing: -2px; }
  .team-lead { font-size: 15px; }
  .coverage-map { min-height: 590px; border-radius: 14px; }
  .map-top { padding: 20px; }
  .map-stage { height: 470px; }
  .chile-network { height: 455px; width: 160px; }
  .map-node { min-width: 126px; gap: 8px; }
  .map-node span { padding: 7px 8px; }
  .map-node strong { font-size: 9px; }
  .node-north { left: 51%; }
  .node-center { right: 49%; }
  .node-south { left: 48%; }
  .node-austral { right: 51%; }
  .map-note { left: 16px; right: 16px; }

  .hero-app { flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-app-enlaces { justify-content: space-between; }
  .pastilla-tienda { flex: 1 1 auto; justify-content: center; }
  .hero-app-mas { width: 100%; }

  .app { padding: 75px 22px; }
  .app-copy h2 { letter-spacing: -1.5px; }
  .app-telefono { width: 240px; }
  .app-tienda { flex: 1 1 auto; justify-content: center; }

  .curva { margin-top: 45px; padding: 26px 20px; border-radius: 15px; }
  /* En pantalla angosta la cifra y su explicacion se apilan */
  .curva-cifras { grid-template-columns: 1fr; }
  .curva-cifras strong { padding: 14px 0 0; font-size: 23px; }
  .curva-cifras > li > span { padding: 3px 0 0; }
  .curva-eje-x-par { display: none; }

  .cta { padding: 70px 22px; gap: 30px; }
  .cta-contacto { padding: 26px 22px; }
  .cta-contacto-acciones { flex-direction: column; align-items: flex-start; gap: 14px; }
  footer { grid-template-columns: 1fr; }
  footer div { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map-node > b:after { animation: none; }
  .numbers article.conteo-oculto { opacity: 1; transform: none; transition: none; }
  [data-revelar], [data-revelar].revelado { opacity: 1; animation: none; }
  .map-silueta, .map-node { opacity: 1; transition: none; }
  .mapa-activo .map-node { animation: none; }
  .map-borde { transition: none; }
  .curva-area, .curva-punto { opacity: 1; transition: none; }
  .curva-activa .curva-punto { animation: none; }
  .curva-linea { transition: none; }
  .site-header { transition: none; }
}
