/* ============================================================
   REPIMECA — hoja de estilo única
   ============================================================ */

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/geist-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./fonts/geist-mono-latin.woff2") format("woff2");
}

:root {
  --ink: #070a14;
  --ink-2: #0b1020;
  --ink-3: #10162a;
  --text: #eef1fa;
  --muted: #a7b0c8;
  --line: rgba(174, 190, 255, 0.14);
  --accent: #4a6bff;
  --accent-soft: #7b93ff;
  --accent-2: #38d6ff;
  --violet: #a78bfa;
  --amber: #f0a04b;

  --light-bg: #f3f5fb;
  --light-card: #ffffff;
  --light-text: #0a0e1b;
  --light-muted: #4e5871;
  --light-line: rgba(10, 14, 27, 0.1);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --header-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 600;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.grad {
  background: linear-gradient(100deg, var(--accent-soft), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 14px;
}

/* ── Encabezado ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding-inline: var(--pad);
  background: rgba(7, 10, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 10, 20, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--text);
}

.brand-mark {
  width: 34px;
  height: 31px;
  flex: none;
  color: var(--text);
}

.brand-word b {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1;
}

.brand-word i {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: #5c7aff;
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.6px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle span:first-child {
  transform: translateY(5.6px) rotate(45deg);
}

body.nav-open .menu-toggle span:last-child {
  transform: translateY(-5.6px) rotate(-45deg);
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) 0;
  background:
    radial-gradient(120% 80% at 78% 12%, rgba(74, 107, 255, 0.16), transparent 62%),
    radial-gradient(90% 70% at 8% 90%, rgba(56, 214, 255, 0.08), transparent 60%),
    var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 78%);
  opacity: 0.45;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -60px;
  background: rgba(74, 107, 255, 0.3);
}

.orb-b {
  width: 320px;
  height: 320px;
  bottom: -140px;
  left: -80px;
  background: rgba(56, 214, 255, 0.14);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c6cfe8;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(56, 214, 255, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(56, 214, 255, 0.04);
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.6rem);
  letter-spacing: -0.04em;
}

.lead {
  max-width: 54ch;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.19rem);
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(74, 107, 255, 0.9);
}

.btn-primary:hover {
  background: #5c7aff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(174, 190, 255, 0.32);
}

.arrow {
  font-size: 1.05em;
  line-height: 1;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.hero-facts dd {
  margin-top: 7px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* consola del hero */

.hero-visual {
  perspective: 1200px;
}

.console {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(24, 32, 60, 0.92), rgba(9, 13, 26, 0.94));
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}

.console-top,
.console-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.console-top {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.console-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.console-bottom strong {
  color: var(--accent-soft);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d3dbf0;
}

.core {
  position: relative;
  aspect-ratio: 1 / 0.92;
  margin-block: 16px;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(rgba(174, 190, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 190, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  border-radius: 14px;
  overflow: hidden;
}

.ring {
  position: absolute;
  display: grid;
  place-items: start center;
  border-radius: 50%;
  border: 1px solid rgba(122, 148, 255, 0.28);
}

.ring-a {
  width: 78%;
  aspect-ratio: 1;
  border-style: dashed;
  animation: spin 46s linear infinite;
}

.ring-b {
  width: 52%;
  aspect-ratio: 1;
  border-color: rgba(56, 214, 255, 0.24);
  animation: spin 30s linear infinite reverse;
}

/* satélites que recorren cada órbita */
.sat {
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px 2px rgba(56, 214, 255, 0.65);
}

.sat-2 {
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  background: var(--accent-soft);
  box-shadow: 0 0 10px 2px rgba(123, 147, 255, 0.6);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* líneas que conectan los nodos con el núcleo */
.core-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.core-links path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.link-lines path {
  stroke: rgba(122, 148, 255, 0.22);
  stroke-width: 1;
}

.link-flow path {
  stroke: var(--accent-2);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 6 54;
  animation: flow 3.4s linear infinite;
}

.link-flow path:nth-child(2) { animation-delay: 0.85s; stroke: var(--accent-soft); }
.link-flow path:nth-child(3) { animation-delay: 1.7s; stroke: var(--violet); }
.link-flow path:nth-child(4) { animation-delay: 2.55s; stroke: var(--amber); }

@keyframes flow {
  from {
    stroke-dashoffset: 60;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* barrido de radar sobre la retícula */
.scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 34%,
    rgba(56, 214, 255, 0.09) 50%,
    transparent 66%
  );
  animation: sweep 7s ease-in-out infinite;
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(-58%);
  }
  50% {
    transform: translateX(58%);
  }
}

.core-r {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  animation: breathe 5.5s ease-in-out infinite;
  font-size: clamp(4rem, 12vw, 7.5rem);
  font-weight: 600;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(150, 174, 255, 0.5);
}

@keyframes breathe {
  50% {
    filter: drop-shadow(0 0 22px rgba(74, 107, 255, 0.45));
  }
}

.core-r em {
  margin-top: 10px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  -webkit-text-stroke: 0;
}

.node {
  position: absolute;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 14, 28, 0.86);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfd7ee;
  white-space: nowrap;
}

.node::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
  animation: blink 2.8s ease-in-out infinite;
}

@keyframes float {
  50% {
    transform: translateY(-6px);
  }
}

@keyframes blink {
  50% {
    opacity: 0.25;
  }
}

.n1 { top: 12%; left: 5%; animation-delay: 0s; }
.n2 { top: 12%; right: 5%; animation-delay: 1.5s; }
.n2::before { background: var(--accent-2); }
.n3 { bottom: 12%; left: 5%; animation-delay: 3s; }
.n3::before { background: var(--violet); }
.n4 { bottom: 12%; right: 5%; animation-delay: 4.5s; }
.n4::before { background: var(--amber); }

/* cinta */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  padding-block: 13px;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  color: rgba(190, 202, 232, 0.5);
  animation: slide 34s linear infinite;
}

.ticker-track span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 14px;
  vertical-align: 2px;
  background: var(--accent);
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ── Secciones ──────────────────────────────────────────── */

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.section-light {
  background: var(--light-bg);
  color: var(--light-text);
}

.section-dark {
  background:
    radial-gradient(80% 60% at 85% 10%, rgba(74, 107, 255, 0.14), transparent 60%),
    var(--ink-2);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  max-width: none;
}

.kicker {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-light .kicker {
  color: #3452e8;
}

.section-head h2 {
  font-size: clamp(1.95rem, 1.2rem + 2.6vw, 3.1rem);
}

.section-lead {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.section-light .section-lead {
  color: var(--light-muted);
}

.section-head-split .section-lead {
  margin-top: 0;
}

/* ── Tarjetas de soluciones ─────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 620px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: var(--light-card);
  box-shadow: 0 1px 2px rgba(10, 14, 27, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--tone, var(--accent));
}

.card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--tone, var(--accent)) 40%, transparent);
  box-shadow: 0 26px 50px -32px rgba(10, 14, 27, 0.5);
}

.tone-blue { --tone: #3452e8; }
.tone-cyan { --tone: #0e9bc4; }
.tone-violet { --tone: #7c5cf0; }
.tone-amber { --tone: #cd7a1e; }

.card-index {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--light-muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-block: 20px 22px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--tone) 12%, transparent);
  color: var(--tone);
}

.card-icon svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.card > p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--light-muted);
}

.card-list {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--light-line);
  display: grid;
  gap: 10px;
}

.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.89rem;
  color: var(--light-text);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  background: var(--tone);
}

/* ── Sectores ───────────────────────────────────────────── */

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.chips li {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 28px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.9rem;
  color: #d6dced;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.chips li:hover {
  transform: translateY(-3px);
  border-color: rgba(122, 148, 255, 0.42);
  background: rgba(74, 107, 255, 0.08);
}

.chips svg {
  width: 26px;
  height: 26px;
  color: var(--accent-soft);
}

/* ── Método ─────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 620px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: var(--light-card);
}

.step-num {
  font-family: var(--mono);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
  color: color-mix(in srgb, #3452e8 32%, transparent);
}

.step h3 {
  margin-top: 18px;
  font-size: 1.12rem;
}

.step > p:not(.step-out) {
  margin-top: 10px;
  margin-bottom: 22px;
  font-size: 0.92rem;
  color: var(--light-muted);
}

.step-out {
  display: grid;
  gap: 3px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--light-line);
}

.step-out span {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-muted);
}

.step-out strong {
  font-size: 0.95rem;
  color: var(--light-text);
}

/* ── Nosotros ───────────────────────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.pillars article {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.pillars span {
  color: var(--accent-soft);
}

.pillars h3 {
  margin-top: 14px;
  font-size: 1.3rem;
}

.pillars p {
  margin-top: 10px;
  font-size: 0.93rem;
  color: var(--muted);
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2px 44px;
  margin-top: 38px;
}

.checks li {
  position: relative;
  padding: 15px 0 15px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: #d3d9ec;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 14px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(74, 107, 255, 0.18);
  color: var(--accent-2);
  font-size: 0.72rem;
}

/* ── Contacto ───────────────────────────────────────────── */

.section-contact {
  overflow: hidden;
  padding-bottom: clamp(72px, 7vw, 96px);
  background:
    radial-gradient(70% 60% at 20% 0%, rgba(74, 107, 255, 0.2), transparent 60%),
    radial-gradient(60% 60% at 95% 90%, rgba(56, 214, 255, 0.12), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
}

.contact-word {
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 15vw, 12.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.022);
  pointer-events: none;
  user-select: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.2rem);
}

.contact-copy .btn {
  margin-top: 32px;
}

.contact-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(28, 37, 68, 0.7), rgba(10, 14, 28, 0.7));
  backdrop-filter: blur(8px);
}

