/* ── Tokens (alineados con automate-landing) ───────────── */
:root {
  --navy: #07080f;
  --blue: #4d9fff;
  --blue-dark: #2563eb;
  --text: #ffffff;
  --text-body: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
  --emerald: #34d399;
  --amber: #fde68a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --text-secondary: #94a3b8;
  --surface: #10151f;
  --path-comercios: #f59e0b;
  --path-empresas: #3b82f6;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Compensa el header fijo al saltar a una sección con ancla */
section[id] { scroll-margin-top: 88px; }

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

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

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 8, 15, 0.88);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }

.site-logo__img {
  display: block;
  height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(77, 159, 255, 0.7);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s var(--ease);
}

.nav-link:hover { color: #fff; }

.nav-link.nav-active { color: var(--blue); }
.nav-link.nav-active::after { transform: scaleX(1); }

/* Hamburguesa (oculta en desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-audit {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  background: var(--blue);
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(77, 159, 255, 0.35);
  transition: filter 0.15s, transform 0.15s;
}

.btn-audit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: auto;
  padding-top: 72px;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: '';
  position: absolute;
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  height: 520px;
  border-radius: 50%;
  background: rgba(77, 159, 255, 0.15);
  filter: blur(80px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 3rem;
    padding-block: 3rem 2.5rem;
  }
}

.hero__copy {
  max-width: 42rem;
}

/* Pill — igual que automate-landing */
.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(77, 159, 255, 0.25);
  background: rgba(77, 159, 255, 0.1);
  color: var(--blue);
  font-size: 0.6875rem; /* 11px */
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-pill {
    padding: 0.5rem 1rem;
    font-size: 0.75rem; /* 12px */
  }
}

/* Título — .landing-hero-title */
.hero__title {
  font-size: clamp(1.75rem, 0.7rem + 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero__title-accent {
  display: block;
  color: var(--blue);
}

/* Descripción — .landing-hero-sub */
.hero__desc {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: clamp(1rem, 0.35rem + 1.8vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-body);
}

/* Botones — .hero-btn-primary / .hero-btn-secondary */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 18px 60px rgba(59, 130, 246, 0.35);
  transition: filter 0.15s, transform 0.15s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  font-weight: 900;
  color: var(--text);
  transition: background 0.15s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Trust row — igual que automate-landing */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  list-style: none;
  font-size: 0.8125rem; /* 13px */
  color: var(--text-muted);
}

@media (min-width: 640px) {
  .hero-trust {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    font-size: 0.875rem; /* 14px */
    gap: 1rem;
  }
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-trust__icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--blue);
}

.hero-trust__icon svg {
  width: 18px;
  height: 18px;
}

/* ── AI automation hub (columna derecha) ────────────────── */
.hub-figure {
  --c-orange: #f59e0b;
  --c-orange-l: #ffb84d;
  --c-blue: #3b82f6;
  --c-blue-l: #38bdf8;
  --c-cyan: #06b6d4;
  --navy-card: rgba(9, 18, 34, 0.72);
  position: relative;
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  aspect-ratio: 1024 / 940;
}

.hub-figure__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Branch heads */
.hub-head {
  position: absolute;
  top: 8%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 34%;
}

.hub-head--left  { left: 17.5%; transform: translateX(-50%); }
.hub-head--right { left: 82.5%; transform: translateX(-50%); }

.hub-head__icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 12px currentColor);
}

.hub-head--left  .hub-head__icon { color: var(--c-orange); }
.hub-head--right .hub-head__icon { color: var(--c-blue-l); }

.hub-head__icon svg { width: 100%; height: 100%; }

.hub-head__title {
  margin-top: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hub-head--left  .hub-head__title { color: var(--c-orange); }
.hub-head--right .hub-head__title { color: var(--c-blue-l); }

.hub-head__sub {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: #cbd5e1;
  font-weight: 500;
}

/* Service cards */
.hub-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 33%;
  min-height: 58px;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--navy-card);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

.hub-card--left  { left: 1.5%; }
.hub-card--right { right: 1.5%; justify-content: space-between; text-align: left; }

.hub-card--orange {
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), 0 0 22px rgba(245, 158, 11, 0.1);
}

.hub-card--blue {
  border: 1px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), 0 0 22px rgba(59, 130, 246, 0.12);
}

.hub-card__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.hub-card__icon svg { width: 24px; height: 24px; }

.hub-card--orange .hub-card__icon { color: var(--c-orange); }
.hub-card--blue   .hub-card__icon { color: var(--c-blue-l); }

.hub-card__label {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: #f8fafc;
}

/* Central hub core */
.hub-core {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #1e4a8a, #071426 70%);
  border: 2px solid rgba(96, 165, 250, 0.6);
  box-shadow:
    0 0 45px rgba(59, 130, 246, 0.65),
    0 0 90px rgba(59, 130, 246, 0.28),
    inset 0 0 26px rgba(59, 130, 246, 0.2);
}

.hub-core svg { width: 54px; height: 54px; }

.hub-core__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Bottom platform card */
.hub-platform {
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 58%;
  padding: 0.9rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: rgba(7, 20, 38, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.12);
}

.hub-platform__title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f8fafc;
}

.hub-platform__sub {
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: #cbd5e1;
}

/* Elementos exclusivos de mobile (ocultos en desktop/tablet) */
.hub-head__more { display: none; }
.hub-mobile { display: none; }

/* ── Footer trust bar ─────────────────────────────────────── */
.trust-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: rgba(7, 8, 15, 0.95);
}

.trust-bar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-bar__item:last-child { border-right: none; }

.trust-bar__item svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  flex-shrink: 0;
  opacity: 1;
}

/* ── Sección 2: Auditoría gratuita ──────────────────────── */
.audit {
  --a-bg: #081321;
  --a-card: #0f172a;
  --a-border: rgba(255, 255, 255, 0.08);
  --a-primary: #2563eb;
  --a-glow: #3b82f6;
  --a-text: #f8fafc;
  --a-sec: #94a3b8;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--a-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 120px 24px;
}

.audit::before {
  content: "";
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 96%;
  height: 460px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.16), transparent 68%);
  filter: blur(46px);
  pointer-events: none;
  z-index: 0;
}

.audit__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.audit__head {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 0.7s var(--ease) backwards;
}

.tx-blue { color: #3b82f6; }

/* Badge pill */
.eyebrow--pill {
  display: inline-block;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  background: rgba(37, 99, 235, 0.08);
  color: #93c5fd;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.audit__title {
  font-family: var(--font);
  font-size: clamp(2rem, 1.1rem + 3.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 1.6rem;
  color: var(--a-text);
}

.audit__sub {
  max-width: 640px;
  margin: 1.35rem auto 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--a-sec);
}

/* ── Tarjetas ─────────────────────────────────────────── */
.ecards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 4rem;
}

.ecard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid var(--a-border);
  background: var(--a-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 24px 48px -34px rgba(0, 0, 0, 0.85);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: fadeUp 0.7s var(--ease) backwards;
  animation-delay: calc(0.2s + var(--i) * 0.12s);
}

.ecard:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 32px 64px -30px rgba(37, 99, 235, 0.5), 0 0 0 1px rgba(59, 130, 246, 0.18);
}

.ecard__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ecard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: radial-gradient(circle at 50% 40%, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.03));
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.28);
  color: #60a5fa;
}

.ecard__icon svg { width: 30px; height: 30px; }

.ecard__num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--a-glow);
  opacity: 0.85;
}

.ecard__title {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--a-text);
}

.ecard__rule {
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 1rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--a-glow), var(--a-primary));
}

.ecard__desc {
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--a-sec);
}

.ecard__badge {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--a-border);
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
}

.ecard__badge svg { width: 16px; height: 16px; color: #60a5fa; }

/* Conexiones luminosas entre tarjetas */
.ecards__link {
  position: absolute;
  top: 60px;
  width: 130px;
  height: 2px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.12) 18%, rgba(59, 130, 246, 0.65) 50%, rgba(59, 130, 246, 0.12) 82%, transparent);
  z-index: 2;
  pointer-events: none;
}

.ecards__link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--a-glow);
  box-shadow: 0 0 12px 2px rgba(59, 130, 246, 0.8);
}

