/* SINTECH — Soluciones Integrales Tecnológicas de Honduras
   Paleta: azul de marca, azul noche, celeste de fondo y los colores de los puntos del logo como acento puntual. */
:root {
  --azul: #0B4DA2;
  --azul-vivo: #1668D9;
  --noche: #0A1F44;
  --noche-2: #102B5C;
  --celeste: #EAF2FC;
  --linea: #D3E0F2;
  --tinta: #14213D;
  --tinta-suave: #4A5B7A;
  --blanco: #FFFFFF;
  --amarillo: #F5B700;
  --verde: #2E9E4F;
  --wa: #1FA855;
  --fuente: "Archivo", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ancho: 1180px;
  --radio: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--fuente); font-size: 17px; line-height: 1.55; color: var(--tinta); background: var(--blanco); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-stretch: 112%; font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 4px; }

.marco { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }
.salto { position: absolute; left: -999px; top: 8px; background: var(--amarillo); color: var(--noche); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.salto:focus { left: 12px; }

/* ---------- botones ---------- */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.boton-claro { background: var(--blanco); color: var(--azul); }
.boton-claro:hover { background: var(--amarillo); color: var(--noche); }
.boton-linea { border-color: rgba(255,255,255,.55); color: var(--blanco); }
.boton-linea:hover { border-color: var(--blanco); background: rgba(255,255,255,.1); }
.boton-azul { background: var(--azul); color: var(--blanco); }
.boton-azul:hover { background: var(--noche); }

/* ---------- cabecera ---------- */
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.cabecera.con-sombra { border-bottom-color: var(--linea); box-shadow: 0 6px 24px rgba(10,31,68,.08); }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.marca img { height: 62px; width: auto; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 11px; white-space: nowrap; border-radius: 8px; color: var(--tinta); }
.menu a:hover { background: var(--celeste); color: var(--azul); }
.menu .menu-accion { background: var(--azul); color: var(--blanco); margin-left: 8px; padding-inline: 18px; }
.menu .menu-accion:hover { background: var(--noche); color: var(--blanco); }
.menu-boton { display: none; width: 46px; height: 46px; border: 1px solid var(--linea); border-radius: 10px; background: var(--blanco); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-boton span { display: block; height: 2px; background: var(--noche); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-boton[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-boton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-boton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- portada ---------- */
.portada { position: relative; background: var(--noche); color: var(--blanco); overflow: hidden; isolation: isolate; }
/* luces azules de fondo */
.portada::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 90% at 85% 10%, #164A9C 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, #0E3A80 0%, transparent 65%);
  opacity: .7; }
.portada-rejilla { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.portada-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: #D4E3F8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 14px 8px 12px; margin-bottom: 18px; }
.portada-bajada { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #D4E3F8; max-width: 56ch; }
.portada-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.portada-datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(34px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); }
.portada-datos dt { font-size: .82rem; color: #9DBBE6; }
.portada-datos dd { font-weight: 700; line-height: 1.3; margin-top: 2px; }

/* ---------- vitrina de la portada: capturas reales ---------- */
.vitrina { position: relative; padding-right: clamp(50px, 7.5vw, 100px); padding-bottom: 36px; }
.vitrina figure { margin: 0; }
.ampliar { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.ampliar img { border-radius: inherit; }
.vitrina-escritorio { border-radius: 14px; background: #0B1A36; box-shadow: 0 40px 90px rgba(2,10,30,.6), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; transition: transform .5s ease; }
.vitrina:hover .vitrina-escritorio { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.ventana-barra { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #15274D; border-bottom: 1px solid rgba(255,255,255,.08); }
.ventana-barra span { width: 10px; height: 10px; border-radius: 50%; background: #3B4C73; }
.ventana-barra span:nth-child(1) { background: #FF5F57; } .ventana-barra span:nth-child(2) { background: #FEBC2E; } .ventana-barra span:nth-child(3) { background: #28C840; }
.ventana-barra i { margin-left: 10px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: normal; font-size: .72rem; color: #9DBBE6; background: rgba(255,255,255,.06); border-radius: 6px; padding: 3px 10px; }
.vitrina-escritorio .ampliar { border-radius: 0; }
.vitrina-movil { position: absolute; right: 0; bottom: 0; width: clamp(110px, 14.5vw, 170px); border-radius: 26px; padding: 7px; background: #0A1227; box-shadow: 0 30px 60px rgba(2,10,30,.65), 0 0 0 1px rgba(255,255,255,.12); animation: flotar 6s ease-in-out infinite; }
.vitrina-movil::before { content: ""; position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 38%; height: 7px; border-radius: 6px; background: #0A1227; z-index: 2; }
.vitrina-movil .ampliar { border-radius: 20px; overflow: hidden; }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.vitrina-sello { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: #D4E3F8; background: rgba(10,31,68,.7); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.punto-vivo { width: 9px; height: 9px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: latido 1.8s infinite; }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.7); } 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* ---------- bloques ---------- */
.bloque { padding-block: clamp(56px, 8vw, 104px); }
.bloque-tinte { background: var(--celeste); }
.bloque-noche { background: var(--noche); color: var(--blanco); }
.encabezado { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(30px, 4vw, 52px); }
.encabezado p { color: var(--tinta-suave); max-width: 52ch; }
.bloque-noche .encabezado p { color: #C3D6F2; }

/* ---------- servicios: tarjetas ---------- */
.servicios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.servicios li { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; padding: 24px 20px 20px; border-radius: 18px; background: var(--blanco); border: 1px solid var(--linea); position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.servicios li::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--azul), var(--azul-vivo) 60%, var(--amarillo)); opacity: 0; transition: opacity .25s; }
.servicios li:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(11,77,162,.14); border-color: transparent; }
.servicios li:hover::before { opacity: 1; }
.icono { width: 52px; height: 52px; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, var(--celeste), #D6E6FA); fill: none; stroke: var(--azul); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.servicios h3 { font-size: 1.08rem; }
.servicios p { color: var(--tinta-suave); margin-top: 6px; font-size: .97rem; }
.servicios a { justify-self: start; font-weight: 700; color: var(--azul); text-decoration: none; padding: 9px 14px; border: 1.5px solid var(--linea); border-radius: 999px; white-space: nowrap; font-size: .93rem; background: var(--blanco); transition: background-color .15s, color .15s, border-color .15s; }
.servicios a:hover { background: var(--azul); border-color: var(--azul); color: var(--blanco); }
.acciones-linea { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.enlace-flecha { font-weight: 700; color: var(--azul); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.enlace-flecha::after { content: "\2192"; transition: transform .2s; }
.enlace-flecha:hover::after { transform: translateX(4px); }
.sistemas-otros .enlace-flecha { margin-top: 12px; font-size: .95rem; }
.pronto { margin-top: 12px; font-size: .84rem; font-weight: 700; color: var(--azul); background: var(--celeste); border-radius: 999px; padding: 6px 12px; }
.cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linea); }
.cifras dt { font-size: 2.4rem; font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; color: var(--azul); }
.cifras dt span { font-size: 1.3rem; color: var(--amarillo); }
.cifras dd { margin-top: 6px; font-size: .9rem; color: var(--tinta-suave); line-height: 1.35; }

/* ---------- sistemas ---------- */
.logistica { background: var(--blanco); border: 1px solid var(--linea); border-radius: 22px; padding: clamp(22px, 3.5vw, 44px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); box-shadow: 0 18px 50px rgba(11,77,162,.1); }
.logistica-intro h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 112%; font-weight: 800; letter-spacing: -0.015em; line-height: 1.1; }
.logistica-intro p { color: var(--tinta-suave); margin-block: 14px 24px; }
.logistica-etapas { counter-reset: etapa; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.logistica-etapas li { counter-increment: etapa; padding-top: 14px; border-top: 3px solid var(--azul); }
.logistica-etapas li::before { content: "Etapa " counter(etapa); display: block; font-size: .82rem; font-weight: 700; color: var(--azul); margin-bottom: 4px; }
.logistica-etapas p { color: var(--tinta-suave); font-size: .97rem; margin-top: 5px; }
.sistemas-otros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.sistemas-otros article { padding: 26px 24px; background: var(--blanco); border-radius: 18px; border: 1px solid var(--linea); display: flex; flex-direction: column; align-items: flex-start; transition: transform .25s, box-shadow .25s; }
.sistemas-otros article:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(11,77,162,.12); }
.sistemas-otros p { color: var(--tinta-suave); margin-top: 8px; }

/* ---------- pantallas: pestañas y galería ---------- */
.pantallas { position: relative; isolation: isolate; overflow: hidden; }
.pantallas::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 60% at 100% 0%, #164A9C 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 0% 100%, #0E3A80 0%, transparent 60%); opacity: .55; }
.pestanas { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); width: max-content; max-width: 100%; margin-bottom: 30px; }
.pestanas [role="tab"] { font: inherit; font-weight: 700; font-size: .95rem; color: #C3D6F2; background: none; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background-color .2s, color .2s; }
.pestanas [role="tab"]:hover { color: var(--blanco); }
.pestanas [role="tab"][aria-selected="true"] { background: var(--blanco); color: var(--azul); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.panel[hidden] { display: none; }
.panel { animation: aparecer .35s ease; }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.galeria { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.galeria-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tarjeta-captura { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 10px 10px 18px; transition: transform .25s, border-color .25s, background-color .25s; }
.tarjeta-captura:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.tarjeta-captura .ampliar { border-radius: 10px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.tarjeta-captura h3 { margin: 16px 8px 0; font-size: 1.05rem; color: var(--blanco); }
.tarjeta-captura p { margin: 4px 8px 0; color: #C3D6F2; font-size: .92rem; }
.galeria-moviles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tarjeta-movil { padding: 8px 8px 16px; }
.tarjeta-movil .ampliar { border-radius: 22px; max-width: 260px; margin-inline: auto; }
.portal-rejilla { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.portal-texto h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-stretch: 112%; font-weight: 800; letter-spacing: -0.01em; line-height: 1.12; }
.portal-texto > p { color: #C3D6F2; margin-top: 14px; }
.lista-check { margin: 20px 0 26px; display: grid; gap: 10px; }
.lista-check li { padding-left: 30px; position: relative; font-weight: 600; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--verde); }
.lista-check li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 10px; border: solid var(--blanco); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- visor de capturas ---------- */
.visor { border: 0; padding: 0; width: min(100vw - 24px, 1500px); max-width: none; height: min(100vh - 24px, 980px); max-height: none; background: #060F23; color: var(--blanco); border-radius: 16px; display: none; grid-template-rows: auto 1fr auto; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.visor[open] { display: grid; }
.visor::backdrop { background: rgba(3,8,20,.86); backdrop-filter: blur(6px); }
.visor-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.visor-titulo { font-weight: 700; font-size: 1rem; }
.visor-botones { display: flex; gap: 6px; }
.visor-botones button { font: inherit; font-weight: 700; color: var(--blanco); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; min-width: 44px; height: 40px; padding: 0 12px; cursor: pointer; }
.visor-botones button:hover { background: rgba(255,255,255,.2); }
.visor-cuerpo { overflow: auto; display: grid; place-items: center; padding: 14px; cursor: zoom-in; }
.visor-cuerpo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transition: transform .2s; }
.visor.acercado .visor-cuerpo { place-items: start; cursor: zoom-out; }
.visor.acercado .visor-cuerpo img { max-width: none; max-height: none; width: 1440px; }
.visor-nota { padding: 10px 18px 14px; color: #C3D6F2; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- animaciones: aparición al hacer scroll y portada ---------- */
.revelar > .marco { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.revelar.visible > .marco { opacity: 1; transform: none; }
.portada::before { animation: luces 14s ease-in-out infinite alternate; }
@keyframes luces { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.08); } }
.etiqueta { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--azul); background: var(--blanco); border: 1px solid var(--linea); border-radius: 999px; padding: 6px 12px; margin-bottom: 14px; }

/* ---------- videos ---------- */
.videos-rejilla { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.video-ancha { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.video-ancha .ventana-barra { grid-column: 1 / -1; }
.video-ancha .video-texto { align-self: center; }
.video-tarjeta { background: var(--noche); color: var(--blanco); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(10,31,68,.22); }
.video-marco { position: relative; background: #000; }
.video-marco video { display: block; width: 100%; height: auto; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: linear-gradient(180deg, rgba(6,15,35,.1), rgba(6,15,35,.45)); cursor: pointer; display: grid; place-items: center; transition: opacity .25s; }
.video-play span { width: 78px; height: 78px; border-radius: 50%; background: var(--blanco); display: grid; place-items: center; box-shadow: 0 14px 40px rgba(0,0,0,.45); transition: transform .2s; position: relative; }
.video-play span::after { content: ""; width: 0; height: 0; border-left: 26px solid var(--azul); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 7px; }
.video-play:hover span { transform: scale(1.08); }
.video-tarjeta.reproduciendo .video-play { opacity: 0; pointer-events: none; }
.video-texto { padding: 22px 24px 24px; }
.video-texto h3 { font-size: 1.25rem; color: var(--blanco); }
.video-texto > p { color: #C3D6F2; margin-top: 10px; font-size: .97rem; }
.capitulos { counter-reset: cap; margin-top: 16px; display: grid; gap: 6px; }
.capitulos li { counter-increment: cap; }
.capitulos button { font: inherit; font-size: .93rem; text-align: left; width: 100%; color: #C3D6F2; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 10px 12px 10px 42px; cursor: pointer; position: relative; transition: background-color .2s, color .2s, border-color .2s; }
.capitulos button::before { content: counter(cap); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--blanco); font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.capitulos button:hover { background: rgba(255,255,255,.1); color: var(--blanco); }
.capitulos button.activo { background: var(--azul); border-color: var(--azul); color: var(--blanco); }
.capitulos button.activo::before { background: var(--amarillo); color: var(--noche); }
.video-tarjeta-movil { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; align-items: center; padding: 22px 0 22px 22px; }
.video-tarjeta-movil .telefono { border-radius: 30px; padding: 8px; background: #0A1227; box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12); position: relative; }
.video-tarjeta-movil .telefono::before { content: ""; position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 36%; height: 7px; border-radius: 6px; background: #0A1227; z-index: 2; }
.video-tarjeta-movil .video-marco { border-radius: 24px; overflow: hidden; }
.video-tarjeta-movil .video-play span { width: 60px; height: 60px; }
.video-tarjeta-movil .video-play span::after { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; }
.video-tarjeta-movil .video-texto { padding: 0 22px 0 0; }

/* ---------- asistente ---------- */
.asistente-rejilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.asistente-texto > p { color: var(--tinta-suave); margin-top: 16px; }
.lista-check-oscura li { color: var(--tinta); }
.chat { background: var(--blanco); border: 1px solid var(--linea); border-radius: 22px; box-shadow: 0 24px 60px rgba(11,77,162,.14); display: grid; grid-template-rows: auto 1fr auto; min-height: 520px; overflow: hidden; }
.chat-cab { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--noche); color: var(--blanco); }
.chat-cab small { display: block; color: #9DBBE6; font-size: .8rem; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--azul-vivo), var(--amarillo)); display: grid; place-items: center; font-weight: 900; font-size: 1.1rem; color: var(--blanco); }
.chat-cuerpo { padding: 18px; display: grid; gap: 10px; align-content: start; overflow-y: auto; max-height: 520px; }
.burbuja { max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: .96rem; line-height: 1.45; animation: burbuja .3s ease; }
.burbuja.bot { background: var(--celeste); color: var(--tinta); border-bottom-left-radius: 4px; justify-self: start; }
.burbuja.yo { background: var(--azul); color: var(--blanco); border-bottom-right-radius: 4px; justify-self: end; }
.burbuja b { display: block; margin-bottom: 4px; }
.burbuja ul { margin: 8px 0 0; padding-left: 18px; list-style: disc; display: grid; gap: 4px; }
.burbuja .boton { margin-top: 12px; min-height: 44px; padding: 10px 16px; background: var(--wa); color: var(--blanco); width: 100%; }
.burbuja .boton:hover { background: #17874A; color: var(--blanco); }
@keyframes burbuja { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.escribiendo { display: inline-flex; gap: 4px; align-items: center; height: 18px; }
.escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: #8AA6CC; animation: punto 1s infinite; }
.escribiendo i:nth-child(2) { animation-delay: .15s; } .escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.chat-opciones { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--linea); background: #F8FBFF; min-height: 70px; }
.chat-opciones button { font: inherit; font-weight: 700; font-size: .93rem; color: var(--azul); background: var(--blanco); border: 1.5px solid var(--linea); border-radius: 999px; padding: 9px 14px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.chat-opciones button:hover { background: var(--azul); border-color: var(--azul); color: var(--blanco); }
.chat-opciones .reiniciar { margin-left: auto; color: var(--tinta-suave); border-style: dashed; }

/* ---------- cinta de tecnologías ---------- */
.cinta { overflow: hidden; margin-bottom: 34px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta-pista { display: flex; gap: 12px; width: max-content; animation: cinta 40s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta-pista span { white-space: nowrap; font-weight: 700; font-size: .95rem; color: #D4E3F8; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 16px; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- botón de tema ---------- */
.tema-boton { width: 44px; height: 44px; border: 1px solid var(--linea); border-radius: 10px; background: var(--blanco); cursor: pointer; display: grid; place-items: center; color: var(--tinta); margin-left: auto; margin-right: 6px; order: 2; }
.tema-boton:hover { background: var(--celeste); color: var(--azul); }
.tema-boton svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tema-boton .icono-luna { display: none; }
:root[data-tema="oscuro"] .tema-boton .icono-sol { display: none; }
:root[data-tema="oscuro"] .tema-boton .icono-luna { display: block; }
.menu { order: 3; }
.menu-boton { order: 4; }

/* ---------- aviso simulado de WhatsApp en la portada ---------- */
.aviso { position: absolute; left: 0; top: -18px; z-index: 3; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; width: min(330px, 86%); padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--tinta); box-shadow: 0 18px 40px rgba(2,10,30,.45); transform: translateY(-16px); opacity: 0; transition: transform .5s cubic-bezier(.2,.9,.3,1.2), opacity .4s; }
.aviso.visible { transform: translateY(0); opacity: 1; }
.aviso-icono { width: 40px; height: 40px; border-radius: 12px; background: var(--wa); display: grid; place-items: center; }
.aviso-icono svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linejoin: round; }
.aviso-icono svg path:last-child { fill: #fff; stroke: none; }
.aviso-texto { display: grid; line-height: 1.25; min-width: 0; }
.aviso-texto b { font-size: .78rem; color: var(--tinta-suave); font-weight: 600; }
.aviso-texto span { font-size: .92rem; font-weight: 700; }
.aviso small { font-size: .74rem; color: var(--tinta-suave); align-self: start; }

/* ---------- tour del POS ---------- */
.tour-rejilla { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr); gap: 24px; align-items: start; }
.tour-pantalla { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(10,31,68,.25); background: #0B1A36; }
.tour-pantalla img { display: block; width: 100%; height: auto; }
.punto-tour { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; background: var(--amarillo); color: var(--noche); font-weight: 800; font-size: .9rem; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(245,183,0,.6); animation: latido-tour 2.2s infinite; transition: transform .2s, background-color .2s; }
.punto-tour:hover, .punto-tour.activo { transform: translate(-50%, -50%) scale(1.18); background: var(--blanco); animation: none; }
.punto-tour.activo { outline: 3px solid var(--azul-vivo); }
@keyframes latido-tour { 0% { box-shadow: 0 0 0 0 rgba(245,183,0,.65); } 70% { box-shadow: 0 0 0 14px rgba(245,183,0,0); } 100% { box-shadow: 0 0 0 0 rgba(245,183,0,0); } }
.tour-globo { position: absolute; z-index: 5; max-width: 300px; background: var(--noche); color: var(--blanco); border-radius: 12px; padding: 12px 14px; font-size: .9rem; line-height: 1.4; box-shadow: 0 16px 40px rgba(0,0,0,.4); pointer-events: none; display: grid; gap: 3px; border: 1px solid rgba(255,255,255,.15); }
.tour-globo[hidden] { display: none; }
.tour-globo b { color: var(--amarillo); }
.tour-panel { background: var(--blanco); border: 1px solid var(--linea); border-radius: 18px; padding: 24px; display: grid; gap: 12px; align-content: start; position: sticky; top: 100px; }
.tour-paso { font-size: .82rem; font-weight: 700; color: var(--tinta-suave); }
.tour-paso span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--amarillo); color: var(--noche); margin-right: 6px; }
.tour-panel h3 { font-size: 1.3rem; }
.tour-panel > p:not(.tour-paso) { color: var(--tinta-suave); }
.tour-botones { display: flex; gap: 10px; margin-top: 6px; }
.tour-botones .boton { flex: 1; min-height: 46px; padding-inline: 14px; }
.tour-botones .boton-linea { border-color: var(--linea); color: var(--azul); }
.tour-botones .boton-linea:hover { background: var(--celeste); }

/* ---------- cotizador ---------- */
.cotizador-rejilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cotizador-texto > p { color: var(--tinta-suave); margin-top: 16px; }
.cotizador-texto .nota { font-size: .9rem; background: var(--blanco); border: 1px dashed var(--linea); border-radius: 12px; padding: 12px 14px; }
.cotizador-form { background: var(--blanco); border: 1px solid var(--linea); border-radius: 22px; padding: clamp(20px, 3vw, 30px); display: grid; gap: 16px; box-shadow: 0 24px 60px rgba(11,77,162,.12); }
.segmento { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--celeste); border-radius: 12px; }
.segmento input { position: absolute; opacity: 0; pointer-events: none; }
.segmento span { display: block; text-align: center; padding: 10px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--tinta-suave); }
.segmento input:checked + span { background: var(--blanco); color: var(--azul); box-shadow: 0 4px 14px rgba(11,77,162,.15); }
.segmento input:focus-visible + span { outline: 3px solid var(--amarillo); }
.cot-campos { display: grid; gap: 12px; }
.cot-campos[hidden] { display: none; }
.cot-medidas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cot-dos { grid-template-columns: 1fr 1.4fr; }
.cot-campos label { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; }
.cot-campos input, .cot-campos select { font: inherit; font-weight: 600; color: var(--tinta); width: 100%; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 10px; background: #F8FBFF; }
.cot-campos input:focus, .cot-campos select:focus { outline: 0; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(22,104,217,.2); }
.cot-resultado { display: grid; gap: 8px; background: var(--noche); color: var(--blanco); border-radius: 16px; padding: 18px 20px; }
.cot-resultado div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: .95rem; }
.cot-resultado span { color: #9DBBE6; }
.cot-total { border-top: 1px solid rgba(255,255,255,.18); padding-top: 10px; margin-top: 4px; }
.cot-total b { font-size: 1.9rem; font-stretch: 112%; color: var(--amarillo); letter-spacing: -0.01em; }

/* ---------- comparador antes / después ---------- */
.compara { position: relative; aspect-ratio: 1440 / 760; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(10,31,68,.25); background: #0B1A36; user-select: none; }
.compara-antes, .compara-despues { position: absolute; inset: 0; }
.compara-despues img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compara-antes { background: #ECE9E2; clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; overflow: hidden; }
.hoja { position: absolute; left: 4%; top: 7%; width: 60%; background: #fff; border: 1px solid #C9C9C9; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-family: "Segoe UI", Arial, sans-serif; font-size: clamp(.55rem, 1vw, .85rem); color: #222; }
.hoja-barra { display: flex; align-items: center; gap: 5px; padding: 6px 8px; background: #1D6F42; color: #fff; }
.hoja-barra span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hoja-barra i { font-style: normal; margin-left: 8px; font-size: .9em; }
.hoja table { border-collapse: collapse; width: 100%; }
.hoja th, .hoja td { border: 1px solid #D4D4D4; padding: 4px 6px; text-align: left; white-space: nowrap; }
.hoja th, .hoja td:first-child { background: #F1F1F1; color: #555; font-weight: 600; text-align: center; }
.hoja .error { color: #C00; font-weight: 700; }
.nota-papel { position: absolute; width: 23%; padding: 4% 2.5%; background: #FFF59D; color: #333; font-family: "Comic Sans MS", "Segoe Print", cursive; font-size: clamp(.55rem, 1.05vw, .9rem); line-height: 1.3; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.nota-1 { right: 6%; top: 10%; transform: rotate(4deg); }
.nota-2 { right: 10%; top: 44%; transform: rotate(-5deg); background: #FFCCBC; }
.antes-lista, .despues-lista { position: absolute; left: 4%; bottom: 6%; display: grid; gap: 6px; font-size: clamp(.6rem, 1.1vw, .95rem); font-weight: 700; }
.antes-lista li { background: #B71C1C; color: #fff; padding: 5px 10px 5px 26px; border-radius: 999px; position: relative; }
.antes-lista li::before { content: "\2715"; position: absolute; left: 10px; }
.despues-lista { left: 50%; transform: translateX(-50%); bottom: 10%; }
.despues-lista li { background: var(--verde); color: #fff; padding: 5px 10px 5px 26px; border-radius: 999px; position: relative; }
.despues-lista li::before { content: "\2713"; position: absolute; left: 10px; font-weight: 900; }
.compara-linea { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--blanco); transform: translateX(-50%); z-index: 3; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.compara-linea span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--blanco); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.compara-linea span::before, .compara-linea span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border: solid var(--azul); border-width: 0 0 2.5px 2.5px; }
.compara-linea span::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.compara-linea span::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.compara-rango { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; -webkit-appearance: none; appearance: none; }
.compara-rango::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.compara-rango::-moz-range-thumb { width: 60px; height: 100%; border: 0; }
.compara-etq { position: absolute; top: 14px; z-index: 3; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; pointer-events: none; }
.compara-etq-a { left: 14px; background: #B71C1C; color: #fff; }
.compara-etq-d { right: 14px; background: var(--verde); color: #fff; }

/* ---------- ventajas ---------- */
.ventajas-rejilla { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.ventajas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 34px; }
.ventajas dt { font-size: 1.2rem; font-weight: 800; font-stretch: 108%; padding-left: 16px; position: relative; }
.ventajas dt::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; border-radius: 50%; }
.ventajas div:nth-child(1) dt::before { background: var(--amarillo); }
.ventajas div:nth-child(2) dt::before { background: var(--verde); }
.ventajas div:nth-child(3) dt::before { background: var(--azul-vivo); }
.ventajas div:nth-child(4) dt::before { background: #D62828; }
.ventajas dd { color: var(--tinta-suave); margin-top: 6px; padding-left: 16px; }

/* ---------- herramientas ---------- */
.herramientas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.herramientas > div { padding: 24px 22px 4px 0; }
.herramientas > div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.herramientas h3 { color: #8FC3F7; font-size: 1rem; margin-bottom: 12px; }
.herramientas li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-weight: 600; font-size: .98rem; }
.herramientas li:last-child { border-bottom: 0; }

/* ---------- nosotros y método ---------- */
.nosotros-rejilla { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.nosotros-texto p { color: var(--tinta-suave); margin-top: 18px; max-width: 58ch; }
.metodo { counter-reset: paso; display: grid; gap: 0; }
.metodo li { counter-increment: paso; display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.metodo li:first-child { border-top: 2px solid var(--noche); }
.metodo li::before { content: counter(paso); grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; background: var(--azul); color: var(--blanco); font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; }
.metodo p { color: var(--tinta-suave); margin-top: 3px; }

/* ---------- preguntas ---------- */
.preguntas-rejilla { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.preguntas-rejilla > div > p { color: var(--tinta-suave); margin-top: 14px; }
.acordeon details { background: var(--blanco); border-radius: var(--radio); margin-bottom: 10px; border: 1px solid var(--linea); }
.acordeon summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; line-height: 1.3; }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border: solid var(--azul); border-width: 0 2.5px 2.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.acordeon details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acordeon details p { padding: 0 20px 20px; color: var(--tinta-suave); max-width: 70ch; }

/* ---------- contacto ---------- */
.contacto-rejilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contacto-texto > p { color: #C3D6F2; margin-top: 16px; max-width: 48ch; }
.contacto-datos { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.25); }
.contacto-datos li { display: grid; gap: 1px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contacto-datos span { font-size: .82rem; color: #9DBBE6; }
.contacto-datos a, .contacto-datos b { font-size: 1.15rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contacto-datos a:hover { color: var(--amarillo); }
.redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.redes a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; text-decoration: none; }
.redes a:hover { border-color: var(--blanco); background: rgba(255,255,255,.08); }
.redes a.pendiente { cursor: default; opacity: .8; }
.redes svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.redes svg .lleno { fill: currentColor; stroke: none; }
.redes b { display: block; line-height: 1.15; }
.redes small { display: block; font-size: .78rem; color: #9DBBE6; }
.formulario { background: var(--blanco); color: var(--tinta); border-radius: 20px; padding: clamp(20px, 3vw, 34px); display: grid; gap: 16px; }
.fila-doble { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.formulario label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.formulario label small { font-weight: 400; color: var(--tinta-suave); display: inline; }
.formulario input, .formulario select, .formulario textarea { font: inherit; font-weight: 400; color: var(--tinta); width: 100%; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--linea); border-radius: 10px; background: #F8FBFF; }
.formulario textarea { resize: vertical; min-height: 110px; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: 0; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(22,104,217,.2); background: var(--blanco); }
.formulario .boton { background: var(--wa); color: var(--blanco); width: 100%; }
.formulario .boton:hover { background: #17874A; color: var(--blanco); }
.formulario-nota { font-size: .84rem; color: var(--tinta-suave); }
.formulario-error { background: #FDECEC; color: #9B1C1C; border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: .93rem; }

/* ---------- pie ---------- */
.pie { background: #06142E; color: #C3D6F2; padding-top: 48px; }
.pie-rejilla { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.pie img { height: 84px; width: auto; }
.pie p { margin-top: 12px; max-width: 30ch; }
.pie strong { display: block; color: var(--blanco); margin-bottom: 10px; }
.pie nav a, .pie-rejilla > div a, .pie-rejilla > div span { display: block; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.pie a:hover { color: var(--blanco); text-decoration: underline; }
.pie-legal { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px 22px; font-size: .88rem; }

.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.wa-flotante:hover { background: #17874A; }
.wa-flotante svg { width: 32px; height: 32px; fill: none; stroke: var(--blanco); stroke-width: 1.7; stroke-linejoin: round; }
.wa-flotante svg path:last-child { fill: var(--blanco); stroke: none; }

/* ---------- pantallas medianas y celular ---------- */
@media (max-width: 980px) {
  .menu-boton { display: flex; }
  .tema-boton { margin-left: auto; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--blanco); flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; border-bottom: 1px solid var(--linea); box-shadow: 0 20px 40px rgba(10,31,68,.14); display: none; }
  .menu.abierto { display: flex; }
  .menu a { padding: 14px 12px; font-size: 1.05rem; }
  .menu .menu-accion { margin: 8px 0 0; text-align: center; }
  .portada-rejilla, .logistica, .ventajas-rejilla, .nosotros-rejilla, .preguntas-rejilla, .contacto-rejilla, .encabezado { grid-template-columns: minmax(0, 1fr); }
  .vitrina { max-width: 640px; }
  .vitrina-escritorio { transform: none; }
  .vitrina:hover .vitrina-escritorio { transform: none; }
  .servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cifras { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portal-rejilla, .videos-rejilla, .asistente-rejilla, .tour-rejilla, .cotizador-rejilla { grid-template-columns: minmax(0, 1fr); }
  .tour-panel { position: static; }
  .video-tarjeta-movil { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); }
  .video-ancha { grid-template-columns: minmax(0, 1fr); }
  .herramientas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .herramientas > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .herramientas > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .pie-rejilla { grid-template-columns: 1fr 1fr; }
  .pie-rejilla > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .marco { width: min(100% - 32px, var(--ancho)); }
  .marca img { height: 52px; }
  .cabecera-fila { min-height: 70px; }
  .portada-datos { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .portada-acciones .boton { width: 100%; }
  .servicios { grid-template-columns: minmax(0, 1fr); }
  .cifras { grid-template-columns: minmax(0, 1fr); }
  .galeria, .galeria-4 { grid-template-columns: minmax(0, 1fr); }
  .galeria-moviles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tarjeta-movil h3 { font-size: .95rem; } .tarjeta-movil p { font-size: .82rem; }
  .vitrina { padding-right: 64px; padding-bottom: 44px; }
  .vitrina-movil { width: 104px; }
  .vitrina-sello { font-size: .74rem; padding: 7px 11px; }
  .pestanas { width: 100%; }
  .video-tarjeta-movil { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .video-tarjeta-movil .telefono { max-width: 240px; margin-inline: auto; }
  .video-tarjeta-movil .video-texto { padding: 0; }
  .chat { min-height: 440px; }
  .punto-tour { width: 24px; height: 24px; font-size: .72rem; }
  .tour-globo { display: none !important; }
  .cot-medidas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cot-dos { grid-template-columns: 1fr; }
  .compara { aspect-ratio: 4 / 3; }
  .antes-lista, .despues-lista { display: none; }
  .aviso { width: 92%; }
  .tema-boton { margin-left: auto; }
  .pestanas [role="tab"] { flex: 1; padding: 10px 8px; font-size: .86rem; }
  .visor { width: 100vw; height: 100vh; border-radius: 0; }
  .visor.acercado .visor-cuerpo img { width: 1100px; }
  .logistica-etapas, .ventajas, .sistemas-otros, .fila-doble, .herramientas { grid-template-columns: minmax(0, 1fr); }
  .sistemas-otros article, .sistemas-otros article + article { padding: 20px 0 4px; border-left: 0; }
  .sistemas-otros article + article { border-top: 1px solid #BFD3EE; }
  .herramientas > div, .herramientas > div + div { padding: 20px 0 4px; border-left: 0; }
  .herramientas > div + div { border-top: 1px solid rgba(255,255,255,.14); }
  .pie-rejilla { grid-template-columns: 1fr; }
}

/* ---------- modo oscuro (como los sistemas de SINTECH) ---------- */
:root[data-tema="oscuro"] { --celeste: #122546; --linea: #22365C; --tinta: #E6EEF9; --tinta-suave: #A9BDDB; --fondo: #0B1A36; --tarjeta: #13264A; color-scheme: dark; }
:root[data-tema="oscuro"] body { background: var(--fondo); }
:root[data-tema="oscuro"] .cabecera { background: rgba(11,26,54,.94); }
:root[data-tema="oscuro"] .cabecera.con-sombra { box-shadow: 0 6px 24px rgba(0,0,0,.4); }
:root[data-tema="oscuro"] .marca img { content: url("assets/images/sintech-logo-blanco.svg"); }
:root[data-tema="oscuro"] .menu a { color: var(--tinta); }
:root[data-tema="oscuro"] .menu a:hover { background: var(--celeste); color: #8FC3F7; }
:root[data-tema="oscuro"] .menu-boton, :root[data-tema="oscuro"] .tema-boton { background: var(--tarjeta); color: var(--tinta); }
:root[data-tema="oscuro"] .menu-boton span { background: var(--tinta); }
:root[data-tema="oscuro"] .bloque-tinte { background: #0E2042; }
:root[data-tema="oscuro"] .servicios li, :root[data-tema="oscuro"] .sistemas-otros article, :root[data-tema="oscuro"] .logistica, :root[data-tema="oscuro"] .acordeon details, :root[data-tema="oscuro"] .chat, :root[data-tema="oscuro"] .cotizador-form, :root[data-tema="oscuro"] .tour-panel, :root[data-tema="oscuro"] .cotizador-texto .nota, :root[data-tema="oscuro"] .etiqueta { background: var(--tarjeta); color: var(--tinta); border-color: var(--linea); }
:root[data-tema="oscuro"] .servicios li:hover, :root[data-tema="oscuro"] .sistemas-otros article:hover { box-shadow: 0 22px 48px rgba(0,0,0,.45); }
:root[data-tema="oscuro"] .icono { background: linear-gradient(135deg, #1B3465, #122546); stroke: #8FC3F7; }
:root[data-tema="oscuro"] .servicios a, :root[data-tema="oscuro"] .enlace-flecha, :root[data-tema="oscuro"] .etiqueta, :root[data-tema="oscuro"] .acordeon summary::after, :root[data-tema="oscuro"] .tour-botones .boton-linea { color: #8FC3F7; border-color: var(--linea); background: transparent; }
:root[data-tema="oscuro"] .servicios a:hover { background: var(--azul-vivo); border-color: var(--azul-vivo); color: var(--blanco); }
:root[data-tema="oscuro"] .acordeon summary::after { border-color: #8FC3F7; }
:root[data-tema="oscuro"] .encabezado p, :root[data-tema="oscuro"] .servicios p, :root[data-tema="oscuro"] .logistica-intro p, :root[data-tema="oscuro"] .logistica-etapas p, :root[data-tema="oscuro"] .sistemas-otros p, :root[data-tema="oscuro"] .ventajas dd, :root[data-tema="oscuro"] .nosotros-texto p, :root[data-tema="oscuro"] .metodo p, :root[data-tema="oscuro"] .acordeon details p, :root[data-tema="oscuro"] .preguntas-rejilla > div > p, :root[data-tema="oscuro"] .asistente-texto > p, :root[data-tema="oscuro"] .cotizador-texto > p, :root[data-tema="oscuro"] .tour-panel > p { color: var(--tinta-suave); }
:root[data-tema="oscuro"] .logistica-etapas li::before { color: #8FC3F7; }
:root[data-tema="oscuro"] .metodo li:first-child { border-top-color: var(--linea); }
:root[data-tema="oscuro"] .burbuja.bot { background: var(--celeste); color: var(--tinta); }
:root[data-tema="oscuro"] .chat-opciones { background: #0F2142; border-color: var(--linea); }
:root[data-tema="oscuro"] .chat-opciones button { background: var(--tarjeta); color: #8FC3F7; border-color: var(--linea); }
:root[data-tema="oscuro"] .chat-opciones button:hover { background: var(--azul-vivo); color: var(--blanco); border-color: var(--azul-vivo); }
:root[data-tema="oscuro"] .segmento { background: #0F2142; }
:root[data-tema="oscuro"] .segmento input:checked + span { background: var(--tarjeta); color: #8FC3F7; }
:root[data-tema="oscuro"] .cot-campos input, :root[data-tema="oscuro"] .cot-campos select, :root[data-tema="oscuro"] .formulario input, :root[data-tema="oscuro"] .formulario select, :root[data-tema="oscuro"] .formulario textarea { background: #0F2142; color: var(--tinta); border-color: var(--linea); }
:root[data-tema="oscuro"] .formulario { background: var(--tarjeta); color: var(--tinta); }
:root[data-tema="oscuro"] .formulario label small, :root[data-tema="oscuro"] .formulario-nota { color: var(--tinta-suave); }
:root[data-tema="oscuro"] .tour-paso { color: var(--tinta-suave); }
:root[data-tema="oscuro"] .tour-panel { position: sticky; }
:root[data-tema="oscuro"] .aviso { background: #13264A; color: var(--tinta); }
:root[data-tema="oscuro"] .lista-check-oscura li { color: var(--tinta); }
:root[data-tema="oscuro"] .pronto { background: var(--celeste); color: #8FC3F7; }
:root[data-tema="oscuro"] .cifras dt { color: #8FC3F7; }
:root[data-tema="oscuro"] .video-tarjeta, :root[data-tema="oscuro"] .cot-resultado { outline: 1px solid var(--linea); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .revelar > .marco { opacity: 1; transform: none; }
}

/* ---- comparador de tema: dia / noche ---- */
.compara-tema .compara-antes { background: transparent; }
.compara-tema .compara-antes img,
.compara-tema .compara-despues img { display: block; width: 100%; height: 100%; object-fit: cover; }
.compara-etq-dia { left: 14px; background: #F6A609; color: #10233f; }
.compara-etq-noche { right: 14px; background: #0B1A36; color: #fff; }
