/* Fuentes locales — Inter, Space Grotesk, Rajdhani (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('../fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('../fonts/rajdhani-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url('../fonts/rajdhani-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Rajdhani';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/rajdhani-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url('../fonts/space-grotesk-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/space-grotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Rodbartech — sistema visual compartido
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --bg-cream: #FBF7F1;
  --bg-dark: #14131A;
  --surface: #F5F1E9;
  --surface-2: #EFE9DD;
  --border: #E8E2D6;
  --text: #14131A;
  --text-2: #5B5763;
  --text-muted: #8B8791;
  --on-dark: #F3F1EC;
  --on-dark-muted: #B7B2C4;
  --card: #FFFFFF;
  --nav-bg: rgba(255, 255, 255, 0.82);
  --ink: #14131A;
  --ink-inv: #FFFFFF;
  --hover-card: #14131A;
  --shadow: rgba(20, 19, 26, 0.10);
  --shadow-strong: rgba(20, 19, 26, 0.18);

  --blue: #2F6FEB;
  --pink: #EC1A78;
  --orange: #FF5E1A;

  --gradient: linear-gradient(135deg, #2F6FEB 0%, #EC1A78 55%, #FF5E1A 100%);
  --gradient-soft: linear-gradient(135deg, rgba(47,111,235,.14) 0%, rgba(236,26,120,.14) 55%, rgba(255,94,26,.14) 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---------- Modo noche ---------- */
[data-theme="dark"] {
  --bg: #0B0A10;
  --bg-cream: #12111A;
  --bg-dark: #07060C;
  --surface: #1A1824;
  --surface-2: #252233;
  --border: #2E2B3C;
  --text: #F3F1EC;
  --text-2: #B7B2C4;
  --text-muted: #8B8791;
  --on-dark: #F3F1EC;
  --on-dark-muted: #B7B2C4;
  --card: #1A1824;
  --nav-bg: rgba(11, 10, 16, 0.88);
  --ink: #F3F1EC;
  --ink-inv: #0B0A10;
  --hover-card: #0B0A10;
  --shadow: rgba(0, 0, 0, 0.35);
  --shadow-strong: rgba(0, 0, 0, 0.5);
  --gradient-soft: linear-gradient(135deg, rgba(47,111,235,.22) 0%, rgba(236,26,120,.20) 55%, rgba(255,94,26,.18) 100%);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  position: relative;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; width: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); box-sizing: border-box; }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 10px; }
h1, h2, h3, h4 { overflow-wrap: anywhere; word-wrap: break-word; }

/* ---------- scroll progress bar ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--gradient); z-index: 999; transition: width .1s linear; }

/* ---------- ambient glow (solo mitad inferior de la página) ---------- */
.cursor-glow {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  bottom: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  background: transparent;
  border-radius: 0;
  filter: none;
  mix-blend-mode: normal;
  animation: none;
  will-change: auto;
}
.cursor-glow::before,
.cursor-glow::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: soft-light;
  filter: blur(8px);
  will-change: transform;
}
.cursor-glow::before {
  width: 520px;
  height: 520px;
  left: 6%;
  top: 18%;
  background: radial-gradient(circle, rgba(47,111,235,.22) 0%, rgba(236,26,120,.12) 42%, transparent 68%);
  animation: ambientDriftA 28s ease-in-out infinite;
  box-shadow: 42vw 12% 0 40px rgba(255,94,26,.10);
}
.cursor-glow::after {
  width: 440px;
  height: 440px;
  left: 52%;
  top: 42%;
  background: radial-gradient(circle, rgba(236,26,120,.20) 0%, rgba(255,94,26,.10) 45%, transparent 70%);
  animation: ambientDriftB 34s ease-in-out infinite;
}
[data-theme="dark"] .cursor-glow::before {
  background: radial-gradient(circle, rgba(47,111,235,.32) 0%, rgba(236,26,120,.18) 42%, transparent 68%);
  mix-blend-mode: screen;
  box-shadow: 42vw 12% 0 40px rgba(255,94,26,.14);
  opacity: .9;
}
[data-theme="dark"] .cursor-glow::after {
  background: radial-gradient(circle, rgba(236,26,120,.28) 0%, rgba(255,94,26,.14) 45%, transparent 70%);
  mix-blend-mode: screen;
  opacity: .9;
}
/* Solo deriva horizontal: sin subir/bajar */
@keyframes ambientDriftA {
  0%   { transform: translateX(0) scale(1); }
  50%  { transform: translateX(36vw) scale(1.06); }
  100% { transform: translateX(0) scale(1); }
}
@keyframes ambientDriftB {
  0%   { transform: translateX(0) scale(1); }
  50%  { transform: translateX(-30vw) scale(1.08); }
  100% { transform: translateX(0) scale(1); }
}
@keyframes ambientDriftC {
  0%   { transform: translateX(0) scale(1); }
  50%  { transform: translateX(24vw) scale(1.05); }
  100% { transform: translateX(0) scale(1); }
}
@media (max-width: 900px) { .cursor-glow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .cursor-glow::before,
  .cursor-glow::after { animation: none; }
}