.ecards__link--1 { left: 33.333%; }
.ecards__link--2 { left: 66.666%; }

/* ── CTA grande ───────────────────────────────────────── */
.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding: 2.75rem 3rem;
  border-radius: 22px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: linear-gradient(135deg, #101d34, #0d1628);
  box-shadow: 0 40px 90px -50px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  animation: fadeUp 0.7s var(--ease) 0.55s backwards;
}

.cta-card__main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.cta-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.12), 0 14px 34px rgba(37, 99, 235, 0.5);
}

.cta-card__icon svg { width: 34px; height: 34px; }

.cta-card__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--a-text);
}

.cta-card__desc {
  margin-top: 0.6rem;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--a-sec);
}

.cta-card__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.15rem;
}

.cta-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  height: 72px;
  padding: 0 48px;
  border-radius: 18px;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(37, 99, 235, 0.7);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), filter 0.15s var(--ease);
}

.cta-card__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 24px 54px -12px rgba(37, 99, 235, 0.9);
}

.cta-card__btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.cta-card__arrow { display: inline-flex; }
.cta-card__arrow svg { width: 20px; height: 20px; transition: transform 0.15s var(--ease); }
.cta-card__btn:hover .cta-card__arrow svg { transform: translateX(3px); }

.cta-proof {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cta-proof__avatars { display: flex; }

.cta-avatar {
  width: 38px;
  height: 38px;
  margin-left: -12px;
  border-radius: 50%;
  border: 2px solid #0d1526;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.cta-avatar:first-child { margin-left: 0; }

.cta-proof__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cta-proof__stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.cta-proof__count {
  font-size: 0.85rem;
  color: var(--a-sec);
}

/* ── Responsive: la versión tablet/móvil vive al final del
   archivo (@media max-width:1023px). Aquí solo el corte desktop. */

@media (prefers-reduced-motion: reduce) {
  .audit__head, .ecard, .cta-card { animation: none; }
}

/* ── Sección 3: Selector de camino ──────────────────────── */
.paths {
  position: relative;
  z-index: 1;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 120px 24px;
}

.paths__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.paths__head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.paths__title {
  margin-top: 1.9rem;
}

.paths__sub {
  max-width: 560px;
  margin: 1.35rem auto 0;
}

/* Nodo conector luminoso */
.paths__connector {
  position: relative;
  width: 100%;
  height: 64px;
  margin-top: 3.5rem;
}

.paths__connector-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pc-node,
.pc-end {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.pc-node {
  left: 50%;
  top: 8px;
  width: 14px;
  height: 14px;
  background: #3b82f6;
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.15), 0 0 18px 3px rgba(59, 130, 246, 0.8);
  animation: pcPulse 2.6s ease-in-out infinite;
}

.pc-end {
  top: 100%;
  width: 11px;
  height: 11px;
}

.pc-end--comercios {
  left: 25%;
  background: var(--path-comercios);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14), 0 0 14px 2px rgba(245, 158, 11, 0.75);
  animation: pcPulse 2.6s ease-in-out infinite 0.3s;
}

.pc-end--empresas {
  left: 75%;
  background: var(--path-empresas);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14), 0 0 14px 2px rgba(59, 130, 246, 0.75);
  animation: pcPulse 2.6s ease-in-out infinite 0.6s;
}

@keyframes pcPulse {
  0%, 100% { opacity: 0.85; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 0 12px 2px rgba(59, 130, 246, 0.6); }
  50%      { opacity: 1;    box-shadow: 0 0 0 7px rgba(59, 130, 246, 0.08), 0 0 22px 4px rgba(59, 130, 246, 0.9); }
}

/* Flujo de energía por las líneas (sensación de movimiento) */
.pc-flow {
  stroke-dasharray: 14 86;
  stroke-dashoffset: 100;
  animation: pcFlow 2.2s linear infinite;
}

.pc-flow--comercios {
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.9));
}

.pc-flow--empresas {
  filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.9));
  animation-delay: 0.4s;
}

@keyframes pcFlow {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

/* Tarjetas */
.paths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: stretch;
  margin-top: 0;
}

.path-card {
  --pc: var(--path-comercios);
  --pc-rgb: 245, 158, 11;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.75rem;
  border-radius: 26px;
  border: 1px solid rgba(var(--pc-rgb), 0.22);
  background: linear-gradient(180deg, #131c2d, #0f172a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 30px 60px -40px rgba(0, 0, 0, 0.9), 0 0 40px -20px rgba(var(--pc-rgb), 0.35);
  color: var(--text);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: fadeUp 0.7s var(--ease) backwards;
}

.path-card--comercios { --pc: var(--path-comercios); --pc-rgb: 245, 158, 11; animation-delay: 0.15s; }
.path-card--empresas  { --pc: var(--path-empresas);  --pc-rgb: 59, 130, 246;  animation-delay: 0.28s; }

.path-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--pc-rgb), 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -18px rgba(var(--pc-rgb), 0.55);
}

.path-card:focus-visible {
  outline: 2px solid var(--pc);
  outline-offset: 4px;
}

/* Icono tipo nodo (borde fino + halo + pulso) */
.path-card__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(var(--pc-rgb), 0.45);
  background: radial-gradient(circle at 50% 42%, rgba(var(--pc-rgb), 0.18), rgba(var(--pc-rgb), 0.02));
  box-shadow: 0 0 26px rgba(var(--pc-rgb), 0.32);
  color: var(--pc);
  transition: transform 0.2s var(--ease);
}

.path-card__halo {
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid rgba(var(--pc-rgb), 0.25);
  opacity: 0.7;
  animation: haloBeat 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes haloBeat {
  0%, 100% { transform: scale(1);    opacity: 0.55; }
  50%      { transform: scale(1.12); opacity: 0.15; }
}

.path-card__icon svg {
  position: relative;
  width: 38px;
  height: 38px;
}

.path-card:hover .path-card__icon { transform: scale(1.05); }

.path-card__label {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pc);
}

.path-card__title {
  margin-top: 0.6rem;
  font-size: 30px;
  line-height: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.path-card__desc {
  margin-top: 1rem;
  font-size: 18px;
  line-height: 30px;
  color: var(--text-secondary);
}

/* Iconos representativos por item */
.path-card__list {
  list-style: none;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.path-card__list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 16px;
  font-weight: 500;
  color: #e2e8f0;
}

.path-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(var(--pc-rgb), 0.28);
  background: rgba(var(--pc-rgb), 0.1);
  color: var(--pc);
}

.path-card__ico svg {
  width: 19px;
  height: 19px;
}

/* Divisor con más presencia */
.path-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s var(--ease), text-shadow 0.2s var(--ease);
}

.path-card__arrow {
  display: inline-flex;
  color: var(--pc);
}

.path-card__arrow svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s var(--ease);
}

.path-card:hover .path-card__cta {
  color: var(--pc);
  text-shadow: 0 0 18px rgba(var(--pc-rgb), 0.5);
}

.path-card:hover .path-card__arrow svg { transform: translateX(4px); }

/* Footer microcopy */
.paths__micro {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.paths__micro-icon {
  display: inline-flex;
  color: var(--blue);
}

.paths__micro-icon svg { width: 24px; height: 24px; }

.paths__micro a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .paths__connector { display: none; }
  .paths__grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; }
}

@media (max-width: 640px) {
  .paths { padding: 72px 16px; }

  .path-card { padding: 1.75rem 1.5rem; border-radius: 20px; }
  .path-card__icon { width: 60px; height: 60px; }
  .path-card__icon svg { width: 30px; height: 30px; }
  .path-card__halo { inset: -7px; }
  .path-card__label { margin-top: 1.2rem; }
  .path-card__title { font-size: 24px; line-height: 30px; }
  .path-card__desc { margin-top: 0.85rem; font-size: 16px; line-height: 26px; }

  .path-card__list { margin-top: 1.4rem; margin-bottom: 1.4rem; gap: 0.7rem; }
  .path-card__list li { font-size: 15px; }
  .path-card__ico { width: 32px; height: 32px; border-radius: 10px; }
  .path-card__ico svg { width: 17px; height: 17px; }

  .path-card__cta { padding-top: 1.4rem; font-size: 16px; }

  .paths__micro { margin-top: 2.25rem; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .path-card, .pc-node, .pc-end, .path-card__halo, .pc-flow { animation: none; }
  .pc-flow { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* ── Sección 4: Quiénes somos ───────────────────────────── */
.about {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 120px 24px;
}

.about__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Glows radiales */
.about__glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.about__glow--title {
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 100%;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.16), transparent 65%);
  filter: blur(60px);
}

.about__glow--cards {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  max-width: 100%;
  height: 340px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12), transparent 68%);
  filter: blur(55px);
  animation: aboutGlowPulse 6s ease-in-out infinite;
}

