/*
  Tema "EstheticGraphics Plotteos" — negro puro + neón verde/azul
  Sobrescribe variables CSS de Bootstrap 5.3 / Sneat (no toca sneat/).
  Fondo: negro absoluto. Acentos: azul de marca y teal del logo, en neón delicado.
*/

[data-bs-theme='dark'] {
  color-scheme: dark;

  --bs-body-bg: #000000;
  --bs-body-bg-rgb: 0, 0, 0;
  --bs-body-color: #b9c6db;
  --bs-body-color-rgb: 185, 198, 219;
  --bs-heading-color: #f6f9fd;
  --bs-emphasis-color: #ffffff;
  --bs-secondary-color: #7f8ca3;

  /* "papel" de tarjetas, acordeón y navbar: casi negro con un dejo azul */
  --bs-paper-bg: #05070b;
  --bs-paper-bg-rgb: 5, 7, 11;

  --bs-primary: #3b82f6;
  --bs-primary-rgb: 59, 130, 246;
  --bs-primary-text-emphasis: #93c0ff;
  --bs-primary-bg-subtle: #050c1a;
  --bs-primary-border-subtle: #1a3a66;

  --bs-info: #2fe4cf;
  --bs-info-rgb: 47, 228, 207;
  --bs-info-text-emphasis: #8ff5e7;
  --bs-info-bg-subtle: #04120f;
  --bs-info-border-subtle: #0f3f38;

  /* bordes: filos tenues de neón azul/teal sobre el negro */
  --bs-border-color: #0c1a24;
  --bs-border-color-translucent: rgba(93, 196, 255, 0.16);

  --bs-link-color: #6fa6ff;
  --bs-link-hover-color: #93c0ff;
  --bs-link-color-rgb: 111, 166, 255;
  --bs-link-hover-color-rgb: 147, 192, 255;

  --bs-box-shadow: 0 0.5rem 2rem 0 rgba(0, 0, 0, 0.8);
  --bs-navbar-box-shadow: none;
}

/* Fondo negro absoluto, sin halos: el color lo ponen solo los filos y textos neón */
[data-bs-theme='dark'] body {
  background-color: #000000;
  background-image: none;
}

/* Scrollbar */
[data-bs-theme='dark'] ::-webkit-scrollbar-thumb {
  background: #12303a;
}
[data-bs-theme='dark'] ::selection {
  background: rgba(59, 130, 246, 0.35);
}

/* ---------- Navbar ---------- */
.eg-navbar-brand img {
  height: 40px;
  width: auto;
  border-radius: 0.25rem;
  object-fit: contain;
}

.landing-navbar .btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #06210f;
  font-weight: 600;
}
.landing-navbar .btn-whatsapp:hover {
  background: #1fb955;
  border-color: #1fb955;
  color: #06210f;
}

/* ---------- Hero ---------- */
[data-bs-theme='dark'] .landing-hero {
  --bs-hero-bg: transparent;
}
/* Sneat pinta una franja con paper-bg detr�s del hero: la quitamos para que
   el fondo azul noche del body sea continuo en toda la p�gina */