/* ---------- Accesibilidad: skip link + focus mínimo ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 10000;
  padding: 10px 14px;
  background: var(--bg);
  color: var(--text);
  border: 2px solid var(--blue);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
.energy-btn:focus-visible,
.btn:focus-visible,
.tech-link:focus-visible,
.wa-float:focus-visible,
.theme-toggle:focus-visible,
.burger:focus-visible,
.close-x:focus-visible,
.hero-arrow:focus-visible,
.hero-dot:focus-visible,
.case-carousel-arrow:focus-visible,
.case-carousel-dots button:focus-visible,
.spotlight-dots button:focus-visible,
.proof-carousel-dots button:focus-visible,
.svc-tab:focus-visible,
.svc-acc-head:focus-visible,
.legal-nav-btn:focus-visible,
.ba-handle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

@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;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; transform: none !important; }
  .reveal,
  .reveal-stagger { opacity: 1 !important; transform: none !important; }
}

/* ---------- NAV / HUD 3D (solo panel superior) ---------- */
.perspective-zone {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 140px;
  perspective: 1200px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-top: 18px;
}
.hud-spacer { display: none; height: 0; margin: 0; padding: 0; }

.hardware-frame {
  clip-path: polygon(
    16px 0, calc(100% - 16px) 0, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 0 calc(100% - 16px), 0 16px
  );
  background: linear-gradient(135deg, #d16b27 0%, rgba(255,255,255,.06) 40%, rgba(255,255,255,.06) 60%, #e8007e 100%);
  padding: 1px;
  width: min(96vw, 1400px);
  max-width: 1400px;
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  box-sizing: border-box;
  transform: translateZ(0);
  transition: none;
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
  flex-shrink: 0;
  will-change: auto;
}
.hardware-frame.is-tilting {
  transition: transform .1s ease-out;
}

.cyber-nav {
  clip-path: polygon(
    16px 0, calc(100% - 16px) 0, 100% 16px,
    100% calc(100% - 16px), calc(100% - 16px) 100%,
    16px 100%, 0 calc(100% - 16px), 0 16px
  );
  background: rgba(10, 8, 14, .78);
  backdrop-filter: blur(12px);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px 0 18px;
  position: relative;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.cyber-nav::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,.12),
    rgba(0,0,0,.12) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
  border-radius: inherit;
}

.logo-core {
  display: block;
  text-decoration: none;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  width: 132px;
  min-width: 72px;
  max-width: 132px;
  height: 58px;
  overflow: hidden;
  transition: width .35s var(--ease), max-width .35s var(--ease), height .35s var(--ease);
}
.logo-core .logo-mark {
  width: 132px;
  height: 58px;
  display: block;
  object-fit: contain;
  object-position: top center;
  transition: width .35s var(--ease), height .35s var(--ease);
}
/* El wordmark vive dentro de LogoRodbarNuevo; ocultamos el segundo <img> */
.logo-core .logo-word {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0 !important;
  overflow: hidden;
  pointer-events: none;
}
/* Al hacer scroll: desaparecen las letras; solo queda RB + buscador completo */
.cyber-nav.is-scrolled .logo-core {
  width: 70px;
  max-width: 70px;
  height: 48px;
}
.cyber-nav.is-scrolled .logo-core .logo-mark {
  width: 70px;
  height: 70px;
  object-fit: contain;
  object-position: top center;
}

