/*! ECTRIS Design System — generado por tools/build.mjs desde src/css. No editar aquí. */
/* ---- 01-tokens.css ---- */
/* ==========================================================================
   ECTRIS · DESIGN TOKENS — ÚNICA FUENTE DE VERDAD
   Colores, tipografía, escala tipográfica, spacing, retícula (container),
   breakpoints, botones, bordes, sombras y radios.
   Ningún componente debe declarar valores "sueltos": todo sale de aquí.
   ========================================================================== */

/* --- Breakpoints (resueltos en build: @media (max-width: 1024px) → valor real) ---- */





/* --- Fuentes -------------------------------------------------------------
   Archivo (OFL, self-hosted) para UI y titulares.
   Monument Extended Regular para la marca ECTRIS y su eslogan: se carga
   desde la hoja definida en content/site.json → fonts.brand_stylesheet.
   Para sustituirla por una versión licenciada/self-hosted basta con cambiar
   esa hoja (o añadir aquí un @font-face con el mismo nombre de familia).     */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-variable-latin.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color — base negro/charcoal + blancos y grises muy claros */
  --c-black: #0f1011;
  --c-charcoal: #1a1c1e;
  --c-charcoal-2: #25282b;
  --c-ink: #141517;            /* titulares */
  --c-text: #2b2e32;           /* texto de lectura */
  --c-muted: #5f656c;          /* texto secundario */
  --c-subtle: #8b9198;
  --c-line: #d9dcdf;
  --c-line-soft: #e8eaeb;
  --c-white: #ffffff;
  --c-offwhite: #f6f6f4;
  --c-gray-50: #f1f2f1;
  --c-gray-100: #e7e9e8;
  --c-sand: #f1ebe4;           /* secundario discreto (Marca privada) */
  /* Sub-marca ECTRIS Cargo (solo en piezas de Cargo, según el wrap oficial) */
  --c-cargo-green: #0e6b45;
  --c-cargo-red: #cf2330;
  --c-whatsapp: #1f8f4e;
  --c-on-dark: #ffffff;
  --c-on-dark-muted: rgba(255, 255, 255, 0.74);
  --c-line-dark: rgba(255, 255, 255, 0.2);
  --c-focus: #1a1c1e;
  --c-focus-on-dark: #ffffff;
  --c-error: #a3262a;
  --c-success: #2f5d3a;

  /* Tipografía */
  --font-brand: "Monument Extended Regular", "Archivo", "Arial Black", sans-serif;
  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --brand-fallback-axes: "wdth" 125, "wght" 820; /* sólo afecta al fallback variable */
  --display-axes: "wdth" 84;                     /* titulares ligeramente condensados */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 820;

  /* Escala tipográfica (fluida) */
  --fs-display: clamp(2.4rem, 1.65rem + 2.9vw, 4.25rem);
  --fs-h1: clamp(2rem, 1.5rem + 1.9vw, 3.15rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-h3: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem);
  --fs-lead: clamp(1.03rem, 0.97rem + 0.25vw, 1.18rem);
  --fs-body: 1rem;
  --fs-small: 0.9rem;
  --fs-xs: 0.78rem;
  --fs-eyebrow: 0.78rem;
  --fs-nav: 0.76rem;
  --lh-tight: 0.98;
  --lh-heading: 1.12;
  --lh-body: 1.6;
  --ls-eyebrow: 0.2em;
  --ls-caps: 0.07em;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --section-y: clamp(3rem, 2.3rem + 2.8vw, 5rem);
  --section-y-sm: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem);

  /* RETÍCULA MAESTRA — un solo container para header, contenido y footer */
  --container-max: 1240px;
  --gutter: clamp(1.25rem, 0.4rem + 3.4vw, 3rem);
  --columns: 12;
  --col-gap: clamp(1rem, 0.4rem + 1.6vw, 2rem);
  --row-gap: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);

  /* Header */
  --header-h: 4.5rem;
  --utility-h: 2.25rem;

  /* Botones */
  --btn-h: 3rem;
  --btn-px: 1.6rem;
  --btn-fs: 0.8rem;
  --btn-fw: 600;
  --btn-ls: 0.08em;

  /* Bordes / radios / sombras */
  --border: 1px solid var(--c-line);
  --border-soft: 1px solid var(--c-line-soft);
  --border-dark: 1px solid var(--c-line-dark);
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(15, 16, 17, 0.06);
  --shadow-2: 0 12px 32px -12px rgba(15, 16, 17, 0.18);
  --shadow-menu: 0 18px 40px -16px rgba(15, 16, 17, 0.25);

  /* Movimiento */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 180ms;

  /* Iconos */
  --icon-stroke: 1.5;
  --icon-badge: 3.5rem;
}

@media (max-width: 1024px) {
  :root { --header-h: 4rem; --icon-badge: 3rem; }
}

/* ---- 02-base-layout.css ---- */
/* ==========================================================================
   BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"], .list-reset { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: var(--fw-bold); color: var(--c-ink); }

:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; }
.on-dark :focus-visible, .section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--c-focus-on-dark); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--c-charcoal); color: var(--c-white); padding: var(--space-3) var(--space-4);
  font-size: var(--fs-small); font-weight: var(--fw-semibold);
}
.skip-link:focus { top: var(--space-3); }

.icon {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: var(--icon-stroke);
  stroke-linecap: round; stroke-linejoin: round;
}

/* ==========================================================================
   LAYOUT — RETÍCULA MAESTRA
   .container es el ÚNICO contenedor del sitio. Header, secciones y footer
   lo usan tal cual. Nada añade márgenes laterales propios.
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Retícula de 12 columnas dentro del container */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--row-gap);
}
.grid > * { grid-column: 1 / -1; min-width: 0; }

/* Spans (desktop) */
@media (min-width: 1025px) {
  .span-2 { grid-column: auto / span 2; } .span-3 { grid-column: auto / span 3; } .span-4 { grid-column: auto / span 4; }
  .span-5 { grid-column: auto / span 5; } .span-6 { grid-column: auto / span 6; } .span-7 { grid-column: auto / span 7; }
  .span-8 { grid-column: auto / span 8; } .span-9 { grid-column: auto / span 9; } .span-12 { grid-column: 1 / -1; }
  .start-1 { grid-column-start: 1; } .start-5 { grid-column-start: 5; } .start-6 { grid-column-start: 6; }
  .start-7 { grid-column-start: 7; } .start-8 { grid-column-start: 8; } .start-9 { grid-column-start: 9; }
  .start-10 { grid-column-start: 10; }
}
/* Spans (tablet) */
@media (max-width: 1024px) {
  .t-span-4 { grid-column: auto / span 4; } .t-span-6 { grid-column: auto / span 6; } .t-span-8 { grid-column: auto / span 8; }
  .t-span-12 { grid-column: 1 / -1; }
}
/* Mobile: todo apila a 12 salvo indicación */
@media (max-width: 640px) {
  .grid > * { grid-column: 1 / -1; }
  .m-span-6 { grid-column: auto / span 6; }
}

/* Geometría para medios "full bleed" que rompen el container.
   Se calculan contra la sección (ancho completo) para que el borde de la
   imagen caiga SIEMPRE sobre una línea de la retícula maestra. */
.section, .hero, .band {
  position: relative;
  --content-w: min(100% - var(--gutter) * 2, var(--container-max));
  --edge: calc((100% - var(--content-w)) / 2);
  --col-w: calc((var(--content-w) - var(--col-gap) * 11) / 12);
}

/* Secciones */
.section { padding-block: var(--section-y); }
.section--sm { padding-block: var(--section-y-sm); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--offwhite { background: var(--c-offwhite); }
.section--gray { background: var(--c-gray-50); }
.section--dark { background: var(--c-charcoal); color: var(--c-on-dark-muted); }
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--c-on-dark); }
.section--line { border-top: var(--border-soft); }

.stack > * + * { margin-top: var(--stack, var(--space-5)); }

/* ---- 03-components-global.css ---- */
/* ==========================================================================
   COMPONENTES BASE — Heading, Eyebrow, Rule, Button, ResponsiveImage
   ========================================================================== */
