/* ==========================================================================
   R&L Services — Estilos Globales (global.css)
   Paleta oficial: #080410 | #13131D | #9D4EDD | #B5179E | #00F5D4 | #44D62C
   Calibrado para móviles (360px+) hasta monitores 2K (2560x1440 @ 100%/133%)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Colores Base */
  --bg-deep: #080410;
  --bg-elevated: #0E081B;
  --surface: #13131D;
  --surface-hover: #1A1A29;
  --surface-glass: rgba(19, 19, 29, 0.78);
  --surface-modal: rgba(15, 13, 28, 0.92);

  /* Acentos Oficiales */
  --neon-purple: #9D4EDD;
  --neon-magenta: #B5179E;
  --neon-cyan: #00F5D4;
  --razer-green: #44D62C;

  /* Degradados */
  --grad-brand: linear-gradient(90deg, #9D4EDD 0%, #B5179E 32%, #00F5D4 100%);
  --grad-cta: linear-gradient(90deg, #B5179E 0%, #9D4EDD 45%, #00F5D4 100%);
  --grad-pill: linear-gradient(90deg, #00F5D4 0%, #7B61FF 52%, #B5179E 100%);
  --grad-frame: linear-gradient(135deg, #B5179E 0%, #9D4EDD 48%, #00F5D4 100%);
  --grad-razer: linear-gradient(90deg, #00F5D4 0%, #44D62C 100%);

  /* Texto */
  --text-primary: #F8F9FA;
  --text-secondary: #B8B5CC;
  --text-muted: #7C7894;

  /* Bordes y Sombras */
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-neon: rgba(157, 78, 221, 0.45);
  --border-cyan: rgba(0, 245, 212, 0.5);
  --glow-purple: 0 0 24px rgba(157, 78, 221, 0.42);
  --glow-cyan: 0 0 24px rgba(0, 245, 212, 0.38);
  --glow-cta: 0 0 28px rgba(157, 78, 221, 0.45), 0 0 42px rgba(0, 245, 212, 0.28);
  --glow-razer: 0 0 26px rgba(68, 214, 44, 0.45);

  /* Tipografía */
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Espaciado & Layout */
  --container-max: 1200px;
  --nav-height: 76px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Transiciones */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

button, input {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 3px;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #06030C;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-purple), var(--neon-cyan));
  border-radius: 99px;
}

/* ==========================================================================
   Contenedor Fluido (Calibrado 360px -> 2560px)
   ========================================================================== */
.rl-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

main.rl-main {
  flex: 1 0 auto;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Fondo Atmosférico + Burbujas 3D en CSS Puro (Vidrio Líquido)
   ========================================================================== */
.rl-bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  background:
    radial-gradient(ellipse 68% 50% at 50% 0%, rgba(157, 78, 221, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 52% 42% at 88% 28%, rgba(0, 245, 212, 0.09) 0%, transparent 68%),
    radial-gradient(ellipse 50% 45% at 12% 72%, rgba(181, 23, 158, 0.13) 0%, transparent 68%),
    radial-gradient(ellipse 60% 35% at 50% 96%, rgba(0, 245, 212, 0.07) 0%, transparent 70%),
    var(--bg-deep);
  transition: background 0.5s var(--ease-out);
}

/* Modo ambiental verde Razer cuando la subvista Razer está activa */
body.theme-razer .rl-bg-layer {
  background:
    radial-gradient(ellipse 60% 45% at 50% 18%, rgba(68, 214, 44, 0.16) 0%, transparent 64%),
    radial-gradient(ellipse 46% 38% at 82% 45%, rgba(68, 214, 44, 0.14) 0%, transparent 66%),
    radial-gradient(ellipse 48% 44% at 16% 68%, rgba(157, 78, 221, 0.14) 0%, transparent 68%),
    radial-gradient(ellipse 60% 34% at 50% 95%, rgba(0, 245, 212, 0.06) 0%, transparent 70%),
    var(--bg-deep);
}

/* Burbuja base 3D vidrio líquido */
.rl-bubble {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  animation: rlFloatBubble var(--dur, 12s) ease-in-out var(--delay, 0s) infinite alternate;
  backdrop-filter: blur(2px);
}

/* Reflejo especular principal */
.rl-bubble::before {
  content: '';
  position: absolute;
  top: 12%;
  left: 18%;
  width: 34%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.18) 55%, transparent 78%);
  transform: rotate(-28deg);
}

/* Contraluz inferior interno */
.rl-bubble::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 16%;
  width: 42%;
  height: 22%;
  border-radius: 50%;
  transform: rotate(-24deg);
  filter: blur(4px);
}

/* Variante Morada Neón */
.rl-bubble--purple {
  background:
    radial-gradient(circle at 30% 25%, rgba(235, 195, 255, 0.38) 0%, rgba(157, 78, 221, 0.32) 34%, rgba(62, 18, 108, 0.56) 72%, rgba(16, 6, 36, 0.78) 100%);
  box-shadow:
    inset -12px -16px 28px rgba(181, 23, 158, 0.55),
    inset 10px 10px 22px rgba(255, 255, 255, 0.32),
    inset 0 0 12px rgba(0, 245, 212, 0.18),
    0 14px 40px rgba(157, 78, 221, 0.25);
  border: 1px solid rgba(215, 165, 255, 0.28);
}
.rl-bubble--purple::after {
  background: radial-gradient(ellipse at center, rgba(199, 125, 255, 0.65) 0%, transparent 72%);
}

/* Variante Cian Eléctrico */
.rl-bubble--cyan {
  background:
    radial-gradient(circle at 30% 26%, rgba(215, 255, 252, 0.42) 0%, rgba(0, 245, 212, 0.28) 36%, rgba(10, 74, 96, 0.54) 74%, rgba(8, 20, 38, 0.8) 100%);
  box-shadow:
    inset -10px -14px 26px rgba(0, 245, 212, 0.5),
    inset 9px 9px 20px rgba(255, 255, 255, 0.36),
    inset 0 0 12px rgba(157, 78, 221, 0.22),
    0 14px 36px rgba(0, 245, 212, 0.2);
  border: 1px solid rgba(150, 255, 244, 0.34);
}
.rl-bubble--cyan::after {
  background: radial-gradient(ellipse at center, rgba(0, 245, 212, 0.65) 0%, transparent 72%);
}

/* Posiciones equilibradas para escritorio y 2K */
.rl-bubble--1 { width: clamp(110px, 9.5vw, 185px); height: clamp(110px, 9.5vw, 185px); top: 15%; left: -2.8vw; --dur: 13s; --delay: -2s; }
.rl-bubble--2 { width: clamp(40px, 3.2vw, 64px);   height: clamp(40px, 3.2vw, 64px);   top: 32%; left: 7.5vw;  --dur: 10s; --delay: -4s; }
.rl-bubble--3 { width: clamp(42px, 3.5vw, 68px);   height: clamp(42px, 3.5vw, 68px);   top: 47%; left: 5.5vw;  --dur: 11s; --delay: -1s; }
.rl-bubble--4 { width: clamp(96px, 8vw, 158px);    height: clamp(96px, 8vw, 158px);    bottom: 12%; left: -2.2vw; --dur: 14s; --delay: -6s; }
.rl-bubble--5 { width: clamp(104px, 8.8vw, 174px); height: clamp(104px, 8.8vw, 174px); top: 16%; right: -2.8vw; --dur: 12.5s; --delay: -3s; }
.rl-bubble--6 { width: clamp(32px, 2.5vw, 52px);   height: clamp(32px, 2.5vw, 52px);   top: 28%; right: 7.5vw;  --dur: 9.5s; --delay: -5s; }
.rl-bubble--7 { width: clamp(30px, 2.3vw, 48px);   height: clamp(30px, 2.3vw, 48px);   top: 36%; right: 4.2vw;  --dur: 11.5s; --delay: -2s; }
.rl-bubble--8 { width: clamp(120px, 10.5vw, 205px);height: clamp(120px, 10.5vw, 205px);bottom: -4.5vw; right: -2.5vw; --dur: 15s; --delay: -7s; }
.rl-bubble--9 { width: clamp(18px, 1.5vw, 28px);   height: clamp(18px, 1.5vw, 28px);   top: 39%; left: 3.2vw;  --dur: 8.5s; --delay: -1.5s; }
.rl-bubble--10{ width: clamp(20px, 1.6vw, 30px);   height: clamp(20px, 1.6vw, 30px);   bottom: 24%; right: 6vw; --dur: 9s; --delay: -3.5s; }

@keyframes rlFloatBubble {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(8px, -16px, 0) scale(1.03); }
  100% { transform: translate3d(-6px, 12px, 0) scale(0.98); }
}

/* ==========================================================================
   Navbar Global
   ========================================================================== */
.rl-navbar {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: var(--nav-height);
  width: 100%;
  background: rgba(8, 4, 16, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.16);
  overflow: visible;
}

.rl-navbar__inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 8px;
  overflow: visible;
}

/* Logo horizontal completo con object-fit: contain (sin recortar la X ni bordes) */
.rl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  overflow: visible;
  transition: transform 0.25s var(--ease-out), filter 0.25s ease;
}

