/*
 * www.powerdash.co: hoja única del sitio (2026-11-10).
 *
 * Identidad = el diseño PowerDash de la web (web/src/theme.css, bloques [data-pm-diseno="powerdash"], y la página de
 * inicio de sesión): petróleo #003E58, cian #00C6D8, teal #00869C y azul noche #00132C; Hanken Grotesk para títulos,
 * botones y cifras, e Inter para el texto, servidas desde /fuentes (nada de Google Fonts). Separa con bordes, no con
 * sombras. Barras a 45° como en el logo.
 *
 * Claro y oscuro: el esquema del sistema, salvo que la persona elija uno con el botón sol/luna (data-theme en <html>,
 * lo pone js/tema.js antes de pintar). Todo par texto/fondo de esta hoja mide ≥ 4,5:1 y los bordes de campo y el foco
 * ≥ 3:1 (medido el 2026-11-10; la lista de pares está en sitio/README.md).
 *
 * Sin estilos en línea ni <style> en el HTML: la política de seguridad de staticwebapp.config.json los bloquea.
 */

/* ------------------------------------------------------------------ fuentes (latín y latín extendido, variables) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fuentes/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fuentes/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fuentes/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fuentes/hanken-grotesk-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ tokens */
:root {
  color-scheme: light;
  --fondo: #ffffff;
  --fondo-alt: #f3f6f8;
  --tarjeta: #ffffff;            /* tarjeta sobre --fondo */
  --tarjeta-en-alt: #ffffff;     /* tarjeta sobre --fondo-alt */
  --borde: #d3dde3;
  --texto: #0b1e2b;              /* 17,0:1 sobre blanco */
  --tenue: #4a5d6b;              /* 6,8:1 */
  --acento: #006f82;             /* enlaces y titulillos: 5,8:1 */
  --primario: #003e58;           /* botón principal: petróleo con texto blanco (11,5:1) */
  --primario-hover: #0b5170;
  --primario-texto: #ffffff;
  --secundario-borde: #003e58;   /* botón con borde */
  --secundario-texto: #003e58;
  --tinte: rgba(0, 62, 88, 0.08);
  --foco: #006f82;
  --campo-fondo: #ffffff;
  --campo-borde: #768a97;        /* 3,6:1 sobre blanco */
  --marcador: #5f7380;
  --ok: #1b6b55;
  --chip-beta-fondo: #d8f6f9;
  --chip-beta-texto: #00606e;    /* 6,4:1 */
  --chip-pronto-fondo: #e8eef1;
  --chip-pronto-texto: #33434f;
  --nota-fondo: #fff4dc;         /* notas para el abogado en la política */
  --nota-texto: #6b4100;
  --nota-borde: #d9a441;
  --aviso-fondo: #ffe2a8;        /* banda de BORRADOR */
  --aviso-texto: #5c3a00;
  --tarjeta-banda: #ffffff;      /* tarjeta clara sobre el petróleo (la viñeta del inicio) */
  --form-fondo: #ffffff;         /* el formulario de contacto, sobre el petróleo */

  /* Marca: iguales en los dos esquemas (franjas petróleo, pie azul noche) */
  --petroleo: #003e58;
  --noche: #00132c;
  --cian: #00c6d8;
  --cian-hover: #2fd3e2;
  --teal: #00869c;
  --banda-texto: #d6e9f0;        /* 9,2:1 sobre el petróleo */
  --banda-titulillo: #7fe6f0;    /* 7,9:1 */
  --banda-alt: #0b5170;
  --banda-alt-borde: #1a6a8a;
  --banda-alt-texto: #b9d9e4;    /* 5,8:1 sobre --banda-alt */
  --icono-fondo: #003e58;
  --icono-trazo: #7fe6f0;
  --pie-fondo: #00132c;
  --pie-texto: #a6bdca;          /* 9,5:1 */
  --pie-enlace: #d6e9f0;

  --radio-control: 6px;
  --radio-tarjeta: 8px;
  --radio-grande: 12px;
  --ancho: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --cabecera-alto: 68px;
  --fuente-texto: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --fuente-titulos: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --fondo: #00132c;
    --fondo-alt: #031f3d;
    --tarjeta: #031f3d;
    --tarjeta-en-alt: #0a3455;
    --borde: #1e3a57;
    --texto: #eaf2f6;
    --tenue: #a6bdca;
    --acento: #5fe0ec;
    --primario: #00c6d8;         /* cian con texto azul noche (8,9:1) */
    --primario-hover: #2fd3e2;
    --primario-texto: #00132c;
    --secundario-borde: #a6bdca;
    --secundario-texto: #eaf2f6;
    --tinte: rgba(0, 198, 216, 0.14);
    --foco: #5fe0ec;
    --campo-fondo: #00132c;
    --campo-borde: #56789a;      /* 4,0:1 sobre el azul noche */
    --marcador: #7f98a8;
    --ok: #8fddc4;
    --chip-beta-fondo: #003e58;
    --chip-beta-texto: #7fe6f0;
    --chip-pronto-fondo: #1e3a57;
    --chip-pronto-texto: #c9d8e1;
    --nota-fondo: #2a2208;
    --nota-texto: #ffd27a;
    --nota-borde: #8a6a1f;
    --aviso-fondo: #ffd27a;
    --aviso-texto: #2a2208;
    --tarjeta-banda: #eaf2f6;    /* en oscuro la tarjeta clara no deslumbra */
    --form-fondo: #00132c;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --fondo: #00132c;
  --fondo-alt: #031f3d;
  --tarjeta: #031f3d;
  --tarjeta-en-alt: #0a3455;
  --borde: #1e3a57;
  --texto: #eaf2f6;
  --tenue: #a6bdca;
  --acento: #5fe0ec;
  --primario: #00c6d8;
  --primario-hover: #2fd3e2;
  --primario-texto: #00132c;
  --secundario-borde: #a6bdca;
  --secundario-texto: #eaf2f6;
  --tinte: rgba(0, 198, 216, 0.14);
  --foco: #5fe0ec;
  --campo-fondo: #00132c;
  --campo-borde: #56789a;
  --marcador: #7f98a8;
  --ok: #8fddc4;
  --chip-beta-fondo: #003e58;
  --chip-beta-texto: #7fe6f0;
  --chip-pronto-fondo: #1e3a57;
  --chip-pronto-texto: #c9d8e1;
  --nota-fondo: #2a2208;
  --nota-texto: #ffd27a;
  --nota-borde: #8a6a1f;
  --aviso-fondo: #ffd27a;
  --aviso-texto: #2a2208;
  --tarjeta-banda: #eaf2f6;
  --form-fondo: #00132c;
}