.heading { color: var(--c-ink); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); line-height: var(--lh-heading); letter-spacing: -0.005em; word-spacing: 0.08em; text-wrap: balance; }
.heading--display { font-size: var(--fs-display); line-height: var(--lh-tight); text-transform: uppercase; letter-spacing: -0.01em; }
.heading--h1 { font-size: var(--fs-h1); line-height: 1.02; text-transform: uppercase; }
.heading--h2 { font-size: var(--fs-h2); }
.heading--h2-caps { font-size: var(--fs-h2); text-transform: uppercase; line-height: 1.04; }
.heading--h3 { font-size: var(--fs-h3); line-height: 1.2; }
.heading--h3-caps { font-size: var(--fs-h3); line-height: 1.15; text-transform: uppercase; }
.heading--light { font-weight: var(--fw-regular); font-variation-settings: "wdth" 100; letter-spacing: 0.02em; }
.heading .line.heading--light { font-size: 0.66em; margin-bottom: 0.1em; }
.heading span.line { display: block; }
.on-dark .heading, .section--dark .heading { color: var(--c-on-dark); }

.subheading { font-size: var(--fs-lead); color: var(--c-ink); font-weight: var(--fw-regular); line-height: 1.3; }
.subheading--caps { text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(1.2rem, 1rem + 1vw, 1.9rem); line-height: 1.12; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text); }
.body-text { color: var(--c-text); max-width: 62ch; }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-small); }

.eyebrow {
  display: block; font-size: var(--fs-eyebrow); font-weight: var(--fw-medium);
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-ink); line-height: 1.5;
}
.eyebrow--muted { color: var(--c-muted); }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--c-on-dark); }

/* Motivo de marca: tres "capas de tarima" apiladas */
.rule {
  display: block; width: 2.75rem; height: 10px; border: 0; color: var(--c-ink);
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 4px / 72% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 8px / 44% 2px no-repeat;
}
.on-dark .rule, .section--dark .rule { color: var(--c-on-dark); }

.markets {
  font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-ink); font-weight: var(--fw-medium);
}
.on-dark .markets { color: var(--c-on-dark); }

/* Button — una sola altura para todos los botones del sitio */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: var(--btn-h); padding: 0 var(--btn-px);
  font-size: var(--btn-fs); font-weight: var(--btn-fw); letter-spacing: var(--btn-ls); text-transform: uppercase; line-height: 1.2;
  border: 1px solid transparent; border-radius: var(--radius-sm); text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn .icon { width: 1.15rem; height: 1.15rem; transition: transform var(--dur) var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--c-charcoal); color: var(--c-white); border-color: var(--c-charcoal); }
.btn--primary:hover { background: var(--c-black); border-color: var(--c-black); }
.btn--light { background: var(--c-white); color: var(--c-charcoal); border-color: var(--c-white); }
.btn--light:hover { background: var(--c-gray-50); }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--outline:hover { background: var(--c-ink); color: var(--c-white); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
@media (max-width: 640px) { .btn:not(.btn--inline) { width: 100%; } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem;
  font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--btn-ls); text-transform: uppercase; color: var(--c-ink);
}
.link-arrow .icon { width: 1.1rem; height: 1.1rem; transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ResponsiveImage — object-fit: cover + focal point desde la Media Matrix */
.media { position: relative; overflow: hidden; background: var(--c-gray-100); aspect-ratio: var(--ratio, 16 / 9); }
.media > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.media--fill { aspect-ratio: auto; height: 100%; }

.icon-badge {
  display: inline-grid; place-items: center; width: var(--icon-badge); height: var(--icon-badge);
  border-radius: 50%; background: var(--c-gray-50); color: var(--c-ink); flex: none;
}
.icon-badge .icon { width: 46%; height: 46%; }
.icon-badge--dark { background: var(--c-charcoal); color: var(--c-white); box-shadow: 0 0 0 4px var(--c-white); }

/* ==========================================================================
   GLOBAL HEADER · DesktopNavigation · ServicesDropdown · MobileNavigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-white);
  border-bottom: var(--border-soft);
  /* Sin backdrop-filter/transform: crearían un containing block para el menú móvil (position: fixed) */
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); height: var(--header-h); }

.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.45rem; color: var(--c-ink); }
.brand__name {
  font-family: var(--font-brand); font-variation-settings: var(--brand-fallback-axes); font-weight: 400;
  font-size: 1.95rem; line-height: 0.82; letter-spacing: 0.005em; text-transform: uppercase;
}
.brand__tagline {
  font-family: var(--font-brand); font-variation-settings: "wdth" 125, "wght" 560; font-weight: 400;
  font-size: 0.47rem; line-height: 1.1; letter-spacing: 0.035em; text-transform: uppercase; white-space: nowrap;
}
.brand { min-width: 0; }
@media (max-width: 640px) { .brand__name { font-size: 1.55rem; } .brand__tagline { font-size: 0.42rem; white-space: normal; max-width: 13.5rem; line-height: 1.35; } }

.nav { align-self: stretch; display: flex; }
.nav__list { display: flex; align-items: stretch; gap: clamp(1.4rem, 2.4vw, 2.75rem); margin: 0; padding: 0; list-style: none; }
.nav__item { position: relative; display: flex; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 0.45em;
  margin: 0; padding: 0; border: 0; background: none;
  font-family: var(--font-sans); font-size: var(--fs-nav); font-weight: var(--fw-medium); line-height: 1;
  letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink); white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(50% - 1.05rem); height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link[aria-current="page"], .nav__link.is-active { font-weight: var(--fw-bold); }
/* La flecha no altera la altura: es más pequeña que la caja de línea y se centra */
.nav__chevron { width: 0.8em; height: 0.8em; stroke-width: 2; transition: transform var(--dur) var(--ease); }
.nav__item--sub[data-open="true"] .nav__chevron { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute; top: calc(100% - 1px); left: -1.25rem; min-width: 17rem;
  margin: 0; padding: 0.5rem 0; list-style: none;
  background: var(--c-white); border: var(--border-soft); border-top: 2px solid var(--c-charcoal); box-shadow: var(--shadow-menu);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.nav__item--sub[data-open="true"] .nav__dropdown {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__dropdown a {
  display: block; padding: 0.8rem 1.25rem; font-size: var(--fs-nav); font-weight: var(--fw-medium);
  letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink); line-height: 1.3;
}
.nav__dropdown a:hover, .nav__dropdown a:focus-visible { background: var(--c-gray-50); }
.nav__dropdown a[aria-current="page"] { font-weight: var(--fw-bold); box-shadow: inset 2px 0 0 var(--c-charcoal); }

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem;
  margin-right: -0.6rem; border: 0; background: none; color: var(--c-ink);
}
.nav-toggle .icon { width: 1.6rem; height: 1.6rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); z-index: 49;
  background: var(--c-white); overflow-y: auto; overscroll-behavior: contain;
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__list { list-style: none; margin: 0; padding: var(--space-4) 0 var(--space-8); }
.mobile-nav__list > li { border-bottom: var(--border-soft); }
.mobile-nav__link {
  display: flex; align-items: center; min-height: 3.5rem;
  font-size: 1rem; font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink);
}
.mobile-nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.mobile-nav__label { display: block; padding-top: var(--space-4); font-size: var(--fs-xs); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-muted); }
.mobile-nav__sub { list-style: none; margin: 0; padding: 0 0 var(--space-3) var(--space-4); border-left: 1px solid var(--c-line); }
.mobile-nav__sub .mobile-nav__link { min-height: 3rem; font-size: 0.92rem; font-weight: var(--fw-medium); }

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 1025px) { .mobile-nav { display: none !important; } }