.rl-brand:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.35));
}

.rl-brand__logo-wrap {
  width: 196px;
  height: 58px;
  padding: 4px 2px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.rl-brand__logo {
  width: 204px;
  max-width: none;
  height: 204px;
  object-fit: contain;
  margin-left: -14px;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.22));
}

/* Contenedor central de navegación escalable para futuras secciones */
.rl-nav-main {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

/* Enlaces centrales */
.rl-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 2.2vw, 34px);
  list-style: none;
  overflow: visible;
}

.rl-nav-link {
  position: relative;
  display: inline-block;
  font-size: clamp(0.88rem, 1vw, 0.96rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-secondary);
  padding: 10px 6px;
  transition: color 0.25s ease;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.rl-nav-link:hover,
.rl-nav-link.is-active {
  color: var(--text-primary);
}

.rl-nav-link.is-active {
  color: var(--neon-cyan);
  font-weight: 600;
}

.rl-nav-link::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 10px var(--neon-cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease-out);
}

.rl-nav-link:hover::after,
.rl-nav-link.is-active::after {
  transform: scaleX(1);
}

/* Botón WhatsApp Oficial en Navbar */
.rl-nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: #080410;
  background: var(--grad-pill);
  background-clip: border-box;
  box-shadow: 0 0 22px rgba(0, 245, 212, 0.34), 0 0 26px rgba(181, 23, 158, 0.32);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  isolation: isolate;
  animation: rlGlowPulse 3.4s ease-in-out infinite;
}

