/*
 * DeCa · Sistema visual de la landing.
 * Orden: variables, base, cabecera, hero, vista de producto, secciones,
 * formulario, documento de ejemplo, animaciones y adaptación responsive.
 */

:root {
  --navy-950: #061b2e;
  --navy-900: #08263f;
  --navy-800: #123c5d;
  --orange: #ff5416;
  --orange-dark: #df4109;
  --orange-soft: #fff1e9;
  --ink: #102c43;
  --slate: #5d6e7d;
  --line: #e1e8ee;
  --surface: #fff;
  --surface-soft: #f3f6f8;
  --container: 1360px;
  --header-height: 90px;
  --radius: 22px;
  --shadow: 0 20px 55px rgb(6 27 46 / 8%);
}

/* Base y controles compartidos. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.dialog-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
::selection { color: #fff; background: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.container { width: min(calc(100% - 96px), var(--container)); margin-inline: auto; }
.section { padding-block: 110px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--orange-dark);
  transform: translateY(-170%);
}
.skip-link:focus { transform: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { margin-bottom: 25px; font-size: clamp(3.3rem, 4.7vw, 4.85rem); font-weight: 720; }
h2 { margin-bottom: 24px; font-size: clamp(2.35rem, 3.4vw, 3.65rem); font-weight: 720; }
h3 { font-size: 1.65rem; font-weight: 700; }
h1 em, h2 em {
  color: var(--orange); font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; letter-spacing: -.045em;
}
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  color: #c0d2df; font-size: .75rem; font-weight: 700;
  letter-spacing: .115em; text-transform: uppercase;
}
.eyebrow > span { width: 24px; height: 2px; flex-shrink: 0; background: var(--orange); }
.eyebrow.dark { color: var(--navy-800); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 55px; padding: 0 25px; border: 1px solid transparent; border-radius: 10px;
  font-size: .95rem; font-weight: 650; line-height: 1.25;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 10px 28px rgb(255 84 22 / 20%); }
.button-primary:hover { background: var(--orange-dark); box-shadow: 0 14px 30px rgb(255 84 22 / 30%); }
.button-ghost { color: #fff; background: rgb(255 255 255 / 3%); border-color: rgb(255 255 255 / 24%); }
.button-ghost:hover { background: rgb(255 255 255 / 9%); border-color: rgb(255 255 255 / 55%); }
.button-small { min-height: 44px; padding-inline: 20px; font-size: .875rem; }

/*
 * El PNG original contiene fondo oscuro y márgenes amplios.
 * Se encuadra la zona del logotipo sin deformarlo. El filtro SVG convierte
 * su fondo oscuro en transparencia al renderizar y mantiene sus colores.
 * El recurso oficial permanece intacto; no hay una versión redibujada.
 */