.contact-card h3 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.contact-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.contact-list dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list dd {
  margin-top: 6px;
  font-size: 1rem;
  color: var(--text);
}

.contact-list dd .muted {
  font-size: 0.86rem;
}

.contact-list a {
  border-bottom: 1px solid rgba(122, 148, 255, 0.5);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.contact-help {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-help strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Pie ────────────────────────────────────────────────── */

.site-footer {
  padding-top: clamp(52px, 6vw, 76px);
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 44px;
}

.footer-brand .brand {
  margin-right: 0;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 36px;
}

.footer-brand .brand-word b {
  font-size: 1.15rem;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 40ch;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-nav h2,
.footer-contact h2 {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.footer-nav a,
.footer-contact a,
.footer-contact p {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--text);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: rgba(167, 176, 200, 0.7);
}

/* ── Animación de entrada ───────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.cards .card:nth-child(2),
.steps .step:nth-child(2),
.chips li:nth-child(2) { transition-delay: 70ms; }
.cards .card:nth-child(3),
.steps .step:nth-child(3),
.chips li:nth-child(3) { transition-delay: 140ms; }
.cards .card:nth-child(4),
.steps .step:nth-child(4),
.chips li:nth-child(4) { transition-delay: 210ms; }
.chips li:nth-child(5) { transition-delay: 280ms; }
.chips li:nth-child(6) { transition-delay: 350ms; }
.chips li:nth-child(7) { transition-delay: 420ms; }

/* ── Adaptable ──────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero-inner,
  .contact-grid,
  .section-head-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head-split {
    align-items: start;
  }

  .hero-visual {
    max-width: 520px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--pad) 28px;
    background: #080b16;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 68px;
  }

  .brand-word i {
    display: none;
  }

  .actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .ticker,
  .hero-bg,
  .hero-visual,
  .contact-word,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section,
  .hero,
  .site-footer {
    background: #fff !important;
    color: #000;
    padding-block: 18px;
  }
}
