/* Sitio público: estructura de bandas oscuras (hero/footer) + secciones claras de lectura,
   con las animaciones del sitio anterior (partículas, océano, revelado al hacer scroll). */
:root {
  --blue: #0A6EBD;
  --blue-dark: #084B80;
  --cyan: #13B6FF;
  --violet: #8b5cf6;
  --ink: #0F172A;
  --ink-2: #1E293B;
  --night: #020617;
  --muted: #5B6B7A;
  --line: #E2E8F0;
  --paper: #FFFFFF;
  --paper-2: #F3F6FA;
  --wa: #25D366;
  --ok: #16A34A;
  --warn: #D97706;
  --amber: #f59e0b;
  --glass: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.1);
  --glow-blue: 0 0 30px rgba(10,110,189,.4), 0 0 60px rgba(10,110,189,.15);
  --glow-cyan: 0 0 30px rgba(19,182,255,.4), 0 0 60px rgba(19,182,255,.15);
  --ease: cubic-bezier(.16,1,.3,1);
  --font: "Open Sans", Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 14px;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.section.alt { background: var(--paper-2); }
.section > .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* Fondo de cuadrícula y orbes difusos para secciones claras */
.sec-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10,110,189,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(10,110,189,.035) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }

/* Barra superior animada */
.cine-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 80;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--violet), var(--blue));
  background-size: 300% 100%;
  animation: cine-flow 4s linear infinite;
}
@keyframes cine-flow { to { background-position: 300% 0; } }

/* Botones (con barrido de brillo al pasar el cursor) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 10px; border: 0;
  font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s ease, color .2s ease;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: left .5s; pointer-events: none;
}
.btn:hover::after { left: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; box-shadow: 0 8px 24px rgba(10,110,189,.35); }
.btn-primary:hover { box-shadow: var(--glow-blue); color: #fff; }
.btn-cyan { background: linear-gradient(135deg, var(--cyan), #2E9BF0); color: #fff; box-shadow: 0 8px 24px rgba(19,182,255,.3); }
.btn-cyan:hover { box-shadow: var(--glow-cyan); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-line { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; box-shadow: var(--glow-blue); }
.btn-wa { background: linear-gradient(135deg, var(--wa), #34eb7a); color: #fff; }
.btn-wa:hover { box-shadow: 0 0 24px rgba(37,211,102,.45); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(2,6,23,.92); backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .4s var(--ease), background .4s var(--ease);
}
.site-header.scrolled { background: rgba(2,6,23,.97); box-shadow: 0 10px 32px rgba(0,0,0,.28); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; transition: min-height .4s var(--ease); }
.site-header.scrolled .nav { min-height: 60px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 36px; width: auto; transition: transform .3s var(--ease); }
.logo:hover img { transform: scale(1.04); }
.menu { display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.menu a { display: block; padding: 10px 14px; border-radius: 8px; color: rgba(255,255,255,.75); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s, background .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.menu .has-sub { position: relative; }
.submenu { position: absolute; top: 100%; left: 0; min-width: 240px; padding: 8px; list-style: none; margin: 0; background: var(--ink); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.nav-cta { display: flex; gap: 10px; }
.nav-cta .btn { padding: 10px 16px; font-size: .88rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

/* Panel lateral móvil */
.mobile-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mobile-backdrop.open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw; z-index: 95;
  background: var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden;
}
.mobile-panel.open { transform: none; visibility: visible; }
.mobile-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #fff; font-weight: 700; }
.mobile-panel-close { background: none; border: 0; color: rgba(255,255,255,.7); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 4px 8px; }
.mobile-panel a.m-link { color: #fff; text-decoration: none; font-weight: 600; padding: 10px 4px; border-radius: 8px; }
.mobile-panel a.m-link.sub { color: rgba(255,255,255,.65); padding-left: 18px; font-weight: 500; }
.mobile-panel a.m-link:hover { color: var(--cyan); }
.mobile-panel .btn { margin-top: 10px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .menu, .nav-cta { display: none; }
}

/* Hero oscuro */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(19,182,255,.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(10,110,189,.28), transparent 60%),
    var(--night);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  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: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 104px); }