/* LanguageSwitcher — ES · EN · FR */
.lang-switcher { display: flex; align-items: center; }
.lang-switcher a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.25rem; min-height: 2.75rem;
  font-size: 0.72rem; font-weight: var(--fw-medium); letter-spacing: 0.12em; color: var(--c-muted);
}
.lang-switcher a:hover { color: var(--c-ink); }
.lang-switcher a[aria-current="true"] { color: var(--c-ink); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lang-switcher--header { margin-left: calc(var(--space-2) * -1); padding-left: var(--space-4); border-left: var(--border); align-self: center; height: 1.5rem; }
.lang-switcher--mobile { margin-top: var(--space-5); gap: var(--space-2); }
.lang-switcher--mobile a { min-width: 3rem; border: var(--border); }
.lang-switcher--footer { margin-top: var(--space-5); margin-left: -0.5rem; }
.lang-switcher--footer a { color: var(--c-on-dark-muted); }
.lang-switcher--footer a:hover, .lang-switcher--footer a[aria-current="true"] { color: var(--c-on-dark); }
@media (max-width: 1024px) { .lang-switcher--header { margin-left: auto; } }
@media (max-width: 640px) { .lang-switcher--header { display: none; } }

/* ==========================================================================
   GLOBAL FOOTER — misma retícula maestra que el header
   ========================================================================== */
.site-footer { background: var(--c-black); color: var(--c-on-dark-muted); padding-top: var(--space-9); padding-bottom: var(--space-6); }
.site-footer .brand { color: var(--c-on-dark); }
.site-footer .brand__tagline { padding-bottom: 0.55rem; border-bottom: 1px solid var(--c-line-dark); }
.footer__grid { align-items: start; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.footer__social a, .footer__social span {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: -0.55rem; color: var(--c-on-dark);
}
.footer__social a + a, .footer__social span + a, .footer__social a + span { margin-left: 0; }
.footer__social .icon { width: 1.6rem; height: 1.6rem; }
.footer__social .is-pending { opacity: 0.55; cursor: default; }
.footer__col { padding-left: var(--col-gap); border-left: var(--border-dark); }
.footer__heading { display: block; margin-bottom: var(--space-4); font-size: var(--fs-xs); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-on-dark-muted); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.footer__links a {
  display: inline-flex; align-items: center; min-height: 2rem;
  font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-on-dark);
}
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__claim { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.2; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-on-dark); font-weight: var(--fw-regular); }
.footer__claim + .rule { margin-block: var(--space-4); color: var(--c-on-dark); width: 2rem; height: 1px; }
.footer__markets { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-on-dark); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6);
  margin-top: var(--space-8); padding-top: var(--space-5); border-top: var(--border-dark);
  font-size: var(--fs-xs); color: var(--c-on-dark-muted);
}
@media (max-width: 1024px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col { grid-column: span 4; }
}
@media (max-width: 640px) {
  .footer__col { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: var(--space-5); border-top: var(--border-dark); }
  .footer__bottom { flex-direction: column; }
}

/* ---- 04-components-content.css ---- */
/* ==========================================================================
   HERO v3 — composición enmarcada dentro de la retícula
   Texto (6 col) + imagen enmarcada (6 col). La imagen nunca se estira más
   allá de su resolución útil y el hero no ocupa toda la pantalla.
   Variantes: hero--light · hero--white · hero--dark
   ========================================================================== */
.hero { --hero-bg: var(--c-offwhite); background: var(--hero-bg); padding-block: clamp(2rem, 1.2rem + 3vw, 4rem) clamp(2.5rem, 1.5rem + 3.5vw, 4.75rem); overflow: hidden; }
.hero--white { --hero-bg: var(--c-white); }
.hero--dark { --hero-bg: var(--c-charcoal); color: var(--c-on-dark-muted); }
.hero__inner { align-items: center; row-gap: var(--space-7); }
.hero__content { grid-column: 1 / span 6; container-type: inline-size; }
.hero__content > * + * { margin-top: var(--space-4); }
.hero__content .btn-row, .hero__content .markets { margin-top: var(--space-6); }
.hero__body { max-width: 33rem; color: var(--c-text); font-size: 1.02rem; }
.hero--dark .hero__body, .hero--dark .subheading { color: var(--c-on-dark); }
.hero--dark .heading { color: var(--c-on-dark); }
.hero__media { position: relative; grid-column: 7 / -1; margin: 0; }
.hero__frame { position: relative; aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; background: var(--c-gray-100); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
/* Motivo "capas": dos láminas desplazadas detrás de la imagen */
.hero__media::before, .hero__media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--c-line); pointer-events: none; }
.hero__media::before { transform: translate(-14px, 14px); }
.hero__media::after { transform: translate(-28px, 28px); border-color: var(--c-line-soft); }
.hero--dark .hero__media::before, .hero--dark .hero__media::after { border-color: var(--c-line-dark); }
.hero__frame { z-index: 1; }
.hero__aside {
  position: absolute; z-index: 2; left: calc(var(--space-5) * -1); bottom: var(--space-6); max-width: 70%;
  padding: var(--space-3) var(--space-4); background: var(--c-charcoal); color: var(--c-white); border-left: 3px solid var(--c-white);
  font-size: 0.7rem; font-weight: var(--fw-semibold); letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.6;
}
.hero--dark .hero__aside { background: var(--c-white); color: var(--c-ink); border-left-color: var(--c-charcoal); }
.hero__features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--space-7) !important; list-style: none; padding: 0; }
.hero__features li {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3);
  padding-inline: var(--space-3); border-left: var(--border-dark);
  font-size: 0.7rem; font-weight: var(--fw-semibold); letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-on-dark); line-height: 1.3;
}
.hero__features li:first-child { padding-left: 0; border-left: 0; }
.hero__features .icon { width: 1.9rem; height: 1.9rem; stroke-width: 1.3; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (max-width: 1024px) {
  .hero__content, .hero__media { grid-column: 1 / -1; }
  .hero__media { max-width: 40rem; margin-right: 28px; }
  .hero__aside { left: var(--space-4); }
}
@media (max-width: 640px) {
  .hero__media::after { display: none; }
  .hero__media { margin-right: 14px; }
  .hero__features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-5); }
  .hero__features li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   SECTION INTRO
   ========================================================================== */
.section-intro { margin-bottom: var(--space-7); align-items: end; }
.section-intro .eyebrow + .heading, .section-intro .heading + .subheading { margin-top: var(--space-2); }
.section-intro__lead { color: var(--c-text); }
@media (min-width: 1025px) { .section-intro__lead { text-align: right; } }

.intro-block .rule { margin-block: var(--space-5); }
.intro-block .heading { font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.35rem); }

/* ==========================================================================
   GEOFLOW — Desde México/China → Hacia Estados Unidos/Canadá
   ========================================================================== */
.geo { border: var(--border); background: var(--c-white); padding: var(--space-6); }
.geo__row { display: grid; grid-template-columns: auto minmax(2.5rem, 1fr) auto; align-items: center; gap: var(--space-4); }
.geo__label { display: block; margin-bottom: var(--space-2); font-size: var(--fs-xs); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--c-muted); }
.geo__places { list-style: none; margin: 0; padding: 0; }
.geo__places li { font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem); font-weight: var(--fw-bold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-ink); line-height: 1.45; white-space: nowrap; }
.geo__arrow { position: relative; height: 1px; background: var(--c-ink); margin-top: 1.4rem; }
.geo__arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--c-ink); border-right: 1px solid var(--c-ink); transform: rotate(45deg); }
.geo__claim { margin-top: var(--space-6); padding-top: var(--space-5); border-top: var(--border); font-size: var(--fs-small); font-weight: var(--fw-semibold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-ink); line-height: 1.5; }
@media (max-width: 640px) { .geo { padding: var(--space-5); } .geo__places li { font-size: 0.88rem; } .geo__row { gap: var(--space-3); } }

/* ==========================================================================
   SERVICE CARD
   ========================================================================== */
.card { display: flex; flex-direction: column; height: 100%; background: var(--c-white); }
.card__media { --ratio: 16 / 9; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-4) var(--space-5) var(--space-5); }
.card__title { font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; color: var(--c-ink); line-height: 1; }
.card__subtitle { margin-top: var(--space-2); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink); }
.card__text { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--c-text); line-height: 1.55; }
.card__link { margin-top: auto; padding-top: var(--space-4); }

/* ==========================================================================
   SPLIT v3 — imagen enmarcada (6 col) + contenido (5 col), sin sangrado
   ========================================================================== */
.split__inner { align-items: center; row-gap: var(--space-6); }
.split__media { grid-column: 1 / span 6; margin: 0; position: relative; }
.split__media .media { --ratio: 4 / 3; }
.split__content { grid-column: 8 / -1; container-type: inline-size; }
.split--media-right .split__media { grid-column: 7 / -1; grid-row: 1; }
.split--media-right .split__content { grid-column: 1 / span 5; grid-row: 1; }
.split__content > * + * { margin-top: var(--space-4); }
.split__content .btn { margin-top: var(--space-5); }
@media (max-width: 1024px) {
  .split__media, .split__content, .split--media-right .split__media, .split--media-right .split__content { grid-column: 1 / -1; grid-row: auto; }
  .split__content { max-width: 42rem; }
}

