/* ============================================================================
   AGC · el inicio debajo del hero: profundidad, marca y movimiento
   (solo index.html · lo anima js/motion.js)
   ----------------------------------------------------------------------------
   Pedido de Adrián (24-oct): «quiero que siga siendo más asombrosa la página»,
   «el final se ve más pobre, como webs antiguas», y no había notado la primera
   pasada de animaciones (muy tímida). Dirección:
   - Profundidad: tarjetas en capas con sombras teñidas de azul, campos navy con
     luz azul y un toque naranja, grano sutil, paneles tipo vidrio.
   - Tipografía: titulares en 800 con un acento en 200 itálica azul. Una sola
     familia (Montserrat variable, 100-900 con itálicas).
   - El isotipo como motivo: se arma en la declaración y en el cierre, y sus
     franjas naranja y azul se vuelven el borde de las dos bandas navy.
   Solo se anima transform, opacity y stroke-dashoffset. Sin GSAP o con
   «reducir movimiento» todo queda en su estado final: ningún estado oculto
   vive en este archivo (los pone el JS cuando corre).
   ========================================================================== */

:root {
  --fx-sh: 0 1px 2px rgba(10, 34, 54, 0.05), 0 16px 36px -18px rgba(14, 108, 184, 0.32), 0 48px 90px -56px rgba(10, 34, 54, 0.32);
  --fx-sh-hi: 0 2px 6px rgba(10, 34, 54, 0.07), 0 28px 56px -22px rgba(14, 108, 184, 0.5), 0 70px 120px -60px rgba(10, 34, 54, 0.42);
  --fx-sky: #8CC8FF; /* acento azul claro sobre navy (contraste AA) */
  --fx-edge: clamp(56px, 8vw, 120px);
  --fx-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Titulares de sección: 800 + acento en 200 itálica azul ---------- */
#servicios h2, #especialidades h2, #cobertura h2, #testimonios h2, #sostenibilidad h2, #preguntas h2, .end h2 {
  font-weight: 800; letter-spacing: -0.045em; line-height: 1.02;
}
#servicios .sec-top h2, #especialidades .sec-top h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); max-width: 12.5em; }
#cobertura h2, #sostenibilidad h2, #preguntas h2 { font-size: clamp(2.1rem, 3.8vw, 3.6rem); }
#testimonios h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); letter-spacing: -0.035em; line-height: 1.1; }
.it { font-style: italic; font-weight: 200; color: var(--blue); letter-spacing: -0.03em; }
.proof .it, .end .it { color: var(--fx-sky); }

