:root {
  --blue: #003477;
  --blue-deep: #002456;
  --blue-mid: #0a4a99;
  --red: #c8102e;
  --red-bright: #e02136;
  --yellow: #c9a227;
  --accent: var(--red);
  --accent-bright: var(--red-bright);
  --accent-on-dark: #ff5a66;
  --accent-soft: rgba(200, 16, 46, 0.12);
  --accent-glow: rgba(200, 16, 46, 0.28);
  --gray: #bbbab8;
  --white: #ffffff;
  --mist: #eef3f9;
  --paper: #f7f9fc;
  --line: rgba(0, 52, 119, 0.12);
  --ink: #003477;
  --mute: #4d5d73;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 78px;
  --ticker-h: 56px;
  --chrome-h: calc(var(--header-h) + var(--ticker-h));
  --shadow: 0 18px 50px rgba(0, 36, 86, 0.12);
  --page: 1680px;
  --gutter: clamp(24px, 4vw, 56px);
  --photo-gap: clamp(40px, 5.5vw, 88px);
  --edge: max(var(--gutter), calc((100vw - var(--page)) / 2 + var(--gutter)));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--chrome-h);
  background: var(--blue);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--white);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--red);
  color: var(--white);
  padding: 8px 12px;
  font-weight: 600;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header {
  position: relative;
  height: var(--header-h);
  background: var(--blue);
  border-bottom: none;
  box-shadow: none;
}

.header-inner {
  max-width: var(--page);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s ease, top 0.28s var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }

body.is-nav .nav-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

body.is-nav .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

body.is-nav .nav-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--white);
  outline: none;
}

.nav-toggle:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.nav-backdrop {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav a {
  color: rgba(255, 255, 255, 0.88);
  padding: 8px 12px;
  border-radius: 999px;
}

.nav a:hover,
.nav a.is-on {
  background: rgba(200, 16, 46, 0.16);
  color: var(--accent-on-dark);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  margin-left: 6px;
}

.nav-cta:hover,
.nav-cta.is-on {
  background: var(--white) !important;
  color: var(--blue) !important;
}

.langs {
  display: flex;
  gap: 2px;
  margin-left: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.langs a {
  color: rgba(255, 255, 255, 0.78);
  padding: 6px 7px;
  border-radius: 6px;
}

.langs a.is-on {
  color: var(--white);
  background: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: min(88vh, 820px);
  background: var(--blue);
}

.hero-copy {
  position: relative;
  padding: 72px 48px 64px clamp(28px, 6vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(200, 16, 46, 0.04), transparent 28%),
    var(--blue);
  color: var(--white);
  animation: rise 0.9s var(--ease) both;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  width: 4px;
  height: 76%;
  background: var(--accent);
}

.hero-copy h1 span:last-child {
  color: var(--red);
  animation: rise 0.9s var(--ease) 0.12s both;
}

.kicker {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}

.kicker::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  margin-right: 10px;
  background: var(--accent);
  vertical-align: middle;
}

.hero-copy .kicker,
.hero-copy h1,
.close .kicker,
.proof .kicker,
.page-intro .kicker {
  color: var(--white);
}

.hero-copy .kicker::before,
.close .kicker::before,
.proof .kicker::before,
.page-intro .kicker::before {
  background: var(--accent);
}

h1,
.h1 {
  margin: 18px 0 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--blue);
}

.hero-copy h1 {
  color: var(--white);
}

h1 span {
  display: block;
}

.lead {
  max-width: 46ch;
  margin: 22px 0 0;
  color: var(--mute);
  font-size: 17px;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 52ch;
  margin-top: 22px;
}

.hero-chain span {
  padding: 7px 11px;
  border: 1px solid rgba(200, 16, 46, 0.35);
  color: rgba(255, 255, 255, 0.88);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-lead {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--mute);
  font-size: 17px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--red);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  background: var(--blue-deep);
  color: var(--white);
  border-color: var(--blue-deep);
  transform: translateY(-1px);
}

.hero .btn:not(.btn-ghost) {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.hero .btn:not(.btn-ghost):hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.close .btn:not(.btn-ghost),
.page-intro .btn:not(.btn-ghost),
.cookie-banner .btn:not(.btn-ghost) {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.close .btn:not(.btn-ghost):hover,
.page-intro .btn:not(.btn-ghost):hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.hero-photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin: 0;
}

.hero-photo img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  will-change: transform;
  animation: ken 14s ease-out both;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 52, 119, 0.28), transparent 42%);
  pointer-events: none;
}

.hero-photo .code {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 10px 16px;
  background: var(--blue);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero-bleed {
  display: block;
  position: relative;
  min-height: calc(100svh - var(--chrome-h));
  overflow: hidden;
}

.hero-bleed .hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-bleed .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.08);
  transform: scale(1.04);
}

.hero-bleed::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--accent);
  z-index: 3;
}