.editorial-title { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.05; }
.soon {
  display: block; font-size: clamp(2.2rem, 11cqi, 4.75rem); line-height: 0.92; font-weight: var(--fw-black);
  font-variation-settings: var(--display-axes); text-transform: uppercase; letter-spacing: -0.02em; color: var(--c-ink);
}
.soon--light { font-size: clamp(2.1rem, 9cqi, 4.25rem); font-weight: 400; font-variation-settings: "wdth" 100; letter-spacing: 0.06em; }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; background: var(--c-white); }
.step__media { --ratio: 16 / 9; }
.step__head { display: flex; align-items: center; gap: var(--space-3); margin: calc(var(--icon-badge) / -2) 0 0 var(--space-5); position: relative; z-index: 1; }
.step__num { display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding: 0 0.5rem; margin-top: calc(var(--icon-badge) / 2); border-radius: var(--radius-pill); background: var(--c-white); border: var(--border); font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--c-ink); }
.step__body { padding: var(--space-4) var(--space-5) var(--space-6); }
.step__title { font-size: 1.12rem; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; line-height: 1.12; color: var(--c-ink); }
.step__text { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--c-text); }

/* variante centrada con icono (Marca propia/privada) */
.steps--icons .step { align-items: center; text-align: center; padding: var(--space-6) var(--space-4); background: var(--c-offwhite); height: 100%; }
.steps--icons .step__index { margin-top: var(--space-4); font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--c-ink); }
.steps--icons .step__title { margin-top: var(--space-2); font-size: 0.95rem; }
.steps--icons .step__text { margin-top: var(--space-3); }
@media (min-width: 1025px) {
  .steps--icons .step:not(:last-child)::after {
    content: ""; position: absolute; top: calc(var(--space-6) + var(--icon-badge) / 2); right: calc(var(--col-gap) / -2 - 5px);
    width: 9px; height: 9px; border-top: 1px solid var(--c-subtle); border-right: 1px solid var(--c-subtle); transform: rotate(45deg);
  }
}
@media (max-width: 640px) {
  .steps--icons .step { flex-direction: row; flex-wrap: wrap; align-items: flex-start; text-align: left; column-gap: var(--space-4); padding: var(--space-5); }
  .steps--icons .step > .icon-badge { flex: none; }
  .steps--icons .step__copy { flex: 1; min-width: 0; }
  .steps--icons .step__index { margin-top: 0; }
}

/* ==========================================================================
   ICON FEATURE — filas de iconos con divisores finos
   ========================================================================== */
.features { --n: 4; --n-t: 2; --n-m: 1; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space-4) var(--space-4); border-left: var(--border); }
.feature:first-child { border-left: 0; }
.feature__title { margin-top: var(--space-4); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink); line-height: 1.3; }
.feature__text { margin-top: var(--space-2); font-size: 0.85rem; color: var(--c-muted); line-height: 1.5; max-width: 28ch; }
.features--lg .feature__title { font-size: var(--fs-small); letter-spacing: 0.16em; }
.features--lg .feature__text { font-size: var(--fs-body); max-width: 32ch; color: var(--c-text); }
.features--plain .feature { padding-block: var(--space-2); }
.features--plain .icon { width: 2rem; height: 2rem; stroke-width: 1.3; color: var(--c-ink); }
.features--plain .feature__title { margin-top: var(--space-3); font-weight: var(--fw-medium); }
.features--left .feature { align-items: flex-start; text-align: left; }
@media (min-width: 1025px) {
  .features { row-gap: var(--space-6); }
}
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(var(--n-t), minmax(0, 1fr)); row-gap: 0; column-gap: var(--col-gap); }
  .feature, .feature:first-child { border-left: 0; border-top: var(--border); padding-block: var(--space-5); }
}
@media (max-width: 640px) {
  .features { grid-template-columns: repeat(var(--n-m), minmax(0, 1fr)); }
}
.sectors { padding-block: var(--space-5); border-top: var(--border-soft); border-bottom: var(--border-soft); }
.sectors__title { margin-bottom: var(--space-5); }

/* Lista de beneficios con icono en línea */
.icon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.icon-list li { display: flex; align-items: center; gap: var(--space-4); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink); line-height: 1.35; }
.icon-list .icon { width: 1.6rem; height: 1.6rem; }
.on-dark .icon-list li, .section--dark .icon-list li { color: var(--c-on-dark); }
.icon-list--lg { gap: var(--space-5); }
.icon-list--lg .icon { width: 2.2rem; height: 2.2rem; stroke-width: 1.3; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.check-list li { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--fs-small); color: var(--c-text); }
.check-list li::before {
  content: ""; flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; border-radius: 50%; background: var(--c-charcoal)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---- 05-components-sections.css ---- */
/* ==========================================================================
   CTA SECTION (band v3) — banda oscura compacta; imagen opcional enmarcada
   ========================================================================== */
.band { --band-bg: var(--c-charcoal); background: var(--band-bg); color: var(--c-on-dark-muted); padding-block: var(--section-y-sm); }
.band--light { --band-bg: var(--c-gray-50); color: var(--c-text); }
.band__inner { align-items: center; row-gap: var(--space-6); }
.band__media { grid-column: 1 / span 4; margin: 0; }
.band__media .media { --ratio: 4 / 3; }
.band__content > * + * { margin-top: var(--space-4); }
.band__content .btn { margin-top: var(--space-5); }
.band .heading { color: var(--c-on-dark); }
.band--light .heading { color: var(--c-ink); }
.band__text { color: var(--c-on-dark); font-size: var(--fs-lead); line-height: 1.45; max-width: 36rem; }
.band--light .band__text { color: var(--c-text); }
.band__aside { padding-left: var(--col-gap); border-left: var(--border-dark); }
.band--light .band__aside { border-left: var(--border); }
.band__actions { display: flex; justify-content: flex-end; }
.on-dark .icon-list li, .on-dark .feature__title, .on-dark .features--plain .icon { color: var(--c-on-dark); }
.on-dark .feature { border-color: var(--c-line-dark); }
.on-dark .rule { color: var(--c-on-dark); }
@media (max-width: 1024px) {
  .band__media { grid-column: 1 / -1; max-width: 32rem; }
  .band__aside { padding-left: 0; border-left: 0; padding-top: var(--space-5); border-top: var(--border-dark); }
  .band--light .band__aside { border-top: var(--border); }
  .band__actions { justify-content: flex-start; }
}

/* ==========================================================================
   PANEL — tarjetas amplias con imagen (Marca propia/privada, Transporte, Marketplace)
   ========================================================================== */
.panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.58fr); height: 100%; background: var(--c-gray-50); overflow: hidden; }
.panel--media-first { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); }
.panel--sand { background: var(--c-sand); }
.panel--white { background: var(--c-white); border: var(--border-soft); }
.panel--solo { grid-template-columns: minmax(0, 1fr); }
.panel__body { display: flex; flex-direction: column; padding: clamp(1.5rem, 0.9rem + 2vw, 2.75rem); }
.panel__body > * + * { margin-top: var(--space-4); }
.panel__body .check-list, .panel__body .modes { margin-top: var(--space-6); }
.panel__body .btn, .panel__body .panel__cta { margin-top: auto; }
.panel__body .panel__cta-wrap { margin-top: auto; padding-top: var(--space-6); }
.panel__media { position: relative; margin: 0; min-height: 14rem; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focal, 50% 50%); }
.panel__stack { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--c-white); }
.panel__stack .panel__media { min-height: 7rem; }
.panel__head { display: flex; align-items: flex-start; gap: var(--space-4); }
.panel__head .icon { width: 2.6rem; height: 2.6rem; stroke-width: 1.3; color: var(--c-ink); flex: none; }
.panel__title { font-size: clamp(1.4rem, 1rem + 1vw, 1.95rem); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; line-height: 1.02; color: var(--c-ink); }
.panel__title .thin { font-weight: 300; }
.panel__label { display: block; margin-top: var(--space-1); font-size: var(--fs-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); font-weight: var(--fw-regular); }
.panel__subtitle { font-size: var(--fs-lead); color: var(--c-ink); line-height: 1.3; }
.panel__eyebrow { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink); }
.panel__icon-corner { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); }
.panel__icon-corner .icon { width: 2.6rem; height: 2.6rem; stroke-width: 1.3; color: var(--c-ink); flex: none; }
@media (max-width: 640px) {
  .panel, .panel--media-first { grid-template-columns: minmax(0, 1fr); }
  .panel__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
  .panel__stack { order: -1; grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .panel__stack .panel__media { aspect-ratio: 1 / 1; }
}

.modes { display: flex; flex-wrap: wrap; gap: var(--space-5); list-style: none; padding: 0; }
.modes li { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink); }
.modes .icon-badge { background: var(--c-white); border: var(--border); width: 3.5rem; height: 3.5rem; }
.cargo-title .brand-word { font-family: var(--font-brand); font-variation-settings: var(--brand-fallback-axes); font-weight: 400; }