.hud-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.2rem, 1.1vw, .55rem);
  z-index: 10;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.tech-link {
  position: relative;
  color: #8b8994;
  text-decoration: none;
  font-family: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(11px, 1.05vw, 15px);
  font-weight: 600;
  letter-spacing: clamp(.3px, .08vw, 1px);
  text-transform: uppercase;
  padding: 0 clamp(4px, .7vw, 12px);
  height: 36px;
  line-height: 36px;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .35s ease;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.tech-link span {
  position: relative;
  z-index: 2;
  line-height: 1;
  display: block;
}
.tech-link::before,
.tech-link::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1.5px solid #d16b27;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .4s ease, transform .4s ease, border-color .4s ease, background .4s ease;
}
.tech-link::before {
  left: 0;
  transform: translate(-4px, -50%);
}
.tech-link::after {
  right: 0;
  transform: translate(4px, -50%);
}
.tech-link .data-line {
  position: absolute;
  bottom: 2px; left: 10px; right: 10px;
  width: auto; height: 1.5px;
  background: rgba(209,107,39,.55);
  box-shadow: none;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .5s ease, background .5s ease, opacity .5s ease;
  opacity: .9;
  border-radius: 2px;
}
.tech-link:hover { color: #e8e6ea; }
.tech-link:hover::before,
.tech-link:hover::after {
  opacity: .9;
  transform: translate(0, -50%);
}
.tech-link:hover .data-line { transform: scaleX(1); }
.tech-link.active,
.tech-link.current { color: #fff; }
.tech-link.active .data-line,
.tech-link.current .data-line {
  transform: scaleX(1);
  background: linear-gradient(90deg, #5a38fa, #e8007e);
  opacity: 1;
}
.tech-link.active::before,
.tech-link.active::after,
.tech-link.current::before,
.tech-link.current::after {
  opacity: .9;
  transform: translate(0, -50%);
  border-color: #e8007e;
  background: rgba(232, 0, 126, .2);
}

.action-zone {
  display: flex;
  align-items: center;
  gap: .7rem;
  z-index: 10;
  flex-shrink: 0;
  min-width: 0;
}
.cyber-nav .theme-toggle {
  width: 40px; height: 40px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #f3f1ec;
}
.cyber-nav .theme-toggle:hover {
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 18px rgba(209,107,39,.25);
}

.energy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  clip-path: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #5a38fa, #e8007e);
  text-decoration: none;
  font-family: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 1.05vw, 15px);
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
  transition: filter .3s ease, box-shadow .3s ease;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  font-synthesis: none;
}
.energy-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 14px; height: 100%;
  background: rgba(255,255,255,.7);
  box-shadow: 0 0 20px rgba(255,255,255,.9);
  transform: skewX(-25deg);
  animation: laserScan 4s infinite cubic-bezier(.86, 0, .07, 1);
}
@keyframes laserScan {
  0% { left: -50%; }
  20% { left: 150%; }
  100% { left: 150%; }
}
.energy-btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 28px rgba(232, 0, 126, .4);
}
.energy-btn .btn-icon {
  margin-left: 8px;
  transition: transform .3s ease;
}
.energy-btn:hover .btn-icon { transform: translateX(4px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 10;
}
.burger span { width: 22px; height: 2px; background: #f3f1ec; display: block; }
.mobile-panel { position: fixed; inset: 0; background: var(--bg); z-index: 1100; display: none; flex-direction: column; padding: 24px 32px; }
.mobile-panel.open { display: flex; }
.mobile-panel a { font-size: 22px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.mobile-panel .close-x { align-self: flex-end; font-size: 28px; background: none; border: none; cursor: pointer; margin-bottom: 20px; color: var(--text); }

@media (max-width: 1280px) {
  .hud-links { gap: .2rem; }
  .tech-link { font-size: 12.5px; padding: 0 5px; letter-spacing: .5px; height: 34px; line-height: 34px; }
  .energy-btn { padding: 0 12px; font-size: 12.5px; height: 38px; }
}
/* Antes: 900px — con zoom del navegador los enlaces se solapaban; menú burger antes */
@media (max-width: 1100px) {
  .perspective-zone { height: 96px; padding-top: 12px; }
  .hud-spacer { display: none; height: 0; }
  .hardware-frame { height: 64px; width: 94%; transition: none !important; transform: none !important; }
  .hud-links, .energy-btn { display: none; }
  .burger { display: flex; }
  .logo-core { width: 110px; max-width: 110px; height: 48px; }
  .logo-core .logo-mark { width: 110px; height: 48px; }
  .cyber-nav.is-scrolled .logo-core { width: 58px; max-width: 58px; height: 42px; }
  .cyber-nav.is-scrolled .logo-core .logo-mark { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .hardware-frame { transition: none !important; transform: none !important; }
  .energy-btn::after { animation: none; }
}

/* ---------- theme toggle ---------- */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card);
  color: var(--text); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease), box-shadow .2s ease, background .3s ease, border-color .3s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { transform: scale(1.06); box-shadow: 0 8px 20px var(--shadow); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- BUTTONS ---------- */
.btn { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14.5px; padding: 13px 26px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), opacity .2s ease; }
.btn-primary { background: var(--gradient); color: #fff; background-size: 160% 160%; background-position: 0% 50%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(236,26,120,.28); background-position: 100% 50%; }
.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn-secondary:hover { transform: translateY(-2px); background: var(--text); color: var(--bg); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* ---------- glow blobs (generic) ---------- */
.glow { position: absolute; filter: blur(40px); pointer-events: none; z-index: 0; }
.glow-anim { animation: floatGlow 14s ease-in-out infinite; }
@keyframes floatGlow {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.06); }
  66% { transform: translate(-24px,18px) scale(0.97); }
}

/* ---------- HERO CAROUSEL ---------- */
.hero { position: relative; min-height: 100vh; overflow: hidden; background-color: var(--bg-dark); }
.hero-slide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 60px; opacity: 0; z-index: 1; transition: opacity 1.1s var(--ease); }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s linear;
}
.hero-bg > img,
.page-hero.page-hero-photo .hero-bg > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hero-bg.is-pos-top > img { object-position: center top; }
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,10,16,.55) 0%, rgba(11,10,16,.42) 45%, rgba(11,10,16,.62) 100%),
    radial-gradient(ellipse at 50% 40%, rgba(11,10,16,.15) 0%, rgba(11,10,16,.55) 100%);
}
.hero-slide .glow { inset: -110px; filter: blur(46px); }
.glow-pink { background: radial-gradient(circle at 26% 24%, rgba(236,26,120,.42) 0%, transparent 46%), radial-gradient(circle at 60% 46%, rgba(47,111,235,.28) 0%, transparent 50%), radial-gradient(circle at 82% 78%, rgba(255,94,26,.20) 0%, transparent 50%); }
.glow-blue { background: radial-gradient(circle at 24% 22%, rgba(47,111,235,.44) 0%, transparent 46%), radial-gradient(circle at 60% 50%, rgba(236,26,120,.22) 0%, transparent 50%), radial-gradient(circle at 82% 76%, rgba(255,94,26,.18) 0%, transparent 50%); }
.glow-orange { background: radial-gradient(circle at 24% 22%, rgba(255,94,26,.44) 0%, transparent 46%), radial-gradient(circle at 58% 48%, rgba(236,26,120,.24) 0%, transparent 50%), radial-gradient(circle at 80% 78%, rgba(47,111,235,.18) 0%, transparent 50%); }
.hero-slide .content { position: relative; z-index: 1; max-width: 900px; color: #F3F1EC; }
.kicker-pill { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--text); background: var(--card); border: 1px solid var(--border); padding: 7px 16px; border-radius: 999px; margin-bottom: 24px; opacity: 0; transform: translateY(14px); }
.hero-slide .kicker-pill { color: #F3F1EC; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.hero-slide.active .kicker-pill { animation: riseIn .7s var(--ease) .1s forwards; }
.hero-slide h1,
.hero-slide .hero-heading { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(34px, 5.6vw, 58px); line-height: 1.08; margin-bottom: 18px; letter-spacing: -.015em; text-transform: uppercase; opacity: 0; transform: translateY(20px); color: #F3F1EC; text-shadow: 0 8px 32px rgba(0,0,0,.35); }
.grad-word { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-slide.active h1,
.hero-slide.active .hero-heading { animation: riseIn .8s var(--ease) .2s forwards; }
.hero-slide p.sub { font-size: 17px; color: rgba(243,241,236,.82); max-width: 560px; margin: 0 auto 34px; opacity: 0; transform: translateY(16px); }
.hero-slide.active p.sub { animation: riseIn .8s var(--ease) .32s forwards; }
.hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; transform: translateY(16px); }
.hero-slide.active .hero-cta-row { animation: riseIn .8s var(--ease) .44s forwards; }
.hero-slide .btn-secondary { color: #F3F1EC; border-color: rgba(243,241,236,.85); }
.hero-slide .btn-secondary:hover { background: #F3F1EC; color: #14131A; }
@keyframes riseIn { to { opacity: 1; transform: translateY(0); } }

.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 19px; color: #F3F1EC; transition: background .2s ease, transform .2s ease; }
.hero-arrow:hover { background: rgba(255,255,255,.24); transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 22px; } .hero-arrow.next { right: 22px; }
@media (max-width: 640px) { .hero-arrow { display: none; } .hero-slide h1, .hero-slide .hero-heading { font-size: clamp(28px, 8.2vw, 34px); } }

.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.hero-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; border: none; padding: 0; transition: background .2s ease, transform .2s ease, width .3s ease; }
.hero-dot.active { background: #F3F1EC; width: 24px; border-radius: 5px; }

.hero-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--gradient); width: 0%; z-index: 10; }

/* Fade inferior: foto → web */
.hero::after,
.page-hero.page-hero-photo::after,
.page-hero.page-hero-motion::after,
.page-hero.page-hero-fade::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(140px, 24vh, 260px);
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    var(--hero-fade-to, var(--bg)) 100%
  );
}
[data-theme="dark"] .hero::after,
[data-theme="dark"] .page-hero.page-hero-photo::after,
[data-theme="dark"] .page-hero.page-hero-motion::after,
[data-theme="dark"] .page-hero.page-hero-fade::after {
  background: linear-gradient(
    to bottom,
    rgba(11,10,16,0) 0%,
    var(--hero-fade-to, var(--bg)) 100%
  );
}

