@font-face {
  font-family: "Archivo";
  src: url("fuentes/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}


:root { --tinta: #1D1D1F; --gris: #6E6E73; --claro: #F5F5F7; --azul: #0B5CD6; --margen: clamp(20px, 5vw, 80px); --sale: cubic-bezier(.16, 1, .3, 1); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--tinta); font: 400 1.0625rem/1.5 "Archivo", "Segoe UI", system-ui, sans-serif; overflow-x: clip; }
h1, h2, h3, p, ul { margin: 0; padding: 0; } ul { list-style: none; } a { color: inherit; } img, svg { display: block; } img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 4px; }
h1, h2, h3 { font-weight: 650; letter-spacing: -.03em; text-wrap: balance; }

.saltar { position: absolute; top: -60px; left: 20px; z-index: 30; padding: .7rem 1.1rem; border-radius: 12px; background: var(--tinta); color: #fff; } .saltar:focus { top: 10px; }
.gris-claro, .blanco, .negro { scroll-margin-top: 40px; }
.cabeza { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2rem; height: 56px; padding: 0 var(--margen); background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(20px); font-size: .9rem; }
.cabeza .marca { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; text-decoration: none; }
.cabeza nav { display: flex; gap: 2rem; margin-inline: auto; }
.cabeza nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.boton { display: inline-flex; align-items: center; min-height: 46px; padding: 0 1.4rem; border-radius: 999px; background: var(--azul); color: #fff; font-weight: 550; text-decoration: none; transition: background-color 200ms ease, transform 160ms var(--sale); }
.boton:active { transform: scale(.97); }
.cabeza .boton { min-height: 36px; padding: 0 1rem; }
.liga { display: inline-flex; align-items: center; min-height: 46px; color: var(--azul); font-weight: 550; text-decoration: none; }
.liga::after { content: "›"; margin-left: .35em; font-size: 1.25em; line-height: 1; }
.acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.75rem; margin-top: 1.6rem; }

.inicio { padding: clamp(2.5rem, 5.5vh, 4.5rem) 0 clamp(1.5rem, 4vh, 3rem); text-align: center; overflow: clip; }
.inicio h1 { max-width: 20ch; margin-inline: auto; font-size: clamp(2.4rem, min(5vw, 8.4vh), 4.8rem); line-height: 1.04; }
.inicio > p { max-width: 44ch; margin: 1.2rem auto 0; color: var(--gris); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.4; text-wrap: balance; }

.portada .titular { padding-top: clamp(3rem, 8vh, 5.5rem); }
.portada h1 { max-width: 18ch; margin: 1rem auto 0; font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.04; }
.titular { padding: clamp(5rem, 13vh, 9rem) var(--margen) clamp(3rem, 7vh, 4.5rem); text-align: center; }
.producto { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; }
.producto svg { width: 2.2rem; border-radius: 22%; box-shadow: 0 0 0 1px rgb(0 0 0 / .1); }
.titular h2 { max-width: 18ch; margin: 1rem auto 0; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.05; }
.titular > p:not(.producto) { max-width: 46ch; margin: 1.25rem auto 0; color: var(--gris); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.42; text-wrap: pretty; }
.datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 4rem); max-width: 1120px; margin-inline: auto; padding: clamp(3rem, 8vh, 5rem) var(--margen) clamp(5rem, 13vh, 9rem); color: var(--gris); line-height: 1.45; }
.datos b { display: block; margin-bottom: .25rem; color: var(--tinta); font-size: 1.35rem; font-weight: 620; letter-spacing: -.015em; line-height: 1.25; }

/* Solvrax: la foto crece hasta ocupar toda la pantalla */
.gris-claro { background: var(--claro); }
.crece { height: min(56.25vw, 100vh); min-height: 420px; overflow: clip; }
.crece img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.laptop img { object-position: 48% 50%; }

/* Jornivrax: la foto queda fija y el celular sube sobre ella */
.sube { position: relative; height: min(56.25vw, 100vh); min-height: 480px; overflow: clip; }
.sube > picture img, .sube > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.sube .celular { position: absolute; top: 9%; left: 12%; width: auto; height: 82%; filter: drop-shadow(0 40px 50px rgb(0 0 0 / .45)); }

/* Fiskaltrax: la cámara se aleja de la pantalla y descubre a quien la usa */
.negro { background: #000; color: #F5F5F7; }
.negro .titular > p:not(.producto), .negro .datos { color: #A1A1A6; }
.negro .datos b { color: #F5F5F7; }
.negro .liga { color: #6CA8FF; }
.negro .titular { padding-bottom: clamp(2.5rem, 5vh, 3.5rem); }
.aleja { height: 200vh; }
.fija { position: sticky; top: 56px; height: calc(100vh - 56px); overflow: clip; }
.fija img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform-origin: 51% 36%; }
.fija::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#000 0, transparent 5%, transparent 74%, #000 100%); pointer-events: none; }

.pares { display: grid; gap: 14px; padding: 14px; }
.par { display: flex; flex-direction: column; overflow: clip; border-radius: 22px; background: var(--claro); text-align: center; scroll-margin-top: 70px; }
.par-texto { padding: clamp(2.5rem, 5vw, 4.25rem) 1.5rem clamp(2rem, 3.5vw, 3rem); }
.par h2 { max-width: 24ch; margin: .8rem auto 0; font-size: clamp(1.9rem, 3.9vw, 3.6rem); line-height: 1.06; }
.par-lema { max-width: 52ch; margin: 1rem auto 0; color: var(--gris); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.42; text-wrap: balance; }
.par .producto { font-size: 1.05rem; } .par .producto svg { width: 1.9rem; }
.par .acciones { margin-top: 1.25rem; }
.par-foto { height: clamp(340px, 40vw, 640px); overflow: clip; }
.par-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 32%); transition: transform 900ms var(--sale); }
.puntos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem clamp(1.5rem, 4vw, 4rem); padding: 1.5rem; font-weight: 550; }
.par.oscuro { background: #000; color: #F5F5F7; } .par.oscuro .par-lema { color: #A1A1A6; } .par.oscuro .liga { color: #6CA8FF; }
.par.lado { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; }
.par.lado .par-texto { align-self: end; } .par.lado .puntos { align-self: start; align-content: start; min-height: 9rem; } .par.lado .par-foto { grid-area: 1 / 2 / 3 / 3; height: clamp(480px, 50vw, 760px); }

.pie { padding: clamp(5rem, 13vh, 9rem) var(--margen) 2rem; text-align: center; }
.pie h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2.1rem, 4.4vw, 4rem); line-height: 1.06; }
.pie > p { max-width: 50ch; margin: 1.2rem auto 0; color: var(--gris); font-size: clamp(1.1rem, 1.4vw, 1.25rem); text-wrap: balance; }
.pie .cierre { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 2rem; margin-top: 5rem; color: var(--gris); font-size: .875rem; } .cierre a { display: inline-flex; align-items: center; min-height: 32px; } .cierre span { display: inline-flex; align-items: center; }