.rl-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.44) 50%, transparent 78%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}

.rl-nav-cta:hover::before {
  transform: translateX(130%);
}

.rl-nav-cta svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.rl-nav-cta:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 32px rgba(0, 245, 212, 0.58), 0 0 36px rgba(181, 23, 158, 0.48);
}

.rl-nav-cta:active {
  transform: scale(0.97) !important;
  transition-duration: 0.1s;
}

/* Botón Hamburguesa Móvil */
.rl-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(19, 19, 29, 0.85);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.rl-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.28s var(--ease-out), opacity 0.2s ease;
}

.rl-nav-toggle.is-open {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.3);
}
.rl-nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rl-nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.rl-nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer móvil */
.rl-mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 85;
  background: rgba(10, 6, 22, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(157, 78, 221, 0.3);
  padding: 20px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s var(--ease-out), opacity 0.28s ease;
}

.rl-mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.rl-mobile-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(19, 19, 29, 0.72);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.rl-mobile-drawer__link.is-active,
.rl-mobile-drawer__link:hover {
  color: var(--neon-cyan);
  border-color: var(--border-cyan);
  background: rgba(0, 245, 212, 0.08);
}

.rl-mobile-drawer .rl-nav-cta {
  justify-content: center;
  margin-top: 6px;
  padding: 13px 20px;
}