/* ---------- section scaffolding ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; margin-bottom: 14px; letter-spacing: -.01em; }
.section-head p { color: var(--text-2); font-size: 15.5px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: .04s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .28s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .36s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .44s; }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

/* ---------- marquee (logos / ticker) ---------- */
.marquee { overflow: hidden; position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: marqueeScroll 36s linear infinite; will-change: transform; }
.marquee-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.marquee-track span:nth-child(5n+1) { color: var(--blue); }
.marquee-track span:nth-child(5n+2) { color: var(--pink); }
.marquee-track span:nth-child(5n+3) { color: var(--orange); }
.marquee-track span:nth-child(5n+4) {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-track span:nth-child(5n+5) { color: var(--blue); }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- ADN tilt cards ---------- */
.adn-grid, .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.tilt-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); transform-style: preserve-3d; will-change: transform; }
.tilt-card:hover { box-shadow: 0 18px 40px var(--shadow); }
.tilt-card .dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 16px; }
.tilt-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.tilt-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* ---------- service / offer cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease, background .35s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px var(--shadow); border-color: transparent; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; margin-bottom: 18px; font-family: 'Space Grotesk', sans-serif; }
.icon-blue { background: var(--blue); } .icon-pink { background: var(--pink); } .icon-orange { background: var(--orange); }
.card h2,
.card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 17.5px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.card p { font-size: 13.5px; color: var(--text-2); margin-bottom: 16px; line-height: 1.55; }
.card ul { list-style: none; margin-bottom: 18px; }
.card ul li { font-size: 13px; color: var(--text-2); padding-left: 20px; position: relative; margin-bottom: 8px; }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.card a.link { font-size: 13.5px; font-weight: 700; text-decoration: none; }
.link-blue { color: var(--blue); } .link-pink { color: var(--pink); } .link-orange { color: var(--orange); }
.card.featured { border: 2px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--gradient) border-box; }
.badge-featured { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: var(--gradient); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); cursor: pointer; color: var(--text-2); transition: all .2s ease; }
.tab-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- accordion ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 4px; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15.5px; }
.accordion-head .plus { font-size: 20px; transition: transform .3s var(--ease); color: var(--blue); }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); font-size: 13.5px; color: var(--text-2); line-height: 1.6; }
.accordion-body-inner { padding: 0 4px 20px; }

