/* TV-Networld — VibraTV */
:root {
  --bg-primary: #060608;
  --bg-surface: #0e0e14;
  --bg-card: rgba(18, 18, 28, 0.72);
  --bg-glass: rgba(12, 12, 20, 0.55);
  --accent-blue: #4f8cff;
  --accent-purple: #8b5cf6;
  --accent-cyan: #22d3ee;
  --accent-neon: #6366f1;
  --text-primary: #f4f4f8;
  --text-muted: rgba(244, 244, 248, 0.58);
  --text-soft: rgba(244, 244, 248, 0.38);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --header-h: 88px;
  --nav-bar-max: 1180px;
  --nav-radius: 24px;
  --nav-glass-bg: rgba(10, 10, 10, 0.6);
  --nav-glass-bg-scrolled: rgba(10, 10, 10, 0.78);
  --mega-width: 960px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease);
  /* Botones — estilo ejecutivo unificado */
  --btn-radius: 10px;
  --btn-green: #a4de31;
  --btn-green-mid: #3ddc84;
  --btn-primary-bg: linear-gradient(135deg, #a4de31, #3ddc84);
  --btn-primary-text: #060608;
  --btn-ghost-border: rgba(255, 255, 255, 0.14);
  --btn-shadow: 0 4px 16px rgba(164, 222, 49, 0.18);
}

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

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

/* Licosto-style ambient orbs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 600px;
  height: 600px;
  background: var(--accent-blue);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.12;
}

body::after {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  top: -160px;
  left: 30%;
  opacity: 0.08;
}

body.intro-active {
  overflow: hidden;
}

main,
#site-main {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ── Intro Splash ── */
#intro-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#intro-splash.hidden {
  pointer-events: none;
  visibility: hidden;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-skip {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.intro-skip:hover {
  color: var(--text-primary);
  border-color: var(--accent-purple);
}

/* ── Header — floating glass bar (double-line bezel) ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-top: 1rem;
  pointer-events: none;
  overflow: visible;
}

.site-header__shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(var(--nav-bar-max), 96vw);
  margin-inline: auto;
  pointer-events: auto;
  overflow: visible;
}

.nav-bar {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 56px;
  max-height: none;
  overflow: visible;
  padding: 0.65rem 1.15rem 0.65rem 1.25rem;
  background: var(--nav-glass-bg);
  backdrop-filter: blur(40px) saturate(1.65);
  -webkit-backdrop-filter: blur(40px) saturate(1.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--nav-radius);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 18px rgba(255, 255, 255, 0.04);
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.nav-bar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--nav-radius) - 1px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.04);
  pointer-events: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.nav-bar.is-scrolled {
  background: var(--nav-glass-bg-scrolled);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(79, 140, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 0 24px rgba(255, 255, 255, 0.06);
}

.nav-bar.is-scrolled::before {
  border-color: rgba(139, 92, 246, 0.22);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.06),
    inset 0 0 32px rgba(79, 140, 255, 0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 0.5rem;
  line-height: 0;
}

.nav-logo img,
.nav-logo__img {
  height: clamp(48px, 6vw, 72px);
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
}

.nav-item {
  position: static;
}

.nav-item.has-dropdown {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-radius: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.open > .nav-link,
.nav-link.is-active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link svg {
  width: 11px;
  height: 11px;
  opacity: 0.7;
  transition: transform var(--transition);
}

.nav-item.open > .nav-link svg {
  transform: rotate(180deg);
}

/* ── Mega Menu (Planes) ── */
.mega-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  width: min(var(--mega-width), 96vw);
  transform: translateX(-50%) translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 200;
  transition:
    opacity 0.38s var(--ease),
    transform 0.38s var(--ease),
    visibility 0.38s;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__inner {
  padding: 1.75rem 2rem 1.5rem;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(28px) saturate(1.65);
  -webkit-backdrop-filter: blur(28px) saturate(1.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(139, 92, 246, 0.14),
    0 0 40px rgba(79, 140, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.mega-menu__col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mega-menu__badge {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
}

.mega-menu__screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.mega-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.65rem 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.25s var(--ease),
    background 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.mega-chip:hover {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(79, 140, 255, 0.1);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.18);
  transform: translateY(-2px);
}

.mega-chip--featured {
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.08);
}

.mega-chip__icon {
  width: 18px;
  height: 18px;
  color: var(--text-soft);
  transition: color 0.25s var(--ease);
}

.mega-chip:hover .mega-chip__icon {
  color: var(--accent-blue);
}

.mega-chip__num {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.mega-chip__label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.mega-menu__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.mega-menu__cta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  transition: color 0.25s var(--ease);
}

.mega-menu__cta:hover {
  color: var(--accent-purple);
}

.nav-item--mega.open > .nav-link {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.12);
}

/* ── Standard dropdown (Guías) ── */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  min-width: 240px;
  background: rgba(14, 14, 22, 0.96);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.nav-links .has-dropdown .dropdown {
  right: 0;
  left: auto;
}

.nav-item.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  color: var(--text-primary);
  background: rgba(79, 140, 255, 0.08);
}

.dropdown-group-label {
  padding: 0.5rem 1.25rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  text-transform: uppercase;
}

.has-submenu {
  position: relative;
}

.has-submenu > a::after {
  content: "›";
  float: right;
  font-size: 1rem;
  opacity: 0.5;
}

