/* Smart! · Marketing y comunicación — estilos del sitio (app.smartlabcol.com)
   Colores de la marca: azul #023047, naranja #fb8501, papel #eeece7 */
:root {
  --azul: #023047;
  --azul-hondo: #011f2e;
  --azul-claro: #24485b;
  --gris-azul: #355466;
  --naranja: #fb8501;
  --naranja-texto: #b45f00;
  --papel: #eeece7;
  --papel-2: #e3e1db;
  --blanco: #ffffff;
  --sobre-azul: #c8d6de;
  --titulos: "Inter Tight", "Inter", system-ui, sans-serif;
  --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --manual: "Mr Dafoe", cursive;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--papel); color: var(--azul); font: 400 17px/1.55 var(--texto); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--azul); color: #fff; text-decoration: none; font-weight: 600; }
.saltar:focus { top: 12px; }

.papel { background: var(--papel) url("../img/papel.webp") 0 0 / 1252px repeat; }
.ancho { max-width: 1260px; margin: 0 auto; padding: 0 32px; }
.tit { font-family: var(--titulos); font-weight: 900; letter-spacing: -.045em; line-height: .92; text-transform: uppercase; margin: 0; }
.h2 { font-size: clamp(44px, 5.6vw, 84px); margin-top: 16px; }
.naranja-t { color: #c46600; }
.azul .naranja-t, .tec .naranja-t { color: var(--naranja); }
.manual { font-family: var(--manual); font-weight: 400; text-transform: none; letter-spacing: 0; }
.eyebrow { font: 700 13px/1 var(--texto); letter-spacing: .16em; text-transform: uppercase; color: var(--naranja-texto); }
.sec { padding: 128px 0; }
.cabeza { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cabeza p { margin: 0; max-width: 40ch; font-size: 18px; color: var(--azul-claro); }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--texto); text-decoration: none; transition: transform .2s var(--ease), background-color .2s, color .2s; }
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0) scale(.98); }
.b-naranja { background: var(--naranja); color: var(--azul); }
.b-naranja:hover { background: #ff9a2e; }
.b-azul { background: var(--azul); color: #fff; }
.b-azul:hover { background: #0b4766; }
.b-linea { border: 2px solid var(--azul); color: var(--azul); }
.b-linea:hover { background: var(--azul); color: #fff; }
.b-linea-c { border: 2px solid rgba(255, 255, 255, .5); color: #fff; }
.b-linea-c:hover { background: #fff; color: var(--azul); }

/* ---------- Cargando ---------- */
.cargando { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--papel); transition: opacity .5s ease, visibility .5s; }
.cargando.listo { opacity: 0; visibility: hidden; }
/* respaldo: si el JavaScript no llega, la pantalla se quita sola */
.cargando { animation: ocultar .5s 9s forwards; }
@keyframes ocultar { to { opacity: 0; visibility: hidden; } }
.cargando .caja { display: grid; justify-items: center; gap: 18px; text-align: center; }
.cargando img { width: 64px; height: auto; animation: encender 1.4s ease-in-out infinite; }
.cargando p { margin: 0; font: 700 15px/1.3 var(--texto); letter-spacing: .04em; color: var(--azul); }
.cargando .barra-c { width: 160px; height: 4px; border-radius: 4px; background: rgba(2, 48, 71, .12); overflow: hidden; }
.cargando .barra-c i { display: block; width: 40%; height: 100%; border-radius: 4px; background: var(--naranja); animation: barrer 1.1s ease-in-out infinite; }
.cargando .lento { display: none; font-weight: 500; color: var(--gris-azul); max-width: 30ch; }
.cargando.tarda .lento { display: block; }
@keyframes encender { 0%, 100% { filter: drop-shadow(0 0 0 rgba(251, 133, 1, 0)); transform: translateY(0); } 50% { filter: drop-shadow(0 0 18px rgba(251, 133, 1, .8)); transform: translateY(-4px); } }
@keyframes barrer { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

/* ---------- Barra ---------- */
.barra { position: sticky; top: 0; z-index: 50; background: rgba(238, 236, 231, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(2, 48, 71, .08); }
.barra .ancho { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { height: 40px; width: auto; }
.marca-txt { display: grid; gap: 3px; }
.marca-txt b { font: 900 24px/.9 var(--titulos); letter-spacing: -.04em; }
.marca-txt small { font: 700 10.5px/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; color: var(--naranja-texto); }
.marca-pie { color: #fff; }
.marca-pie img { height: 56px; }
.marca-pie .marca-txt b { font-size: 34px; }
.marca-pie .marca-txt small { font-size: 12px; color: var(--naranja); }
.barra nav { display: flex; align-items: center; gap: 28px; }
.barra nav a.enl { font-size: 15px; font-weight: 600; text-decoration: none; }
.barra nav a.enl:hover { color: var(--naranja-texto); }
.barra .boton { min-height: 46px; padding: 0 20px; font-size: 15px; }

/* ---------- Portada ---------- */
.portada { position: relative; overflow: hidden; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); gap: 24px; align-items: center; min-height: calc(100svh - 76px); padding-top: 40px; padding-bottom: 80px; }
.h1 { font-size: clamp(46px, 6.3vw, 98px); margin-top: 22px; }
.h1 .lin { display: block; overflow: hidden; padding-bottom: .04em; }
.h1 .lin span { display: inline-block; transform: translateY(105%); animation: subir 1s 9s var(--ease) forwards; }
.listo-pagina .h1 .lin span { animation: subir 1s var(--ease) forwards; }
.listo-pagina .h1 .lin:nth-child(2) span { animation-delay: .12s; }
.listo-pagina .h1 .lin:nth-child(3) span { animation-delay: .24s; }
@keyframes subir { to { transform: none; } }
.firma { display: inline-block; font-size: clamp(42px, 5vw, 76px); color: var(--naranja); transform: rotate(-6deg); margin: -6px 0 0 6px; clip-path: inset(0 100% 0 0); animation: escribir 1s 9.5s ease forwards; }
.listo-pagina .firma { animation: escribir 1.4s .7s ease forwards; }
@keyframes escribir { to { clip-path: inset(0 0 0 0); } }
.portada .intro { margin: 28px 0 0; max-width: 48ch; font-size: 20px; color: var(--azul-claro); }
.acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 2px solid var(--azul); }
.dato { padding: 20px 18px 0 0; }
.dato b { display: block; font: 900 clamp(34px, 3.4vw, 48px)/1 var(--titulos); letter-spacing: -.04em; }
.dato span { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.4; color: var(--gris-azul); }
.foco { position: relative; height: 720px; overflow: hidden; }
.cable { position: absolute; left: 50%; top: -60px; transform-origin: 50% 0; animation: mecer 5s ease-in-out infinite; }
.cable img { width: 240px; max-width: none; margin-left: -120px; }
@keyframes mecer { 0%, 100% { transform: rotate(3.5deg); } 50% { transform: rotate(-3.5deg); } }
.brillo { position: absolute; left: 50%; top: 243px; width: 260px; height: 260px; margin-left: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(251, 133, 1, .55), rgba(251, 133, 1, 0) 65%); animation: latir 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes latir { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }

/* ---------- Logos ---------- */
.logos { overflow: hidden; background: #fff; border-block: 2px solid var(--azul); }
.logos .pista { display: flex; width: max-content; align-items: center; gap: 72px; padding: 26px 36px; animation: correr 40s linear infinite; }
.logos:hover .pista { animation-play-state: paused; }
.logos img { height: 58px; width: auto; filter: grayscale(1) contrast(1.1); opacity: .75; transition: filter .3s, opacity .3s; }
.logos img:hover { filter: none; opacity: 1; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- Servicios ---------- */
.serv { margin-top: 56px; border-top: 2px solid var(--azul); }
.fila { display: grid; grid-template-columns: 90px minmax(0, 1.1fr) minmax(0, 1fr) 300px; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 2px solid var(--azul); transition: background-color .3s, padding .3s var(--ease); }
.fila:hover { background: #fff; padding-inline: 20px; }
.fila .num { font: 900 22px/1 var(--titulos); color: var(--naranja-texto); }
.fila h3 { margin: 0; font: 900 clamp(30px, 3vw, 46px)/.95 var(--titulos); letter-spacing: -.04em; text-transform: uppercase; }
.fila p { margin: 0 0 12px; color: var(--azul-claro); font-size: 16px; }
.fila ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.fila li { padding: 8px 12px; border-radius: 999px; background: rgba(2, 48, 71, .07); font-size: 13.5px; font-weight: 600; }
.fila .foto { height: 170px; border-radius: 18px; overflow: hidden; }
.fila .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.fila:hover .foto img { transform: scale(1.08) rotate(-1deg); }

/* ---------- Resultados ---------- */
.azul { background: var(--azul); color: #fff; }
.azul .eyebrow, .tec .eyebrow { color: var(--naranja); }
.res-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.azul .contador { margin: 28px 0 0; font: 900 clamp(64px, 8vw, 124px)/.9 var(--titulos); letter-spacing: -.05em; color: var(--naranja); font-variant-numeric: tabular-nums; }
.azul p { color: var(--sobre-azul); font-size: 18px; }
.fotos-res { position: relative; height: 620px; }
.fotos-res .f { position: absolute; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.fotos-res .f img { width: 100%; height: 100%; object-fit: cover; }
.f1 { left: 0; top: 40px; width: 56%; height: 420px; transform: rotate(-3deg); }
.f2 { right: 0; top: 0; width: 40%; height: 330px; transform: rotate(4deg); animation: flotar 6s ease-in-out infinite; }
.f3 { right: 6%; bottom: 0; width: 46%; height: 250px; transform: rotate(-2deg); background: #fff; animation: flotar 7s ease-in-out infinite; animation-delay: -3s; }
.f3 img { object-fit: contain !important; }
@keyframes flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.gimbal { position: absolute; left: -60px; bottom: -30px; width: 300px; animation: girar 9s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .5)); }
@keyframes girar { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(5deg) translateY(-10px); } }

/* ---------- Proceso ---------- */
.proceso-caja { position: relative; margin-top: 72px; }
.proceso { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; position: relative; }
.camino { position: absolute; left: 0; right: 0; top: 4px; height: 60px; pointer-events: none; }
.camino path { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.visto .camino path { animation: trazar 2.4s var(--ease) forwards; }
@keyframes trazar { to { stroke-dashoffset: 0; } }
.etapa .n { z-index: 1; width: 68px; height: 68px; border-radius: 50%; background: var(--azul); color: var(--naranja); display: grid; place-items: center; font: 900 24px/1 var(--titulos); position: relative; border: 4px solid var(--papel); }
.etapa h3 { margin: 24px 0 8px; font: 800 22px/1.15 var(--titulos); letter-spacing: -.02em; }
.etapa p { margin: 0; font-size: 15.5px; color: var(--gris-azul); }

/* ---------- Paquetes ---------- */
.gris { background: var(--papel-2); }
.paquetes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.paq { background: #fff; border-radius: 24px; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; border: 2px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.paq:hover { transform: translateY(-8px); box-shadow: 0 28px 50px rgba(2, 48, 71, .16); border-color: var(--naranja); }
.paq .manual { font-size: 30px; line-height: .6; display: block; }
.paq h3 { margin: 0; font: 900 32px/1 var(--titulos); letter-spacing: -.04em; text-transform: uppercase; color: var(--naranja-texto); }
.paq ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.paq li { display: flex; gap: 9px; }
.paq li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: var(--naranja); }
.paq .cotizar { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; text-decoration: none; }
.paq .cotizar:hover { text-decoration: underline; text-underline-offset: 4px; }
.paq.dest { background: var(--azul); color: #fff; }
.paq.dest h3, .paq.dest .cotizar { color: var(--naranja); }
.paq.ayuda { background: var(--naranja); }
.paq.ayuda h3 { color: var(--azul); }
.paq.ayuda li::before { background: var(--azul); }
.sueltos { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.sueltos li { padding: 12px 18px; border-radius: 999px; border: 2px solid var(--azul); font-weight: 600; font-size: 15px; }

/* ---------- Tecnología ---------- */
.tec { background: var(--azul-hondo); color: #fff; position: relative; overflow: hidden; }
.tec::before { content: ""; position: absolute; right: -200px; top: -200px; width: 700px; height: 700px; border-radius: 50%; background: var(--naranja); opacity: .12; filter: blur(20px); }
.tec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; position: relative; }
.tec .intro { margin: 24px 0 0; max-width: 46ch; font-size: 19px; color: var(--sobre-azul); }
.dominio { display: inline-flex; align-items: center; margin-top: 26px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font: 500 17px/1 var(--texto); }
.rota { display: inline-block; height: 20px; overflow: hidden; vertical-align: bottom; color: var(--naranja); font-weight: 700; }
.rota .pila { display: flex; flex-direction: column; animation: rotar 12s cubic-bezier(.7, 0, .2, 1) infinite; }
.rota .pila span { height: 20px; line-height: 20px; }
@keyframes rotar { 0%, 20% { transform: translateY(0); } 25%, 45% { transform: translateY(-20px); } 50%, 70% { transform: translateY(-40px); } 75%, 95% { transform: translateY(-60px); } 100% { transform: translateY(-80px); } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { padding: 11px 15px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14.5px; font-weight: 500; }
.escena { position: relative; height: 560px; }
.navegador { position: absolute; left: 0; top: 30px; width: 88%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; animation: flotar 7s ease-in-out infinite; }
.barra-n { height: 30px; background: #ececea; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.punto { width: 9px; height: 9px; border-radius: 50%; background: #cfcfca; }
.url { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: #fff; font: 500 10.5px/18px var(--texto); color: #4b4e55; padding: 0 10px; }
.pantallas { position: relative; aspect-ratio: 1440 / 900; }
.pantallas img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; animation: cambio 12s infinite; }
.pantallas img:nth-child(2) { animation-delay: 3s; }
.pantallas img:nth-child(3) { animation-delay: 6s; }
.pantallas img:nth-child(4) { animation-delay: 9s; }
@keyframes cambio { 0% { opacity: 0; } 3% { opacity: 1; } 25% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }
.telefono { position: absolute; right: 2%; bottom: 0; width: 220px; border-radius: 34px; padding: 8px; background: #0b0c0e; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1.5px #2b2d33; animation: flotar 6s ease-in-out infinite; animation-delay: -2s; }
.telefono .pantallas { aspect-ratio: 390 / 780; border-radius: 27px; overflow: hidden; background: #111; }
.aviso { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: #fff; color: var(--azul); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.3; opacity: 0; animation: avisar 12s infinite; }
.aviso b { display: block; font-weight: 700; }
.aviso small { color: #4b4e55; font-size: 13px; }
.aviso .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.a1 { left: -4%; top: 280px; animation-delay: .6s; }
.a2 { right: -2%; top: 40px; animation-delay: 4.6s; }
.a3 { left: 8%; bottom: 20px; animation-delay: 8.6s; }
@keyframes avisar { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 4% { opacity: 1; transform: none; } 26% { opacity: 1; transform: none; } 31% { opacity: 0; transform: translateY(-8px); } 100% { opacity: 0; } }
.casos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 72px 0 0; padding: 0; list-style: none; position: relative; }
.caso { display: block; height: 100%; text-decoration: none; color: #fff; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: transform .35s var(--ease), border-color .35s; }
.caso:hover { transform: translateY(-8px); border-color: var(--naranja); }
.caso .vista { aspect-ratio: 390 / 560; overflow: hidden; }
.caso .vista img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.caso:hover .vista img { transform: scale(1.06); }
.caso .txt { padding: 14px 16px 16px; }
.caso .rubro { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--naranja); }
.caso .nom { font: 800 17px/1.2 var(--titulos); margin-top: 4px; }
.caso .ir { display: block; margin-top: 8px; font-size: 13px; color: #b8c7d0; }

/* ---------- Equipo ---------- */
.equipo { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; }
.persona { text-align: center; }
.persona .marco { position: relative; height: 300px; display: flex; align-items: flex-end; justify-content: center; }
.persona .marco::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 72%; border-radius: 200px 200px 24px 24px; background: var(--azul); transform-origin: bottom; transition: background-color .35s, transform .35s var(--ease); }
.persona:hover .marco::before { background: var(--naranja); transform: scaleY(1.06); }
.persona img { position: relative; height: 290px; width: auto; max-width: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.persona:hover img { transform: translateY(-8px); }
.persona b { display: block; margin-top: 16px; font: 800 18px/1.2 var(--titulos); }
.persona span { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--naranja-texto); }

/* ---------- Testimonios ---------- */
.testi { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-top: 56px; }
.cita { margin: 0; background: #fff; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.cita blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.cita figcaption { margin-top: auto; font-size: 14.5px; }
.cita figcaption b { display: block; font: 800 17px/1.2 var(--titulos); }
.cita.grande { background: var(--naranja); grid-row: span 3; }
.cita.grande blockquote { font: 700 clamp(22px, 2.2vw, 30px)/1.3 var(--titulos); letter-spacing: -.02em; }
.comilla { font: 900 90px/.6 var(--titulos); height: 40px; }

/* ---------- Cierre y pie ---------- */
.cierre { background: var(--naranja); }
.cierre .tit { font-size: clamp(52px, 7.6vw, 120px); max-width: 12ch; }
.opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.op { display: flex; flex-direction: column; gap: 12px; background: var(--azul); color: #fff; border-radius: 24px; padding: 32px; text-decoration: none; transition: transform .3s var(--ease); }
.op:hover { transform: translateY(-6px); }
.op h3 { margin: 0; font: 900 30px/1 var(--titulos); letter-spacing: -.03em; text-transform: uppercase; }
.op p { margin: 0; color: var(--sobre-azul); font-size: 16px; }
.op .tel { margin-top: 10px; font: 800 26px/1 var(--titulos); color: var(--naranja); }
.pie { background: var(--azul-hondo); color: #b8c7d0; padding: 88px 0 36px; }
.pie a { color: #fff; text-decoration: none; }
.pie a:hover { color: var(--naranja); }
.pie-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.pie h2 { margin: 0 0 16px; color: #fff; font: 700 13px/1 var(--texto); letter-spacing: .14em; text-transform: uppercase; }
.pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.pie-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* ---------- Entradas al hacer scroll ---------- */
.js .revelar { opacity: 0; transform: translateY(28px); }
/* respaldo: si sitio.js no corrió, todo aparece a los 6 s */
.js:not(.js-ok) .revelar { animation: mostrar .6s 6s forwards; }
@keyframes mostrar { to { opacity: 1; transform: none; } }
.js .revelar.visto { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Páginas legales ---------- */
.legal-cab { background: var(--papel-2); padding: 72px 0 56px; }
.legal-cab .tit { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; max-width: 20ch; text-transform: none; letter-spacing: -.035em; }
.legal-cab p { margin: 20px 0 0; font-size: 16px; color: var(--gris-azul); }
.legal-cuerpo { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 56px; padding-bottom: 120px; }
.legal-lado { flex: 1 1 260px; max-width: 300px; }
.legal-lado h2 { margin: 0 0 14px; font: 700 13px/1 var(--texto); letter-spacing: .12em; text-transform: uppercase; color: var(--gris-azul); }
.legal-lado ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.legal-lado a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 15.5px; }
.legal-lado a:hover { background: var(--papel-2); }
.legal-lado a[aria-current="page"] { background: var(--azul); color: #fff; }
.legal-texto { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.legal-texto h1 { display: none; }
.legal-texto .vigencia { display: none; }
.legal-texto h2 { font: 800 26px/1.25 var(--titulos); letter-spacing: -.015em; margin: 48px 0 14px; }
.legal-texto h2:first-of-type { margin-top: 0; }
.legal-texto h3 { font: 700 19px/1.3 var(--titulos); margin: 28px 0 10px; }
.legal-texto p, .legal-texto li { font-size: 17px; line-height: 1.7; color: #1d3d4f; }
.legal-texto p { margin: 0 0 14px; }
.legal-texto ul, .legal-texto ol { margin: 0 0 16px; padding-left: 22px; }
.legal-texto li { margin-bottom: 6px; }
.legal-texto table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.legal-texto th, .legal-texto td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #d6d4cd; vertical-align: top; }
.legal-texto a { color: var(--azul); font-weight: 600; text-underline-offset: 3px; }
.pendiente { background: #ffe2bf; color: #6b3600; padding: 1px 5px; border-radius: 5px; font-weight: 600; }

/* ---------- Página de aviso (404 y caída) ---------- */
.aviso-pag { min-height: 100svh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.aviso-pag .caja { max-width: 560px; display: grid; justify-items: center; gap: 18px; }
.aviso-pag img { width: 70px; height: auto; animation: encender 2.4s ease-in-out infinite; }
.aviso-pag .tit { font-size: clamp(40px, 8vw, 72px); }
.aviso-pag p { margin: 0; font-size: 18px; color: var(--azul-claro); }
.aviso-pag .acciones { justify-content: center; margin-top: 12px; }

/* ---------- Pantallas táctiles: lo que en computador pasa con el mouse ---------- */
@media (hover: none) {
  .fila .foto img { transition: transform 1s var(--ease); }
  .fila.activo .foto img { transform: scale(1.08) rotate(-1deg); }
  .fila.activo .num { color: var(--naranja); }
  .persona.activo .marco::before { background: var(--naranja); transform: scaleY(1.06); }
  .persona.activo img { transform: translateY(-8px); }
  .paq.activo { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(2, 48, 71, .16); border-color: var(--naranja); }
  .caso.activo { transform: translateY(-6px); border-color: var(--naranja); }
  .caso.activo .vista img { transform: scale(1.06); }
  .op.activo { transform: translateY(-6px); }
  .logos img { filter: none; opacity: 1; }
}

/* ---------- Sin movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .h1 .lin span { transform: none; }
  .firma { clip-path: none; }
  .pantallas img:first-child, .aviso { opacity: 1; }
  .aviso.a2, .aviso.a3 { opacity: 0; }
  .js .revelar { opacity: 1; transform: none; }
  .camino path { stroke-dashoffset: 0; }
}

/* ---------- Celular y tableta ---------- */
@media (max-width: 1100px) {
  .fila { grid-template-columns: 70px minmax(0, 1fr) 240px; }
  .fila > div:nth-of-type(1) { grid-column: 2; }
  .fila .foto { grid-row: 1 / span 2; grid-column: 3; }
  .paquetes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .casos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .equipo { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .pie-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pie-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .ancho { padding: 0 18px; }
  .barra nav a.enl { display: none; }
  .sec { padding: 88px 0; }
  .p-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 24px; }
  .foco { height: 350px; order: -1; margin-bottom: -10px; }
  .cable { top: -20px; }
  .cable img { width: 116px; margin-left: -58px; }
  .brillo { top: 115px; width: 150px; height: 150px; margin-left: -75px; }
  .firma { font-size: 34px; white-space: nowrap; }
  .fotos-res { margin-top: 24px; }
  .datos { grid-template-columns: minmax(0, 1fr); }
  .dato { padding: 16px 0; border-bottom: 1px solid rgba(2, 48, 71, .15); }
  .fila { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fila > div:nth-of-type(1), .fila .foto { grid-column: auto; grid-row: auto; }
  .fila .foto { height: 200px; }
  .fila:hover { padding-inline: 0; background: none; }
  .res-grid, .tec-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .fotos-res { height: 440px; }
  .f1 { height: 330px; }
  .f2 { height: 260px; }
  .f3 { height: 180px; }
  .gimbal { width: 190px; left: -14px; }
  .proceso { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .camino { display: none; }
  .proceso::before { content: ""; position: absolute; left: 32px; top: 34px; bottom: 60px; width: 4px; border-radius: 4px; background: var(--naranja); transform-origin: top; transform: scaleY(0); transition: transform 2.2s var(--ease); }
  .proceso-caja.visto .proceso::before { transform: scaleY(1); }
  .etapa { display: grid; grid-template-columns: 68px minmax(0, 1fr); column-gap: 18px; }
  .etapa .n { grid-row: span 2; }
  .etapa h3 { margin: 6px 0 6px; }
  .paquetes { grid-template-columns: minmax(0, 1fr); }
  .escena { height: 420px; }
  .telefono { width: 160px; }
  .a1 { left: 0; top: auto; bottom: 130px; }
  .a2 { right: 0; top: -6px; }
  .a3 { display: none; }
  .casos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .equipo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .persona .marco { height: 230px; }
  .persona img { height: 220px; }
  .testi { grid-template-columns: minmax(0, 1fr); }
  .cita.grande { grid-row: auto; }
  .opciones { grid-template-columns: minmax(0, 1fr); }
  .legal-lado { max-width: none; }
}