@keyframes aboutGlowPulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

.about__head {
  max-width: 760px;
  margin: 0 auto;
}

.about__title {
  margin-top: 1.9rem;
}

.about__text {
  max-width: 680px;
  margin: 1.35rem auto 0;
}

/* Tarjetas de fundador */
.founders {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3.75rem;
}

.founder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  padding: 2.25rem 1.5rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #131b2c, #111827);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9), 0 0 44px -24px rgba(59, 130, 246, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  animation: fadeUp 0.7s var(--ease) backwards;
}

.founder:nth-child(2) { animation-delay: 0.12s; }
.founder:nth-child(3) { animation-delay: 0.24s; }

.founder:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(59, 130, 246, 0.6);
}

/* Avatar: inicial azul + halo + órbita */
.founder__avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 150px;
  height: 132px;
  margin-bottom: 1rem;
}

.founder__avatar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 68%);
  filter: blur(6px);
  z-index: 0;
}

.founder__initial {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 78px;
  line-height: 1;
  color: #3b82f6;
  text-shadow: 0 0 26px rgba(59, 130, 246, 0.6);
}

.founder__orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 168px;
  transform: translate(-50%, -50%) rotate(-18deg) scaleY(0.44);
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.3);
  z-index: 1;
}

.founder__orbit-spin {
  position: absolute;
  inset: 0;
  animation: orbitSpin 16s linear infinite;
}

.founder__orbit-dot {
  position: absolute;
  top: -3.5px;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: #8bb8ff;
  box-shadow: 0 0 10px 2px rgba(59, 130, 246, 0.9);
}

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

.founder__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.founder__role {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #60a5fa;
}

/* Barra de métricas */
.metrics {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 3.75rem auto 0;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: 0 24px 48px -34px rgba(0, 0, 0, 0.85);
  animation: fadeUp 0.7s var(--ease) 0.2s backwards;
}

.metric {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex: 1;
  padding: 0.25rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metric:last-child { border-right: none; }

.metric__icon {
  display: inline-flex;
  color: var(--blue);
}

.metric__icon svg { width: 26px; height: 26px; }

.metric__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.metric__num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.metric__label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Ubicación */
.about__location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-size: 15px;
  color: var(--text-secondary);
}

.about__location-icon {
  display: inline-flex;
  color: var(--blue);
}

.about__location-icon svg { width: 18px; height: 18px; }

.about__facts {
  max-width: 640px;
  margin: 1rem auto 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* Cierre */
.about__closing {
  max-width: 620px;
  margin: 2.5rem auto 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .founder, .metrics, .founder__orbit-spin, .about__glow--cards { animation: none; }
}

/* ── Sección 5: Diferenciación (comparativa premium) ────── */
.diff {
  position: relative;
  z-index: 1;
  background: #050b14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 150px 24px;
  overflow: hidden;
}

/* Rejilla técnica muy tenue */
.diff__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.diff__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.diff__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.diff__glow--title {
  top: -50px;
  left: 50%;
  width: 660px;
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.24), transparent 72%);
  filter: blur(22px);
}

.diff__head {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.diff__title {
  margin-top: 1.8rem;
}

.diff__sub {
  max-width: 640px;
  margin: 1.6rem auto 0;
  text-align: center;
}

.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;
}

/* Escenario: glow de fondo + contenedor de la tabla */
.cmp-stage {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 5rem auto 0;
  padding-top: 64px; /* espacio para la tarjeta elevada + badge infinito */
}

.diff__glow--table {
  top: 12%;
  left: 50%;
  width: 82%;
  height: 84%;
  transform: translateX(-50%);
  border-radius: 40px;
  background: radial-gradient(60% 60% at 80% 50%, rgba(37, 99, 235, 0.22), transparent 70%);
  filter: blur(55px);
}

.cmp-wrap {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.7s var(--ease) 0.1s backwards;
}

/* Panel izquierdo (columnas concepto + agencia) */
.cmp__panel {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 64%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-right: none;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(9, 14, 28, 0.72));
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95);
  pointer-events: none;
}

/* Tarjeta destacada (columna Automate) — elevada sobre la tabla */
.cmp__highlight {
  position: absolute;
  z-index: 0;
  top: -34px;
  bottom: 0;
  right: 0;
  width: 36%;
  border: 1px solid rgba(59, 130, 246, 0.6);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.05));
  box-shadow:
    0 30px 70px -25px rgba(37, 99, 235, 0.45),
    inset 0 0 42px rgba(37, 99, 235, 0.16);
  animation: cmpBreath 5.5s ease-in-out infinite;
  transition: box-shadow 0.25s ease-out, border-color 0.25s ease-out;
  pointer-events: none;
}

@keyframes cmpBreath {
  0%, 100% {
    box-shadow: 0 26px 62px -28px rgba(37, 99, 235, 0.4), inset 0 0 40px rgba(37, 99, 235, 0.13);
    border-color: rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 34px 78px -24px rgba(37, 99, 235, 0.55), inset 0 0 56px rgba(37, 99, 235, 0.22);
    border-color: rgba(59, 130, 246, 0.68);
  }
}

.cmp-wrap:hover .cmp__highlight {
  box-shadow:
    0 38px 82px -22px rgba(37, 99, 235, 0.6),
    inset 0 0 60px rgba(37, 99, 235, 0.24);
  border-color: rgba(96, 165, 250, 0.8);
}

/* Badge infinito flotante sobre la tarjeta Automate */
.cmp__badge {
  position: absolute;
  z-index: 3;
  left: 82%;
  top: -8px;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.65);
  background: #0a1730;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08), 0 0 26px rgba(37, 99, 235, 0.55);
}