[data-bs-theme='dark'] .landing-hero::after {
  background-color: transparent;
}
.landing-hero .hero-title {
  background: linear-gradient(92deg, #ffffff 0%, #bcd6ff 55%, #2fe4cf 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.55)) drop-shadow(0 0 34px rgba(47, 228, 207, 0.3));
}
.eg-hero {
  /* el navbar es fijo: dejamos aire arriba y el resto lo ocupan los reels */
  padding-block: 7.5rem 5rem;
  border-radius: 0;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .eg-hero {
    padding-block: 6rem 3rem;
  }
}

/* ---------- Hero player (Atropos 3D, un video a la vez) ---------- */
.eg-player-stage {
  position: relative;
  z-index: 0; /* contexto propio para que el halo (::before) quede sobre el fondo del hero */
  padding-inline: clamp(0.75rem, 2.5vw, 2.5rem);
  perspective: 1600px;
}
/* Sin halo detrás del reproductor: el fondo debe quedar negro puro */
.eg-player-stage::before {
  content: none;
}
.eg-player-slot {
  /* ocupa todo el alto disponible debajo del navbar */
  height: min(calc(100vh - 9.5rem), 840px);
  min-height: 420px;
  transform-style: preserve-3d;
}
/* Entrada 3D: se dispara cada vez que arranca un video (ver js/reels.js) */
.eg-player-slot.is-entering {
  animation: eg-player-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes eg-player-in {
  0% {
    transform: translateZ(-110px) rotateY(-10deg) rotateX(6deg) scale(0.94);
    opacity: 0.3;
  }
  100% {
    transform: translateZ(0) rotateY(0deg) rotateX(0deg) scale(1);
    opacity: 1;
  }
}
.eg-player {
  height: 100%;
  border-radius: 1.5rem;
}
.eg-player .atropos-inner {
  border-radius: 1.5rem;
  background: #000000;
  border: 1px solid rgba(93, 196, 255, 0.22);
  /* filo neón ajustado al borde, sin halo que tiña el negro de alrededor */
  box-shadow:
    0 0 0 1px rgba(47, 228, 207, 0.06),
    0 0 14px rgba(59, 130, 246, 0.12);
}
/* Fondo: el mismo video desenfocado, para que el área quede 100% cubierta */
.eg-player-bg {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  filter: blur(42px) saturate(1.35) brightness(0.55);
  pointer-events: none;
}
.eg-player-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--eg-player-fit, contain);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.eg-player-video.is-current {
  opacity: 1;
}
/* En pantallas verticales (celular) el video 9:16 cubre todo directamente */
@media (orientation: portrait) {
  .eg-player-stage {
    --eg-player-fit: cover;
  }
}
/* Sombra y brillo de Atropos adaptados al tema dark (azul / teal, no negro) */
.eg-player .atropos-shadow {
  background: radial-gradient(60% 60% at 50% 50%, rgba(59, 130, 246, 0.75) 0%, rgba(47, 228, 207, 0.35) 60%, transparent 100%);
  filter: blur(38px);
  border-radius: 1.5rem;
}
.eg-player .atropos-highlight {
  background-image: radial-gradient(circle at 50%, rgba(143, 245, 231, 0.2), transparent 55%);
  mix-blend-mode: screen;
}
/* Indicadores / selector de video */
.eg-player-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%); /* centrados: lejos del bot�n flotante de WhatsApp */
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}
.eg-player-dot {
  position: relative;
  width: 2.5rem;
  height: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.2s ease;
}
.eg-player-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}
/* Progreso del video actual (--p va de 0 a 1 desde js/reels.js) */
.eg-player-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
  box-shadow: 0 0 10px rgba(47, 228, 207, 0.6);
}
.eg-player-dot.is-active {
  background: rgba(255, 255, 255, 0.32);
}
.eg-hero-text {
  margin-top: 3.5rem;
}