/* Logos e íconos que cambian con el esquema: .solo-claro / .solo-oscuro */
.solo-oscuro { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .solo-claro { display: none; }
  :root:not([data-theme="light"]) .solo-oscuro { display: block; }
}
:root[data-theme="dark"] .solo-claro { display: none; }
:root[data-theme="dark"] .solo-oscuro { display: block; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cabecera-alto) + 12px);
}
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: var(--fuente-texto);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 62em) {
  body { font-size: 1.0625rem; }
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--fuente-titulos);
  font-weight: 700;
  color: inherit;
  text-wrap: balance;
}
p { margin: 0; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--acento); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; }
.banda :focus-visible, .pie :focus-visible { outline-color: var(--cian); }
.banda .formulario :focus-visible { outline-color: var(--foco); }
[hidden] { display: none !important; }
svg.trazo { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Glifo de WhatsApp a una tinta (el color del texto del botón): el verde de la marca se pierde sobre el cian. */
svg.glifo { fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Sin JavaScript: el formulario no puede armar el mensaje; se ve el aviso y los canales directos. */
.con-js .solo-sin-js { display: none; }
.sin-js #formulario-contacto { display: none; }

.salto {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radio-control);
  background: var(--primario);
  color: var(--primario-texto);
  font-family: var(--fuente-titulos);
  font-weight: 600;
  text-decoration: none;
}
.salto:focus { top: 12px; }

.contenedor {
  width: 100%;
  max-width: calc(var(--ancho) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.oculto-visual {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ piezas tipográficas */
.titulillo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fuente-titulos);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acento);
}
/* el rombo del menú lateral de la app, como marca de sección */
.titulillo::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.banda .titulillo { color: var(--banda-titulillo); }

.seccion-titulo {
  margin-top: 14px;
  font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.625rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 16px;
  max-width: 44em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--tenue);
}
.seccion-cabecera { max-width: 52rem; }

