/* ==========================================================================
   SEABOARD GLOBAL ESPAÑA — sistema de diseño compartido · "Blanco y Cobalto"
   Fuente: shared/base.css · se copia a cada sitio con `node scripts/build.mjs`.
   NO editar la copia de sites/<sitio>/base.css.
   Especificación: docs/design-brief.md §1 y §3.2.

   ÍNDICE
     1. Tokens              6. Navegación y menú móvil
     2. Base                7. Componentes (media, tarjeta sólida, chips,
     3. Tipografía             lista editorial, pasos, tabla, interlocutor,
     4. Estructura             banda CTA, migas)
     5. Botones y enlaces   8. Formulario
                            9. Pie
                           10. Movimiento

   PARES DE COLOR PROHIBIDOS (no usar nunca):
     · cobalto sobre tinta (2,6:1)        · cobalto sobre signal (4,2:1)
     · blanco sobre signal (1,6:1)        · signal sobre blanco
     · --line como único límite de un campo o de una tarjeta
   Sobre tinta, los enlaces y resaltados van en blanco o en signal.
   Tarjetas sobre blanco: borde --line + fondo --mist, o fondo blanco + sombra.
   Ningún contenido informativo usa opacidad < 1 como jerarquía: se distingue
   por color (--slate / --fog) y por peso.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    --white: #FFFFFF;
    --mist: #F1F4F6;
    --ink: #0D1B2A;
    --cobalt: #1F4FD8;
    --cobalt-deep: #163BA6;
    --signal: #FFC43D;      /* SOLO chip "Disponible" y foco sobre oscuro */
    --slate: #55606E;       /* texto secundario sobre blanco / mist */
    --fog: #AEB8C4;         /* texto secundario SOBRE TINTA */
    --edge: #7C8794;        /* borde de campos y controles (≥3:1) */
    --line: #DDE3E8;        /* filetes decorativos */
    --danger: #B3261E;

    --font: "Archivo", system-ui, "Segoe UI", Arial, sans-serif;

    /* Escala de espaciado: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 */
    --maxw: 1280px;
    --gutter: 32px;
    --gap: 24px;
    --section: 96px;
    --nav-h: 72px;
    --r: 10px;              /* tarjetas, imágenes, campos, miniaturas */
    --pill: 999px;          /* botones y chips */
    --shadow: 0 1px 2px rgba(13, 27, 42, 0.06), 0 8px 24px rgba(13, 27, 42, 0.06);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (max-width: 1023px) { :root { --section: 72px; } }
@media (max-width: 768px)  { :root { --gutter: 24px; --nav-h: 64px; } }
@media (max-width: 600px)  { :root { --gutter: 16px; --section: 64px; --gap: 16px; } }

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-size: clamp(16px, 15.63px + 0.095vw, 17px);
    line-height: 1.6;
    font-stretch: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
p, li, dd { text-wrap: pretty; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.on-ink :focus-visible, .on-cobalt :focus-visible, .solid--cobalt :focus-visible, .foot :focus-visible { outline-color: var(--signal); }

.skip {
    position: absolute; left: 12px; top: -80px; z-index: 200;
    background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--r); font-weight: 600;
}
.skip:focus { top: 12px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }

/* --------------------------------------------------------------------------
   3. Tipografía — Archivo, única familia. Jerarquía por peso y por ancho.
   Ancho < 100 % solo a ≥ 30 px. Suelo absoluto: 12 px.
   -------------------------------------------------------------------------- */
.display, .display-caps, .h1, .h2, .rotulo, .h3 { text-wrap: balance; }