.hero-bleed--plain::before {
  display: none;
}

.hero-bleed .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 18, 48, 0.62) 0%, rgba(0, 18, 48, 0.28) 36%, transparent 68%),
    linear-gradient(180deg, rgba(0, 18, 48, 0.22), transparent 32%, rgba(0, 18, 48, 0.38) 100%);
}

.hero-bleed .hero-copy {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--chrome-h));
  max-width: min(760px, 52vw);
  padding: 64px var(--gutter) 48px;
  background: none;
}

.hero-bleed .hero-copy::after {
  display: none;
}

.hero-bleed h1 {
  font-size: clamp(48px, 8vw, 92px);
}

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 210px 250px;
  gap: 6px;
  padding: 6px;
  background: var(--blue);
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.06);
  transition: transform 0.7s var(--ease);
}

.mosaic figure:hover img {
  transform: scale(1.06);
}

.mosaic .m-tall {
  grid-row: 1 / span 2;
}

.mosaic .m-wide {
  grid-column: span 2;
}

.svc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 36px;
}

.svc-cards a {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 210px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  color: inherit;
}

.svc-cards a:hover {
  border-color: var(--blue);
}

.svc-cards figure {
  margin: 0;
  overflow: hidden;
}

.svc-cards img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.svc-cards a:hover img {
  transform: scale(1.06);
}

.svc-cards div {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
}

.svc-cards .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.svc-cards h3 {
  margin: 8px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.svc-cards p {
  margin: 10px 0 0;
  color: var(--mute);
  font-size: 14px;
}

.svc-cards .go {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.work-tease-6 {
  grid-template-columns: repeat(3, 1fr);
}

.proof-photo {
  position: relative;
  overflow: hidden;
}

.proof-photo .proof-bg {
  position: absolute;
  inset: 0;
  margin: 0;
}

.proof-photo .proof-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.proof-photo .proof-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 24, 55, 0.52), rgba(0, 36, 86, 0.72));
}

.proof-photo .section {
  position: relative;
  z-index: 1;
}

.split-photos {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 6px;
  padding: 6px;
  background: var(--blue);
}

.split-photos figure {
  margin: 0;
  min-height: 340px;
  overflow: hidden;
}

.split-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-visual {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.svc-visual img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.contact-photo {
  margin: 0 0 28px;
  overflow: hidden;
}

.contact-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.filmstrip {
  overflow: hidden;
  background: var(--blue);
  border-top: 6px solid var(--accent);
  padding: 8px 0 10px;
}

.filmstrip-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: film 52s linear infinite;
}

.filmstrip:hover .filmstrip-track {
  animation-play-state: paused;
}

.filmstrip img {
  display: block;
  height: 168px;
  width: 252px;
  object-fit: cover;
  flex: 0 0 auto;
  filter: saturate(1.1) contrast(1.06);
}

.posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 10px;
  margin-top: 28px;
}

.posters a {
  position: relative;
  overflow: hidden;
  color: var(--white);
  min-height: 220px;
}

.posters img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.posters a:hover img {
  transform: scale(1.06);
}

.posters .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 18, 48, 0.92));
}

.posters .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-on-dark);
}

.posters h3 {
  margin: 6px 0 0;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.statement-shot {
  margin: 0;
  position: relative;
}

.statement-shot img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.statement-shot::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 5px solid var(--accent);
  pointer-events: none;
}

.why-grid article {
  padding: 0;
  overflow: hidden;
}

.why-grid figure {
  margin: 0;
  height: 150px;
  overflow: hidden;
}

.why-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-grid .why-body {
  padding: 22px 22px 24px;
}

.why-grid article::before {
  display: none;
}

.why-grid .why-body::before {
  content: attr(data-ix);
  display: block;
  margin-bottom: 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.sectors-photo {
  position: relative;
  overflow: hidden;
}

.sectors-photo .sectors-bg {
  position: absolute;
  inset: 0;
  margin: 0;
}

.sectors-photo .sectors-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sectors-photo .sectors-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 18, 48, 0.78) 0%, rgba(0, 52, 119, 0.55) 55%, rgba(0, 18, 48, 0.4) 100%);
}

.net-bleed {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}

.net-bleed .net-bg {
  position: absolute;
  inset: 0;
  margin: 0;
}

.net-bleed .net-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.net-bleed .net-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 14, 40, 0.88) 0%, rgba(0, 36, 86, 0.55) 48%, rgba(0, 18, 48, 0.22) 100%);
}

.net-bleed .section {
  position: relative;
  z-index: 1;
}

.net-bleed .kicker,
.net-bleed h2,
.net-bleed .page-lead {
  color: var(--white);
}

.net-bleed .page-lead {
  color: rgba(255, 255, 255, 0.82);
}

.net-bleed .sites-grid article {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: none;
}

