/* 1North — hoja de estilos única
   Base: blanco y negro. Acento: azul eléctrico.
   Tipografía: Plus Jakarta Sans. */

/* ---------- tokens ---------- */
:root {
  --paper: #ffffff;
  --ink: #000000;
  --blue: #1a2bff;
  --blue-deep: #0f1ba8;
  --blue-tint: #e8ebff;
  --grey: #5f5f66;
  --line: #000000;
  --line-soft: #d7d7dc;

  --maxw: 1240px;
  --gut: 24px;

  --f: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --step-hero: clamp(2.35rem, 4.7vw, 4rem);
  --step-xl: clamp(1.85rem, 4.4vw, 3.5rem);
  --step-l: clamp(1.6rem, 2.8vw, 2.3rem);
  --step-m: clamp(1.18rem, 1.7vw, 1.45rem);
  --step-s: 1rem;
  --step-xs: 0.8125rem;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  overflow-wrap: break-word;
  hyphens: auto;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.on-dark :focus-visible, .on-blue :focus-visible { outline-color: #fff; }

.skip {
  position: fixed;
  left: 0; top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  transform: translateY(-110%);
}
.skip:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--ruled { border-top: 1px solid var(--line); }

.on-dark { background: var(--ink); color: var(--paper); }
.on-blue { background: var(--blue); color: var(--paper); }
.on-tint { background: var(--blue-tint); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .split, .split--even { grid-template-columns: 1fr; }
}

.measure { max-width: 62ch; }
.measure-narrow { max-width: 46ch; }

/* ---------- type helpers ---------- */
.h-hero { font-size: var(--step-hero); letter-spacing: -0.042em; }
.h-xl { font-size: var(--step-xl); }
.h-l { font-size: var(--step-l); }
.h-m { font-size: var(--step-m); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: var(--step-m); line-height: 1.5; font-weight: 400; color: var(--grey); }
.on-dark .lead, .on-blue .lead { color: rgba(255, 255, 255, 0.76); }
.small { font-size: var(--step-xs); color: var(--grey); }
.on-dark .small { color: rgba(255, 255, 255, 0.66); }
.on-blue .small { color: rgba(255, 255, 255, 0.8); }
.tag {
  display: inline-block;
  font-size: var(--step-xs);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--blue);
}
.on-dark .tag, .on-blue .tag { color: #fff; }
.stack > * + * { margin-top: 1.1rem; }
.stack-lg > * + * { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 15px 26px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.on-dark .btn, .on-blue .btn { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn:hover, .on-blue .btn:hover { background: var(--blue); color: #fff; border-color: #fff; }
.on-dark .btn--ghost, .on-blue .btn--ghost { background: transparent; color: #fff; }
.on-dark .btn--ghost:hover { background: #fff; color: var(--ink); }
.on-blue .btn--ghost:hover { background: #fff; color: var(--blue); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) {
  .btns { flex-direction: column; align-items: stretch; }
  .btns .btn { justify-content: center; }
}

.tlink {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.tlink:hover { color: var(--blue); }
.on-dark .tlink, .on-blue .tlink { border-color: #fff; }
.on-dark .tlink:hover, .on-blue .tlink:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hdr__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}
.brand__mark {
  width: 32px;
  height: 34px;
  flex: none;
  transition: opacity .15s ease;
}
.brand:hover .brand__mark { opacity: .6; }
.ftr .brand__mark { width: 36px; height: 38px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-color: var(--blue); }
.nav a[aria-current="page"] { border-color: var(--ink); }
.nav .btn { padding: 11px 20px; font-size: .95rem; }
.nav .lang { padding: 8px 10px; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8125rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--grey);
  border: 1px solid var(--grey);
  padding: 8px 10px;
}
.lang:hover { color: var(--blue); border-color: var(--blue); }
.lang__globe { width: 15px; height: 15px; flex: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 24px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.1rem; }
  .nav a:hover { border-color: var(--line-soft); color: var(--blue); }
  .nav .btn { margin-top: 16px; justify-content: center; border-bottom-width: 2px; }
  .nav .lang { margin-top: 12px; align-self: flex-start; }
  .hdr__in { position: relative; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; max-width: 44ch; }

/* diagrama de cuadrantes: los dos ejes de 1North */
.quad {
  margin: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 30px auto;
  align-items: stretch;
}
.quad__y, .quad__x {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -0.012em;
}
.quad__y {
  grid-column: 1; grid-row: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-content: flex-start;
  padding-bottom: 2px;
}
.quad__x { grid-column: 2; grid-row: 2; padding-top: 10px; }
.quad__y::after, .quad__x::after {
  content: "";
  flex: 1;
  background: var(--ink);
}
.quad__y::after { width: 1px; min-height: 24px; }
.quad__x::after { height: 1px; min-width: 24px; }

.quad__box {
  grid-column: 2; grid-row: 1;
  position: relative;
  border: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 1 / 0.9;
  min-height: 300px;
}
.quad__cross {
  position: absolute;
  background: var(--ink);
  animation-duration: .7s;
  animation-timing-function: cubic-bezier(.65, 0, .25, 1);
  animation-fill-mode: forwards;
}
.quad__cross--v {
  left: 50%; top: 0; bottom: 0; width: 1px;
  transform: scaleY(0); transform-origin: top center;
  animation-name: growY;
}
.quad__cross--h {
  top: 50%; left: 0; right: 0; height: 1px;
  transform: scaleX(0); transform-origin: left center;
  animation-name: growX;
  animation-delay: .12s;
}
.quad__cell {
  position: relative;
  padding: clamp(12px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: .9rem;
  line-height: 1.3;
  color: var(--grey);
  opacity: 0;
  animation: fadeIn .5s ease forwards;
}
.quad__cell p { margin: 0; }
.quad__cell--tl { animation-delay: .75s; }
.quad__cell--bl { animation-delay: .85s; }
.quad__cell--br { animation-delay: .95s; }
.quad__cell--tr {
  animation-delay: 1.05s;
  background: var(--blue-tint);
  color: var(--ink);
  align-items: center;
  text-align: center;
}
.quad__win {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--blue);
}
.quad__here {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px !important;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
}
.quad__dot {
  position: relative;
  flex: none;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--blue);
}
.quad__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 2.8s ease-out 1.9s infinite;
}
.quad figcaption {
  grid-column: 1 / -1; grid-row: 3;
  margin-top: 18px;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--grey);
  max-width: 46ch;
}

@keyframes growY { to { transform: scaleY(1); } }
@keyframes growX { to { transform: scaleX(1); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes ripple { 0% { opacity: .7; transform: scale(.7); } 100% { opacity: 0; transform: scale(2.4); } }

@media (prefers-reduced-motion: reduce) {
  .quad__cross, .quad__cell { animation: none; opacity: 1; transform: none; }
  .quad__dot::after { animation: none; opacity: 0; }
}
@media (max-width: 420px) {
  .quad { grid-template-columns: 24px minmax(0, 1fr); }
  .quad__box { aspect-ratio: auto; min-height: 340px; }
  .quad__cell { font-size: .82rem; padding: 12px; }
}

/* ---------- manifiesto (banda negra) ---------- */
.manifesto p {
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 20ch;
  margin: 0 0 .4em;
  color: rgba(255, 255, 255, 0.45);
}
.manifesto p:last-of-type { color: #fff; margin-bottom: 0; }
.manifesto__note { margin-top: clamp(32px, 4vw, 56px); max-width: 52ch; }

/* ---------- ejes ---------- */
.axis-card { border-top: 3px solid var(--ink); padding-top: 22px; }
.axis-card--blue { border-top-color: var(--blue); }
.axis-card h3 { font-size: var(--step-l); margin-bottom: 12px; }
.axis-card .tag { margin-bottom: 10px; }
.axis-note {
  margin-top: clamp(32px, 4vw, 48px);
  border-left: 3px solid var(--blue);
  padding-left: 20px;
  font-size: var(--step-m);
  font-weight: 500;
  max-width: 60ch;
  line-height: 1.45;
}

/* ---------- lista editorial de servicios ---------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(16px, 4vw, 56px);
  align-items: baseline;
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: background .15s ease, padding .15s ease;
}
a.row:hover { background: var(--blue-tint); padding-left: 16px; padding-right: 16px; }
.row h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.row p { color: var(--grey); margin: 0; }
a.row:hover h3 { color: var(--blue); }
@media (max-width: 700px) {
  .row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- fases ---------- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.32); border: 1px solid rgba(255,255,255,.32); }
.phase { background: var(--blue); padding: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; }
.phase__n { font-size: 2.6rem; font-weight: 200; line-height: 1; letter-spacing: -0.05em; opacity: .55; margin-bottom: 18px; }
.phase h3 { font-size: 1.28rem; margin-bottom: 10px; }
.phase p { font-size: .95rem; color: rgba(255,255,255,.82); }
.phase .small { display: block; margin-top: auto; padding-top: 18px; }
@media (max-width: 900px) { .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .phases { grid-template-columns: 1fr; } }

/* ---------- rejilla de principios / bullets ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
@media (max-width: 860px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.principle { border-top: 1px solid var(--line); padding-top: 20px; }
.principle h3 { font-size: 1.3rem; margin-bottom: 10px; }
.principle p { color: var(--grey); margin: 0; }
.on-dark .principle, .on-blue .principle { border-color: rgba(255,255,255,.4); }
.on-dark .principle p, .on-blue .principle p { color: rgba(255,255,255,.75); }

.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  line-height: 1.5;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 12px; height: 2px;
  background: var(--blue);
}
.ticks li:last-child { margin-bottom: 0; }
.ticks--cols { columns: 2; column-gap: 32px; }
@media (max-width: 620px) { .ticks--cols { columns: 1; } }
.on-dark .ticks li::before, .on-blue .ticks li::before { background: #fff; }

.nots li {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0 16px 0;
  font-size: var(--step-m);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}
.nots li:last-child { border-bottom: 1px solid var(--line-soft); }
.on-dark .nots li { border-color: rgba(255, 255, 255, 0.45); }

/* ---------- bloque de servicio detallado ---------- */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }
.svc h3 { font-size: clamp(1.6rem, 2.9vw, 2.2rem); margin-bottom: 14px; }
.svc__meta { font-size: var(--step-xs); font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.svc__out {
  margin-top: 22px;
  background: var(--blue-tint);
  padding: 18px 20px;
  font-weight: 500;
}
.svc__out strong { font-weight: 800; display: block; margin-bottom: 4px; }

.group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}
.group-head h2 { min-width: 0; }
.group-head span {
  flex: none;
  width: 30px; height: 30px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  display: grid;
  place-items: center;
}

/* ---------- tarjetas de artículo ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr; } }

/* dos tarjetas por fila, para la rejilla de productos */
.posts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .posts--two { grid-template-columns: 1fr; } }
.posts--two .post-card { gap: 14px; padding: clamp(26px, 3vw, 40px); }
.posts--two .post-card .tag {
  align-self: flex-start;
  background: var(--blue);
  color: #fff;
  padding: 7px 13px;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.posts--two .post-card:hover .tag { background: var(--ink); }
.posts--two .post-card h2,
.posts--two .post-card h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; }
.post-card {
  background: var(--paper);
  padding: clamp(22px, 2.6vw, 32px);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .15s ease;
}
.post-card:hover { background: var(--blue-tint); }
.post-card h3 { font-size: 1.3rem; line-height: 1.15; }
.post-card:hover h3 { color: var(--blue); }
.post-card p { color: var(--grey); font-size: .95rem; margin: 0; }
.post-card .tag { margin: 0; }

.post-list { border-top: 1px solid var(--line); }

/* ---------- artículo ---------- */
.article { padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 8vw, 112px); }
.article__head { max-width: 26ch; }
.article__body { max-width: 66ch; font-size: 1.09rem; line-height: 1.72; }
.article__body h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  margin: 2.2em 0 .6em;
  letter-spacing: -0.03em;
}
.article__body h2:first-child { margin-top: 0; }
.article__body ul { margin: 0 0 1.4em; }
.article__body li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.article__body li::before {
  content: ""; position: absolute; left: 0; top: .7em; width: 11px; height: 2px; background: var(--blue);
}
.article__body blockquote {
  margin: 2em 0;
  padding-left: 24px;
  border-left: 3px solid var(--blue);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.article__body strong { font-weight: 800; }

/* ---------- formulario ---------- */
.form { display: grid; gap: 18px; max-width: 560px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field ::placeholder { color: var(--grey); opacity: 1; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--blue); outline-offset: 1px; }
.form__note { font-size: var(--step-xs); color: var(--grey); }
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent input {
  flex: none;
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.consent label { font-weight: 400; font-size: .92rem; line-height: 1.45; margin: 0; }
.consent a { font-weight: 700; }

/* ficha de caso: mensaje destacado (premios, reconocimientos) */
.award {
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
  padding: 22px 26px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 74ch;
}
.award a { font-weight: 700; }

/* ficha de caso: datos de cabecera */
.casemeta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 900px) { .casemeta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .casemeta { grid-template-columns: 1fr; } }
.metaitem { border-top: 1px solid var(--line); padding-top: 18px; }
.metaitem__k { font-size: .82rem; font-weight: 800; margin-bottom: 8px !important; }
.metaitem__v { font-size: .95rem; color: var(--grey); margin: 0 !important; }

/* resultados clave de un caso: la cifra manda */
.outcomes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px);
}
@media (max-width: 700px) { .outcomes { grid-template-columns: 1fr; } }
.outcome { border-top: 1px solid rgba(255, 255, 255, 0.45); padding-top: 20px; }
.outcome__n {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 14px !important;
  color: #fff;
}
.outcome p:last-child { color: rgba(255, 255, 255, 0.78); margin: 0; }

/* trampa antispam: invisible, fuera del recorrido de teclado y del lector */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.formerror {
  border-left: 4px solid var(--blue);
  background: var(--blue-tint);
  padding: 16px 18px;
  margin-bottom: 24px;
  font-weight: 600;
  max-width: 560px;
}
.formerror:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
/* la cabecera es fija: se deja hueco al saltar al aviso o al formulario */
.formerror, #formulario { scroll-margin-top: 110px; }

.contact-direct { border-top: 1px solid var(--line); padding-top: 22px; }
.contact-direct a { font-weight: 700; }

/* ---------- CTA final ---------- */
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); letter-spacing: -0.045em; max-width: 16ch; }
.cta .lead { margin: 24px 0 32px; max-width: 48ch; }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 40px; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 760px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__brand { grid-column: 1 / -1; } }
.ftr h2 { font-size: .82rem; font-weight: 800; letter-spacing: 0; margin-bottom: 14px; }
.ftr li { margin-bottom: 12px; }
.ftr a { text-decoration: none; font-size: .95rem; color: var(--grey); }
.ftr a:hover { color: var(--blue); }
.ftr__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: var(--step-xs);
  color: var(--grey);
}
.ftr__bottom a { font-size: inherit; padding: 5px 0; display: inline-block; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }

/* marcador visible para los datos legales todavía pendientes */
.pending {
  background: #fff3b0;
  color: #000;
  padding: 1px 6px;
  font-weight: 700;
  font-size: .92em;
}


/* ==========================================================================
   Bloques a sangre completa con imagen de fondo
   ========================================================================== */

/* ---------- cabecera sobre la imagen ---------- */
.topwrap { position: relative; }

.hdr--over {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.hdr--over .nav a { color: #fff; }
.hdr--over .nav a:hover { border-color: #fff; }
.hdr--over .nav a[aria-current="page"] { border-color: #fff; }
.hdr--over .lang { color: rgba(255, 255, 255, 0.9); border-color: rgba(255, 255, 255, 0.55); }
.hdr--over .lang:hover { color: #fff; border-color: #fff; }
.hdr--over .nav a.btn { background: #fff; color: #000; border-color: #fff; }
.hdr--over .nav a.btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.hdr--over .burger { background: transparent; border-color: rgba(255, 255, 255, .6); }
.hdr--over .burger span, .hdr--over .burger span::before, .hdr--over .burger span::after { background: #fff; }
.hdr--over :focus-visible { outline-color: #fff; }

/* al bajar, la cabecera se vuelve sólida y legible */
.hdr--over.is-solid {
  position: fixed;
  background: #fff;
  border-bottom-color: var(--ink);
  color: var(--ink);
}
.hdr--over.is-solid .nav a { color: var(--ink); }
.hdr--over.is-solid .lang { color: var(--grey); border-color: var(--grey); }
.hdr--over.is-solid .nav a.btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.hdr--over.is-solid .burger { border-color: var(--ink); }
.hdr--over.is-solid .burger span,
.hdr--over.is-solid .burger span::before,
.hdr--over.is-solid .burger span::after { background: var(--ink); }
.hdr--over.is-solid :focus-visible { outline-color: var(--blue); }
@media (max-width: 900px) {
  .hdr--over .nav { background: #000; border-bottom-color: rgba(255,255,255,.3); }
  .hdr--over .nav a { border-bottom-color: rgba(255,255,255,.25); }
  .hdr--over.is-solid .nav { background: #fff; }
  .hdr--over.is-solid .nav a { border-bottom-color: var(--line-soft); }
}

/* ---------- bloque con imagen a sangre ---------- */
.bleed {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #000;
  overflow: hidden;
}
.bleed__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.bleed__scrim { position: absolute; inset: 0; z-index: -1; }
.bleed__in { position: relative; }

.bleed--hero { min-height: min(88vh, 820px); display: flex; align-items: flex-end; }
.bleed--hero .bleed__in { width: 100%; padding: 180px 0 clamp(56px, 8vh, 96px); }
.bleed--band { padding: clamp(72px, 11vw, 150px) 0; }

.bleed h1, .bleed h2, .bleed h3 { color: #fff; }
.bleed .lead { color: rgba(255, 255, 255, 0.88); }
.bleed .small { color: rgba(255, 255, 255, 0.78); }
.bleed .tag { color: #fff; }
.bleed .btn { background: #fff; color: #000; border-color: #fff; }
.bleed .btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.bleed .btn--ghost { background: transparent; color: #fff; }
.bleed .btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
.bleed .tlink { border-color: #fff; }
.bleed .tlink:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.bleed :focus-visible { outline-color: #fff; }
.bleed .ticks li::before { background: #fff; }

/* velos de oscurecimiento: garantizan el contraste del texto blanco */
.scrim--left {
  background: linear-gradient(100deg,
    rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.72) 38%,
    rgba(0, 0, 0, 0.3) 72%, rgba(0, 0, 0, 0.12) 100%);
}
.scrim--left-strong {
  background:
    linear-gradient(100deg, rgba(3, 4, 22, 0.86) 0%, rgba(3, 4, 22, 0.72) 40%,
      rgba(3, 4, 22, 0.34) 76%, rgba(3, 4, 22, 0.2) 100%),
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12));
}
.scrim--even { background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.60)); }
.scrim--even-strong { background: linear-gradient(rgba(4, 5, 24, 0.42), rgba(4, 5, 24, 0.54)); }

/* señal de desplazamiento */
.scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}
.scrollcue i {
  display: block;
  width: 1px; height: 34px;
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0));
}


/* dentro de un bloque con imagen, las reglas de las tarjetas van en blanco */
.bleed .axis-card,
.bleed .axis-card--blue { border-top-color: #fff; }

/* cabecera de sección y de artículo */
.bleed--page { min-height: 46vh; display: flex; align-items: flex-end; }
.bleed--page .bleed__in { width: 100%; padding: 168px 0 clamp(48px, 6vh, 72px); }
.bleed--post { display: flex; align-items: flex-end; }
.bleed--post .bleed__in { width: 100%; padding: 168px 0 clamp(44px, 6vh, 64px); }
.bleed--post .article__head { max-width: 24ch; }
