/* Grupo Nethexa — sitio moderno con imágenes propias */
:root {
  --bg: #f8f9fc;
  --bg-elevated: #ffffff;
  --ink: #0b0f1a;
  --ink-soft: #3d4558;
  --muted: #5c6478;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.14);
  --accent: #00b4d8;
  --accent-2: #7c3aed;
  --accent-warm: #f97316;
  --hero-bg: #050814;
  --brand-dark: #050814;
  --brand-dark-mid: #0f172a;
  --brand-dark-soft: #0c1222;
  --brand-glow-cyan: rgba(34, 211, 238, 0.45);
  --brand-glow-violet: rgba(167, 139, 250, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Sora", var(--font-body);
  --header-h: 68px;
  --max-w: 1180px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 80px rgba(0, 180, 216, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(0, 180, 216, 0.22);
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

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

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  z-index: 500;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.35rem;
}

.container--hero {
  max-width: 1240px;
}

.container--narrow {
  max-width: 760px;
}

/* Top bar */
.top-bar {
  background: linear-gradient(180deg, var(--brand-dark) 0%, #060a12 100%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.top-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.45rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar__hint {
  font-weight: 500;
}

.top-bar__links {
  display: flex;
  gap: 1.25rem;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
}

.top-bar a:hover {
  color: #fff;
  text-decoration: underline;
}

.top-bar__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  padding: 0.12rem 0.2rem;
  border-radius: 6px;
  line-height: 1;
  text-decoration: none !important;
}

.top-bar__lang:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-flag {
  font-size: 1.125rem;
  line-height: 1;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(248, 249, 252, 0.88);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 4px 24px rgba(5, 8, 20, 0.04);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34, 211, 238, 0.5) 22%,
    rgba(124, 58, 237, 0.45) 50%,
    rgba(34, 211, 238, 0.5) 78%,
    transparent 100%
  );
  pointer-events: none;
}

.site-header__inner {
  min-height: var(--header-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.55rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  flex-wrap: wrap;
}

@media (min-width: 1280px) {
  .site-header__inner {
    flex-wrap: nowrap;
    padding-top: 0;
    padding-bottom: 0;
    height: var(--header-h);
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-glow);
}

.logo__text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.logo__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

@media (min-width: 1025px) {
  .header-actions {
    gap: 0.65rem 0.75rem;
    flex-wrap: wrap;
    row-gap: 0.35rem;
  }
}

.nav-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 1025px) {
  .nav {
    justify-content: flex-end;
    max-width: 100%;
  }
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .nav a {
    font-size: 0.84375rem;
    padding: 0.5rem 0.55rem;
  }
}

.nav a:hover:not(.btn) {
  background: rgba(15, 23, 42, 0.05);
  color: var(--ink);
  text-decoration: none;
}

.nav .nav__cta {
  display: none;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }
  .header-actions .btn--header {
    display: none;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 0;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a:not(.btn) {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav .nav__cta {
    display: flex;
    margin-top: 0.75rem;
    justify-content: center;
    border: none;
  }
}

@media (min-width: 1025px) {
  .nav .nav__cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #0096c7);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 180, 216, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 180, 216, 0.4);
  text-decoration: none;
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
  color: #fff;
}

.btn--inverse {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--inverse:hover {
  background: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  color: var(--ink);
}

.btn--header {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
}

.btn--lg {
  padding: 0.9rem 1.65rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  color: #e8ecf4;
  padding: 3.25rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 15% -10%, rgba(0, 180, 216, 0.22), transparent 52%),
    radial-gradient(ellipse 85% 60% at 92% 25%, rgba(124, 58, 237, 0.2), transparent 48%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(34, 211, 238, 0.08), transparent 55%),
    linear-gradient(180deg, var(--brand-dark) 0%, var(--brand-dark-mid) 55%, var(--brand-dark-soft) 100%);
  z-index: 0;
}

/* Puente visual hero → contenido claro */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(248, 249, 252, 0.06) 40%,
    rgba(248, 249, 252, 0.85) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.container--hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .container--hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 1.05fr);
    gap: 3rem;
  }
}

@media (max-width: 959px) {
  .hero__visual {
    order: -1;
  }
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero__visual {
  position: relative;
}

.hero__kicker {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.9);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1.15rem;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.88);
  max-width: 52ch;
  margin: 0 0 1.65rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

/* Barra de métricas del hero */
.hero__stats--rich {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  padding: 1.35rem 1rem 1.15rem;
  margin-top: 0.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
  .hero__stats--rich {
    flex-wrap: nowrap;
    padding: 1.15rem 0.5rem;
  }
}

