/* ============================================================
   eSIM.tech — Enterprise Proposal Mockup
   Nyx / BAST estudio — FASE 4 ESIM run — 2026-04-16
   Stack: CSS custom properties + vanilla, no frameworks
   ============================================================ */

/* ------------------------------------------------------------
   TOKENS — paleta y tipografía (replicable en Framer)
   ------------------------------------------------------------ */

:root {
  /* Fondo */
  --bg-primary:    #FAFBFC;
  --bg-secondary:  #F1F3F7;
  --bg-inverted:   #0B0F1A;

  /* Texto */
  --text-primary:   #0D0F14;
  --text-secondary: #64748B;
  --text-inverted:  #FFFFFF;
  --text-muted:     #A0AABF;

  /* Accent */
  --accent:         #4F46E5;
  --accent-hover:   #6366F1;
  --accent-subtle:  rgba(79, 70, 229, 0.06);
  --accent-border:  rgba(79, 70, 229, 0.18);

  /* Bordes y estructurales */
  --border:         #E8EAED;
  --border-strong:  #D1D5DB;

  /* Tipografía */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;

  /* Espacios */
  --section-py: clamp(80px, 10vw, 140px);
  --container:  1280px;
  --gutter:     clamp(24px, 5vw, 80px);

  /* Radii */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Motion — ease-out-strong para expand, ease-out-quart para exit */
  --ease-out-strong:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart:   cubic-bezier(0.25, 1, 0.5, 1);
  --dur-hero:         280ms;
  --dur-hero-out:     220ms;
  --dur-reveal:       480ms;
  --dur-fast:         160ms;
}

/* ------------------------------------------------------------
   RESET + BASE
   ------------------------------------------------------------ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* NUNCA overflow-x en body — va en html */
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* Respeto prefers-reduced-motion: desactivar transiciones no esenciales */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__track {
    transition: none !important;
  }
}

/* ------------------------------------------------------------
   LAYOUT UTILS
   ------------------------------------------------------------ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------
   NAV
   ------------------------------------------------------------ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 200ms ease;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: default;
}

.nav__logo-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav__logo-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-fast) ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--dur-fast) var(--ease-out-strong);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 20px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.nav__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-primary);
}

/* ------------------------------------------------------------
   HERO — split bifurcado 60/40 con diagonal 15°
   ------------------------------------------------------------ */

.hero {
  padding-top: 64px; /* altura del nav */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Umbrella headline — todo el ancho, arriba del split */
.hero__umbrella {
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(28px, 4vw, 48px);
  text-align: center;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}

.hero__umbrella-headline {
  font-size: clamp(36px, 5.5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
}

.hero__umbrella-headline em {
  font-style: normal;
  color: var(--accent);
}

/* Split container */
.hero__split {
  flex: 1;
  display: flex;
  position: relative;
  min-height: 520px;
}

/* Cada track */
.hero__track {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 64px) clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  transition:
    flex var(--dur-hero) var(--ease-out-strong);
  cursor: default;
}

/* Track enterprise — 60% izquierda */
.hero__track--enterprise {
  flex: 0 0 60%;
  background: var(--bg-secondary);
  /* clip-path diagonal 15° borde derecho */
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 100%, 0 100%);
  z-index: 2;
}

/* Track reseller — 40% derecha */
.hero__track--reseller {
  flex: 0 0 40%;
  background: var(--bg-primary);
  /* Compensa el clip del enterprise con padding-left */
  padding-left: clamp(56px, 6vw, 80px);
  z-index: 1;
}

/* Hover state — enterprise expand 60→68% */
.hero__split:hover .hero__track--enterprise,
.hero__split--hover-enterprise .hero__track--enterprise {
  flex: 0 0 68%;
  transition:
    flex var(--dur-hero) var(--ease-out-strong);
}

.hero__split:hover .hero__track--reseller,
.hero__split--hover-enterprise .hero__track--reseller {
  flex: 0 0 32%;
  transition:
    flex var(--dur-hero) var(--ease-out-strong);
}

/* Hover individual para reactividad por track */
.hero__split:has(.hero__track--reseller:hover) .hero__track--enterprise {
  flex: 0 0 52%;
  transition: flex var(--dur-hero) var(--ease-out-strong);
}

.hero__split:has(.hero__track--reseller:hover) .hero__track--reseller {
  flex: 0 0 48%;
  transition: flex var(--dur-hero) var(--ease-out-strong);
}