@media (hover: hover) and (pointer: fine) {
  .boton:hover { background: #0A4FB8; }
  .liga:hover, .cabeza nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
  .par:hover .par-foto img { transform: scale(1.035); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .crece { animation: crecer linear both; animation-timeline: view(); animation-range: entry 10% contain 0%; }
    @keyframes crecer { from { clip-path: inset(0 13% round 34px); } to { clip-path: inset(0 0 round 0); } }
    .crece img { animation: acercar linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes acercar { from { transform: scale(1.16); } to { transform: scale(1); } }
    .aleja { view-timeline: --aleja; }
    .fija img { animation: alejar linear both; animation-timeline: --aleja; animation-range: entry 60% contain 85%; }
    @keyframes alejar { from { transform: scale(1.75); } to { transform: scale(1); } }
    .sube .celular { animation: subir-celular linear both; animation-timeline: view(); animation-range: entry 20% cover 62%; }
    @keyframes subir-celular { from { transform: translateY(58%); } }
    .datos > li, .titular > * { animation: subir linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes subir { from { transform: translateY(34px); } }
  }
}
@supports not (animation-timeline: view()) { .aleja { height: 100vh; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .aleja { height: 100vh; } .boton, .par-foto img { transition: none; } }
@media (max-width: 860px) {
  .cabeza { gap: 1rem; } .cabeza nav { margin-inline: auto 0; } .cabeza nav a:not(:first-child) { display: none; }
  .inicio { padding-inline: 0; } .inicio h1, .inicio > p { margin-inline: auto; padding-inline: 20px; }
  .datos { grid-template-columns: minmax(0, 1fr); }
  .crece { height: 118vw; } .crece img { object-position: 63% 50%; } .laptop img { object-position: 47% 50%; }
  .aleja { height: calc(108vw + 55vh); } .fija { height: 108vw; top: 90px; } .fija img { object-position: 51% 0; transform-origin: 50% 36%; }
  .par.lado { display: flex; } .par.lado .par-texto, .par.lado .puntos { align-self: stretch; } .par-foto, .par.lado .par-foto { height: 92vw; } .par.lado .puntos { min-height: 0; } .puntos { display: grid; justify-items: center; }
  .sube { height: 122vw; } .sube .celular { top: 8%; left: 50%; height: 84%; translate: -50% 0; }
}

/* Sólo en páginas de producto */
.cabeza .marca span { color: var(--gris); font-weight: 500; }
.preguntas { max-width: 820px; margin-inline: auto; padding: clamp(4rem, 10vh, 7rem) 20px; }
.preguntas h2 { text-align: center; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.06; margin-bottom: 2rem; }
.preguntas details { border-top: 1px solid #D2D2D7; } .preguntas details:last-child { border-bottom: 1px solid #D2D2D7; }
.preguntas summary { padding: 1.25rem 0; font-size: 1.15rem; font-weight: 600; cursor: pointer; } .preguntas details p { padding-bottom: 1.4rem; color: var(--gris); max-width: 65ch; }

/* Helpdesk: encuadre de sus fotos (el resto es el kit, sin cambios) */
.portada h1 { max-width: 20ch; } .negro .titular h2 { max-width: 20ch; }
.laptop img { object-position: 50% 38%; }
.fija img { object-position: 50% 40%; transform-origin: 62% 44%; }
#tiempos { --y: 100%; } #portal { --y: 48%; } #ayuda { --y: 8%; } #indicadores { --y: 38%; }
#portal .par-foto, #ayuda .par-foto { height: clamp(420px, 52vw, 820px); }
.pie .entrar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2rem; margin-top: 1.5rem; font-size: 1.0625rem; } .pie .entrar a { display: inline-flex; align-items: center; min-height: 44px; color: var(--azul); }
.cierre a { min-height: 44px; }
.cabeza .marca { display: inline-flex; align-items: center; min-height: 44px; } .cabeza .boton { position: relative; } .cabeza .boton::before { content: ""; position: absolute; inset: -4px 0; }
@media (max-width: 860px) {
  .laptop img { object-position: 12% 50%; }
  .fija img { object-position: 52% 0; transform-origin: 66% 40%; }
  #tiempos .par-foto { height: 78vw; } #tiempos .par-foto img { object-position: 8% 100%; }
  #portal .par-foto { height: 125vw; } #portal .par-foto img { object-position: 55% 50%; }
  #ayuda .par-foto { height: 92vw; } #ayuda .par-foto img { object-position: 12% 0; }
  #indicadores .par-foto img { object-position: 92% 50%; }
}