.hero-stat {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .hero-stat {
    flex: 1 1 0;
    padding: 0.5rem 1rem;
  }
}

.hero-stat__glyph {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.08);
}

.hero-stat__glyph svg {
  width: 20px;
  height: 20px;
  display: block;
}

.hero__stats--rich .hero-stat:nth-child(3) .hero-stat__glyph {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(167, 139, 250, 0.25);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.hero__stats--rich .hero-stat:nth-child(5) .hero-stat__glyph {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(251, 191, 36, 0.22);
}

.hero-stat__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hero-stat__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.72);
}

.hero-stat__rule {
  display: none;
  width: 1px;
  align-self: stretch;
  min-height: 3rem;
  margin: auto 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.14) 20%,
    rgba(255, 255, 255, 0.14) 80%,
    transparent
  );
}

@media (min-width: 640px) {
  .hero-stat__rule {
    display: block;
    flex: 0 0 1px;
  }
}

.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.hero__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.hero__badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(5, 8, 20, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__badge-title {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #22d3ee;
  margin-bottom: 0.35rem;
}

.hero__badge p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.92);
}

/* Trust strip — panel profesional */
.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  padding: calc(1.5rem + 20px) 0 2.25rem;
  background: linear-gradient(180deg, #e8ecf4 0%, #eef1f8 35%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.trust-strip__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, black 0%, black 55%, transparent 100%);
  pointer-events: none;
}

.trust-strip__wrap {
  position: relative;
  z-index: 1;
}

.trust-panel {
  position: relative;
  display: grid;
  gap: 1.75rem 2.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 48%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 20px 50px rgba(15, 23, 42, 0.08),
    0 4px 16px rgba(15, 23, 42, 0.04);
}

@media (min-width: 960px) {
  .trust-panel {
    /* Más peso al grid de segmentos; la intro usa el ancho real (sin “media columna” vacía) */
    grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
    gap: 1.75rem 2rem;
    padding: 2rem 2.25rem 2.25rem;
    align-items: center;
  }
}

.trust-panel__accent {
  position: absolute;
  left: 0;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #22d3ee 0%, #7c3aed 55%, #22d3ee 100%);
  opacity: 0.85;
}

@media (max-width: 959px) {
  .trust-panel__accent {
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    bottom: auto;
    width: auto;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #22d3ee 0%, #7c3aed 50%, #22d3ee 100%);
  }
}

.trust-panel__intro {
  padding-left: 0.85rem;
}

@media (max-width: 959px) {
  .trust-panel__intro {
    padding-left: 0;
    padding-top: 0.65rem;
  }
}

.trust-panel__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0891b2;
  margin-bottom: 0.65rem;
}

.trust-panel__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.trust-panel__title em {
  font-style: normal;
  background: linear-gradient(90deg, #0e7490, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-panel__lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38ch;
}

.trust-panel__lead a {
  color: #0e7490;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(14, 116, 144, 0.35);
  text-underline-offset: 2px;
}

.trust-panel__lead a:hover {
  color: #155e75;
  text-decoration-color: rgba(14, 116, 144, 0.55);
}

@media (min-width: 960px) {
  .trust-panel__lead {
    max-width: 100%;
  }
}

.trust-panel__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .trust-panel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.trust-cell {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-height: 4.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.trust-cell:hover {
  border-color: rgba(8, 145, 178, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.trust-cell__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #0891b2;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(8, 145, 178, 0.06));
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.trust-cell__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.trust-cell:nth-child(2) .trust-cell__icon {
  color: #6366f1;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(124, 58, 237, 0.06));
  border-color: rgba(99, 102, 241, 0.22);
}

.trust-cell:nth-child(3) .trust-cell__icon {
  color: #0d9488;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(13, 148, 136, 0.06));
  border-color: rgba(20, 184, 166, 0.2);
}

.trust-cell:nth-child(4) .trust-cell__icon {
  color: #c2410c;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(194, 65, 12, 0.06));
  border-color: rgba(249, 115, 22, 0.22);
}

.trust-cell__text {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink-soft);
  padding-top: 0.15rem;
}

@media (max-width: 639px) {
  .trust-strip {
    margin-top: -28px;
    padding: calc(1.35rem + 16px) 0 1.85rem;
  }

  .trust-panel {
    padding: 1.35rem 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-cell:hover {
    transform: none;
  }
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--surface {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--split {
  padding: 4.5rem 0;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--ink);
}

.section__title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: min(42rem, 100%);
}

.section__lead {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.65;
  max-width: 62ch;
}

.section__lead--wide {
  max-width: 72ch;
}

.section__lead--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__lead--tight {
  margin-bottom: 0.85rem;
}

.section__muted {
  font-size: 0.9875rem;
  color: var(--muted);
  max-width: 65ch;
  margin: 2rem auto 0;
  line-height: 1.6;
}

.section__muted--center {
  text-align: center;
}

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0 0.85rem;
}

/* Split layout */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr minmax(280px, 420px);
    gap: 3.5rem;
  }
  .split--narrow {
    grid-template-columns: 1fr minmax(260px, 380px);
  }
}

.split__figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--bg);
}