.hero h1, .hero h2 { color: #fff; }
.hero h1 em, .hero h2 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), #818cf8, #6FD3FF, var(--cyan));
  background-size: 300% 300%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: text-shimmer 5s ease-in-out infinite;
}
@keyframes text-shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
/* Entrada del hero con CSS puro: no depende de que cargue el JS */
.hero-copy > *, .hero-media { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; }
.hero-copy > :nth-child(5) { animation-delay: .4s; }
.hero-media { animation-name: rise-scale; animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes rise-scale { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
.hero-copy p { color: rgba(255,255,255,.72); font-size: 1.12rem; max-width: 56ch; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 7px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px);
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.85);
  animation: rise .9s var(--ease) both, badge-glow 3s ease-in-out 1s infinite alternate;
}
@keyframes badge-glow { from { box-shadow: 0 0 12px rgba(19,182,255,.08); } to { box-shadow: 0 0 24px rgba(19,182,255,.25); } }
.pill b { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 4px rgba(37,211,102,.4); } 50% { box-shadow: 0 0 16px rgba(37,211,102,.9); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 10px; }
.stat {
  padding: 16px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(12px);
  transition: transform .3s var(--ease), background .3s;
}
.stat:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: .82rem; color: rgba(255,255,255,.6); }

/* Figuras geométricas flotantes del hero */
.geo { position: absolute; pointer-events: none; opacity: .08; border: 2px solid rgba(255,255,255,.5); z-index: 1; }
.geo-ring { border-radius: 50%; animation: geo-pulse 6s ease-in-out infinite; }
.geo-hex { width: 60px; height: 60px; border: 0; background: rgba(255,255,255,.4); clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); animation: geo-float 8s ease-in-out infinite; }
.geo-dot { width: 6px; height: 6px; border: 0; border-radius: 50%; background: #fff; opacity: .2; animation: geo-pulse 3s ease-in-out infinite; }
.geo-circle { border-radius: 50%; animation: geo-float 12s ease-in-out infinite 3s; }
@keyframes geo-float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } }
@keyframes geo-pulse { 0%,100% { opacity: .06; transform: scale(1); } 50% { opacity: .14; transform: scale(1.1); } }

/* Video del hero con borde de degradado animado */
.hero-media { position: relative; margin: 0; border-radius: 18px; aspect-ratio: 16 / 9; max-width: 100%; min-width: 0; }
.hero-media::before {
  content: ""; position: absolute; inset: -3px; border-radius: 21px;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--violet));
  opacity: .6; filter: blur(1px); animation: border-hue 6s linear infinite;
}
@keyframes border-hue { to { filter: blur(1px) hue-rotate(360deg); } }
.hero-media-inner { position: relative; height: 100%; border-radius: 18px; overflow: hidden; background: var(--night); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(19,182,255,.18); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sound-toggle { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(2,6,23,.7); color: #fff; font: 600 .82rem/1 var(--font); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s; }
.sound-toggle:hover { background: rgba(10,110,189,.85); }
.sound-toggle svg { width: 16px; height: 16px; }
.sound-toggle .ico-on { display: none; }
.sound-toggle[aria-pressed="true"] .ico-on { display: block; }
.sound-toggle[aria-pressed="true"] .ico-off { display: none; }

/* Hero de páginas internas */
.page-hero .wrap { padding-block: clamp(48px, 7vw, 84px); }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.55); }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Franja de áreas */
.ws-strip { position: relative; height: 56px; overflow: hidden; background: var(--night); border-top: 1px solid rgba(255,255,255,.06); }
.ws-strip canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ws-label { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 2.5rem; color: rgba(255,255,255,.4); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; white-space: nowrap; }
.ws-label i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); }