/* ------------------------------------------------------------------ botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radio-control);
  font-family: var(--fuente-titulos);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.boton svg, .boton img { flex: none; width: 20px; height: 20px; }
.boton-primario { background: var(--primario); color: var(--primario-texto); }
.boton-primario:hover { background: var(--primario-hover); }
.boton-borde { border-color: var(--secundario-borde); color: var(--secundario-texto); background: transparent; }
.boton-borde:hover { background: var(--tinte); }
.boton-chico { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
/* sobre el petróleo (los dos esquemas) */
.boton-cian { background: var(--cian); color: var(--noche); }
.boton-cian:hover { background: var(--cian-hover); }
.boton-banda { border-color: var(--banda-texto); color: #ffffff; background: transparent; }
.boton-banda:hover { background: rgba(255, 255, 255, 0.08); }
.boton-icono {
  min-height: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-color: var(--borde);
  color: var(--texto);
  background: transparent;
}
.boton-icono:hover { background: var(--tinte); }

/* ------------------------------------------------------------------ chips */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 4px;
  font-family: var(--fuente-titulos);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.chip-beta, .chip-nuevo { background: var(--chip-beta-fondo); color: var(--chip-beta-texto); }
.chip-pronto { background: var(--chip-pronto-fondo); color: var(--chip-pronto-texto); }

/* ------------------------------------------------------------------ íconos de línea (24 x 24, trazo = currentColor) */
.ico {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radio-tarjeta);
  background: var(--icono-fondo);
  color: var(--icono-trazo);
}
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ cabecera */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--fondo);
  border-bottom: 1px solid var(--borde);
}
@supports (backdrop-filter: blur(8px)) {
  .cabecera {
    background: color-mix(in srgb, var(--fondo) 90%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
.cabecera-fila {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--cabecera-alto);
}
/* El logo empuja el resto a la derecha: menú y acciones juntos (o solo las acciones, en las páginas sin menú) */
.marca { display: inline-flex; align-items: center; flex: none; margin-right: auto; padding: 6px 0; border-radius: 4px; }
.marca img { width: auto; height: 26px; }
.menu-lista { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu-lista a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radio-control);
  color: var(--texto);
  font-family: var(--fuente-titulos);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.menu-lista a:hover { background: var(--tinte); }
.menu-acciones { display: none; }
.cabecera-acciones { display: flex; align-items: center; gap: 8px; flex: none; }
.cabecera-acciones .boton-chico { min-height: 44px; }
.boton-menu { display: none; }
.boton-menu .cerrar { display: none; }
.boton-menu[aria-expanded="true"] .abrir { display: none; }
.boton-menu[aria-expanded="true"] .cerrar { display: block; }

/* Celular y tableta (< 62em) con JavaScript: el menú es un panel que se abre con el botón. Sin JavaScript la lista
   queda visible y envuelve. */
@media (max-width: 61.99em) {
  .cabecera-acciones .solo-escritorio { display: none; }
  .con-js .boton-menu { display: inline-flex; }
  .sin-js .cabecera-fila { flex-wrap: wrap; padding-block: 8px; }
  .sin-js .menu { order: 3; width: 100%; }
  .sin-js .menu-lista { flex-wrap: wrap; }
  .con-js .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--fondo);
    border-bottom: 1px solid var(--borde);
    max-height: calc(100vh - var(--cabecera-alto));
    max-height: calc(100dvh - var(--cabecera-alto));
    overflow-y: auto;
  }
  .con-js .menu:not(.abierto) { display: none; }
  .con-js .menu-lista { flex-direction: column; align-items: stretch; gap: 0; }
  .con-js .menu-lista a { display: flex; min-height: 48px; padding: 0 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--borde); border-radius: 0; }
  .con-js .menu-acciones { display: grid; gap: 10px; margin-top: 16px; }
}
/* «Solicitar una demo» en la cabecera solo cuando cabe junto al menú; en el celular va dentro del menú. */
@media (max-width: 74.99em) {
  .cabecera-acciones .solo-ancho { display: none; }
}