/* ==========================================================================
   LOCATION CARD
   ========================================================================== */
.location { display: flex; flex-direction: column; height: 100%; background: var(--c-white); }
.location__media { --ratio: 16 / 10; }
.location__body { padding: var(--space-4) var(--space-4) var(--space-5); }
.location__city { font-size: 1.05rem; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; color: var(--c-ink); line-height: 1.1; }
.location__country { font-size: var(--fs-small); color: var(--c-muted); }
.location__text { margin-top: var(--space-3); font-size: 0.85rem; color: var(--c-text); line-height: 1.5; }
.country-index { list-style: none; margin: 0; padding: 0; border-top: var(--border); }
.country-index li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-4); padding: var(--space-3) 0; border-bottom: var(--border); font-size: var(--fs-small); }
.country-index strong { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; }

/* ==========================================================================
   TIMELINE (Nosotros)
   ========================================================================== */
.timeline { position: relative; display: flex; justify-content: space-between; list-style: none; margin: var(--space-7) 0 0; padding: 0; }
.timeline::before { content: ""; position: absolute; left: 0.3rem; right: 0.3rem; bottom: 0.32rem; border-top: 1px dashed var(--c-subtle); }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink); }
.timeline li:first-child { align-items: flex-start; }
.timeline li:last-child { align-items: flex-end; }
.timeline li::after { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--c-ink); }
.timeline-caption { margin-top: var(--space-5); text-align: right; font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); line-height: 1.7; }

.figure-bleed { margin: 0; }
.figure-bleed .media { --ratio: 16 / 10; }

/* ==========================================================================
   MARKETPLACE TEASER / CONTACT FORM / FORMULARIOS
   ========================================================================== */
.chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.35rem 0.75rem; border: 1px solid currentColor; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-ink); }

.form { display: grid; gap: var(--space-5); align-content: start; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-5); }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: var(--space-2); align-content: start; }
.field__label { font-size: 0.88rem; font-weight: var(--fw-medium); color: var(--c-ink); }
.field__label .muted { font-weight: var(--fw-regular); }
.input, .select, .textarea {
  width: 100%; min-height: 3.1rem; padding: 0.75rem 0.95rem; border: var(--border); border-radius: var(--radius-sm);
  background: var(--c-white); color: var(--c-ink); font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--c-subtle); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-subtle); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 1px var(--c-ink); }
.select {
  appearance: none; padding-right: 2.75rem; cursor: pointer;
  background: var(--c-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141517' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 0.9rem center / 1.1rem no-repeat;
}
.select:invalid { color: var(--c-subtle); }
.textarea { min-height: 9rem; resize: vertical; }
.field__meta { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-xs); color: var(--c-muted); }
.field__error { font-size: var(--fs-xs); color: var(--c-error); font-weight: var(--fw-medium); }
.field__error:empty { display: none; }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea, .input[aria-invalid="true"] { border-color: var(--c-error); }
.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset__legend { padding: 0; }

/* Selección múltiple en tarjetas (checkbox) */
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); list-style: none; padding: 0; }
@media (max-width: 1024px) { .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .choices { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); } }
.choice { position: relative; display: block; height: 100%; cursor: pointer; }
.choice__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__ui {
  position: relative; display: flex; flex-direction: column; height: 100%; min-height: 10.5rem;
  padding: var(--space-5); border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-white);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.choice__ui .icon { width: 2.2rem; height: 2.2rem; stroke-width: 1.4; color: var(--c-ink); }
.choice__title { margin-top: var(--space-4); font-size: var(--fs-small); font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-ink); }
.choice__text { margin-top: var(--space-2); font-size: 0.88rem; color: var(--c-text); line-height: 1.45; }
.choice__check { position: absolute; top: var(--space-4); right: var(--space-4); width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--c-subtle); border-radius: 3px; background: var(--c-white); }
.choice:hover .choice__ui { border-color: var(--c-subtle); }
.choice__input:checked + .choice__ui { border-color: var(--c-ink); box-shadow: inset 0 0 0 1px var(--c-ink); background: var(--c-gray-50); }
.choice__input:checked + .choice__ui .choice__check {
  border-color: var(--c-charcoal);
  background: var(--c-charcoal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 78% no-repeat;
}
.choice__input:focus-visible + .choice__ui { outline: 2px solid var(--c-focus); outline-offset: 3px; }
@media (max-width: 640px) {
  .choice__ui { min-height: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--space-4); padding-right: 3.25rem; }
  .choice__ui .icon { grid-row: span 2; }
  .choice__title { margin-top: 0; }
}

/* Segmentado (radio) — Marketplace: comprador / vendedor / ambos */
.segmented { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented span {
  display: inline-flex; align-items: center; min-height: 2.9rem; padding: 0 1.2rem; border: var(--border); border-radius: var(--radius-sm); background: var(--c-white);
  font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink);
}
.segmented input:checked + span { background: var(--c-charcoal); color: var(--c-white); border-color: var(--c-charcoal); }
.segmented input:focus-visible + span { outline: 2px solid var(--c-focus); outline-offset: 3px; }

.form-status { padding: var(--space-4) var(--space-5); border-left: 3px solid var(--c-success); background: var(--c-gray-50); font-size: var(--fs-small); color: var(--c-ink); }
.form-status[data-state="error"] { border-left-color: var(--c-error); }
.form-status[hidden] { display: none; }

.contact-aside { padding-left: var(--col-gap); border-left: var(--border); }
.contact-aside > * + * { margin-top: var(--space-7); }
@media (max-width: 1024px) { .contact-aside { padding-left: 0; border-left: 0; padding-top: var(--space-8); border-top: var(--border); } }
.assistant { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4) var(--space-5); align-items: start; }
.assistant .icon-badge { width: 4.25rem; height: 4.25rem; }
.assistant__title { font-size: var(--fs-lead); color: var(--c-ink); line-height: 1.3; }
.assistant__title strong { display: block; font-weight: var(--fw-black); }
.assistant__body { grid-column: 1 / -1; color: var(--c-text); }
.contact-list { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: var(--space-4); min-height: 2.75rem; font-size: 1.05rem; color: var(--c-ink); }
.contact-list .icon { width: 1.5rem; height: 1.5rem; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.closing-line { font-size: var(--fs-xs); letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-muted); }
.divider-title { display: grid; grid-template-columns: minmax(1rem, 1fr) auto minmax(1rem, 1fr); align-items: center; gap: var(--space-5); text-align: center; }
.divider-title::before, .divider-title::after { content: ""; border-top: var(--border); }

/* Utilidades mínimas de alineación vertical dentro de la retícula */
.align-center { align-items: center; }
.align-end { align-items: end; }
.self-end { align-self: end; }
.ectris-inline { font-family: var(--inline-brand-font, inherit); }

/* Ajustes de página (sin duplicar componentes) */
.eyebrow-brand { display: block; margin-bottom: 0.35em; font-family: var(--font-brand); font-variation-settings: var(--brand-fallback-axes); font-weight: 400; font-size: 0.3em; letter-spacing: 0.45em; line-height: 1; }

/* ---- 06-components-creative.css ---- */
/* ==========================================================================
   COMPONENTES v2 — cadena ECTRIS, red de consolidación, tarima por capas,
   flujos numerados, comparativa, manifiesto, armador de tarimas (demo),
   cierre, y animaciones de entrada. Todo usa los tokens de 01-tokens.css.
   ========================================================================== */

