@charset "UTF-8";
/* =====================================================================
   Topografía y GNSS · Vantus Ingeniería — estilos propios de la página
   Imagen primero: portada con etapas, carril de planos, procesamiento de
   puntos en canvas, levantamientos por caso, campo, GNSS PRO.
   Prefijo tg-. El marco común (vx-, assets/marco-vantus.css) va después y no se toca.
   Responsable: Ing. Víctor Marín · 26/11/2026
   ===================================================================== */
:root {
  --tg-azul: #00337E;
  --tg-noche: #001F4D;
  --tg-fondo-etapa: #001E4F;  /* color de fondo de las imágenes de etapa */
  --tg-abismo: #00142F;
  --tg-oro: #FFB300;
  --tg-oro-claro: #FFC94D;
  --tg-cobre: #8A5A00;        /* dorado oscuro: 5.5:1 sobre #F4F6FA */
  --tg-papel: #F4F6FA;
  --tg-tinta: #0B1F3F;
  --tg-gris: #44546F;
  --tg-linea: #DCE3EE;
  --tg-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --tg-elegante: 'Cormorant Garamond', Georgia, serif;
  --tg-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --tg-curva: cubic-bezier(.22, .61, .36, 1);
  --tg-gutter: clamp(16px, 4vw, 48px);
}

body { margin: 0; background: var(--tg-noche); color: var(--tg-tinta); font: 400 16px/1.6 var(--tg-sans); -webkit-font-smoothing: antialiased; }
main { display: block; overflow-x: clip; }
main img { max-width: 100%; height: auto; }
.tg-envoltura { box-sizing: border-box; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--tg-gutter); }