/* ------------------------------------------------------------------ franjas de marca (petróleo, los dos esquemas) */
.banda {
  position: relative;
  overflow: hidden;
  background: var(--petroleo);
  color: var(--banda-texto);
}
.banda h1, .banda h2 { color: #ffffff; }
.banda .lead { color: var(--banda-texto); }
.banda a:not(.boton) { color: #ffffff; }
.banda .formulario a:not(.boton) { color: var(--acento); }
.banda-contenido { position: relative; z-index: 1; }

/* Barras a 45° de la marca (decorativas). La caja sin girar se mide desde la esquina inferior derecha de la franja,
   que la recorta; la del cian va un paso (grueso + hueco) más abajo y a la derecha, como en el logo. */
.barra {
  position: absolute;
  z-index: 0;
  width: var(--grueso, 30px);
  height: var(--largo, 240px);
  transform: rotate(45deg);
  pointer-events: none;
}
.barra-teal { background: var(--teal); right: var(--b-derecha, 60px); bottom: var(--b-abajo, -30px); }
.barra-cian {
  background: var(--cian);
  right: calc(var(--b-derecha, 60px) - var(--b-paso, 31px));
  bottom: calc(var(--b-abajo, -30px) - var(--b-paso, 31px));
}
@media (min-width: 62em) {
  .banda { --grueso: 64px; --largo: 460px; --b-derecha: 150px; --b-abajo: -60px; --b-paso: 66px; }
}

/* ------------------------------------------------------------------ inicio */
.portada .contenedor { padding-block: 48px 64px; }
.portada-grid { display: grid; gap: 44px; align-items: center; }
.portada h1 {
  margin-top: 16px;
  font-size: clamp(2.25rem, 1.45rem + 3.6vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
}
.portada .lead { margin-top: 18px; max-width: 34em; }
.portada-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.portada-puntos { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; list-style: none; font-size: 0.9375rem; }
.portada-puntos li { display: flex; align-items: center; gap: 8px; }
.portada-puntos svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--banda-titulillo); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 35.99em) {
  .portada-botones .boton { width: 100%; }
}
@media (min-width: 62em) {
  .portada .contenedor { padding-block: 88px 104px; }
  .portada-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; }
}

/* Viñeta del inicio: el balance de un lote y la etiqueta de una caja, con datos de la empresa demo. Colores propios,
   iguales en los dos esquemas (es un «papel» claro sobre el petróleo). */