/* Utilidades */
.lead--on-dark, .section--dark .lead { color: var(--c-on-dark); }
.section--dark .body-text, .section--dark .small { color: var(--c-on-dark-muted); }
.hero__index {
  font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-muted);
}
.hero--dark .hero__index { color: var(--c-on-dark-muted); }
.btn--outline-light { background: transparent; color: var(--c-white); border-color: rgba(255, 255, 255, 0.5); }
.btn--outline-light:hover { border-color: var(--c-white); background: rgba(255, 255, 255, 0.08); }
.btn .icon:first-child:not(:last-child) { order: -1; }

/* ---- Animaciones de entrada (solo con JS, respetan reduced-motion) ---- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__stagger .line { opacity: 0; transform: translateY(0.35em); animation: rise 800ms var(--ease) forwards; }
.js .hero__stagger .line:nth-child(2) { animation-delay: 140ms; }
.js .hero__stagger .line:nth-child(3) { animation-delay: 280ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__stagger .line { opacity: 1; transform: none; animation: none; }
}

/* ---- ServiceCard v2: número de paso ---- */
.card__head { display: flex; align-items: flex-end; justify-content: space-between; margin: calc(var(--icon-badge) / -2) var(--space-5) 0; position: relative; z-index: 1; }
.card__num {
  transform: translateY(0.95rem); font-size: 2.3rem; line-height: 0.8; font-weight: var(--fw-black); font-variation-settings: var(--display-axes);
  color: transparent; -webkit-text-stroke: 1px var(--c-subtle);
}

/* ---- Cadena ECTRIS (navegación entre servicios) ---- */
.chain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; position: relative; }
.chain::before { content: ""; position: absolute; left: 0; right: 0; top: 0.55rem; border-top: 1px solid var(--c-line); }
.chain__link {
  position: relative; display: grid; align-content: start; gap: 0.2rem; padding: 2rem var(--space-4) var(--space-4) 0; height: 100%;
  transition: background-color var(--dur) var(--ease);
}
.chain__node { position: absolute; top: 0; left: 0; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--c-ink); background: var(--c-white); transition: transform var(--dur) var(--ease); }
.chain__num { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.14em; color: var(--c-muted); }
.chain__title { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.9rem); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; color: var(--c-ink); line-height: 1; }
.chain__sub { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-text); }
.chain__here { display: none; margin-top: var(--space-2); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.chain__link:hover .chain__node { transform: scale(1.25); }
.chain__link:hover .chain__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.chain__link[aria-current="page"] .chain__node { background: var(--c-ink); box-shadow: 0 0 0 5px var(--c-gray-100); }
.chain__link[aria-current="page"] .chain__here { display: block; }
@media (max-width: 640px) {
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-5); }
  .chain::before { display: none; }
  .chain__link { border-top: 1px solid var(--c-line); }
  .chain__node { top: -0.55rem; }
}

/* ---- Red de consolidación ---- */
.network { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.9fr) minmax(0, 1fr); margin-top: calc(var(--space-8) + 1rem); }
.network__col { position: relative; }
.network__label {
  position: absolute; bottom: calc(100% + var(--space-3)); left: 0;
  font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.24em; text-transform: uppercase; color: var(--c-ink);
}
.network__col--to .network__label { left: auto; right: 0; }
.network__nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, minmax(4.75rem, 1fr)); gap: var(--space-3); height: 100%; }
.network__nodes li {
  display: flex; flex-direction: column; justify-content: center; padding: var(--space-3) var(--space-5);
  border: var(--border); background: var(--c-white); position: relative;
}
.network__col--to .network__nodes li { text-align: right; }
.network__nodes strong { font-size: 1.05rem; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; letter-spacing: 0.02em; }
.network__nodes span { font-size: var(--fs-small); color: var(--c-muted); }
.network__hub { position: relative; display: grid; place-items: center; }
.network__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.network__lines path { fill: none; stroke: var(--c-ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-dasharray: 3 5; }
.js .network .network__lines path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease); }
.js .network.is-in .network__lines path { stroke-dashoffset: 0; }
.network__core {
  position: relative; z-index: 1; display: grid; place-items: center; width: 7.5rem; height: 7.5rem; padding: var(--space-3);
  border-radius: 50%; background: var(--c-charcoal); color: var(--c-white); text-align: center;
  font-size: 0.7rem; font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3;
  box-shadow: 0 0 0 8px var(--c-white), 0 0 0 9px var(--c-line);
}
@media (max-width: 640px) {
  .network { grid-template-columns: minmax(0, 1fr); margin-top: var(--space-6); gap: var(--space-5); }
  .network__label { position: static; margin-bottom: var(--space-3); }
  .network__col--to .network__label { text-align: left; }
  .network__col--to .network__nodes li { text-align: left; }
  .network__nodes { grid-template-rows: none; height: auto; }
  .network__lines { display: none; }
  .network__hub::before { content: ""; position: absolute; top: -1.25rem; bottom: -1.25rem; left: 50%; border-left: 1px dashed var(--c-ink); }
  .network__core { width: 6.5rem; height: 6.5rem; }
}

/* Pasos breves (sobre fondo oscuro o claro) */
.mini-steps { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-5); }
.mini-steps li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: var(--space-4); padding-top: var(--space-4); border-top: var(--border); }
.on-dark .mini-steps li { border-top: var(--border-dark); }
.mini-steps__num { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.14em; color: var(--c-muted); padding-top: 0.2rem; }
.on-dark .mini-steps__num { color: var(--c-on-dark-muted); }
.mini-steps h3 { font-size: var(--fs-small); font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); }
.on-dark .mini-steps h3 { color: var(--c-on-dark); }
.mini-steps p { margin-top: var(--space-1); font-size: var(--fs-small); color: var(--c-text); }
.on-dark .mini-steps p { color: var(--c-on-dark-muted); }

/* ---- Flujo numerado ---- */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--row-gap) var(--col-gap); }
.flow--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.flow__item { position: relative; padding-top: var(--space-5); border-top: 1px solid var(--c-line); }
.on-dark .flow__item { border-top-color: var(--c-line-dark); }
.flow__item::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.flow__num {
  display: block; font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); line-height: 0.9; font-weight: var(--fw-black); font-variation-settings: var(--display-axes);
  color: transparent; -webkit-text-stroke: 1px var(--c-ink); opacity: 0.5;
}
.flow__title { margin-top: var(--space-4); font-size: var(--fs-small); font-weight: var(--fw-bold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink); line-height: 1.35; }
.on-dark .flow__title { color: var(--c-on-dark); }
.flow__text { margin-top: var(--space-2); font-size: var(--fs-small); color: var(--c-text); }
.on-dark .flow__text { color: var(--c-on-dark-muted); }
.on-dark .flow__num { -webkit-text-stroke-color: var(--c-on-dark); }
.flow__item--key { border-top-width: 3px; }
.flow__item--key .flow__num { opacity: 1; }
@media (max-width: 1024px) { .flow--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .flow--row, .flow--three, .flow--grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Comparativa ---- */
.compare { width: 100%; border-collapse: collapse; }
.compare thead th { padding: 0 var(--space-4) var(--space-4); text-align: left; vertical-align: bottom; font-size: var(--fs-small); font-weight: var(--fw-black); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink); border-bottom: 2px solid var(--c-ink); }
.compare thead th span { display: block; margin-top: 0.2rem; font-weight: var(--fw-regular); font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: 0.1em; }
.compare thead td { border-bottom: 2px solid var(--c-ink); }
.compare tbody th { padding: var(--space-5) var(--space-4) var(--space-5) 0; text-align: left; vertical-align: top; width: 28%; font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-muted); }
.compare tbody td { padding: var(--space-5) var(--space-4); vertical-align: top; color: var(--c-ink); font-size: 1.02rem; line-height: 1.45; }
.compare tbody tr { border-bottom: var(--border); }
.compare tbody td:last-child { background: var(--c-sand); }
@media (max-width: 640px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tbody tr { padding-block: var(--space-4); }
  .compare tbody th { padding: 0 0 var(--space-2); }
  .compare tbody td { padding: var(--space-3) var(--space-4); }
  .compare tbody td::before { content: attr(data-label); display: block; margin-bottom: 0.15rem; font-size: 0.7rem; font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
}

/* ---- Manifiesto ---- */
.manifesto { padding-block: var(--section-y-sm); border-bottom: var(--border-soft); }
.manifesto__mark { grid-column: 1 / span 1 !important; font-size: clamp(4rem, 3rem + 3vw, 6.5rem); line-height: 0.7; font-weight: var(--fw-black); color: var(--c-gray-100); margin: 0; }
.manifesto__text { grid-column: 2 / span 10; }
@media (max-width: 1024px) { .manifesto__text { grid-column: 1 / -1; } }
.manifesto__title { font-size: var(--fs-h2); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; color: var(--c-ink); line-height: 1.05; }
.manifesto__body { margin-top: var(--space-3); max-width: 46rem; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); line-height: 1.35; color: var(--c-text); }
@media (max-width: 1024px) { .manifesto__mark { display: none; } }

