@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 {
  /* Superficies y fondos oscuros (tokens oficiales R&L Services) */
  --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);

  /* Paleta neón principal */
  --neon-purple: #9D4EDD;
  --neon-magenta: #B5179E;
  --neon-cyan: #00F5D4;
  --razer-green: #44D62C;

  /* Estados semánticos */
  --super-gold: #FFB703;
  --super-gold-soft: rgba(255, 183, 3, 0.16);
  --danger-neon: #FF4D6D;
  --danger-soft: rgba(255, 77, 109, 0.14);
  --warn-amber: #FFAA00;
  --warn-soft: rgba(255, 170, 0, 0.14);

  /* Degradados de marca */
  --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%);

  /* Tipografía y contraste */
  --text-primary: #F8F9FA;
  --text-secondary: #B8B5CC;
  --text-muted: #7C7894;

  /* Bordes y resplandores */
  --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);

  /* Familias tipográficas */
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout y radios */
  --container-max: 1200px;
  --article-max: 840px;
  --nav-height: 76px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

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

img, video {
  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;
}

.is-hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.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 Oscuro / Neón + Burbujas Ambientales (idéntico al ecosistema R&L)
   ========================================================================== */

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

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

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

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

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

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

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

/* ==========================================================================
   Barra de Navegación Superior (Navbar Oficial R&L)
   ========================================================================== */

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

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

.rl-nav-main {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.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 píldora WhatsApp Oficial */
.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;
  font-kerning: normal;
  font-variant-ligatures: none;
  word-spacing: 0.1em;
}

.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 menú móvil y drawer */
.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); }

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

/* ==========================================================================
   Utilidades Visuales Compartidas (Títulos, Botones, Sellos)
   ========================================================================== */

.rl-display-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  word-spacing: 0.14em;
  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-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));
}

.rl-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  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;
  font-kerning: normal;
  font-variant-ligatures: none;
  word-spacing: 0.1em;
}

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

.rl-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  transition: all 0.22s var(--ease-out);
}

.rl-btn-secondary:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.1);
  color: var(--neon-cyan);
  transform: translateY(-1px);
}

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

/* Sello AIAD y Línea Verificada */
.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--sm { width: 112px; height: 42px; }
.rl-aiad-badge--sm img { width: 104px; height: 104px; max-width: none; }

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

/* ==========================================================================
   Vista Principal del Blog: Hero, Buscador y Filtros (.rlb-*)
   ========================================================================== */

.rlb-section {
  padding: clamp(32px, 5vh, 56px) 0 clamp(68px, 9vh, 108px);
}

.rlb-hero {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4.5vh, 44px);
}

.rlb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: rgba(157, 78, 221, 0.16);
  border: 1px solid rgba(157, 78, 221, 0.48);
  color: #E9D5FF;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.rlb-hero__title {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  margin-bottom: 14px;
}

.rlb-hero__subtitle {
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 650px;
  margin-inline: auto;
}

/* Panel de Buscador + Categorías */
.rlb-controls {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-lg);
  background: rgba(19, 19, 29, 0.84);
  border: 1px solid rgba(157, 78, 221, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(26px, 4vh, 40px);
  overflow: hidden;
}

.rlb-controls::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.rlb-search-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.rlb-search-wrap {
  position: relative;
  flex: 1 1 320px;
  display: flex;
  align-items: center;
}

.rlb-search-icon {
  position: absolute;
  left: 16px;
  color: var(--neon-cyan);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
}

.rlb-search-input {
  width: 100%;
  padding: 14px 44px 14px 46px;
  border-radius: 14px;
  background: rgba(8, 4, 16, 0.8);
  border: 1.5px solid rgba(157, 78, 221, 0.36);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.rlb-search-input::placeholder {
  color: var(--text-muted);
}

.rlb-search-input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  background: rgba(8, 4, 16, 0.96);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.15), 0 0 22px rgba(0, 245, 212, 0.2);
}

.rlb-search-clear {
  position: absolute;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.rlb-search-clear:hover {
  color: var(--text-primary);
  background: rgba(0, 245, 212, 0.14);
}

.rlb-results-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(8, 4, 16, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.rlb-results-meta strong {
  color: var(--neon-cyan);
  font-family: var(--font-display);
  font-size: 0.86rem;
}

/* Filtros rápidos por categoría */
.rlb-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}

.rlb-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(8, 4, 16, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
}

.rlb-filter-btn:not(.is-active):not(.active):hover {
  color: var(--text-primary);
  border-color: rgba(0, 245, 212, 0.46);
  background: rgba(0, 245, 212, 0.08);
  transform: translateY(-1px);
}

.rlb-filter-btn.is-active,
.rlb-filter-btn.active {
  color: #080410;
  font-weight: 800;
  background: var(--grad-pill);
  background-origin: border-box;
  background-clip: border-box;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.3), 0 0 18px rgba(157, 78, 221, 0.25);
}

.rlb-filter-btn.is-active:hover,
.rlb-filter-btn.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 245, 212, 0.42), 0 0 24px rgba(157, 78, 221, 0.35);
}