.vineta {
  --v-texto: #0b1e2b;
  --v-tenue: #4a5d6b;
  --v-borde: #d3dde3;
  --v-ok: #1b6b55;
  margin: 0;
  width: 100%;
  max-width: 540px;
  justify-self: center;
}
.vineta-pie {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
  color: var(--banda-texto);
}
.vineta-pie svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--banda-titulillo); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vb {
  position: relative;
  padding: 22px 22px 40px;
  border-radius: var(--radio-grande);
  background: var(--tarjeta-banda);
  color: var(--v-texto);
}
.vb-cabecera { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
/* En el celular el estado va arriba y el lote ocupa todo el ancho */
@media (max-width: 29.99em) {
  .vb-cabecera { flex-direction: column-reverse; gap: 10px; }
}
.vb-lote { font-family: var(--fuente-titulos); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.vb-origen { margin-top: 2px; font-size: 0.8125rem; line-height: 1.4; color: var(--v-tenue); }
.vb-estado { background: #d8f6f9; color: #00606e; }
.vb-entrada {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--v-borde);
  font-size: 0.875rem;
  color: var(--v-tenue);
}
.vb-entrada strong {
  font-family: var(--fuente-titulos);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--v-texto);
  font-variant-numeric: tabular-nums;
}
.vb-barra { display: flex; gap: 2px; height: 14px; margin-top: 14px; border-radius: 4px; overflow: hidden; }
.vb-barra span { display: block; }
.s-expo { background: #003e58; flex: 81 1 0; }
.s-nac { background: #00869c; flex: 10 1 0; }
.s-desc { background: #5cc6d9; flex: 6.5 1 0; }
.s-merma { background: #a9b7c0; flex: 2.5 1 0; }
.vb-cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 16px 0 0; }
.vb-cifras div { min-width: 0; }
.vb-cifras dt { display: flex; align-items: center; gap: 7px; font-size: 0.8125rem; color: var(--v-tenue); }
.vb-cifras dt i { flex: none; width: 10px; height: 10px; border-radius: 2px; }
.vb-cifras dd {
  margin: 1px 0 0;
  font-family: var(--fuente-titulos);
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.vb-cifras dd small { margin-left: 4px; font-family: var(--fuente-texto); font-size: 0.8125rem; font-weight: 500; color: var(--v-tenue); }
.vb-ok { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.875rem; font-weight: 500; color: var(--v-ok); }
.vb-ok svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.ve {
  position: relative;
  width: min(300px, 86%);
  margin: -24px 14px 0 auto;
  padding: 12px 14px 10px;
  border: 1px solid var(--v-borde);
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-family: var(--fuente-titulos);
}
.ve-empresa { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.ve-producto { margin-top: 2px; font-size: 0.875rem; font-weight: 700; line-height: 1.25; }
.ve-codigo { width: 100%; height: 46px; margin-top: 8px; fill: #111111; }
.ve-numero { margin-top: 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-align: center; font-variant-numeric: tabular-nums; }
.ve-traza { margin-top: 6px; padding-top: 6px; border-top: 1px dashed #b7c6cf; font-size: 0.6875rem; font-weight: 500; line-height: 1.35; }

/* ------------------------------------------------------------------ secciones */
.seccion { padding-block: clamp(56px, 8vw, 104px); }
.seccion-alt { background: var(--fondo-alt); --tarjeta: var(--tarjeta-en-alt); }
.tarjeta {
  border: 1px solid var(--borde);
  border-radius: var(--radio-tarjeta);
  background: var(--tarjeta);
}

/* ---- qué hacemos (los cinco servicios; en pantalla ancha, una sola fila) */
.servicios { display: grid; gap: 16px; margin-top: 40px; list-style: none; }
.servicio { padding: 22px; }
.servicio h3 { margin-top: 16px; font-size: 1.1875rem; line-height: 1.25; }
.servicio p { margin-top: 8px; font-size: 0.9375rem; color: var(--tenue); }
@media (min-width: 40em) { .servicios { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .servicios { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 75em) { .servicios { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.herramientas h3 { font-size: 1.125rem; }
.herramientas .pildoras { margin-top: 14px; }
.herramientas p { margin-top: 14px; color: var(--tenue); }

/* ---- productos */
.productos { display: grid; gap: 24px; margin-top: 40px; }
.producto { padding: clamp(20px, 3vw, 32px); }
.producto-cabecera { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.producto-cabecera img { width: auto; height: 34px; }
.producto-cabecera .que-es { font-family: var(--fuente-titulos); font-size: 0.9375rem; font-weight: 600; color: var(--tenue); }
.producto > p { margin-top: 16px; max-width: 46em; color: var(--tenue); }
.producto > p strong { color: var(--texto); }

.flujo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; list-style: none; }
.flujo li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fuente-titulos);
  font-size: 0.875rem;
  font-weight: 600;
}
.flujo span {
  padding: 6px 12px;
  border: 1px solid var(--borde);
  border-radius: 999px;
  background: var(--fondo-alt);
  white-space: nowrap;
}
.flujo li + li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--acento);
  border-right: 2px solid var(--acento);
  transform: rotate(45deg);
}
/* En pantallas angostas las etapas envuelven: en vez de flechas que quedarían al inicio del renglón, van numeradas */
@media (max-width: 47.99em) {
  .flujo { counter-reset: etapa; }
  .flujo li { counter-increment: etapa; }
  .flujo li + li::before { display: none; }
  .flujo span::before { content: counter(etapa) '. '; color: var(--acento); font-weight: 700; }
}

.modulos { display: grid; gap: 14px; margin-top: 26px; list-style: none; }
.modulo { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--borde); border-radius: var(--radio-tarjeta); }
.modulo h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.modulo p { margin-top: 4px; font-size: 0.9375rem; line-height: 1.5; color: var(--tenue); }
@media (min-width: 40em) {
  .modulos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 75em) {
  .modulos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.calidad-grid { display: grid; gap: 24px; margin-top: 22px; }
.calidad-titulo { font-size: 1.375rem; line-height: 1.25; }
.calidad-texto { margin-top: 10px; color: var(--tenue); }
.calidad-registros { display: grid; gap: 12px; list-style: none; }
.calidad-registros li { display: flex; gap: 12px; align-items: flex-start; }
.calidad-registros h4 { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.calidad-registros p { margin-top: 2px; font-size: 0.9375rem; color: var(--tenue); }
.calidad-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.calidad-pie p { color: var(--tenue); font-size: 0.9375rem; }
@media (min-width: 40em) {
  .calidad-registros { grid-template-columns: 1fr 1fr; gap: 18px 22px; }
}
@media (min-width: 70em) {
  .calidad-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
}

/* ---- cómo empezar */
.pasos { display: grid; gap: 16px; margin-top: 40px; list-style: none; counter-reset: paso; }
.paso { position: relative; padding: 22px; }
.paso-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--icono-fondo);
  color: var(--icono-trazo);
  font-family: var(--fuente-titulos);
  font-size: 1.0625rem;
  font-weight: 700;
}
.paso h3 { margin-top: 16px; font-size: 1.25rem; line-height: 1.25; }
.paso-dato { margin-top: 4px; font-family: var(--fuente-titulos); font-size: 0.9375rem; font-weight: 600; color: var(--acento); }
.paso p:last-child { margin-top: 10px; font-size: 0.9375rem; color: var(--tenue); }
@media (min-width: 40em) { .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70em) {
  .pasos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* la línea que une los pasos */
  .paso:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 42px;
    left: 70px;
    right: -17px;
    border-top: 2px dashed var(--borde);
  }
}

.listas-dos { display: grid; gap: 28px; margin-top: 44px; }
.lista-chulos h3 { font-size: 1.125rem; }
.lista-chulos ul { display: grid; gap: 10px; margin-top: 14px; list-style: none; }
.lista-chulos li { display: flex; gap: 10px; align-items: flex-start; color: var(--tenue); }
.lista-chulos li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  fill: none;
  stroke: var(--ok);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 52em) { .listas-dos { grid-template-columns: 1fr 1fr; gap: 40px; } }
.cta-linea { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 40px; }
.cta-linea p { color: var(--tenue); }

/* ---- para quién */
.publicos { display: grid; gap: 16px; margin-top: 40px; list-style: none; }
.publico { padding: 22px; }
.publico h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 16px; font-size: 1.1875rem; }
.publico p { margin-top: 8px; font-size: 0.9375rem; color: var(--tenue); }
@media (min-width: 40em) { .publicos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70em) { .publicos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.etiquetas-grupo { margin-top: 36px; }
.etiquetas-grupo h3 { font-size: 1rem; font-weight: 600; color: var(--tenue); font-family: var(--fuente-texto); }
.pildoras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; list-style: none; }
.pildoras li {
  padding: 6px 13px;
  border: 1.5px solid var(--secundario-borde);
  border-radius: 999px;
  font-family: var(--fuente-titulos);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--secundario-texto);
}

/* ---- por qué */
.razones { display: grid; gap: 16px; margin-top: 40px; list-style: none; }
.razon { padding: 22px; }
.razon h3 { margin-top: 16px; font-size: 1.125rem; line-height: 1.3; }
.razon p { margin-top: 8px; font-size: 0.9375rem; color: var(--tenue); }
@media (min-width: 40em) { .razones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 70em) { .razones { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opera {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 10px 16px;
  border: 1px solid var(--borde);
  border-radius: 999px;
  font-family: var(--fuente-titulos);
  font-weight: 600;
}
.opera svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- videos (fachada: nada de YouTube se carga hasta el clic) */
.videos { display: grid; gap: 20px; margin-top: 40px; list-style: none; }
@media (min-width: 52em) { .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video { min-width: 0; }
.video-marco {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radio-tarjeta);
  background: var(--petroleo);
}
.video-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-portada {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-align: left;
  font: inherit;
  --grueso: 26px; --largo: 200px; --b-derecha: 46px; --b-abajo: -44px; --b-paso: 28px;
}
button.video-portada { cursor: pointer; }
button.video-portada:focus-visible { outline: 3px solid var(--cian); outline-offset: -5px; }
.video-portada .chip { position: relative; z-index: 1; align-self: flex-start; }
.video-portada .reproducir {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cian);
  color: var(--noche);
}
.video-portada .reproducir svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
button.video-portada:hover .reproducir { background: var(--cian-hover); }
.video-portada:not(button) .reproducir { background: var(--banda-alt); color: var(--banda-alt-texto); }
.video h3 { margin-top: 12px; font-size: 1.0625rem; line-height: 1.35; }
.video p { margin-top: 4px; font-size: 0.875rem; color: var(--tenue); }
.nota-privacidad { margin-top: 24px; font-size: 0.875rem; color: var(--tenue); max-width: 52em; }

/* ---- contacto */
.contacto .contenedor { padding-block: clamp(56px, 8vw, 104px); }
.contacto-grid { display: grid; gap: 40px; }
@media (min-width: 62em) { .contacto-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: center; } }
.canales { display: grid; gap: 12px; list-style: none; }
.canales a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 10px 16px;
  border: 1px solid var(--banda-alt-borde);
  border-radius: var(--radio-tarjeta);
  background: var(--banda-alt);
  color: #ffffff;
  text-decoration: none;
}
.canales a:hover { border-color: var(--banda-texto); }
.canales img { flex: none; width: 24px; height: 24px; }
.canales .canal-ico { display: inline-flex; flex: none; color: var(--banda-titulillo); }
.canales .canal-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.canales .canal-texto { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.canales .canal-texto small { font-size: 0.8125rem; color: var(--banda-alt-texto); }
.canales .canal-texto span { font-family: var(--fuente-titulos); font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.horario { margin-top: 18px; font-size: 0.9375rem; }
.firma { margin-top: 6px; font-size: 0.9375rem; }

.formulario {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radio-grande);
  background: var(--form-fondo);
  color: var(--texto);
}
.formulario h3 { font-size: 1.25rem; }
.formulario .ayuda { margin-top: 6px; font-size: 0.9375rem; color: var(--tenue); }
.campos { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 36em) { .campos { grid-template-columns: 1fr 1fr; } .campo-ancho { grid-column: 1 / -1; } }
.campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.campo label { font-size: 0.875rem; font-weight: 600; }
.campo label .opcional { font-weight: 400; color: var(--tenue); }
.campo input, .campo select, .campo textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--campo-borde);
  border-radius: var(--radio-control);
  background: var(--campo-fondo);
  color: var(--texto);
  font: inherit;
  font-size: 1rem;
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo ::placeholder { color: var(--marcador); opacity: 1; }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible,
.autorizacion input:focus-visible { outline: 3px solid var(--foco); outline-offset: 1px; }
.autorizacion { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 0.9375rem; line-height: 1.5; }
.autorizacion input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--primario); }
.autorizacion a { color: var(--acento); }
.formulario-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.formulario-botones .boton { flex: 1 1 200px; }
.formulario .nota { margin-top: 14px; font-size: 0.8125rem; color: var(--tenue); }