.submenu {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  background: rgba(14, 14, 22, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-links .has-submenu .submenu {
  left: auto;
  right: 100%;
  transform: translateX(8px);
}

.nav-links .has-submenu:hover > .submenu {
  transform: translateX(0);
}

.nav-toggle {
  display: none;
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--nav-glass-bg);
  backdrop-filter: blur(40px) saturate(1.65);
  -webkit-backdrop-filter: blur(40px) saturate(1.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 12px rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.nav-toggle::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.nav-toggle:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(139, 92, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-open .icon-menu {
  display: none;
}

.nav-toggle.is-open .icon-close {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════════════
   BOTTOM TAB BAR — Solo móvil, estilo app nativa
   ══════════════════════════════════════════════════════════════════════════ */
.bottom-tab-bar {
  display: none;
}
@media (max-width: 768px) {
  .bottom-tab-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(8, 8, 12, 0.88);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 -8px 40px rgba(0,0,0,.5);
  }

  /* Dar espacio al contenido para que no quede tapado */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  /* Ocultar hamburger y header nav links en móvil */
  .nav-toggle { display: none !important; }
  .nav-links   { display: none !important; }

  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    padding: .5rem 0;
    color: #475569;
    text-decoration: none;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: color .2s;
    position: relative;
  }
  .tab-item svg {
    width: 22px; height: 22px;
    transition: transform .2s;
  }
  .tab-item:active svg { transform: scale(.88); }
  .tab-item--active,
  .tab-item:hover { color: #a4de31; }
  .tab-item--active svg,
  .tab-item:hover svg { stroke: #a4de31; }

  /* Punto activo debajo del icono */
  .tab-item--active::before {
    content: '';
    position: absolute;
    top: 6px;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: #a4de31;
    box-shadow: 0 0 8px #a4de31;
  }

  /* Botón central — Android flotante */
  .tab-item--center { margin-top: -20px; }
  .tab-center-btn {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: var(--btn-primary-bg);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--btn-shadow);
    transition: transform .2s, box-shadow .2s;
  }
  .tab-item--center svg {
    width: 22px; height: 22px;
    stroke: none;
    fill: #060608;
  }
  .tab-item--center:active .tab-center-btn {
    transform: scale(.92);
    box-shadow: 0 2px 10px rgba(164,222,49,.3);
  }
  .tab-item--center span { color: #a4de31; }

  /* Ocultar drawer en móvil (no necesario con bottom bar) */
  .nav-drawer, .nav-drawer-overlay { display: none !important; }
}

/* ── Drawer móvil ─────────────────────────────────────────────────────── */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-drawer-overlay.open {
  display: block;
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  background: #0a0a0f;
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -20px 0 80px rgba(0,0,0,.8);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding: 1.5rem;
  overflow-y: auto;
}
.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-drawer__logo {
  height: 32px;
  width: auto;
}
.nav-drawer__close {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #94a3b8;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.nav-drawer__close:hover { background: rgba(255,255,255,.12); color: #fff; }

.nav-drawer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  flex: 1;
}
.nav-drawer__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.nav-drawer__link:hover {
  background: rgba(164,222,49,.08);
  color: #a4de31;
  transform: translateX(4px);
}
.nav-drawer__num {
  font-size: .65rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: .06em;
  min-width: 20px;
  transition: color .2s;
}
.nav-drawer__link:hover .nav-drawer__num { color: #a4de31; }

.nav-drawer__cta {
  display: block;
  margin-top: 1.5rem;
  padding: .9rem 1rem;
  text-align: center;
  background: var(--btn-primary-bg);
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  letter-spacing: .02em;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  box-shadow: var(--btn-shadow);
}
.nav-drawer__cta:hover {
  background: transparent;
  border-color: var(--btn-green);
  color: var(--btn-green);
  transform: translateY(-1px);
}

/* Ocultar panel viejo en móvil */
.nav-mobile-panel { display: none !important; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  z-index: 1;
  background: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/*
 * Apple-style fade: la imagen lleva la máscara
 * Sólida hasta la mitad → desvanece muy suavemente → transparente al final
 * Un solo gradiente, sin capas intermedias que choquen
 */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  mask-image: linear-gradient(
    to bottom,
    black       0%,
    black       40%,
    black       55%,
    rgba(0,0,0,0.7) 68%,
    rgba(0,0,0,0.3) 82%,
    rgba(0,0,0,0.05) 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    black       0%,
    black       40%,
    black       55%,
    rgba(0,0,0,0.7) 68%,
    rgba(0,0,0,0.3) 82%,
    rgba(0,0,0,0.05) 94%,
    transparent 100%
  );
}

/* Oscurecido izquierdo para legibilidad del texto; no toca el fade inferior */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(6, 6, 8, 0.82) 0%,
      rgba(6, 6, 8, 0.45) 45%,
      transparent 70%
    ),
    linear-gradient(
      to bottom,
      rgba(6, 6, 8, 0.55) 0%,
      transparent 28%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
}

/* ── Sections ── */
.section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-primary);
}

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

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(164, 222, 49, 0.12);
  border: 1px solid rgba(164, 222, 49, 0.4);
  color: #a4de31;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO COMPARTIDO — index.html + descargas.html
   ══════════════════════════════════════════════════════════════════════════ */
.dl-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h, 80px);
  overflow: hidden;
  background: #060608;
}
.dl-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.dl-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 50%, rgba(0,0,0,0) 100%);
}
.dl-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,6,8,.75) 0%, rgba(6,6,8,.3) 50%, transparent 100%);
}
.dl-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0 4rem;
}
.dl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  background: rgba(61,220,132,.12);
  border: 1px solid rgba(61,220,132,.35);
  border-radius: 999px;
  color: #3ddc84;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.dl-hero__badge svg { width: 14px; height: 14px; }