/* Display hero (H1 de la home): 72 / 60 / 52 / 38 */
.display { font-size: clamp(38px, 25.4px + 3.24vw, 72px); font-stretch: 85%; font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; }
/* Display wow (mayúsculas): 112 / 88 / 64 / 44 */
.display-caps { font-size: clamp(44px, 18.7px + 6.48vw, 112px); font-stretch: 75%; font-weight: 800; line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
/* H1 de página interior: 56 / 48 / 42 / 32 */
.h1 { font-size: clamp(32px, 23.1px + 2.29vw, 56px); font-stretch: 90%; font-weight: 700; line-height: 1.06; letter-spacing: -0.015em; }
/* H2 afirmación (máx. 3 por página): 48 / 42 / 36 / 30 */
.h2 { font-size: clamp(30px, 23.3px + 1.72vw, 48px); font-stretch: 90%; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
/* H2 rótulo: 28 / 26 / 24 / 22 */
.rotulo { font-size: clamp(22px, 19.8px + 0.57vw, 28px); font-weight: 600; line-height: 1.2; }
/* H3 / título de tarjeta: 24 / 22 / 22 / 20 */
.h3 { font-size: clamp(20px, 18.5px + 0.38vw, 24px); font-weight: 600; line-height: 1.25; }
/* Entradilla: 20 / 19 / 18 / 18 */
.lead { font-size: clamp(18px, 17.26px + 0.19vw, 20px); line-height: 1.5; color: var(--slate); max-width: 58ch; text-wrap: balance; }
/* Pequeño: 15 / 15 / 14 / 14 */
.small { font-size: clamp(14px, 13.6px + 0.1vw, 15px); line-height: 1.5; }
/* Etiqueta: 13 / 13 / 13 / 12 */
.label { font-size: clamp(12px, 11.6px + 0.1vw, 13px); font-weight: 600; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; }
/* Dato y referencia */
.dato { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }

.slate { color: var(--slate); }
/* La palabra resaltada: máximo UNA por página. */
.hl { color: var(--cobalt); }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 16px; }

/* --------------------------------------------------------------------------
   4. Estructura
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

.section { padding-block: var(--section); position: relative; }
.section > .wrap > :last-child { margin-bottom: 0; }
.section--mist { background: var(--mist); }
.section--flush { padding-top: 0; }            /* segunda sección seguida del mismo fondo */
.on-ink { background: var(--ink); color: var(--white); }
.on-cobalt { background: var(--cobalt); color: var(--white); }
.on-ink .lead, .on-ink .slate { color: var(--fog); }
.on-cobalt .lead, .on-cobalt .slate { color: var(--white); }

/* --------------------------------------------------------------------------
   5. Botones y enlaces
   <a class="btn"><span>Texto</span><span class="arr"></span></a>   primario
   <a class="btn btn--ghost">Texto</a>                             secundario
   <a class="btn btn--light">…</a>                                 sobre cobalto / tinta
   <a class="link">Texto</a>                                       enlace de texto con →
   <div class="cta-group">…</div>   en ≤600 apila los botones a ancho completo
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    height: 48px; padding: 0 24px; border-radius: var(--pill); border: 1.5px solid var(--cobalt);
    background: var(--cobalt); color: var(--white);
    font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); }
.btn .arr {
    display: grid; place-items: center; width: 32px; height: 32px; margin-right: -17.5px; flex: none;
    border-radius: 50%; background: var(--white); color: var(--cobalt);
}
.btn .arr > * { display: none; }
.btn .arr::before {
    content: ''; width: 14px; height: 14px; background: currentColor; transition: transform 0.2s;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn:hover .arr::before { transform: rotate(45deg); }

.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ghost .arr { display: none; }

.btn--light { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); }
.btn--light .arr { background: var(--cobalt); color: var(--white); }

.btn--outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--outline-light .arr { display: none; }

.btn[disabled] { background: var(--slate); border-color: var(--slate); color: var(--white); cursor: progress; }
.btn[disabled] .arr { color: var(--slate); }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) {
    .cta-group { flex-direction: column; }
    .cta-group .btn { width: 100%; position: relative; }
    .cta-group .btn .arr { position: absolute; right: 6.5px; margin: 0; }
}

.link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link::after {
    content: ''; width: 14px; height: 14px; flex: none; background: currentColor; transition: transform 0.2s;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M1 7h12M8 2l5 5-5 5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M1 7h12M8 2l5 5-5 5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.link:hover::after { transform: translateX(4px); }
.link svg { display: none; }
/* Enlace externo: flecha ↗ */
.link--ext::after, .ext::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 11 11 3M4.5 3H11v6.5' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E");
}
.link--ext:hover::after { transform: translate(2px, -2px); }
.ext::after {
    content: ''; display: inline-block; width: 11px; height: 11px; margin-left: 6px; background: currentColor;
    -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   6. Navegación — blanca sólida y pegajosa. Legible sin JS.
   -------------------------------------------------------------------------- */
.nav {
    position: sticky; top: 0; z-index: 100; height: var(--nav-h);
    background: var(--white); color: var(--ink); border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s;
}
.nav.is-stuck { box-shadow: var(--shadow); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; line-height: 1; flex: none; justify-self: start; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__mark circle { fill: var(--cobalt); }
.brand__mark path { stroke: var(--white); }
.brand__txt { display: grid; gap: 4px; }
.brand__name { font-size: 18px; font-weight: 800; font-stretch: 112%; letter-spacing: 0.04em; }
.brand__sub { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }

.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav__links a { font-size: 16px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.nav__links a:hover, .nav__links a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav__links a[aria-current='page'] { font-weight: 600; }

.nav__side { display: flex; align-items: center; gap: 16px; }
.lang { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 4px; font-size: 15px; font-weight: 500; color: var(--slate); }
.lang i { font-style: normal; }
.lang span.is-on { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lang:hover span:not(.is-on) { color: var(--ink); }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; margin-right: -10px; }
.burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 0.25s var(--ease); }
.burger span + span { margin-top: 6px; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: scaleX(0); }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menú móvil (≤1000): panel blanco a pantalla completa bajo la barra. */
.menu {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--white); color: var(--ink);
    display: none; flex-direction: column; justify-content: space-between; gap: 32px;
    padding: 24px var(--gutter) max(24px, env(safe-area-inset-bottom)); overflow-y: auto;
}
.menu a.menu__l { display: flex; align-items: center; min-height: 72px; font-size: 28px; font-stretch: 92%; font-weight: 600; border-bottom: 1px solid var(--line); }
.menu__foot { display: grid; gap: 16px; }
.menu__foot .btn { width: 100%; position: relative; }
.menu__foot .btn .arr { position: absolute; right: 6.5px; margin: 0; }
.menu__foot .link { justify-self: start; }

@media (max-width: 1000px) {
    .nav__links, .nav__side > .btn { display: none; }
    .burger { display: flex; }
    .nav__side { gap: 4px; }
    .menu-open .menu { display: flex; }
    html.menu-open { overflow: hidden; }
}
@media (max-width: 359px) { .nav__in { gap: 8px; } .brand { gap: 8px; } .brand__name { font-size: 16px; } }

/* --------------------------------------------------------------------------
   7. Componentes
   -------------------------------------------------------------------------- */
/* Imagen con marco. Nunca lleva texto encima. */
.media { position: relative; overflow: hidden; background: var(--mist); border-radius: var(--r); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--45 { aspect-ratio: 4 / 5; }
.media--43 { aspect-ratio: 4 / 3; }
.media--32 { aspect-ratio: 3 / 2; }
.media--169 { aspect-ratio: 16 / 9; }

/* Tarjeta sólida: imagen arriba + bloque de texto sobre color plano. */
.solid { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; }
.solid__media { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.solid__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .solid__media { aspect-ratio: 16 / 9; } }
.solid__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; }
.solid__body .btn, .solid__body .link { margin-top: auto; }
.solid__body p { max-width: 46ch; margin-bottom: 20px; }
.solid--cobalt { background: var(--cobalt); color: var(--white); }
.solid--mist { background: var(--mist); border: 1px solid var(--line); }
.solid--mist p { color: var(--slate); }
@media (max-width: 600px) { .solid__body { padding: 24px; } }

/* Chips de estado (no pulsables; solo estado de lote). */
.status { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--pill); border: 1.5px solid transparent; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; color: var(--ink); }
.status--en-espana { background: var(--signal); border-color: var(--signal); }
.status--en-transito { background: var(--white); border-color: var(--ink); }
.status--en-origen { background: var(--mist); border-color: var(--edge); }