/* ------------------------------------------------------------------ pie (azul noche, los dos esquemas) */
.pie { background: var(--pie-fondo); color: var(--pie-texto); font-size: 0.9375rem; }
.pie .contenedor { padding-block: 48px 32px; }
.pie-grid { display: grid; gap: 32px; }
@media (min-width: 52em) { .pie-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.pie-marca img { width: auto; height: 28px; }
.pie-marca p { margin-top: 14px; max-width: 22em; }
.pie h2 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #ffffff; }
.pie ul { display: grid; gap: 4px; margin-top: 12px; list-style: none; }
.pie a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--pie-enlace); text-decoration: none; }
.pie a:hover { color: #ffffff; text-decoration: underline; }
.pie a img { flex: none; width: 18px; height: 18px; }
.pie-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #1e3a57;
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------------ páginas de texto (política de datos) */
.pagina-texto { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }
.pagina-texto .contenedor { max-width: calc(52rem + 2 * var(--gutter)); }
.pagina-texto h1 { margin-top: 14px; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.01em; }
.pagina-texto .meta { margin-top: 12px; font-size: 0.9375rem; color: var(--tenue); }
.borrador {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: var(--radio-tarjeta);
  background: var(--aviso-fondo);
  color: var(--aviso-texto);
  font-weight: 600;
}
.indice { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--borde); border-radius: var(--radio-tarjeta); background: var(--fondo-alt); }
.indice h2 { font-size: 1rem; }
.indice ol { margin-top: 10px; padding-left: 1.3em; columns: 2 16em; column-gap: 32px; }
.indice li { margin-block: 3px; break-inside: avoid; }
.texto-legal h2 { margin-top: 44px; font-size: 1.5rem; line-height: 1.2; scroll-margin-top: calc(var(--cabecera-alto) + 16px); }
.texto-legal h3 { margin-top: 26px; font-size: 1.125rem; }
.texto-legal p, .texto-legal ul, .texto-legal ol, .texto-legal dl { margin-top: 12px; }
.texto-legal ul, .texto-legal ol { padding-left: 1.3em; }
.texto-legal li { margin-block: 6px; }
.texto-legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.texto-legal dt { font-weight: 600; }
.texto-legal dd { margin: 0; }
@media (max-width: 35.99em) { .texto-legal dl { grid-template-columns: 1fr; gap: 2px; } .texto-legal dd { margin-bottom: 8px; } }
.aviso-corto { margin-top: 28px; padding: 20px 22px; border-left: 4px solid var(--teal); border-radius: var(--radio-tarjeta); background: var(--fondo-alt); }
.aviso-corto h2 { margin-top: 0; }
.pendiente { padding: 0 3px; border-radius: 3px; background: var(--nota-fondo); color: var(--nota-texto); font-weight: 600; }
.nota-abogado {
  margin-top: 14px;
  padding: 12px 16px;
  border: 1.5px dashed var(--nota-borde);
  border-radius: var(--radio-tarjeta);
  background: var(--nota-fondo);
  color: var(--nota-texto);
  font-size: 0.9375rem;
}
.nota-abogado::before { content: 'Para el abogado: '; font-weight: 700; }

/* ------------------------------------------------------------------ página de enlaces y 404 */
.pagina-corta { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.pagina-corta main { flex: 1; }
.enlaces { width: 100%; max-width: 30rem; margin-inline: auto; padding: 40px var(--gutter) 56px; }
.enlaces-marca { display: flex; justify-content: center; }
.enlaces-marca img { width: auto; height: 32px; }
.enlaces h1 { margin-top: 22px; font-size: 1.375rem; line-height: 1.3; text-align: center; }
.enlaces > p { margin-top: 8px; text-align: center; color: var(--tenue); }
.enlaces ul { display: grid; gap: 12px; margin-top: 28px; list-style: none; }
.enlaces ul .boton { width: 100%; min-height: 56px; font-size: 1.0625rem; }
.enlaces-legal { margin-top: 28px; text-align: center; font-size: 0.875rem; }
.error-404 { padding-block: clamp(64px, 12vw, 140px); }
.error-404 .lead { margin-top: 14px; }
.error-404 .cta-linea { margin-top: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .cabecera, .pie, .barra, .boton-menu, .portada-botones, .formulario, .videos { display: none !important; }
  .banda { background: none; color: #000; }
  .banda h1, .banda h2 { color: #000; }
}