/* Exit hover — speed up */
.hero__split .hero__track {
  transition: flex var(--dur-hero-out) var(--ease-out-quart);
}

.hero__split:hover .hero__track {
  transition: flex var(--dur-hero) var(--ease-out-strong);
}

/* Divisor diagonal visual overlay */
.hero__divider {
  position: absolute;
  top: 0;
  /* Posición calculada: ~60% del ancho menos el offset de la diagonal */
  left: calc(60% - 24px);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent) 0%, rgba(79,70,229,0.15) 100%);
  transform: skewX(-15deg);
  transform-origin: top center;
  z-index: 10;
  pointer-events: none;
  transition: left var(--dur-hero) var(--ease-out-strong);
}

/* SVG asset — nodos enterprise */
.hero__asset {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
  transition: opacity var(--dur-hero) ease;
}

.hero__track--enterprise:hover .hero__asset,
.hero__split:hover .hero__asset {
  opacity: 0.8;
}

/* SVG asset reseller (mapa) */
.hero__asset--map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  pointer-events: none;
}

/* Contenido del track */
.hero__track-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
}

/* Pills de vertical */
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.hero__pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--accent-border);
  border-radius: 100px;
  color: var(--accent);
  background: var(--accent-subtle);
}

.hero__headline {
  font-size: clamp(24px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.hero__sub {
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 400px;
}

/* Microcopy de datos bajo el CTA enterprise */
.hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.hero__microcopy-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__microcopy-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
}

.hero__microcopy-item:first-child::before {
  display: none;
}

/* CTAs hero */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cta--primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  transition:
    background var(--dur-fast) ease,
    transform var(--dur-fast) ease,
    box-shadow var(--dur-fast) ease;
  cursor: pointer;
  border: none;
}

.cta--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.28);
}

.cta--primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cta--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 11px 23px;
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
  transition:
    background var(--dur-fast) ease,
    transform var(--dur-fast) ease;
  cursor: pointer;
}

.cta--ghost:hover {
  background: var(--accent-subtle);
  transform: translateY(-2px);
}

.cta--ghost:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Flecha en CTA */
.cta-arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease-out-strong);
}

.cta--primary:hover .cta-arrow,
.cta--ghost:hover .cta-arrow {
  transform: translateX(3px);
}

/* ------------------------------------------------------------
   PLACEHOLDER TIPOGRAFICO — sistema visual coherente
   Los [DATA-VERIFY] se leen como decision de diseno, no como bug
   ------------------------------------------------------------ */

.placeholder {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--accent);
  opacity: 0.5;
  background: rgba(79, 70, 229, 0.05);
  border: 1px dashed rgba(79, 70, 229, 0.25);
  border-radius: 3px;
  padding: 1px 6px;
  letter-spacing: 0.02em;
  display: inline;
  white-space: nowrap;
}

/* Versión bloque para métricas en sección Proof */
.placeholder--block {
  display: block;
  text-align: center;
  padding: 12px 20px;
  font-size: 1em;
  opacity: 0.4;
  border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------
   SECCIONES — estructura general
   ------------------------------------------------------------ */

.section {
  padding: var(--section-py) var(--gutter);
}

.section__header {
  max-width: 680px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.section__headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Versión centrada */
.section__header--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   SECCIÓN 1 — Who We Serve
   ------------------------------------------------------------ */

.who-we-serve {
  background: var(--bg-primary);
}

.who-we-serve .container {
  max-width: var(--container);
}

/* Grid de vertical cards */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.vertical-card {
  background: var(--bg-primary);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    background var(--dur-fast) ease,
    transform var(--dur-fast) ease;
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 240ms var(--ease-out-strong);
}

.vertical-card:hover {
  background: var(--bg-secondary);
}

.vertical-card:hover::before {
  height: 100%;
}

.vertical-card__icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  opacity: 0.8;
  flex-shrink: 0;
}

.vertical-card__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.vertical-card__body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.section__cta-row {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ------------------------------------------------------------
   SECCIÓN 2 — How It Runs (SECCIÓN INVERTIDA — dark)
   ------------------------------------------------------------ */

.how-it-runs {
  background: var(--bg-inverted);
  color: var(--text-inverted);
}

.how-it-runs .section__label {
  color: var(--accent);
}

.how-it-runs .section__headline {
  color: var(--text-inverted);
}

.how-it-runs .section__sub {
  color: var(--text-muted);
}

.how-it-runs .section__cta-row .cta--ghost {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
}

.how-it-runs .section__cta-row .cta--ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.5);
}