.net-bleed .sites-grid article:hover {
  transform: none;
  box-shadow: none;
}

.net-bleed .sites-grid h3,
.net-bleed .sites-grid p {
  color: var(--white);
}

.close-photo {
  position: relative;
  overflow: hidden;
}

.close-photo .close-bg {
  position: absolute;
  inset: 0;
  margin: 0;
}

.close-photo .close-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close-photo .close-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 18, 48, 0.82) 0%, rgba(0, 52, 119, 0.55) 60%, rgba(0, 18, 48, 0.35) 100%);
}

.close-photo .section {
  position: relative;
  z-index: 1;
}

.then-now {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 36px 0 8px;
}

.then-now figure {
  margin: 0;
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.then-now img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.then-now figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 8px 12px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.svc-chapter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  column-gap: var(--photo-gap);
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
}

.svc-chapter:nth-child(even) {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.svc-chapter:nth-child(even) figure {
  order: 2;
}

.svc-chapter figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.svc-chapter img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-chapter .copy {
  padding: 16px var(--edge) 16px 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.svc-chapter:nth-child(even) .copy {
  padding: 16px 0 16px var(--edge);
}

.svc-chapter .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.svc-chapter h3 {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.4vw, 32px);
}

.svc-chapter .go {
  margin-top: 18px;
  align-self: flex-start;
}

.ticker {
  overflow: hidden;
  height: var(--ticker-h);
  background: var(--blue);
  color: var(--white);
  border-top: 3px solid var(--white);
  box-shadow: 0 10px 28px rgba(0, 36, 86, 0.16);
}

.ticker-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: ticker 140s linear infinite;
}

.ticker-loop {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  min-width: 100vw;
  height: 100%;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-loop span {
  padding: 0 48px;
}

@keyframes ticker {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes film {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  max-width: var(--page);
  margin: 0 auto;
  padding: 64px var(--gutter);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.num {
  margin: 0 0 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red);
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--blue);
}

.statement {
  background:
    linear-gradient(90deg, var(--accent) 4px, transparent 4px),
    var(--mist);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: end;
}

.statement p {
  margin: 0;
  font-size: 19px;
  color: var(--mute);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
}

.link-arrow::after {
  content: "\2192";
}

.bill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.bill a,
.bill .row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.bill a:nth-child(odd),
.bill .row:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 22px;
}

.bill a:nth-child(even),
.bill .row:nth-child(even) {
  padding-left: 22px;
}

.bill a:first-child,
.bill .row:first-child {
  border-top: 0;
}

.bill a:hover {
  background: var(--mist);
}

.bill a:hover h3 {
  color: var(--red);
}

.bill .ix {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue);
  color: var(--white);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.bill h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
}

.bill p {
  margin: 8px 0 0;
  color: var(--mute);
  font-size: 15px;
}

.svc-long {
  margin-top: 14px;
  max-width: 68ch;
}

.services-detail .row {
  align-items: start;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.why-grid article {
  padding: 28px 24px 26px;
  background: var(--paper);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.why .why-grid {
  overflow: visible;
  padding: 8px 4px 16px;
  margin-top: 28px;
}

.why .why-grid article {
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  cursor: default;
}

.why .why-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 36, 86, 0.2);
  z-index: 1;
}

.why-grid article::before {
  content: attr(data-ix);
  display: block;
  margin-bottom: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.why-grid h3 {
  margin: 0;
  font-size: 22px;
  color: var(--blue);
}

.why-grid p {
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 15px;
}

.proof-note {
  margin: 28px 0 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.certs {
  background: var(--mist);
}

.certs-list {
  display: none;
}

.cert-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cert-pills span {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.cert-pills--inline {
  margin-top: 16px;
}

.cert-page-wrap .legal-doc.cert-page-doc {
  max-width: none;
}

.cert-block .cert-grid {
  margin-top: 20px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.cert-card {
  padding: 18px 18px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 100%;
}

.cert-card--key {
  border-left-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(200, 16, 46, 0.15);
}

.cert-card-code {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.cert-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--blue-deep);
}

.cert-card p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
}

.cert-card-link {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.cert-card-link:hover {
  color: var(--red);
}

.cert-card--eco {
  border-left-color: #1f7a4d;
  background:
    linear-gradient(180deg, rgba(31, 122, 77, 0.06), transparent 55%),
    var(--white);
}

.cert-card--eco .cert-card-code {
  color: #1f7a4d;
}

.assurance-hero {
  min-height: clamp(280px, 42vw, 420px);
}

.assurance-sustain {
  background: var(--blue-deep);
  color: var(--white);
}

.assurance-sustain-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.assurance-sustain .kicker {
  color: rgba(255, 255, 255, 0.7);
}

.assurance-sustain .kicker::before {
  background: #3ecf8e;
}

.assurance-sustain h2 {
  margin: 12px 0 0;
  color: var(--white);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.assurance-sust-lead {
  margin: 0 0 14px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.assurance-sustain p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
}

.assurance-sustain .cert-pills {
  margin-top: 24px;
}

.assurance-sustain .cert-pills span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.assurance-pillars {
  background: var(--mist);
}

.assurance-pillar-head {
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.assurance-pillar-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.1;
  color: var(--blue-deep);
}

.assurance-pillar-head p {
  margin: 0;
  color: var(--mute);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
}

.assurance-pillar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.assurance-pillar-list li {
  padding: 28px 28px 8px 0;
  border-right: 1px solid var(--line);
}

.assurance-pillar-list li:last-child {
  border-right: 0;
  padding-right: 0;
}

.assurance-pillar-num {
  display: block;
  margin-bottom: 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
}

.assurance-pillar-list h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--blue-deep);
}

.assurance-pillar-list p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.6;
  max-width: 34ch;
}

.assurance-docs {
  background: var(--white);
}

.assurance-docs-bar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.assurance-docs-bar h2 {
  margin: 8px 0 10px;
  font-size: clamp(22px, 2.8vw, 30px);
  color: var(--blue-deep);
}

.assurance-docs-bar p {
  margin: 0;
  max-width: 48ch;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.6;
}

.assurance-catalogue {
  background: var(--white);
  padding-bottom: clamp(48px, 7vw, 88px);
}

.assurance-catalogue-head {
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-top: clamp(36px, 5vw, 56px);
}

.assurance-catalogue-head h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.1;
  color: var(--blue-deep);
}