/* ---------- before/after slider ---------- */
.ba-slider { position: relative; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden; cursor: ew-resize; user-select: none; border: 1px solid var(--border); }
.ba-after, .ba-before { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.ba-after { background: var(--surface); }
.ba-before { background: #14131A; color: #F3F1EC; overflow: hidden; }
.ba-before-inner { width: var(--ba-width, 100%); position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 30px; }
.ba-tag { position: absolute; top: 16px; font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.ba-tag.before-tag { left: 16px; background: rgba(255,255,255,.15); color: #fff; }
.ba-tag.after-tag { right: 16px; background: var(--gradient); color: #fff; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--ba-width, 50%); width: 3px; background: var(--card); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.08); z-index: 5; }
.ba-handle::before { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; background: var(--card); color: var(--text); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 6px 18px var(--shadow-strong); }
.ba-caption h4 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ba-caption p { font-size: 13.5px; opacity: .85; max-width: 320px; }

/* ---------- stat counters ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; text-align: center; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 30px 16px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 13px; color: var(--text-2); margin-top: 6px; }

/* ---------- testimonial spotlight ---------- */
.section-reviews { position: relative; overflow: hidden; }
.section-reviews .reviews-g-mark {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(58vw, 420px);
  height: min(58vw, 420px);
  z-index: 0;
  pointer-events: none;
  opacity: .07;
  filter: blur(1.5px);
}
[data-theme="dark"] .section-reviews .reviews-g-mark { opacity: .11; }
.section-reviews .reviews-g-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.section-reviews > .container { position: relative; z-index: 1; }
.section-reviews .reviews-rating {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 2px auto 0;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  line-height: 1.2;
  color: var(--text-2);
}
.reviews-rating-a11y {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.reviews-rating-visual {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.reviews-rating-stars {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 2px;
  line-height: 1;
}
.reviews-rating-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.reviews-rating-src {
  font-weight: 500;
  color: var(--text-muted);
}
.spotlight { position: relative; max-width: 780px; margin: 0 auto; }
.spotlight-track { position: relative; min-height: 260px; }
/* Inactive slides stay absolute (no layout height); active is relative so track grows with full review text. */
.spotlight-slide { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); text-align: center; pointer-events: none; visibility: hidden; }
.spotlight-slide.active { position: relative; opacity: 1; transform: scale(1) translateY(0); pointer-events: auto; visibility: visible; }
.spotlight-stars { color: var(--orange); font-size: 18px; margin-bottom: 18px; letter-spacing: 4px; }
.spotlight-slide blockquote { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 500; line-height: 1.4; margin-bottom: 24px; }
.spotlight-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; margin: 0 auto 12px; }
.spotlight-who { font-weight: 700; font-size: 14.5px; }
.spotlight-role { font-size: 13px; color: var(--text-muted); }
.spotlight-dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.spotlight-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--border); border: none; cursor: pointer; transition: all .2s ease; }
.spotlight-dots button.active { background: var(--text); width: 22px; border-radius: 5px; }

/* ---------- timeline (proceso) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-left: 76px; margin-bottom: 56px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-num { position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; }
.timeline-item .eyebrow2 { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.timeline-item h2,
.timeline-item h3 { font-family: 'Space Grotesk', sans-serif; font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.timeline-item p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; max-width: 520px; }
.timeline-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: rgba(47,111,235,.08); padding: 5px 12px; border-radius: 999px; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--surface); border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band .glow2 { position: absolute; width: 460px; height: 460px; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--gradient-soft); filter: blur(20px); pointer-events: none; }
.cta-band h2 { position: relative; font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.cta-band p { position: relative; color: var(--text-2); font-size: 15px; margin-bottom: 28px; }
.cta-band .btn-row { position: relative; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 40px; }
.footer-grid .fbrand p { font-size: 12.5px; color: var(--text-muted); max-width: 220px; margin-top: 12px; }
.footer-grid .fbrand .footer-lema { margin-top: 8px; font-size: 12.5px; font-style: italic; color: var(--text-muted); max-width: 220px; }
.footer-grid h5,
.footer-grid .footer-heading { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 13.5px; color: var(--text-2); text-decoration: none; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.footer-legal a { color: var(--text-muted); text-decoration: none; font-size: 12.5px; }
.footer-legal a:hover { color: var(--text); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- legal page ---------- */
.page-hero-legal { padding-bottom: 56px; }
.legal-section { padding-top: 24px; padding-bottom: 80px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.legal-nav {
  position: sticky; top: 92px;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px;
}
.legal-nav-btn {
  appearance: none; border: none; background: transparent; cursor: pointer;
  text-align: left; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--text-2); padding: 12px 14px; border-radius: 12px;
  transition: background .2s ease, color .2s ease;
}
.legal-nav-btn:hover { color: var(--text); background: var(--surface); }
.legal-nav-btn.active { background: var(--text); color: var(--bg); }
.legal-panels {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 44px;
}
.legal-panel { display: none; animation: fadeIn .45s ease; }
.legal-panel.active { display: block; }
.legal-panel.active[hidden] { display: block !important; }
.legal-panel h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 700;
  margin: 8px 0 14px; letter-spacing: -.01em;
}
.legal-panel h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700;
  margin: 28px 0 10px;
}
.legal-lead { color: var(--text-2); font-size: 15.5px; margin-bottom: 8px; line-height: 1.65; }
.legal-panel p { color: var(--text-2); font-size: 14.5px; line-height: 1.7; margin-bottom: 12px; }
.legal-panel a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-panel a:hover { text-decoration: underline; }
.legal-list { list-style: none; margin: 0 0 14px; }
.legal-list li {
  position: relative; padding-left: 18px; margin-bottom: 10px;
  color: var(--text-2); font-size: 14.5px; line-height: 1.65;
}
.legal-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.legal-dl { display: grid; gap: 18px; margin: 24px 0 28px; }
.legal-dl > div {
  display: grid; grid-template-columns: 120px 1fr; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.legal-dl dt { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding-top: 2px; }
.legal-dl dd { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.legal-updated { margin-top: 28px; font-size: 13px; color: var(--text-muted); }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 20px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .legal-nav-btn { flex: 1 1 auto; text-align: center; padding: 10px 12px; font-size: 13px; }
  .legal-panels { padding: 28px 22px; }
  .legal-dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #fff;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; z-index: 60;
  box-shadow: 0 8px 22px var(--shadow-strong);
  animation: pulseWa 3s ease-in-out infinite;
  overflow: hidden;
  border: 1px solid var(--border);
}
.wa-float img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
@keyframes pulseWa { 0%,100% { box-shadow: 0 8px 22px var(--shadow-strong); } 50% { box-shadow: 0 8px 22px var(--shadow-strong), 0 0 0 8px rgba(47,111,235,.10); } }

/* ---------- page hero (páginas internas) ---------- */
.page-hero { position: relative; padding: 150px 0 80px; text-align: center; overflow: hidden; background: var(--bg-cream); }
.page-hero.page-hero-photo {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 120px 24px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  .page-hero.page-hero-photo {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 110px 20px 72px;
  }
}
.page-hero .glow { inset: -120px; filter: blur(50px); }
.page-hero h1 { position: relative; font-family: 'Space Grotesk', sans-serif; font-size: 44px; font-weight: 700; max-width: 760px; margin: 0 auto 18px; letter-spacing: -.01em; }
.page-hero p { position: relative; font-size: 16px; color: var(--text-2); max-width: 560px; margin: 0 auto; }
@media (max-width: 640px) { .page-hero h1 { font-size: 30px; } }

/* utility */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }

/* =========================================================
   Inicio v2 — ADN carrusel, tarjetas de trabajo, footer degradado
   (clases nuevas, no tocan nada de las demás páginas)
   ========================================================= */

/* ---- ADN cards: 1 / 2 / 4 columnas (ya no es un flex que encoge las 4) ---- */
.adn-carousel { position: relative; }
.adn-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 6px 4px 8px;
}
@media (min-width: 768px) {
  .adn-track { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .adn-track { grid-template-columns: repeat(4, 1fr); }
}
.adn-card-v2 { position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 24px 26px; overflow: hidden; min-height: 220px;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s var(--ease); }
.adn-card-v2.is-active {
  border-color: transparent;
  box-shadow: 0 16px 40px var(--shadow);
  transform: translateY(-4px);
}
.adn-card-v2 .ghost-num { position: absolute; top: -14px; right: 6px; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 88px; color: var(--surface-2); z-index: 0; line-height: 1; user-select: none; }
.adn-card-v2 .icon-circle { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; color: #fff; margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(20,19,26,.16); }
.adn-card-v2 .icon-circle svg { width: 26px; height: 26px; display: block; }
.adn-card-v2 .icon-circle.icon-grad { background: var(--gradient); }
.adn-card-v2 h3 { position: relative; z-index: 1; font-family: 'Space Grotesk', sans-serif; font-size: 17.5px; font-weight: 700; margin-bottom: 10px;
  overflow-wrap: break-word; word-break: normal; }
.adn-card-v2 p { position: relative; z-index: 1; font-size: 13.5px; color: var(--text-2); line-height: 1.6;
  overflow-wrap: break-word; word-break: normal; }

.adn-progress { display: none; }
.adn-progress-bar {
  position: relative; height: 5px; border-radius: 999px;
  background: var(--border); overflow: hidden;
}
.adn-progress-fill {
  position: absolute; top: 0; left: 0; height: 100%;
  width: 0%; border-radius: 999px;
  background: var(--gradient);
  background-size: 200% 100%;
  box-shadow: 0 0 16px rgba(236,26,120,.35);
  transform-origin: left center;
}
.adn-progress-fill.is-running {
  animation: adnProgressRun 3.5s linear forwards;
}
@keyframes adnProgressRun {
  from { width: 0%; }
  to { width: 100%; }
}

/* ---- work cards (Tres formas de trabajar) ---- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.work-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 36px 28px 30px;
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .35s ease, border-color .35s ease; }
.work-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.work-card.wc-blue::before { background: var(--blue); } .work-card.wc-pink::before { background: var(--pink); } .work-card.wc-orange::before { background: var(--orange); }
.work-card .wc-num { position: absolute; top: 16px; right: 22px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 60px; color: var(--surface-2); line-height: 1; z-index: 0; }
.work-card .icon-circle-lg { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; margin-bottom: 22px; font-size: 15px; }
.work-card h3 { position: relative; z-index: 1; font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.work-card p { position: relative; z-index: 1; font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; line-height: 1.6; }
.work-card .wc-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; text-decoration: none; }
.work-card .wc-link .arrow { display: inline-block; transition: transform .25s var(--ease); }
.work-card:hover { transform: translateY(-8px); }
.work-card:hover .wc-link .arrow { transform: translateX(5px); }
.work-card.wc-blue:hover { box-shadow: 0 22px 44px rgba(47,111,235,.18); }
.work-card.wc-pink:hover { box-shadow: 0 22px 44px rgba(236,26,120,.18); }
.work-card.wc-orange:hover { box-shadow: 0 22px 44px rgba(255,94,26,.18); }

/* ---- footer degradado (solo Inicio) ---- */
.footer-gradient { position: relative; overflow: hidden; }
.footer-gradient::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient); z-index: 2; }
.footer-gradient .glow3 { position: absolute; width: 560px; height: 560px; border-radius: 50%; left: 50%; top: -300px; transform: translateX(-50%);
  background: var(--gradient-soft); filter: blur(60px); pointer-events: none; z-index: 0; }