/* ==========================================================================
   Componentes Reutilizables: Botones Neón, Sellos de Confianza y AIAD
   ========================================================================== */
.rl-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.1vw, 1.04rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--grad-cta);
  box-shadow: var(--glow-cta);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  animation: rlGlowPulse 3.2s ease-in-out infinite;
}

.rl-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.3) 50%, transparent 80%);
  transform: translateX(-125%);
  transition: transform 0.65s var(--ease-out);
}

.rl-btn-primary:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 38px rgba(181, 23, 158, 0.6), 0 0 56px rgba(0, 245, 212, 0.46);
}

.rl-btn-primary:hover::before {
  transform: translateX(125%);
}

.rl-btn-primary:active {
  transform: scale(0.97) !important;
  transition-duration: 0.1s;
}

/* Sello AIAD Certified (sin recortes: object-fit: contain con aire proporcionado) */
.rl-aiad-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  position: relative;
  flex-shrink: 0;
  padding: 2px 6px;
}

.rl-aiad-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.45)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.25));
  transition: filter 0.25s ease, transform 0.25s ease;
  animation: rlSealSheen 4.4s ease-in-out infinite;
}

.rl-aiad-badge:hover img {
  filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.72)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
}

/* Lienzo cuadrado 2000x2000: object-fit: contain con margen vertical compensado sin cortar bordes */
.rl-aiad-badge--sm { width: 112px; height: 42px; }
.rl-aiad-badge--sm img { width: 104px; height: 104px; max-width: none; }

.rl-aiad-badge--md { width: 138px; height: 50px; }
.rl-aiad-badge--md img { width: 128px; height: 128px; max-width: none; }

.rl-aiad-badge--lg { width: 168px; height: 60px; }
.rl-aiad-badge--lg img { width: 156px; height: 156px; max-width: none; }

/* Bloque de Confianza: Línea Única Verificada + AIAD Certified */
.rl-trust-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
}

.rl-verified-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(19, 19, 29, 0.62);
  border: 1px solid rgba(0, 245, 212, 0.26);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.22s var(--ease-out);
  animation: rlVerifiedGlow 4.2s ease-in-out infinite;
}

.rl-verified-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 28%, rgba(0, 245, 212, 0.16) 50%, transparent 72%);
  transform: translateX(-140%);
  animation: rlVerifiedSweep 6.5s var(--ease-out) infinite;
  pointer-events: none;
}

.rl-verified-line:hover {
  border-color: rgba(0, 245, 212, 0.62);
  box-shadow: 0 0 22px rgba(0, 245, 212, 0.26);
  transform: translateY(-1px);
}

.rl-verified-line:active {
  transform: scale(0.97);
}

.rl-verified-line__icon {
  width: 30px;
  height: 30px;
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 245, 212, 0.6));
  flex-shrink: 0;
  animation: rlSealSheen 3.8s ease-in-out infinite;
}

.rl-verified-line__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.rl-verified-line__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.rl-verified-line__number {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: 0 0 14px rgba(0, 245, 212, 0.45);
  letter-spacing: 0.03em;
}