.assurance-catalogue-head p {
  margin: 0;
  color: var(--mute);
  font-size: 16px;
  line-height: 1.6;
}

.assurance-block {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.assurance-block-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px 22px;
  align-items: start;
  margin-bottom: 22px;
  max-width: 52rem;
}

.assurance-block-num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
  padding-top: 4px;
}

.assurance-block-head h3 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--blue-deep);
}

.assurance-block-head p {
  margin: 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.6;
}

.assurance-block--climate {
  padding: clamp(28px, 4vw, 36px);
  background:
    linear-gradient(135deg, rgba(31, 122, 77, 0.08), rgba(0, 52, 119, 0.06));
  border-top: 3px solid #1f7a4d;
}

.assurance-people {
  background: var(--mist);
}

.assurance-people-shot {
  margin: 0;
  overflow: hidden;
  min-height: 320px;
}

.assurance-people-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.assurance-people h2 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.1;
  color: var(--blue-deep);
}

.assurance-people p {
  margin: 0 0 14px;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.65;
  max-width: 46ch;
}

@media (max-width: 980px) {
  .assurance-sustain-grid,
  .assurance-pillar-list,
  .assurance-docs-bar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .assurance-pillar-list li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .assurance-pillar-list li:last-child {
    border-bottom: 0;
  }

  .assurance-docs-bar {
    align-items: start;
  }

  .assurance-docs-bar .btn {
    justify-self: start;
  }
}

.certs-more {
  margin-top: 22px;
}

.net-note {
  margin: 16px 0 0;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.55;
}

.close {
  background:
    linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
}

.close h2,
.proof h2,
.page-intro h1,
.page-intro h2 {
  color: var(--white);
}

.close .page-lead {
  color: rgba(255, 255, 255, 0.78);
}

.close .btn {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.close .btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.close .btn.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.close .btn.btn-ghost:hover {
  background: var(--white);
  color: var(--blue);
}

.bill .go {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.proof {
  background: var(--blue);
  color: var(--white);
  background-image: linear-gradient(180deg, rgba(200, 16, 46, 0.04), transparent 36%);
}

.proof h2 {
  margin-bottom: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 12px;
}

.stats li {
  padding: 22px 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--accent);
}

.stats strong {
  display: block;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent-on-dark);
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.network {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--paper);
}

.network .photo {
  min-height: 560px;
  margin: 0;
  overflow: hidden;
}

.network .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 36px;
  overflow: visible;
  padding: 8px 4px 16px;
}

.sites-grid article {
  padding: 24px 20px 22px;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
  min-height: 180px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.sites-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 36, 86, 0.2);
  z-index: 1;
}

.sites-grid h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
}

.sites-grid p {
  margin: 12px 0 0;
  color: var(--mute);
  font-size: 14px;
}

.ports ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.ports li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
}

.ports h3 {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.timeline article {
  padding: 24px 22px 22px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
}

.timeline h3 {
  margin: 0;
  font-size: 28px;
  color: var(--blue);
}

.timeline p {
  color: var(--mute);
}

.roles {
  display: grid;
  gap: 12px;
}

.roles p {
  margin: 0;
  padding: 18px 20px;
  background: var(--mist);
  font-size: 18px;
  border-left: 6px solid var(--red);
}

.hq {
  font-size: 14px;
  color: var(--mute);
  line-height: 1.7;
  white-space: pre-line;
}

.hq a {
  color: inherit;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 20px;
  align-items: center;
}

.social-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--blue);
  transition: color 0.15s ease, opacity 0.15s ease;
}