/* Carrusel continuo de logos */
.logo-bar { padding: 40px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.logo-bar-label { text-align: center; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 24px; }
.logo-viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marquee 80s linear infinite; }
.logo-viewport:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 38px; width: auto; object-fit: contain; filter: grayscale(1) opacity(.4); transition: filter .4s, transform .4s var(--ease); }
.logo-track img:hover { filter: none; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Grids y tarjetas */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0;
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,110,189,.03), rgba(19,182,255,.04)); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px -12px rgba(2,26,44,.16); border-color: rgba(10,110,189,.25); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); position: relative; }
.ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #E0F2FE, #DBEAFE); color: var(--blue); flex: none; transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s; }
.ico svg { width: 24px; height: 24px; }
.card:hover .ico { transform: scale(1.1) rotate(-4deg); background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 8px 24px rgba(10,110,189,.28); }
.card .more { font-weight: 700; text-decoration: none; font-size: .92rem; position: relative; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Banda oscura (plataforma) con océano de partículas */
.band { background: var(--night); color: rgba(255,255,255,.75); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(19,182,255,.18), transparent 65%); pointer-events: none; }
.ocean { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }
.band .wrap { position: relative; z-index: 1; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--cyan); }
.band .lead { color: rgba(255,255,255,.7); }
.band-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; align-items: start; }
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.module {
  padding: 18px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-border); display: grid; gap: 6px; backdrop-filter: blur(10px);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.module:hover { transform: translateY(-3px); box-shadow: var(--glow-blue); border-color: rgba(19,182,255,.35); background: rgba(255,255,255,.08); }
.module strong { color: #fff; }
.module span { font-size: .86rem; color: rgba(255,255,255,.6); }

/* Resumen ejecutivo de ejemplo */
.report {
  background: #fff; color: var(--ink-2); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  font-size: .9rem; min-width: 0;
}
.report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report-top h3 { font-size: 1rem; color: var(--ink); }
.report-top small { color: var(--muted); }
.tag { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #E0F2FE; color: var(--blue-dark); white-space: nowrap; }
.report table { width: 100%; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.report td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.report td:last-child { text-align: right; font-family: var(--mono); font-size: .85rem; }
.report tr { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.report.reveal-scale:not(.visible) tr { opacity: 0; transform: translateX(12px); }
.report.visible tr:nth-child(1) { transition-delay: .25s; }
.report.visible tr:nth-child(2) { transition-delay: .35s; }
.report.visible tr:nth-child(3) { transition-delay: .45s; }
.report.visible tr:nth-child(4) { transition-delay: .55s; }
.report.visible tr:nth-child(5) { transition-delay: .65s; }
.report.visible tr:nth-child(6) { transition-delay: .75s; }
.ok { color: var(--ok); font-weight: 700; }
.warn { color: var(--warn); font-weight: 700; }
.report-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: .78rem; color: var(--muted); }

/* Línea de tiempo */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.timeline li { position: relative; padding-top: 32px; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); transition: transform .3s var(--ease), box-shadow .3s; }
.timeline li:hover::before { transform: scale(1.25); box-shadow: var(--glow-cyan); }
.timeline b { font-size: 1.4rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.timeline span { color: var(--muted); font-size: .95rem; }

/* Testimonios */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 18px; align-content: space-between; margin: 0; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.quote::after { content: ""; position: absolute; bottom: 0; left: 26px; right: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); opacity: 0; transition: opacity .4s; }
.quote:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(2,26,44,.16); }
.quote:hover::after { opacity: 1; }
.stars { display: flex; gap: 3px; color: var(--amber); }
.stars svg { width: 15px; height: 15px; }
.quote p { color: var(--ink-2); }
.quote p::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--cyan); font-weight: 800; margin-bottom: 8px; }
.quote footer { display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--blue); font-weight: 800; letter-spacing: 0; transition: background .3s, color .3s; }
.quote:hover .avatar { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; }

.values { display: flex; flex-wrap: wrap; gap: 10px; }
.values span { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; }
.values span:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--glow-blue); }