.rl-trust-divider {
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

/* ==========================================================================
   Footer Compacto Global
   ========================================================================== */
.rl-footer {
  position: relative;
  z-index: 3;
  background: rgba(8, 4, 16, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(157, 78, 221, 0.22);
  padding: 26px 0 22px;
}

.rl-footer::before {
  content: '';
  position: absolute;
  top: -68px;
  left: 0;
  right: 0;
  height: 68px;
  background: linear-gradient(to bottom, transparent 0%, rgba(8, 4, 16, 0.72) 68%, #080410 100%);
  pointer-events: none;
}

.rl-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1.6fr 1.1fr;
  align-items: center;
  gap: 22px 28px;
}

/* Columna 1: Marca + AIAD + Línea Verificada */
.rl-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rl-footer__identities {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rl-footer__logo-wrap {
  width: 158px;
  height: 48px;
  padding: 3px 2px;
  overflow: visible;
  display: flex;
  align-items: center;
  position: relative;
}

.rl-footer__logo-wrap img {
  width: 164px;
  height: 164px;
  max-width: none;
  object-fit: contain;
  margin-left: -12px;
  pointer-events: none;
}

.rl-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-cyan);
}

.rl-footer__phone span {
  color: var(--text-muted);
  font-weight: 500;
}

/* Columna 2: Métodos de Pago Activos */
.rl-footer__payments {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rl-footer__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rl-payment-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.rl-pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.74rem;
  font-weight: 600;
  color: #E2E0F0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.rl-pay-chip:hover {
  border-color: rgba(0, 245, 212, 0.42);
  transform: translateY(-1px);
}

.rl-pay-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Columna 3: Redes Oficiales (SIN Facebook) + Legales */
.rl-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.rl-social-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rl-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-out);
}

.rl-social-btn svg {
  width: 17px;
  height: 17px;
}

.rl-social-btn:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.28);
}

.rl-footer__legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.rl-footer__legal a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.rl-footer__legal a:hover {
  color: var(--neon-cyan);
}

.rl-footer__bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Utilidades de Tipografía Display
   ========================================================================== */
.rl-display-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.14;
  text-shadow: 0 0 24px rgba(157, 78, 221, 0.35);
}

.rl-text-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 22px rgba(0, 245, 212, 0.55);
}

.rl-text-razer {
  color: var(--razer-green);
  text-shadow: 0 0 24px rgba(68, 214, 44, 0.6);
}

/* ==========================================================================
   Sistema Global de Motion UI y Micro-Interacciones
   ========================================================================== */

/* 1. Títulos destacados con gradiente neón en flujo continuo */
.rl-gradient-text {
  background: linear-gradient(90deg, #00F5D4 0%, #9D4EDD 34%, #B5179E 66%, #00F5D4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 4.2s linear infinite;
  filter: drop-shadow(0 0 18px rgba(0, 245, 212, 0.3));
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 2. Entradas escalonadas vía IntersectionObserver (fade-up, scale-in y blur-in) */
.rl-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.64s var(--ease-out) var(--rl-delay, 0ms),
    transform 0.64s var(--ease-out) var(--rl-delay, 0ms),
    filter 0.64s var(--ease-out) var(--rl-delay, 0ms);
  will-change: opacity, transform;
}

.rl-reveal--text {
  transform: translateY(22px);
  filter: blur(6px);
}

.rl-reveal--scale {
  transform: translateY(14px) scale(0.95);
}

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

/* 3. Respiración / pulso neón en botones de conversión + micro-rebote */
@keyframes rlGlowPulse {
  0%, 100% {
    box-shadow: 0 0 22px rgba(157, 78, 221, 0.38), 0 0 32px rgba(0, 245, 212, 0.24);
  }
  50% {
    box-shadow: 0 0 34px rgba(181, 23, 158, 0.56), 0 0 48px rgba(0, 245, 212, 0.44);
  }
}

/* Brillo sutil en sellos AIAD Certified y Línea Única Verificada */
@keyframes rlSealSheen {
  0%, 100% {
    filter: drop-shadow(0 0 7px rgba(0, 245, 212, 0.4)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(0, 245, 212, 0.78)) drop-shadow(0 0 20px rgba(157, 78, 221, 0.42));
  }
}

@keyframes rlVerifiedGlow {
  0%, 100% {
    border-color: rgba(0, 245, 212, 0.24);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.08);
  }
  50% {
    border-color: rgba(0, 245, 212, 0.54);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.22);
  }
}