.social-ico svg {
  display: block;
}

.social-ico:hover {
  color: var(--red);
  text-decoration: none;
}

.contact-aside .social-ico {
  color: var(--accent-on-dark);
}

.contact-aside .social-ico:hover {
  color: var(--white);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.spec-grid article {
  padding: 22px 20px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.spec-grid h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
}

.spec-grid p {
  margin: 10px 0 0;
  color: var(--mute);
  font-size: 14px;
}

.sectors {
  position: relative;
  color: var(--white);
}

.sectors::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--blue);
  pointer-events: none;
}

.sectors .section {
  position: relative;
  z-index: 4;
  padding-top: 56px;
  padding-bottom: 56px;
}

.sectors .kicker,
.sectors h2 {
  color: var(--white);
}

.sectors .kicker::before {
  background: var(--accent);
}

.statement .split {
  align-items: center;
}

.sectors-photo::before {
  display: none;
}

.close-photo {
  background: var(--blue);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.quote-grid blockquote {
  margin: 0;
  padding: 28px 24px 24px;
  background: var(--paper);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.quote-grid p {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

.quote-grid cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.svc-bullets {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.svc-bullets li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 14px;
}

.assurance-oea-bullets {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

@media (max-width: 700px) {
  .assurance-oea-bullets {
    grid-template-columns: 1fr;
  }
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.values li {
  padding: 22px 18px;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  background: var(--mist);
  border-bottom: 3px solid var(--accent);
}

.office-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.office-list li {
  padding: 16px 0 16px 16px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  font-size: 15px;
  line-height: 1.55;
}

.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.extra-grid article {
  padding: 28px;
  background: var(--mist);
  border-top: 3px solid var(--accent);
}

.extra-grid h2 {
  margin: 8px 0 12px;
}

.extra-grid p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}

.certs-iso {
  margin: 16px 0 0;
  max-width: 68ch;
  color: var(--mute);
  font-size: 15px;
}

.form {
  display: grid;
  gap: 18px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.form input,
.form textarea,
.form select {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px 14px;
  color: var(--ink);
  resize: vertical;
  min-height: 48px;
  border-radius: 0;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form textarea {
  min-height: 140px;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.35);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.form-file {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(0, 52, 119, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.form-file-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.form-file input[type="file"] {
  padding: 0;
  border: 0;
  min-height: 0;
  box-shadow: none;
  background: transparent;
}

.form-inquire {
  margin-top: 28px;
  max-width: 720px;
}

/* Inquire pages (contacto / trabaja con nosotros) */
.inquire-hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--blue-deep);
}

.inquire-hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.inquire-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.inquire-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 18, 48, 0.18) 0%, rgba(0, 18, 48, 0.72) 62%, rgba(0, 18, 48, 0.9) 100%),
    linear-gradient(90deg, rgba(0, 36, 86, 0.55) 0%, transparent 58%);
}

.inquire-hero-copy {
  position: relative;
  z-index: 1;
  width: min(var(--page), 100%);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 56px) var(--gutter) clamp(32px, 4vw, 48px);
  max-width: 34rem;
}

.inquire-hero .brand-mark {
  margin: 0 0 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
  line-height: 1;
}

.inquire-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--white);
}

.inquire-hero-copy > p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 40ch;
}

.inquire-body {
  background:
    linear-gradient(180deg, #f3f6fb 0%, var(--white) 42%);
  padding: clamp(48px, 7vw, 88px) 0;
}

.inquire-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.inquire-h2 {
  margin: 8px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--blue-deep);
}

.inquire-note {
  margin: 14px 0 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 42ch;
}

.inquire-side {
  position: sticky;
  top: calc(var(--chrome-h) + 24px);
  padding: 0 0 0 28px;
  border-left: 3px solid var(--accent);
}

.inquire-facts {
  margin: 28px 0 0;
  display: grid;
  gap: 22px;
}

.inquire-facts dt {
  margin: 0 0 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.inquire-facts dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--blue-deep);
}

.inquire-facts a {
  color: var(--blue);
  font-weight: 600;
}

.inquire-facts a:hover {
  color: var(--red);
}

.inquire-social {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
}

.inquire-jobs-link {
  display: inline-flex;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.inquire-jobs-link:hover {
  color: var(--red);
}

.inquire-offices {
  background: var(--blue);
  color: var(--white);
  padding: clamp(48px, 7vw, 88px) 0;
}

.inquire-offices .kicker {
  color: var(--accent-on-dark);
}

.inquire-offices .kicker::before {
  background: var(--accent);
}

.inquire-offices h2 {
  color: var(--white);
}

.inquire-office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.1);
}

