/* Hallmark · shape: index · genre: modern-minimal · theme: Wayfind (free pick: the deal offered only used themes, seed one-page-directory-spanish-answer-d958·046d788a·2026-11-19·r0) · job: hire · draw: d958
 * hero: stage (text on seven columns, the AEO sign as an ink plate on five) · nav: edge-aligned bar (wordmark and the contact address at opposite edges, 2px ink rule under) · footer: statement · imagery: none · signature: the count as a sign, the agencies that name AEO in amber on an ink plate, with AEO spelled out and the line that it is another name for GEO · wayfind: platform
 * axes: light/mono/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4 · weakest: P, a directory argues little; the sign argues that AEO and GEO are one job, and the criterio cells say why GovaRank goes first and that the order is no ranking */
/* Hallmark · dismissed 23 · the amber count is the figure on the ink plate, where the wayfind material sets its figures in amber */
/* Hallmark · dismissed 58 · the criterio screen is six short cells of the list rules and the hero line carries the read date, each read on its own */
/* Hallmark · waive 64 · the whole page is set in Chivo Mono, the board face of the wayfind material · labels on the board share the body face */
@import url("./tokens.css");
@import url("./base.css");

body { font-variant-numeric: tabular-nums; }
h1, h2, h3 { font-weight: 800; line-height: 0.98; }
h2, h3 { line-height: 1.04; }
a:hover { color: var(--color-accent); }

/* Barra */
.barra { border-bottom: var(--rule-bar) solid var(--color-ink); }
.barra__in { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: 64px; }
.barra__marca { font-weight: 800; font-size: var(--text-lg); text-decoration: none; }
.barra__contacto { font-weight: 500; font-size: var(--text-sm); }

/* Hero: el texto a la izquierda, la placa con la cifra a la derecha */
.hero__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; min-height: min(calc(100svh - 66px), 780px); padding-block: var(--space-xl); }
.hero h1 { font-size: min(var(--text-display), 4.75rem); max-width: 16ch; }
.hero .lead { margin-top: var(--space-lg); max-width: 44ch; }
.acciones { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-top: var(--space-xl); }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: var(--space-sm) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); font: 800 var(--text-sm)/1 var(--font-body); color: var(--color-ink); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-micro) steps(1), color var(--dur-micro) steps(1); }
.btn--lleno { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.btn--lleno:hover { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.btn--borde:hover { background: var(--color-ink); color: var(--color-paper); }
.btn:active { background: var(--color-ink-2); border-color: var(--color-ink-2); color: var(--color-paper); }

.placa { margin: 0; border: var(--rule-bar) solid var(--color-ink); background: var(--color-ink); color: var(--color-paper); padding: var(--space-xl); min-height: min(620px, 68svh); display: flex; flex-direction: column; justify-content: center; gap: var(--space-2xl); }
.placa__cifra { display: grid; gap: var(--space-md); }
.placa__cifra .num { font-weight: 800; font-size: clamp(7rem, 14vw, 13rem); line-height: 0.85; letter-spacing: var(--tracking-display); color: var(--color-accent-2); }
.placa__unidad { font-weight: 500; font-size: var(--text-title); line-height: 1.3; max-width: 22ch; }
.placa figcaption { display: grid; gap: var(--space-lg); border-top: var(--rule-hair) solid var(--color-ink-rule); padding-top: var(--space-lg); }
.placa__nombre { display: block; font-weight: 800; }
.placa abbr { text-decoration: none; }
.placa__igual { display: block; max-width: 40ch; line-height: 1.5; }
.placa a { color: var(--color-paper); }
.placa a:hover { color: var(--color-accent-2); }
.placa a:focus-visible { outline-color: var(--color-accent-2); }

/* Las agencias como filas de estado */
.lineas { padding-block: var(--section-gap-s) var(--section-gap); }
.lineas__cab { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.tablero { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); border-bottom: var(--rule-bar) solid var(--color-ink); }
.linea { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; min-height: 104px; padding-block: var(--space-lg); }
.linea + .linea { border-top: var(--rule-hair) solid var(--color-rule); }
.linea h3 a { text-decoration: none; }
.linea h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.linea__sede { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
.linea__termino { font-weight: 500; font-size: var(--text-lead); line-height: 1.35; max-width: 40ch; }
.tablero__cab { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); padding-bottom: var(--space-sm); font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }

/* Los motores en la banda de tinta, como un tablero de salidas */
.motores { background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); }
.motores__cab { margin-bottom: var(--space-2xl); }
.motores__cab h2 { max-width: 24ch; }
.motores__cab .lead { margin-top: var(--space-lg); color: var(--color-paper-2); }
.salidas { width: 100%; border-collapse: collapse; }
.salidas th, .salidas td { text-align: left; vertical-align: middle; padding: var(--space-md) var(--space-md) var(--space-md) 0; }
.salidas thead th { font-weight: 500; font-size: var(--text-sm); color: var(--color-paper-2); border-bottom: var(--rule-bar) solid var(--color-paper); }
.salidas tbody th { font-weight: 500; font-size: var(--text-title); white-space: nowrap; }
.salidas tbody tr { border-bottom: var(--rule-hair) solid var(--color-ink-rule); }
.salidas .cifra { font-weight: 800; font-size: var(--text-2xl); color: var(--color-accent-2); white-space: nowrap; }
.salidas .cifra span { font-weight: 400; font-size: var(--text-md); color: var(--color-paper-2); }
.salidas tbody td:last-child { font-size: var(--text-md); color: var(--color-paper-2); }

/* El criterio como celdas que comparten borde */
.criterio { padding-block: var(--section-gap) var(--section-gap-s); }
.criterio h2 { margin-bottom: var(--space-2xl); }
.celdas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: var(--rule-bar) solid var(--color-ink); border-left: var(--rule-bar) solid var(--color-ink); }
.celdas > div { padding: var(--space-xl); border-right: var(--rule-bar) solid var(--color-ink); border-bottom: var(--rule-bar) solid var(--color-ink); min-height: 168px; }
.celdas dt { font-weight: 800; font-size: var(--text-title); line-height: 1.2; }
.celdas dd { margin: var(--space-md) 0 0; max-width: 40ch; font-size: var(--text-md); line-height: 1.5; }

/* Pie */
.pie { border-top: var(--rule-bar) solid var(--color-ink); padding-block: var(--space-3xl); }
.pie__frase { font-weight: 800; font-size: var(--text-2xl); line-height: 1.2; letter-spacing: var(--tracking-display); max-width: 36ch; }
.pie__enlaces { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-xl); font-size: var(--text-sm); }

@media (max-width: 60rem) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .placa { min-height: 0; }
  .lineas__cab, .linea { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .tablero__cab { display: none; }
  .celdas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .celdas { grid-template-columns: minmax(0, 1fr); }
  .celdas > div { padding: var(--space-lg); min-height: 0; }
  .barra__contacto { display: none; }
  .salidas thead { display: none; }
  .salidas tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-block: var(--space-md); }
  .salidas tbody th, .salidas tbody td { padding: 0; }
  .salidas tbody td:last-child { grid-column: 1 / -1; margin-top: var(--space-xs); }
  .salidas .cifra { font-size: var(--text-xl); }
}