/* Grid de capabilities */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px 48px;
}

.capability {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.capability__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-inverted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.capability__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.capability__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.capability__body .placeholder {
  opacity: 0.4;
  border-color: rgba(79, 70, 229, 0.3);
  background: rgba(79, 70, 229, 0.08);
}

/* ------------------------------------------------------------
   SECCIÓN 3 — Proof (base clara)
   ------------------------------------------------------------ */

.proof {
  background: var(--bg-secondary);
}

/* Métricas en DM Mono */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.metric {
  background: var(--bg-primary);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric__value {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
}

.metric__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.metric__value.placeholder--block {
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--accent);
  opacity: 0.4;
  background: rgba(79, 70, 229, 0.04);
  border-radius: var(--radius-sm);
}

/* Case study placeholder */
.case-study-placeholder {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto;
}

.case-study-placeholder__quote {
  font-size: clamp(16px, 1.8vw, 22px);
  font-style: italic;
  line-height: 1.55;
  color: var(--text-secondary);
}

.case-study-placeholder__attr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ------------------------------------------------------------
   FOOTER — sección invertida dark con claim
   ------------------------------------------------------------ */

.site-footer {
  background: var(--bg-inverted);
  padding: clamp(64px, 8vw, 120px) var(--gutter) clamp(32px, 4vw, 56px);
}

.site-footer .container {
  max-width: var(--container);
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer__claim {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.footer__headline {
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-inverted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__logo-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-inverted);
}

.footer__logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__nav-link {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--dur-fast) ease;
}

.footer__nav-link:hover {
  color: var(--text-inverted);
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ------------------------------------------------------------
   SCROLL REVEAL — stagger fino
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-reveal) var(--ease-out-quart),
    transform var(--dur-reveal) var(--ease-out-quart);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 80ms; }
.reveal--delay-2 { transition-delay: 160ms; }
.reveal--delay-3 { transition-delay: 240ms; }
.reveal--delay-4 { transition-delay: 320ms; }

/* ------------------------------------------------------------
   RESPONSIVE — mobile first
   Breakpoints: 768px / 1024px / 1440px
   ------------------------------------------------------------ */

/* ---- 768px y menos — mobile ---- */
@media (max-width: 768px) {

  .nav__links {
    display: none;
  }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gutter) 24px;
    gap: 0;
    z-index: 99;
  }

  .nav__link {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  /* Hero mobile: stack vertical, diagonal como separador horizontal */
  .hero__split {
    flex-direction: column;
    min-height: auto;
  }

  .hero__track--enterprise {
    flex: none;
    clip-path: none;
    /* Diagonal horizontal en mobile: borde inferior sesgado */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
    padding-bottom: 60px;
  }

  .hero__track--reseller {
    flex: none;
    padding-left: clamp(28px, 5vw, 48px);
  }

  /* Deshabilitar hover split en mobile */
  .hero__split:hover .hero__track--enterprise,
  .hero__split:hover .hero__track--reseller {
    flex: none;
  }

  .hero__split:has(.hero__track--reseller:hover) .hero__track--enterprise,
  .hero__split:has(.hero__track--reseller:hover) .hero__track--reseller {
    flex: none;
  }

  .hero__divider {
    display: none;
  }

  .hero__asset {
    display: none;
  }

  .hero__umbrella-headline {
    font-size: clamp(28px, 8vw, 44px);
  }

  .hero__headline {
    font-size: clamp(22px, 6vw, 36px);
  }

  .cta-group {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta--primary,
  .cta--ghost {
    width: 100%;
    justify-content: center;
  }

  .hero__microcopy {
    flex-direction: column;
    gap: 8px;
  }

  .verticals-grid {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }

  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }

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

/* ---- 769px – 1024px — tablet ---- */
@media (min-width: 769px) and (max-width: 1024px) {

  .hero__track--enterprise {
    clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 100%, 0 100%);
  }

  .hero__headline {
    font-size: clamp(22px, 3vw, 36px);
  }

  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- 1440px+ — pantallas anchas ---- */
@media (min-width: 1440px) {

  .hero__umbrella-headline {
    font-size: 84px;
  }

  .hero__headline {
    font-size: 52px;
  }

  .verticals-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---- Focus visible global (no matar con outline:none sin reemplazo) ---- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
