/* CargoGest · web pública (index.html y páginas legales)
   Las animaciones se muestran siempre, aunque el sistema pida reducir movimiento (decisión de Infonet).
   Colores, letras y formas del manual de marca: azul marino, azul, amarillo con texto marino,
   esquinas redondeadas como los cuadrados del logo. */

@font-face { font-family: "Nunito"; src: url(../fonts/nunito.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(../fonts/source-sans-3.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --marino: #1A2E6E;
  --marino-2: #14245A;
  --noche: #0D1840;
  --noche-2: #0A1232;
  --azul: #395CBE;
  --azul-2: #2F4FA8;
  --azul-cl: #8FA8F0;
  --azul-s: #EEF2FC;
  --amarillo: #FFC107;
  --amarillo-2: #F2B200;
  --amarillo-cl: #FFE066;
  --amarillo-s: #FFF7D6;
  --gris: #80868E;
  --gris-2: #5A616B;
  --gris-cl: #C8CDD4;
  --niebla: #F4F6FA;
  --linea: #E2E6ED;
  --tinta: #152251;
  --texto: #3C4558;
  --ok: #17915A;
  --ok-s: #E3F5EC;
  --error: #C2352B;

  --titulos: "Nunito", Tahoma, "Segoe UI", "Noto Sans Arabic", "Geeza Pro", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --cuerpo: "Source Sans 3", Tahoma, "Segoe UI", "Noto Sans Arabic", "Geeza Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-s: 10px;
  --r: 16px;
  --r-l: 24px;
  --r-xl: 32px;
  --ancho: 1320px;
  --gut: clamp(18px, 4vw, 32px);
  --sec: clamp(64px, 8vw, 100px);       /* separación de TODAS las secciones, igual arriba y abajo */
  --cab-sec: clamp(40px, 4.5vw, 60px);  /* de la cabecera de sección a su contenido */
  --sombra-s: 0 1px 2px rgba(20, 34, 81, .06), 0 2px 8px rgba(20, 34, 81, .05);
  --sombra: 0 1px 2px rgba(20, 34, 81, .05), 0 10px 30px -6px rgba(20, 34, 81, .14);
  --sombra-l: 0 2px 4px rgba(13, 24, 64, .06), 0 30px 60px -12px rgba(13, 24, 64, .30);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 66px; }
@media all { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: #fff; color: var(--texto);
  font: 400 18px/1.6 var(--cuerpo);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--azul); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: var(--marino); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--titulos); color: var(--tinta); line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--amarillo-cl); color: var(--marino); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }
.oculto { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ancho { width: 100%; max-width: var(--ancho); margin-inline: auto; padding-inline: var(--gut); }
.salta { position: absolute; right: 12px; top: -60px; z-index: 100; background: var(--amarillo); color: var(--marino); padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; text-decoration: none; transition: top .2s; }
.salta:focus { top: 12px; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i .ac { stroke: var(--ac, var(--amarillo)); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--amarillo); --fg: var(--marino);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--bg); color: var(--fg); text-decoration: none; white-space: nowrap;
  font: 800 17px/1 var(--titulos); letter-spacing: -.005em;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 6px 18px -6px rgba(255, 193, 7, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn:hover { color: var(--fg); background: var(--amarillo-cl); }
.btn:active { transform: translateY(1px); }
.btn .flecha { display: inline-flex; align-items: center; gap: 3px; }
.btn .flecha i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; opacity: .5; width: 0; transition: width .3s var(--ease); }
.btn .flecha svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 14px 28px -10px rgba(255, 193, 7, .75); }
  .btn:hover .flecha i:nth-child(1) { width: 6px; }
  .btn:hover .flecha i:nth-child(2) { width: 10px; }
  .btn:hover .flecha svg { transform: translateX(-3px); }
}
.btn-sec { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-sec:hover { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-marino { --bg: var(--marino); --fg: #fff; box-shadow: 0 8px 20px -8px rgba(26, 46, 110, .55); }
.btn-marino:hover { background: var(--azul-2); color: #fff; box-shadow: 0 14px 28px -10px rgba(26, 46, 110, .6); }

/* ---------- Cabecera (logo · menú centrado · acciones) ---------- */
.cab { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.cab .ancho { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 76px; transition: height .3s var(--ease); }
.cab-logo { justify-self: start; display: block; line-height: 0; border-radius: 8px; }
.cab-logo img { width: 172px; height: 55px; }
.cab-logo .claro { display: none; }
.cab nav ul { display: flex; align-items: center; gap: 2px; }
.cab nav a {
  display: block; padding: 10px 11px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  font: 700 15px/1 var(--titulos); color: rgba(255, 255, 255, .82); transition: color .2s, background-color .2s;
}
.cab nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.cab nav a[aria-current="true"] { color: var(--amarillo); }
.cab-acciones { justify-self: end; display: flex; align-items: center; gap: 16px; }
.cab-tel { display: inline-flex; align-items: center; gap: 8px; font: 800 15.5px/1 var(--titulos); color: #fff; text-decoration: none; white-space: nowrap; }
.cab-tel svg { width: 18px; height: 18px; }
.cab-tel:hover { color: var(--amarillo); }
.cab .btn { min-height: 44px; padding: 0 18px; font-size: 15.5px; border-radius: 12px; }
.cab-menu { display: none; }
.cab.solida { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 rgba(20, 34, 81, .08), 0 8px 30px -12px rgba(20, 34, 81, .18); }
.cab.solida .ancho { height: 66px; }
.cab.solida .cab-logo .oscuro { display: none; }
.cab.solida .cab-logo .claro { display: block; }
.cab.solida nav a { color: var(--gris-2); }
.cab.solida nav a:hover { color: var(--marino); background: var(--niebla); }
.cab.solida nav a[aria-current="true"] { color: var(--marino); background: var(--amarillo-s); }
.cab.solida .cab-tel { color: var(--marino); }
.cab.solida .cab-tel:hover { color: var(--azul); }
.cab.solida .cab-menu { color: var(--marino); border-color: var(--linea); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 78% 8%, rgba(57, 92, 190, .55), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(57, 92, 190, .35), transparent 60%),
    linear-gradient(-180deg, var(--marino) 0%, var(--noche) 70%, var(--noche-2) 100%);
  color: #DCE3F5; padding: 116px 0 clamp(56px, 6vw, 96px);
}
.hero-trama { position: absolute; inset: 0; z-index: -1; opacity: .9; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000 10%, transparent 75%); }
.hero-trama svg { width: 100%; height: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(20px, 2.5vw, 40px); align-items: center; }
.hero-txt { padding-bottom: 0; }
.etiqueta {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 9px 8px 17px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  font: 700 16.5px/1.2 var(--titulos); color: #fff; letter-spacing: .01em;
}
.etiqueta b { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--amarillo); color: var(--marino); font-weight: 900; font-size: 14.5px; letter-spacing: .04em; }
.hero h1 { margin: 20px 0 20px; font-size: clamp(38px, 4.7vw, 64px); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; color: #fff; }
.hero h1 .subraya { position: relative; display: inline-block; color: var(--amarillo); white-space: nowrap; }
.hero h1 .subraya svg { position: absolute; right: -2%; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.hero h1 .subraya path { fill: none; stroke: var(--amarillo); stroke-width: 6; stroke-linecap: round; opacity: .55; }
@media (scripting: enabled) {
  .hero h1 .subraya path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: traza 1.2s var(--ease) .9s forwards; }
}
.hero-lema { margin: -6px 0 16px; font: 800 clamp(21px, 2.1vw, 28px)/1.2 var(--titulos); letter-spacing: -.015em; color: #fff; text-wrap: balance; }
.hero-lead { max-width: 540px; font-size: clamp(18px, 1.4vw, 20px); line-height: 1.6; color: #C6D0EA; }
.hero-lead b { color: #fff; font-weight: 600; }
/* En móvil, la entradilla a 21 px: así es el texto más grande de la primera pantalla y el LCP no espera al aviso de cookies (que sale a los 1,2 s) */
@media (max-width: 640px) { .hero-lead { font-size: 21px; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-ctas .btn { min-height: 56px; padding: 0 22px; font-size: 17px; border-radius: 16px; }
.hero-sellos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-sellos li { display: flex; align-items: center; gap: 9px; font: 700 15px/1.2 var(--titulos); color: #fff; }
.hero-sellos svg.i { width: 22px; height: 22px; color: var(--azul-cl); }
/* Indicador para bajar, abajo a la izquierda (en el centro lo taparía el aviso de cookies): solo en PC, donde la portada
   ocupa la pantalla entera. Se va en cuanto se baja (la cabecera pasa a .solida). Rebote suave si no se pide menos movimiento. */
.bajar { display: none; }
@media (min-width: 1021px) {
  .bajar { position: absolute; z-index: 2; bottom: 28px; right: max(var(--gut), calc((100% - var(--ancho)) / 2 + var(--gut))); display: inline-flex; align-items: center; gap: 14px;
    padding: 4px 4px 4px 6px; border-radius: 999px; color: #C6D0EA; text-decoration: none; font: 700 15.5px/1 var(--titulos); letter-spacing: .02em; transition: color .25s, opacity .35s, transform .35s var(--ease); }
  .bajar-ico { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; color: var(--amarillo);
    background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); transition: background-color .25s, color .25s, box-shadow .25s; }
  .bajar-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .bajar:hover { color: #fff; }
  .bajar:hover .bajar-ico { background: var(--amarillo); color: var(--marino); box-shadow: 0 10px 24px -8px rgba(255, 193, 7, .6); }
  .bajar:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
  .hero:not(.pin) .bajar { display: none; } /* sin portada a pantalla completa no hace falta el indicador para bajar */
  .cab.solida ~ main .bajar { opacity: 0; transform: translateY(10px); pointer-events: none; }
}
@media (min-width: 1021px) and (prefers-reduced-motion: no-preference) {
  .bajar-ico svg { animation: bajar-rebote 2.2s cubic-bezier(.45, 0, .55, 1) 1.5s infinite; }
  .bajar-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255, 193, 7, .5); opacity: 0; animation: bajar-onda 2.2s ease-out 1.5s infinite; }
  .bajar:hover .bajar-ico svg, .bajar:hover .bajar-ico::after { animation-play-state: paused; }
}
@keyframes bajar-rebote { 0%, 55%, 100% { transform: translateY(-3px); } 25% { transform: translateY(5px); } }
@keyframes bajar-onda { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

/* Escena: camión sobre la báscula, grande y a sangre hasta el borde derecho */
.escena { position: relative; align-self: center; margin-left: calc(-1 * var(--gut)); }
/* Portada en 3D (js/escena3d.js): el lienzo ocupa el sitio de la ilustración */
/* Mientras carga el 3D, la ilustración queda en su estado final como póster; al estar listo, se funde con el lienzo */
.escena.es3d > svg { transition: opacity .9s var(--ease); }
.escena.es3d .camion { transform: none; animation: none; }
.escena.es3d .albaran { clip-path: inset(-20px -20px -20px -20px round 14px); }
.escena.es3d .chip-vf { opacity: 1; transform: none; animation: none; }
.escena.listo3d > svg { opacity: 0; }
.lienzo3d { position: absolute; inset: -8% -6% -6% 0; width: 106%; height: 114%; opacity: 0; transition: opacity .9s var(--ease); -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.escena.listo3d .lienzo3d { opacity: 1; }
.escena > svg { width: 100%; height: auto; }
.lcd-seg { fill: #3B2E00; opacity: .1; }
.lcd-seg.on { opacity: .92; }
.lcd-estado { font: 800 11px/1 var(--titulos); letter-spacing: .14em; fill: #4A3A00; }
.lcd-kg { font: 900 15px/1 var(--titulos); fill: #3B2E00; }
.lcd-led { fill: #7A5E00; transition: fill .3s; }
.lcd-led.ok { fill: #12A150; }

.albaran {
  position: absolute; left: 2%; top: 0; width: min(38%, 290px);
  background: #fff; color: var(--tinta); border-radius: 14px; padding: 16px 16px 14px;
  box-shadow: var(--sombra-l); font-size: 13px; line-height: 1.35;
}
.albaran::before { content: ""; position: absolute; right: -8px; left: -8px; top: -9px; height: 12px; border-radius: 8px; background: linear-gradient(#24346F, #172352); box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
.alb-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 10px; border-bottom: 1.5px dashed var(--linea); }
.alb-cab b { font: 900 14px/1 var(--titulos); color: var(--marino); letter-spacing: .02em; white-space: nowrap; }
.alb-cab span { white-space: nowrap; }
.alb-cab span { color: var(--gris-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.alb-filas { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; padding: 10px 0; margin: 0; }
.alb-filas dt { color: var(--gris-2); font-size: 12px; }
.alb-filas dd { margin: 0; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alb-pie { display: flex; align-items: center; gap: 12px; padding-top: 10px; border-top: 1.5px dashed var(--linea); }
.alb-qr { width: 58px; height: 58px; flex: none; padding: 4px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); }
.alb-qr svg { width: 100%; height: 100%; }
.alb-neto small { display: block; color: var(--gris-2); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.alb-neto strong { font: 900 24px/1.1 var(--titulos); color: var(--marino); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.alb-deca { display: inline-flex; align-items: center; gap: 5px; margin-top: 5px; padding: 4px 7px 4px 10px; border-radius: 999px; background: var(--ok-s); color: #127A4B; font: 800 13.5px/1.2 var(--titulos); }
.alb-deca svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chip-vf {
  position: absolute; right: 8%; bottom: 3%; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--tinta);
  box-shadow: var(--sombra-l); font-size: 13px; line-height: 1.25;
}
.chip-vf .ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--marino); color: var(--amarillo); }
.chip-vf .ico svg { width: 20px; height: 20px; --ac: var(--amarillo); }
.chip-vf b { display: block; font: 800 14px/1.2 var(--titulos); color: var(--marino); }
.chip-vf span { color: var(--gris-2); font-variant-numeric: tabular-nums; }
.albaran, .chip-vf { transition: clip-path 1.1s var(--ease-io), opacity .5s var(--ease), transform .6s var(--ease); }
/* Si web.js no llega a cargar, a los 3,5 s se muestra el resultado final igualmente. */
@media (scripting: enabled) {
  .escena .camion { transform: translateX(900px); animation: ver-camion .01s 3.5s forwards; }
  .escena .albaran { clip-path: inset(0 0 100% 0 round 14px); animation: ver-alb .01s 3.5s forwards; }
  .escena .chip-vf { opacity: 0; transform: translateY(12px) scale(.96); animation: ver-chip .01s 3.5s forwards; }
  .rv-on .escena .camion, .rv-on .escena .albaran, .rv-on .escena .chip-vf { animation: none; }
  .escena .albaran.ver { clip-path: inset(-20px -20px -20px -20px round 14px); }
  .escena .chip-vf.ver { opacity: 1; transform: none; }
}
@keyframes ver-camion { to { transform: none; } }
@keyframes ver-alb { to { clip-path: inset(-20px -20px -20px -20px round 14px); } }
@keyframes ver-chip { to { opacity: 1; transform: none; } }

.hero-fijo { position: relative; }
.escena.es3d { will-change: transform; }
/* Escritorio con 3D: la portada (algo más alta) se queda fija un tramo corto mientras se cuenta la historia */
@media (min-width: 1021px) {
  .hero.pin { --alto-hero: max(760px, 100vh); /* toda la pantalla: si fuera más bajo, debajo asomaría el fondo transparente (franja blanca) */ height: calc(var(--alto-hero) + 80vh); padding: 0; overflow: visible; background: transparent; }
  .hero.pin .hero-fijo {
    position: sticky; top: 0; height: var(--alto-hero); display: flex; align-items: center; padding: 84px 0 96px; overflow: hidden; isolation: isolate;
    background:
      radial-gradient(1200px 600px at 78% 8%, rgba(57, 92, 190, .55), transparent 60%),
      radial-gradient(800px 500px at 0% 100%, rgba(57, 92, 190, .35), transparent 60%),
      linear-gradient(-180deg, var(--marino) 0%, var(--noche) 70%, var(--noche-2) 100%);
  }
  .hero.pin .hero-fijo > .ancho { width: 100%; }
}
/* Visor grande y legible y etapas, encima de la escena 3D */
.visor-flot, .etapas { display: none; }
.escena.es3d .visor-flot { display: block; }
.escena.es3d .etapas { display: flex; }
.visor-flot { position: absolute; right: 4%; top: 6%; width: min(40%, 270px); padding: 30px 16px 12px; border-radius: 12px; background: linear-gradient(-180deg, #FFD54A, #F2B400); box-shadow: 0 0 0 9px #1A2E6E, 0 0 0 10px rgba(143, 168, 240, .25), var(--sombra-l); opacity: 0; transform: translateY(12px) scale(.95); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.visor-flot.ver { opacity: 1; transform: none; }
.visor-flot .est { position: absolute; right: 14px; top: 10px; font: 800 11.5px/1 var(--titulos); letter-spacing: .14em; color: #4A3A00; }
.visor-flot .led { position: absolute; left: 14px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: #7A5E00; transition: background-color .3s, box-shadow .3s; }
.visor-flot .led.ok { background: #13A152; box-shadow: 0 0 10px #13A152; }
.visor-flot svg { width: 82%; height: auto; }
.visor-flot .kg { position: absolute; left: 14px; bottom: 12px; font: 900 18px/1 var(--titulos); color: #2B2100; }
.etapas { position: absolute; right: 50%; bottom: 0; transform: translateX(50%); gap: 6px; padding: 6px; border-radius: 999px; background: rgba(10, 18, 50, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; }
.etapas li { display: flex; align-items: center; gap: 7px; padding: 9px 9px 9px 16px; border-radius: 999px; font: 800 15.5px/1 var(--titulos); color: #9DAAD2; transition: background-color .35s, color .35s; }
.etapas li b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13.5px; transition: background-color .35s, color .35s; }
.etapas li.activa { background: var(--amarillo); color: var(--marino); }
.etapas li.activa b { background: var(--marino); color: var(--amarillo); }
.escena.es3d .chip-vf { right: auto; left: 3%; top: auto; bottom: 64px; }

/* Escaneo del QR del DeCA al imprimirse el albarán */
.alb-qr { position: relative; overflow: hidden; }
.alb-qr::after { content: ""; position: absolute; right: 3px; left: 3px; top: 4px; height: 2px; border-radius: 2px; background: var(--amarillo); box-shadow: 0 0 8px 2px rgba(255, 193, 7, .8); opacity: 0; }
@media all { .albaran.ver .alb-qr::after { animation: escanea-qr 1.5s var(--ease-io) .7s 2; } }
@keyframes escanea-qr { 0% { opacity: 0; top: 4px; } 12% { opacity: 1; } 50% { top: calc(100% - 6px); } 88% { opacity: 1; } 100% { opacity: 0; top: 4px; } }

/* Móvil y tableta con 3D: escena arriba; debajo, centrados, las etapas y un único hueco donde se turnan
   el visor de pesaje, el albarán con el QR y la factura VeriFactu */
@media (max-width: 1020px) {
  .escena.es3d { display: grid; justify-items: center; row-gap: 14px; }
  .escena.es3d > svg, .escena.es3d .lienzo3d { grid-area: 1 / 1; }
  .escena.es3d > svg { width: 100%; }
  .escena.es3d .lienzo3d { position: relative; inset: auto; width: 100%; height: 100%; }
  .escena.es3d .etapas { grid-area: 2 / 1; position: static; transform: none; }
  .escena.es3d .visor-flot, .escena.es3d .albaran, .escena.es3d .chip-vf { grid-area: 3 / 1; align-self: start; position: relative; inset: auto; margin: 0; }
  .escena.es3d .visor-flot { width: min(76%, 270px); margin-top: 18px; }
  .escena.es3d .albaran { width: min(100% - 2 * var(--gut), 330px); margin-top: 30px; font-size: 13px; padding: 16px 16px 14px; }
  .escena.es3d .alb-cab span { display: inline; }
  .escena.es3d .chip-vf { align-self: center; margin-top: 20px; }
}

/* ---------- Secciones: misma separación arriba y abajo en todas ---------- */
.sec { padding-block: var(--sec); position: relative; }
.sec-niebla { background: var(--niebla); }
.sec-cab { max-width: 760px; margin-bottom: var(--cab-sec); }
.sec-cab.centro { margin-inline: auto; text-align: center; }
.antetitulo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 18px; font: 800 16px/1 var(--titulos); letter-spacing: .12em; text-transform: uppercase; color: var(--azul); }
.antetitulo::before { content: ""; width: 15px; height: 15px; border-radius: 4px; background: linear-gradient(-135deg, var(--amarillo-cl), var(--amarillo)); box-shadow: -4px 4px 0 -1px var(--gris-cl); }
.sec h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 900; letter-spacing: -.03em; }
.sec-cab p { margin-top: 18px; font-size: clamp(18px, 1.5vw, 20px); color: var(--texto); }
.sec-cab p + p { margin-top: 12px; }
.sec h3 { font-size: 21px; font-weight: 800; letter-spacing: -.015em; }

/* Problema y solución */
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ps-caja { border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 44px); }
.ps-antes { background: var(--niebla); box-shadow: inset 0 0 0 1px var(--linea); }
.ps-despues { position: relative; overflow: hidden; background: linear-gradient(-160deg, var(--marino), var(--noche)); color: #C6D0EA; box-shadow: var(--sombra-l); }
.ps-caja h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 22px; }
.ps-despues h3 { color: #fff; }
.ps-caja h3 .pastilla { font: 800 14.5px/1 var(--titulos); letter-spacing: .1em; text-transform: uppercase; padding: 8px 13px; border-radius: 9px; }
.ps-antes .pastilla { background: #fff; color: var(--gris-2); box-shadow: inset 0 0 0 1px var(--linea); }
.ps-despues .pastilla { background: var(--amarillo); color: var(--marino); }
.ps-caja li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--linea); font-size: 17.5px; line-height: 1.5; }
.ps-despues li { border-color: rgba(255, 255, 255, .1); }
.ps-caja li:first-child { border-top: 0; padding-top: 0; }
.ps-caja li b { color: var(--tinta); font-weight: 600; }
.ps-despues li b { color: #fff; }
.marca-x, .marca-ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; }
.marca-x { background: #fff; color: #A3AAB6; box-shadow: inset 0 0 0 1px var(--linea); }
.marca-ok { background: var(--amarillo); color: var(--marino); }
.marca-x svg, .marca-ok svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Cómo funciona: carretera con 6 paradas */
.ruta { position: relative; }
.ruta-pista { position: absolute; right: 0; left: 0; top: 37px; height: 6px; border-radius: 6px; background: repeating-linear-gradient(-90deg, var(--gris-cl) 0 14px, transparent 14px 26px); }
.ruta-hecha { position: absolute; right: 0; top: 37px; height: 6px; width: 100%; border-radius: 6px; background: linear-gradient(-90deg, var(--amarillo-cl), var(--amarillo)); transform-origin: right; transform: scaleX(var(--p, 1)); }
.ruta-camion { position: absolute; top: 2px; right: calc(var(--p, 1) * (100% - 72px)); width: 72px; height: 40px; }
.ruta-camion svg { width: 100%; height: 100%; }
.pasos { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding-top: 76px; }
.paso { position: relative; padding: 22px 20px 24px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--linea), var(--sombra-s); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.paso.llego { box-shadow: inset 0 3px 0 var(--amarillo), 0 0 0 1px var(--linea), var(--sombra); }
.paso::before { content: ""; position: absolute; top: -40px; right: calc(50% - 7px); width: 14px; height: 14px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 3px var(--gris-cl); transition: box-shadow .3s, background-color .3s; }
.paso.llego::before { background: var(--amarillo); box-shadow: inset 0 0 0 3px var(--amarillo-2), 0 0 0 6px rgba(255, 193, 7, .2); }
.paso-n { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--linea); }
.paso-n b { font: 900 34px/1 var(--titulos); letter-spacing: -.04em; color: var(--marino); font-variant-numeric: tabular-nums; }
.paso.llego .paso-n b { color: var(--azul); }
.paso-n svg.i { width: 28px; height: 28px; stroke-width: 1.5; color: var(--gris); --ac: var(--amarillo); }
.paso h3 { font-size: 18px; margin-bottom: 8px; }
.paso p { font-size: 15.5px; line-height: 1.55; color: var(--gris-2); }

/* Ventajas: rejilla bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tarjeta {
  position: relative; overflow: hidden; border-radius: var(--r-l); padding: 30px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-s);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: hover) { .tarjeta:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px #CFD8EC, var(--sombra); } }
.tarjeta h3 { margin-bottom: 10px; }
.tarjeta p { font-size: 17px; line-height: 1.55; }
.tarjeta .ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 15px; background: linear-gradient(-145deg, #F4F7FE, #E2E9FB); box-shadow: inset 0 0 0 1px rgba(57, 92, 190, .14), 0 6px 14px -8px rgba(26, 46, 110, .35); color: var(--marino); }
.tarjeta .ico svg.i { width: 27px; height: 27px; }
.b-peso { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(-165deg, var(--marino), var(--noche)); color: #C6D0EA; box-shadow: var(--sombra-l); }
.b-peso h3 { color: #fff; font-size: 28px; }
.b-peso p { font-size: 18px; max-width: 440px; }
.b-peso .ico { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--amarillo); }
.b-peso .visor { width: 100%; margin-block: auto; padding-block: 32px 8px; }
.b-deca, .b-vf, .b-centros, .b-flota, .b-conta { grid-column: span 3; }
@media (min-width: 1101px) { .b-centros, .b-flota, .b-conta { grid-column: span 2; } }

/* Visor de báscula grande (tarjeta de peso) */
.visor { margin-top: auto; padding-top: 34px; }
.visor-caja { position: relative; border-radius: 20px; padding: 14px; background: linear-gradient(-180deg, #23336B, #121C47); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 40px -16px rgba(0, 0, 0, .6); }
.visor-lcd { position: relative; display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; padding: 30px 20px 16px; border-radius: 12px; background: linear-gradient(-180deg, #FFD54A, #F2B400); box-shadow: inset 0 2px 10px rgba(120, 80, 0, .35); }
.visor-lcd::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(-115deg, rgba(255, 255, 255, .35), transparent 40%); pointer-events: none; }
.visor-lcd .est { position: absolute; right: 16px; top: 11px; font: 800 11.5px/1 var(--titulos); letter-spacing: .16em; text-transform: uppercase; color: #5C4600; }
.visor-lcd .led { position: absolute; left: 16px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: #8A6A00; box-shadow: 0 0 0 2px rgba(0, 0, 0, .08); transition: background-color .3s, box-shadow .3s; }
.visor-lcd .led.ok { background: #13A152; box-shadow: 0 0 10px #13A152; }
.visor-lcd svg { width: 100%; max-width: 340px; height: auto; }
.visor-lcd .kg { font: 900 20px/1 var(--titulos); color: #3B2E00; padding-bottom: 6px; }
.visor-pie { display: flex; justify-content: space-between; gap: 10px; padding: 12px 6px 2px; font: 700 13.5px/1.2 var(--titulos); color: #8C9BC7; }
.visor-pie b { color: #fff; font-variant-numeric: tabular-nums; }

/* Tarjeta DeCA */
.b-deca { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.deca-qr { position: relative; width: 148px; padding: 12px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea), var(--sombra); }
.deca-qr svg { width: 100%; height: auto; }
.deca-qr .ok { position: absolute; left: -10px; bottom: -10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--ok); color: #fff; box-shadow: 0 6px 14px -4px rgba(23, 145, 90, .6); }
.deca-qr .ok svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.deca-qr::after { content: ""; position: absolute; right: 12px; left: 12px; top: 12px; height: 3px; border-radius: 3px; background: var(--amarillo); box-shadow: 0 0 14px 2px rgba(255, 193, 7, .7); opacity: 0; }
@media all { .b-deca.visto .deca-qr::after { animation: escanea 2.6s var(--ease-io) .6s 2; } }
@keyframes escanea { 0% { opacity: 0; transform: translateY(0); } 10% { opacity: 1; } 50% { transform: translateY(118px); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(0); } }
.tarjeta .extra { margin-top: 12px; font-size: 15.5px; color: var(--gris-2); }

/* Tarjeta VeriFactu: facturas apiladas */
.b-vf { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.facturas { position: relative; width: 150px; height: 150px; }
.facturas span { position: absolute; inset: 10px 14px 6px 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-s); }
.facturas span:nth-child(1) { transform: rotate(8deg) translate(8px, 4px); }
.facturas span:nth-child(2) { transform: rotate(3deg) translate(3px, 2px); }
.facturas span:nth-child(3) { display: flex; flex-direction: column; gap: 7px; padding: 16px 14px; }
.facturas i { display: block; height: 6px; border-radius: 3px; background: var(--linea); }
.facturas i:nth-child(1) { width: 60%; background: var(--marino); }
.facturas i:nth-child(3) { width: 80%; }
.facturas i:nth-child(4) { width: 50%; }
.facturas b { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 7px; background: var(--marino); color: var(--amarillo); font: 900 10.5px/1 var(--titulos); letter-spacing: .06em; }
@media (hover: hover) {
  .facturas span { transition: transform .5s var(--ease); }
  .b-vf:hover .facturas span:nth-child(1) { transform: rotate(14deg) translate(16px, 6px); }
  .b-vf:hover .facturas span:nth-child(2) { transform: rotate(6deg) translate(8px, 3px); }
}

/* Tarjeta centros: red de plantas */
.red { margin-top: 20px; }
.red svg { width: 100%; height: auto; }
.red .linea { stroke: var(--gris-cl); stroke-width: 2; stroke-dasharray: 4 5; fill: none; }
.red .pulso { fill: var(--amarillo); }
.red .nodo rect { fill: #fff; stroke: var(--gris-cl); stroke-width: 1.5; }
.red .nodo text { font: 800 11px/1 var(--titulos); fill: var(--gris-2); }
.red .central rect { fill: var(--marino); stroke: none; }
.red .central text { fill: #fff; }

/* Tarjeta flota: caducidades */
.caduca { margin-top: 18px; display: grid; gap: 8px; }
.caduca li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 11px; background: var(--niebla); font: 700 14.5px/1.2 var(--titulos); color: var(--tinta); }
.caduca li span { font: 800 14px/1 var(--titulos); padding: 6px 10px; border-radius: 8px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.caduca .ok { background: var(--ok-s); color: #127A4B; }
.caduca .pronto { background: var(--amarillo-s); color: #7A5500; }
.caduca .ya { background: #FCE8E6; color: var(--error); }

/* Tarjeta contabilidad */
.conta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.conta li { padding: 8px 12px; border-radius: 10px; background: var(--niebla); font: 800 14.5px/1 var(--titulos); color: var(--marino); box-shadow: inset 0 0 0 1px var(--linea); }

/* ---------- El programa: capturas reales en ventana ---------- */
.pestanas { display: flex; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea), var(--sombra-s); }
.pestanas button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; font: 800 15.5px/1 var(--titulos); color: var(--gris-2); transition: background-color .2s, color .2s; }
.pestanas button:hover { color: var(--marino); }
.pestanas button[aria-selected="true"] { background: var(--marino); color: #fff; box-shadow: 0 6px 14px -6px rgba(26, 46, 110, .6); }
.pestanas svg.i { width: 19px; height: 19px; }
.ventana { max-width: 1100px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(20, 34, 81, .1), var(--sombra-l); }
.ventana-barra { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: linear-gradient(#F7F8FB, #EEF1F6); border-bottom: 1px solid var(--linea); }
.ventana-barra i { width: 12px; height: 12px; border-radius: 50%; background: #E1E5EC; }
.ventana-barra span { margin-right: 10px; font: 700 13px/1 var(--titulos); color: var(--gris); }
.panel[hidden] { display: none; }
.panel { position: relative; container-type: inline-size; }
.panel img { width: 100%; }
@media all { .panel:not([hidden]) img { animation: aparece .5s var(--ease); } }
@keyframes aparece { from { opacity: 0; transform: scale(.99); } }
/* Visor animado encima de la captura del albarán (posiciones en % de la imagen de 1043 × 550) */
.cap-visor { position: absolute; right: 80.9%; top: 40.1%; width: 11%; pointer-events: none; }
.cap-visor .est { position: absolute; right: .4%; top: 0; font: 400 calc(100cqi * 9.5 / 1043)/1 Tahoma, Verdana, sans-serif; color: #111; white-space: nowrap; }
.cap-visor svg { position: absolute; right: 0; top: calc(100cqi * 13 / 1043); width: 100%; height: auto; }
.cap-visor .lcd-seg { fill: #111; opacity: .07; }
.cap-visor .lcd-seg.on { opacity: 1; }
.nota-ficticia { margin-top: 16px; font-size: 14.5px; color: var(--gris-2); text-align: center; }
/* Vídeo de uso (20/11/2026): portada propia y carga solo al pulsar */
.pag-video { max-width: 1100px; margin: 0 auto; }
.video-marco { position: relative; }
.video-play { position: absolute; right: 50%; top: 50%; z-index: 1; width: 88px; height: 88px; margin: -44px -44px 0 0; border: 0; border-radius: 50%; background: var(--amarillo); color: var(--noche); box-shadow: 0 10px 30px rgba(13, 24, 64, .35), 0 0 0 8px rgba(255, 255, 255, .35); cursor: pointer; transition: transform .2s; }
.video-play:hover, .video-play:focus-visible { transform: scale(1.08); }
.video-play svg { width: 38px; height: 38px; margin-right: 5px; fill: currentColor; }
.video-play[hidden] { display: none; }
@media (max-width: 600px) { .video-play { width: 64px; height: 64px; margin: -32px -32px 0 0; } .video-play svg { width: 28px; height: 28px; } }
.portada-video { margin-top: clamp(56px, 7vw, 88px); }
.portada-video .titulo-video { font: 800 clamp(26px, 3.2vw, 36px)/1.15 var(--titulos); color: var(--tinta); margin: 6px 0 10px; }
.pag-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #0F1D47; box-shadow: 0 0 0 1px rgba(20, 34, 81, .1), var(--sombra-l); }

/* ---------- Funcionalidades ---------- */
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filtros button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer; background: #fff; color: var(--gris-2); box-shadow: inset 0 0 0 1.5px var(--linea); font: 800 15px/1 var(--titulos); transition: background-color .2s, color .2s, box-shadow .2s; }
.filtros button:hover { color: var(--marino); box-shadow: inset 0 0 0 1.5px var(--gris-cl); }
.filtros button[aria-pressed="true"] { background: var(--marino); color: #fff; box-shadow: none; }
.filtros button span { margin-right: 6px; font-weight: 700; opacity: .65; font-variant-numeric: tabular-nums; }
.funciones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.funcion { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border-radius: var(--r-l); background: #fff; box-shadow: inset 0 0 0 1px var(--linea); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.funcion[hidden] { display: none; }
@media (hover: hover) { .funcion:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #CFD8EC, var(--sombra); } }
.funcion .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(-145deg, #F4F7FE, #E2E9FB); box-shadow: inset 0 0 0 1px rgba(57, 92, 190, .14); color: var(--marino); }
.funcion h3 { font-size: 18.5px; margin: 2px 0 7px; }
.funcion p { font-size: 16px; line-height: 1.55; }
@media all { .funcion.entra { animation: entra .45s var(--ease) both; } }
@keyframes entra { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- Normativa ---------- */
.norma { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(-170deg, var(--marino), var(--noche)); color: #C6D0EA; }
.norma .hero-trama { opacity: .6; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 100% 0%, #000 10%, transparent 70%); }
.norma h2 { color: #fff; }
.norma .antetitulo, .contacto .antetitulo { color: var(--amarillo); }
.norma .sec-cab p { color: #C6D0EA; }
.normas { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.norma-caja { position: relative; padding: clamp(28px, 3.4vw, 40px); border-radius: var(--r-xl); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.norma-caja .sello { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 18px; background: var(--amarillo); color: var(--marino); box-shadow: 0 10px 24px -10px rgba(255, 193, 7, .7); }
.norma-caja .sello svg.i { width: 32px; height: 32px; --ac: var(--marino); }
.norma-caja h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.norma-caja p { font-size: 17.5px; }
.norma-caja p + p { margin-top: 12px; }
.norma-caja b { color: #fff; font-weight: 600; }
.norma-caja small { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; color: #9DAAD2; }

/* ---------- Sectores ---------- */
.sectores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector { position: relative; padding: 26px 24px 24px; border-radius: var(--r-l); background: #fff; box-shadow: inset 0 0 0 1px var(--linea); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.sector::after { content: ""; position: absolute; left: -28px; top: -28px; width: 84px; height: 84px; border-radius: 22px; background: var(--azul-s); transform: rotate(-12deg); transition: transform .5s var(--ease), background-color .3s; z-index: 0; }
.sector > * { position: relative; z-index: 1; }
.sector .ico { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 16px; background: linear-gradient(-135deg, var(--azul), var(--marino)); color: #fff; box-shadow: 0 10px 20px -10px rgba(26, 46, 110, .7); }
.sector .ico svg.i { width: 28px; height: 28px; }
.sector h3 { font-size: 18.5px; margin-bottom: 7px; }
.sector p { font-size: 15.5px; line-height: 1.5; }
@media (hover: hover) {
  .sector:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--linea), var(--sombra); }
  .sector:hover::after { transform: rotate(-32deg) scale(1.2); background: var(--amarillo-s); }
}
.sectores-pie { margin-top: 36px; text-align: center; font: 700 clamp(19px, 1.7vw, 23px)/1.4 var(--titulos); color: var(--tinta); }
.sectores-pie mark { background: linear-gradient(transparent 58%, var(--amarillo-cl) 58%); color: inherit; padding: 0 .1em; }
.arigest { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 28px auto 0; max-width: 760px; padding: 16px 20px; border-radius: var(--r); background: var(--amarillo-s); font-size: 16.5px; text-align: center; color: var(--tinta); }

/* ---------- Compatibles: panel por filas ---------- */
.compat-panel { border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--linea), var(--sombra); overflow: hidden; }
.compat-fila { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 24px; align-items: center; padding: 24px 32px; transition: background-color .25s; }
.compat-fila + .compat-fila { border-top: 1px solid var(--linea); }
@media (hover: hover) { .compat-fila:hover { background: #FAFBFE; } }
.compat-tit { display: flex; align-items: center; gap: 16px; }
.compat-tit .ico { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 15px; background: linear-gradient(-135deg, var(--azul), var(--marino)); color: #fff; box-shadow: 0 8px 18px -10px rgba(26, 46, 110, .8); }
.compat-tit .ico svg.i { width: 26px; height: 26px; }
.compat-tit h3 { font-size: 19px; margin: 0 0 3px; }
.compat-tit p { font-size: 15px; line-height: 1.45; color: var(--gris-2); }
.compat-fila ul { display: flex; flex-wrap: wrap; gap: 10px; }
.compat-fila li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--linea); font: 800 15.5px/1 var(--titulos); color: var(--marino); transition: box-shadow .2s, transform .2s var(--ease); }
.compat-fila li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--amarillo); }
@media (hover: hover) { .compat-fila li:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--gris-cl), var(--sombra-s); } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .sec-cab { position: sticky; top: 110px; margin-bottom: 0; }
.faq-lista { display: grid; gap: 12px; }
.faq-lista details { border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 1px var(--linea); transition: box-shadow .25s; }
.faq-lista details[open] { box-shadow: inset 0 0 0 1.5px var(--gris-cl), var(--sombra-s); }
.faq-lista summary { position: relative; display: block; padding: 22px 24px 22px 64px; cursor: pointer; list-style: none; font: 800 18.5px/1.35 var(--titulos); color: var(--tinta); border-radius: var(--r); }
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: ""; position: absolute; left: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 9px; background: var(--niebla) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2E6E' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq-lista details[open] summary::after { transform: rotate(-135deg); background-color: var(--amarillo); }
.faq-lista summary:hover { color: var(--azul); }
.faq-lista .resp { padding: 0 24px 22px; font-size: 17px; }
@supports (interpolate-size: allow-keywords) {
  @media all {
    .faq-lista { interpolate-size: allow-keywords; }
    .faq-lista details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
    .faq-lista details[open]::details-content { height: auto; }
  }
}

/* ---------- Contacto ---------- */
.contacto { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(-170deg, var(--marino) 0%, var(--noche) 70%); color: #C6D0EA; }
.contacto .hero-trama { opacity: .55; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 0% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 0% 100%, #000 10%, transparent 70%); }
.contacto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contacto h2 { color: #fff; }
.contacto .sec-cab p { color: #C6D0EA; }
.siguiente { display: grid; gap: 18px; margin-top: 8px; }
.siguiente li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.siguiente li span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--amarillo); font: 900 17px/1 var(--titulos); }
.siguiente b { display: block; color: #fff; font: 800 18px/1.3 var(--titulos); margin-bottom: 3px; }
.siguiente p { font-size: 16.5px; }
.llamanos { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 20px 22px; border-radius: var(--r-l); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.llamanos .ico { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 15px; background: var(--amarillo); color: var(--marino); }
.llamanos small { display: block; font-size: 14.5px; color: #9DAAD2; }
.llamanos a { font: 900 26px/1.1 var(--titulos); color: #fff; text-decoration: none; letter-spacing: -.01em; }
.llamanos a:hover { color: var(--amarillo); }
.form-caja { position: relative; padding: clamp(26px, 3.4vw, 42px); border-radius: var(--r-xl); background: #fff; color: var(--texto); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form-caja h3 { font-size: 24px; margin-bottom: 6px; }
.form-caja form > p { font-size: 16px; color: var(--gris-2); margin-bottom: 24px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 7px; align-content: start; }
.campo.todo { grid-column: 1 / -1; }
.campo label { font: 800 14.5px/1.2 var(--titulos); color: var(--tinta); }
.campo label .opc { font-weight: 600; color: var(--gris-2); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 12px; background-color: var(--niebla);
  box-shadow: inset 0 0 0 1.5px var(--linea); font-size: 17px; color: var(--tinta); transition: box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.campo select { padding-left: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A2E6E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; }
.campo textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.campo input::placeholder, .campo textarea::placeholder { color: #5E6672; opacity: 1; } /* 5,4:1 sobre el fondo del campo */
.campo input:hover, .campo select:hover, .campo textarea:hover { box-shadow: inset 0 0 0 1.5px var(--gris-cl); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 2px var(--azul), 0 0 0 4px rgba(57, 92, 190, .15); }
.campo [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); background-color: #FFF6F5; }
.campo .msg { font-size: 14px; font-weight: 600; color: var(--error); }
.campo .msg:empty, .acepto-msg:empty { display: none; }
.acepto { grid-column: 1 / -1; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; color: var(--texto); cursor: pointer; }
.acepto input { width: 24px; height: 24px; margin: 0; border-radius: 7px; -webkit-appearance: none; appearance: none; background: var(--niebla); box-shadow: inset 0 0 0 1.5px var(--gris); cursor: pointer; display: grid; place-items: center; transition: background-color .15s, box-shadow .15s; }
.acepto input::after { content: ""; width: 12px; height: 7px; border-right: 2.6px solid var(--marino); border-bottom: 2.6px solid var(--marino); transform: rotate(45deg) translate(-1px, -1px) scale(0); transition: transform .2s var(--ease); }
.acepto input:checked { background: var(--amarillo); box-shadow: none; }
.acepto input:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.acepto input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--error); }
.acepto small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--gris-2); }
.acepto-msg { grid-column: 1 / -1; margin-top: -8px; font-size: 14px; font-weight: 600; color: var(--error); }
.trampa { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enviar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.enviar .btn { min-height: 56px; padding: 0 28px; font-size: 17.5px; }
.enviar .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.enviar small { font-size: 14px; color: var(--gris-2); }
.form-error { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #FDECEA; color: var(--error); font-weight: 600; font-size: 15.5px; }
.form-error:empty { display: none; }
.gracias { text-align: center; padding: 30px 6px 18px; }
.gracias[hidden] { display: none; }
.gracias .ok { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 24px; background: var(--amarillo); color: var(--marino); box-shadow: 0 16px 30px -12px rgba(255, 193, 7, .7); }
.gracias .ok svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media all {
  .gracias .ok svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: traza .6s var(--ease) .2s forwards; }
  .gracias { animation: entra .5s var(--ease) both; }
}
@keyframes traza { to { stroke-dashoffset: 0; } }
.gracias h3 { font-size: 28px; margin-bottom: 10px; }
.gracias p { font-size: 17px; max-width: 420px; margin: 0 auto; }
.gracias:focus { outline: none; }

/* ---------- Pie ---------- */
.pie { background: var(--noche-2); color: #9DAAD2; padding: 72px 0 0; font-size: 15.5px; }
.pie-grid { display: grid; grid-template-columns: minmax(290px, 1.6fr) .85fr .85fr 1fr 1.2fr; /* 290 px: las 6 redes en una fila */ gap: 40px; padding-bottom: 56px; }
.pie-grid > div > p { line-height: 1.6; }
.pie-grid > div > p + p { margin-top: 10px; }
.pie-logo { display: inline-block; }
.pie-logo img { width: 190px; height: 61px; }
.pie-marca p { margin-top: 16px; max-width: 320px; line-height: 1.6; }
.pie h2 { font: 800 13px/1 var(--titulos); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.pie li + li { margin-top: 10px; }
.pie a { color: #C6D0EA; text-decoration: none; }
.pie a:hover { color: var(--amarillo); }
.pie-legal { border-top: 1px solid rgba(255, 255, 255, .08); }
.pie-legal .ancho { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px; font-size: 14px; }
.pie-legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pie-legal li + li { margin-top: 0; }
.pie-legal button { padding: 0; border: 0; background: none; color: #C6D0EA; cursor: pointer; font-size: 14px; }
.pie-legal button:hover { color: var(--amarillo); }

/* ---------- Flotantes ---------- */
.barra-movil { display: none; }
/* comun:whatsapp */
/* ---------- Común a todas las webs: botón de WhatsApp (el de DeCA) ----------
   Botón verde redondo abajo a la derecha con onda, y a su IZQUIERDA el globo blanco «¿Hablamos por WhatsApp?» /
   «Te contesta una persona del equipo» (punto verde). El globo sale al pasar el ratón y, una vez por visita, solo
   unos segundos (clase .saluda, la pone whatsapp.js). Marcado y JS en whatsapp.js. Teléfono SIEMPRE +34 621 39 39 47.
   La flecha «volver arriba» de cada web va ENCIMA: bottom = 24 + 60 + 12 = 96px (móvil 16 + 56 + 12 = 84px).
   El globo aparece con clip-path (barrido desde el botón) y transform, nunca con opacity: a medio fundido su texto no
   tiene contraste y Lighthouse lo cuenta como fallo de accesibilidad (10/11/2026, como el propio de DeCA). El inset de
   -60px deja entera su sombra (0 14px 36px llega a 50px por debajo). */
.whatsapp { position: fixed; z-index: 90; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; text-decoration: none; pointer-events: none; -webkit-tap-highlight-color: transparent; }
.wa-boton { position: relative; flex: none; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; pointer-events: auto;
  background: linear-gradient(-145deg, #3BE27A 0%, #25D366 45%, #14A84E 100%);
  box-shadow: 0 14px 30px rgba(20, 150, 75, .38), 0 3px 8px rgba(16, 35, 58, .16), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -2px 0 rgba(0, 0, 0, .08);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.4), box-shadow .3s; }
.wa-boton::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; opacity: 0; pointer-events: none; }
.wa-boton svg { position: relative; width: 31px; height: 31px; fill: currentColor; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .18)); }
.whatsapp:hover .wa-boton { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 38px rgba(20, 150, 75, .42), 0 4px 10px rgba(16, 35, 58, .18), inset 0 1px 0 rgba(255, 255, 255, .4); }
.whatsapp:active .wa-boton { transform: scale(.95); }
.whatsapp:focus-visible { outline: none; }
.whatsapp:focus-visible .wa-boton { outline: 3px solid #6FB4E8; outline-offset: 4px; }
.wa-pastilla { display: flex; flex-direction: column; gap: 2px; padding: 11px 18px 12px; border-radius: 18px 18px 18px 6px; background: #fff; color: #10233A;
  font-family: inherit; line-height: 1.2; white-space: nowrap; box-shadow: 0 14px 36px rgba(16, 35, 58, .18), 0 0 0 1px rgba(16, 35, 58, .05);
  clip-path: inset(-60px -60px -60px calc(100% + 60px)); transform: translateX(-10px) scale(.96); transform-origin: left center;
  transition: clip-path .3s cubic-bezier(.2, .9, .3, 1), transform .3s cubic-bezier(.2, .9, .3, 1.2); }
.wa-pastilla b { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.wa-pastilla span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #5A6573; }
.wa-pastilla span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .18); }
.whatsapp:hover .wa-pastilla, .whatsapp:focus-visible .wa-pastilla, .whatsapp.saluda .wa-pastilla { clip-path: inset(-60px); transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .wa-boton::before { animation: wa-onda 3.6s ease-out 2s infinite; }
  @keyframes wa-onda { 0% { transform: scale(1); opacity: .65; } 60%, 100% { transform: scale(1.6); opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { .wa-boton, .wa-pastilla { transition: none; } }
@media (max-width: 640px) {
  .whatsapp { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
  .wa-boton { width: 56px; height: 56px; }
  .wa-boton svg { width: 29px; height: 29px; }
  .wa-pastilla { padding: 9px 14px 10px; }
  .wa-pastilla b { font-size: 14px; }
}
@media (hover: none) {
  .whatsapp:hover .wa-pastilla { clip-path: inset(-60px -60px -60px calc(100% + 60px)); transform: translateX(-10px) scale(.96); }
  .whatsapp.saluda .wa-pastilla { clip-path: inset(-60px); transform: none; }
}
@media print { .whatsapp { display: none !important; } }
/* /comun:whatsapp */
/* comun:soluciones */
/* Común a todas las webs: soluciones de Infonet (soluciones/soluciones.js, 17/11/2026; por sector desde el 19/11/2026).
   El botón hereda el aspecto del selector de idioma (.idioma-cab y sus variables --ic-…); aquí solo lo que cambia.
   Colores propios de cada web: --sol-… */
.sol-cab .sol-ico { flex: none; width: 20px; height: 20px; fill: currentColor; stroke: none; }
.sol-cab summary { gap: 8px; white-space: nowrap; }
.sol-cab .sol-txt { letter-spacing: 0; }
.sol-cab.sol-solo-ico .sol-txt { display: none; }
.idioma-cab.sol-cab ul { position: static; min-width: 0; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; list-style: none; }
.idioma-cab.sol-cab a::before { content: none; }
.sol-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 210; box-sizing: border-box; width: min(900px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow: auto; padding: 22px 24px 18px; border-radius: 18px; background: #FFFFFF; color: #1B1D21; box-shadow: 0 0 0 1px rgba(16, 21, 29, .08), 0 28px 60px -22px rgba(16, 21, 29, .45); text-align: start; letter-spacing: 0; font-weight: 400; white-space: normal; cursor: auto; }
.sol-por-sector .sol-panel { width: min(600px, calc(100vw - 32px)); padding: 20px 20px 16px; }
.sol-cab-t { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #E6E8EC; font-size: 14px; line-height: 1.4; }
.sol-por-sector .sol-cab-t { margin-bottom: 4px; padding-bottom: 0; border: 0; }
.sol-cab-t b { display: block; color: #1B1D21; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sol-por-sector .sol-cab-t b { color: #4B5563; font-size: 12px; }
.sol-cab-t span { display: block; margin-top: 3px; color: #4B5563; }
/* Todas por familias (webs para cualquier sector) */
.sol-rejilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 22px; }
.sol-fam { min-width: 0; }
.sol-ft { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--sol-acento, #2766A8); line-height: 1.3; }
.sol-ft b { display: block; color: var(--sol-acento, #2766A8); font-size: 15px; font-weight: 700; }
.sol-ft small { display: block; margin-top: 2px; color: #4B5563; font-size: 12.5px; }
.sol-fam ul { display: grid; gap: 2px; }
.idioma-cab.sol-cab .sol-fam a, .idioma-cab.sol-cab .sol-comunes a { display: flex; gap: 10px; align-items: center; padding: 7px 8px; margin: 0 -8px; border-radius: 10px; color: #1B1D21; font-size: 14px; font-weight: 400; text-decoration: none; }
.idioma-cab.sol-cab .sol-fam a:hover, .idioma-cab.sol-cab .sol-fam a:focus-visible, .idioma-cab.sol-cab .sol-comunes a:hover, .idioma-cab.sol-cab .sol-comunes a:focus-visible { background: #F1F3F6; }
.sol-panel img, .sol-pie img { flex: none; border-radius: 7px; }
.sol-fam img, .sol-comunes img, .sol-pie-fam img, .sol-pie-comunes img { width: 28px; height: 28px; }
.sol-panel li b, .sol-pie li b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.sol-panel li small { display: block; color: #4B5563; font-size: 12.5px; line-height: 1.3; }
/* Por sector: el sector en tarjetas y las que sirven a cualquier empresa aparte */
.sol-st { margin: 0 0 14px; line-height: 1.3; }
.sol-st b { display: block; color: var(--sol-acento, #2766A8); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.sol-st small { display: block; margin-top: 3px; color: #4B5563; font-size: 13.5px; }
.sol-tarjetas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.idioma-cab.sol-cab .sol-tarjetas a { display: flex; gap: 12px; align-items: center; height: 100%; box-sizing: border-box; padding: 11px 12px; border-radius: 12px; background: #F6F7F9; color: #1B1D21; font-size: 14px; font-weight: 400; text-decoration: none; box-shadow: inset 0 0 0 1px transparent; transition: background-color .15s, box-shadow .15s; }
.idioma-cab.sol-cab .sol-tarjetas a:hover, .idioma-cab.sol-cab .sol-tarjetas a:focus-visible { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--sol-acento, #2766A8), 0 8px 18px -12px rgba(16, 21, 29, .35); }
.sol-tarjetas img { width: 36px; height: 36px; border-radius: 9px; }
.sol-comunes { margin-top: 16px; padding-top: 12px; border-top: 1px solid #E6E8EC; }
.sol-ct { margin: 0 0 4px; color: #4B5563; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sol-comunes ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 0 18px; }
.idioma-cab.sol-cab .sol-comunes a { margin: 0 -8px; }
.idioma-cab.sol-cab .sol-todas { display: inline-block; margin-top: 14px; padding: 8px 0 0; color: var(--sol-acento, #2766A8); font-size: 14px; font-weight: 700; text-decoration: none; }
.sol-por-sector .sol-todas { padding-top: 4px; }
.idioma-cab.sol-cab .sol-todas:hover { text-decoration: underline; }
/* Ratón: puente invisible entre el botón y el panel, para que no se cierre al bajar */
.sol-panel::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; }
@media (max-width: 1020px) {
  .sol-panel, .sol-por-sector .sol-panel { position: fixed; inset-inline: 12px; top: var(--sol-top, 72px); width: auto; max-height: calc(100vh - var(--sol-top, 72px) - 12px); max-height: calc(100dvh - var(--sol-top, 72px) - 12px); padding: 18px 18px 14px; }
  .sol-por-sector .sol-panel { max-width: 600px; margin-inline-start: auto; }
  .sol-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .sol-rejilla, .sol-tarjetas { grid-template-columns: 1fr; } }

.sol-pie { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--sol-pie-linea, rgba(127, 127, 127, .3)); text-align: start; }
.sol-pie-in { box-sizing: border-box; }
.sol-sin-ancho { max-width: var(--sol-ancho, 1200px); margin-inline: auto; padding-inline: 20px; }
.sol-pie-t { margin: 0 0 22px; color: var(--sol-pie-titulo, inherit); font-size: 14px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.sol-pie ul { margin: 0; padding: 0; list-style: none; }
.sol-pie li { margin: 0; padding: 0; }
.sol-pie li::before { content: none; }
.sol-pie a { color: inherit; text-decoration: none; }
.sol-pie li b { color: var(--sol-pie-titulo, inherit); font-size: 15px; }
.sol-pie li small { display: block; color: var(--sol-pie-tenue, inherit); font-size: 13.5px; line-height: 1.35; }
.sol-pie li a:hover b { text-decoration: underline; }
/* Todas por familias */
.sol-pie-rejilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 34px; }
.sol-pie-fam { min-width: 0; }
.sol-pie-ft { display: block; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--sol-pie-acento, currentColor); font-size: inherit; line-height: 1.3; }
.sol-pie-ft b { display: block; color: var(--sol-pie-acento, inherit); font-size: 16.5px; font-weight: 700; }
.sol-pie-ft small { display: block; margin-top: 3px; color: var(--sol-pie-tenue, inherit); font-size: 13.5px; font-weight: 400; }
.sol-pie-fam ul { display: grid; gap: 11px; }
.sol-pie-fam a, .sol-pie-comunes a { display: flex; gap: 10px; align-items: center; }
/* Por sector: título del sector, sus aplicaciones en tarjetas y, al lado, las que sirven a cualquier empresa */
.sol-pie-por-sector .sol-pie-in { display: grid; grid-template-columns: fit-content(76%) minmax(240px, 1fr); gap: 0 44px; align-items: start; }
.sol-pie-por-sector .sol-pie-t, .sol-pie-por-sector .sol-todas { grid-column: 1 / -1; }
.sol-pie-por-sector .sol-pie-t { margin-bottom: 18px; }
.sol-pie-sector { min-width: 0; }
.sol-pie-st { display: block; margin: 0 0 16px; font-size: inherit; line-height: 1.3; }
.sol-pie-st b { display: block; color: var(--sol-pie-acento, inherit); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.sol-pie-st small { display: block; margin-top: 4px; color: var(--sol-pie-tenue, inherit); font-size: 14px; font-weight: 400; }
/* Tarjetas de ancho fijo que pasan a la línea siguiente: con pocas aplicaciones no queda hueco en medio */
.sol-pie-tarjetas { display: flex; flex-wrap: wrap; gap: 12px; }
.sol-pie-tarjetas li { flex: 0 1 236px; min-width: 0; }
.sol-pie-tarjetas a { display: flex; gap: 12px; align-items: center; height: 100%; box-sizing: border-box; padding: 13px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--sol-pie-linea, rgba(127, 127, 127, .3)); transition: box-shadow .15s, background-color .15s; }
.sol-pie-tarjetas a:hover { background: rgba(127, 127, 127, .08); box-shadow: inset 0 0 0 1px var(--sol-pie-acento, currentColor); }
.sol-pie-tarjetas li a:hover b { text-decoration: none; }
.sol-pie-tarjetas img { width: 40px; height: 40px; border-radius: 10px; }
.sol-pie-comunes { min-width: 0; padding-inline-start: 32px; border-inline-start: 1px solid var(--sol-pie-linea, rgba(127, 127, 127, .3)); }
.sol-pie-ct { margin: 4px 0 14px; color: var(--sol-pie-tenue, inherit); font-size: 12.5px; font-weight: 700; letter-spacing: .07em; line-height: 1.3; text-transform: uppercase; }
.sol-pie-comunes ul { display: grid; gap: 13px; }
.sol-pie .sol-todas { display: inline-block; justify-self: start; margin-top: 22px; color: var(--sol-pie-titulo, inherit); font-size: 14.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
[dir="rtl"] .sol-todas span { display: inline-block; transform: scaleX(-1); }
@media (max-width: 1100px) { .sol-pie-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .sol-pie-por-sector .sol-pie-in { grid-template-columns: minmax(0, 1fr); }
  .sol-pie-comunes { margin-top: 26px; padding: 22px 0 0; border-inline-start: 0; border-top: 1px solid var(--sol-pie-linea, rgba(127, 127, 127, .3)); }
  .sol-pie-comunes ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 640px) { .sol-pie-rejilla { grid-template-columns: 1fr; gap: 24px; } .sol-pie { padding-bottom: 28px; margin-bottom: 28px; } .sol-pie-tarjetas li { flex-basis: 100%; } }
/* /comun:soluciones */
.barra-movil .tel.wa { --bg: #25D366; --fg: #fff; }
.barra-movil .tel.wa svg { width: 24px; height: 24px; fill: currentColor; }
/* Volver arriba: justo encima del WhatsApp y centrada con él (botón de 60 px a 24 px del borde: centro a 54 px) */
.arriba { position: fixed; left: 29px; bottom: 96px; z-index: 40; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 15px; cursor: pointer; background: var(--marino); color: #fff; box-shadow: var(--sombra-l); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .35s var(--ease), background-color .2s; }
.arriba.ver { opacity: 1; transform: none; pointer-events: auto; }
.arriba:hover { background: var(--azul); }
.arriba svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .arriba { left: 19px; bottom: calc(84px + env(safe-area-inset-bottom)); } } /* WhatsApp de 56 px a 16 px */
.cookies { position: fixed; right: 50%; bottom: 24px; z-index: 95; display: flex; align-items: center; gap: 18px; width: min(780px, calc(100% - 24px)); transform: translateX(50%); padding: 16px 18px 16px 16px; border-radius: var(--r-l); background: #fff; box-shadow: 0 0 0 1px rgba(20, 34, 81, .08), var(--sombra-l); font-size: 15px; line-height: 1.45; }
.cookies[hidden] { display: none; }
.cookies-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--azul-s); color: var(--marino); }
.cookies-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cookies-txt { flex: 1; color: var(--texto); }
.cookies-txt a { font-weight: 600; }
.cookies b { display: block; color: var(--tinta); font: 800 16px/1.3 var(--titulos); margin-bottom: 2px; }
.cookies-btns { display: flex; gap: 8px; flex: none; }
.cookies-btns button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; cursor: pointer; font: 800 15px/1 var(--titulos); background: var(--marino); color: #fff; }
.cookies-btns button:hover { background: var(--azul); }
@media all { .cookies:not([hidden]) { animation: sube-aviso .55s var(--ease) both; } }
@keyframes sube-aviso { from { transform: translate(50%, 32px); } }

/* Menú móvil (hoja) */
.hoja { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: #fff; color: var(--texto); box-shadow: var(--sombra-l); }
.hoja::backdrop { background: rgba(10, 18, 50, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media all { .hoja[open] { animation: hoja-sube .45s var(--ease); } }
@keyframes hoja-sube { from { transform: translateY(100%); } }
.hoja-in { padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); }
.hoja-asa { width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 5px; background: var(--gris-cl); }
.hoja-cab { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hoja-cab img { width: 150px; height: 48px; }
.hoja-cerrar { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 13px; background: var(--niebla); color: var(--marino); cursor: pointer; }
.hoja-cerrar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.hoja nav li a { display: flex; align-items: center; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--linea); font: 800 19px/1.2 var(--titulos); color: var(--tinta); text-decoration: none; }
.hoja nav li a::after { content: "→"; color: var(--gris); }
.hoja-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hoja-ctas .btn { width: 100%; }

/* ---------- Revelado al hacer scroll ---------- */
@media (scripting: enabled) {
  .rv { opacity: 0; translate: 0 28px; animation: rv-red .01s 3.5s forwards; }
  .rv-on .rv { animation: none; }
  .rv.visto { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease), translate .9s var(--ease); }
}
@keyframes rv-red { to { opacity: 1; translate: 0 0; } }

/* ---------- Páginas legales ---------- */
.legal-hero { padding: 140px 0 64px; }
.legal-hero h1 { margin-top: 18px; font-size: clamp(36px, 5vw, 56px); font-weight: 900; color: #fff; letter-spacing: -.03em; }
.legal-hero p { margin-top: 16px; max-width: 680px; font-size: 19px; color: #C6D0EA; }
.volver { display: inline-flex; align-items: center; gap: 8px; color: #C6D0EA; text-decoration: none; font: 700 15px/1 var(--titulos); }
.volver:hover { color: var(--amarillo); }
.legal { max-width: 860px; padding-block: var(--sec); }
.legal section + section { margin-top: 44px; }
.legal h2 { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 900; margin-bottom: 16px; }
.legal h2 span { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--azul-s); color: var(--marino); font-size: 17px; }
.legal p, .legal li { font-size: 17.5px; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { display: grid; gap: 10px; }
.legal ul li { position: relative; padding-right: 24px; }
.legal ul li::before { content: ""; position: absolute; right: 0; top: .6em; width: 9px; height: 9px; border-radius: 3px; background: var(--amarillo); }
.legal b { color: var(--tinta); font-weight: 600; }
.ficha { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--linea); }
.ficha dt, .ficha dd { margin: 0; padding: 13px 18px; border-top: 1px solid var(--linea); }
.ficha dt:first-of-type, .ficha dt:first-of-type + dd { border-top: 0; }
.ficha dt { background: var(--niebla); font: 800 13px/1.6 var(--titulos); letter-spacing: .08em; text-transform: uppercase; color: var(--gris-2); }
.ficha dd { font-weight: 600; color: var(--tinta); }
.resumen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 48px; }
.resumen div { padding: 20px; border-radius: var(--r); background: var(--niebla); }
.resumen b { display: block; font: 800 15px/1.3 var(--titulos); color: var(--marino); margin-bottom: 6px; }
.resumen p { font-size: 16px; }
.tabla { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--linea); font-size: 16px; }
.tabla th, .tabla td { padding: 12px 16px; text-align: right; vertical-align: top; border-top: 1px solid var(--linea); }
.tabla th { background: var(--niebla); font: 800 13px/1.4 var(--titulos); letter-spacing: .06em; text-transform: uppercase; color: var(--gris-2); border-top: 0; }
.tabla td:first-child { font-weight: 600; color: var(--tinta); white-space: nowrap; }
.actualizado { margin-top: 56px; font-size: 15px; color: var(--gris-2); }
.error-404 { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; }
.error-404 .num { font: 900 clamp(90px, 18vw, 180px)/1 var(--titulos); color: var(--amarillo); letter-spacing: -.05em; }
.error-404 h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 10px 0 14px; }
.error-404 p { color: #C6D0EA; font-size: 19px; margin-bottom: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .cab nav a.opc { display: none; }
}
@media (max-width: 1100px) {
  .funciones { grid-template-columns: repeat(2, 1fr); }
  .sectores { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 0; }
  .ruta-pista, .ruta-hecha, .ruta-camion, .paso::before { display: none; }
  .pie-grid { grid-template-columns: 1fr 1fr; }
  .pie-marca { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .cab .ancho { grid-template-columns: auto 1fr; gap: 12px; }
  .cab nav, .cab-tel { display: none; }
  .cab-acciones { gap: 8px; }
  .cab-menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; font: 800 15px/1 var(--titulos); }
  .cab-menu svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
  .hero { padding-top: 108px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-txt { padding-bottom: 0; }
  .escena { margin: 8px calc(-1 * var(--gut)) 0; }
  .albaran { left: var(--gut); }
  .ps, .normas, .contacto-grid, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-cab { position: static; margin-bottom: var(--cab-sec); }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .cab .btn { display: none; }
  .cab-logo img { width: 150px; height: 48px; }
  .funciones { grid-template-columns: 1fr; }
  .compat-fila { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .pasos { grid-template-columns: 1fr 1fr; }
  .b-deca, .b-vf { grid-template-columns: 1fr; }
  .deca-qr { width: 132px; }
  .campos { grid-template-columns: 1fr; }
  .pie-grid { grid-template-columns: 1fr; gap: 32px; }
  .pestanas { width: 100%; }
  .pestanas button { flex: 1; justify-content: center; padding: 0 10px; font-size: 14.5px; }
  .etapas li { padding: 7px 7px 7px 11px; font-size: 12.5px; }
  .etapas li b { width: 20px; height: 20px; font-size: 11.5px; }
  .visor-flot { padding: 22px 10px 8px; box-shadow: 0 0 0 6px #1A2E6E, var(--sombra-l); }
  .albaran { width: 54%; padding: 11px 11px 9px; font-size: 11.5px; top: 1%; }
  .alb-cab b { font-size: 12px; }
  .alb-cab span { display: none; }
  .alb-filas dt { font-size: 11px; }
  .alb-qr { width: 44px; height: 44px; }
  .alb-neto strong { font-size: 18px; }
  .chip-vf { right: 4%; bottom: 2%; padding: 8px 8px 8px 12px; font-size: 11.5px; }
  .chip-vf .ico { width: 30px; height: 30px; }
  .chip-vf b { font-size: 12.5px; }
  .barra-movil { position: fixed; right: 12px; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(20, 34, 81, .08), var(--sombra-l); transform: translateY(150%); transition: transform .45s var(--ease); }
  .barra-movil.ver { transform: none; }
  .barra-movil .btn { min-height: 50px; }
  .barra-movil .tel { width: 50px; padding: 0; --bg: var(--niebla); --fg: var(--marino); box-shadow: none; }
  .barra-movil .tel svg { width: 22px; height: 22px; }
  .barra-movil { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .barra-movil .btn:not(.tel) { min-width: 0; padding: 0 10px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
  body:has(.barra-movil) .whatsapp { display: none; }
  .barra-movil .arriba.en-barra { position: static; width: 50px; height: 50px; border-radius: 14px; box-shadow: none; transform: none; opacity: .35; pointer-events: none; transition: opacity .3s; }
  .barra-movil .arriba.en-barra.ver { opacity: 1; pointer-events: auto; }
  .b-deca .deca-qr, .b-vf .facturas { justify-self: center; }
  .cookies { bottom: 12px; flex-wrap: wrap; gap: 12px; }
  .cookies-txt { flex-basis: calc(100% - 64px); }
  .cookies-btns { width: 100%; }
  .cookies-btns button { flex: 1; }
  .ficha { grid-template-columns: 1fr; }
  .ficha dt { border-top: 1px solid var(--linea); padding-bottom: 2px; }
  .ficha dd { border-top: 0; padding-top: 2px; }
  .resumen { grid-template-columns: 1fr; }
  .tabla { display: block; overflow-x: auto; }
}
@media (max-width: 460px) {
  .pasos { grid-template-columns: 1fr; }
  .sectores { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hoja-ctas { grid-template-columns: 1fr; }
}
@media print {
  .cab, .barra-movil, .arriba, .cookies, .escena, .whatsapp { display: none !important; }
  .hero, .norma, .contacto { background: #fff !important; color: #000 !important; }
  .rv { opacity: 1 !important; translate: none !important; }
}

/* comun:ventana */
/* ---------- Común a todas las webs: modal «¿Te llamamos?» (ver emergente-email.js) ----------
   Cabecera con degradado de la marca (sobre con carta, avión de papel, burbujas y sello «Gratis · Sin compromiso»),
   ventajas con check y formulario. Cada web define sus colores en .emergente (si no, salen grises): --em-acento (botón y
   degradado; con texto blanco en negrita de 18,7 px necesita 3:1), --em-suave (campos y checks), --em-txt (enlaces y el enlace
   «o déjanos tu teléfono»: necesita 4,5:1 sobre blanco),
   --em-tinta (títulos y final del degradado), --em-gris. */
.emergente { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.emergente[hidden] { display: none; }
.em-fondo { position: absolute; inset: 0; background: rgba(10, 16, 28, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.em-caja { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 28px; color: var(--em-tinta, #1F2328);
  /* Blanco solo debajo de la cabecera: con blanco detrás, el borde redondeado dejaba un filo claro junto a la cabecera */
  --em-alto: 170px; background: linear-gradient(transparent calc(var(--em-alto) - 1px), #fff calc(var(--em-alto) - 1px)) local;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .35s, transform .55s cubic-bezier(.2, .9, .25, 1.15); }
.emergente.visible .em-fondo, .emergente.visible .em-caja { opacity: 1; }
.emergente.visible .em-caja { transform: none; }
html.em-abierto { overflow: hidden; }
.em-cerrar { position: absolute; top: 14px; left: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .2); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.em-cerrar:hover { background: rgba(255, 255, 255, .34); transform: rotate(-90deg); }
.em-cerrar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* Cabecera ilustrada */
.em-cabeza { position: relative; height: var(--em-alto); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .28), transparent 60%), linear-gradient(-135deg, var(--em-acento, #3A4250), var(--em-tinta, #1F2328)); }
.em-cabeza::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.3px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%); mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.em-burbuja { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.em-burbuja.b1 { width: 180px; height: 180px; right: -60px; bottom: -90px; }
.em-burbuja.b2 { width: 110px; height: 110px; left: -30px; top: -40px; }
.em-burbuja.b3 { width: 34px; height: 34px; left: 90px; bottom: 24px; background: rgba(255, 255, 255, .2); }
.em-sobre { position: relative; z-index: 1; width: 150px; height: auto; margin-top: 14px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .28)); }
.em-sobre .em-l1 { fill: var(--em-acento, #3A4250); }
.em-sobre .em-l2 { fill: var(--em-suave, #E6E9EE); }
.em-pliegue { stroke: var(--em-suave, #E6E9EE); stroke-width: 2; fill: none; }
.em-avion { position: absolute; z-index: 1; width: 44px; height: 44px; right: calc(50% + 78px); top: 40px; transform: rotate(8deg); filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25)); }
.em-sello { position: absolute; z-index: 1; right: 18px; top: 18px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--em-tinta, #1F2328);
  font-size: 13px; font-weight: 800; letter-spacing: .01em; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35); }

/* Cuerpo */
.em-cuerpo { padding: 24px 28px 26px; }
.emergente .em-titulo { margin: 0 0 8px; font-size: 25px; font-weight: 800; line-height: 1.18; letter-spacing: -.025em; color: var(--em-tinta, #1F2328); }
.emergente .em-titulo span { color: var(--em-txt, var(--em-acento, #1F2328)); }
.emergente .em-txt { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: var(--em-gris, #5B6470); }
.em-ventajas { display: grid; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.em-ventajas[hidden] { display: none; }
.em-ventajas li { position: relative; padding-right: 30px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--em-tinta, #1F2328); }
.em-ventajas li::before { content: ""; position: absolute; right: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--em-suave, #EEF1F4); }
.em-ventajas li::after { content: ""; position: absolute; right: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--em-txt, #1F2328); border-width: 0 0 2.2px 2.2px; transform: rotate(-45deg); }
/* Nombre y teléfono en una fila; el correo (opcional), debajo a todo el ancho; el botón, al final */
.em-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.em-campo { min-width: 0; }
.em-campo.em-ancho { grid-column: 1 / -1; }
.em-campo input { width: 100%; height: 50px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--em-suave, #EEF1F4); color: var(--em-tinta, #1F2328); font: inherit; font-size: 16px; transition: box-shadow .2s; }
.em-campo input::placeholder { color: var(--em-gris, #5B6470); opacity: 1; }
.em-campo input:focus { outline: 0; box-shadow: 0 0 0 2px var(--em-acento, #1F2328); }
.em-caja:focus { outline: 0; }
.em-enviar { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 14px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--em-acento, #1F2328); color: #fff;
  font: inherit; font-size: 18.7px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 22px -10px var(--em-acento, #1F2328); transition: filter .2s, transform .2s; }
.em-enviar::after { content: "→"; transition: transform .2s; }
.em-enviar:hover { filter: brightness(.93); transform: translateY(-1px); }
.em-enviar:hover::after { transform: translateX(-3px); }
.em-form.enviando .em-enviar { opacity: .6; pointer-events: none; }
/* Webs con prueba gratis (PIEZAS.prueba): el botón de la prueba es un enlace con el aspecto del de enviar y, debajo, un enlace
   pequeño que despliega el formulario */
.em-prueba[hidden], .em-form[hidden] { display: none; }
.em-prueba .em-enviar { margin-top: 18px; text-decoration: none; }
.em-otra { display: block; margin: 14px auto 0; padding: 6px 4px; border: 0; background: none; color: var(--em-txt, #1F2328); font: inherit; font-size: 15px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.em-otra:hover { text-decoration-thickness: 2px; }
.em-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; line-height: 1.4; color: var(--em-gris, #5B6470); cursor: pointer; }
.em-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--em-acento, #1F2328); }
.em-check a { color: var(--em-txt, #1F2328); font-weight: 700; }
.emergente .em-error { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: #C73A30; }
.emergente .em-error:empty { display: none; }
.em-trampa, .em-oculto { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
.em-ok { display: flex; gap: 14px; align-items: center; padding: 6px 0 2px; }
.em-ok[hidden] { display: none; }
.em-ok svg { width: 46px; height: 46px; padding: 10px; flex: none; border-radius: 50%; background: var(--em-acento, #1F2328); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.emergente .em-ok p { margin: 0; font-size: 15.5px; color: var(--em-gris, #5B6470); }
.em-ok b { color: var(--em-tinta, #1F2328); }
@media (prefers-reduced-motion: no-preference) {
  .emergente.visible .em-avion { animation: em-vuela 3.2s ease-in-out .3s infinite; }
  .emergente.visible .em-sobre { animation: em-flota 4s ease-in-out infinite; }
  @keyframes em-vuela { 0%, 100% { transform: translate(0, 0) rotate(8deg); } 50% { transform: translate(-10px, -8px) rotate(2deg); } }
  @keyframes em-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
}
@media (max-width: 520px) {
  .emergente { padding: 12px; }
  .em-caja { --em-alto: 130px; max-height: calc(100dvh - 24px); border-radius: 24px; }
  .em-sobre { width: 116px; }
  .em-avion { right: calc(50% + 58px); top: 30px; width: 36px; height: 36px; }
  .em-cuerpo { padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
  .emergente .em-titulo { font-size: 21px; }
  .em-campos { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .em-fondo, .em-caja { transition: none; } }
@media print { .emergente { display: none !important; } }
/* /comun:ventana */


/* Las secciones bajo el pliegue no se maquetan hasta que se acercan a la pantalla: la primera maquetación de toda la
   página costaba ~0,5 s de procesador en móvil y retrasaba el titular. */
/* Sin content-visibility: con él, los enlaces a una #sección caían mal (el navegador calculaba con alturas estimadas) */
main > .sec { content-visibility: visible; }
@media (max-width: 640px) { main > .sec { contain-intrinsic-size: auto 1500px; } } /* en el móvil (y con textos más largos en otros idiomas) las secciones miden más */

/* Redes sociales de Infonet (común a todas las webs) */
.redes { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.redes a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.redes a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.redes svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.redes li + li { margin-top: 0; }

/* Selector de idioma de la cabecera (lo pone .herramientas-comunes/idiomas/generar.js) */
.idioma-cab { position: relative; flex: none; margin: 0 4px; }
.idioma-cab summary { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(127, 127, 127, .35); color: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em; cursor: pointer; list-style: none; user-select: none; }
.idioma-cab summary::-webkit-details-marker { display: none; }
.idioma-cab summary:hover { border-color: currentColor; }
.idioma-cab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.idioma-cab ul { position: absolute; left: 0; top: calc(100% + 8px); z-index: 200; min-width: 172px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 21, 29, .1), 0 22px 44px -18px rgba(16, 21, 29, .45); text-align: right; }
.idioma-cab a { display: block; padding: 10px 12px; border-radius: 9px; color: #1B1D21; font-size: 15px; font-weight: 500; text-decoration: none; }
.idioma-cab a:hover { background: #F1F2F4; }
.idioma-cab a[aria-current] { font-weight: 700; }
/* idioma-cab: móvil v2 */
@media (max-width: 1020px) { .idioma-cab { margin-right: auto; margin-left: 8px; } .idioma-cab + * { margin-right: 0 !important; } .idioma-cab summary { min-height: 40px; padding: 0 10px; } }

/* Selector de idioma del pie (lo pone .herramientas-comunes/idiomas/generar.js) */
.idiomas { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: 0 auto; padding: 14px 16px 22px; font-size: 14px; line-height: 1.4; }
.idiomas a { padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.idiomas a:hover { text-decoration: underline; }
.idiomas a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
/* Cabecera oscura: el selector de idioma en claro */
.cab:not(.solida) .idioma-cab summary { color: #FFFFFF; border-color: rgba(255, 255, 255, .3); }

/* Márgenes uniformes: en cada cambio de color, el mismo hueco entre el borde y el contenido arriba y abajo (--sec) */
p:last-child { margin-bottom: 0; }
.pie { padding-top: var(--sec); }
.pie-grid { padding-bottom: var(--sec); }
.pie-grid li:last-child { margin-bottom: 0; }
.pie-legal { padding-block: 23px; }
.legal-hero { padding: calc(72px + var(--sec)) 0 var(--sec); }
.legal { padding-block: var(--sec); }
@media (max-width: 640px) { .legal-hero { padding-top: calc(72px + var(--sec)); } }
.sec-cab .antetitulo { margin-top: 0; }
.pie-legal { padding-block: 0; }
/* /márgenes uniformes */
/* idiomas: palabras largas */
html:not([lang="es"]) :is(h1, h2, h3) { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* idioma-cab: v3 */
.idioma-cab summary { min-height: var(--ic-alto, 42px); padding: 0 var(--ic-hueco, 14px); border-radius: var(--ic-radio, 999px); border-color: var(--ic-borde, rgba(127, 127, 127, .35)); background-color: var(--ic-fondo, transparent); font-size: var(--ic-letra, 14px); font-weight: var(--ic-peso, 700); }
.idioma-cab a { display: flex; align-items: center; gap: 11px; }
.idioma-cab a::before { content: ""; width: 22px; height: 15px; flex: none; border-radius: 3px; background: center / cover no-repeat; box-shadow: 0 0 0 1px rgba(16, 21, 29, .12); }
.idioma-cab a[hreflang="es"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%203%202%22%3E%3Cpath%20fill%3D%22%23AA151B%22%20d%3D%22M0%200h3v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23F1BF00%22%20d%3D%22M0%20.5h3v1H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-cab a[hreflang="en"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2030%22%3E%3CclipPath%20id%3D%22t%22%3E%3Cpath%20d%3D%22M30%2015h30v15zv15H0zH0V0zV0h30z%22%2F%3E%3C%2FclipPath%3E%3Cpath%20fill%3D%22%23012169%22%20d%3D%22M0%200h60v30H0z%22%2F%3E%3Cpath%20stroke%3D%22%23FFF%22%20stroke-width%3D%226%22%20d%3D%22M0%200l60%2030m0-30L0%2030%22%2F%3E%3Cpath%20stroke%3D%22%23C8102E%22%20stroke-width%3D%224%22%20clip-path%3D%22url(%23t)%22%20d%3D%22M0%200l60%2030m0-30L0%2030%22%2F%3E%3Cpath%20stroke%3D%22%23FFF%22%20stroke-width%3D%2210%22%20d%3D%22M30%200v30M0%2015h60%22%2F%3E%3Cpath%20stroke%3D%22%23C8102E%22%20stroke-width%3D%226%22%20d%3D%22M30%200v30M0%2015h60%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-cab a[hreflang="fr"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%203%202%22%3E%3Cpath%20fill%3D%22%23ED2939%22%20d%3D%22M0%200h3v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M0%200h2v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23002395%22%20d%3D%22M0%200h1v2H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-cab a[hreflang="pt"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2020%22%3E%3Cpath%20fill%3D%22%23DA291C%22%20d%3D%22M0%200h30v20H0z%22%2F%3E%3Cpath%20fill%3D%22%23046A38%22%20d%3D%22M0%200h12v20H0z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%224.2%22%20fill%3D%22%23FFE900%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.6%22%20fill%3D%22%23DA291C%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-cab a[hreflang="de"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%205%203%22%3E%3Cpath%20fill%3D%22%23FFCE00%22%20d%3D%22M0%200h5v3H0z%22%2F%3E%3Cpath%20fill%3D%22%23DD0000%22%20d%3D%22M0%200h5v2H0z%22%2F%3E%3Cpath%20d%3D%22M0%200h5v1H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-cab a[hreflang="it"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%203%202%22%3E%3Cpath%20fill%3D%22%23CE2B37%22%20d%3D%22M0%200h3v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M0%200h2v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23009246%22%20d%3D%22M0%200h1v2H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-cab a[hreflang="ar"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2020%22%3E%3Cpath%20fill%3D%22%230B6B3A%22%20d%3D%22M0%200h30v20H0z%22%2F%3E%3Ctext%20x%3D%2215%22%20y%3D%2215.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22Segoe%20UI%2CTahoma%2CArial%2Csans-serif%22%20font-size%3D%2215%22%20font-weight%3D%22700%22%20fill%3D%22%23FFF%22%3E%D8%B9%3C%2Ftext%3E%3C%2Fsvg%3E"); }
@media (max-width: 1020px) { .idioma-cab summary { min-height: var(--ic-alto-m, var(--ic-alto, 40px)); border-radius: var(--ic-radio-m, var(--ic-radio, 999px)); } }
@media (min-width: 1021px) { .idioma-cab { margin-right: var(--ic-ml, 4px); margin-left: var(--ic-mr, 4px); } }
@media (max-width: 1020px) { .idioma-cab { margin-left: var(--ic-mr-m, 8px); } }
.idioma-cab { --ic-alto: 44px; --ic-radio: 12px; --ic-letra: 15px; --ic-alto-m: 44px; --ic-ml: 0px; }
/* /idioma-cab: v3 */
/* idioma-pie: v1 */
.idioma-pie-li { list-style: none; }
.idioma-pie { position: relative; display: inline-block; }
.idioma-pie summary { display: inline-flex; align-items: center; gap: 6px; color: inherit; font: inherit; cursor: pointer; list-style: none; user-select: none; }
.idioma-pie summary::-webkit-details-marker { display: none; }
.idioma-pie summary::after { content: ""; width: 5px; height: 5px; margin-right: 2px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(2px) rotate(135deg); }
.idioma-pie summary:hover span { text-decoration: underline; text-underline-offset: 3px; }
.idioma-pie svg { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
.idioma-pie > ul { position: absolute; right: 0; left: auto; bottom: calc(100% + 10px); z-index: 200; display: block !important; min-width: 180px; margin: 0 !important; padding: 6px !important; list-style: none; border-radius: 14px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(16, 21, 29, .1), 0 22px 44px -18px rgba(16, 21, 29, .45); text-align: right; }
.idioma-pie > ul > li { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.idioma-pie > ul > li::before, .idioma-pie > ul > li::after { content: none !important; }
.idioma-pie a { display: flex !important; align-items: center; gap: 11px; padding: 10px 12px !important; border-radius: 9px; color: #1B1D21 !important; background: none; font-family: inherit; font-size: 15px !important; font-weight: 500; line-height: 1.2; letter-spacing: normal; text-transform: none; text-decoration: none !important; white-space: nowrap; }
.idioma-pie a:hover { background: #F1F2F4; }
.idioma-pie a[aria-current] { font-weight: 700; }
.idioma-pie a::before { content: ""; width: 22px; height: 15px; flex: none; border-radius: 3px; background: center / cover no-repeat; box-shadow: 0 0 0 1px rgba(16, 21, 29, .12); }
.idioma-pie a[hreflang="es"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%203%202%22%3E%3Cpath%20fill%3D%22%23AA151B%22%20d%3D%22M0%200h3v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23F1BF00%22%20d%3D%22M0%20.5h3v1H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-pie a[hreflang="en"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2030%22%3E%3CclipPath%20id%3D%22t%22%3E%3Cpath%20d%3D%22M30%2015h30v15zv15H0zH0V0zV0h30z%22%2F%3E%3C%2FclipPath%3E%3Cpath%20fill%3D%22%23012169%22%20d%3D%22M0%200h60v30H0z%22%2F%3E%3Cpath%20stroke%3D%22%23FFF%22%20stroke-width%3D%226%22%20d%3D%22M0%200l60%2030m0-30L0%2030%22%2F%3E%3Cpath%20stroke%3D%22%23C8102E%22%20stroke-width%3D%224%22%20clip-path%3D%22url(%23t)%22%20d%3D%22M0%200l60%2030m0-30L0%2030%22%2F%3E%3Cpath%20stroke%3D%22%23FFF%22%20stroke-width%3D%2210%22%20d%3D%22M30%200v30M0%2015h60%22%2F%3E%3Cpath%20stroke%3D%22%23C8102E%22%20stroke-width%3D%226%22%20d%3D%22M30%200v30M0%2015h60%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-pie a[hreflang="fr"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%203%202%22%3E%3Cpath%20fill%3D%22%23ED2939%22%20d%3D%22M0%200h3v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M0%200h2v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23002395%22%20d%3D%22M0%200h1v2H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-pie a[hreflang="pt"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2020%22%3E%3Cpath%20fill%3D%22%23DA291C%22%20d%3D%22M0%200h30v20H0z%22%2F%3E%3Cpath%20fill%3D%22%23046A38%22%20d%3D%22M0%200h12v20H0z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%224.2%22%20fill%3D%22%23FFE900%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.6%22%20fill%3D%22%23DA291C%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-pie a[hreflang="de"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%205%203%22%3E%3Cpath%20fill%3D%22%23FFCE00%22%20d%3D%22M0%200h5v3H0z%22%2F%3E%3Cpath%20fill%3D%22%23DD0000%22%20d%3D%22M0%200h5v2H0z%22%2F%3E%3Cpath%20d%3D%22M0%200h5v1H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-pie a[hreflang="it"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%203%202%22%3E%3Cpath%20fill%3D%22%23CE2B37%22%20d%3D%22M0%200h3v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23FFF%22%20d%3D%22M0%200h2v2H0z%22%2F%3E%3Cpath%20fill%3D%22%23009246%22%20d%3D%22M0%200h1v2H0z%22%2F%3E%3C%2Fsvg%3E"); }
.idioma-pie a[hreflang="ar"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2030%2020%22%3E%3Cpath%20fill%3D%22%230B6B3A%22%20d%3D%22M0%200h30v20H0z%22%2F%3E%3Ctext%20x%3D%2215%22%20y%3D%2215.5%22%20text-anchor%3D%22middle%22%20font-family%3D%22Segoe%20UI%2CTahoma%2CArial%2Csans-serif%22%20font-size%3D%2215%22%20font-weight%3D%22700%22%20fill%3D%22%23FFF%22%3E%D8%B9%3C%2Ftext%3E%3C%2Fsvg%3E"); }
@media (min-width: 761px) { .idioma-pie > ul { right: auto; left: 0; } }
/* /idioma-pie: v1 */
/* Móvil: la barra fija de abajo (Solicitar demostración) no tapa la línea legal al llegar al final */
@media (max-width: 720px) { .pie-legal { padding-bottom: calc(78px + env(safe-area-inset-bottom)); } }

/* ===================== Páginas para buscadores (.seo/paginas/generar.js) ===================== */
/* Solo clases nuevas con las variables de la web: la portada no cambia */
.migas { flex-wrap: wrap; gap: 8px; }
.migas a { color: #C6D0EA; text-decoration: none; }
.migas a:hover { color: var(--amarillo); }
.migas span[aria-current] { color: #fff; }
.pag-dos { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.pag-dos figure { margin: 0; }
.pag-dos .sec-cab { margin-bottom: 22px; }
.pag-estrecho { max-width: 860px; }
.pag-estrecho .sec-cab { margin-bottom: 22px; }
.pag-texto p, .pag-texto li { font-size: 17.5px; }
.pag-texto p + p, .pag-texto p + ul, .pag-texto ul + p { margin-top: 12px; }
.pag-texto ul { display: grid; gap: 10px; }
.pag-texto ul li { position: relative; padding-right: 24px; }
.pag-texto ul li::before { content: ""; position: absolute; right: 0; top: .6em; width: 9px; height: 9px; border-radius: 3px; background: var(--amarillo); }
.pag-texto a, .pag-enlace { color: var(--azul); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pag-texto b { color: var(--tinta); font-weight: 700; }
.pag-bloques { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pag-bloque { padding: 28px; border-radius: var(--r-l); background: #fff; box-shadow: inset 0 0 0 1px var(--linea); }
.pag-bloque h3 { margin-bottom: 10px; }
.pag-centro { justify-content: center; }
.pag-bloques.tres { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1020px) { .pag-dos, .pag-bloques, .pag-bloques.tres { grid-template-columns: 1fr; } }
.pag-final { margin-bottom: 0; }
/* Llamada corta a mitad de las páginas con más impresiones (paginas-seo-textos.js, 05/11/2026): caja marino con una frase y el botón */
.sec.pag-pegada { padding-top: 0; }
.pag-llamada { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 3vw, 34px) clamp(22px, 3.5vw, 42px); border-radius: var(--r-l); background: var(--marino); }
.pag-llamada p { flex: 1 1 420px; margin: 0; color: #DCE3F5; font-size: 18px; line-height: 1.55; }
.pag-llamada b { color: #fff; }
.pag-llamada p a { color: var(--amarillo-cl); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pag-llamada p a:hover { color: #fff; }
@media (max-width: 720px) { .pag-llamada .btn { width: 100%; } }

/* ---------- Soluciones de Infonet (pieza común soluciones/, 17/11/2026): lo propio de CargoGest ---------- */
/* Pie: los colores del pie de CargoGest (títulos en blanco, texto azul grisáceo, amarillo de la marca como acento) */
.pie { --sol-pie-titulo: #fff; --sol-pie-tenue: #9DAAD2; --sol-pie-acento: var(--amarillo); --sol-pie-linea: rgba(255, 255, 255, .08); }
.pie .sol-pie-t { margin-bottom: 22px; }
.pie .sol-pie-fam li + li { margin-top: 0; }
.sol-pie-fam a:hover b { color: var(--amarillo); }
.sol-panel { --sol-acento: var(--azul-2); font-family: var(--cuerpo); }
.sol-ft b, .sol-cab-t b { font-family: var(--titulos); }
/* Cabecera en PC: con el botón, la columna de las acciones no cabía en su tercio (1fr auto 1fr) y se salía por la derecha
   entre 1021 y 1365 px: ahora cada lado mide al menos lo que ocupa (el menú sigue centrado cuando hay sitio) y el teléfono
   sale solo cuando cabe todo (también en francés, con los textos más largos) */
@media (min-width: 1021px) { .cab .ancho { grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); } }
@media (max-width: 1439px) { .cab-tel { display: none; } }
/* Cabecera en el móvil: el idioma, el botón de soluciones y el menú caben sin salirse (360-414 px); «Menú» se queda en
   el icono (el texto sigue siendo su nombre accesible) */
@media (max-width: 720px) {
  .cab .ancho { gap: 10px; }
  .cab-acciones { gap: 6px; }
  .idioma-cab { margin-left: 0; }
  .idioma-cab summary { padding: 0 10px; }
  .sol-cab summary { justify-content: center; width: var(--ic-alto-m); padding: 0; }
}
@media (max-width: 480px) {
  .cab-menu { justify-content: center; width: 44px; padding: 0; font-size: 0; }
  .cab-menu svg { width: 20px; height: 20px; }
}
@media (max-width: 400px) {
  .idioma-cab:not(.sol-cab) summary { padding: 0 12px; }
  .idioma-cab:not(.sol-cab) summary svg { display: none; }
}

/* RTL: lo común (.herramientas-comunes/idiomas/generar.js) */
[dir="rtl"] * { letter-spacing: 0 !important; } [dir="rtl"] :is(input[type="tel"], input[type="email"], input[type="url"]) { direction: ltr; text-align: right; } [dir="rtl"] :is(code, kbd, samp, pre) { direction: ltr; unicode-bidi: isolate; }