.cmp__badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cmp {
  position: relative;
  z-index: 1;
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.cmp__col--concept { width: 28%; }
.cmp__col--rival   { width: 36%; }
.cmp__col--brand   { width: 36%; }

.cmp th,
.cmp td {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.6rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 15px;
  line-height: 1.45;
  transition: background 0.25s ease-out;
}

/* Separador vertical sutil concepto | agencia */
.cmp__rival,
.cmp__head--rival { border-left: 1px solid rgba(255, 255, 255, 0.05); }

.cmp tbody tr:last-child th,
.cmp tbody tr:last-child td { border-bottom: none; }

/* Hover de fila muy sutil (no afecta a la columna Automate) */
.cmp tbody tr:hover .cmp__axis,
.cmp tbody tr:hover .cmp__rival { background: rgba(255, 255, 255, 0.028); }

/* Cabecera */
.cmp thead th,
.cmp thead td {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cmp__corner { border-bottom-color: transparent; }

.cmp__head {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cmp__head--rival { color: var(--text-muted); }

.cmp__head--brand {
  color: var(--blue);
  text-align: center;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

/* Más aire entre el logo superior y el título de la columna Automate */
.cmp thead th.cmp__head--brand { padding-top: 2.85rem; }

/* Columna concepto */
.cmp__axis {
  color: var(--text);
  font-weight: 700;
}

.cmp__axis-in {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.cmp__ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: linear-gradient(180deg, rgba(30, 58, 100, 0.5), rgba(15, 30, 55, 0.5));
  color: #60a5fa;
  box-shadow: 0 0 14px -4px rgba(37, 99, 235, 0.5);
  transition: transform 0.25s ease-out;
}

.cmp tbody tr:hover .cmp__ico { transform: scale(1.06); }
.cmp__ico svg { width: 20px; height: 20px; }

/* Columna agencia */
.cmp__rival { color: var(--text-muted); }

/* Columna Automate */
.cmp__brand { color: #eaf1ff; }

.cmp__brand-in {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.cmp__check {
  flex: none;
  display: inline-flex;
  margin-top: 1px;
  color: #60a5fa;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.75));
  transition: transform 0.25s ease-out;
}

.cmp tbody tr:hover .cmp__check { transform: scale(1.08); }
.cmp__check svg { width: 22px; height: 22px; }

/* Destellos azules discretos en algunas filas de Automate */
.cmp__spark {
  position: absolute;
  right: 1.35rem;
  top: 50%;
  width: 11px;
  height: 11px;
  transform: translateY(-50%);
  opacity: 0.55;
  animation: cmpSpark 3.4s ease-in-out infinite;
}

.cmp__spark::before,
.cmp__spark::after {
  content: "";
  position: absolute;
  background: #7fb2ff;
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.9);
}

.cmp__spark::before { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.cmp__spark::after  { top: 50%; left: 0; height: 1.5px; width: 100%; transform: translateY(-50%); }

.cmp tbody tr:nth-child(2) .cmp__spark { animation-delay: -1.1s; }
.cmp tbody tr:nth-child(4) .cmp__spark { animation-delay: -2.2s; }
.cmp tbody tr:nth-child(5) .cmp__spark { animation-delay: -0.6s; }

@keyframes cmpSpark {
  0%, 100% { opacity: 0.25; transform: translateY(-50%) scale(0.85); }
  50%      { opacity: 0.7;  transform: translateY(-50%) scale(1); }
}

/* Fila de cierre */
.cmp__row--close .cmp__brand { font-weight: 600; }

/* ── Tablet ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .diff { padding: 120px 24px; }
  .cmp th, .cmp td { padding: 1.15rem 1.1rem; font-size: 14px; }
  .cmp__ico { width: 40px; height: 40px; }
  /* Centrar el título de la columna Automate en móvil y tablet */
  .cmp thead th.cmp__head--brand { text-align: center; }
}

/* ── Mobile: tabla comparativa compacta (3 columnas) ────── */
@media (max-width: 760px) {
  .diff { padding: 72px 14px; }

  .cmp-stage { margin-top: 3.25rem; padding-top: 40px; }

  /* Anchos de columna ajustados a móvil */
  .cmp__col--concept { width: 30%; }
  .cmp__col--rival   { width: 30%; }
  .cmp__col--brand   { width: 40%; }

  /* Panel izquierdo + tarjeta destacada acompañan a las columnas */
  .cmp__panel { width: 60%; border-radius: 16px 0 0 16px; }
  .cmp__highlight { width: 40%; top: -20px; border-radius: 18px; }
  .cmp__badge { width: 46px; height: 46px; left: 80%; top: -6px; }

  .cmp th,
  .cmp td { padding: 0.8rem 0.5rem; font-size: 12px; line-height: 1.35; }
  .cmp thead th,
  .cmp thead td { padding: 0.85rem 0.5rem; }
  .cmp__head { font-size: 9.5px; letter-spacing: 0.06em; }

  /* Columna concepto: icono + nombre */
  .cmp__axis-in { gap: 0.5rem; }
  .cmp__ico { width: 32px; height: 32px; border-radius: 9px; }
  .cmp__ico svg { width: 16px; height: 16px; }

  /* Columna Automate */
  .cmp__brand-in { gap: 0.35rem; }
  .cmp__check svg { width: 15px; height: 15px; }
  .cmp__spark { right: 0.4rem; width: 8px; height: 8px; }
}

/* ── Móvil muy estrecho: apurar aún más el espacio ──────── */
@media (max-width: 400px) {
  .cmp th,
  .cmp td { padding: 0.7rem 0.35rem; font-size: 11px; }
  .cmp__ico { width: 28px; height: 28px; border-radius: 8px; }
  .cmp__ico svg { width: 14px; height: 14px; }
  .cmp__axis-in { gap: 0.4rem; }
  .cmp__head { font-size: 8.5px; }
  .cmp__check svg { width: 14px; height: 14px; }
}

/* ── CTA inferior (pill) ────────────────────────────────── */
.diff-cta-wrap {
  position: relative;
  z-index: 1;
  margin-top: 2.75rem;
  text-align: center;
}

.diff-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.05rem 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 34px rgba(37, 99, 235, 0.18);
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  animation: fadeUp 0.7s var(--ease) 0.2s backwards;
}

.diff-cta__icon {
  display: inline-flex;
  color: var(--blue);
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.6));
}

.diff-cta__icon svg { width: 20px; height: 20px; }

@media (max-width: 520px) {
  .diff-cta { font-size: 14px; padding: 0.9rem 1.35rem; text-align: left; }
}

/* ── Sección 6: Garantías ───────────────────────────────── */
.warranty {
  position: relative;
  z-index: 1;
  background: #050816;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 140px 24px;
  overflow: hidden;
}

.warranty__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}

.warranty__glow {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 620px;
  height: 360px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.2), transparent 72%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

.warranty__head {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.warranty__title {
  margin-top: 1.8rem;
}

.warranty__sub {
  max-width: 600px;
  margin: 1.6rem auto 0;
  text-align: center;
}

.warranty__grid {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Glow suave detrás de las cards */
.warranty__grid::before {
  content: "";
  position: absolute;
  inset: -6% 6%;
  border-radius: 40px;
  background: radial-gradient(60% 55% at 50% 45%, rgba(37, 99, 235, 0.14), transparent 70%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.wcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.35rem 2.5rem 3rem;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-left: 2px solid rgba(59, 130, 246, 0.55);
  border-radius: 24px;
  background: linear-gradient(180deg, #101827, #07111f);
  box-shadow: 0 30px 60px -45px rgba(0, 0, 0, 0.9), 0 0 40px -20px rgba(37, 99, 235, 0.35);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  animation: fadeUp 0.6s var(--ease) backwards;
}

.warranty__grid .wcard:nth-child(1) { animation-delay: 0.05s; }
.warranty__grid .wcard:nth-child(2) { animation-delay: 0.12s; }
.warranty__grid .wcard:nth-child(3) { animation-delay: 0.19s; }
.warranty__grid .wcard:nth-child(4) { animation-delay: 0.26s; }

.wcard:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.55);
  border-left-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 40px 70px -45px rgba(0, 0, 0, 0.95), 0 0 55px -18px rgba(37, 99, 235, 0.5);
}

.wcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.6rem;
  border-radius: 15px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
  transition: transform 0.22s var(--ease);
}

.wcard:hover .wcard__icon { transform: scale(1.05); }

.wcard__icon svg { width: 27px; height: 27px; }

.wcard__title {
  margin: 0 0 0.7rem;
  font-size: 23px;
  line-height: 29px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.wcard__text {
  margin: 0;
  max-width: 90%;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
}

.wcard__arrow {
  position: absolute;
  right: 1.9rem;
  bottom: 1.7rem;
  display: inline-flex;
  color: var(--blue);
  opacity: 0.75;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.wcard__arrow svg { width: 20px; height: 20px; }

.wcard:hover .wcard__arrow {
  transform: translateX(4px);
  opacity: 1;
}

@media (max-width: 1024px) {
  .warranty { padding: 110px 24px; }
}
/* La versión tablet/móvil de Garantías vive al final del archivo. */

/* ── Sección 7: Casos (teaser) ──────────────────────────── */
.tx-amber { color: var(--path-comercios); }

.cases {
  position: relative;
  z-index: 1;
  background: #050816;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 140px 24px;
  overflow: hidden;
}

/* Rejilla técnica muy tenue de fondo */
.cases::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 78%);
  pointer-events: none;
  z-index: 0;
}

.cases__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.cases__glow {
  position: absolute;
  top: -40px;
  left: 50%;
  width: 680px;
  height: 380px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.22), transparent 72%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.cases__head {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cases__title { margin-top: 1.8rem; }

.cases__sub {
  max-width: 640px;
  margin: 1.6rem auto 0;
  text-align: center;
}

/* Escenario: líneas SVG laterales + grid */
.cases__stage {
  position: relative;
  max-width: 1400px;
  margin: 4.5rem auto 0;
}

.cases__lines {
  position: absolute;
  inset: -30px 0;
  width: 100%;
  height: calc(100% + 60px);
  z-index: 0;
  pointer-events: none;
}

.cases__line {
  fill: none;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.cases__line--c { stroke: rgba(245, 158, 11, 0.35); }
.cases__line--e { stroke: rgba(59, 130, 246, 0.35); }

.cases__line--pulse {
  stroke-width: 2.5;
  stroke-dasharray: 0.16 0.84;
  stroke-linecap: round;
  animation: caseFlow 5.5s linear infinite;
}

.cases__line--pulse.cases__line--c { stroke: rgba(245, 158, 11, 0.9); filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7)); }
.cases__line--pulse.cases__line--e { stroke: rgba(59, 130, 246, 0.9); filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.7)); }
.cases__line--pulse-e { animation-delay: -2.75s; }