/* ---- Ubicaciones agrupadas ---- */
.loc-group + .loc-group { margin-top: var(--space-8); }
.loc-group__label { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-ink); }
.loc-group__label span { padding: 0.3rem 0.7rem; background: var(--c-charcoal); color: var(--c-white); }
.location { border: var(--border-soft); }

/* ---- Enfoque (Nosotros) ---- */
.verbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); list-style: none; margin: 0; padding: 0; }
.verbs li { display: grid; gap: var(--space-3); padding-top: var(--space-5); border-top: var(--border-dark); }
.verbs__num { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.14em; color: var(--c-on-dark-muted); }
.verbs__word { font-size: clamp(1.9rem, 1.3rem + 2vw, 3.1rem); line-height: 0.95; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; color: var(--c-on-dark); overflow-wrap: anywhere; }
.verbs__body { font-size: var(--fs-lead); color: var(--c-on-dark-muted); }
@media (max-width: 640px) { .verbs { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); } }

/* ---- Marketplace: fila de principios ---- */
.tick-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); list-style: none; margin: 0; padding: 0; }
.tick-row li { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-ink); }
.tick-row .icon { width: 1.25rem; height: 1.25rem; }

/* ---- Cierre ---- */
.closing { background: var(--c-charcoal); color: var(--c-on-dark-muted); padding-block: var(--section-y); border-bottom: var(--border-dark); }
.closing .rule { color: var(--c-on-dark); margin-bottom: var(--space-5); }
.closing__title { font-size: var(--fs-h2); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); color: var(--c-on-dark); line-height: 1.05; text-wrap: balance; }
.closing__body { margin-top: var(--space-4); font-size: var(--fs-lead); color: var(--c-on-dark-muted); }
.closing__actions { display: flex; justify-content: flex-end; }
@media (max-width: 1024px) { .closing__actions { justify-content: flex-start; } }

/* ---- 07-components-v3.css ---- */
/* ==========================================================================
   COMPONENTES v3 — barra de contacto, WhatsApp, cifras, recorrido de verbos,
   puntos de entrada, cita, banda ECTRIS Cargo, canales de contacto.
   ========================================================================== */

/* ---- UtilityBar (solo escritorio): mercados + canales + idioma ---- */
.utility { background: var(--c-black); color: var(--c-on-dark-muted); font-size: 0.72rem; letter-spacing: 0.06em; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--utility-h); }
.utility__markets { font-weight: var(--fw-semibold); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-on-dark); }
.utility__links { display: flex; align-items: center; gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.utility__links a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: var(--utility-h); color: var(--c-on-dark-muted); }
.utility__links a:hover { color: var(--c-on-dark); }
.utility__links .icon { width: 0.95rem; height: 0.95rem; stroke-width: 1.8; }
.utility .lang-switcher a { min-height: var(--utility-h); min-width: 2rem; color: var(--c-on-dark-muted); font-size: 0.68rem; }
.utility .lang-switcher a[aria-current="true"], .utility .lang-switcher a:hover { color: var(--c-on-dark); }
.utility .lang-switcher { padding-left: var(--space-4); border-left: var(--border-dark); }
.utility :focus-visible { outline-color: var(--c-focus-on-dark); }
@media (max-width: 1024px) { .utility { display: none; } }
@media (min-width: 1025px) { .lang-switcher--header { display: none; } }

/* ---- Botón flotante de WhatsApp ---- */
.wa-float {
  position: fixed; right: clamp(1rem, 0.6rem + 1vw, 1.75rem); bottom: clamp(1rem, 0.6rem + 1vw, 1.75rem); z-index: 40;
  display: inline-flex; align-items: center; gap: 0.6rem; height: 3.25rem; padding: 0 1.1rem 0 0.95rem; border-radius: var(--radius-pill);
  background: var(--c-whatsapp); color: var(--c-white); box-shadow: 0 10px 28px -10px rgba(15, 16, 17, 0.55);
  font-size: 0.74rem; font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: #177a41; }
.wa-float .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.6; }
.wa-float:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 3px; }
@media (max-width: 640px) { .wa-float { width: 3.25rem; padding: 0; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
body.is-locked .wa-float { display: none; }

/* ---- Cifras de experiencia ---- */
.stats { background: var(--c-charcoal); color: var(--c-on-dark); }
.stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.stats__item { padding: var(--space-6) var(--space-5); border-left: var(--border-dark); }
.stats__item:first-child { padding-left: 0; border-left: 0; }
.stats__value { display: block; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem); line-height: 1; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); letter-spacing: -0.01em; color: var(--c-on-dark); white-space: nowrap; }
.stats__label { display: block; margin-top: var(--space-2); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-on-dark-muted); line-height: 1.45; }
@media (max-width: 1024px) {
  .stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: var(--border-dark); }
}
@media (max-width: 640px) { .stats__item { padding: var(--space-5) var(--space-3); } }

/* ---- Recorrido: BUSCAMOS → … → MOVEMOS ---- */
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) 0; list-style: none; margin: 0; padding: var(--space-4) 0; border-top: var(--border); border-bottom: var(--border); }
.strip li { display: inline-flex; align-items: center; font-size: clamp(0.72rem, 0.66rem + 0.25vw, 0.86rem); font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-ink); }
.strip li + li::before { content: ""; width: clamp(1rem, 0.4rem + 1.8vw, 2.25rem); height: 1px; margin-inline: var(--space-3); background: currentColor; opacity: 0.5; }
.strip li:last-child span { padding: 0.35rem 0.7rem; background: var(--c-charcoal); color: var(--c-white); }
@media (max-width: 640px) {
  .strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
  .strip li + li::before { display: none; }
  .strip li { gap: var(--space-2); }
  .strip li:last-child { justify-self: start; }
}

/* ---- Puntos de entrada ("¿En qué punto estás?") ---- */
.entry { display: flex; flex-direction: column; height: 100%; background: var(--c-white); border: var(--border-soft); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.entry:hover { border-color: var(--c-ink); box-shadow: var(--shadow-2); }
.entry__media { --ratio: 16 / 10; }
.entry__body { display: flex; flex-direction: column; flex: 1; gap: var(--space-3); padding: var(--space-5); }
.entry__quote { position: relative; padding-left: var(--space-4); border-left: 2px solid var(--c-ink); font-size: 0.98rem; line-height: 1.4; color: var(--c-ink); font-style: italic; }
.entry__service { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-4); border-top: var(--border-soft); }
.entry__num { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.14em; color: var(--c-muted); }
.entry__title { font-size: 1.3rem; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; color: var(--c-ink); line-height: 1; }
.entry__sub { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text); }
.entry__text { font-size: var(--fs-small); color: var(--c-text); }
.entry .link-arrow { min-height: 2.25rem; }
.entry a.stretched::after { content: ""; position: absolute; inset: 0; }
.entry { position: relative; }

/* ---- Cita destacada ---- */
.quote-block { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.quote-block__mark { font-size: clamp(3.5rem, 2.8rem + 2.4vw, 5.5rem); line-height: 0.75; font-weight: var(--fw-black); color: var(--c-on-dark-muted); }
.quote-block__text { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.12; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); color: var(--c-on-dark); text-wrap: balance; }
.quote-block__after { margin-top: var(--space-4); font-size: var(--fs-lead); color: var(--c-on-dark-muted); }

/* ---- Participantes de la red ---- */
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.tags li { padding: 0.4rem 0.8rem; border: var(--border); background: var(--c-white); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.06em; color: var(--c-ink); }
.markets-lockup { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4); }
.markets-lockup strong { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); letter-spacing: 0.08em; color: var(--c-ink); text-transform: uppercase; }
.markets-lockup span { font-size: var(--fs-small); color: var(--c-muted); }