@keyframes rlVerifiedSweep {
  0%, 62% { transform: translateX(-140%); }
  100%    { transform: translateX(160%); }
}

/* 4. Cascada dinámica (stagger por índice) para listas y cuadrículas */
@keyframes rlStaggerPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rl-stagger-item {
  opacity: 0;
  animation: rlStaggerPop 0.48s var(--ease-out) forwards;
  animation-delay: calc(var(--stagger-i, 0) * 42ms);
}

/* 3. Shimmer diagonal en botones principales */
.rl-shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.rl-shimmer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease-out);
  pointer-events: none;
}

.rl-shimmer:hover::before {
  transform: translateX(130%);
}

/* 4. Levitación suave con glow neón en tarjetas interactivas */
.rl-card-interactive {
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.rl-card-interactive:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 212, 0.48);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.45),
    0 0 26px rgba(157, 78, 221, 0.28),
    0 0 22px rgba(0, 245, 212, 0.2);
}

/* 5. Flotación suave simétrica alrededor del centro (-6px a +6px) */
@keyframes rlFloatSoft {
  0%, 100% { transform: translateY(-6px) rotate(-0.8deg); }
  50%      { transform: translateY(6px) rotate(0.8deg); }
}

.rl-float-soft {
  animation: rlFloatSoft 4.2s ease-in-out infinite;
}

/* ==========================================================================
   Calibración 2K (2560x1440 @ 100% y 133%)
   ========================================================================== */
@media (min-width: 1920px) {
  :root {
    --container-max: 1320px;
    --nav-height: 84px;
  }

  html {
    font-size: 17px;
  }
}

@media (min-width: 2400px) {
  :root {
    --container-max: 1400px;
    --nav-height: 90px;
  }

  html {
    font-size: 18px;
  }
}

/* ==========================================================================
   Responsive Tablet y Móvil
   ========================================================================== */
@media (max-width: 960px) {
  .rl-nav-main,
  .rl-nav-links,
  .rl-navbar__inner > .rl-nav-cta {
    display: none;
  }

  .rl-nav-toggle {
    display: inline-flex;
  }

  .rl-footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .rl-footer__brand,
  .rl-footer__right {
    align-items: center;
  }

  .rl-footer__legal {
    justify-content: center;
  }

  .rl-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 66px;
  }

  .rl-brand__logo-wrap {
    width: 162px;
    height: 48px;
  }

  .rl-brand__logo {
    width: 168px;
    height: 168px;
    margin-left: -12px;
  }

  /* Reducir densidad de burbujas en móvil para claridad total */
  .rl-bubble--2,
  .rl-bubble--3,
  .rl-bubble--6,
  .rl-bubble--7,
  .rl-bubble--9,
  .rl-bubble--10 {
    display: none;
  }

  .rl-bubble--1 { width: 82px; height: 82px; left: -34px; top: 10%; opacity: 0.6; }
  .rl-bubble--4 { width: 76px; height: 76px; left: -30px; bottom: 18%; opacity: 0.55; }
  .rl-bubble--5 { width: 82px; height: 82px; right: -34px; top: 14%; opacity: 0.6; }
  .rl-bubble--8 { width: 92px; height: 92px; right: -36px; bottom: -28px; opacity: 0.55; }

  .rl-trust-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rl-bubble,
  .rl-btn-primary,
  .rl-btn-primary::before,
  .rl-nav-cta,
  .rl-nav-cta::before,
  .rl-shimmer::before,
  .rl-gradient-text,
  .rl-float-soft,
  .rl-aiad-badge img,
  .rl-verified-line,
  .rl-verified-line::before,
  .rl-verified-line__icon,
  .rl-stagger-item {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .rl-reveal,
  .rl-reveal--text,
  .rl-reveal--scale {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