@keyframes caseFlow {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

.cases__node--c { fill: #f59e0b; filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.9)); }
.cases__node--e { fill: #3b82f6; filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.9)); }
.cases__node { animation: caseNode 3s ease-in-out infinite; }
.cases__node--e { animation-delay: -1.5s; }

@keyframes caseNode {
  0%, 100% { opacity: 0.75; r: 5; }
  50%      { opacity: 1; r: 6.5; }
}

.cases__grid {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.case-card {
  --c: var(--path-empresas);
  --c-rgb: 59, 130, 246;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.3rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #111827, #0a1220);
  text-decoration: none;
  box-shadow: 0 30px 60px -45px rgba(0, 0, 0, 0.9);
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  animation: fadeUp 0.6s var(--ease) backwards;
}

.case-card--comercios { --c: var(--path-comercios); --c-rgb: 245, 158, 11; }
.case-card--empresas  { --c: var(--path-empresas);  --c-rgb: 59, 130, 246; }

.cases__grid .case-card:nth-child(1) { animation-delay: 0.05s; }
.cases__grid .case-card:nth-child(2) { animation-delay: 0.12s; }
.cases__grid .case-card:nth-child(3) { animation-delay: 0.19s; }
.cases__grid .case-card:nth-child(4) { animation-delay: 0.26s; }

.case-card:hover,
.case-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(var(--c-rgb), 0.55);
  box-shadow: 0 40px 75px -45px rgba(0, 0, 0, 0.95), 0 0 60px -20px rgba(var(--c-rgb), 0.45);
  outline: none;
}

.case-card__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.55rem;
}

.case-card__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(var(--c-rgb), 0.45);
  background: rgba(var(--c-rgb), 0.1);
  color: var(--c);
  filter: drop-shadow(0 0 10px rgba(var(--c-rgb), 0.4));
  transition: transform 0.22s var(--ease);
}

.case-card:hover .case-card__icon { transform: scale(1.05); }
.case-card__icon svg { width: 24px; height: 24px; }

.case-card__badge {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--c-rgb), 0.4);
  background: rgba(var(--c-rgb), 0.08);
  color: var(--c);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.case-card__name {
  margin: 0 0 0.75rem;
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.case-card__foot {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: auto;
}

.case-card__desc {
  margin: 0;
  flex: 1;
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
}

.case-card__arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(var(--c-rgb), 0.4);
  background: rgba(var(--c-rgb), 0.08);
  color: var(--c);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.case-card__arrow svg { width: 18px; height: 18px; transition: transform 0.22s var(--ease); }

.case-card:hover .case-card__arrow,
.case-card:focus-visible .case-card__arrow {
  box-shadow: 0 0 18px -2px rgba(var(--c-rgb), 0.6);
  background: rgba(var(--c-rgb), 0.15);
}

.case-card:hover .case-card__arrow svg,
.case-card:focus-visible .case-card__arrow svg { transform: translateX(3px); }

/* CTAs premium inferiores */
.cases__ctas {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.case-cta {
  --c-rgb: 59, 130, 246;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--c-rgb), 0.4);
  background: rgba(var(--c-rgb), 0.06);
  color: rgb(var(--c-rgb));
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 26px -8px rgba(var(--c-rgb), 0.5);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.case-cta--comercios { --c-rgb: 245, 158, 11; color: var(--path-comercios); }
.case-cta--empresas  { --c-rgb: 59, 130, 246; color: var(--path-empresas); }

.case-cta__ico { display: inline-flex; }
.case-cta__ico svg { width: 18px; height: 18px; }
.case-cta__arrow { display: inline-flex; }
.case-cta__arrow svg { width: 17px; height: 17px; transition: transform 0.2s var(--ease); }

.case-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--c-rgb), 0.7);
  background: rgba(var(--c-rgb), 0.12);
  box-shadow: 0 6px 30px -8px rgba(var(--c-rgb), 0.6);
}

.case-cta:hover .case-cta__arrow svg { transform: translateX(4px); }

@media (max-width: 1200px) {
  .cases__lines { display: none; }
}

@media (max-width: 1024px) {
  .cases { padding: 110px 24px; }
}

@media (max-width: 700px) {
  .cases { padding: 80px 20px; }
  .cases__stage { margin-top: 3rem; }
  .cases__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .case-card { padding: 1.9rem; }
  .case-card__name { font-size: 21px; line-height: 27px; }
  .cases__ctas { flex-direction: column; align-items: stretch; gap: 1rem; }
  .case-cta { justify-content: center; }
}

/* ── Sección 8: Cierre ──────────────────────────────────── */
.closing {
  position: relative;
  z-index: 1;
  background: #050816;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 140px 24px;
  overflow: hidden;
}

.closing__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.closing__glow {
  position: absolute;
  top: -60px;
  left: 50%;
  width: 720px;
  height: 420px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.24), transparent 72%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.closing__title {
  position: relative;
  z-index: 1;
  margin-top: 1.8rem;
}

.closing__sub {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 1.6rem auto 0;
  text-align: center;
}

.closing__ctas {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.closing-cta {
  --c-rgb: 59, 130, 246;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.05rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--c-rgb), 0.45);
  background: rgba(var(--c-rgb), 0.08);
  color: rgb(var(--c-rgb));
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 28px -8px rgba(var(--c-rgb), 0.5);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.closing-cta--comercios { --c-rgb: 245, 158, 11; color: var(--path-comercios); }
.closing-cta--empresas  { --c-rgb: 59, 130, 246; color: var(--path-empresas); }

.closing-cta__arrow { display: inline-flex; }
.closing-cta__arrow svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }

.closing-cta:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--c-rgb), 0.75);
  background: rgba(var(--c-rgb), 0.14);
  box-shadow: 0 8px 34px -8px rgba(var(--c-rgb), 0.6);
}

.closing-cta:hover .closing-cta__arrow svg { transform: translateX(4px); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #070b16, #05070f);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 24px 34px;
}

.site-footer__inner {
  max-width: 1600px;
  margin: 0 auto;
  animation: fadeUp 0.7s var(--ease) backwards;
}

/* CTA superior */
.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.25rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #0d1626, #0a1120);
  box-shadow: 0 40px 80px -55px rgba(0, 0, 0, 0.9), inset 0 0 60px -30px rgba(37, 99, 235, 0.25);
}

.footer-cta__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-cta__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.45));
}

.footer-cta__icon svg { width: 28px; height: 28px; }

.footer-cta__title {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.footer-cta__sub {
  margin: 0.35rem 0 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.85rem;
  border-radius: 999px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.8), 0 0 30px -6px rgba(59, 130, 246, 0.6);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.footer-cta__arrow { display: inline-flex; }
.footer-cta__arrow svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }

.footer-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(37, 99, 235, 0.9), 0 0 44px -6px rgba(59, 130, 246, 0.75);
}

.footer-cta__btn:hover .footer-cta__arrow svg { transform: translateX(4px); }

/* Footer principal */
.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-top: 4rem;
}

.footer-logo { display: inline-block; }
.footer-logo img { height: 38px; width: auto; }

.footer-about {
  margin: 1.25rem 0 0;
  max-width: 320px;
  font-size: 15px;
  line-height: 24px;
  color: var(--text-secondary);
}