/* ---- Ubicaciones compactas ---- */
.loc-mini { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-4); align-items: start; padding: var(--space-3); background: var(--c-white); border: var(--border-soft); height: 100%; }
.loc-mini .media { --ratio: 1 / 1; }
.loc-mini__city { font-size: 0.98rem; font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; color: var(--c-ink); line-height: 1.1; }
.loc-mini__country { font-size: var(--fs-xs); color: var(--c-muted); letter-spacing: 0.04em; }
.loc-mini__text { margin-top: var(--space-2); font-size: 0.84rem; line-height: 1.45; color: var(--c-text); }

/* ---- ECTRIS Cargo (sub-marca con identidad propia del wrap) ---- */
.tricolor { display: flex; height: 6px; width: 7.5rem; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--c-cargo-green); }
.tricolor span:nth-child(2) { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
.tricolor span:nth-child(3) { background: var(--c-cargo-red); }
.cargo-logo { display: inline-grid; justify-items: end; gap: 0.2rem; }
.cargo-logo__word { font-family: var(--font-brand); font-variation-settings: var(--brand-fallback-axes); font-weight: 400; font-size: clamp(2rem, 1.5rem + 1.8vw, 3.1rem); line-height: 0.85; color: var(--c-ink); letter-spacing: 0.01em; }
.cargo-logo__bar { display: flex; align-items: center; gap: 0.5rem; width: 100%; }
.cargo-logo__bar::before { content: ""; flex: 1; height: 0.42em; background: var(--c-cargo-red); }
.cargo-logo__sub { font-size: clamp(0.9rem, 0.75rem + 0.5vw, 1.25rem); font-weight: var(--fw-black); letter-spacing: 0.06em; color: var(--c-cargo-green); line-height: 1; }
.on-dark .cargo-logo__word { color: var(--c-white); }
.cargo-band { position: relative; background: var(--c-offwhite); overflow: hidden; }
.cargo-band::before {
  content: ""; position: absolute; right: -24%; top: -40%; width: 60%; height: 180%; pointer-events: none; opacity: 0.55;
  background:
    radial-gradient(ellipse at 100% 50%, transparent 58%, var(--c-cargo-red) 58.4%, var(--c-cargo-red) 60%, transparent 60.4%),
    radial-gradient(ellipse at 100% 50%, transparent 62%, var(--c-line) 62.3%, var(--c-line) 63.2%, transparent 63.5%),
    radial-gradient(ellipse at 100% 50%, transparent 65%, var(--c-cargo-green) 65.4%, var(--c-cargo-green) 67%, transparent 67.4%);
}
.cargo-band .container { position: relative; }
.cargo-band__inner { align-items: center; row-gap: var(--space-6); }
.cargo-band__media { grid-column: 1 / span 7; margin: 0; }
.cargo-band__media .media { --ratio: 16 / 7; background: transparent; }
.cargo-band__content { grid-column: 9 / -1; }
.cargo-band__content > * + * { margin-top: var(--space-4); }
.cargo-markets { font-size: var(--fs-small); font-weight: var(--fw-bold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-ink); }
@media (max-width: 1024px) {
  .cargo-band__media, .cargo-band__content { grid-column: 1 / -1; }
  .cargo-band::before { display: none; }
}

/* Panel ECTRIS Cargo (Transporte): imagen apaisada arriba */
.panel--cargo, .panel--freight { grid-template-rows: auto 1fr; align-content: stretch; }
.panel--cargo { grid-template-columns: minmax(0, 1fr); background: var(--c-white); border: var(--border-soft); border-top: 4px solid var(--c-cargo-red); }
.panel--cargo .panel__media { order: -1; aspect-ratio: 16 / 7; min-height: 0; }
.panel--freight { grid-template-columns: minmax(0, 1fr); border-top: 4px solid var(--c-charcoal); }
.panel--freight .panel__stack { order: -1; grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel--freight .panel__stack .panel__media { aspect-ratio: 16 / 9; min-height: 0; }

/* ---- Canales de contacto ---- */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.channel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem var(--space-4); align-items: center; height: 100%; padding: var(--space-4) var(--space-5); border: var(--border); background: var(--c-white); color: var(--c-ink); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
a.channel:hover { border-color: var(--c-ink); }
.channel .icon { grid-row: span 2; width: 1.6rem; height: 1.6rem; }
.channel__label { font-size: 0.68rem; font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.channel__value { font-size: 1.02rem; font-weight: var(--fw-semibold); letter-spacing: 0.01em; white-space: nowrap; }
.channel__alt { grid-column: 2; font-size: var(--fs-xs); color: var(--c-muted); }
.on-dark .channel { background: transparent; border-color: var(--c-line-dark); color: var(--c-on-dark); }
.on-dark a.channel:hover { border-color: var(--c-on-dark); }
.on-dark .channel__label, .on-dark .channel__alt { color: var(--c-on-dark-muted); }
.channel--wa .icon { color: var(--c-whatsapp); }
.on-dark .channel--wa .icon { color: #5fd08f; }
@media (max-width: 1024px) { .channels { grid-template-columns: minmax(0, 1fr); } .channels--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .channels--row { grid-template-columns: minmax(0, 1fr); } }

/* ---- Rear van / mensaje comercial ---- */
.poster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; background: var(--c-white); border: var(--border-soft); }
.poster__media { margin: 0; }
.poster__media .media { --ratio: 4 / 4.2; height: 100%; }
.poster__body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-4); padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.poster__title { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); font-weight: var(--fw-black); font-variation-settings: var(--display-axes); text-transform: uppercase; line-height: 1; color: var(--c-ink); }
@media (max-width: 640px) { .poster { grid-template-columns: minmax(0, 1fr); } .poster__media .media { --ratio: 4 / 3; } }

/* ---- Ajustes de escala v3 ---- */
.subheading--caps { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem); }
.closing__title { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.3rem) !important; }
.closing .channels { margin-top: var(--space-6); }
.heading--display .line.eyebrow-brand { font-size: 0.32em; }
.section--tight { padding-block: var(--section-y-sm); }

/* ---- Footer: contacto directo ---- */
.footer__contact { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: 0.1rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 2.25rem; font-size: var(--fs-small); color: var(--c-on-dark); }
.footer__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__contact .icon { width: 1.1rem; height: 1.1rem; }
.footer__social { margin-top: var(--space-3) !important; }
.mobile-nav__channels { margin-top: var(--space-5); }

/* ---- Complementos v3 ---- */
.markets__plus { font-weight: var(--fw-regular); letter-spacing: 0.08em; color: var(--c-muted); text-transform: none; }
.hero--dark .markets__plus { color: var(--c-on-dark-muted); }
.hero__media--plain::before, .hero__media--plain::after { display: none; }
.hero__media--plain .channels { grid-template-columns: minmax(0, 1fr); }
.hero__media--plain .channel { padding-block: var(--space-5); }
.hero__media--plain .channel__value { font-size: 1.2rem; }
.cargo-logo__sub { text-transform: uppercase; }
.cargo-logo__word { text-transform: uppercase; }
.brand-lockup { display: inline-grid; gap: 0.35rem; margin-top: var(--space-6) !important; padding-top: var(--space-5); border-top: var(--border); }
.brand-lockup__name { font-family: var(--font-brand); font-variation-settings: var(--brand-fallback-axes); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); line-height: 0.85; color: var(--c-ink); text-transform: uppercase; }
.brand-lockup__tag { font-family: var(--font-brand); font-variation-settings: "wdth" 125, "wght" 560; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink); }
.exp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.exp-list li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); border: var(--border); font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-ink); }
.exp-list .icon { width: 1.6rem; height: 1.6rem; flex: none; }
@media (max-width: 640px) { .exp-list { grid-template-columns: minmax(0, 1fr); } }
.hero--dark .hero__frame { background: var(--c-charcoal-2); }

/* ---- 08-utilities.css ---- */
/* ==========================================================================
   UTILIDADES — última capa: ganan sobre los componentes (mismo nivel de especificidad)
   ========================================================================== */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
/* Listas dentro de bloques de contenido apilados: mismo ritmo que los párrafos */
.split__content > ul, .stack > ul, .hero__content > ul, .band__content > ul { margin-top: var(--space-4); }
.split__content > .tick-row { margin-top: var(--space-5); }