.dl-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}
.dl-hero__title span {
  background: linear-gradient(90deg, #a4de31 0%, #3ddc84 60%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dl-hero__title-logo {
  height: clamp(48px, 7vw, 80px);
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin: .3rem 0;
  filter: drop-shadow(0 0 18px rgba(139,92,246,.4));
}
.dl-hero__desc {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.dl-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.dl-btn-main {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.5rem;
  background: var(--btn-primary-bg);
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s;
  box-shadow: var(--btn-shadow);
}
.dl-btn-main:hover {
  background: transparent;
  border-color: var(--btn-green);
  color: var(--btn-green);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(164, 222, 49, 0.12);
}
.dl-btn-main:hover svg { stroke: var(--btn-green); }
.dl-btn-main svg   { width: 22px; height: 22px; flex-shrink: 0; stroke: var(--btn-primary-text); transition: stroke .25s; }
.dl-btn-main span  { display: flex; flex-direction: column; line-height: 1.2; }
.dl-btn-main small { font-size: .68rem; font-weight: 500; opacity: .75; }
.dl-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.35rem;
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--btn-radius);
  color: #94a3b8;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.dl-btn-ghost:hover {
  background: transparent;
  border-color: var(--btn-green);
  color: var(--btn-green);
  transform: translateY(-1px);
}
.dl-btn-ghost svg  { width: 20px; height: 20px; transition: fill .25s, stroke .25s; }
.dl-btn-ghost:hover svg { fill: var(--btn-green); stroke: var(--btn-green); }
.dl-divider {
  border: none;
  height: 1px;
  margin: 1.5rem 0;
  background: linear-gradient(90deg, rgba(164,222,49,.55) 0%, rgba(61,220,132,.35) 40%, transparent 100%);
}
.dl-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.dl-meta__item  { display: flex; flex-direction: column; gap: .2rem; }
.dl-meta__label { font-size: .7rem; color: #4b5563; text-transform: uppercase; letter-spacing: .08em; }
.dl-meta__val   { font-size: .88rem; color: #cbd5e1; font-weight: 600; }
.dl-hero__mockup { display: flex; justify-content: center; align-items: center; }
.dl-phone {
  position: relative;
  width: clamp(200px, 22vw, 260px);
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%     { transform: translateY(-18px) rotate(2deg); }
}
.dl-phone::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 60px;
  background: radial-gradient(ellipse, rgba(61,220,132,.3), transparent 70%);
  filter: blur(20px);
}
.dl-phone__frame {
  width: 100%;
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 40px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
}
.dl-phone__logo { width: 70%; max-width: 150px; }
.dl-phone__screen-text { text-align: center; }
.dl-phone__screen-text p { font-size: .7rem; color: #64748b; line-height: 1.5; }
.dl-phone__channels { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; width: 100%; }
.dl-phone__ch {
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: rgba(139,92,246,.25);
  border: 1px solid rgba(139,92,246,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; color: #a78bfa; font-weight: 700;
}
/* ── Features strip ───────────────────────────────────────────────────── */
.dl-features {
  padding: 4rem 0;
  background: #08080b;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dl-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.dl-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.5rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  transition: border-color .25s, transform .25s;
}
.dl-feature:hover { border-color: rgba(139,92,246,.35); transform: translateY(-4px); }
.dl-feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.dl-feature h3 { color: #fff; font-size: .95rem; font-weight: 700; }
.dl-feature p  { color: #64748b; font-size: .82rem; line-height: 1.6; margin: 0; }

/* ── Requirements / Instalación ──────────────────────────────────────── */
.dl-requirements { padding: 4rem 0; }
.dl-req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.dl-req-card {
  padding: 1.75rem;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
}
.dl-req-card h3 {
  display: flex; align-items: center; gap: .6rem;
  color: #fff; font-size: 1rem; font-weight: 700;
  margin-bottom: 1rem;
}
.dl-req-card h3 span { font-size: 1.3rem; }
.dl-req-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: .55rem;
}
.dl-req-card ul li {
  display: flex; align-items: center; gap: .5rem;
  color: #94a3b8; font-size: .85rem;
}
.dl-req-card ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .dl-hero__inner   { grid-template-columns: 1fr; text-align: center; padding: 3rem 0; }
  .dl-hero__desc    { max-width: 100%; }
  .dl-buttons, .dl-meta { justify-content: center; }
  .dl-hero__mockup  { order: -1; }
  .dl-phone         { width: 180px; }
  .dl-features__grid { grid-template-columns: 1fr 1fr; }
  .dl-req-grid       { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dl-features__grid { grid-template-columns: 1fr; }
}

/* ── Hero Split layout ────────────────────────────────────────────────── */
.hero--split .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 6rem 0 5rem;
  min-height: 100vh;
}

.hero-left { display: flex; flex-direction: column; align-items: flex-start; }

/* Logo en lugar del texto de marca */
.hero-logo-img {
  height: clamp(44px, 6vw, 68px);
  width: auto;
  margin: 1rem 0 1.25rem;
  filter: drop-shadow(0 0 20px rgba(164,222,49,.3));
}

/* Título hero estilo descargas */
.hero-dl-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-dl-title__logo {
  height: clamp(48px, 7vw, 80px);
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin: .3rem 0;
  filter: drop-shadow(0 0 18px rgba(139,92,246,.4));
}
.hero-dl-title span {
  background: linear-gradient(90deg, #a4de31 0%, #3ddc84 60%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Legacy */
.hero-h1-accent {
  background: linear-gradient(90deg, #a4de31, #3ddc84);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Meta datos bajo los botones */
.hero-meta {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-meta__item { display: flex; flex-direction: column; gap: .2rem; }
.hero-meta__label { font-size: .65rem; color: #4b5563; text-transform: uppercase; letter-spacing: .1em; }
.hero-meta__val   { font-size: .95rem; color: #e2e8f0; font-weight: 700; }

/* Phone mockup — derecha */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-phone {
  position: relative;
  width: clamp(200px, 22vw, 280px);
  animation: phone-float 5s ease-in-out infinite;
}
@keyframes phone-float {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-18px) rotate(2deg); }
}
.hero-phone::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 60px;
  background: radial-gradient(ellipse, rgba(164,222,49,.25), transparent 70%);
  filter: blur(18px);
}
.hero-phone__frame {
  background: linear-gradient(145deg, #12121e, #1a1a2e);
  border-radius: 40px;
  border: 2px solid rgba(255,255,255,.1);
  box-shadow: 0 0 0 6px rgba(255,255,255,.03), 0 40px 80px rgba(0,0,0,.6),
              inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  aspect-ratio: 9/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
}
.hero-phone__logo {
  width: 72%;
  max-width: 150px;
}
.hero-phone__channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  width: 100%;
}
.hero-phone__ch {
  aspect-ratio: 16/9;
  border-radius: 6px;
  background: rgba(139,92,246,.2);
  border: 1px solid rgba(139,92,246,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  color: #a78bfa;
  font-weight: 700;
}
.hero-phone__caption {
  font-size: .65rem;
  color: #4b5563;
  text-align: center;
  line-height: 1.5;
}

/* Responsive hero split */
@media (max-width: 900px) {
  .hero--split .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 6rem 0 3rem;
  }
  .hero-left { align-items: center; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-right { order: -1; }
  .hero-phone { width: 160px; }
}

/* Legacy hero-brand kept for any other usage */
.hero-brand { display: none; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: .85rem 1.5rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: var(--btn-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s;
  box-shadow: var(--btn-shadow);
}

.hero-cta:hover {
  background: transparent;
  border-color: var(--btn-green);
  color: var(--btn-green);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(164, 222, 49, 0.12);
}

/* Hero actions row */
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Android APK download button */
.hero-apk-btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--btn-radius);
  color: #94a3b8;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  white-space: nowrap;
}
.hero-apk-btn:hover {
  background: transparent;
  border-color: var(--btn-green);
  color: var(--btn-green);
  transform: translateY(-1px);
  box-shadow: none;
}
.hero-apk-btn svg {
  flex-shrink: 0;
  color: var(--btn-green-mid);
  transition: color .25s;
}
.hero-apk-btn:hover svg { color: var(--btn-green); }
.hero-apk-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hero-apk-btn small {
  font-size: .68rem;
  font-weight: 400;
  opacity: .65;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a4de31;
  margin-bottom: 0.75rem;
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.section-desc {
  color: var(--text-muted);
  max-width: 700px;
  font-size: 1.05rem;
  margin-bottom: 3rem;
  text-align: center;
  margin-inline: auto;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding-bottom: 1rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: float 5s ease-in-out infinite;
  will-change: transform;
}

/* Cada tarjeta empieza en un punto distinto del ciclo */
.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: -1.25s; }
.feature-card:nth-child(3) { animation-delay: -2.5s; }
.feature-card:nth-child(4) { animation-delay: -3.75s; }

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 24px rgba(139, 92, 246, 0.12);
  animation-play-state: paused;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Pricing Slideshow (Coverflow) ── */
.pricing-section {
  overflow: visible;
}

.pricing-section .container {
  overflow: visible;
}

.section-desc--center {
  margin-inline: auto;
  text-align: center;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.4rem;
  margin: 0 auto 2.5rem;
  max-width: fit-content;
  background: rgba(14, 14, 22, 0.52);
  backdrop-filter: blur(20px) saturate(1.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.55);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.pricing-tab {
  padding: 0.65rem 1.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition:
    color 0.35s var(--ease),
    background 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

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

.pricing-tab.is-active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.22), rgba(139, 92, 246, 0.28));
  box-shadow:
    0 0 24px rgba(139, 92, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pricing-carousel {
  position: relative;
  overflow: visible;
  padding: 3rem 3.5rem 4.5rem;
  min-height: 460px;
}

.pricing-swiper {
  width: 100%;
  padding: 2.5rem 0;
  overflow: visible !important;
}

.pricing-swiper.swiper {
  overflow: visible !important;
}

.pricing-swiper .swiper-wrapper {
  align-items: center;
  padding-block: 2rem;
  overflow: visible;
}

.pricing-swiper .swiper-slide {
  width: min(300px, 78vw);
  height: auto;
  padding-block: 1.25rem;
  box-sizing: content-box;
  opacity: 0.45;
  transition: opacity 0.45s var(--ease);
}

.pricing-swiper .swiper-slide-active {
  opacity: 1;
}

.pricing-swiper .swiper-slide-prev,
.pricing-swiper .swiper-slide-next {
  opacity: 0.55;
}

.pricing-slide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  min-height: 380px;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  transform: scale(0.9);
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.swiper-slide-active .pricing-slide-card {
  transform: scale(1.05);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow:
    0 0 50px rgba(139, 92, 246, 0.35),
    0 0 100px rgba(79, 140, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.45);
  transform-origin: center center;
}

.pricing-slide-card--featured {
  border-color: rgba(139, 92, 246, 0.25);
}

.pricing-slide-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
}

.pricing-slide-screens {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing-slide-screens svg {
  width: 20px;
  height: 20px;
  color: var(--accent-blue);
}

.swiper-slide-active .pricing-slide-screens {
  color: var(--text-primary);
}

.pricing-slide-price {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-slide-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pricing-slide-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-slide-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-slide-features li::before {
  content: "✓";
  color: var(--accent-blue);
  font-weight: 700;
}

.btn-buy-neon {
  display: block;
  text-align: center;
  padding: .85rem 1.25rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--btn-ghost-border);
  border-radius: var(--btn-radius);
  transition: background .25s, border-color .25s, color .25s, transform .25s, box-shadow .25s;
}

.btn-buy-neon:hover {
  transform: translateY(-1px);
  border-color: var(--btn-green);
  color: var(--btn-green);
  background: transparent;
  box-shadow: 0 0 16px rgba(164, 222, 49, 0.1);
}

.swiper-slide-active .btn-buy-neon {
  border-color: rgba(164, 222, 49, 0.35);
  color: var(--btn-green);
  background: rgba(164, 222, 49, 0.06);
}

.pricing-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 14, 22, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}

.pricing-nav:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.3);
}

.pricing-nav.swiper-button-disabled,
.pricing-nav:disabled {
  opacity: 0.28;
  pointer-events: none;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  color: #475569;
}

.pricing-nav svg {
  width: 22px;
  height: 22px;
}

.pricing-nav-prev {
  left: 0;
}

.pricing-nav-next {
  right: 0;
}

.pricing-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.pricing-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.pricing-bullet--active {
  background: var(--accent-purple);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .pricing-carousel {
    padding: 2.5rem 2.25rem 3.5rem;
    min-height: 420px;
  }

  .pricing-swiper .swiper-wrapper {
    padding-block: 1.5rem;
  }

  .pricing-nav {
    width: 40px;
    height: 40px;
  }

  .pricing-nav-prev {
    left: -0.25rem;
  }

  .pricing-nav-next {
    right: -0.25rem;
  }

  .pricing-slide-card {
    min-height: 340px;
    padding: 1.5rem 1.25rem;
  }

  .pricing-tab {
    padding: 0.55rem 0.9rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 480px) {
  .pricing-tabs {
    width: 100%;
    max-width: none;
    border-radius: 20px;
  }

  .pricing-tab {
    flex: 1 1 45%;
    text-align: center;
  }
}

/* Legacy btn-buy (plan pages) */
.btn-buy {
  display: block;
  text-align: center;
  padding: .85rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--btn-ghost-border);
  color: #cbd5e1;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--btn-radius);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}

.btn-buy:hover {
  background: transparent;
  color: var(--btn-green);
  border-color: var(--btn-green);
  transform: translateY(-1px);
}

/* ── Guides preview ── */
/* ── Guides marquee ── */
.guides-section {
  overflow: hidden;
  padding-bottom: 4rem;
}

@keyframes marquee-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.guides-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 1.5rem;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.guides-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.guides-track--fwd {
  animation: marquee-fwd 28s linear infinite;
}

.guides-track--rev {
  animation: marquee-rev 22s linear infinite;
}

.guides-marquee:hover .guides-track {
  animation-play-state: paused;
}

.guide-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.25s, border-color 0.25s, box-shadow 0.25s;
  cursor: pointer;
  flex-shrink: 0;
}

.guide-chip span { font-size: 1.1rem; }

.guide-chip:hover {
  color: var(--text-primary);
  border-color: var(--accent-blue);
  box-shadow: 0 0 18px rgba(79, 140, 255, 0.2);
}

/* ── Contact ── */
.contact-section {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(79, 140, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.06), transparent 55%),
    linear-gradient(180deg, transparent 0%, rgba(6, 6, 8, 0.4) 100%);
}

.contact-section::after {
  height: 100px;
}

.contact-grid {
  display: block;
  max-width: 680px;
  margin-inline: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.contact-email a {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.contact-email a:hover {
  color: var(--accent-purple);
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  transition: var(--transition);
}

.social-links a:hover {
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.25);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
  overflow: visible;
  position: relative;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: .9rem 1.5rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s;
  box-shadow: var(--btn-shadow);
}

.btn-submit:hover {
  background: transparent;
  border-color: var(--btn-green);
  color: var(--btn-green);
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(164, 222, 49, 0.12);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Choices.js dark theme ── */
.choices {
  width: 100%;
  font-size: 0.95rem;
  margin-bottom: 0 !important;
  position: relative;
  z-index: 1;
}

.choices.is-open {
  z-index: 10050;
}

.choices.is-open.is-flipped {
  z-index: 10050;
}

.choices__inner {
  background: var(--bg-card) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 10px !important;
  /* Mismo padding exacto que los <input> del formulario */
  padding: 0.85rem 1rem !important;
  color: var(--text-primary) !important;
  min-height: unset !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.choices__inner:focus-within,
.choices.is-open .choices__inner {
  border-color: var(--btn-green) !important;
  box-shadow: 0 0 0 3px rgba(164, 222, 49, 0.15) !important;
}

.choices__list--single {
  padding: 0 !important;
  margin: 0 !important;
}

.choices__list--single .choices__item {
  color: var(--text-primary) !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.choices__placeholder {
  color: var(--text-muted) !important;
  opacity: 1 !important;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  background: #1a1a2e !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 12px !important;
  margin-top: 4px !important;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: min(50vh, 320px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6) !important;
  z-index: 10050 !important;
}

.choices__list--dropdown.choices__list--fixed,
.choices__list[aria-expanded].choices__list--fixed {
  margin-top: 0 !important;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
  color: var(--text-primary) !important;
  padding: 0.6rem 1rem !important;
  font-size: 0.875rem !important;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: rgba(164, 222, 49, 0.15) !important;
  color: #fff !important;
}

.choices__group .choices__heading {
  color: var(--accent-blue) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.6rem 1rem 0.3rem !important;
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  background: transparent !important;
}

.choices__input {
  background: transparent !important;
  color: var(--text-primary) !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 0 !important;
  padding: 0.6rem 1rem !important;
  font-size: 0.875rem !important;
  width: 100% !important;
  box-sizing: border-box;
}

.choices__input::placeholder {
  color: var(--text-muted) !important;
}

.choices__input:focus {
  outline: none !important;
  border-bottom-color: var(--accent-blue) !important;
}

.choices[data-type*=select-one]::after {
  border-color: var(--text-muted) transparent transparent transparent !important;
  right: 1rem !important;
}

.choices[data-type*=select-one].is-open::after {
  border-color: transparent transparent var(--btn-green) transparent !important;
}

/* ── CRM Form feedback messages ── */
.crm-form__msg {
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeInUp 0.3s ease;
}

.crm-form__msg--success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

.crm-form__msg--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* Select de país — nativo del sistema operativo */
.contact-form select[name="country"],
.contact-form select.country-select--native,
.contact-form select[data-country-select] {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* SweetAlert2 — tema VibraNet */
.vibratv-swal {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55) !important;
  padding: 1.75rem 1.5rem 1.5rem !important;
}

.vibratv-swal__title {
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  color: #fff !important;
}

.vibratv-swal__text {
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: #94a3b8 !important;
}

.vibratv-swal__btn {
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  border-radius: 10px !important;
  padding: 0.75rem 1.75rem !important;
  color: #060608 !important;
  box-shadow: 0 0 18px rgba(164, 222, 49, 0.25) !important;
}

.vibratv-swal__btn:hover {
  filter: brightness(1.05);
}

.vibratv-swal-show {
  animation: vibratvSwalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.vibratv-swal-hide {
  animation: vibratvSwalOut 0.2s ease-in forwards !important;
}

@keyframes vibratvSwalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes vibratvSwalOut {
  to {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
}

/* ── Footer ── */
/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: #08080b;
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 4rem 0 0;
  overflow: hidden;
}

/* Ambient glow top-center */
.site-footer::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(139,92,246,.12) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Col 1 — Brand */
.footer-brand {}
.footer-logo {
  height: clamp(36px, 5vw, 48px);
  width: auto;
  display: block;
  margin-bottom: 1rem;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  gap: .7rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text-muted);
  transition: all .2s;
}
.footer-social a:hover {
  border-color: var(--accent-purple);
  color: #fff;
  background: rgba(139,92,246,.15);
  transform: translateY(-2px);
}
.footer-social svg { width: 16px; height: 16px; }

/* Cols 2-3 — Nav columns */
.footer-col h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-col ul a {
  color: var(--text-muted);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: #fff; }

/* Col 4 — App download */
.footer-app {}
.footer-app h4 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-app-desc {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.25rem;
  background: var(--btn-primary-bg);
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  color: var(--btn-primary-text);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .25s;
  box-shadow: var(--btn-shadow);
}
.footer-app-badge:hover,
.footer-app-badge:focus-visible {
  background: transparent;
  border-color: #a4de31;
  color: #a4de31;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(164,222,49,.15);
}
.footer-app-badge:hover svg,
.footer-app-badge:focus-visible svg {
  stroke: #a4de31;
}
.footer-app-badge:hover small,
.footer-app-badge:focus-visible small {
  color: #a4de31;
  opacity: 1;
}
.footer-app-badge svg { width: 20px !important; height: 20px !important; flex-shrink: 0; stroke: #060608; transition: stroke .25s; }
.footer-app-badge span { display: flex; flex-direction: column; line-height: 1.2; }
.footer-app-badge small { font-size: .7rem; font-weight: 400; opacity: .7; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}
.footer-copy {
  color: #4b5563;
  font-size: .8rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  color: #4b5563;
  font-size: .8rem;
  transition: color .2s;
}
.footer-legal a:hover { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════════════════
   COMPAT GRID — componente reutilizable (descargas + footer)
   ══════════════════════════════════════════════════════════════════════════ */
.compat-section {
  background: #08080b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.compat-block {
  text-align: center;
}

.compat-block__title {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.compat-block__desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

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

  .compat-block--full .compat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.compat-card {
  padding: 1.15rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--btn-radius);
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
}

.compat-card:hover {
  border-color: rgba(164, 222, 49, 0.35);
  transform: translateY(-2px);
}

.compat-card__icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.compat-card__name {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.compat-card__ver {
  color: #64748b;
  font-size: 0.72rem;
}

/* Variante compacta — footer */
.compat-block--sm .compat-block__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.compat-block--sm .compat-block__desc {
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  max-width: 280px;
}

/* Footer compat — desktop: listado vertical (como columna Servicio) */
.footer-compat .compat-block--sm {
  text-align: left;
}

.footer-compat .compat-block--sm .section-label {
  text-align: left;
  margin-bottom: 0.75rem;
}

.footer-compat .compat-block--sm .compat-block__title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-compat .compat-block--sm .compat-block__desc {
  font-size: 0.78rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  max-width: none;
  text-align: left;
}

.footer-compat .compat-block--sm .compat-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-width: 100%;
}

.footer-compat .compat-block--sm .compat-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  text-align: left;
}

.footer-compat .compat-block--sm .compat-card:hover {
  transform: none;
  border-color: transparent;
}

.footer-compat .compat-block--sm .compat-card:hover .compat-card__name {
  color: #fff;
}

.footer-compat .compat-block--sm .compat-card__icon {
  flex-shrink: 0;
  width: 1.35rem;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 0;
  text-align: center;
}

.footer-compat .compat-block--sm .compat-card__name {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 0;
  transition: color 0.2s;
}

.footer-compat .compat-block--sm .compat-card__ver {
  display: none;
}

/* Variante compacta — móvil footer: grid de tarjetas */
.compat-block--sm .compat-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  max-width: 100%;
}

.compat-block--sm .compat-card {
  padding: 0.65rem 0.4rem;
}

.compat-block--sm .compat-card__icon {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.compat-block--sm .compat-card__name {
  font-size: 0.68rem;
}

.compat-block--sm .compat-card__ver {
  font-size: 0.6rem;
}

/* Desktop footer: último ítem alineado como el resto del listado */
@media (min-width: 769px) {
  .footer-compat .compat-block--sm .compat-card:last-child {
    max-width: none;
    margin-inline: 0;
    width: 100%;
    grid-column: auto;
    align-self: stretch;
  }
}

.footer-compat {
  grid-column: span 1;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-compat { grid-column: 1 / -1; max-width: 420px; margin-inline: auto; }
  .footer-app   { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 0.5rem;
    text-align: center;
  }

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

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    padding-bottom: 1.5rem;
  }

  /* ── Marca ── */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .footer-logo {
    height: 38px;
    margin-inline: auto;
    margin-bottom: .75rem;
  }
  .footer-tagline {
    max-width: 300px;
    font-size: .82rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    margin-inline: auto;
  }
  .footer-social {
    justify-content: center;
    gap: .6rem;
  }
  .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  /* ── Columnas — siempre centradas ── */
  .footer-grid > .footer-col,
  .footer-col--links,
  .footer-compat {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    text-align: center;
  }

  .footer-grid > .footer-col h4,
  .footer-col--links h4 {
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #64748b;
    text-align: center;
    margin-bottom: .75rem;
  }

  /* Servicio — grid 2×2 centrado */
  .footer-grid > .footer-col:nth-child(2) ul,
  .footer-col--links ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 340px;
  }
  .footer-grid > .footer-col:nth-child(2) ul a,
  .footer-col--links ul a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem .4rem;
    min-height: 44px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: var(--btn-radius);
    font-size: .72rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.25;
    transition: background .2s, border-color .2s, color .2s;
  }
  .footer-grid > .footer-col:nth-child(2) ul a:hover,
  .footer-col--links ul a:hover {
    background: transparent;
    border-color: var(--btn-green);
    color: var(--btn-green);
  }

  /* Compat footer — móvil: tarjetas en grid 2×2 */
  .footer-compat .compat-block--sm {
    text-align: center;
  }

  .footer-compat .compat-block--sm .section-label,
  .footer-compat .compat-block--sm .compat-block__desc {
    text-align: center;
  }

  .footer-compat .compat-block--sm .compat-block__title {
    font-size: 1rem;
    margin-bottom: 0.35rem;
  }

  .footer-compat .compat-block--sm .compat-block__desc {
    font-size: 0.75rem;
    max-width: 280px;
    margin-inline: auto;
  }

  .footer-compat .compat-block--sm .compat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
  }

  .footer-compat .compat-block--sm .compat-card {
    flex-direction: column;
    align-items: center;
    padding: 0.65rem 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--btn-radius);
    text-align: center;
  }

  .footer-compat .compat-block--sm .compat-card:hover {
    border-color: rgba(164, 222, 49, 0.35);
    transform: translateY(-2px);
  }

  .footer-compat .compat-block--sm .compat-card__icon {
    width: auto;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .footer-compat .compat-block--sm .compat-card__name {
    font-size: 0.68rem;
    font-weight: 600;
    color: #fff;
  }

  .footer-compat .compat-block--sm .compat-card__ver {
    display: block;
    font-size: 0.6rem;
  }

  .footer-compat .compat-block--sm .compat-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
  }

  .footer-compat .compat-block {
    text-align: center;
  }

  .footer-compat .section-label {
    text-align: center;
  }

  /* Reset lista vertical del desktop */
  .footer-grid > .footer-col ul {
    flex-direction: row;
  }

  /* ── App — solo botón, sin caja pesada ── */
  .footer-app {
    width: 100%;
    text-align: center;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
  }
  .footer-app h4,
  .footer-app-desc {
    display: none;
  }
  .footer-app-badge {
    display: flex;
    width: 100%;
    max-width: none;
    justify-content: center;
    align-items: center;
    gap: .65rem;
    padding: .9rem 1.25rem;
    border-radius: var(--btn-radius);
  }
  .footer-app-badge:hover,
  .footer-app-badge:focus-visible,
  .footer-app-badge:active {
    background: transparent;
    border-color: #a4de31;
    color: #a4de31;
    box-shadow: 0 0 18px rgba(164,222,49,.12);
    transform: none;
  }
  .footer-app-badge svg { stroke: #060608; transition: stroke .25s; }
  .footer-app-badge:hover svg,
  .footer-app-badge:focus-visible svg,
  .footer-app-badge:active svg { stroke: #a4de31; }
  .footer-app-badge:hover small,
  .footer-app-badge:focus-visible small,
  .footer-app-badge:active small { color: #a4de31; opacity: 1; }

  /* ── Barra inferior minimal ── */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: .5rem;
    padding: 1rem 0 .25rem;
    border-top: 1px solid rgba(255,255,255,.05);
  }
  .footer-copy {
    font-size: .68rem;
    line-height: 1.5;
    color: #374151;
  }
  .footer-legal {
    justify-content: center;
    gap: 1rem;
  }
  .footer-legal a {
    font-size: .72rem;
    color: #4b5563;
  }
}

/* Legacy selectors (kept for partials) */
.footer-links { display: none; }
.footer-inner { max-width: var(--container-width); margin-inline: auto; padding-inline: var(--container-pad); }

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* ── Mobile nav ── */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-toggle { display: none !important; }
  .mega-menu  { display: none; }

  /* Header móvil — glass sin bordes, se esconde al scroll */
  .site-header {
    padding-top: env(safe-area-inset-top, 0);
    padding-bottom: 0.5rem;
    background: rgba(6, 6, 8, 0.62);
    backdrop-filter: blur(24px) saturate(1.7);
    -webkit-backdrop-filter: blur(24px) saturate(1.7);
    transition: transform 0.35s var(--ease), background 0.35s var(--ease);
  }

  .site-header.is-scrolled-mobile {
    background: rgba(6, 6, 8, 0.82);
  }

  .site-header.is-hidden {
    transform: translateY(-100%);
  }

  .site-header__shell {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    justify-content: center;
  }

  .nav-bar {
    flex: 0 1 auto;
    justify-content: center;
    width: 100%;
    min-height: auto;
    padding: 0.35rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-bar::before,
  .nav-bar.is-scrolled::before {
    display: none;
  }

  .nav-bar.is-scrolled {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .nav-logo {
    margin: 0 auto;
    padding-right: 0;
  }

  .nav-logo img,
  .nav-logo__img {
    height: 44px;
    max-width: 180px;
  }

  .mobile-mega-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .mobile-mega-col {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 0.75rem;
  }

  .mobile-mega-col .mega-menu__col-title {
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    font-size: 0.6rem;
  }

  .mobile-mega-col .mega-menu__screens {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .mobile-mega-col .mega-chip {
    padding: 0.45rem 0.2rem;
  }

  .mobile-mega-col .mega-chip__num {
    font-size: 0.95rem;
  }

  .mobile-mega-col .mega-chip__label {
    font-size: 0.5rem;
  }

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

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

  /* ── Móvil: contenido siempre visible, sin overflow horizontal ── */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 1.25rem;
  }

  .dl-hero {
    min-height: auto;
    padding-top: calc(var(--header-h, 80px) + 0.5rem);
  }

  .dl-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: 2rem 0 2.5rem;
    width: 100%;
  }

  .dl-hero__text,
  .dl-hero__desc,
  .dl-buttons,
  .dl-meta {
    width: 100%;
    max-width: 100%;
  }

  .dl-hero__title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    overflow-wrap: anywhere;
  }

  .dl-hero__title-logo {
    max-width: min(220px, 72vw);
    height: auto;
  }

  /* Pricing móvil — coverflow visible, sin romper animaciones */
  .pricing-section {
    overflow-x: clip;
  }

  .pricing-section .container,
  .pricing-carousel {
    overflow: visible;
  }

  .pricing-carousel {
    padding: 2rem 1.5rem 3rem;
    min-height: 420px;
  }

  .pricing-swiper .swiper-slide {
    width: min(280px, 82vw);
  }

  /* Descargas — contenido centrado */
  .dl-features .container,
  .dl-requirements .container {
    text-align: center;
  }

  .dl-requirements .section-label,
  .dl-requirements .section-title,
  .dl-requirements .section-desc {
    text-align: center;
    margin-inline: auto;
  }

  .dl-feature {
    align-items: center;
    text-align: center;
  }

  .dl-req-card {
    text-align: center;
  }

  .dl-req-card h3 {
    justify-content: center;
  }

  .dl-req-card ul li {
    justify-content: center;
  }

  /* Index — tarjetas de servicios centradas */
  #servicios .section-label,
  #servicios .section-title,
  #servicios .section-desc {
    text-align: center;
    margin-inline: auto;
  }

  .features-grid {
    justify-items: center;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .mega-menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-menu {
    width: min(640px, 96vw);
  }
}

@media (max-width: 480px) {
  .site-header__shell {
    width: 94vw;
  }

  .nav-logo img,
  .nav-logo__img {
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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

  .guides-track {
    animation: none !important;
  }
}