.footer-loc {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-loc__icon {
  flex: none;
  display: inline-flex;
  margin-top: 2px;
  color: var(--blue);
}

.footer-loc__icon svg { width: 20px; height: 20px; }

.footer-loc p {
  margin: 0;
  font-size: 15px;
  line-height: 23px;
  color: var(--text-secondary);
}

.footer-loc span { color: var(--text-muted); }

.footer-mini {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(9, 14, 28, 0.7));
  max-width: 340px;
}

.footer-mini__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.35));
}

.footer-mini__icon svg { width: 20px; height: 20px; }

.footer-mini__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.footer-mini__blue {
  margin: 0.2rem 0 0;
  font-size: 13px;
  color: var(--blue);
}

/* Separador vertical solo entre logo y navegación */
.footer-col--sep {
  padding-left: 3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col__title {
  position: relative;
  margin: 0 0 1.6rem;
  padding-bottom: 0.7rem;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.7);
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-contact li { color: var(--text-secondary); }

.footer-links__ico {
  display: inline-flex;
  color: var(--text-muted);
  transition: color 0.18s var(--ease);
}

.footer-links__ico svg { width: 17px; height: 17px; }

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--blue);
  transform: translateX(4px);
}

.footer-links a:hover .footer-links__ico,
.footer-contact a:hover .footer-links__ico { color: var(--blue); }

/* Bloque síguenos */
.footer-follow {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-follow__label {
  margin: 0 0 0.9rem;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.footer-social__link:hover {
  color: var(--blue);
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 18px -2px rgba(59, 130, 246, 0.6);
}

.footer-social__link svg { width: 20px; height: 20px; }

/* Footer inferior */
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-secure {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
}

.footer-secure__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.06);
  color: var(--blue);
}

.footer-secure__icon svg { width: 19px; height: 19px; }