/* ---------- Tipografía común ---------- */
.tg-antetitulo { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1.2 var(--tg-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--tg-cobre); }
.tg-antetitulo::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.tg-oscura .tg-antetitulo, .tg-noche .tg-antetitulo, .tg-portada .tg-antetitulo, .tg-cotizar .tg-antetitulo { color: var(--tg-oro-claro); }
.tg-seccion h1, .tg-seccion h2, .tg-seccion h3, .tg-portada h1 { font-family: var(--tg-serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
.tg-seccion h2 em, .tg-seccion h3 em, .tg-portada h1 em { font-family: var(--tg-elegante); font-style: italic; font-weight: 500; color: var(--tg-cobre); }
.tg-oscura h2 em, .tg-noche h2 em, .tg-portada h1 em, .tg-cotizar h2 em { color: var(--tg-oro-claro); }
.tg-seccion { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.tg-cabeza { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.tg-cabeza h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; margin: 14px 0 12px; }
.tg-cabeza h2 em { font-size: 1.08em; }
.tg-cabeza p { margin: 0; font-size: clamp(15.5px, 1.4vw, 17.5px); color: var(--tg-gris); max-width: 620px; }
.tg-centro { text-align: center; margin-left: auto; margin-right: auto; }
.tg-centro p { margin: 0 auto; }
.tg-centro .tg-antetitulo::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.tg-cabeza-fila { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: 1280px; }
.tg-cabeza-fila > p { max-width: 420px; }
.tg-oscura, .tg-noche { color: #fff; }
.tg-oscura .tg-cabeza p, .tg-noche .tg-cabeza p, .tg-oscura .tg-cabeza-fila > p { color: rgba(255,255,255,.8); }
.tg-oscura { background: var(--tg-noche); }
.tg-noche { background: radial-gradient(120% 80% at 50% 0%, #0A2F6E 0%, var(--tg-noche) 48%, var(--tg-abismo) 100%); }
.tg-clara { background: var(--tg-papel); }
.tg-blanca { background: #fff; }
.tg-sin-arriba { padding-top: 0; }
.tg-h2-chico { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin-bottom: 28px !important; color: var(--tg-noche); }

/* ---------- Botones ---------- */
.tg-acciones { display: flex; flex-wrap: wrap; gap: 12px; }
.tg-boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 15px/1.2 var(--tg-sans); text-decoration: none; transition: transform .25s var(--tg-curva), background-color .25s, color .25s, border-color .25s, box-shadow .25s; box-sizing: border-box; text-align: center; }
.tg-boton:hover { transform: translateY(-2px); }
.tg-boton-oro { background: var(--tg-oro); color: var(--tg-noche); box-shadow: 0 10px 28px rgba(255,179,0,.28); }
.tg-boton-oro:hover { background: var(--tg-oro-claro); }
.tg-boton-linea { border: 1.5px solid rgba(255,255,255,.55); color: #fff; }
.tg-boton-linea:hover { border-color: var(--tg-oro-claro); color: var(--tg-oro-claro); }
.tg-boton-azul { background: var(--tg-azul); color: #fff; }
.tg-boton-azul:hover { background: var(--tg-noche); }
.tg-boton-linea-azul { border: 1.5px solid var(--tg-azul); color: var(--tg-azul); }
.tg-boton-linea-azul:hover { background: var(--tg-azul); color: #fff; }
.tg-boton:focus-visible, .tg-pieza:focus-visible, .tg-pausa:focus-visible, .tg-indice a:focus-visible, .tg-segmentos button:focus-visible, .tg-etapas button:focus-visible, .tg-visor-btn:focus-visible, .tg-bajar:focus-visible { outline: 3px solid var(--tg-oro-claro); outline-offset: 3px; }

/* ---------- PORTADA ---------- */
.tg-portada { position: relative; background: var(--tg-fondo-etapa); color: #fff; min-height: min(calc(100svh - 76px), 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.tg-portada-visual { position: absolute; inset: 0 0 0 auto; width: 64%; margin: 0; z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 18%, #000 40%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 18%, #000 40%); }
.tg-portada-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--tg-fondo-etapa) 0, var(--tg-fondo-etapa) 9%, transparent 24%, transparent 80%, var(--tg-fondo-etapa) 100%); pointer-events: none; }
.tg-etapa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0; transform: scale(1.16); transform-origin: 62% 58%; transition: opacity 1.1s ease, transform 6s linear; }
.tg-etapa.es-activa { opacity: 1; transform: scale(1.1); }
.tg-portada-pasos { position: absolute; right: var(--tg-gutter); bottom: 32px; z-index: 2; display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tg-portada-pasos li { display: flex; flex-direction: column; gap: 6px; width: 118px; padding-top: 10px; border-top: 2px solid rgba(255,255,255,.22); font: 500 11.5px/1.25 var(--tg-sans); color: rgba(255,255,255,.66); transition: color .4s, border-color .4s; }
.tg-portada-pasos li b { font: 600 11px/1 var(--tg-sans); letter-spacing: .14em; color: inherit; }
.tg-portada-pasos li.es-activa { color: #fff; border-top-color: var(--tg-oro); }
.tg-portada-pasos li.es-activa b { color: var(--tg-oro-claro); }
.tg-portada-texto { position: relative; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(96px, 10vw, 128px); }
.tg-portada-texto > * { max-width: 560px; }
.tg-portada h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: 1.02; margin: 18px 0 18px; text-shadow: 0 2px 24px rgba(0,20,47,.6); }
.tg-portada h1 em { font-size: 1.06em; }
.tg-bajada { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; color: rgba(255,255,255,.88); margin: 0 0 28px; max-width: 500px; }
.tg-cifras { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 10px 28px; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.16); max-width: 600px; }
.tg-cifras div { margin: 0; display: flex; flex-direction: column; }
.tg-cifras dt { order: 2; font: 500 11.5px/1.3 var(--tg-sans); color: rgba(255,255,255,.7); margin-top: 4px; }
.tg-cifras dd { order: 1; margin: 0; font: 400 clamp(26px, 2.6vw, 34px)/1 var(--tg-serif); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg-cifras dd small { font: 500 12px/1 var(--tg-sans); color: var(--tg-oro-claro); letter-spacing: .02em; }
.tg-bajar { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.7); animation: tg-flotar 2.4s ease-in-out infinite; }
@keyframes tg-flotar { 50% { transform: translate(-50%, 6px); } }

/* ---------- CARRIL INFINITO ---------- */
.tg-carril-sec { padding-bottom: clamp(48px, 6vw, 72px); background: linear-gradient(180deg, var(--tg-fondo-etapa) 0%, var(--tg-noche) 30%, var(--tg-abismo) 100%); }
.tg-pausa { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.04); color: #fff; font: 600 14px/1 var(--tg-sans); cursor: pointer; flex: none; }
.tg-pausa:hover { border-color: var(--tg-oro-claro); color: var(--tg-oro-claro); }
.tg-pausa-ico { width: 12px; height: 12px; display: inline-block; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
.tg-pausa[aria-pressed="true"] .tg-pausa-ico { background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.tg-carril-rot { box-sizing: border-box; max-width: 1280px; margin: 0 auto 14px; padding: 0 var(--tg-gutter); font: 500 13px/1.4 var(--tg-sans); color: rgba(255,255,255,.66); }
.tg-carril-rot span { display: inline-block; margin-right: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255,179,0,.14); color: var(--tg-oro-claro); font-weight: 600; letter-spacing: .04em; }
.tg-pista { overflow: hidden; margin-bottom: 34px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.tg-fila { display: flex; gap: 22px; width: max-content; margin: 0; padding: 6px 0 4px; list-style: none; }
.js .tg-fila.es-animada { animation: tg-carril var(--tg-dur, 90s) linear infinite; }
.js .tg-pista-inversa .tg-fila.es-animada { animation-direction: reverse; }
.tg-carril:hover .tg-fila, .tg-carril:focus-within .tg-fila, .tg-carril.es-pausado .tg-fila, .tg-carril.es-fuera .tg-fila { animation-play-state: paused; }
@keyframes tg-carril { from { transform: translate3d(0,0,0); } to { transform: translate3d(calc(-50% - 11px),0,0); } }
.tg-lamina { flex: none; width: clamp(260px, 30vw, 400px); }
.tg-lamina .tg-pieza { aspect-ratio: 1.414; background: #fff; border-radius: 6px; padding: 8px; box-sizing: border-box; box-shadow: 0 18px 40px rgba(0,8,24,.45); }
.tg-lamina .tg-pieza img { width: 100%; height: 100%; object-fit: contain; }
.tg-lamina-pie { margin: 12px 2px 0; font: 500 14px/1.35 var(--tg-sans); color: #fff; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.tg-lamina-pie b { font: 700 12px/1 var(--tg-sans); letter-spacing: .06em; color: var(--tg-noche); background: var(--tg-oro); padding: 4px 7px; border-radius: 4px; }
.tg-lamina-pie span { flex: 1 1 60%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-lamina-pie small { flex-basis: 100%; font-size: 12px; color: rgba(255,255,255,.66); }
.tg-aviso { margin-top: 4px; font-size: 13px; color: rgba(255,255,255,.66); }

/* ---------- Pieza (botón que abre el visor) ---------- */
.tg-pieza { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; color: inherit; font: inherit; text-align: left; }
.tg-pieza img { display: block; width: 100%; height: auto; transition: transform .6s var(--tg-curva); }
.tg-pieza:hover img { transform: scale(1.025); }
.tg-lupa { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,31,77,.86); color: #fff; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; pointer-events: none; }
li:hover > .tg-lupa, figure:hover > .tg-lupa, li:focus-within > .tg-lupa, figure:focus-within > .tg-lupa { opacity: 1; transform: none; }
.tg-lamina, .tg-miniaturas li, .tg-mosaico li, .tg-satelital li, .tg-caso-grande { position: relative; }

/* ---------- PROCESAMIENTO ---------- */
.tg-proc { max-width: 1180px; margin: 0 auto; }
.tg-proc-barra { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.tg-segmentos { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); box-sizing: border-box; }
.tg-segmentos button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: rgba(255,255,255,.8); font: 600 14px/1 var(--tg-sans); cursor: pointer; transition: background .25s, color .25s; }
.tg-segmentos button[aria-pressed="true"] { background: var(--tg-oro); color: var(--tg-noche); }
.tg-proc-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: stretch; }
.tg-lienzo { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--tg-fondo-etapa); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 70px rgba(0,6,20,.5); }
.tg-lienzo::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.tg-lienzo canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tg-lienzo-respaldo { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.tg-lienzo.es-listo .tg-lienzo-respaldo { display: none; }
.tg-lienzo-rot { position: absolute; left: 18px; top: 14px; margin: 0; font: 600 15px/1 var(--tg-sans); color: #fff; display: flex; gap: 10px; align-items: center; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.tg-lienzo-rot b { color: var(--tg-oro-claro); font-size: 13px; letter-spacing: .12em; }
.tg-lienzo:not(.es-listo) .tg-lienzo-rot, .tg-lienzo:not(.es-listo) .tg-lienzo-escala, .tg-lienzo:not(.es-listo) .tg-lienzo-norte { display: none; }
.tg-lienzo-escala { position: absolute; right: 18px; bottom: 14px; margin: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font: 500 11.5px/1 var(--tg-sans); color: rgba(255,255,255,.88); }
.tg-lienzo-escala i { display: block; height: 4px; width: var(--tg-escala, 60px); background: linear-gradient(90deg, var(--tg-oro) 50%, #fff 50%); border-radius: 1px; }
.tg-lienzo.es-3d .tg-lienzo-escala, .tg-lienzo.es-3d .tg-lienzo-norte { display: none; }
.tg-lienzo-norte { position: absolute; right: 22px; top: 14px; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; font: 700 12px/1 var(--tg-sans); color: #fff; }
.tg-lienzo-norte i { width: 2px; height: 22px; background: linear-gradient(#fff, rgba(255,255,255,.2)); }
.tg-proc-lado { display: flex; flex-direction: column; gap: 14px; }
.tg-etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tg-etapas button { width: 100%; display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #fff; text-align: left; cursor: pointer; font: inherit; transition: background .25s, border-color .25s; position: relative; overflow: hidden; }
.tg-etapas button b { font: 600 12px/1.6 var(--tg-sans); letter-spacing: .12em; color: rgba(255,255,255,.6); }
.tg-etapas button span { font: 600 15px/1.3 var(--tg-sans); }
.tg-etapas button small { display: block; font: 400 12.5px/1.35 var(--tg-sans); color: rgba(255,255,255,.7); margin-top: 3px; }
.tg-etapas button[aria-pressed="true"] { background: rgba(255,179,0,.12); border-color: rgba(255,201,77,.6); }
.tg-etapas button[aria-pressed="true"] b { color: var(--tg-oro-claro); }
.tg-etapas button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--tg-avance, 0) * 100%); background: var(--tg-oro); }
.tg-ficha { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.12); }
.tg-ficha div { background: #04255A; padding: 12px 14px; }
.tg-ficha dt { font: 500 11.5px/1.3 var(--tg-sans); color: rgba(255,255,255,.7); }
.tg-ficha dd { margin: 4px 0 0; font: 400 22px/1.1 var(--tg-serif); color: #fff; font-variant-numeric: tabular-nums; }
.tg-ficha dd small { font: 500 12px var(--tg-sans); color: var(--tg-oro-claro); }
.tg-nota { margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,.66); text-align: center; }

/* ---------- LEVANTAMIENTOS ---------- */
.tg-indice { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(36px, 5vw, 56px); }
.tg-indice a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--tg-linea); background: #fff; color: var(--tg-azul); font: 600 14px/1 var(--tg-sans); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.tg-indice a:hover { background: var(--tg-azul); color: #fff; border-color: var(--tg-azul); }
.tg-caso { padding: clamp(36px, 4.5vw, 56px) 0; border-top: 1px solid var(--tg-linea); }
.tg-indice + .tg-caso { border-top: 0; padding-top: 0; }
.tg-caso-cab { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: end; margin-bottom: 22px; }
.tg-kicker { grid-column: 1 / -1; font: 600 12px/1.2 var(--tg-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tg-cobre); }
.tg-caso h3 { font-size: clamp(26px, 3vw, 38px); line-height: 1.1; color: var(--tg-noche); }
.tg-datos { display: flex; flex-wrap: wrap; gap: 0; margin: 0; border: 1px solid var(--tg-linea); border-radius: 10px; background: #fff; overflow: hidden; }
.tg-datos div { padding: 10px 16px; border-left: 1px solid var(--tg-linea); }
.tg-datos div:first-child { border-left: 0; }
.tg-datos dt { font: 500 11px/1.3 var(--tg-sans); color: var(--tg-gris); text-transform: uppercase; letter-spacing: .08em; }
.tg-datos dd { margin: 3px 0 0; font: 500 20px/1.15 var(--tg-serif); color: var(--tg-noche); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tg-datos dd small { font: 500 12.5px/1.3 var(--tg-sans); color: var(--tg-gris); }
.tg-caso-cuerpo { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tg-caso-inverso .tg-caso-cuerpo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.tg-caso-inverso .tg-caso-grande { order: 2; }
.tg-caso-solo .tg-caso-cuerpo { grid-template-columns: minmax(0, 620px); justify-content: start; }
.tg-caso-solo .tg-miniaturas { display: none; }
.tg-caso-grande { margin: 0; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 24px 60px rgba(0,31,77,.14); }
.tg-caso-grande .tg-pieza { border-radius: 6px; aspect-ratio: 1.414; background: #fff; }
.tg-caso-grande .tg-pieza img { width: 100%; height: 100%; object-fit: contain; }
.tg-caso-solo .tg-caso-grande .tg-pieza { aspect-ratio: auto; }
.tg-caso-grande figcaption { margin: 12px 4px 2px; font-size: 14px; line-height: 1.5; color: var(--tg-gris); }
.tg-caso-grande figcaption b { color: var(--tg-noche); display: block; font-weight: 600; }
.tg-miniaturas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tg-miniaturas li { background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 10px 26px rgba(0,31,77,.08); }
.tg-miniaturas .tg-pieza { aspect-ratio: 1.414; border-radius: 5px; background: #fff; }
.tg-miniaturas .tg-pieza img { width: 100%; height: 100%; object-fit: contain; }
.tg-miniaturas li > span:last-child { margin: 8px 2px 2px; font: 500 12.5px/1.35 var(--tg-sans); color: var(--tg-tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tg-satelital { margin-top: 18px; }
.tg-satelital-rot { margin: 0 0 10px; font: 600 13px/1.4 var(--tg-sans); color: var(--tg-noche); }
.tg-satelital-rot span { font-weight: 500; color: var(--tg-gris); }
.tg-satelital ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tg-satelital .tg-pieza { aspect-ratio: 1; border-radius: 8px; }
.tg-satelital .tg-pieza img { width: 100%; height: 100%; object-fit: cover; }
.tg-satelital li > span:last-child { display: block; margin-top: 6px; font-size: 12.5px; color: var(--tg-gris); }
.tg-caso-pie { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.tg-caso-pie .tg-acciones { margin-left: auto; }
.tg-nota-caso { margin: 0; font-size: 13.5px; color: var(--tg-gris); max-width: 560px; }

/* ---------- CAMPO (mosaico) ---------- */
.tg-mosaico { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 15vw, 210px); grid-auto-flow: dense; gap: 12px; }
.tg-mosaico li { border-radius: 10px; overflow: hidden; background: #0A2A5E; }
.tg-mosaico .tg-pieza { height: 100%; }
.tg-mosaico .tg-pieza img { width: 100%; height: 100%; object-fit: cover; }
.tg-mosaico li > span:last-child { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; font: 500 13px/1.3 var(--tg-sans); color: #fff; background: linear-gradient(transparent, rgba(0,14,36,.9)); pointer-events: none; }
.tg-m-g { grid-column: span 2; grid-row: span 2; }
.tg-m-v { grid-row: span 2; }
.tg-m-h { grid-column: span 2; }

/* ---------- GNSS PRO ---------- */
.tg-gnss-rejilla { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.tg-gnss-marca { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font: 600 15px/1 var(--tg-sans); letter-spacing: .18em; color: #fff; }
.tg-gnss-marca img { border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.tg-gnss-marca b { color: var(--tg-oro-claro); }
.tg-gnss h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; margin-bottom: 26px; }
.tg-funciones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tg-funciones li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.tg-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,179,0,.14); color: var(--tg-oro-claro); }
.tg-ico svg { width: 22px; height: 22px; }
.tg-funciones p { margin: 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.72); }
.tg-funciones p b { display: block; font-size: 14.5px; color: #fff; font-weight: 600; margin-bottom: 2px; }
.tg-gnss-nota { margin: 18px 0 0; font-size: 13.5px; color: rgba(255,255,255,.7); }
.tg-app { margin: 0; }
.tg-app-ventana { border-radius: 14px; overflow: hidden; background: #071A3A; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 40px 90px rgba(0,4,16,.6); }
.tg-app-barra { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #0B2550; border-bottom: 1px solid rgba(255,255,255,.1); font: 500 12px/1 var(--tg-sans); color: rgba(255,255,255,.75); white-space: nowrap; overflow: hidden; }
.tg-app-barra img { border-radius: 5px; }
.tg-app-barra b { color: #fff; letter-spacing: .08em; font-size: 12px; }
.tg-app-proy { margin-right: auto; overflow: hidden; text-overflow: ellipsis; }
.tg-app-chip { padding: 5px 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-weight: 600; font-size: 11px; }
.tg-app-chip:first-of-type { margin-left: auto; }
.tg-app-ok { border-color: rgba(255,201,77,.6); color: var(--tg-oro-claro); }
.tg-app-ok::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tg-oro); margin-right: 6px; vertical-align: 1px; }
.tg-app-cuerpo { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }
.tg-app-menu { list-style: none; margin: 0; padding: 10px 8px; background: #061633; border-right: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 2px; }
.tg-app-menu li { padding: 9px 10px; border-radius: 7px; font: 500 12px/1.2 var(--tg-sans); color: rgba(255,255,255,.7); }
.tg-app-menu li.es-activo { background: rgba(255,179,0,.15); color: var(--tg-oro-claro); }
.tg-app-mapa { position: relative; background: #0A2148; }
.tg-app-mapa canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tg-app-cielo { position: absolute; right: 12px; top: 12px; width: 104px; height: 104px; }
.tg-orbita { transform-origin: 60px 60px; animation: tg-giro 80s linear infinite; }
@keyframes tg-giro { to { transform: rotate(360deg); } }
.tg-app-mira { position: absolute; left: 12px; bottom: 12px; margin: 0; display: flex; gap: 8px; }
.tg-app-mira span { padding: 8px 12px; border-radius: 8px; background: rgba(0,20,47,.88); border: 1px solid rgba(255,255,255,.2); font: 600 12px/1 var(--tg-sans); color: #fff; }
.tg-app-mira span:first-child { background: var(--tg-oro); color: var(--tg-noche); border-color: var(--tg-oro); }
.tg-app figcaption { margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.66); text-align: center; }

/* ---------- MÉTODO ---------- */
.tg-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tg-pasos li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-radius: 12px; background: var(--tg-papel); }
.tg-pasos li:not(:last-child)::after { content: ""; position: absolute; right: -11px; top: 36px; width: 8px; height: 8px; border-top: 2px solid var(--tg-oro); border-right: 2px solid var(--tg-oro); transform: rotate(45deg); z-index: 1; }
.tg-paso-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--tg-noche); color: var(--tg-oro-claro); margin-bottom: 6px; }
.tg-paso-ico svg { width: 24px; height: 24px; }
.tg-pasos b { font: 600 11px/1 var(--tg-sans); letter-spacing: .14em; color: var(--tg-cobre); }
.tg-pasos strong { font: 600 16px/1.25 var(--tg-sans); color: var(--tg-noche); }
.tg-pasos li > span:last-child { font-size: 13.5px; line-height: 1.4; color: var(--tg-gris); }

/* ---------- ENTREGABLES ---------- */
.tg-entregables { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tg-entregables li { padding: 16px; border: 1px solid var(--tg-linea); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; }
.tg-entregables span { align-self: flex-start; font: 700 11px/1 var(--tg-sans); letter-spacing: .06em; color: var(--tg-noche); background: rgba(255,179,0,.24); padding: 5px 8px; border-radius: 5px; }
.tg-entregables strong { font: 600 14.5px/1.3 var(--tg-sans); color: var(--tg-noche); }
.tg-nota-clara { margin: 16px 0 0; font-size: 13.5px; color: var(--tg-gris); }

/* ---------- COTIZAR ---------- */
.tg-cotizar { background: linear-gradient(135deg, var(--tg-azul) 0%, var(--tg-noche) 60%, var(--tg-abismo) 100%); color: #fff; }
.tg-panel-cotizar { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tg-cotizar h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; margin: 14px 0 26px; }
.tg-envio { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; counter-reset: env; }
.tg-envio li { counter-increment: env; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 4px; }
.tg-envio li::before { content: "0" counter(env); font: 600 11px/1 var(--tg-sans); letter-spacing: .14em; color: var(--tg-oro-claro); margin-bottom: 4px; }
.tg-envio b { font-size: 15px; }
.tg-envio span { font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- VISOR ---------- */
.tg-visor { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,10,26,.97); color: #fff; box-sizing: border-box; }
.tg-visor[open] { display: flex; flex-direction: column; }
.tg-visor::backdrop { background: rgba(0,10,26,.85); }
.tg-visor-barra { display: flex; align-items: center; gap: 14px; padding: 12px clamp(12px, 3vw, 28px); border-bottom: 1px solid rgba(255,255,255,.1); }
.tg-visor-barra p { margin: 0; flex: 1; min-width: 0; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.4; }
.tg-visor-barra p b { display: block; font: 600 15px/1.3 var(--tg-sans); color: #fff; }
.tg-visor-cuenta { font: 600 12.5px/1 var(--tg-sans); color: var(--tg-oro-claro); white-space: nowrap; }
.tg-visor-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; cursor: pointer; }
.tg-visor-btn:hover { border-color: var(--tg-oro-claro); color: var(--tg-oro-claro); }
.tg-visor-btn[hidden] { display: none; }
.tg-visor-cuerpo { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; gap: 12px; padding: 12px clamp(8px, 2vw, 20px); }
.tg-visor-fig { flex: 1; min-width: 0; height: 100%; margin: 0; display: grid; place-items: center; }
.tg-visor-fig img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.tg-visor-aviso { margin: 0; padding: 8px 16px 14px; text-align: center; font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .tg-entregables { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg-proc-cuerpo { grid-template-columns: minmax(0, 1fr); }
  .tg-proc-lado { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
  .tg-gnss-rejilla { grid-template-columns: minmax(0, 1fr); }
  .tg-caso-cab { grid-template-columns: minmax(0, 1fr); }
  .tg-datos { justify-self: start; }
}
@media (max-width: 900px) {
  .tg-portada { flex-direction: column; align-items: stretch; min-height: 0; }
  .tg-portada-visual { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 10; -webkit-mask-image: none; mask-image: none; }
  .tg-portada-visual::after { background: linear-gradient(to bottom, transparent 70%, var(--tg-fondo-etapa) 100%); }
  .tg-etapa { object-position: 50% 50%; transform: scale(1.04); transform-origin: 50% 60%; }
  .tg-etapa.es-activa { transform: scale(1); }
  .tg-portada-pasos { left: var(--tg-gutter); right: var(--tg-gutter); bottom: 10px; }
  .tg-portada-pasos li { flex: 1; width: auto; font-size: 10.5px; }
  .tg-portada-texto { padding-top: 18px; padding-bottom: 72px; }
  .tg-portada h1 { font-size: clamp(34px, 9vw, 52px); }
  .tg-cifras { grid-template-columns: repeat(2, auto); }
  .tg-cabeza-fila { flex-direction: column; align-items: flex-start; }
  .tg-caso-cuerpo, .tg-caso-inverso .tg-caso-cuerpo { grid-template-columns: minmax(0, 1fr); }
  .tg-caso-inverso .tg-caso-grande { order: 0; }
  .tg-miniaturas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg-satelital ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-pasos li:not(:last-child)::after { display: none; }
  .tg-panel-cotizar { grid-template-columns: minmax(0, 1fr); }
  .tg-mosaico { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
}
@media (max-width: 700px) {
  .tg-proc-lado { grid-template-columns: minmax(0, 1fr); }
  .tg-etapas { grid-template-columns: 1fr 1fr; }
  .tg-etapas button { padding: 10px; gap: 8px; }
  .tg-etapas button small { display: none; }
  .tg-etapas button span { font-size: 13.5px; }
  .tg-lienzo { aspect-ratio: 1 / .9; }
  .tg-segmentos { flex: 1 1 100%; }
  .tg-segmentos button { flex: 1; padding: 0 8px; }
  .tg-proc-barra .tg-pausa { margin-left: auto; }
  .tg-miniaturas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-datos { width: 100%; }
  .tg-datos div { flex: 1 1 40%; border-left: 0; border-top: 1px solid var(--tg-linea); }
  .tg-datos div:nth-child(-n+2) { border-top: 0; }
  .tg-datos div:nth-child(even) { border-left: 1px solid var(--tg-linea); }
  .tg-datos dd { white-space: normal; }
  .tg-funciones { grid-template-columns: minmax(0, 1fr); }
  .tg-app-cuerpo { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tg-app-menu { flex-direction: row; overflow: hidden; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 6px; }
  .tg-app-menu li { white-space: nowrap; padding: 7px 9px; font-size: 11px; }
  .tg-app-menu li:not(.es-activo):nth-child(n+4) { display: none; }
  .tg-app-mapa { height: 300px; }
  .tg-app-proy, .tg-app-chip:not(.tg-app-ok) { display: none; }
  .tg-app-cielo { width: 84px; height: 84px; }
  .tg-entregables { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-acciones .tg-boton { flex: 1 1 100%; }
  .tg-caso-pie .tg-acciones { margin-left: 0; width: 100%; }
  .tg-lamina { width: 78vw; }
  .tg-visor-cuerpo { padding: 8px 4px; }
  .tg-visor-ant, .tg-visor-sig { position: absolute; bottom: 12px; z-index: 2; background: rgba(0,20,47,.9); }
  .tg-visor-ant { left: 16px; }
  .tg-visor-sig { right: 16px; }
}
@media (max-width: 400px) {
  .tg-cifras { gap: 10px 18px; }
  .tg-cifras dd { font-size: 24px; }
  .tg-portada-pasos li span { display: none; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .tg-etapa { transition: none; transform: none; }
  .tg-bajar, .tg-orbita { animation: none; }
  .js .tg-fila.es-animada { animation: none; }
  .tg-pista { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; padding: 0 var(--tg-gutter); scroll-padding-inline: var(--tg-gutter); }
  .tg-lamina { scroll-snap-align: start; }
  .tg-pieza img, .tg-boton { transition: none; }
  .tg-pieza:hover img { transform: none; }
  [data-pausa-carril], .tg-pausa-proc { display: none; }
}