.split__figure img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.split__figure--tall img {
  aspect-ratio: 4 / 5;
}

.pullquote {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.25rem 1.25rem 1.1rem;
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(0, 180, 216, 0.08), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Glass cards mission / vision */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

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

.glass-card {
  position: relative;
  padding: 1.75rem 1.75rem 1.75rem 1.65rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #ffffff 0%, #f4f6fb 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.glass-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(0, 180, 216, 0.04));
  color: var(--accent);
}

.glass-card__icon--accent {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.05));
  color: var(--accent-2);
}

.glass-card--accent {
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(124, 58, 237, 0.05);
}

.glass-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.glass-card--accent .glass-card__tag {
  color: var(--accent-2);
}

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.glass-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Bento (claro — por si se reutiliza) */
.bento {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .bento:not(.bento--dark) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento__item {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.bento__item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .bento:not(.bento--dark) .bento__item--wide {
    grid-column: span 3;
    background: linear-gradient(120deg, rgba(0, 180, 216, 0.06), rgba(124, 58, 237, 0.06));
  }
}

.bento__item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0;
  color: var(--ink);
}

.bento__item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Propuesta de valor — bloque premium oscuro (misma familia cromática que el hero) */
.section--propuesta {
  position: relative;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(0, 180, 216, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 30%, rgba(124, 58, 237, 0.12), transparent 45%),
    linear-gradient(165deg, var(--brand-dark) 0%, var(--brand-dark-mid) 50%, var(--brand-dark-soft) 100%);
  color: rgba(248, 250, 252, 0.88);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(34, 211, 238, 0.12);
}

.section--propuesta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(34, 211, 238, 0.55) 22%,
    rgba(167, 139, 250, 0.5) 50%,
    rgba(34, 211, 238, 0.55) 78%,
    transparent 100%
  );
  pointer-events: none;
}

.section--propuesta__noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}

.section--propuesta__inner {
  position: relative;
  z-index: 1;
}

.section__eyebrow--on-dark {
  color: #22d3ee;
  text-align: center;
}

.section__title--on-dark {
  color: #f8fafc;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section__lead--on-dark {
  color: rgba(203, 213, 225, 0.92);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
}

.bento--dark {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .bento--dark {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento--dark .bento__item--wide {
    grid-column: span 2;
  }
}

/* Tres tarjetas bajo la fila ancha: 3 columnas = sin hueco a la derecha */
@media (min-width: 900px) {
  .bento--dark {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento--dark .bento__item--wide {
    grid-column: span 3;
  }
}

.bento--dark .bento__item {
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(148, 163, 184, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bento--dark .bento__item:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bento--dark .bento__item--wide {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(124, 58, 237, 0.08) 50%, rgba(15, 23, 42, 0.4) 100%);
  border-color: rgba(34, 211, 238, 0.2);
}

.bento__item-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.bento__item-top h3 {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.3;
}

.bento--dark .bento__item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(203, 213, 225, 0.88);
}

.bento__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bento__icon-svg {
  display: block;
  flex-shrink: 0;
}

.bento__icon--cyan {
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

.bento__icon--violet {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.15);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.12);
}

.bento__icon--amber {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.12);
  box-shadow: 0 0 24px rgba(249, 115, 22, 0.1);
}

.bento__icon--mint {
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1);
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.1);
}

.section__outro {
  margin: 2.5rem auto 0;
  padding: 1.35rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  border-radius: var(--radius-lg);
}