/* ==========================================================================
   Grilla y Tarjetas de Artículos
   ========================================================================== */

.rlb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 26px);
}

.rlb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: rgba(19, 19, 29, 0.86);
  border: 1px solid rgba(157, 78, 221, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  height: 100%;
}

.rlb-card--featured {
  border-color: rgba(0, 245, 212, 0.42);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(157, 78, 221, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.rlb-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  z-index: 3;
}

.rlb-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 25% 25%, rgba(157, 78, 221, 0.28), transparent 60%),
    radial-gradient(circle at 80% 75%, rgba(0, 245, 212, 0.2), transparent 55%),
    var(--bg-elevated);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.rlb-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.rlb-card__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.rlb-card__fallback-logo {
  width: 68%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 0 16px rgba(0, 245, 212, 0.25)) drop-shadow(0 0 24px rgba(157, 78, 221, 0.35));
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.rlb-card:hover .rlb-card__fallback-logo {
  transform: scale(1.05);
  opacity: 1;
}

.rlb-card:hover .rlb-card__cover {
  transform: scale(1.04);
}

.rlb-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.rlb-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(14, 8, 27, 0.88);
  border: 1px solid rgba(157, 78, 221, 0.5);
  color: #E9D5FF;
  backdrop-filter: blur(8px);
}

.rlb-category-badge--alertas-aiad {
  background: rgba(34, 8, 18, 0.88);
  border-color: rgba(255, 77, 109, 0.58);
  color: #FFD6DF;
}

.rlb-category-badge--aclaratorias-tyc {
  background: rgba(6, 26, 30, 0.88);
  border-color: rgba(0, 245, 212, 0.55);
  color: var(--neon-cyan);
}

.rlb-category-badge--sorteos-experience {
  background: rgba(32, 22, 6, 0.88);
  border-color: rgba(255, 183, 3, 0.58);
  color: #FFD166;
}

.rlb-category-badge--guias-faq {
  background: rgba(22, 10, 38, 0.88);
  border-color: rgba(157, 78, 221, 0.58);
  color: #E5C2FF;
}

.rlb-featured-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 245, 212, 0.16);
  border: 1px solid rgba(0, 245, 212, 0.55);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  backdrop-filter: blur(8px);
}

.rlb-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px 20px 22px;
  gap: 12px;
}

.rlb-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.rlb-card__meta-sep {
  opacity: 0.5;
}

.rlb-card__title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.32;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.rlb-card__title a {
  display: block;
}

.rlb-card:hover .rlb-card__title {
  color: var(--neon-cyan);
}

.rlb-card__summary {
  font-size: 0.89rem;
  line-height: 1.6;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rlb-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.rlb-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.rlb-card__footer {
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rlb-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--neon-cyan);
  transition: gap 0.22s var(--ease-out), color 0.2s ease;
}

.rlb-card:hover .rlb-card__cta {
  gap: 11px;
  color: #FFFFFF;
}

/* Estado vacío del buscador */
.rlb-empty-state {
  padding: clamp(36px, 6vh, 56px) 24px;
  border-radius: var(--radius-lg);
  background: rgba(19, 19, 29, 0.8);
  border: 1px dashed rgba(157, 78, 221, 0.42);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rlb-empty-state__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(157, 78, 221, 0.16);
  border: 1px solid rgba(157, 78, 221, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 1.5rem;
}

.rlb-empty-state__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.rlb-empty-state__desc {
  max-width: 460px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Vista Individual de Artículo (/articulos/<slug>)
   ========================================================================== */

.rlb-article-section {
  padding: clamp(26px, 4.5vh, 48px) 0 clamp(68px, 9vh, 108px);
}

.rlb-article-shell {
  width: 100%;
  max-width: var(--article-max);
  margin-inline: auto;
}

.rlb-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.rlb-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(19, 19, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.22s var(--ease-out);
}

.rlb-back-link:hover {
  color: var(--neon-cyan);
  border-color: var(--border-cyan);
  background: rgba(0, 245, 212, 0.08);
  transform: translateX(-2px);
}

.rlb-article-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: rgba(19, 19, 29, 0.88);
  border: 1px solid rgba(157, 78, 221, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: clamp(22px, 4vw, 44px);
  overflow: hidden;
}

.rlb-article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}

.rlb-article-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.rlb-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.rlb-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rlb-meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--neon-cyan);
  flex-shrink: 0;
}

.rlb-article-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  text-shadow: 0 0 22px rgba(157, 78, 221, 0.28);
}

.rlb-article-lead {
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.65;
  color: var(--text-secondary);
}

.rlb-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.rlb-article-cover {
  margin-top: 6px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(157, 78, 221, 0.32);
  background: var(--bg-elevated);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.rlb-article-cover img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}

/* ==========================================================================
   Tipografía de Lectura de Artículos (.rlb-prose) — Contenido Markdown
   ========================================================================== */