/* entrada de las palabras: suben, se enfocan y aparecen (agc.js pone .in una vez) */
.js .sec .wsplit .w, .js .end .wsplit .w { overflow: visible; }
.js .sec .wsplit .w > span, .js .end .wsplit .w > span {
  opacity: 0; transform: translate3d(0, 0.45em, 0); filter: blur(12px);
  transition: transform 1.1s var(--ease-out), opacity 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.js .sec .wsplit .it .w > span, .js .end .wsplit .it .w > span { transform: translate3d(0.3em, 0.3em, 0) skewX(-12deg); }
.js .sec .wsplit.in .w > span, .js .end .wsplit.in .w > span { opacity: 1; transform: none; filter: none; }

/* lo que todavía no entró (opacity 0 de agc.css) tampoco se puede tocar (reglas de iPhone) */
.js main .rv:not(.in), .js .end .rv:not(.in) { visibility: hidden; }

/* ---------- Marcas: fichas con profundidad en una cinta que acelera con el scroll ---------- */
.brands-band { position: relative; padding: clamp(60px, 7vw, 104px) 0 clamp(12px, 2vw, 24px); }
.brands { padding: 0; }
.fx-kick {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 clamp(14px, 2vw, 22px);
  font-size: clamp(0.95rem, 1.2vw, 1.12rem); line-height: 1.35; color: var(--ink); text-align: center;
}
.fx-kick::before, .fx-kick::after { content: ''; flex: 0 1 120px; height: 1px; background: linear-gradient(90deg, rgba(14, 108, 184, 0), rgba(14, 108, 184, 0.5)); }
.fx-kick::after { transform: scaleX(-1); }
.fx-kick b { font-weight: 700; }
.fx-kick em { font-weight: 300; font-style: italic; color: var(--blue); }
.brands-band .marquee {
  padding: 16px 0 46px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.bchip {
  flex: none; display: grid; place-items: center; width: clamp(148px, 13vw, 196px); height: clamp(66px, 6vw, 86px);
  margin-right: clamp(14px, 1.5vw, 22px); border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF, #F5F8FC); border: 1px solid rgba(10, 34, 54, 0.06);
  box-shadow: var(--fx-sh); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.brands-band .marquee-track img {
  height: clamp(22px, 2.1vw, 30px); width: auto; max-width: 74%; margin: 0; object-fit: contain;
}
.bchip:hover { transform: translateY(-5px); box-shadow: var(--fx-sh-hi); }
.bchip:hover img { opacity: 1; filter: none; }
.fx-on .brands-band .marquee-track { animation: none; } /* js/motion.js la mueve (y acelera con el scroll) */
@media (max-width: 760px) {
  .fx-kick { gap: 12px; font-size: 0.92rem; }
  .fx-kick::before, .fx-kick::after { flex-basis: 28px; }
  .bchip { width: 128px; height: 60px; border-radius: 14px; margin-right: 12px; }
  .brands-band .marquee-track img { height: 22px; }
}

/* ---------- Declaración: el isotipo se arma en una tarjeta navy ---------- */
.statement {
  position: relative; padding: clamp(56px, 7vw, 110px) 0 clamp(70px, 9vw, 130px);
  background: radial-gradient(45% 55% at 0% 35%, rgba(14, 108, 184, 0.07), rgba(14, 108, 184, 0) 70%), #fff;
}
.statement-grid { grid-template-columns: minmax(260px, 0.8fr) 1.55fr; gap: clamp(36px, 5.5vw, 96px); align-items: start; }
.statement-mark { padding: 0; position: sticky; top: calc(var(--hh) + 28px); }
.iso-card {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(85% 60% at 22% 10%, rgba(27, 127, 211, 0.78), rgba(27, 127, 211, 0) 62%),
    radial-gradient(70% 55% at 94% 104%, rgba(232, 85, 31, 0.4), rgba(232, 85, 31, 0) 62%),
    linear-gradient(165deg, #0C2C48 0%, #0A2236 52%, #061423 100%);
  box-shadow: 0 50px 90px -46px rgba(10, 34, 54, 0.7), 0 24px 60px -34px rgba(14, 108, 184, 0.75);
}
.iso-card > * { grid-area: 1 / 1; }
.iso-card::before { /* brillo de vidrio en diagonal + filo */
  content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.iso-card::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background-image: var(--fx-grain); background-size: 180px; opacity: 0.1; mix-blend-mode: overlay; }
.iso-card-glow { position: relative; z-index: 0; width: 92%; aspect-ratio: 1; margin-top: -8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(134, 203, 255, 0.42), rgba(134, 203, 255, 0)); }
.iso-3d { position: relative; z-index: 1; width: 76%; height: auto; margin-top: -8%; overflow: visible; }
.iso-card-tag {
  position: absolute; z-index: 4; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.iso-card-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #FF7A45; box-shadow: 0 0 0 3px rgba(255, 122, 69, 0.25); }
/* el mapa de Argentina (Natural Earth, dominio público): provincias en trazo fino, Cuyo y La
   Pampa resaltadas, San Juan encendida con un faro naranja y rutas que salen hacia la cobertura.
   Dos capas: el mapa (se dibuja una vez y queda quieto) y encima las rutas y el faro (lo único
   que se mueve, para que el navegador repinte poco). */
.map-card { aspect-ratio: 3 / 5; }
.map-stage { position: relative; z-index: 1; height: 90%; aspect-ratio: 300 / 655; max-width: 92%; margin-top: -4%; }
.map-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pv { fill: rgba(255, 255, 255, 0.035); stroke: rgba(170, 205, 240, 0.34); stroke-width: 0.45; stroke-linejoin: round; }
.pv--cov { fill: rgba(27, 127, 211, 0.22); stroke: rgba(140, 200, 255, 0.6); }
.pv--cuyo { fill: rgba(27, 127, 211, 0.38); stroke: rgba(140, 200, 255, 0.8); }
.pv--sj { fill: rgba(255, 122, 69, 0.5); stroke: #FFB38A; stroke-width: 0.7; }
.map-outline { fill: none; stroke: #D6E8F8; stroke-width: 1; stroke-linejoin: round; opacity: 0.9; }
.rt { fill: none; stroke: rgba(255, 160, 115, 0.7); stroke-width: 1.3; stroke-linecap: round; }
.rt-g--far .rt { stroke: rgba(160, 210, 255, 0.45); stroke-width: 0.8; }
.rt-g--far .dest-dot { fill: #BFE0FF; }
.rt-g--far .dest-ping { stroke: #8CC8FF; }
.rt-flow { fill: none; stroke: #FFE3D3; stroke-width: 1.8; stroke-linecap: round; stroke-dasharray: 2 8; opacity: 0; }
.rt-g--far .rt-flow { stroke: #D6ECFF; stroke-width: 1.1; }
.dest-dot { fill: #FFFFFF; }
.dest-ping, .bc-ring { fill: none; stroke: #FF9360; stroke-width: 0.9; opacity: 0; transform-box: fill-box; transform-origin: center; }
.bc-halo { fill: rgba(255, 122, 69, 0.3); }
.bc-dot { fill: #FF7A45; stroke: #FFE1D2; stroke-width: 0.8; }
.map-shine { /* brillo lento que cruza el mapa cuando ya está armado */
  position: absolute; z-index: 2; inset: -20% auto -20% 0; width: 45%; pointer-events: none; opacity: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-120%) skewX(-12deg);
}
/* en reposo (lo pone el JS cuando terminó de armarse y solo mientras se ve) */
.map-card.is-live .rt-flow { opacity: 0.9; animation: fxFlow 2.2s linear infinite; }
.map-card.is-live .bc-ring { animation: fxBeacon 2.6s var(--ease-out) infinite; }
.map-card.is-live .bc-ring--2 { animation-delay: 1.3s; }
.map-card.is-live .dest-ping { animation: fxBeacon 3.2s var(--ease-out) infinite; }
.map-card.is-live .rt-g:nth-child(2) .dest-ping { animation-delay: 1.1s; }
.map-card.is-live .rt-g:nth-child(3) .dest-ping { animation-delay: 2.1s; }
.map-card.is-live .rt-g--far .rt-flow { opacity: 0.6; animation-duration: 3.4s; }
.map-card.is-live .rt-g--far .dest-ping { animation-duration: 4.4s; }
.map-card.is-live .rt-g:nth-child(5) .dest-ping { animation-delay: 1.6s; }
.map-card.is-live .rt-g:nth-child(6) .dest-ping { animation-delay: 2.8s; }
.map-card.is-live .rt-g:nth-child(7) .dest-ping { animation-delay: 3.6s; }
.map-card.is-live .map-shine { opacity: 1; animation: fxShine 7s ease-in-out infinite; }
.map-card.is-paused * { animation-play-state: paused !important; }
@keyframes fxFlow { to { stroke-dashoffset: -20; } }
@keyframes fxBeacon { 0% { transform: scale(1); opacity: 0.95; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes fxShine { 0%, 55% { transform: translateX(-120%) skewX(-12deg); } 100% { transform: translateX(320%) skewX(-12deg); } }
.statement-text .hl { font-style: italic; font-weight: 300; }
.points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 0; margin-bottom: 40px; }
.points li, .points li + li {
  padding: 22px; border: 1px solid rgba(10, 34, 54, 0.07); border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF, #F5F9FD); box-shadow: var(--fx-sh);
  font-size: 0.98rem; color: var(--ink); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.points li:hover { transform: translateY(-4px); box-shadow: var(--fx-sh-hi); }
.points b { font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 200; letter-spacing: -0.05em; line-height: 1; margin-bottom: 14px; }
@media (max-width: 960px) {
  .statement-grid { grid-template-columns: 1fr; gap: 30px; }
  .statement-mark { position: relative; top: 0; }
  .iso-card { aspect-ratio: 16 / 10; max-height: 320px; border-radius: 22px; }
  .iso-3d { width: min(48%, 230px); margin-top: -4%; }
  .iso-card-glow { width: min(64%, 300px); margin-top: -4%; }
  .map-card { aspect-ratio: 4 / 5; max-height: 540px; }
  .map-stage { height: 88%; margin-top: -2%; }
  .points li:nth-child(3) { border-left: 1px solid rgba(10, 34, 54, 0.07); padding-left: 22px; }
  .points li { padding-bottom: 22px; }
}
@media (max-width: 520px) {
  .points { grid-template-columns: 1fr; gap: 10px; }
  .points li, .points li + li, .points li:nth-child(3) {
    display: grid; grid-template-columns: 46px 1fr; align-items: center; padding: 15px 18px;
    border: 1px solid rgba(10, 34, 54, 0.07);
  }
  .points b { margin: 0; font-size: 1.7rem; }
}

/* ---------- Servicios: tarjetas en capas, con giro 3D al pasar el mouse ---------- */
#servicios {
  padding: clamp(84px, 10vw, 150px) 0;
  background: radial-gradient(55% 35% at 100% 0%, rgba(14, 108, 184, 0.1), rgba(14, 108, 184, 0) 70%),
              linear-gradient(180deg, #FFFFFF 0, #F1F6FA 280px, #F1F6FA calc(100% - 280px), #FFFFFF 100%);
}
.stack { gap: clamp(20px, 2.6vw, 32px); }
/* la tarjeta (sticky, la achica agc.js) queda como marco; el diseño vive en .sc-in.
   El brillo que agc.js le ponía con filter se reemplaza por un velo (.sc-dim) */
.sc { display: block; min-height: 0; background: none; border: 0; border-radius: 26px; overflow: visible; box-shadow: none; filter: none !important; }
.sc-in {
  position: relative; display: grid; grid-template-columns: 1fr 1.08fr; min-height: min(70vh, 620px);
  background: linear-gradient(180deg, #FFFFFF, #FAFCFE); border: 1px solid rgba(10, 34, 54, 0.06);
  border-radius: 26px; overflow: hidden; isolation: isolate;
  box-shadow: 0 -10px 30px -18px rgba(10, 34, 54, 0.16), 0 30px 70px -34px rgba(14, 108, 184, 0.42), 0 70px 120px -70px rgba(10, 34, 54, 0.45);
}
.sc-body { position: relative; z-index: 1; padding: clamp(28px, 4vw, 60px); }
.sc-n {
  font-size: clamp(3.4rem, 7vw, 7rem); font-weight: 200; letter-spacing: -0.06em; line-height: 0.84; padding-bottom: 26px;
  background: linear-gradient(165deg, #0A4F8C 0%, #3D97E3 50%, rgba(61, 151, 227, 0.2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sc h3 { font-weight: 700; letter-spacing: -0.035em; }
.sc li { padding: 11px 0 11px 34px; border-top-color: rgba(10, 34, 54, 0.07); }
.sc li::before {
  left: 0; top: 11px; width: 22px; height: 22px; border: 0; border-radius: 50%; transform: none;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E6CB8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.sc-media { margin: 12px 12px 12px 0; border-radius: 18px; isolation: isolate; box-shadow: 0 22px 44px -26px rgba(10, 34, 54, 0.5); }
.sc-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(200deg, rgba(14, 108, 184, 0.2) 0%, rgba(14, 108, 184, 0) 42%), linear-gradient(0deg, rgba(10, 34, 54, 0.4) 0%, rgba(10, 34, 54, 0) 44%);
}
.sc-media .badge {
  z-index: 2; left: 16px; bottom: 16px; padding: 10px 18px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px -16px rgba(10, 34, 54, 0.55); animation: fxBob 5s ease-in-out infinite alternate;
}
@keyframes fxBob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
.sc-dim { position: absolute; inset: 0; z-index: 6; background: #0A2236; opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .sc-media { will-change: transform; } }
.sc-media .fx-glare { z-index: 1; }
@media (max-width: 860px) {
  .sc-in { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .sc { border-radius: 22px; }
  .sc-media { height: 220px; order: -1; margin: 10px 10px 0; border-radius: 15px; }
  .sc-n { font-size: 3.2rem; margin-bottom: 0; padding-bottom: 14px; }
}

/* links con flecha: área de toque de 44 px sin mover el diseño (reglas de iPhone) */
main .link { padding-block: 10px 13px; margin-block: -10px; background-position: 0 calc(100% - 10px); }

/* brillo que sigue al mouse (lo crea el JS solo con mouse) */
.fx-glare {
  position: absolute; z-index: 0; left: 0; top: 0; width: 460px; height: 460px; margin: -230px 0 0 -230px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0));
  transition: opacity 0.4s var(--ease);
}
.sc-media:hover > .fx-glare, .area:hover > .fx-glare { opacity: 1; }

/* ---------- Especialidades: mosaico de tarjetas que entra en ola ---------- */
#especialidades {
  padding: clamp(84px, 10vw, 150px) 0 calc(clamp(96px, 11vw, 160px) + var(--fx-edge));
  background: radial-gradient(50% 40% at 0% 100%, rgba(14, 108, 184, 0.07), rgba(14, 108, 184, 0) 70%), #fff;
}
.areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; border: 0; }
.areas li { display: flex; }
.area {
  grid-template-columns: 1fr auto; grid-template-areas: "n ic" "name name" "go go"; align-content: space-between; align-items: start;
  gap: 10px 12px; min-height: clamp(150px, 13vw, 186px); padding: 20px 20px 18px;
  border: 1px solid rgba(10, 34, 54, 0.07); border-radius: 20px; background: linear-gradient(180deg, #FFFFFF, #F6F9FC);
  box-shadow: var(--fx-sh); overflow: hidden;
  transition: color 0.3s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.area::before { background: linear-gradient(150deg, #1B7FD3 0%, #0E6CB8 45%, #0A4F8C 100%); border-radius: inherit; }
.area::after { /* ficha del ícono */
  content: ''; position: absolute; z-index: -1; top: 14px; right: 14px; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(145deg, #EAF3FC, #D5E6F6); box-shadow: inset 0 1px 0 #fff;
}
.area-n { grid-area: n; font-size: 0.8rem; font-weight: 600; }
.area-ic {
  grid-area: ic; width: 44px; height: 44px; padding: 4px; object-fit: contain; opacity: 1;
  filter: brightness(0) saturate(100%) invert(27%) sepia(89%) saturate(1500%) hue-rotate(191deg) brightness(92%);
}
.area-name { grid-area: name; align-self: end; font-size: clamp(1.05rem, 1.35vw, 1.26rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.area-go { grid-area: go; }
.area:hover, .area:focus-visible { padding-left: 20px; box-shadow: var(--fx-sh-hi); border-color: transparent; }
.area:hover::after, .area:focus-visible::after { background: rgba(255, 255, 255, 0.16); box-shadow: none; }
.area--other { background: linear-gradient(150deg, #0E3A5F 0%, #0A2236 60%, #071827 100%); color: #fff; border-color: transparent; box-shadow: 0 30px 60px -30px rgba(10, 34, 54, 0.6), 0 16px 40px -20px rgba(14, 108, 184, 0.5); }
.area--other .area-name, .area--other:hover .area-name { color: #fff; }
.area--other .area-n { color: rgba(255, 255, 255, 0.7); font-size: 2rem; font-weight: 200; line-height: 0.8; }
.area--other::after { top: -50px; right: -50px; width: 170px; height: 170px; border-radius: 50%; box-shadow: none; background: radial-gradient(closest-side, rgba(232, 85, 31, 0.5), rgba(232, 85, 31, 0)); }
.area--other:hover::after { background: radial-gradient(closest-side, rgba(232, 85, 31, 0.45), rgba(232, 85, 31, 0)); }
.area--other .area-go { opacity: 1; transform: none; color: var(--fx-sky); }
@media (max-width: 1100px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .area { grid-template-columns: 1fr auto; min-height: 142px; padding: 16px 16px 14px; border-radius: 18px; }
  .area:hover, .area:focus-visible { padding-left: 16px; }
  .area-ic { width: 38px; height: 38px; }
  .area::after { top: 11px; right: 11px; width: 48px; height: 48px; border-radius: 14px; }
  .area-name { font-size: 1.02rem; }
}

/* ---------- Borde de las bandas navy: las franjas del isotipo + un chevron ---------- */
.fx-edge { position: absolute; left: 0; right: 0; bottom: -1px; display: block; width: 100%; height: var(--fx-edge); pointer-events: none; overflow: visible; }

/* ---------- Cobertura: banda navy con luz de marca ---------- */
.proof { background: #0A2236; isolation: isolate; }
.fx-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fx-glow { position: absolute; border-radius: 50%; will-change: transform; }
.proof .fx-glow--a { width: min(1100px, 110vw); aspect-ratio: 1; left: -28%; top: 16%; background: radial-gradient(closest-side, rgba(27, 127, 211, 0.42), rgba(27, 127, 211, 0)); }
.proof .fx-glow--b { width: min(760px, 90vw); aspect-ratio: 1; right: -18%; bottom: -24%; background: radial-gradient(closest-side, rgba(232, 85, 31, 0.2), rgba(232, 85, 31, 0)); }
.fx-grain {
  position: absolute; inset: 0; background-image: var(--fx-grain); background-size: 180px; opacity: 0.09; mix-blend-mode: overlay;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 240px); mask-image: linear-gradient(180deg, transparent, #000 240px);
}
.proof .lens { border-radius: 22px; }
.proof .scanin::before { /* halo azul detrás de la foto */
  content: ''; position: absolute; z-index: -1; inset: 8% -10% -8% -10%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(27, 127, 211, 0.5), rgba(27, 127, 211, 0));
}
.proof-list { border-top-color: rgba(255, 255, 255, 0.12); }
.proof-list li { position: relative; border-bottom-color: rgba(255, 255, 255, 0.12); }
.fx-ln { position: absolute; z-index: 1; left: 0; bottom: -1px; width: 100%; height: 1px; transform-origin: 0 50%; background: linear-gradient(90deg, #8CC8FF, rgba(140, 200, 255, 0) 72%); }
.proof .pill { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.92); }
.proof .pill--on {
  background: linear-gradient(135deg, #0E6CB8, #0A4F8C); border-color: rgba(140, 200, 255, 0.5); color: #fff;
  box-shadow: 0 0 0 4px rgba(14, 108, 184, 0.2), 0 10px 26px -8px rgba(27, 127, 211, 0.85);
}
.proof .iso {
  border-radius: 20px; padding: 22px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03)); border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -34px rgba(0, 0, 0, 0.6);
}
.proof .iso img { box-shadow: 0 0 0 6px rgba(140, 200, 255, 0.12), 0 12px 30px -8px rgba(27, 127, 211, 0.75); }
.region li { border-radius: 999px; padding: 10px 18px; background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18); transition: transform 0.25s var(--ease); }
.region li:hover { transform: translateY(-2px); }
.region li.base {
  position: relative; background: linear-gradient(135deg, #0E6CB8, #0A4F8C); border-color: rgba(140, 200, 255, 0.5);
  box-shadow: 0 12px 30px -10px rgba(27, 127, 211, 0.9);
}
.region li.base::before { /* pulso de radar: la base de AGC */
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1.5px solid rgba(140, 200, 255, 0.85); animation: fxPulse 2.6s var(--ease-out) infinite;
}
@keyframes fxPulse { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.22, 1.6); opacity: 0; } }

/* ---------- Testimonios: el número grande y una tarjeta con profundidad ---------- */
#testimonios { isolation: isolate; overflow: hidden; }
#testimonios .fx-glow--c { width: min(900px, 100vw); aspect-ratio: 1; right: -16%; top: 2%; background: radial-gradient(closest-side, rgba(14, 108, 184, 0.16), rgba(14, 108, 184, 0)); }
#testimonios .fx-glow--d { width: min(520px, 70vw); aspect-ratio: 1; left: 16%; bottom: -18%; background: radial-gradient(closest-side, rgba(232, 85, 31, 0.1), rgba(232, 85, 31, 0)); }
.rating b {
  font-size: clamp(4.2rem, 7vw, 6.2rem); font-weight: 800; letter-spacing: -0.06em; padding-right: 0.04em;
  background: linear-gradient(160deg, #0A2236 25%, #0E6CB8 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rating .stars { letter-spacing: 2px; font-size: 1.15rem; }
.rating .stars i { display: inline-block; font-style: normal; }
.who button { position: relative; min-height: 52px; }
.who button .av { width: 42px; height: 42px; flex: none; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.who button[aria-selected="true"] .av {
  background: linear-gradient(135deg, #0E6CB8, #0A4F8C);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px rgba(14, 108, 184, 0.35), 0 10px 22px -8px rgba(14, 108, 184, 0.7);
}
.who-bar { position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; background: linear-gradient(90deg, #0E6CB8, #5FB4FF); }
.who button.fx-run .who-bar { animation: fxBar 7s linear forwards; }
.voices.fx-hold .who-bar { animation-play-state: paused; }
@keyframes fxBar { to { transform: scaleX(1); } }
.quote-wrap { position: relative; isolation: isolate; }
.quote-back { /* una segunda tarjeta inclinada detrás: capas */
  position: absolute; pointer-events: none; inset: 22px -16px -22px 22px; z-index: -1; border-radius: 30px;
  background: linear-gradient(140deg, #DCEAF7, #EEF3F8 55%, #F8E6DD); transform: rotate(2.2deg); box-shadow: var(--fx-sh);
}
.quote-stage {
  position: relative; overflow: hidden; border-radius: 30px; padding: clamp(32px, 4.6vw, 68px) clamp(26px, 4.6vw, 64px) clamp(28px, 4vw, 56px);
  background: linear-gradient(165deg, #FFFFFF 0%, #F8FBFE 100%); border: 1px solid rgba(10, 34, 54, 0.06); box-shadow: var(--fx-sh-hi);
}
.quote-stage::before {
  content: '«'; position: absolute; top: -0.3em; right: 0.08em; pointer-events: none;
  font-size: clamp(9rem, 16vw, 15rem); font-weight: 200; font-style: italic; line-height: 1; color: var(--blue); opacity: 0.1;
}
.quote { transform: translateY(18px) scale(0.985); transition: opacity 0.55s var(--ease), transform 0.8s var(--ease-out), visibility 0.55s; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.quote figcaption::before { content: ''; width: 26px; height: 2px; margin-right: 8px; border-radius: 2px; background: var(--blue); }
@media (max-width: 960px) {
  .quote-back { inset: 14px -6px -14px 14px; }
}

/* ---------- Sostenibilidad: tres tarjetas en cascada, cada una a su profundidad ---------- */
#sostenibilidad {
  overflow-x: clip; /* las tarjetas entran desde la derecha: que no ensanchen la página (WebKit) */
  padding: clamp(84px, 10vw, 150px) 0 clamp(70px, 8vw, 120px);
  background: radial-gradient(50% 55% at 100% 40%, rgba(46, 125, 79, 0.08), rgba(46, 125, 79, 0) 70%),
              radial-gradient(40% 40% at 70% 92%, rgba(14, 108, 184, 0.08), rgba(14, 108, 184, 0) 70%),
              linear-gradient(180deg, #FFFFFF, #F4F8F7);
}
.pillars { display: grid; gap: 16px; border: 0; }
.pillars li {
  grid-template-columns: 60px 1fr; padding: 22px 26px; border: 1px solid rgba(10, 34, 54, 0.06); border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 253, 251, 0.94));
  box-shadow: 0 1px 2px rgba(10, 34, 54, 0.04), 0 18px 40px -20px rgba(46, 125, 79, 0.34), 0 50px 90px -60px rgba(10, 34, 54, 0.3);
}
.pillars li:nth-child(2) { margin-left: clamp(12px, 3.4vw, 48px); }
.pillars li:nth-child(3) { margin-left: clamp(24px, 6.8vw, 96px); }
.pillars .ic { width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(145deg, #E9F6EC, #C9E6D1); color: #23704A; box-shadow: inset 0 1px 0 #fff, 0 10px 22px -10px rgba(46, 125, 79, 0.55); }
.pillars b { font-weight: 700; font-size: 1.25rem; }
#sostenibilidad .btn--line { background: #fff; border-color: rgba(10, 34, 54, 0.16); box-shadow: var(--fx-sh); }
#sostenibilidad .btn--line:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- Preguntas frecuentes: las respuestas de Vera, visibles (y en JSON-LD) ---------- */
#preguntas {
  padding: clamp(40px, 6vw, 90px) 0 calc(clamp(96px, 11vw, 160px) + var(--fx-edge));
  background: radial-gradient(45% 50% at 0% 30%, rgba(14, 108, 184, 0.07), rgba(14, 108, 184, 0) 70%), linear-gradient(180deg, #F4F8F7, #FFFFFF 40%);
}
.faq-grid { display: grid; grid-template-columns: minmax(260px, 0.75fr) 1.5fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--hh) + 32px); }
.faq-head p { color: var(--ink-2); max-width: 26em; margin: 22px 0 26px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid rgba(10, 34, 54, 0.07); border-radius: 18px; background: linear-gradient(180deg, #FFFFFF, #F7FAFD);
  box-shadow: var(--fx-sh); transition: box-shadow 0.35s var(--ease), border-color 0.35s;
}
.faq-item[open] { box-shadow: var(--fx-sh-hi); border-color: rgba(14, 108, 184, 0.22); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 60px; padding: 16px 22px;
  cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(1.02rem, 1.25vw, 1.14rem); letter-spacing: -0.015em; border-radius: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-deep); }
.faq-ic { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); transition: background 0.3s, transform 0.4s var(--ease); }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--blue); transition: transform 0.4s var(--ease), background 0.3s; }
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic { background: var(--blue); transform: rotate(180deg); }
.faq-item[open] .faq-ic::before, .faq-item[open] .faq-ic::after { background: #fff; }
.faq-item[open] .faq-ic::after { transform: rotate(0deg); }
.faq-a { padding: 0 22px 20px; color: var(--ink-2); }
.faq-item[open] .faq-a { animation: faqIn 0.45s var(--ease-out); }
.faq-a p { margin: 0 0 8px; color: var(--ink); }
.faq-a b { font-weight: 600; color: var(--blue-deep); }
.faq-a ul { margin: 6px 0 0; }
.faq-a li { position: relative; padding: 4px 0 4px 20px; font-size: 0.96rem; }
.faq-a li::before { content: ''; position: absolute; left: 2px; top: 0.85em; width: 8px; height: 2px; border-radius: 2px; background: var(--blue); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }
@media (max-width: 560px) { .faq-item summary { padding: 14px 16px; } .faq-a { padding: 0 16px 18px; } }

/* ---------- Cierre: luz de marca en canvas, el isotipo se arma, la marca gigante ---------- */
.end { padding-top: clamp(72px, 9vw, 130px); }
.end-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.end-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.end-art::after { /* arriba empalma con el borde navy; abajo se asienta */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #0A2236 0, rgba(10, 34, 54, 0) 260px), linear-gradient(0deg, rgba(6, 20, 35, 0.9) 0, rgba(6, 20, 35, 0) 46%);
}
.end-grain { position: absolute; inset: 0; background-image: var(--fx-grain); background-size: 180px; opacity: 0.13; mix-blend-mode: overlay; }
.end-top--fx { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: clamp(32px, 5vw, 80px); }
.end-copy h2 { font-size: clamp(2.7rem, 6.4vw, 6rem); max-width: 10em; margin-bottom: clamp(22px, 3vw, 34px); }
.end-copy p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, 0.8); max-width: 30em; margin-bottom: 30px; }
.end-iso-stage { position: relative; display: grid; place-items: center; width: 100%; max-width: 470px; aspect-ratio: 1; justify-self: end; }
.end-iso-stage > * { grid-area: 1 / 1; }
.end-iso-glow { width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(95, 180, 255, 0.36), rgba(95, 180, 255, 0)); }
.iso-3d--end { width: 86%; margin: 0; }
.foot-mark { position: relative; z-index: 1; height: clamp(74px, 15vw, 230px); overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; }
.foot-mark span {
  display: block; text-align: center; font-weight: 800; font-size: clamp(7rem, 27vw, 26rem); line-height: 0.78; letter-spacing: -0.07em;
  background: linear-gradient(180deg, rgba(140, 200, 255, 0.2) 0%, rgba(140, 200, 255, 0) 72%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (max-width: 960px) {
  .end-top--fx { grid-template-columns: 1fr; gap: 8px; }
  .end-iso-stage { order: -1; justify-self: start; max-width: 230px; margin: -18px 0 0 -14px; }
}

/* micro-interacciones del pie */
.social a { transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s; }
.social a:hover { transform: translateY(-3px); }
.foot ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease), color 0.2s; }
.foot ul a:hover { background-size: 100% 1px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .sc-media .badge, .region li.base::before, .map-card * { animation: none !important; }
  .region li.base::before { opacity: 0; }
  .js .sec .wsplit .w > span, .js .end .wsplit .w > span { opacity: 1; transform: none; filter: none; }
  .faq-item[open] .faq-a { animation: none; }
  .social a:hover, .region li:hover, .points li:hover, .bchip:hover { transform: none; }
}