.inquire-office-grid article {
  padding: 28px 24px 30px;
  background: var(--blue);
}

.inquire-office-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.inquire-office-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.inquire-office-meta {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.62) !important;
}

/* Contact — dónde estamos */
.contact-places {
  background: var(--mist);
  padding: clamp(40px, 6vw, 64px) 0;
}

.contact-places-head {
  margin-bottom: 28px;
}

.contact-places-head h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.03em;
  color: var(--blue-deep);
}

.contact-places-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 28px 40px;
  align-items: stretch;
}

.contact-places-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.contact-hq {
  flex: 0 0 auto;
  padding: 28px 28px 30px;
  background: var(--blue-deep);
  color: #fff;
  border-top: 3px solid var(--red);
}

.contact-hq-video {
  margin: 0;
  flex: 0 0 auto;
  background: #001530;
  overflow: hidden;
}

.contact-hq-video video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  background: #001530;
}

.contact-hq-video figcaption {
  margin: 0;
  padding: 10px 14px;
  background: var(--white);
  border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.contact-hq-label {
  margin: 0 0 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}

.contact-hq h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  color: #fff;
}

.contact-hq-role {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.5;
}

.contact-hq-addr {
  margin: 0 0 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.contact-hq-phone {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-hq-phone:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.contact-places-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-self: stretch;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.contact-places-list article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-places-list article:hover {
  background: #f7f9fc;
  box-shadow: inset 3px 0 0 var(--red);
}

.contact-places-list h3 {
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}

.contact-place-role {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.85;
}

.contact-place-addr {
  margin: 0;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contact-places-layout {
    grid-template-columns: 1fr;
  }
}

.notice {
  padding: 14px 18px;
  background: var(--mist);
  color: var(--blue);
  font-weight: 700;
  border-left: 4px solid var(--accent);
  margin: 20px 0 0;
}

.notice-error {
  border-left-color: var(--red);
  background: #fff5f5;
}

.form-optional {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute);
  font-size: 12px;
}

.form-hint {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute);
}

.form-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.form-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.form-check a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.jobs-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.jobs-detail[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .inquire-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .inquire-side {
    position: static;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 3px solid var(--accent);
  }

  .inquire-office-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .inquire-hero-copy {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .inquire-office-grid {
    grid-template-columns: 1fr;
  }
}

.page-intro {
  background: var(--blue);
  color: var(--white);
}

.page-intro .lead,
.page-intro .page-lead {
  color: rgba(255, 255, 255, 0.78);
}

.page-intro h1,
.page-intro .h1 {
  color: var(--white);
}

.page-intro-photo {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.page-intro-photo .page-intro-bg {
  position: absolute;
  inset: 0;
  margin: 0;
}

.page-intro-photo .page-intro-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro-photo .page-intro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 18, 48, 0.72) 0%, rgba(0, 52, 119, 0.48) 52%, rgba(0, 18, 48, 0.28) 100%);
}

.page-intro-photo .section {
  position: relative;
  z-index: 1;
  padding-top: 72px;
  padding-bottom: 72px;
}

.work-card {
  display: grid;
  gap: 0;
  background: var(--blue);
  color: var(--white);
  overflow: hidden;
  min-height: 280px;
}

.work-card:first-child {
  grid-row: span 2;
}

.work-card figure {
  margin: 0;
  overflow: hidden;
  min-height: 220px;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-card:hover img {
  transform: scale(1.06);
}

.work-card div {
  padding: 18px 18px 20px;
}

.work-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.work-thumbs img {
  width: 100%;
  height: 108px;
  object-fit: cover;
}

.work-card:hover .work-thumbs img {
  transform: none;
}

.work-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.work-tease {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.work-tease a,
.work-tease figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 260px;
  display: block;
  color: var(--white);
}

.work-tease img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.work-tease a:hover img {
  transform: scale(1.06);
}

.work-tease span,
.work-tease figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 14px;
  background: linear-gradient(transparent, rgba(0, 36, 86, 0.92));
  font-size: 14px;
  font-weight: 700;
}

.archive-photo {
  margin: 0;
  max-width: 340px;
  padding: 10px;
  background: var(--mist);
}

.archive-photo img {
  width: 100%;
  background: var(--mist);
}

.archive-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0;
}

.archive-strip figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #111820;
  min-height: 0;
}

.archive-strip img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.05) grayscale(0.15);
}

.archive-strip figure:first-child img {
  object-position: center 35%;
}

.archive-strip figure:nth-child(2) img {
  object-position: center 40%;
}

.archive-strip figure:nth-child(3) img {
  object-position: center 30%;
}

@media (min-width: 981px) {
  .theme-company .split:has(.archive-strip) {
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.25fr);
    align-items: start;
    gap: 36px;
  }

  .archive-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .archive-strip figure:first-child {
    grid-column: 1 / -1;
  }

  .archive-strip figure:first-child img {
    max-height: 280px;
  }
}