.brand { display: block; flex-shrink: 0; }
.brand-filter-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.brand-image-frame {
  display: block; position: relative; width: 280px; aspect-ratio: 7.8;
  overflow: hidden;
}
.brand-image-frame img {
  position: absolute; top: 50%; left: -7%; width: 116%; max-width: none; height: auto;
  filter: url(#brand-remove-background); transform: translateY(-50%);
  transition: filter 200ms ease;
}
.brand:hover img { filter: url(#brand-remove-background) brightness(1.1); }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-height);
  border-bottom: 1px solid rgb(255 255 255 / 9%); background: rgb(6 27 46 / 87%);
  backdrop-filter: blur(18px); transition: background 250ms ease, box-shadow 250ms ease;
}
.site-header.scrolled { background: rgb(6 27 46 / 96%); box-shadow: 0 5px 25px rgb(0 12 24 / 15%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 35px; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav > a:not(.button) {
  position: relative; padding-block: 8px; color: #c4d3df; font-size: .875rem; font-weight: 600;
  transition: color 180ms ease;
}
.main-nav > a:not(.button)::after {
  position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--orange);
  content: ""; transform: scaleX(0); transform-origin: left; transition: transform 220ms ease;
}
.main-nav > a:not(.button):hover { color: #fff; }
.main-nav > a:not(.button):hover::after { transform: scaleX(1); }
.menu-toggle {
  display: none; width: 45px; height: 45px; padding: 10px;
  border: 1px solid rgb(255 255 255 / 25%); border-radius: 10px; background: transparent;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform 200ms ease, opacity 200ms ease; }

/* Hero: columnas estables, titular breve y una composición de documentación. */
.hero {
  position: relative; padding-top: var(--header-height); overflow: clip; color: #fff;
  background:
    radial-gradient(ellipse at 84% 35%, rgb(22 83 119 / 35%), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgb(255 84 22 / 9%), transparent 45%),
    var(--navy-950);
}
.hero::before {
  position: absolute; inset: 0; opacity: .3; content: "";
  background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: linear-gradient(to right, transparent, #000);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center; gap: 65px; min-height: 650px; padding-block: 55px 65px;
}
.hero-copy, .hero-visual { min-width: 0; }
.hero-copy h1 span, .hero-copy h1 em { display: block; }
.hero-copy h1 em { padding-block: 7px; }
.hero-lead { max-width: 550px; margin-bottom: 32px; color: #b8cbd9; font-size: 1.125rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 14px 23px; margin: 31px 0 0; padding: 0;
  color: #a6bece; font-size: .8125rem; list-style: none;
}
.hero-points li { display: flex; align-items: center; gap: 7px; }
.check { color: var(--orange); font-size: .95rem; }
.hero-visual { position: relative; }
.preview-caption {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  color: #a6becf; font-size: .8125rem; font-weight: 500;
}
.preview-caption > span { width: 20px; height: 2px; background: var(--orange); }
.document-stage { position: relative; height: 560px; isolation: isolate; }
.document-halo {
  position: absolute; top: 4%; left: 5%; width: 85%; aspect-ratio: 1;
  border: 1px solid rgb(143 193 226 / 14%); border-radius: 50%;
  background: radial-gradient(circle, rgb(29 94 132 / 27%), transparent 65%);
  box-shadow: 0 0 0 30px rgb(138 184 216 / 3%);
}
.paper-lift { position: absolute; top: 17px; left: 12%; width: 340px; animation: float 7s ease-in-out infinite; }
.document-paper {
  padding: 28px; border: 1px solid #fff; border-radius: 5px 20px 5px 5px;
  color: var(--ink); background: linear-gradient(135deg, #fff 65%, #f0f4f7);
  box-shadow: -14px 17px 0 -4px rgb(146 185 209 / 13%), 0 28px 70px rgb(0 10 23 / 32%);
  transform: rotate(-7deg); transition: transform 450ms ease, box-shadow 450ms ease;
}
.document-stage:hover .document-paper { transform: rotate(-3deg) translateY(-4px); box-shadow: -10px 14px 0 -4px rgb(146 185 209 / 18%), 0 35px 75px rgb(0 10 23 / 40%); }
.paper-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 2px solid var(--orange); }
.paper-brand { display: block; position: relative; width: 165px; aspect-ratio: 7.5; overflow: hidden; }
.paper-brand img { position: absolute; top: 62%; left: -6%; width: 112%; max-width: none; height: auto; transform: translateY(-50%); mix-blend-mode: multiply; }
.paper-format { color: var(--orange-dark); font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.paper-overline { margin: 22px 0 7px; color: #6e8495; font-size: .625rem; font-weight: 600; letter-spacing: .08em; }
.document-paper h2 { margin-bottom: 0; font-size: 1.5rem; letter-spacing: -.035em; }
.preview-tabs { display: flex; gap: 20px; margin-top: 14px; border-bottom: 1px solid #dee6ec; }
.preview-tab { position: relative; padding: 9px 0; border: 0; color: #667d8d; background: transparent; font-size: .8125rem; font-weight: 600; transition: color 180ms ease; }
.preview-tab:hover, .preview-tab[aria-selected="true"] { color: var(--orange-dark); }
.preview-tab[aria-selected="true"]::after { position: absolute; inset: auto 0 -1px; height: 2px; background: var(--orange); content: ""; }
[data-preview-panel] { min-height: 181px; }
.paper-route { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 22px 20px; }
.route-endpoint small { display: block; color: #8092a0; font-size: .625rem; letter-spacing: .06em; }
.route-endpoint strong { display: block; font-size: 1rem; font-weight: 650; }
.route-connection { position: relative; width: 55px; flex-shrink: 0; height: 1px; background: #c7d5df; }
.route-connection i { position: absolute; top: -3px; width: 7px; height: 7px; border: 1px solid #ed8050; border-radius: 50%; background: #fff; }
.route-connection i:first-child { left: 0; }
.route-connection i:last-child { right: 0; background: var(--orange); }
.paper-details { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding-top: 13px; border-top: 1px solid #e3eaf0; }
.paper-details dt { color: #718695; font-size: .75rem; }
.paper-details dd { margin: 4px 0 0; font-size: .8125rem; }
.paper-status { padding: 3px 7px; border-radius: 5px; color: #326951; background: #eaf4ef; font-size: .6875rem; font-weight: 600; }
.paper-description { margin: 16px 0 0; color: #708695; font-size: .75rem; line-height: 1.65; }
.paper-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding-top: 15px; border-top: 1px solid #e0e8ee; }
.paper-footer > span { color: #738795; font-size: .625rem; }
.paper-footer button { flex-shrink: 0; padding: 4px 0; border: 0; color: var(--orange-dark); background: transparent; font-size: .75rem; font-weight: 650; }
.paper-footer button:hover { text-decoration: underline; }
.paper-cloud { padding-top: 19px; }
.paper-cloud > span { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 12px; border-radius: 11px; color: var(--orange-dark); background: var(--orange-soft); }
.paper-cloud svg { width: 24px; }
.paper-cloud h3 { margin-bottom: 9px; font-size: 1.0625rem; letter-spacing: -.02em; }
.paper-cloud p { margin-bottom: 0; color: #6b8293; font-size: .8125rem; }
.cloud-badge {
  position: absolute; z-index: 2; top: 12px; right: -6px; display: flex; align-items: center; gap: 11px;
  padding: 15px 18px; border: 1px solid rgb(168 207 232 / 25%); border-radius: 12px;
  color: #fff; background: rgb(24 58 83 / 94%); box-shadow: 0 15px 35px rgb(0 12 24 / 18%);
  animation: float 6s -2s ease-in-out infinite;
}
.cloud-badge > span { color: var(--orange); }
.cloud-badge svg { width: 26px; }
.cloud-badge strong { display: block; font-size: .8125rem; font-weight: 600; }
.cloud-badge div > span { display: block; color: #a9c1d1; font-size: .6875rem; }
.qr-pass {
  position: absolute; z-index: 2; right: 3px; top: 180px; width: 180px; padding: 23px;
  border: 1px solid rgb(255 255 255 / 25%); border-radius: 16px; color: #fff;
  background: linear-gradient(145deg, #1a4869, #102f49); box-shadow: 0 22px 50px rgb(0 12 24 / 28%);
  transform: rotate(7deg); transition: transform 350ms ease;
}
.document-stage:hover .qr-pass { transform: rotate(3deg) translateY(-4px); }
.qr-pass-icon { display: grid; place-items: center; width: 112px; height: 112px; margin-bottom: 14px; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: #fff; transition: box-shadow 200ms ease; }
.qr-pass-icon:hover { box-shadow: 0 0 0 3px rgb(255 177 140 / 65%); }
.qr-pass-icon img { width: 100%; height: 100%; }
.qr-pass p { margin-bottom: 6px; color: #ffb18c; font-size: .5625rem; font-weight: 650; letter-spacing: .09em; }
.qr-pass h3 { margin-bottom: 8px; font-size: 1.2rem; letter-spacing: -.025em; line-height: 1.25; }
.qr-pass-label { color: #a9c5d8; font-size: .75rem; }
.stage-note { position: absolute; bottom: 0; left: 12%; display: flex; align-items: center; gap: 9px; color: #a0bbcd; font-size: .75rem; }
.stage-note i { width: 16px; height: 2px; background: var(--orange); }

/* Carretera: el PNG del camión viaja sobre líneas geométricas del asfalto. */
.travel-scene { position: relative; height: 153px; overflow: hidden; border-top: 1px solid rgb(255 255 255 / 9%); background: linear-gradient(#061b2e, #092239); }
.travel-heading { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 13px; }
.travel-heading p { display: flex; align-items: center; gap: 10px; margin: 0; color: #9fb9cc; font-size: .75rem; letter-spacing: .035em; }
.travel-heading p > span { width: 19px; height: 2px; flex-shrink: 0; background: var(--orange); }
.travel-toggle { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgb(255 255 255 / 17%); border-radius: 8px; color: #a9c2d4; background: transparent; transition: border-color 180ms ease, color 180ms ease; }
.travel-toggle:hover { border-color: var(--orange); color: var(--orange); }
.travel-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.travel-toggle .play-icon { display: none; }
.travel-toggle[aria-pressed="true"] .pause-icon { display: none; }
.travel-toggle[aria-pressed="true"] .play-icon { display: block; }
.travel-road { position: absolute; right: 0; bottom: 0; left: 0; height: 117px; }
.road-edge { position: absolute; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgb(120 173 208 / 22%), transparent); }
.road-edge-top { bottom: 56px; }
.road-edge-bottom { bottom: 12px; }
.road-markings { position: absolute; bottom: 30px; left: -150px; width: calc(100% + 300px); height: 2px; background: repeating-linear-gradient(90deg, rgb(156 188 211 / 32%) 0 46px, transparent 46px 120px); animation: road-flow 1.9s linear infinite; }
.travel-truck { position: absolute; bottom: -3px; left: 0; width: 285px; will-change: transform; animation: truck-travel 24s -10s linear infinite; }
.truck-body { position: relative; animation: truck-suspension .65s ease-in-out infinite; filter: drop-shadow(0 7px 5px rgb(0 7 16 / 35%)); }
.truck-body > img { width: 100%; height: auto; }
.truck-brand.brand-image-frame { position: absolute; top: 32%; left: 21%; width: 36%; opacity: .9; }
/* Recorte circular de las llantas del PNG para darles giro sin redibujar el camión. */
.truck-wheel {
  position: absolute; top: 69.638%; left: var(--wheel-left); width: 5.413%; aspect-ratio: 1;
  border-radius: 50%; background-image: url("/imagenes/camion-animado.png");
  background-size: 1847.273% auto; background-position: var(--wheel-crop) 81.175%;
  animation: wheel-spin .9s linear infinite;
}
.travel-scene[data-paused="true"] *, .travel-scene.is-offscreen * { animation-play-state: paused; }
.travel-scene:hover .truck-body { filter: drop-shadow(0 7px 7px rgb(255 84 22 / 16%)); }

/* Iconos de interfaz con el mismo grosor y estilo. */
.paper-cloud svg, .cloud-badge svg,
.photo-tag svg, .dialog-close svg {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* Ventajas: dos tarjetas claras y un resumen, sin vistas de mensajes ni fondos oscuros. */
.benefits { background: #fff; }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 80px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 350px; margin-bottom: 7px; color: var(--slate); font-size: 1.0625rem; line-height: 1.75; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.benefit-card { min-width: 0; padding: 32px; border: 1px solid #e2e8ed; border-radius: 22px; background: #f6f8fa; }
.benefits-grid > .benefit-card { transition: border-color 220ms ease, box-shadow 220ms ease, opacity 650ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1); }
.benefit-card h3 { margin: 0 0 13px; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.025em; }
.benefit-card p { margin-bottom: 0; color: var(--slate); font-size: 1.0625rem; line-height: 1.7; }
.calendar-feature { display: grid; align-items: center; }
.calendar-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 26px; }

/* Tres fechas de ejemplo sustituyen a la cuadrícula y sus detalles secundarios. */
.calendar-preview { justify-self: end; width: 100%; max-width: 300px; min-width: 0; }
.calendar-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.calendar-preview-heading > strong { font-size: 1rem; letter-spacing: -.025em; }
.calendar-preview-heading strong span { color: #627787; font-weight: 450; }
.calendar-preview-heading > span { color: #637889; font-size: .8125rem; }
.calendar-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.calendar-day { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; min-width: 0; min-height: 76px; padding: 9px 4px; border: 1px solid #dce5ec; border-radius: 11px; color: #536d81; background: #fff; transition: border-color 180ms ease, background 180ms ease; }
.calendar-day > span { font-size: .75rem; font-weight: 600; }
.calendar-day > strong { font-size: 1.5rem; font-weight: 650; line-height: 1.3; }
.calendar-day.is-selected { border-color: #ce4311; color: #fff; background: #ce4311; }
.calendar-agenda { margin-top: 16px; padding-top: 12px; border-top: 1px solid #dce5ec; }
.calendar-agenda strong { color: #29475e; font-size: .9375rem; font-weight: 600; }

/* Correo y WhatsApp se explican con dos identificadores, no con conversaciones ficticias. */
.sharing-feature { display: flex; flex-direction: column; justify-content: center; background: #fff8f3; border-color: #eedfd4; }
.sharing-channels { display: flex; align-items: start; gap: 34px; margin: 25px 0 0; padding: 0; list-style: none; }
.sharing-channels li { display: flex; align-items: center; gap: 12px; color: #26465e; font-size: 1.0625rem; font-weight: 600; }
.sharing-channel-icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border: 1px solid #efdfd3; border-radius: 50%; color: #c74b1b; background: #fff; transition: border-color 220ms ease; }
.sharing-channel-icon svg { width: 24px; }
.sharing-channels li:last-child .sharing-channel-icon { border-color: #d5e7db; color: #28754d; background: #f1f8f3; }
.sharing-channel-icon svg, .benefits-summary-item > svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Los mensajes de nube, QR y facilidad de uso se conservan en una sola franja. */
.benefits-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.benefits-summary-item { display: flex; align-items: start; gap: 13px; min-width: 0; }
.benefits-summary-item > svg { flex: 0 0 23px; width: 23px; margin-top: 2px; color: #52738a; }
.benefits-summary-item p { margin-bottom: 5px; color: #29475e; font-size: 1rem; font-weight: 600; line-height: 1.6; }
.benefits-summary-item div > span { color: var(--slate); font-size: .9375rem; }
.benefit-text-button { min-height: 36px; padding: 4px 0; border: 0; border-bottom: 1px solid #efb89a; color: #b83e11; background: transparent; font-size: .875rem; font-weight: 600; text-align: left; transition: color 180ms ease, border-color 180ms ease; }
.benefit-text-button > span { margin-left: 5px; }
.benefit-text-button:hover { border-color: #b83e11; color: #8f300c; }
@media (hover: hover) {
  .benefit-card:hover { border-color: #e4b99f; box-shadow: 0 8px 22px rgb(8 38 63 / 4%); }
  .calendar-day:not(.is-selected):hover { border-color: #e5a17b; background: #fff2e9; }
  .sharing-feature:hover .sharing-channel-icon { border-color: #e5b693; }
}

/* Cómo funciona: rutas luminosas de fondo, tres pasos claros y movimiento controlable. */
.process { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); overflow: clip; }
.process::before { position: absolute; inset: 0; content: ""; pointer-events: none; background: radial-gradient(ellipse at 0% 100%, rgb(24 74 107 / 35%), transparent 60%); }
.process-ambient { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.process-ambient-grid { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgb(117 170 199 / 15%) 1px, transparent 1px), linear-gradient(90deg, rgb(117 170 199 / 15%) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(135deg, #000, transparent 65%); }
.process-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; opacity: .6; }
.process-glow-blue { top: -250px; left: -220px; background: radial-gradient(circle, rgb(36 111 155 / 33%), transparent 68%); }
.process-glow-orange { right: -270px; bottom: -330px; background: radial-gradient(circle, rgb(255 84 22 / 18%), transparent 65%); }
.process-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-route-lines { stroke: #6b9db9; stroke-width: 1; opacity: .13; }
.process-route-lights { stroke: var(--orange); stroke-width: 2; stroke-linecap: round; opacity: .5; }
.process-route-lights path { stroke-dasharray: 18 982; stroke-dashoffset: 0; }
.process-route-lights path:nth-child(2) { stroke: #6fb6d8; }
.process-route-nodes { fill: #061b2e; stroke: #6396b2; stroke-width: 1; opacity: .45; }
/* Los bucles solo empiezan cuando el control accesible está preparado. */
.process[data-motion-ready] .process-route-lights path { animation: process-route-flow 22s linear infinite; }
.process[data-motion-ready] .process-route-lights path:nth-child(2) { animation-duration: 28s; animation-delay: -10s; }
.process[data-motion-ready] .process-route-lights path:nth-child(3) { animation-duration: 25s; animation-delay: -16s; }
.process[data-motion-ready] .process-glow { animation: process-glow-drift 16s ease-in-out infinite alternate; }
.process[data-motion-ready] .process-glow-orange { animation-delay: -8s; }
.process[data-paused="true"] .process-route-lights path, .process.is-offscreen .process-route-lights path,
.process[data-paused="true"] .process-glow, .process.is-offscreen .process-glow { animation-play-state: paused; }
.process-content { position: relative; z-index: 1; }
.process-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 80px; margin-bottom: 42px; }
.process-heading h2 { margin-bottom: 0; }
.process-heading-copy { max-width: 410px; justify-self: end; padding-bottom: 6px; }
.process-heading-copy p { margin-bottom: 22px; color: #acc3d3; font-size: 1.0625rem; }
.process-heading-copy .text-link > span { display: inline-block; margin-left: 10px; }

/* Tarjetas y vistas independientes: no se crean datos reales. */
.process-stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; padding: 0; list-style: none; }
.process-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid #294459; border-radius: 22px; background: linear-gradient(145deg, #112f46, #0b2235); box-shadow: 0 16px 38px rgb(0 11 20 / 12%); }
.process-stages > .process-card { transition: border-color 250ms ease, box-shadow 250ms ease, opacity 650ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1); }
.process-create { border-color: #98634d; background: linear-gradient(145deg, #20323e, #10293d 65%); }
.process-card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 23px; color: #adc1cf; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.process-step-number { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border: 1px solid #39536a; border-radius: 11px; color: #fff; background: #19384f; font-size: .8125rem; font-weight: 650; letter-spacing: .015em; }
.process-create .process-step-number { border-color: var(--orange); color: #fff; background: var(--orange); box-shadow: 0 5px 18px rgb(255 84 22 / 20%); }
.process-card-scene { position: relative; display: grid; place-items: center; height: 222px; min-width: 0; margin-bottom: 28px; border: 1px solid rgb(128 164 190 / 12%); border-radius: 15px; background: radial-gradient(ellipse at 50% 65%, #294e67, transparent 80%), #0c2335; }
.process-card-copy { display: flex; flex: 1; flex-direction: column; }
.process-card h3 { margin-bottom: 13px; font-size: 1.6rem; letter-spacing: -.04em; line-height: 1.2; }
.process-card p { margin-bottom: 18px; color: #b2c7d6; font-size: .9375rem; line-height: 1.75; }
.process-card-note { margin-top: auto; color: #8fabbe; font-size: .6875rem; }
.process-create .process-card-note { color: #e9ab92; }
.process-connector { position: absolute; top: 162px; right: -29px; z-index: 2; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #486276; border-radius: 50%; color: #d0dee8; background: #0b2235; }
.process-connector svg { width: 17px; }
.process-card svg, .process-validity svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Primer paso: los tres tipos de contactos, preparados para usarlos. */
.process-contacts-demo { width: calc(100% - 30px); max-width: 290px; overflow: hidden; border: 1px solid #d1dfe8; border-radius: 10px; color: var(--ink); background: #f8fafc; box-shadow: 0 10px 25px rgb(0 13 24 / 25%); transition: transform 250ms ease; }
.process-demo-toolbar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #e1e8ed; color: #617787; background: #eaf0f5; font-size: .5625rem; }
.process-demo-dots { display: flex; gap: 3px; }
.process-demo-dots i { width: 4px; height: 4px; border-radius: 50%; background: #9badba; }
.process-demo-plus { margin-left: auto; color: var(--orange-dark); font-size: .875rem; line-height: 1; }
.process-contact-row { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 8px 12px; border-bottom: 1px solid #e6edf2; }
.process-contact-row:last-child { border: 0; }
.process-contact-avatar { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 7px; color: #335873; background: #e4edf4; font-size: .625rem; font-weight: 700; }
.process-contact-row:nth-child(3) .process-contact-avatar { color: #aa491d; background: #ffeadf; }
.process-contact-row:nth-child(4) .process-contact-avatar { color: #427561; background: #e5f0e9; }
.process-contact-row div { display: flex; flex-direction: column; }
.process-contact-row strong { font-size: .6875rem; font-weight: 650; line-height: 1.3; }
.process-contact-row div > span { margin-top: 2px; color: #768a9a; font-size: .5rem; }
.process-contact-check { display: grid; place-items: center; width: 17px; height: 17px; margin-left: auto; border-radius: 50%; color: #277651; background: #e6f3eb; font-size: .625rem; }

/* Segundo paso: documento ilustrativo y confirmación de disponibilidad. */
.process-document-demo { width: calc(100% - 34px); max-width: 292px; margin-top: -18px; padding: 15px; border: 1px solid #e2e8ed; border-radius: 10px; color: var(--ink); background: #fcfdfe; box-shadow: 0 12px 26px rgb(0 13 24 / 20%); transition: transform 250ms ease; }
.process-document-header { display: flex; align-items: center; gap: 7px; margin-bottom: 11px; color: #8496a4; font-size: .4375rem; letter-spacing: .03em; }
.process-document-icon { display: grid; place-items: center; flex: 0 0 25px; height: 29px; border-radius: 5px; color: var(--orange); background: #fff0e6; }
.process-document-icon svg { width: 16px; }
.process-document-header b { margin-left: auto; color: var(--orange-dark); font-size: .5rem; letter-spacing: .04em; }
.process-document-demo > strong { display: block; font-size: 1.125rem; font-weight: 700; letter-spacing: -.04em; }
.process-document-route { display: flex; align-items: center; gap: 24px; margin-top: 10px; }
.process-document-route > div { display: flex; flex-direction: column; }
.process-document-route small { color: #7e92a2; font-size: .5rem; }
.process-document-route div > span { font-size: .6875rem; font-weight: 600; }
.process-document-arrow { color: #7f96a8; font-size: .9375rem; }
.process-document-ready { margin-top: 12px; padding-top: 9px; border-top: 1px solid #e1eaf1; color: #428369; font-size: .5625rem; }
.process-document-ready > span { margin-right: 3px; }
.process-cloud-stamp { position: absolute; right: 13px; bottom: 11px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #547387; border-radius: 9px; color: #fff; background: #173e59; box-shadow: 0 8px 20px rgb(0 13 24 / 20%); transition: transform 250ms ease; }
.process-cloud-stamp > svg { width: 23px; color: #ff854f; }
.process-cloud-stamp > div { display: flex; flex-direction: column; }
.process-cloud-stamp strong { font-size: .6875rem; font-weight: 650; line-height: 1.45; }
.process-cloud-stamp div > span { color: #a5c0d2; font-size: .5rem; }
.process-cloud-dot { width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: #80cfaf; box-shadow: 0 0 0 4px rgb(128 207 175 / 10%); }

/* Tercer paso: QR escaneable y canales de envío informativos. */
.process-scan-demo { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; margin-top: -32px; padding: 12px; }
.process-scan-code { flex: 0 0 124px; padding: 9px 9px 7px; border: 1px solid #dae4ed; border-radius: 11px; color: #526d81; background: #fff; box-shadow: 0 8px 25px rgb(0 13 24 / 20%); transition: transform 250ms ease; }
.process-scan-code > img { width: 104px; height: 104px; }
.process-scan-code > span { display: block; margin-top: 4px; font-size: .5rem; text-align: center; }
.process-scan-arrow { flex: 0 0 24px; width: 24px; color: #739bb6; }
.process-scan-file { flex: 0 0 58px; display: flex; align-items: center; flex-direction: column; color: #cadde9; }
.process-scan-file > svg { width: 40px; height: 48px; margin-bottom: 10px; color: #ff9666; }
.process-scan-file > strong { font-size: .6875rem; line-height: 1.4; }
.process-scan-file > span { color: #88a9bf; font-size: .5rem; }
.process-share-channels { position: absolute; bottom: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.process-share-channels > span { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #36516a; border-radius: 6px; color: #acc4d6; background: #132f45; font-size: .5625rem; }
.process-share-channels svg { width: 13px; }
.process-share-channels > span:last-child { color: #a6d4c0; border-color: #365e55; background: #193d38; }
.process-example-button { align-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 0 0 3px; border: 0; border-bottom: 1px solid #ba704f; color: #ffae88; background: transparent; font-size: .6875rem; font-weight: 600; transition: color 180ms ease; }
.process-example-button:hover { color: #fff; }
.process-preview-note { margin: 13px 0 0; color: #819eaf; font-size: .625rem; text-align: right; }

/* Durée de disponibilité commune au PDF et au QR. */
.process-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgb(151 186 207 / 19%); }
.process-validity { display: flex; align-items: center; gap: 20px; }
.process-validity-badge { display: flex; align-items: center; gap: 10px; flex-shrink: 0; padding: 11px 16px; border: 1px solid rgb(255 133 81 / 30%); border-radius: 10px; color: #ffaf8a; background: rgb(255 84 22 / 7%); }
.process-validity-badge > svg { width: 22px; }
.process-validity-badge strong { font-size: 1rem; font-weight: 600; }
.process-validity > div > strong { font-size: .875rem; font-weight: 600; }
.process-validity p { margin: 3px 0 0; color: #9db7c8; font-size: .75rem; }
.process-motion-toggle { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; min-height: 40px; padding: 6px 8px; border: 0; border-radius: 6px; color: #92aab9; background: transparent; font-size: .6875rem; cursor: pointer; transition: color 180ms ease, background 180ms ease; }
.process-motion-toggle[hidden] { display: none; }
.process-motion-toggle:hover { color: #fff; background: rgb(255 255 255 / 5%); }
.process-motion-icon { display: block; width: 10px; height: 10px; border-right: 3px solid currentColor; border-left: 3px solid currentColor; }
.process-motion-toggle[aria-pressed="true"] .process-motion-icon { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; }
.text-link { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid var(--orange); font-size: .9375rem; font-weight: 600; transition: color 200ms ease; }
.text-link:hover { color: var(--orange); }
@media (hover: hover) {
  .process-card:hover { border-color: #698396; box-shadow: 0 20px 38px rgb(0 11 20 / 24%); }
  .process-create:hover { border-color: #ff8c58; }
  .process-card:hover .process-contacts-demo, .process-card:hover .process-document-demo, .process-card:hover .process-scan-code { transform: translateY(-4px); }
  .process-card:hover .process-cloud-stamp { transform: translateY(-2px); }
}
@keyframes process-route-flow { to { stroke-dashoffset: -1000; } }
@keyframes process-glow-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(55px, 30px, 0) scale(1.12); } }

/* Multidispositivo: bloque editorial unificado, sin alterar la fotografía original. */
.anywhere { position: relative; background: var(--surface); }
.anywhere-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 30px 52px; padding: 28px; border: 1px solid #e2e8ed; border-radius: 32px; background: radial-gradient(ellipse at 0% 0%, #fff0e7, transparent 45%), #f3f6f8; }
.anywhere-intro { grid-column: 2; grid-row: 1; padding: 19px 12px 0 0; }
.anywhere-intro .eyebrow { margin-bottom: 23px; }
.anywhere-intro h2 { margin-bottom: 22px; }
.anywhere-intro > p:not(.eyebrow) { max-width: 490px; margin-bottom: 0; color: var(--slate); font-size: 1rem; line-height: 1.8; }
.anywhere-media { grid-column: 1; grid-row: 1 / span 2; align-self: center; min-width: 0; }
.anywhere-visual { position: relative; min-width: 0; aspect-ratio: 6 / 5; margin: 0; overflow: hidden; border-radius: 23px; isolation: isolate; box-shadow: 0 16px 30px rgb(9 32 48 / 12%); }
.transport-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform 800ms cubic-bezier(.22, 1, .36, 1); }
.anywhere-visual::after { position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgb(3 22 36 / 92%), rgb(3 22 36 / 12%) 55%, transparent 75%); content: ""; pointer-events: none; }
.anywhere-visual figcaption { position: absolute; right: 32px; bottom: 34px; left: 32px; z-index: 1; color: #fff; }
.anywhere-visual figcaption > span { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: #e8d5c7; font-size: .625rem; font-weight: 600; letter-spacing: .13em; }
.anywhere-visual figcaption > span::before { width: 18px; height: 2px; background: #ff8a51; content: ""; }
.anywhere-visual figcaption > strong { display: block; font-size: clamp(1.6rem, 2.1vw, 2rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.25; }
.photo-tag { position: absolute; top: 19px; left: 19px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 9px; color: #fff; background: rgb(6 27 46 / 72%); font-size: .6875rem; backdrop-filter: blur(12px); transition: background 250ms ease; }
.photo-tag svg { width: 17px; }

/* Compatibilidad visible: los tres dispositivos son identificadores informativos. */
.anywhere-devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 17px 0 0; padding: 0; list-style: none; }
.anywhere-devices li { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; padding: 14px 10px; border: 1px solid #dce6ed; border-radius: 12px; color: #48677d; background: #fff; font-size: .75rem; font-weight: 600; transition: border-color 220ms ease, box-shadow 220ms ease; }
.anywhere-devices svg { flex: 0 0 21px; width: 21px; color: #597d97; transition: color 220ms ease; }
.anywhere-devices svg, .device-feature-icon svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Tres ventajas con sus textos originales, agrupadas en una composición asimétrica. */
.device-features { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; gap: 14px; padding-right: 12px; }
.device-feature { position: relative; display: flex; flex-direction: column; gap: 17px; min-width: 0; padding: 21px; border: 1px solid #dee7ed; border-radius: 17px; background: #fff; transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
.device-feature-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; color: #315978; background: #eaf1f6; }
.device-feature-icon svg { width: 21px; }
.device-feature:last-child .device-feature-icon { color: #ba4a1b; background: #fff0e7; }
.device-feature h3 { margin-bottom: 9px; color: var(--ink); font-size: 1rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.3; }
.device-feature p { margin-bottom: 0; color: var(--slate); font-size: .8125rem; line-height: 1.7; }
.device-feature-location { grid-column: span 2; flex-direction: row; align-items: center; gap: 17px; padding: 22px; border-color: #183b54; background: linear-gradient(120deg, #0b2c46, #123d59); }
.device-feature-location .device-feature-icon { flex-basis: 43px; width: 43px; height: 43px; color: #ff9a68; background: rgb(255 137 78 / 12%); }
.device-feature-location h3 { margin-bottom: 6px; color: #fff; font-size: 1.0625rem; }
.device-feature-location p { color: #b4cbdc; }
@media (hover: hover) {
  .anywhere-visual:hover .transport-photo { transform: scale(1.035); }
  .anywhere-visual:hover .photo-tag { background: rgb(6 27 46 / 90%); }
  .anywhere-devices li:hover { border-color: #f2b18e; box-shadow: 0 5px 12px rgb(24 55 77 / 5%); }
  .anywhere-devices li:hover svg { color: var(--orange-dark); }
  .device-feature:hover { transform: translateY(-3px); border-color: #b9cddb; box-shadow: 0 8px 17px rgb(24 55 77 / 7%); }
  .device-feature-location:hover { border-color: #bb7654; box-shadow: 0 8px 17px rgb(24 55 77 / 12%); }
}

/* Contacto: formulario claro sobre una sección oscura. */
.contact { position: relative; overflow: clip; color: #fff; background: var(--navy-900); }
.contact-glow { position: absolute; top: -130px; left: -190px; width: 600px; height: 600px; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgb(24 84 124 / 35%), transparent 70%); }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 110px; }
.contact-copy h2 { font-size: clamp(2.35rem, 3.35vw, 3.6rem); }
.contact-copy h2 em { display: inline-block; margin-top: 8px; }
.contact-copy > p:not(.eyebrow) { max-width: 460px; color: #b2c9d8; font-size: 1.0625rem; }
/* El tutorial se alinea directamente con la columna de contacto, sin el aviso informativo anterior. */
.contact-tutorial { display: flex; align-items: flex-start; flex-direction: column; max-width: 430px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 17%); }
.contact-tutorial p { margin-bottom: 5px; color: #d4e2ed; font-size: .875rem; font-weight: 600; }
.contact-tutorial-link { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; border-bottom: 1px solid rgb(255 125 70 / 60%); color: #ff9564; font-size: .8125rem; font-weight: 650; transition: color 180ms ease, border-color 180ms ease; }
.contact-tutorial-link:hover { border-color: #fff; color: #fff; }
.contact-tutorial-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.contact-tutorial-link span { margin-left: 2px; }
.contact-form { min-width: 0; padding: 40px; border-radius: var(--radius); color: var(--ink); background: #fff; box-shadow: 0 25px 70px rgb(0 14 28 / 16%); }
.form-heading h3 { margin-bottom: 8px; font-size: 1.5rem; letter-spacing: -.03em; }
.form-heading p { margin-bottom: 26px; color: var(--slate); font-size: .9375rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px; }
.contact-form label { min-width: 0; color: #2c4559; font-size: .875rem; font-weight: 600; }
.contact-form label > span { color: #728696; font-size: .8125rem; font-weight: 400; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 8px; border: 1px solid #dce5ec; border-radius: 8px; outline: 0; color: var(--ink); background: #f8fafb; font-size: .9375rem; font-weight: 400; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.contact-form input { height: 48px; padding: 0 13px; }
.contact-form textarea { min-height: 114px; padding: 13px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #718493; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgb(255 84 22 / 12%); }
.contact-form input:user-invalid, .contact-form textarea:user-invalid { border-color: var(--orange-dark); }
.form-full { grid-column: 1 / -1; }
.form-privacy { margin: 20px 0; color: var(--slate); font-size: .8125rem; line-height: 1.6; }
.form-privacy a { color: #af3810; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.form-privacy a:hover { color: #782508; }
.button-submit { width: 100%; }
.button-submit:disabled { cursor: wait; opacity: .7; transform: none; }
/* El campo antispam permanece fuera de la vista y del orden de teclado. */
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-message { margin: 12px 0 0; color: var(--orange-dark); font-size: .8125rem; text-align: center; }
.form-message:empty { display: none; }
.form-message.success { color: #246248; }

/* Pie de página y marca integrada. */
.site-footer { padding-block: 56px 24px; color: #fff; background: #041725; }
.footer-main { display: flex; align-items: start; justify-content: space-between; gap: 60px; padding-bottom: 40px; }
.footer-brand { flex: 0 1 390px; min-width: 0; }
/* Se recortan los márgenes del PNG de Kaam y se funde su azul oscuro con el pie, sin modificar el original. */
.footer-kaam-brand { display: block; position: relative; width: min(100%, 340px); height: 68px; overflow: hidden; transition: transform 200ms ease, filter 200ms ease; }
.footer-kaam-brand:hover { filter: brightness(1.12); transform: translateY(-2px); }
.footer-kaam-brand img { position: absolute; top: 50%; left: -9%; width: 118%; max-width: none; height: auto; mix-blend-mode: lighten; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); transform: translateY(-50%); }
.footer-main p { margin: 8px 0 0; color: #9ab0c1; font-size: .875rem; }
.footer-navigation { display: grid; grid-template-columns: repeat(2, max-content); gap: clamp(36px, 5vw, 86px); }
.footer-navigation nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-navigation nav strong { margin-bottom: 7px; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-navigation nav a { color: #b3c5d2; font-size: .875rem; transition: color 180ms ease; }
.footer-navigation nav a:hover { color: var(--orange); }
.footer-bottom { display: flex; align-items: center; gap: 25px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 12%); color: #9ab0c1; font-size: .8125rem; }
/* El aviso legal funciona como CTA real y conserva un foco visible para teclado. */
.footer-legal { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; min-height: 46px; padding: 10px 15px; border: 1px solid rgb(255 255 255 / 17%); border-radius: 10px; color: #c8d8e3; background: rgb(255 255 255 / 3%); line-height: 1.45; transition: color 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.footer-legal::after { flex: 0 0 auto; color: #ff8e5c; content: "↗"; font-size: 1rem; font-weight: 700; transition: transform 200ms ease; }
.footer-legal:hover { border-color: #ff7c42; color: #fff; background: rgb(255 84 22 / 13%); box-shadow: 0 9px 24px rgb(0 0 0 / 14%); transform: translateY(-2px); }
.footer-legal:hover::after { transform: translate(2px, -2px); }

/* Acceso al PDF real mediante un QR local, con foco y cierre nativos de <dialog>. */
.document-dialog { width: min(calc(100% - 32px), 660px); max-height: 90dvh; padding: 0; overflow: auto; border: 0; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 40px 100px rgb(0 10 20 / 35%); }
.document-dialog::backdrop { background: rgb(3 17 29 / 75%); backdrop-filter: blur(7px); }
.dialog-toolbar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 22px; border-bottom: 1px solid var(--line); background: #f3f6f8; font-size: .8125rem; }
.dialog-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; color: var(--ink); background: #e4ebf0; transition: background 180ms ease; }
.dialog-close:hover { background: #f8d5c4; }
.dialog-close svg { width: 20px; }
.example-document { padding: 36px 42px 30px; text-align: center; }
.example-document-brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; margin-bottom: 26px; border-bottom: 2px solid var(--orange); }
.example-document-brand > span:last-child { color: var(--orange-dark); font-size: .625rem; font-weight: 600; letter-spacing: .08em; }
.example-document h2 { margin-bottom: 12px; font-size: 1.85rem; }
.example-intro { max-width: 440px; margin: 0 auto; color: var(--slate); font-size: .9375rem; }
.example-qr { width: 260px; max-width: 100%; margin: 24px auto; padding: 9px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 10px 35px rgb(8 38 63 / 6%); }
.example-qr img { width: 100%; height: auto; }
.example-pdf-link { width: min(100%, 320px); }
.example-link-note { margin: 10px 0 0; color: var(--slate); font-size: .75rem; }
.example-disclaimer { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--slate); font-size: .8125rem; }

/* Movimiento progresivo: el contenido es visible si JavaScript no está activo. */
.reveal-ready .reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes road-flow { to { transform: translateX(-120px); } }
@keyframes truck-travel { from { transform: translate3d(-315px, 0, 0); } to { transform: translate3d(calc(100vw + 25px), 0, 0); } }
@keyframes truck-suspension { 0%, 100% { transform: translateY(0) rotate(-.12deg); } 50% { transform: translateY(-1.5px) rotate(.12deg); } }
@keyframes wheel-spin { to { transform: rotate(360deg); } }

/* Pantallas medianas: se mantiene el equilibrio entre titular y vista de producto. */
@media (max-width: 1200px) {
  .container { width: calc(100% - 64px); }
  .hero-grid { gap: 38px; min-height: 650px; }
  h1 { font-size: clamp(3rem, 4.8vw, 3.85rem); }
  .hero-lead { font-size: 1.0625rem; }
  .hero-actions .button { padding-inline: 19px; }
  .paper-lift { left: 2%; width: 315px; }
  .document-paper { padding: 24px; }
  .cloud-badge { right: -5px; top: 0; padding: 12px 14px; }
  .qr-pass { width: 158px; right: -3px; top: 135px; padding: 19px; }
  .qr-pass-icon { width: 96px; height: 96px; }
  .stage-note { left: 2%; }
  .hero-points { font-size: .75rem; gap: 10px 15px; }
  .contact-grid { gap: 65px; }
  .anywhere-grid { gap: 26px 32px; padding: 24px; }
  .anywhere-intro { padding-right: 0; }
  .device-features { padding-right: 0; }
  .device-feature { padding: 17px; }
  .device-feature-location { padding: 20px; }
  .process-card { padding: 20px; }
  .process-stages { gap: 22px; }
  .process-connector { right: -27px; }
  .process-card h3 { font-size: 1.4rem; }
  .process-card-top { gap: 10px; font-size: .5625rem; }
  .process-scan-demo { gap: 9px; padding: 9px; }
  .process-scan-code { flex-basis: 111px; padding: 8px; }
  .process-scan-code > img { width: 93px; height: 93px; }
  .process-scan-arrow { flex-basis: 18px; width: 18px; }
  .process-scan-file { flex-basis: 48px; }
  .process-document-route { gap: 18px; }
  .benefit-card { padding: 28px; }
  .calendar-layout { gap: 20px; }
  .sharing-channels { gap: 20px; }
  .sharing-channels li { gap: 9px; font-size: 1rem; }
}

/* Tablets: menú desplegable y componentes de producto con anchura real. */
@media (max-width: 960px) {
  :root { --header-height: 78px; }
  .section { padding-block: 85px; }
  .brand-image-frame { width: 235px; }
  .menu-toggle { display: block; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: calc(var(--header-height) - 1px); right: 0; left: 0;
    display: flex; align-items: stretch; flex-direction: column; gap: 0; padding: 20px 32px 30px;
    visibility: hidden; opacity: 0; transform: translateY(-12px); pointer-events: none;
    border-bottom: 1px solid rgb(255 255 255 / 14%); background: #061b2e;
    box-shadow: 0 24px 40px rgb(0 10 20 / 20%); transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .main-nav > a:not(.button) { padding-block: 16px; border-bottom: 1px solid rgb(255 255 255 / 9%); font-size: 1rem; }
  .main-nav .button { margin-top: 18px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 55px; min-height: auto; padding-block: 65px 72px; }
  .hero-copy { max-width: 700px; }
  h1 { font-size: clamp(3.25rem, 7.5vw, 4.85rem); }
  .hero-lead { max-width: 630px; }
  .hero-visual { width: min(100%, 660px); margin-inline: auto; }
  .paper-lift { left: 15%; width: 340px; }
  .cloud-badge { right: 8%; top: 12px; }
  .qr-pass { right: 7%; top: 135px; width: 180px; padding: 23px; }
  .qr-pass-icon { width: 112px; height: 112px; }
  .stage-note { left: 15%; }
  .hero-points { font-size: .8125rem; gap: 12px 24px; }
  .section-heading { gap: 50px; }
  .calendar-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .calendar-preview { justify-self: start; }
  .sharing-channels { flex-direction: column; gap: 18px; }
  .process-heading { grid-template-columns: 1fr 1fr; gap: 35px; }
  .process-heading-copy p { font-size: 1rem; }
  .process-stages { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .process-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 0 28px; padding: 24px; }
  .process-card-top { grid-column: span 2; gap: 13px; font-size: .6875rem; margin-bottom: 20px; }
  .process-card-scene { margin-bottom: 0; height: 220px; }
  .process-card h3 { font-size: 1.65rem; }
  .process-card-copy { display: block; }
  .process-card-note { display: inline-block; }
  .process-connector { top: auto; right: calc(50% - 15px); bottom: -29px; transform: rotate(90deg); }
  .process-scan-demo { gap: 13px; padding: 12px; }
  .process-scan-code { flex-basis: 124px; padding: 9px 9px 7px; }
  .process-scan-code > img { width: 104px; height: 104px; }
  .process-scan-arrow { flex-basis: 24px; width: 24px; }
  .process-scan-file { flex-basis: 58px; }
  .anywhere-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 28px; padding: 30px; }
  .anywhere-intro { grid-column: 1; grid-row: 1; padding: 0; }
  .anywhere-intro > p:not(.eyebrow) { max-width: 610px; }
  .anywhere-media { grid-column: 1; grid-row: 2; }
  .anywhere-visual { aspect-ratio: 8 / 5; }
  .anywhere-visual figcaption { right: 28px; left: 28px; }
  .anywhere-visual figcaption strong { font-size: 2rem; }
  .device-features { grid-column: 1; grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .device-feature { padding: 18px; }
  .device-feature-location { grid-column: span 1; align-items: start; flex-direction: column; }
  .device-feature-location .device-feature-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .device-feature-location h3 { font-size: 1rem; margin-bottom: 9px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { max-width: 620px; }
  .contact-copy h2 { font-size: 3rem; }
  .contact-form { width: min(100%, 730px); }
  .footer-main { align-items: start; flex-direction: column; gap: 30px; }
  .footer-brand { flex: none; width: min(100%, 390px); }
}

/* Móviles: sin maquetas escaladas ni contenido fuera de pantalla. */
@media (max-width: 640px) {
  :root { --header-height: 72px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 65px; }
  .brand-image-frame { width: 200px; }
  .header-inner { gap: 15px; }
  .menu-toggle { width: 40px; height: 40px; padding: 8px; }
  .main-nav { padding-inline: 20px; }
  .hero-grid { padding-block: 46px 65px; gap: 40px; }
  .eyebrow { gap: 9px; margin-bottom: 20px; font-size: .625rem; letter-spacing: .065em; }
  .eyebrow > span { width: 16px; }
  h1 { font-size: clamp(2.5rem, 10.9vw, 3.9rem); letter-spacing: -.05em; }
  h2 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .hero-lead { font-size: 1rem; line-height: 1.75; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { padding-inline: 15px; min-height: 50px; font-size: .8125rem; }
  .hero-points { gap: 10px 17px; margin-top: 24px; font-size: .75rem; }
  .preview-caption { font-size: .75rem; }
  .paper-lift { top: 42px; left: 4%; width: min(285px, 84%); }
  .document-paper { padding: 21px; }
  .document-paper h2 { font-size: 1.25rem; }
  .paper-brand { width: 142px; }
  .paper-header { gap: 12px; padding-bottom: 18px; }
  .paper-overline { font-size: .5625rem; }
  .route-connection { width: 30px; }
  .cloud-badge { right: 0; top: 0; padding: 11px 13px; }
  .cloud-badge strong { font-size: .75rem; }
  .cloud-badge div > span { font-size: .625rem; }
  .qr-pass { right: 0; top: 190px; width: 128px; padding: 17px; }
  .qr-pass-icon { width: 88px; height: 88px; margin-bottom: 10px; border-radius: 9px; }
  .qr-pass h3 { font-size: 1rem; }
  .qr-pass p { font-size: .5rem; }
  .qr-pass-label { font-size: .6875rem; }
  .stage-note { left: 4%; bottom: 1px; font-size: .6875rem; }
  .travel-scene { height: 143px; }
  .travel-heading { gap: 10px; }
  .travel-heading p { max-width: 260px; font-size: .625rem; letter-spacing: 0; }
  .travel-truck { width: 250px; bottom: 1px; }
  .section-heading { grid-template-columns: 1fr; gap: 23px; margin-bottom: 32px; }
  .section-heading > p { font-size: 1rem; }
  .benefits-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .benefit-card { padding: 24px; border-radius: 20px; }
  .benefit-card p { font-size: 1rem; }
  .sharing-channels { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .sharing-channel-icon { flex-basis: 44px; height: 44px; }
  .sharing-channels li { gap: 8px; font-size: .9375rem; }
  .benefits-summary { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 25px; padding-top: 24px; }
  .process-heading { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-bottom: 30px; }
  .process-heading-copy { max-width: 460px; justify-self: start; padding: 0; }
  .process-heading-copy p { margin-bottom: 17px; }
  .process-card { display: flex; padding: 22px; }
  .process-card-top { width: 100%; margin-bottom: 20px; }
  .process-card-scene { width: 100%; margin-bottom: 23px; height: 222px; }
  .process-card-copy { flex: 1; width: 100%; }
  .process-card h3 { font-size: 1.65rem; }
  .process-scan-demo { gap: 10px; padding: 8px; }
  .process-scan-arrow { flex-basis: 18px; width: 18px; }
  .process-scan-file { flex-basis: 48px; }
  .process-preview-note { text-align: left; }
  .process-footer { align-items: start; flex-direction: column; gap: 18px; }
  .process-validity { align-items: start; flex-direction: column; gap: 14px; }
  .process-validity-badge { padding: 9px 14px; }
  .anywhere-grid { gap: 24px; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .anywhere-intro .eyebrow { margin-bottom: 20px; }
  .anywhere-intro h2 { margin-bottom: 20px; }
  .anywhere-intro > p:not(.eyebrow) { font-size: 1rem; }
  .anywhere-visual { aspect-ratio: 11 / 10; border-radius: 20px; }
  .photo-tag { top: 15px; left: 15px; max-width: calc(100% - 30px); padding: 9px 10px; font-size: .5625rem; }
  .photo-tag svg { flex: 0 0 15px; width: 15px; }
  .anywhere-visual figcaption { right: 22px; bottom: 25px; left: 22px; }
  .anywhere-visual figcaption > span { font-size: .5rem; letter-spacing: .09em; }
  .anywhere-visual figcaption strong { font-size: clamp(1.3rem, 5.9vw, 1.8rem); }
  .anywhere-devices { gap: 8px; margin-top: 13px; }
  .anywhere-devices li { flex-direction: column; gap: 6px; padding: 10px 6px; font-size: .625rem; }
  .device-features { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .device-feature { flex-direction: row; align-items: start; gap: 14px; padding: 19px; border-radius: 15px; }
  .device-feature h3 { margin-bottom: 6px; font-size: 1rem; }
  .device-feature p { font-size: .8125rem; }
  .device-feature-location h3 { margin-bottom: 6px; }
  .contact-copy h2 { font-size: 2.35rem; }
  .contact-form { padding: 28px 22px; }
  .form-heading h3 { font-size: 1.3rem; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .form-full { grid-column: auto; }
  .contact-form input, .contact-form textarea { font-size: 1rem; }
  .footer-kaam-brand { width: min(100%, 300px); height: 62px; }
  .footer-navigation { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .example-document { padding: 26px 22px; }
  .example-document h2 { font-size: 1.5rem; }
  .example-document-brand { gap: 10px; }
  .example-document-brand > span:last-child { font-size: .5625rem; }
}

/* Preferencia de accesibilidad: sin movimiento continuo ni entradas animadas. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .paper-lift, .cloud-badge, .travel-truck, .truck-body, .truck-wheel, .road-markings, .process-route-lights path, .process-glow { animation: none !important; }
  .travel-truck { left: 50%; transform: translateX(-50%); }
  .travel-toggle { display: none; }
  .process-motion-toggle { display: none; }
  .process-card:hover .process-contacts-demo, .process-card:hover .process-document-demo, .process-card:hover .process-scan-code, .process-card:hover .process-cloud-stamp { transform: none; }
  .anywhere-visual:hover .transport-photo, .device-feature:hover { transform: none; }
}