.footer-gradient .footer-grid, .footer-gradient .footer-bottom { position: relative; z-index: 1; }
.fbrand .footer-logo {
  display: block;
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: left top;
  margin-bottom: 4px;
}
.logo-word-grad { display: none; }

/* ---- Cookie consent banner (GA4) ---- */
.rb-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  padding: 14px clamp(12px, 3vw, 24px) calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--card);
  color: var(--text);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px var(--shadow);
}
.rb-cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
.rb-cookie-copy {
  flex: 1 1 280px;
  min-width: 0;
}
.rb-cookie-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}
.rb-cookie-text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 52rem;
}
.rb-cookie-text a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rb-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.rb-cookie-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rb-cookie-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.rb-cookie-btn-accept {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}
.rb-cookie-btn-accept:hover {
  box-shadow: 0 8px 20px rgba(236, 26, 120, .22);
}
.rb-cookie-btn-reject {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.rb-cookie-btn-reject:hover {
  border-color: var(--text-2);
  background: var(--surface);
}
@media (max-width: 640px) {
  .rb-cookie-actions {
    width: 100%;
  }
  .rb-cookie-btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
}

/* ---- Reviews CTA (Home) ---- */
.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ---- Proof carousel (Casos de éxito — prueba de capacidad) ---- */
.proof-carousel {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
}
.proof-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 2px 18px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.proof-track::-webkit-scrollbar { display: none; }
.proof-track:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 12px;
}
.proof-card {
  flex: 0 0 calc((100% - 22px) / 2);
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: 0 10px 28px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  box-sizing: border-box;
}
.proof-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.proof-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(47, 111, 235, .08);
  border: 1px solid rgba(47, 111, 235, .18);
  padding: 6px 12px;
  border-radius: 999px;
}
.proof-stars {
  color: var(--orange);
  font-size: 15px;
  letter-spacing: 3px;
}
.proof-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.proof-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}
.proof-meta {
  margin: 0;
  display: grid;
  gap: 12px;
}
.proof-meta > div {
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.proof-meta dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.proof-meta dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.proof-quote {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.proof-quote summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.proof-quote summary::-webkit-details-marker { display: none; }
.proof-quote summary::after {
  content: "+";
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}
.proof-quote[open] summary::after { content: "−"; }
.proof-quote summary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.proof-quote blockquote {
  margin: 12px 0 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}
.proof-carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}
.proof-carousel-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .2s ease;
}
.proof-carousel-dots button.active {
  background: var(--text);
  width: 22px;
  border-radius: 5px;
}
.proof-carousel-dots button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .proof-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}
@media (max-width: 720px) {
  .proof-card {
    flex-basis: min(88%, 420px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .proof-track {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Botones v2 — mismo color, más presencia (brillo, relieve, pulsación)
   ========================================================= */
.btn { position: relative; isolation: isolate; overflow: hidden; letter-spacing: .005em; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 50%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%);
  transform: skewX(-20deg) translateX(0);
  transition: transform .75s var(--ease);
}
.btn:hover::after { transform: skewX(-20deg) translateX(420%); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { box-shadow: 0 8px 22px -10px rgba(236,26,120,.6), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-primary:hover { box-shadow: 0 16px 34px -12px rgba(236,26,120,.65), 0 0 0 4px rgba(236,26,120,.14), inset 0 1px 0 rgba(255,255,255,.22); }
.btn-secondary { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-secondary::after { background: linear-gradient(105deg, transparent 0%, rgba(236,26,120,.22) 50%, transparent 100%); }
@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .btn:active { transform: none; }
}

/* =========================================================
   Redes sociales en el pie (todas las páginas)
   ========================================================= */
.footer-social { margin-top: 22px; }
.footer-social-title { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0 0 12px; }
.footer-social-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.footer-grid .footer-social-list a {
  --fs-acc: var(--blue);
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 13px;
  color: var(--text-2);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.footer-grid .footer-social-list a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--fs-acc);
  opacity: 0;
  transition: opacity .3s ease;
}
.footer-grid .footer-social-list a svg { width: 18px; height: 18px; display: block; }
.footer-grid .footer-social-list a:hover,
.footer-grid .footer-social-list a:focus-visible {
  color: #fff;
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 12px 24px -10px var(--fs-shadow, rgba(47,111,235,.6));
}
.footer-grid .footer-social-list a:hover::before,
.footer-grid .footer-social-list a:focus-visible::before { opacity: 1; }
.footer-grid .footer-social-list a.is-ig { --fs-acc: linear-gradient(45deg, #F58529, #DD2A7B 50%, #8134AF); --fs-shadow: rgba(221,42,123,.6); }
.footer-grid .footer-social-list a.is-fb { --fs-acc: #1877F2; --fs-shadow: rgba(24,119,242,.6); }
.footer-grid .footer-social-list a.is-gg { --fs-acc: #fff; --fs-shadow: rgba(66,133,244,.5); }
.footer-grid .footer-social-list a.is-wa { --fs-acc: #25D366; --fs-shadow: rgba(37,211,102,.55); }
.footer-grid .footer-social-list a.is-in { --fs-acc: #0A66C2; --fs-shadow: rgba(10,102,194,.6); }
.footer-grid .footer-social-list a.is-gg svg .g-mono { fill: currentColor; }
.footer-grid .footer-social-list a.is-gg:hover svg .g-mono,
.footer-grid .footer-social-list a.is-gg:focus-visible svg .g-mono { fill: #4285F4; }
@media (prefers-reduced-motion: reduce) {
  .footer-grid .footer-social-list a, .footer-grid .footer-social-list a::before { transition: none; }
  .footer-grid .footer-social-list a:hover { transform: none; }
}