.section__outro--dark {
  max-width: 52rem;
  text-align: center;
  color: rgba(226, 232, 240, 0.82);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

/* Pillars */
.pillar-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pillar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  position: relative;
  padding: 1.35rem 1.35rem 1.4rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: rgba(0, 180, 216, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.pillar-card__icon {
  display: flex;
  margin-bottom: 0.85rem;
  color: var(--accent);
  opacity: 0.95;
}

.pillar-card:nth-child(2) .pillar-card__icon {
  color: var(--accent-2);
}

.pillar-card:nth-child(3) .pillar-card__icon {
  color: #0ea5e9;
}

.pillar-card:nth-child(4) .pillar-card__icon {
  color: var(--accent-warm);
}

.pillar-card__head {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.pillar-card__id {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0;
  color: var(--ink);
}

.pillar-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Platform cards with images */
.platform-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.platform-card {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.platform-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

@media (min-width: 880px) {
  .platform-card {
    grid-template-columns: 1fr 1.1fr;
    padding: 1.5rem;
    gap: 2rem;
  }
  .platform-card--reverse .platform-card__media {
    order: 2;
  }
  .platform-card--reverse .platform-card__body {
    order: 1;
  }
}

.platform-card__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.platform-card__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.platform-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.platform-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.platform-card__body p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.975rem;
}

.platform-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.platform-card__tags span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.platform-card__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-2);
  text-decoration: none;
}

.platform-card__link:hover {
  text-decoration: underline;
}

/* Services accordion — catálogo editorial */
.service-block {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details.service {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

details.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.22s ease;
}

details.service[open]::before,
details.service:hover::before {
  opacity: 1;
}

details.service[open] {
  border-color: rgba(0, 180, 216, 0.2);
  box-shadow: var(--shadow-sm), 0 0 0 1px rgba(0, 180, 216, 0.06);
}

details.service summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem 1rem 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

details.service summary:focus {
  outline: none;
}

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

details.service summary::-webkit-details-marker {
  display: none;
}

.service__summary-text {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.service__badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2.35rem;
  padding: 0 0.45rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #0e7490;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(124, 58, 237, 0.1));
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 10px;
}

details.service[open] .service__badge {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0096c7);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.28);
}

.service__name {
  line-height: 1.25;
  letter-spacing: -0.02em;
}

details.service summary::after {
  content: "";
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%235c6478' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.22s ease, background-color 0.2s ease, border-color 0.2s ease;
}

details.service[open] summary::after {
  transform: rotate(180deg);
  background-color: rgba(0, 180, 216, 0.08);
  border-color: rgba(0, 180, 216, 0.25);
}

details.service summary:hover::after {
  background-color: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
}

details.service summary:hover {
  background: rgba(248, 250, 252, 0.85);
}

.service__body {
  padding: 0.35rem 1.2rem 1.2rem 1.35rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, transparent 100%);
}

.service__body p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.58;
}

.service__body .service__list-title {
  margin-top: 1.1rem;
  margin-bottom: 0.55rem;
}

.service__list-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e7490;
}

.service__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.service__list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.90625rem;
  line-height: 1.48;
}

.service__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 2px rgba(0, 180, 216, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  details.service summary::after {
    transition: none;
  }
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.check-list--compact {
  gap: 0.5rem;
}

.check-list--compact li {
  font-size: 0.9375rem;
  line-height: 1.48;
  padding-bottom: 0.08rem;
}

.two-col-asymmetric {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .two-col-asymmetric {
    grid-template-columns: 1fr 1.05fr;
    align-items: start;
  }

  .two-col-asymmetric--diferenciadores {
    align-items: start;
    gap: 1.75rem 2.25rem;
  }
}

/* Diferenciadores + clientes — dos paneles equilibrados */
.diferenciadores-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.65rem 1.5rem 1.75rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.diferenciadores-stack__body .section__eyebrow {
  margin-bottom: 0.65rem;
}

.diferenciadores-stack__body .section__title {
  margin-bottom: 1.05rem;
}

.diferenciadores-stack__body .check-list {
  margin-top: 0.15rem;
}

.diferenciadores-callout {
  position: relative;
  padding: 1.15rem 1.1rem 1.2rem 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, rgba(0, 180, 216, 0.1) 0%, rgba(124, 58, 237, 0.07) 100%);
  border: 1px solid rgba(14, 116, 144, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.diferenciadores-callout::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #22d3ee 0%, #7c3aed 50%, #22d3ee 100%);
  opacity: 0.9;
}

.diferenciadores-callout__eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e7490;
  margin-bottom: 0.5rem;
}

.diferenciadores-callout__text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--ink-soft);
}

.diferenciadores-callout__text a {
  color: #0e7490;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(14, 116, 144, 0.35);
  text-underline-offset: 2px;
}