.photo-band {
  max-height: 480px;
  overflow: hidden;
  margin: 0;
  position: relative;
  width: 100%;
}

.photo-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--accent);
}

.photo-band img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.foot {
  background: var(--blue-deep);
  color: var(--white);
  border-top: 3px solid var(--accent);
}

.foot-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 36px var(--gutter) 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  gap: 32px;
}

.foot img {
  height: 42px;
  width: auto;
}

.foot-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.foot-nav {
  display: grid;
  gap: 10px;
  align-content: start;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.foot-nav a:hover {
  color: var(--accent-on-dark);
}

.foot-meta p,
.foot-meta a {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.foot-addr {
  white-space: pre-line;
}

.foot-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  align-items: center;
}

.foot-social .social-ico {
  color: var(--white);
}

.foot-social .social-ico:hover {
  color: var(--red);
}

.foot-legal {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--gutter) 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.foot-legal a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.foot-legal a:hover {
  color: var(--accent-on-dark);
}

.legal-page {
  background:
    linear-gradient(180deg, var(--mist) 0, var(--mist) 280px, var(--white) 280px);
}

.legal-intro {
  background:
    linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #0a4a99 100%);
  border-bottom: 3px solid var(--accent);
}

.legal-intro .lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
}

.legal-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}

.legal-facts {
  position: sticky;
  top: calc(var(--chrome-h) + 16px);
  padding: 28px 24px;
  background: var(--white);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

.legal-facts dl {
  margin: 18px 0 0;
  display: grid;
  gap: 18px;
}

.legal-facts dt {
  margin: 0 0 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.legal-facts dd {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.5;
}

.legal-facts .legal-registry-d {
  white-space: pre-line;
}

.legal-facts a {
  color: var(--blue);
  font-weight: 600;
}

.legal-facts a:hover {
  color: var(--red);
}

.legal-doc {
  max-width: none;
  padding: 0;
}

.legal-block {
  position: relative;
  margin: 0 0 28px;
  padding: 28px 28px 28px 72px;
  background: var(--white);
  border-left: 3px solid var(--accent);
}

.legal-num {
  position: absolute;
  left: 18px;
  top: 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
}

.legal-doc h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.4vw, 26px);
}

.legal-doc h3 {
  margin: 28px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.legal-doc p,
.legal-doc li {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.7;
}

.legal-doc p {
  margin: 0 0 12px;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 1.15em;
}

.legal-doc ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.legal-doc ol li,
.legal-doc ul ul {
  margin: 0 0 10px;
}

.legal-doc li {
  margin: 0 0 8px;
}

.legal-doc strong {
  color: var(--blue);
  font-weight: 600;
}

.legal-doc a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: var(--red);
}

.legal-doc sup {
  font-size: 0.65em;
  line-height: 0;
}

@media (max-width: 900px) {
  .legal-wrap {
    grid-template-columns: 1fr;
  }

  .legal-facts {
    position: static;
  }

  .legal-block {
    padding: 24px 20px 24px 56px;
  }
}

.cookie-banner {
  position: fixed;
  left: auto;
  right: var(--gutter);
  bottom: 20px;
  z-index: 90;
  width: min(380px, calc(100vw - var(--gutter) * 2));
  padding: 0;
  background: var(--blue-deep);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 4px solid var(--accent);
  border-radius: 4px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.cookie-banner.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 20px 20px;
}

.cookie-banner-title {
  margin: 0 0 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  font-weight: 600;
}

.cookie-banner-copy p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: none;
}