/* Chips de filtro (botones con aria-pressed). */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; padding: 0 18px; border-radius: var(--pill); border: 1px solid var(--edge); background: var(--white); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 600; }

/* Lista editorial: filas con filete superior. Sin numerar. */
.elist { border-bottom: 1px solid var(--line); }
.elist__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px var(--gap); align-items: baseline; padding-block: 24px; border-top: 1px solid var(--line); }
.elist__row p { color: var(--slate); }
@media (max-width: 600px) { .elist__row { grid-template-columns: 1fr; } }

/* Pasos numerados — SOLO proceso y ruta. */
.steps { display: grid; gap: 32px var(--gap); }
.step { display: grid; gap: 12px; align-content: start; }
.step__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step p { color: var(--slate); }

/* Tabla de ficha: <dl class="dl"><div><dt>…</dt><dd>…</dd></div>…</dl> */
.dl { border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; align-items: baseline; min-height: 44px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.dl dt { font-size: 15px; color: var(--slate); }
.dl dd { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dl--2 { column-gap: 48px; }
@media (min-width: 1024px) { .dl--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* Bloque "Quién responde": cobalto, sin avatar si no hay foto real. El
   teléfono es el dato protagonista; el bloque mide lo que mide su contenido. */
.person { display: flex; flex-direction: column; gap: 32px; align-self: start; padding: 32px; border-radius: var(--r); background: var(--cobalt); color: var(--white); }
.person__top { display: grid; gap: 4px; }
.person__name { font-size: clamp(30px, 23.3px + 1.72vw, 48px); font-stretch: 90%; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
.person__bottom { display: grid; gap: 16px; justify-items: start; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.45); }
.person__tel { font-size: clamp(28px, 22px + 1.5vw, 40px); font-stretch: 90%; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.person__tel:hover { text-decoration: underline; text-underline-offset: 6px; }
.person__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.person :focus-visible { outline-color: var(--signal); }
@media (max-width: 600px) { .person { padding: 24px; gap: 24px; } .person__cta { align-self: stretch; width: 100%; } .person__cta .btn { width: 100%; } }

/* Banda CTA (cobalt-deep): título + texto opcional + botón blanco. */
.cta-band { background: var(--cobalt-deep); color: var(--white); padding-block: var(--section); }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; }
.cta-band p { max-width: 52ch; margin-top: 12px; }
.cta-band :focus-visible { outline-color: var(--signal); }

/* Migas */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--slate); margin-bottom: 24px; }
.crumbs a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* Aviso en línea (p. ej. "Lotes de ejemplo…") */
.notice { font-size: 15px; color: var(--slate); }

/* --------------------------------------------------------------------------
   8. Formulario — caja visible, etiqueta encima, error por campo.
   -------------------------------------------------------------------------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink);
    background: var(--white); border: 1px solid var(--edge); border-radius: var(--r);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { height: auto; min-height: 132px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='m2 5 5 5 5-5' stroke='%230D1B2A' stroke-width='1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.field__err { font-size: 14px; line-height: 1.4; color: var(--danger); }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 4px; }
.form__note { font-size: 14px; color: var(--slate); max-width: 40ch; }
.form__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form__status { grid-column: 1 / -1; font-size: 15px; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-err { color: var(--danger); padding: 12px 16px; border: 1px solid var(--danger); border-radius: var(--r); background: var(--white); }
.form__done { display: grid; gap: 12px; align-content: start; padding: 32px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.form__done p { color: var(--slate); max-width: 46ch; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
    .form { grid-template-columns: 1fr; }
    .form__foot { flex-direction: column; align-items: stretch; }
    .form__foot .btn { width: 100%; position: relative; }
    .form__foot .btn .arr { position: absolute; right: 6.5px; margin: 0; }
}

/* --------------------------------------------------------------------------
   9. Pie — fondo tinta; texto blanco y fog.
   -------------------------------------------------------------------------- */
.foot { background: var(--ink); color: var(--white); padding-top: 64px; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px var(--gap); padding-bottom: 48px; }
.foot__about { display: grid; gap: 20px; align-content: start; }
.foot__about p { color: var(--fog); max-width: 36ch; font-size: 15px; }
.foot .brand__mark circle { fill: var(--white); }
.foot .brand__mark path { stroke: var(--ink); }
.foot .brand__sub { color: var(--fog); }
.foot h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fog); margin-bottom: 8px; }
.foot__col ul { display: grid; font-size: 15px; }
.foot__col li { min-height: 44px; display: flex; align-items: center; }
.foot__col a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__col a:hover, .foot__bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__col li.is-quiet { color: var(--fog); }
.foot__bottom { border-top: 1px solid #2B3A4B; padding-block: 12px 20px; display: flex; flex-wrap: wrap; gap: 0 32px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--fog); }
.foot__bottom ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.foot__bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
@media (max-width: 900px) { .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot__top { grid-template-columns: 1fr; gap: 24px; } .foot { padding-top: 48px; } }

/* --------------------------------------------------------------------------
   10. Movimiento — el estado oculto SOLO existe bajo html.js.
   .rv       revelado: 12 px + opacidad, 400 ms, una vez
   .rv-clip  contenedor observado; el recorte va en su <img> (de abajo arriba)
   Nunca observar un elemento recortado a área cero.
   html.js-motion = hay JS, ancho ≥ 1024 y sin prefers-reduced-motion.
   -------------------------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-clip img { clip-path: inset(100% 0 0 0); transition: clip-path 0.6s var(--ease); }
.js .rv-clip.is-in img { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .rv, .js .rv-clip img { opacity: 1; transform: none; clip-path: none; transition: none; }
    *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
}