@media (max-width: 767.98px) {
  .eg-player-stage {
    padding-inline: 0.75rem;
  }
  .eg-player-slot {
    height: calc(100vh - 7.5rem);
    min-height: 480px;
  }
  .eg-player,
  .eg-player .atropos-inner,
  .eg-player .atropos-shadow {
    border-radius: 1rem;
  }
  .eg-player-dots {
    bottom: 1.25rem;
    gap: 0.4rem;
  }
  .eg-player-dot {
    width: 1.75rem;
  }
  .eg-hero-text {
    margin-top: 2.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eg-player-slot.is-entering {
    animation: none;
  }
  .eg-player-video {
    transition: none;
  }
}

/* ---------- Service cards (Atropos, ne�n delicado) ---------- */
.eg-service {
  height: 100%;
  border-radius: 1rem;
}
.eg-service .atropos-scale,
.eg-service .atropos-rotate,
.eg-service .atropos-inner {
  height: 100%;
}
.eg-service .atropos-inner {
  border-radius: 1rem;
}
/* La sombra en reposo va en el nivel que rota, as� acompa�a la inclinaci�n */
.eg-service .atropos-rotate {
  border-radius: 1rem;
  box-shadow: 0 1rem 2.5rem rgba(0, 2, 6, 0.55);
}
.eg-service-card {
  position: relative;
  height: 100%;
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(47, 228, 207, 0.16);
  background:
    linear-gradient(160deg, rgba(47, 228, 207, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, #070a0f 0%, #030405 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 24px rgba(47, 228, 207, 0.05);
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
/* Filo de luz superior: se enciende al pasar el mouse */
.eg-service-card::before {
  content: '';
  position: absolute;
  inset: 0 1.25rem auto 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 228, 207, 0.55), rgba(255, 255, 255, 0.6), rgba(47, 228, 207, 0.55), transparent);
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
.eg-service.atropos-active .eg-service-card {
  border-color: rgba(47, 228, 207, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 40px rgba(47, 228, 207, 0.05);
}
.eg-service.atropos-active .eg-service-card::before {
  opacity: 1;
}
/* Sombra y brillo de Atropos en teal, muy suaves */
.eg-service .atropos-shadow {
  background: radial-gradient(60% 60% at 50% 50%, rgba(47, 228, 207, 0.32) 0%, rgba(59, 130, 246, 0.18) 60%, transparent 100%);
  filter: blur(28px);
  border-radius: 1rem;
}
.eg-service .atropos-highlight {
  background-image: radial-gradient(circle at 50%, rgba(143, 245, 231, 0.09), transparent 55%);
  mix-blend-mode: screen;
  border-radius: 1rem;
}
/* �cono delicado: aro fino, trazo liviano y halo teal */
.eg-service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ff5e7;
  font-size: 1.35rem;
  border: 1px solid rgba(47, 228, 207, 0.35);
  background: radial-gradient(circle at 50% 50%, rgba(47, 228, 207, 0.12) 0%, rgba(47, 228, 207, 0.02) 70%);
  box-shadow:
    0 0 0 4px rgba(47, 228, 207, 0.04),
    0 0 18px rgba(47, 228, 207, 0.18),
    inset 0 0 12px rgba(47, 228, 207, 0.08);
  filter: drop-shadow(0 0 6px rgba(47, 228, 207, 0.55));
  transition:
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.eg-service-icon .icon-base {
  opacity: 0.92;
}
.eg-service.atropos-active .eg-service-icon {
  border-color: rgba(143, 245, 231, 0.7);
  box-shadow:
    0 0 0 5px rgba(47, 228, 207, 0.06),
    0 0 26px rgba(47, 228, 207, 0.35),
    inset 0 0 14px rgba(47, 228, 207, 0.14);
}
/* T�tulo: blanco con halo ne�n verde azulado, en capas suaves */
.eg-service-title {
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.35),
    0 0 10px rgba(47, 228, 207, 0.55),
    0 0 22px rgba(47, 228, 207, 0.35),
    0 0 40px rgba(59, 130, 246, 0.3);
  transition: text-shadow 0.5s ease;
}
/* Texto: blanco suave con un blur teal-azul m�s tenue, para no cansar */
.eg-service-text {
  color: #dbe7f5;
  line-height: 1.7;
  text-shadow:
    0 0 6px rgba(47, 228, 207, 0.28),
    0 0 14px rgba(59, 130, 246, 0.2);
  transition: text-shadow 0.5s ease;
}
/* Al pasar el mouse el halo respira un poco m�s */
.eg-service.atropos-active .eg-service-title {
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.5),
    0 0 12px rgba(47, 228, 207, 0.75),
    0 0 28px rgba(47, 228, 207, 0.45),
    0 0 52px rgba(59, 130, 246, 0.4);
}
.eg-service.atropos-active .eg-service-text {
  text-shadow:
    0 0 8px rgba(47, 228, 207, 0.4),
    0 0 18px rgba(59, 130, 246, 0.28);
}

/* ---------- Ne�n verde delicado: badge y botones ---------- */
.eg-badge-neon {
  color: #9dfbe6;
  background: rgba(47, 228, 207, 0.1);
  border: 1px solid rgba(47, 228, 207, 0.38);
  text-shadow:
    0 0 6px rgba(47, 228, 207, 0.55),
    0 0 14px rgba(47, 228, 207, 0.25);
  box-shadow:
    0 0 14px rgba(47, 228, 207, 0.14),
    inset 0 0 10px rgba(47, 228, 207, 0.06);
}
.eg-btn-neon,
.eg-btn-neon-icon {
  --bs-btn-color: #9dfbe6;
  --bs-btn-bg: rgba(47, 228, 207, 0.06);
  --bs-btn-border-color: rgba(47, 228, 207, 0.4);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: rgba(47, 228, 207, 0.16);
  --bs-btn-hover-border-color: rgba(143, 245, 231, 0.85);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(47, 228, 207, 0.22);
  --bs-btn-active-border-color: rgba(143, 245, 231, 0.9);
  --bs-btn-focus-shadow-rgb: 47, 228, 207;
  text-shadow:
    0 0 6px rgba(47, 228, 207, 0.6),
    0 0 16px rgba(47, 228, 207, 0.3);
  box-shadow:
    0 0 16px rgba(47, 228, 207, 0.14),
    inset 0 0 12px rgba(47, 228, 207, 0.06);
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    text-shadow 0.3s ease;
}
.eg-btn-neon:hover,
.eg-btn-neon-icon:hover,
.eg-btn-neon:focus-visible,
.eg-btn-neon-icon:focus-visible {
  text-shadow:
    0 0 8px rgba(143, 245, 231, 0.9),
    0 0 20px rgba(47, 228, 207, 0.5);
  box-shadow:
    0 0 24px rgba(47, 228, 207, 0.3),
    0 0 48px rgba(47, 228, 207, 0.12),
    inset 0 0 14px rgba(47, 228, 207, 0.1);
}

/* ---------- Gallery / Trabajos ---------- */
/* Respiro vertical para que la inclinaci�n 3D no se recorte en el borde del slider */
#swiper-gallery {
  padding-block: 1.25rem;
  margin-block: -1.25rem;
}
#swiper-gallery .swiper-slide {
  perspective: 1000px;
}
/* Movimiento 3D autom�tico: cada slide flota con un vaiv�n lento y desfasado */
.eg-gallery-3d {
  height: 100%;
  transform-style: preserve-3d;
  animation: eg-gallery-float 7s ease-in-out infinite alternate;
}
#swiper-gallery .swiper-slide:nth-child(2n) .eg-gallery-3d {
  animation-delay: -2.3s;
}
#swiper-gallery .swiper-slide:nth-child(3n) .eg-gallery-3d {
  animation-delay: -4.6s;
  animation-duration: 8s;
}
#swiper-gallery .swiper-slide:nth-child(4n) .eg-gallery-3d {
  animation-delay: -1.2s;
  animation-duration: 6.5s;
}
@keyframes eg-gallery-float {
  0% {
    transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
  }
  50% {
    transform: rotateY(0deg) rotateX(-2deg) translateZ(14px);
  }
  100% {
    transform: rotateY(7deg) rotateX(3deg) translateZ(0);
  }
}
/* Al pasar el mouse el vaiv�n se congela y Atropos toma el control */
.eg-gallery-3d:has(.atropos-active) {
  animation-play-state: paused;
}
.eg-gallery-atropos {
  border-radius: 0.75rem;
}
.eg-gallery-atropos .atropos-inner {
  border-radius: 0.75rem;
}
.eg-gallery-atropos .atropos-shadow {
  background: radial-gradient(60% 60% at 50% 50%, rgba(47, 228, 207, 0.45) 0%, rgba(59, 130, 246, 0.25) 60%, transparent 100%);
  filter: blur(26px);
  border-radius: 0.75rem;
}
.eg-gallery-atropos .atropos-highlight {
  background-image: radial-gradient(circle at 50%, rgba(143, 245, 231, 0.16), transparent 55%);
  mix-blend-mode: screen;
}
.eg-gallery-slide {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(47, 228, 207, 0.18);
  box-shadow: 0 0.75rem 2rem rgba(0, 2, 6, 0.55);
  aspect-ratio: 4 / 5;
}
@media (prefers-reduced-motion: reduce) {
  .eg-gallery-3d {
    animation: none;
  }
}
.eg-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.eg-gallery-slide:hover img {
  transform: scale(1.05);
}