.cookie-banner-copy a {
  color: var(--accent-on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.cookie-banner .btn {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.cookie-banner .btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.cookie-banner .btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-banner .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
  .cookie-banner {
    right: max(16px, var(--gutter));
    bottom: 16px;
    width: min(340px, calc(100vw - 32px));
  }

  .cookie-banner-actions .btn {
    flex: 1;
    min-width: 0;
  }
}

body.theme-company .hero-copy {
  background: var(--blue);
}

body.theme-company .hero-bleed .hero-copy {
  background: none;
}

body.theme-company .btn {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

body.theme-company .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.network .photo img,
.photo-band img {
  will-change: transform;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ken {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

@media (max-width: 1100px) {
  .spec-grid,
  .quote-grid,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-card:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .sites-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--chrome-h);
    right: 0;
    left: auto;
    width: min(320px, 86vw);
    height: calc(100svh - var(--chrome-h));
    margin: 0;
    padding: 18px;
    background: var(--blue-deep);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    transform: translateX(110%);
    transition: transform 0.28s var(--ease);
    box-shadow: var(--shadow);
    z-index: 50;
  }

  body.is-nav .nav {
    transform: none;
  }

  body.is-nav .site-top {
    z-index: 60;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--chrome-h);
    z-index: 55;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 20, 48, 0.42);
    cursor: pointer;
  }

  body.is-nav .nav-backdrop {
    display: block;
  }

  body.is-nav {
    overflow: hidden;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero,
  .split,
  .split,
  .network,
  .stats,
  .timeline,
  .why-grid,
  .spec-grid,
  .quote-grid,
  .values,
  .extra-grid,
  .bill,
  .bill a,
  .bill .row,
  .work-grid,
  .work-tease,
  .inquire-layout,
  .inquire-office-grid,
  .foot-inner,
  .sites-grid,
  .mosaic,
  .svc-cards,
  .split-photos,
  .svc-visual,
  .posters,
  .then-now,
  .svc-chapter {
    grid-template-columns: 1fr;
  }

  .bill a,
  .bill .row {
    grid-template-columns: 48px 1fr auto;
  }

  .bill a:nth-child(odd),
  .bill .row:nth-child(odd),
  .bill a:nth-child(even),
  .bill .row:nth-child(even) {
    border-right: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy::after {
    display: none;
  }

  .mosaic {
    grid-template-rows: 180px 180px 180px;
  }

  .mosaic .m-tall,
  .mosaic .m-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .svc-cards a,
  .svc-visual {
    grid-template-columns: 1fr;
  }

  .posters {
    grid-auto-rows: 200px;
  }

  .svc-chapter,
  .svc-chapter:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 0;
    row-gap: 28px;
  }

  .svc-chapter:nth-child(even) figure {
    order: 0;
  }

  .svc-chapter figure {
    height: 240px;
    min-height: 240px;
  }

  .svc-chapter img {
    width: 100%;
    height: 100%;
  }

  .svc-chapter .copy,
  .svc-chapter:nth-child(even) .copy {
    padding: 0 var(--gutter) 28px;
    max-width: none;
  }

  .then-now figure,
  .statement-shot img {
    min-height: 240px;
    height: 240px;
  }

  .statement-shot::after {
    display: none;
  }

  .filmstrip img {
    height: 120px;
    width: 180px;
  }

  .svc-cards figure,
  .svc-visual img {
    height: 180px;
  }

  .split-photos figure {
    min-height: 220px;
  }

  .hero-bleed .hero-copy {
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-copy,
  .section,
  .header-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal,
  .hero-copy,
  .hero-copy h1 span:last-child,
  .hero-photo img {
    animation: none;
    opacity: 1;
    transform: none;
    height: 100%;
  }

  .ticker-track,
  .filmstrip-track { animation: none; }
}

/* —— Form log (internal) —— */
.form-log-wrap {
  padding-top: calc(var(--chrome-h) + 32px);
  padding-bottom: 72px;
}

.form-log-head {
  max-width: 42rem;
  margin-bottom: 28px;
}

.form-log-head h1 {
  margin: 0.2em 0 0.4em;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: var(--ink);
}

.form-log-login {
  max-width: 22rem;
}

.form-log-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.form-log-section-title {
  margin: 28px 0 14px;
  font-size: 1.15rem;
  color: var(--ink);
}

.form-log-subsection {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.form-log-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.form-log-stats--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.form-log-countries {
  margin-bottom: 28px;
}

.form-log-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.form-log-table th,
.form-log-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.form-log-table th {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.form-log-table td:last-child,
.form-log-table th:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.form-log-table td:nth-child(n+2),
.form-log-table th:nth-child(n+2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.form-log-table a {
  color: var(--blue-mid);
  text-decoration: none;
  font-weight: 500;
}

.form-log-table a:hover {
  text-decoration: underline;
}

.form-log-table tr.is-on td {
  background: var(--mist);
}

.form-log-table-total td {
  border-top: 2px solid var(--line);
  padding-top: 12px;
}

.form-log-clear {
  margin-left: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--blue-mid);
  text-decoration: none;
}

.form-log-clear:hover {
  text-decoration: underline;
}

.form-log-stats article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 20px;
}

.form-log-stat-label {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.form-log-stat-value {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.form-log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.form-log-filters a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-log-filters a:hover,
.form-log-filters a.is-on {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.form-log-list {
  display: grid;
  gap: 14px;
}

.form-log-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px 20px;
}

.form-log-card header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}

.form-log-type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: var(--mist);
  color: var(--ink);
}

.form-log-type--trabaja {
  background: rgba(201, 162, 39, 0.18);
}

.form-log-when {
  color: var(--mute);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.form-log-fail {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-log-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
}

.form-log-card dt {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
}

.form-log-card dd {
  margin: 2px 0 0;
  color: var(--ink);
}

.form-log-card dd a {
  color: var(--blue-mid);
}

.form-log-msg {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  white-space: pre-wrap;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .form-log-stats--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .form-log-stats,
  .form-log-stats--4 {
    grid-template-columns: 1fr;
  }

  .form-log-card dl {
    grid-template-columns: 1fr;
  }
}