.footer-secure__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.footer-secure__sub {
  margin: 0.15rem 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-copy {
  text-align: center;
  justify-self: center;
}

.footer-copy p { margin: 0; font-size: 14px; color: var(--text-secondary); }
.footer-copy__blue { color: var(--blue) !important; margin-top: 0.2rem !important; }

/* Línea legal inline: solo en móvil/tablet */
.footer-legal-inline { display: none; }

.footer-made {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: end;
}

.footer-made__text {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-made__heart { color: var(--blue); }

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.footer-lang:hover { border-color: rgba(59, 130, 246, 0.5); color: var(--blue); }
.footer-lang__chevron { display: inline-flex; }
.footer-lang__chevron svg { width: 15px; height: 15px; }

@media (max-width: 1024px) {
  .closing { padding: 110px 24px; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-col--sep { padding-left: 0; border-left: none; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.5rem; }
  .footer-secure, .footer-made { justify-self: center; }
}

@media (max-width: 620px) {
  .closing { padding: 80px 20px; }
  .closing__ctas { flex-direction: column; align-items: stretch; }
  .closing-cta { justify-content: center; }

  .site-footer { padding: 32px 20px 28px; }
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 1.75rem; }
  .footer-cta__btn { width: 100%; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; gap: 2.25rem; margin-top: 3rem; }
  .footer-made { flex-direction: column; gap: 0.75rem; }
}

/* ── Sistema tipográfico premium (escala coherente) ─────── */
.section-label,
.eyebrow--pill {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-title,
.hero__title {
  font-size: 72px;
  line-height: 76px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-title,
.audit__title {
  font-size: 60px;
  line-height: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-card__title {
  font-size: 42px;
  line-height: 48px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.card-title,
.ecard__title {
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
}

.body-text,
.hero__desc,
.audit__sub,
.cta-card__desc {
  font-size: 20px;
  line-height: 34px;
  font-weight: 400;
  color: var(--text-secondary);
}

.small-text,
.ecard__desc {
  font-size: 18px;
  line-height: 30px;
  color: var(--text-secondary);
}

.premium-badge,
.ecard__badge {
  font-size: 15px;
  font-weight: 600;
}

.ecard__num {
  font-size: 18px;
  font-weight: 700;
  opacity: 0.45;
  color: #3b82f6;
}

/* Escalado responsive de la tipografía */
@media (max-width: 1024px) {
  .hero-title, .hero__title { font-size: 56px; line-height: 60px; }
  .section-title, .audit__title { font-size: 48px; line-height: 54px; }
  .cta-card__title { font-size: 34px; line-height: 40px; }
}

@media (max-width: 640px) {
  .hero-title, .hero__title { font-size: 42px; line-height: 46px; }
  .section-title, .audit__title { font-size: 36px; line-height: 42px; }
  .cta-card__title { font-size: 30px; line-height: 36px; }
  .card-title, .ecard__title { font-size: 22px; line-height: 28px; }
  .body-text, .hero__desc, .audit__sub, .cta-card__desc { font-size: 18px; line-height: 30px; }
  .small-text, .ecard__desc { font-size: 17px; line-height: 28px; }
}

/* ── Animaciones de entrada ─────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(calc(-50% + 18px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}
@keyframes headIn {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%); }
}
@keyframes coreIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.75); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes platformIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}
@keyframes drawBranch {
  to { stroke-dashoffset: 0; }
}
@keyframes popDot {
  0%   { opacity: 0; transform: scale(0.2); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes fadeDash {
  from { opacity: 0; }
  to   { opacity: 0.35; }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* Texto izquierdo — stagger */
.hero__copy > * {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) forwards;
}
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.18s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.34s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.5s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.64s; }

/* Hub — núcleo, ramas, tarjetas (cascada de abajo hacia arriba) */
.hub-core {
  opacity: 0;
  animation: coreIn 0.7s var(--ease) 0.35s forwards;
}

.hub-figure__svg .branch {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawBranch 0.95s cubic-bezier(0.33, 0, 0.15, 1) var(--bd, 0.55s) forwards;
}

.hub-figure__svg .hub-dash {
  opacity: 0;
  animation: fadeDash 0.9s ease 1.4s forwards;
}

.hub-figure__svg .hub-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: popDot 0.45s var(--ease) var(--dd, 1.35s) forwards;
}

.hub-halo {
  animation: haloPulse 3.5s ease-in-out 2s infinite;
}

.hub-card {
  opacity: 0;
  animation: cardIn 0.55s var(--ease) var(--d, 1.1s) forwards;
}

.hub-head {
  opacity: 0;
  animation: headIn 0.6s var(--ease) 2s forwards;
}

.hub-platform {
  opacity: 0;
  animation: platformIn 0.6s var(--ease) 0.55s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero__copy > *,
  .hub-core,
  .hub-card,
  .hub-head,
  .hub-platform,
  .hub-figure__svg .branch,
  .hub-figure__svg .hub-dash,
  .hub-figure__svg .hub-dot,
  .hub-halo {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
  .hub-card { transform: translateY(-50%) !important; }
  .hub-head { transform: translateX(-50%) !important; }
  .hub-core,
  .hub-platform { }
}

/* ── Responsive: hub compacto (tablet + móvil) ──────────── */
@media (max-width: 1023px) {
  /* Dos cabeceras en fila + diagrama convergente compacto */
  .hub-figure {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 0.5rem;
    max-width: 460px;
    margin-inline: auto;
  }

  .hub-figure__svg,
  .hub-card,
  .hub-core { display: none; }

  /* Las animaciones de escritorio acaban en translateX(-50%): las
     reemplazamos por un fade limpio para no desplazar el layout */
  .hub-head,
  .hub-platform {
    animation: fadeUp 0.6s var(--ease) both;
    transform: none;
  }

  .hub-head {
    position: static;
    width: auto;
    margin-top: 0;
    align-items: center;
    text-align: center;
  }
  .hub-head--left  { grid-column: 1; grid-row: 1; }
  .hub-head--right { grid-column: 2; grid-row: 1; }
  .hub-head__icon { width: 36px; height: 36px; }
  .hub-head__title { font-size: 1.05rem; margin-top: 0.5rem; }
  .hub-head__sub { font-size: 0.85rem; margin-top: 0.35rem; }

  .hub-head__more {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
  }
  .hub-head__more svg { width: 14px; height: 14px; }
  .hub-head--left  .hub-head__more:hover { color: var(--c-orange); }
  .hub-head--right .hub-head__more:hover { color: var(--c-blue-l); }

  /* Diagrama convergente */
  .hub-mobile {
    display: block;
    position: relative;
    grid-column: 1 / -1;
    grid-row: 2;
    height: 200px;
    margin-top: 0.25rem;
  }
  .hub-mobile__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hub-mobile__line--o { filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.7)); }
  .hub-mobile__line--b { filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.7)); }
  .hub-mobile__radar { animation: haloPulse 3.5s ease-in-out infinite; }

  .hub-mobile__core {
    position: absolute;
    left: 50%;
    top: 114px;
    transform: translateX(-50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 38% 32%, #1e4a8a, #071426 70%);
    border: 2px solid rgba(96, 165, 250, 0.6);
    box-shadow:
      0 0 45px rgba(59, 130, 246, 0.6),
      0 0 90px rgba(59, 130, 246, 0.25),
      inset 0 0 26px rgba(59, 130, 246, 0.2);
  }
  .hub-mobile__core img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* Tarjeta plataforma a ancho completo, debajo */
  .hub-platform {
    position: static;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    min-width: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(7, 8, 15, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .site-nav .nav-link {
    padding: 0.7rem 0;
    font-size: 1rem;
  }

  .nav-link::after { bottom: 4px; left: 0; right: auto; width: 22px; }

  .site-nav .btn-audit {
    margin-top: 0.85rem;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .hero__inner { padding-left: 1rem; padding-right: 1rem; }
  .site-logo__img { height: 40px; }
  .btn-audit { padding: 0.5rem 0.85rem; font-size: 0.75rem; }

  /* Trust bar: 3 columnas en una fila, icono arriba y texto debajo */
  .trust-bar__inner {
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 1rem 0.4rem;
  }
  .trust-bar__item {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0 0.35rem;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .trust-bar__item:last-child { border-right: none; }
  .trust-bar__item svg { width: 18px; height: 18px; }
}

/* ── Hero mobile: texto centrado (según referencia) ─────── */
@media (max-width: 767px) {
  .hero__inner { padding: 2rem 1.25rem 2.5rem; gap: 2.25rem; }

  /* Copy centrado y vertical */
  .hero__copy { max-width: 100%; text-align: center; }
  .hero-pill { margin-left: auto; margin-right: auto; }
  .hero__title { font-size: clamp(2.2rem, 1.2rem + 6vw, 3rem); line-height: 1.1; }
  .hero__desc { margin-left: auto; margin-right: auto; }

  /* CTAs apilados full-width */
  .hero__ctas { flex-direction: column; gap: 0.75rem; margin-top: 1.75rem; }
  .hero__ctas .btn-primary,
  .hero__ctas .btn-secondary { width: 100%; }

  /* Trust badges no van en el hero mobile (según referencia) */
  .hero-trust { display: none; }

  /* Hub un poco más compacto en móvil */
  .hub-figure { max-width: 420px; }
}

/* ── Auditoría gratuita: tablet + móvil (según referencia) ─ */
@media (max-width: 1023px) {
  .audit { padding: 64px 28px 72px; }
  .audit__inner { max-width: 760px; }
  .audit__title { margin-top: 1.75rem; }
  .audit__sub { margin-top: 1.5rem; }

  /* Tres tarjetas apiladas en una sola columna + timeline */
  .ecards {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 2.25rem;
    padding-left: 30px;
  }
  .ecards__link { display: none; }

  /* Línea vertical del timeline */
  .ecards::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 50px;
    bottom: 50px;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(37, 99, 235, 0.85),
      rgba(37, 99, 235, 0.3),
      transparent
    );
    pointer-events: none;
  }

  /* Tarjeta compacta: icono a la izquierda, nº + título en línea */
  .ecard {
    min-height: 0;
    padding: 24px 26px;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.15rem;
  }

  /* Nodo luminoso del timeline por tarjeta (alineado con el icono) */
  .ecard::before {
    content: "";
    position: absolute;
    left: -17px;
    top: 53px;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 0 10px rgba(59, 130, 246, 0.9);
    z-index: 2;
  }

  .ecard__icon { flex: none; width: 58px; height: 58px; }
  .ecard__icon svg { width: 30px; height: 30px; }

  .ecard__body { display: block; flex: 1 1 auto; min-width: 0; }

  .ecard__head {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    margin-bottom: 0.55rem;
  }
  .ecard__num { position: static; top: auto; right: auto; font-size: 17px; }
  .ecard__title { margin-top: 0; font-size: 21px; line-height: 1.15; }

  /* Sin guion decorativo en tablet/móvil */
  .ecard__rule { display: none; }

  /* Descripción + badge fluyen como un mismo párrafo (sin pill) */
  .ecard__desc {
    display: inline;
    margin-top: 0;
    font-size: 15px;
    line-height: 1.55;
  }
  .ecard__badge {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    color: var(--a-sec);
    font-size: 15px;
    font-weight: 400;
  }
  .ecard__badge svg { display: none; }

  /* ── Bloque CTA final ──────────────────────────────────── */
  .cta-card { grid-template-columns: 1fr; gap: 1.4rem; padding: 28px 30px; }
  .cta-card__main {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 22px;
  }
  .cta-card__icon { width: 76px; height: 76px; }
  .cta-card__icon svg { width: 34px; height: 34px; }
  .cta-card__title { font-size: 30px; line-height: 1.08; }
  .cta-card__desc { font-size: 16px; line-height: 1.55; }

  .cta-card__aside { width: 100%; align-items: flex-start; gap: 1.1rem; }
  .cta-card__btn {
    width: 100%;
    justify-content: center;
    min-height: 60px;
    height: auto;
    padding: 0.95rem 1.5rem;
    font-size: 17px;
    line-height: 1.2;
    border-radius: 14px;
  }
  .cta-proof { flex-wrap: wrap; }
}

/* ── Auditoría gratuita: ajustes móvil ──────────────────── */
@media (max-width: 767px) {
  .audit { padding: 56px 16px 64px; }
  .audit__title { margin-top: 1.25rem; }
  .audit__sub { margin-top: 1.1rem; }

  .ecards { gap: 14px; margin-top: 2rem; padding-left: 24px; }
  .ecards::before { left: 10px; }

  .ecard { padding: 18px 18px; gap: 0.9rem; }
  .ecard::before { left: -15px; top: 42px; width: 9px; height: 9px; }
  .ecard__icon { width: 46px; height: 46px; }
  .ecard__icon svg { width: 26px; height: 26px; }
  .ecard__head { gap: 0.55rem; margin-bottom: 0.4rem; }
  .ecard__num { font-size: 0.95rem; }
  .ecard__title { font-size: 1.05rem; line-height: 1.3; }
  .ecard__desc,
  .ecard__badge { font-size: 0.9rem; }

  /* CTA final más compacto en móvil */
  .cta-card { padding: 1.6rem 1.4rem; }
  .cta-card__main { gap: 1rem; align-items: flex-start; }
  .cta-card__icon { width: 58px; height: 58px; }
  .cta-card__icon svg { width: 28px; height: 28px; }
  .cta-card__title { font-size: 1.35rem; line-height: 1.25; }
  .cta-card__desc { font-size: 0.95rem; }
  .cta-card__btn { font-size: 1rem; }
  .cta-card__btn .cta-card__arrow svg { width: 18px; height: 18px; }
}

/* ── Quiénes somos: tablet + móvil (según referencia) ───── */
@media (max-width: 1023px) {
  .about { padding: 72px 20px; }
  .about__inner { max-width: 720px; }

  .about__head { max-width: 640px; }
  .about__title {
    margin-top: 1.5rem;
    font-size: clamp(42px, 8vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.04em;
  }
  .about__text {
    margin-top: 1.5rem;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.7;
  }

  /* Fundadores: dos columnas a ancho completo */
  .founders {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 2.6rem;
  }
  .founder { width: auto; padding: 22px; border-radius: 22px; }
  .founder__avatar { width: 100%; height: 110px; margin-bottom: 0.75rem; }
  .founder__initial { font-size: 76px; }
  .founder__avatar::before { width: 100px; height: 100px; }
  .founder__orbit { width: 138px; height: 138px; }
  .founder__name { font-size: 18px; }
  .founder__role { font-size: 11px; letter-spacing: 0.25em; }

  /* Métricas: una sola tarjeta horizontal de 3 columnas */
  .metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    gap: 0;
    margin-top: 1.9rem;
    padding: 20px 4px;
    border-radius: 22px;
  }
  .metric {
    flex: none;
    gap: 0.6rem;
    padding: 0 0.6rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .metric:last-child { border-right: none; }
  .metric__icon svg { width: 22px; height: 22px; }
  .metric__num { font-size: 18px; }
  .metric__label { font-size: 12px; }

  /* Ubicación */
  .about__location {
    margin: 1.6rem auto 0;
    max-width: 420px;
    font-size: 15px;
  }

  /* Frase de cierre */
  .about__closing {
    margin-top: 2.1rem;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
  }
}

/* ── Quiénes somos: ajustes móviles pequeños ────────────── */
@media (max-width: 767px) {
  .about { padding: 64px 16px; }
  .founder { padding: 18px 14px; }
  .founder__avatar { height: 100px; }
  .founder__initial { font-size: 68px; }
  .founder__orbit { width: 124px; height: 124px; }
  .metric { gap: 0.4rem; padding: 0 0.3rem; }
  .metric__icon svg { width: 20px; height: 20px; }
  .metric__num { font-size: 17px; }
  .metric__label { font-size: 11px; }
  .about__closing { font-size: 28px; }
}

/* ── Garantías: tablet + móvil (según referencia) ───────── */
@media (max-width: 1023px) {
  .warranty { padding: 72px 20px; }
  .warranty__inner { max-width: 720px; margin: 0 auto; }

  .warranty__head { max-width: 640px; margin: 0 auto; }
  .warranty__title {
    font-size: clamp(42px, 8vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.04em;
  }
  .warranty__sub { max-width: 640px; font-size: 17px; line-height: 1.7; }

  /* Lista vertical de tarjetas a ancho completo */
  .warranty__grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 720px;
    margin-top: 2.5rem;
  }

  /* Tarjeta horizontal: icono | contenido */
  .wcard {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon title"
      "icon text";
    align-items: center;
    column-gap: 20px;
    padding: 28px;
    border-radius: 24px;
  }
  .wcard__icon {
    grid-area: icon;
    align-self: center;
    width: 72px;
    height: 72px;
    margin-bottom: 0;
    border-radius: 18px;
  }
  .wcard__icon svg { width: 32px; height: 32px; }
  .wcard__title {
    grid-area: title;
    align-self: end;
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
  }
  .wcard__text {
    grid-area: text;
    align-self: start;
    max-width: 100%;
    margin: 10px 0 0;
    font-size: 17px;
    line-height: 1.65;
  }
  .wcard__arrow {
    grid-area: arrow;
    position: static;
    align-self: center;
    right: auto;
    bottom: auto;
  }
  .wcard__arrow svg { width: 22px; height: 22px; }
}

/* ── Garantías: ajustes móviles pequeños ────────────────── */
@media (max-width: 767px) {
  .warranty { padding: 64px 16px; }
  .wcard { column-gap: 16px; padding: 22px; }
  .wcard__icon { width: 60px; height: 60px; border-radius: 16px; }
  .wcard__icon svg { width: 28px; height: 28px; }
  .wcard__title { font-size: 20px; }
  .wcard__text { font-size: 15px; line-height: 1.55; margin-top: 8px; }
  .wcard__arrow svg { width: 20px; height: 20px; }
}

/* ── Footer: tablet + móvil (según referencia) ──────────── */
@media (max-width: 1023px) {
  .site-footer { padding: 56px 20px 48px; }
  .site-footer__inner { max-width: 720px; }

  /* CTA vertical premium */
  .footer-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 28px;
    border-radius: 28px;
    border-color: rgba(59, 130, 246, 0.2);
  }
  .footer-cta__left { align-items: center; gap: 1rem; }
  .footer-cta__btn {
    width: 100%;
    justify-content: center;
    height: 60px;
    padding: 0 1.5rem;
  }

  /* Separador tras el CTA + una sola columna */
  .footer-main {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Descripción: solo el primer párrafo, sin la mini-tarjeta */
  .footer-about { max-width: 520px; font-size: 17px; line-height: 1.7; }
  .footer-about + .footer-about { display: none; }
  .footer-mini { display: none; }
  .footer-loc { margin-top: 1.4rem; }
  .footer-loc p { font-size: 16px; line-height: 1.55; }

  /* Ocultar el bloque legal (va en el copyright inline) */
  .footer-col--legal { display: none; }

  /* Separadores entre columnas (el legal oculto no genera hueco visible) */
  .footer-col--sep,
  .footer-col--legal + .footer-col {
    margin-top: 34px;
    padding-top: 34px;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col--sep { margin-top: 40px; padding-top: 40px; }

  /* Navegación: fila con icono + texto + flecha decorativa */
  .footer-col--sep .footer-links li { width: 100%; }
  .footer-col--sep .footer-links a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 0;
  }
  .footer-col--sep .footer-links a::after {
    content: "→";
    margin-left: auto;
    color: var(--blue);
    font-size: 17px;
    font-weight: 600;
  }
  .footer-col--sep .footer-links a:hover { transform: none; }

  /* Contacto */
  .footer-contact { gap: 1.1rem; }
  .footer-contact a,
  .footer-contact li { font-size: 16px; }

  /* Redes: cuadrados redondeados 54px, sin etiqueta ni separador */
  .footer-follow { margin-top: 1.5rem; padding-top: 0; border-top: none; }
  .footer-follow__label { display: none; }
  .footer-social__link { width: 54px; height: 54px; border-radius: 16px; border-color: rgba(59, 130, 246, 0.28); }

  /* Zona inferior: seguridad (tarjeta) + copyright centrado */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    margin-top: 34px;
    padding-top: 34px;
  }

  .footer-secure {
    justify-self: stretch;
    align-items: center;
    gap: 0.85rem;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(9, 14, 28, 0.6));
    text-align: left;
  }

  .footer-copy {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-copy__blue { display: none; }

  .footer-legal-inline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
    margin: 0.5rem 0 0;
  }
  .footer-legal-inline a {
    position: relative;
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
  }
  .footer-legal-inline a:not(:last-child)::after {
    content: "·";
    position: absolute;
    right: -0.55rem;
    color: var(--text-muted);
  }

  .footer-made {
    justify-self: center;
    justify-content: center;
    margin-top: 0.75rem;
  }
}

/* ── Footer: ajustes móviles pequeños ───────────────────── */
@media (max-width: 767px) {
  .site-footer { padding: 48px 16px 40px; }
  .footer-cta { padding: 22px; }
  .footer-cta__icon { width: 52px; height: 52px; }
  .footer-cta__icon svg { width: 26px; height: 26px; }
  .footer-social__link { width: 50px; height: 50px; }
}

/* ── Footer: tablet (punto intermedio, 2 columnas) ──────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .site-footer { padding: 64px 32px 56px; }
  .site-footer__inner { max-width: 920px; }

  /* CTA horizontal compacto */
  .footer-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 24px;
    padding: 28px;
    border-radius: 28px;
  }
  .footer-cta__left { align-items: center; gap: 1.25rem; }
  .footer-cta__btn { width: auto; height: 56px; padding: 0 34px; }

  /* Layout principal: marca full-width + navegación/contacto en 2 columnas */
  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .footer-col--brand {
    grid-column: 1 / -1;
    margin-bottom: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Navegación: reset del borde superior del móvil */
  .footer-col--sep {
    margin-top: 0;
    padding-top: 0;
    padding-left: 0;
    border-top: none;
    border-left: none;
  }

  /* Contacto: divisor vertical fino */
  .footer-col--legal + .footer-col {
    margin-top: 0;
    padding-top: 0;
    padding-left: 48px;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Navegación: filas más compactas */
  .footer-col--sep .footer-links a { padding: 12px 0; }

  /* Zona inferior */
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    margin-top: 40px;
    padding-top: 40px;
  }
  .footer-secure { padding: 22px 28px; border-radius: 22px; }
  .footer-copy { margin-top: 34px; padding-top: 28px; }
}