/* ---------- Marcas (tira tipo película, en loop continuo) ---------- */
.eg-brands-title {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem);
}
.eg-brands-strip {
  --eg-brand-w: 250px;
  --eg-brand-h: 150px;
  --eg-brand-gap: 1.5rem;
  position: relative;
  overflow: hidden;
  padding-block: 1.75rem;
  /* los extremos se funden con el negro */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
/* Perforaciones de película arriba y abajo, en teal muy tenue */
.eg-brands-strip::before,
.eg-brands-strip::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg, rgba(47, 228, 207, 0.4) 0 16px, transparent 16px 34px);
  opacity: 0.45;
  pointer-events: none;
  animation: eg-marquee-holes 1.6s linear infinite;
}
.eg-brands-strip::before {
  top: 0.45rem;
}
.eg-brands-strip::after {
  bottom: 0.45rem;
}
.eg-brands-track {
  display: flex;
  width: max-content;
  animation: eg-marquee 34s linear infinite;
  will-change: transform;
}
.eg-brands-strip:hover .eg-brands-track {
  animation-play-state: paused;
}
.eg-brands-group {
  display: flex;
  gap: var(--eg-brand-gap);
  padding-right: var(--eg-brand-gap);
}
/* Tres grupos iguales en la pista: al avanzar un tercio el loop es invisible, incluso en pantallas muy anchas */
@keyframes eg-marquee {
  to {
    transform: translateX(-33.3333%);
  }
}
@keyframes eg-marquee-holes {
  to {
    background-position: -34px 0;
  }
}
/* Cada marca: placa clara (o del color propio del logo) con filo neón teal */
.eg-brand {
  flex: 0 0 auto;
  width: var(--eg-brand-w);
  height: var(--eg-brand-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.75rem;
  border-radius: 1rem;
  background: var(--eg-brand-bg, #ffffff);
  border: 1px solid rgba(47, 228, 207, 0.4);
  box-shadow:
    0 0 0 3px #000,
    0 0 0 4px rgba(47, 228, 207, 0.22),
    0 0 20px rgba(47, 228, 207, 0.16);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.eg-brand:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 0 3px #000,
    0 0 0 4px rgba(143, 245, 231, 0.55),
    0 0 32px rgba(47, 228, 207, 0.32);
}
.eg-brand img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
/* Logos que ya vienen con fondo oscuro: la placa toma su color y el logo se integra */
.eg-brand-dark {
  padding: 0.75rem;
}
@media (max-width: 767.98px) {
  .eg-brands-strip {
    --eg-brand-w: 176px;
    --eg-brand-h: 106px;
    --eg-brand-gap: 1rem;
    padding-block: 1.4rem;
  }
  .eg-brand {
    padding: 0.9rem 1.2rem;
    border-radius: 0.75rem;
  }
  .eg-brands-track {
    animation-duration: 26s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eg-brands-track,
  .eg-brands-strip::before,
  .eg-brands-strip::after {
    animation: none;
  }
  .eg-brands-strip {
    overflow-x: auto;
  }
}

/* ---------- CTA ---------- */
.eg-cta {
  position: relative;
  background: radial-gradient(120% 200% at 50% 0%, rgba(59, 130, 246, 0.07) 0%, transparent 60%);
  border-top: 1px solid rgba(93, 196, 255, 0.18);
  border-bottom: 1px solid rgba(47, 228, 207, 0.18);
  box-shadow:
    inset 0 1px 24px rgba(59, 130, 246, 0.06),
    inset 0 -1px 24px rgba(47, 228, 207, 0.05);
}

/* ---------- Contact ---------- */
.eg-map-frame {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--bs-border-color);
}
/* El filtro "modo oscuro" va solo sobre el mapa, así el botón superpuesto no se invierte */
.eg-map-frame iframe {
  display: block;
  filter: grayscale(0.2) invert(0.92) contrast(0.9);
}

/* ---------- Footer ---------- */
.landing-footer {
  --bs-footer-bottom-bg: #000000;
  --bs-footer-top-bg: #000000;
  --bs-footer-bottom-text: #8b98ad;
  background: #000000;
  border-top: 1px solid rgba(93, 196, 255, 0.16);
  box-shadow: inset 0 1px 30px rgba(59, 130, 246, 0.05);
}
.landing-footer .footer-bottom {
  border-top: 1px solid rgba(47, 228, 207, 0.14);
}
.landing-footer .footer-link:hover {
  color: #9dfbe6;
  text-shadow: 0 0 10px rgba(47, 228, 207, 0.5);
}
.landing-footer .footer-bg {
  display: none;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #06210f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0.5rem 1.5rem rgba(37, 211, 102, 0.45);
  animation: eg-fab-pulse 2.4s ease-in-out infinite;
}
.whatsapp-fab:hover {
  color: #06210f;
  transform: scale(1.05);
}
@keyframes eg-fab-pulse {
  0%,
  100% {
    box-shadow: 0 0.5rem 1.5rem rgba(37, 211, 102, 0.45);
  }
  50% {
    box-shadow:
      0 0.5rem 1.5rem rgba(37, 211, 102, 0.45),
      0 0 0 10px rgba(37, 211, 102, 0.08);
  }
}

/* ---------- Música de fondo: botón flotante neón (arriba del de WhatsApp) ---------- */
.eg-music-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 1030;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(47, 228, 207, 0.5);
  background: rgba(0, 0, 0, 0.85);
  color: #9dfbe6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 0 16px rgba(47, 228, 207, 0.22),
    inset 0 0 12px rgba(47, 228, 207, 0.08);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
}
.eg-music-fab:hover {
  transform: scale(1.05);
  border-color: rgba(143, 245, 231, 0.9);
  box-shadow:
    0 0 26px rgba(47, 228, 207, 0.4),
    inset 0 0 14px rgba(47, 228, 207, 0.12);
}
.eg-music-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 6px rgba(47, 228, 207, 0.6));
}
/* Ecualizador: cuatro barras que bailan mientras suena */
.eg-music-bars {
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
}
.eg-music-bars i {
  display: block;
  width: 4px;
  height: 6px;
  border-radius: 2px;
  background: linear-gradient(180deg, #8ff5e7, #2fe4cf);
  box-shadow: 0 0 8px rgba(47, 228, 207, 0.7);
  animation: eg-eq 0.9s ease-in-out infinite alternate;
}
.eg-music-bars i:nth-child(2) {
  animation-delay: -0.3s;
  animation-duration: 0.75s;
}
.eg-music-bars i:nth-child(3) {
  animation-delay: -0.55s;
  animation-duration: 1.05s;
}
.eg-music-bars i:nth-child(4) {
  animation-delay: -0.15s;
  animation-duration: 0.85s;
}
@keyframes eg-eq {
  from {
    height: 5px;
  }
  to {
    height: 20px;
  }
}
.eg-music-fab.is-playing .eg-music-bars {
  display: flex;
}
.eg-music-fab.is-playing .eg-music-icon {
  display: none;
}
.eg-music-fab.is-playing {
  animation: eg-fab-pulse-teal 2.4s ease-in-out infinite;
}
@keyframes eg-fab-pulse-teal {
  0%,
  100% {
    box-shadow: 0 0 16px rgba(47, 228, 207, 0.22);
  }
  50% {
    box-shadow:
      0 0 22px rgba(47, 228, 207, 0.35),
      0 0 0 10px rgba(47, 228, 207, 0.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .eg-music-bars i,
  .eg-music-fab.is-playing {
    animation: none;
  }
}

/* ---------- Neon headings ---------- */
.eg-neon {
  color: var(--bs-heading-color);
  text-shadow:
    0 0 6px rgba(147, 192, 255, 0.65),
    0 0 18px rgba(59, 130, 246, 0.45),
    0 0 40px rgba(47, 228, 207, 0.25);
}
.eg-neon-teal {
  color: #8ff5e7;
  text-shadow:
    0 0 6px rgba(143, 245, 231, 0.7),
    0 0 18px rgba(47, 228, 207, 0.5),
    0 0 36px rgba(47, 228, 207, 0.3);
}
.eg-navbar-brand img {
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.35)) drop-shadow(0 0 18px rgba(47, 228, 207, 0.18));
}

/* ---------- Misc ---------- */
.eg-section-badge {
  letter-spacing: 0.02em;
}
html {
  scroll-behavior: smooth;
}

/* ---------- Neón sobre negro: navbar, badges, botones, acordeón, contacto ---------- */
/* Navbar: vidrio negro con filo azul */
[data-bs-theme='dark'] nav.layout-navbar .navbar.landing-navbar {
  --bs-front-navbar-bg: rgba(0, 0, 0, 0.72);
  --bs-front-navbar-border-color: rgba(93, 196, 255, 0.2);
  border-width: 1px;
  /* Sin backdrop-filter: crearía un contenedor para el menú móvil (position: fixed)
     y lo dejaría recortado al alto del navbar en vez de cubrir toda la pantalla. */
  /* solo un filo: sin halo exterior para que el negro alrededor quede intacto */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
/* Menú móvil: panel lateral negro a pantalla completa, por encima de todo el sitio */
@media (max-width: 991.98px) {
  [data-bs-theme='dark'] nav.layout-navbar .navbar.landing-navbar .landing-nav-menu {
    background-color: #000000;
    border-right: 1px solid rgba(47, 228, 207, 0.3);
    box-shadow: 0 0 40px rgba(47, 228, 207, 0.12);
  }
  [data-bs-theme='dark'] nav.layout-navbar .navbar.landing-navbar .landing-nav-menu .nav-link {
    font-size: 1.1rem;
    padding-block: 0.75rem;
  }
}
[data-bs-theme='dark'] nav.layout-navbar.navbar-active .landing-navbar {
  background-color: rgba(0, 0, 0, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
[data-bs-theme='dark'] nav.layout-navbar .navbar.landing-navbar .nav-link:hover,
[data-bs-theme='dark'] nav.layout-navbar .navbar.landing-navbar .nav-link.active {
  color: #9dfbe6;
  text-shadow: 0 0 10px rgba(47, 228, 207, 0.55);
}

/* Badges de sección: azul neón (primary) y teal neón (info) */
.eg-section-badge.bg-label-primary {
  color: #a7cbff;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(93, 196, 255, 0.4);
  text-shadow:
    0 0 6px rgba(93, 196, 255, 0.6),
    0 0 14px rgba(59, 130, 246, 0.3);
  box-shadow:
    0 0 14px rgba(59, 130, 246, 0.16),
    inset 0 0 10px rgba(59, 130, 246, 0.06);
}
.eg-section-badge.bg-label-info {
  color: #9dfbe6;
  background: rgba(47, 228, 207, 0.08);
  border: 1px solid rgba(47, 228, 207, 0.4);
  text-shadow:
    0 0 6px rgba(47, 228, 207, 0.6),
    0 0 14px rgba(47, 228, 207, 0.3);
  box-shadow:
    0 0 14px rgba(47, 228, 207, 0.16),
    inset 0 0 10px rgba(47, 228, 207, 0.06);
}

/* Botón contorno azul (Ver trabajos): neón azul delicado */
[data-bs-theme='dark'] .btn-outline-primary {
  --bs-btn-color: #a7cbff;
  --bs-btn-bg: rgba(59, 130, 246, 0.05);
  --bs-btn-border-color: rgba(93, 196, 255, 0.45);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: rgba(59, 130, 246, 0.16);
  --bs-btn-hover-border-color: rgba(147, 192, 255, 0.9);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(59, 130, 246, 0.22);
  --bs-btn-active-border-color: rgba(147, 192, 255, 0.95);
  text-shadow:
    0 0 6px rgba(93, 196, 255, 0.6),
    0 0 16px rgba(59, 130, 246, 0.3);
  box-shadow:
    0 0 16px rgba(59, 130, 246, 0.16),
    inset 0 0 12px rgba(59, 130, 246, 0.06);
  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
[data-bs-theme='dark'] .btn-outline-primary:hover,
[data-bs-theme='dark'] .btn-outline-primary:focus-visible {
  box-shadow:
    0 0 24px rgba(59, 130, 246, 0.32),
    0 0 48px rgba(59, 130, 246, 0.12),
    inset 0 0 14px rgba(59, 130, 246, 0.1);
}

/* Acordeón FAQ: negro con filo azul, teal al abrirse */
[data-bs-theme='dark'] .accordion .accordion-item {
  background: linear-gradient(180deg, #05080e 0%, #020304 100%);
  border: 1px solid rgba(93, 196, 255, 0.16);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.06);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
[data-bs-theme='dark'] .accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(47, 228, 207, 0.38);
  box-shadow: 0 0 24px rgba(47, 228, 207, 0.12);
}
[data-bs-theme='dark'] .accordion .accordion-button {
  background: transparent;
  color: var(--bs-heading-color);
  box-shadow: none;
}
[data-bs-theme='dark'] .accordion .accordion-button:not(.collapsed) {
  color: #9dfbe6;
  text-shadow: 0 0 10px rgba(47, 228, 207, 0.5);
}

/* Contacto: tarjeta y mapa con filo neón */
[data-bs-theme='dark'] #contacto .card {
  background: linear-gradient(180deg, #05080e 0%, #020304 100%);
  border: 1px solid rgba(93, 196, 255, 0.18);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.08);
}
.eg-map-frame {
  position: relative;
  border-color: rgba(47, 228, 207, 0.22);
  box-shadow: 0 0 22px rgba(47, 228, 207, 0.08);
}
/* Botón "Cómo llegar" flotando sobre el mapa. Va fuera del filtro del mapa para no invertirse */
.eg-map-cta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}