.diferenciadores-callout__text a:hover {
  color: #155e75;
  text-decoration-color: rgba(14, 116, 144, 0.55);
}

.diferenciadores-callout__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.diferenciadores-callout__tags li {
  padding: 0.28rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.aside-panel--raised {
  display: flex;
  flex-direction: column;
  padding: 1.65rem 1.5rem 1.65rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 45%, #f1f5f9 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.aside-panel--raised .aside-panel__body .section__eyebrow {
  margin-bottom: 0.65rem;
}

.aside-panel--raised .aside-panel__body .section__title {
  margin-bottom: 0.85rem;
}

.aside-panel--raised .aside-panel__body .section__lead {
  margin-bottom: 1.15rem;
}

.aside-panel--raised .aside-panel__body .check-list {
  margin-top: 0.2rem;
}

.aside-panel__visual {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.aside-panel--raised .aside-panel__visual {
  margin-top: 1.85rem;
  flex-shrink: 0;
}

.aside-panel__visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* CTA parallax */
.section--cta {
  position: relative;
  padding: 0;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-parallax {
  position: absolute;
  inset: 0;
}

.cta-parallax__picture {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}

.cta-parallax__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.cta-parallax__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 8, 20, 0.93) 0%,
    rgba(15, 23, 42, 0.78) 38%,
    rgba(5, 8, 20, 0.5) 100%
  );
  box-shadow: inset 0 0 120px rgba(34, 211, 238, 0.06);
}

.cta-parallax__content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.35rem;
  color: #e8ecf4;
  max-width: 640px;
}

.cta-parallax__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: #fff;
}

.cta-parallax__content p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
}

.cta-parallax__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: #0a0d14;
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 0;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-col p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-col h3 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1.35rem 1.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.38);
}

.site-footer__legal {
  margin: 0;
  line-height: 1.55;
  text-align: center;
}

.site-footer__sep {
  margin: 0 0.4rem;
  opacity: 0.7;
}

.site-footer__note {
  color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 1024px) {
  body.nav-drawer-open {
    overflow: hidden;
  }
}

/* Por qué elegirnos — tarjeta destacada */
.por-que-card {
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.por-que-card .section__lead {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav {
    transition: none;
  }

  .glass-card:hover,
  .bento--dark .bento__item:hover,
  .pillar-card:hover,
  .platform-card:hover {
    transform: none;
  }
}

@media print {
  .skip-link,
  .top-bar,
  .site-header,
  .nav-toggle,
  .hero__actions,
  .cta-parallax__actions {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }

  .hero,
  .section--propuesta,
  .section--cta,
  .site-footer {
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
  }

  .section--propuesta .section__title--on-dark,
  .section--propuesta .section__lead--on-dark {
    color: #111 !important;
  }

  a {
    text-decoration: underline;
    color: #000 !important;
  }

  .section {
    padding: 1.25rem 0 !important;
    page-break-inside: avoid;
  }
}

/* —— Páginas legales y error 404 —— */
.legal-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 249, 252, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.legal-top__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem 1.35rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.legal-top .logo {
  text-decoration: none;
}

.legal-top__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.legal-top__nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.legal-top__nav a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-top__nav a[aria-current="page"] {
  color: var(--accent);
}

.legal-doc-wrap {
  padding: 2.5rem 0 4rem;
  min-height: 60vh;
}

.legal-doc {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.35rem;
}

.legal-doc__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.legal-doc__updated {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin: 2rem 0 0.65rem;
  line-height: 1.3;
}

.legal-doc h2:first-of-type {
  margin-top: 1.5rem;
}

.legal-doc p,
.legal-doc li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.legal-doc p {
  margin: 0 0 1rem;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-doc li {
  margin-bottom: 0.4rem;
}

.legal-doc a {
  color: #0e7490;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(14, 116, 144, 0.35);
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: #155e75;
}

.legal-doc .legal-note {
  margin-top: 2.5rem;
  padding: 1rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-footer {
  margin-top: auto;
  padding: 2rem 0;
  background: #0a0d14;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
}

.legal-footer .container {
  text-align: center;
}

.legal-footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 600;
}

.legal-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

body.legal-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.legal-body main {
  flex: 1;
}

/* Error 404 */
.page-404 {
  text-align: center;
  padding: 3rem 1.35rem 4rem;
  max-width: 32rem;
  margin: 0 auto;
}

.page-404__code {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.page-404 p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }
}