/* Certificaciones */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cert { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.cert:hover { transform: translateY(-3px); box-shadow: var(--glow-blue); }
.cert h3, .band .cert h3 { font-size: 1rem; margin-bottom: 6px; color: var(--ink); }
.cert p { color: var(--muted); font-size: .92rem; }
.cert-seal { flex: none; width: 64px; height: 64px; border-radius: 12px; display: grid; place-items: center; background: #E0F2FE; color: var(--blue); }
.cert-seal img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.cert-seal svg { width: 30px; height: 30px; }
.cert-zoom-btn { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--blue); font: 700 .88rem/1.4 var(--font); cursor: zoom-in; text-decoration: underline; text-underline-offset: 3px; }
.cert-dialog { border: 0; padding: 0; background: transparent; max-width: min(92vw, 820px); }
.cert-dialog::backdrop { background: rgba(2,6,23,.8); backdrop-filter: blur(6px); }
.cert-dialog img { max-height: 82vh; width: auto; border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.cert-dialog form { text-align: right; margin-bottom: 8px; }
.cert-dialog button { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; padding: 6px 12px; font: 600 .85rem var(--font); cursor: pointer; }

/* Bloque destacado con imagen */
.feature-img { border-radius: 20px; object-fit: cover; width: 100%; max-height: 420px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.18); transition: transform .5s var(--ease), box-shadow .5s; }
.feature-img:hover { transform: scale(1.02); box-shadow: 0 30px 60px -12px rgba(0,0,0,.22); }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 22px; padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 55%, #1597E5); color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
}
.cta > :not(canvas) { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); margin-top: 10px; }
.cta .btn-ghost { border-color: rgba(255,255,255,.4); }

/* Contacto */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label abbr { color: var(--blue); text-decoration: none; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,110,189,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }
.alert { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-size: .92rem; font-weight: 600; }
.alert-ok { background: #DCFCE7; color: #14532D; border: 1px solid #86EFAC; }
.alert-error { background: #FEF3C7; color: #78350F; border: 1px solid #FCD34D; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.contact-list li:hover .ico { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; box-shadow: 0 4px 16px rgba(19,182,255,.3); }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { text-decoration: none; font-weight: 600; }
.map { margin-top: 24px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4 / 3; max-width: 100%; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .btn { position: absolute; inset: auto 12px 12px auto; z-index: 1; }

/* Footer */
.site-footer { background: var(--night); color: rgba(255,255,255,.6); font-size: .92rem; }
.site-footer .wrap { padding-block: 64px 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-logo img { height: 34px; width: auto; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--cyan); }
.link-btn { padding: 0; border: 0; background: none; color: rgba(255,255,255,.75); font: inherit; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--cyan); }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--glass); border: 1px solid var(--glass-border); transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); box-shadow: var(--glow-blue); }
.social svg { width: 18px; height: 18px; }
.iso-foot { margin-top: 18px; height: 74px; width: auto; border-radius: 8px; background: #fff; padding: 4px; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .84rem; }

/* Revelado al hacer scroll */
.reveal, .reveal-left, .reveal-right, .reveal-scale { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal-left { opacity: 0; transform: translateX(-40px); }
.js .reveal-right { opacity: 0; transform: translateX(40px); }
.js .reveal-scale { opacity: 0; transform: scale(.94); }
.js .reveal.visible, .js .reveal-left.visible, .js .reveal-right.visible, .js .reveal-scale.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
.card.reveal.visible, .quote.reveal.visible { transition: opacity .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .hero-grid, .split, .cta, .band-grid, .cert-grid { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 22px; padding-left: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -28px; top: 4px; }
  .ws-label { justify-content: flex-start; padding-left: 20px; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4, .modules, .form, .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat { padding: 12px; }
  .stat strong { font-size: 1.2rem; }
  .actions .btn { flex: 1 1 100%; }
  .cert { flex-direction: column; }
  .ws-label { gap: 1.5rem; font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-left, .js .reveal-right, .js .reveal-scale, .report.reveal-scale:not(.visible) tr { opacity: 1; transform: none; }
  .particles, .ocean, .ws-strip canvas, .geo { display: none; }
}