.rlb-prose {
  font-size: clamp(0.98rem, 1.15vw, 1.05rem);
  line-height: 1.8;
  color: #DDDCEB;
  word-wrap: break-word;
}

.rlb-prose > * + * {
  margin-top: 1.25em;
}

.rlb-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.52rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  margin-top: 2em;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(157, 78, 221, 0.28);
}

.rlb-prose h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--neon-cyan);
  margin-top: 1.65em;
}

.rlb-prose h4 {
  font-size: 1.04rem;
  font-weight: 700;
  color: #E9D5FF;
  margin-top: 1.4em;
}

.rlb-prose p {
  color: #DDDCEB;
}

.rlb-prose strong {
  color: #FFFFFF;
  font-weight: 700;
}

.rlb-prose a {
  color: var(--neon-cyan);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(0, 245, 212, 0.42);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.rlb-prose a:hover {
  color: #FFFFFF;
  text-decoration-color: var(--neon-cyan);
}

.rlb-prose ul,
.rlb-prose ol {
  padding-left: 1.45em;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}

.rlb-prose li::marker {
  color: var(--neon-cyan);
  font-weight: 700;
}

.rlb-prose blockquote {
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-left: 4px solid var(--neon-cyan);
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.14), rgba(0, 245, 212, 0.07));
  color: #F1EFFA;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rlb-prose blockquote p + p {
  margin-top: 0.75em;
}

.rlb-prose hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.55), rgba(0, 245, 212, 0.55), transparent);
  margin-block: 2em;
}

.rlb-prose code {
  font-family: ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(8, 4, 16, 0.88);
  border: 1px solid rgba(157, 78, 221, 0.34);
  color: var(--neon-cyan);
}

.rlb-prose pre {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(8, 4, 16, 0.92);
  border: 1px solid rgba(157, 78, 221, 0.32);
  overflow-x: auto;
  line-height: 1.6;
}

.rlb-prose pre code {
  padding: 0;
  border: none;
  background: transparent;
  color: #ECEAF6;
  font-size: 0.86rem;
}

/* Tablas dentro de artículos */
.rlb-prose table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: rgba(8, 4, 16, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.rlb-prose thead,
.rlb-prose tbody,
.rlb-prose tr {
  width: 100%;
}

.rlb-prose th {
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  background: rgba(157, 78, 221, 0.14);
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.rlb-prose td {
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.rlb-prose tr:last-child td {
  border-bottom: none;
}

/* Bloques de alerta editoriales opcionales */
.rlb-callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 245, 212, 0.38);
  background: rgba(0, 245, 212, 0.08);
  color: #E8FFF9;
}

.rlb-callout--alert {
  border-color: rgba(255, 77, 109, 0.5);
  background: var(--danger-soft);
  color: #FFD6DF;
}

.rlb-callout--warn {
  border-color: rgba(255, 170, 0, 0.5);
  background: var(--warn-soft);
  color: #FFE7B3;
}

/* Imágenes y videos responsivos (Cloudinary) */
.rlb-prose img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
  margin-block: 1.5em;
}

.rlb-prose figure {
  margin-block: 1.6em;
}

.rlb-prose figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rlb-prose video,
.rlb-prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1px solid rgba(157, 78, 221, 0.35);
  background: #05020A;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  margin-block: 1.5em;
}

/* Barra de acciones al final del artículo */
.rlb-article-actions {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.rlb-share-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rlb-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: rgba(0, 245, 212, 0.12);
  border: 1px solid rgba(0, 245, 212, 0.48);
  color: var(--neon-cyan);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.22s var(--ease-out);
}

.rlb-share-btn:hover {
  background: rgba(0, 245, 212, 0.22);
  color: #FFFFFF;
  box-shadow: 0 0 18px rgba(0, 245, 212, 0.28);
  transform: translateY(-1px);
}

.rlb-share-btn.is-copied {
  background: rgba(68, 214, 44, 0.18);
  border-color: rgba(68, 214, 44, 0.56);
  color: #9BFF8A;
}

.rlb-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Toast de feedback visual */
.rlb-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(15, 13, 28, 0.95);
  border: 1px solid rgba(0, 245, 212, 0.55);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 245, 212, 0.25);
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 600;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s var(--ease-out);
}

.rlb-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer Oficial R&L Services
   ========================================================================== */

.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.5fr 1.15fr;
  align-items: center;
  gap: 22px 28px;
}

.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__division {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 600;
}

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

.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-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

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

/* ==========================================================================
   Animaciones Globales
   ========================================================================== */

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

@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);
  }
}

@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%); }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

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

@media (max-width: 1024px) {
  .rlb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@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: 680px) {
  .rlb-grid {
    grid-template-columns: 1fr;
  }

  .rlb-results-meta {
    width: 100%;
    justify-content: center;
  }

  .rlb-article-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rlb-share-group {
    flex-direction: column;
    align-items: stretch;
  }

  .rlb-share-btn,
  .rlb-article-actions .rl-btn-secondary {
    justify-content: 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;
  }

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

  .rlb-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}

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