/* ========================================================= */
/* VARIABLES GLOBALES DEL SITIO                              */
/* ========================================================= */
/*
  Acá centralizo colores, radios, sombras, tamaños y tiempos
  para mantener coherencia visual en toda la página.
*/
:root {
  /* Escala principal de azules */
  --azul-0: #01060f;
  --azul-1: #020814;
  --azul-2: #041020;
  --azul-3: #081a33;
  --azul-4: #0b2b55;
  --azul-5: #15498f;
  --azul-6: #2f74e3;
  --azul-7: #8fd3ff;

  /* Dorados y amarillos */
  --amarillo: #ffd200;
  --amarillo-2: #ffea72;
  --oro: #ffc400;
  --oro-suave: #ffe38a;

  /* Blancos y grises */
  --blanco: #ffffff;
  --gris: #d7e5f7;
  --gris-2: #a8bfdc;
  --gris-3: #7f96b4;
  --gris-4: #536986;

  /* Bordes */
  --borde: 1px solid rgba(255, 255, 255, .12);
  --borde-suave: 1px solid rgba(255, 255, 255, .08);
  --borde-fuerte: 1px solid rgba(255, 255, 255, .18);
  --borde-dorado: 1px solid rgba(255, 210, 0, .24);

  /* Sombras */
  --sombra-xs: 0 8px 20px rgba(0, 0, 0, .14);
  --sombra-sm: 0 14px 30px rgba(0, 0, 0, .18);
  --sombra-md: 0 18px 45px rgba(0, 0, 0, .28);
  --sombra-lg: 0 24px 60px rgba(0, 0, 0, .34);
  --sombra-xl: 0 30px 90px rgba(0, 0, 0, .42);
  --sombra-hero: 0 40px 120px rgba(0, 0, 0, .55);
  --sombra-dorada: 0 0 30px rgba(255, 210, 0, .10);

  /* Radios */
  --radio-sm: 16px;
  --radio-md: 22px;
  --radio-lg: 24px;
  --radio-xl: 30px;
  --radio-xxl: 36px;

  /* Dimensiones */
  --max: 1360px;

  /* Transiciones */
  --transicion: .30s ease;
  --transicion-media: .45s ease;
  --transicion-lenta: .70s ease;

  /* Blur */
  --blur-sm: 8px;
  --blur-md: 14px;
  --blur-lg: 22px;
}

/* ========================================================= */
/* RESET GENERAL                                             */
/* ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 210, 0, .12), transparent 18%),
    radial-gradient(circle at 90% 12%, rgba(47, 116, 227, .18), transparent 22%),
    radial-gradient(circle at 50% 120%, rgba(255, 210, 0, .06), transparent 26%),
    linear-gradient(180deg, var(--azul-0) 0%, var(--azul-1) 16%, var(--azul-2) 42%, var(--azul-3) 72%, #06111f 100%);
}

/*
  Cuando el modal está abierto, desactivo el scroll del body.
*/
body.modal-open {
  overflow: hidden;
}

/* ========================================================= */
/* ELEMENTOS BASE                                            */
/* ========================================================= */
img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  color: #eef5ff;
}

button,
input,
textarea,
select {
  font: inherit;
}

/* ========================================================= */
/* LÍNEAS DECORATIVAS LATERALES                              */
/* ========================================================= */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  width: 2px;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255, 210, 0, .30), transparent);
  box-shadow: 0 0 22px rgba(255, 210, 0, .20);
}

body::before {
  left: 18px;
}

body::after {
  right: 18px;
}

/* ========================================================= */
/* CAPAS DE FONDO                                            */
/* ========================================================= */
.bg-orb,
.bg-grid,
.bg-noise,
.bg-rays,
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 210, 0, .13), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(24, 89, 173, .22), transparent 20%);
  filter: blur(8px);
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .14;
}

.bg-noise {
  opacity: .05;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .28) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 35%, rgba(255, 255, 255, .18) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 75%, rgba(255, 255, 255, .18) 0 1px, transparent 1px);
  background-size: 180px 180px, 220px 220px, 200px 200px;
}

.bg-rays {
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, .02) 50%, transparent 56%),
    linear-gradient(65deg, transparent 0 46%, rgba(255, 210, 0, .03) 50%, transparent 54%);
  opacity: .45;
}

.bg-particles {
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, .18) 0 1px, transparent 1px),
    radial-gradient(circle at 65% 30%, rgba(255, 210, 0, .18) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, rgba(143, 211, 255, .18) 0 1px, transparent 1px),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, .16) 0 1px, transparent 1px);
  background-size: 260px 260px, 300px 300px, 240px 240px, 320px 320px;
  animation: flotarParticulas 16s linear infinite;
  opacity: .18;
}

@keyframes flotarParticulas {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ========================================================= */
/* CONTENEDOR GENERAL                                        */
/* ========================================================= */
.container {
  width: min(92%, var(--max));
  margin: auto;
  position: relative;
  z-index: 2;
}

/* ========================================================= */
/* HEADER                                                    */
/* ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(2, 8, 20, .76);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--blanco);
}

.brand-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 210, 0, .34);
  box-shadow:
    0 16px 36px rgba(255, 210, 0, .22),
    0 0 18px rgba(255, 210, 0, .10);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-size: 1.06rem;
  line-height: 1.05;
}

.brand-text span {
  display: block;
  font-size: .84rem;
  color: var(--gris);
}

.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--blanco);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 6px;
  transition: color var(--transicion);
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amarillo), transparent);
  transition: width .25s ease;
}

.menu a:hover,
.menu a.active {
  color: var(--amarillo);
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

/* ========================================================= */
/* BOTÓN MENÚ MÓVIL                                          */
/* ========================================================= */
.menu-toggle {
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: var(--borde);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: var(--transicion);
}

.menu-toggle:hover {
  border-color: rgba(255, 210, 0, .22);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blanco);
  border-radius: 999px;
  transition: var(--transicion);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================================= */
/* MENÚ MÓVIL                                                */
/* ========================================================= */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  background: rgba(2, 8, 20, .95);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.mobile-menu.is-open {
  max-height: 520px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 4%;
  gap: 10px;
}

.mobile-menu-nav a {
  text-decoration: none;
  color: var(--blanco);
  font-weight: 700;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: var(--transicion);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: #07162d;
  background: linear-gradient(135deg, var(--amarillo), var(--oro));
  border-color: transparent;
}

/* ========================================================= */
/* SECCIONES GENERALES                                       */
/* ========================================================= */
.section {
  padding: 110px 0;
  position: relative;
}

.section-head {
  margin-bottom: 38px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amarillo-2);
  border: 1px solid rgba(255, 210, 0, .18);
  background: rgba(255, 210, 0, .08);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .94;
  letter-spacing: 2px;
  color: var(--amarillo);
  margin-bottom: 14px;
  text-shadow:
    0 0 12px rgba(255, 210, 0, .08),
    0 0 28px rgba(255, 210, 0, .05);
}

.section-subtitle {
  max-width: 920px;
  color: var(--gris);
  font-size: 1.06rem;
}

/* ========================================================= */
/* TAGS Y BOTONES                                            */
/* ========================================================= */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--amarillo-2);
  border: 1px solid rgba(255, 210, 0, .18);
  background: rgba(255, 210, 0, .08);
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(255, 210, 0, .06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease,
    color .25s ease,
    border-color .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amarillo), var(--oro));
  color: #07162d;
  box-shadow:
    0 18px 40px rgba(255, 210, 0, .26),
    0 0 18px rgba(255, 210, 0, .18);
}

.btn-primary:hover {
  box-shadow:
    0 24px 50px rgba(255, 210, 0, .32),
    0 0 26px rgba(255, 210, 0, .26);
}

.btn-secondary {
  background: rgba(255, 255, 255, .07);
  color: var(--blanco);
  border: var(--borde);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
}

/* ========================================================= */
/* HERO ULTRA                                                */
/* ========================================================= */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 40px;
}

.hero-ultra::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(2, 8, 20, .95) 0%, rgba(2, 8, 20, .68) 40%, rgba(2, 8, 20, .92) 100%),
    url('img/hero-institucional.jpg') center/cover;
  filter: saturate(1.02) brightness(.34);
  transform: scale(1.06);
}

.hero-ultra::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 210, 0, .18), transparent 18%),
    radial-gradient(circle at 84% 20%, rgba(21, 73, 143, .30), transparent 22%),
    linear-gradient(180deg, transparent 56%, rgba(2, 8, 20, .80) 100%);
}

.hero-overlay,
.hero-lines,
.hero-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .03), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 30%);
}

.hero-lines {
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(255, 255, 255, .03) 50%, transparent 54%),
    linear-gradient(70deg, transparent 0 47%, rgba(255, 210, 0, .03) 50%, transparent 53%);
  opacity: .35;
}

.hero-shine {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .09), transparent 24%);
  filter: blur(10px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 38px;
  align-items: start;
  padding: 52px 0 46px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 210, 0, .10);
  color: var(--amarillo);
  border: 1px solid rgba(255, 210, 0, .22);
  font-size: .9rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(255, 210, 0, .08);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3b30;
  box-shadow: 0 0 0 0 rgba(255, 59, 48, .7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, .7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(255, 59, 48, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8vw, 7.4rem);
  line-height: .92;
  letter-spacing: 2px;
  margin-bottom: 18px;
  max-width: 980px;
  text-shadow:
    0 0 12px rgba(255, 210, 0, .08),
    0 0 28px rgba(255, 210, 0, .05);
}

.hero h1 span {
  color: var(--amarillo);
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 780px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .10);
  font-size: .83rem;
  font-weight: 700;
  color: var(--gris);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .10);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.hero-feature-card,
.glass-card,
.card,
.map-card,
.side-card,
.video-card,
.video-side,
.gallery-card,
.metric,
.stat,
.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .045));
  border: var(--borde);
  box-shadow: var(--sombra-xl);
  backdrop-filter: blur(var(--blur-md));
}

.hero-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.hero-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) contrast(1.02) brightness(.72);
}

.hero-feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05) 10%, rgba(2, 8, 20, .84) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 210, 0, .16), transparent 24%);
}

.hero-feature-main {
  min-height: 370px;
}

.hero-feature-mini {
  min-height: 250px;
}

.hero-feature-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 2;
}

.hero-feature-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  color: var(--amarillo);
  margin-bottom: 6px;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hero-mission-card {
  border-radius: 30px;
  padding: 28px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.scroll-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amarillo);
  box-shadow: 0 0 12px rgba(255, 210, 0, .25);
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  70% {
    transform: translateY(20px);
    opacity: .25;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(10px);
}

.hero-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 16px 0;
  animation: marqueeMove 28s linear infinite;
}

.hero-marquee-track span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
}

.hero-marquee-track span:nth-child(odd) {
  color: var(--amarillo);
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ========================================================= */
/* TARJETAS GENERALES                                        */
/* ========================================================= */
.stat {
  border-radius: 22px;
  padding: 18px;
  transition: transform var(--transicion), border-color var(--transicion);
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 210, 0, .18);
}

.stat strong {
  display: block;
  color: var(--amarillo);
  font-size: 1.42rem;
  margin-bottom: 4px;
}

.glass-card,
.card,
.map-card,
.side-card,
.video-side,
.video-card {
  border-radius: 30px;
  padding: 28px;
}

.glass-card h3,
.card h3,
.map-card h3,
.side-card h3,
.video-side h3,
.video-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--amarillo);
  letter-spacing: 1px;
  font-size: 2rem;
  margin-bottom: 12px;
}

.bullet-list,
.mission-list,
.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bullet-list li,
.mission-list li,
.contact-list li {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--gris);
  transition: transform var(--transicion), border-color var(--transicion), box-shadow var(--transicion);
}

.bullet-list li:hover,
.mission-list li:hover,
.contact-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 210, 0, .16);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .12);
}

.contact-list a {
  color: var(--amarillo-2);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* ========================================================= */
/* LAYOUTS                                                   */
/* ========================================================= */
.grid-2,
.split-showcase,
.map-grid,
.media-wrap {
  display: grid;
  gap: 26px;
  align-items: stretch;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.split-showcase {
  grid-template-columns: 1.05fr .95fr;
}

.map-grid {
  grid-template-columns: 1.1fr .9fr;
}

.media-wrap {
  grid-template-columns: 1.08fr .92fr;
}

/* ========================================================= */
/* IMAGE PANEL                                               */
/* ========================================================= */
.image-panel {
  min-height: 500px;
  border-radius: 30px;
  overflow: hidden;
  border: var(--borde);
  box-shadow: var(--sombra-xl);
  position: relative;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04) brightness(.84);
}

.image-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05) 10%, rgba(2, 8, 20, .76) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 210, 0, .08), transparent 24%);
}

.panel-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  max-width: 460px;
}

.panel-caption h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--amarillo);
}

/* ========================================================= */
/* MÉTRICAS                                                  */
/* ========================================================= */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.metric {
  padding: 30px 18px;
  border-radius: 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transicion), border-color var(--transicion), box-shadow var(--transicion);
}

.metric:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 210, 0, .22);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .30);
}

.metric::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, .06), transparent 40%);
  pointer-events: none;
}

.metric::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amarillo), transparent);
  opacity: .75;
}

.metric-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.3rem;
  color: var(--amarillo);
  line-height: 1;
}

.metric-label {
  margin-top: 8px;
  color: var(--gris);
  font-weight: 700;
}

/* ========================================================= */
/* SERVICIOS                                                 */
/* ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service {
  border-radius: 24px;
  padding: 26px;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.service:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 210, 0, .26);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}

.icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255, 210, 0, .22), rgba(255, 255, 255, .08));
  color: var(--amarillo);
  border: 1px solid rgba(255, 210, 0, .16);
  font-size: 1.45rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
}

.service h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--amarillo);
}

/* ========================================================= */
/* EFECTOS PREMIUM DE SECCIÓN                                */
/* ========================================================= */
.section-premium {
  position: relative;
  overflow: hidden;
}

.section-premium::before {
  content: '';
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 210, 0, .08), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(47, 116, 227, .12), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, .04), transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.premium-card-glow {
  position: relative;
  overflow: hidden;
}

.premium-card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .05), rgba(255, 210, 0, .04), rgba(47, 116, 227, .05));
  pointer-events: none;
  z-index: 0;
}

.premium-card-glow>* {
  position: relative;
  z-index: 1;
}

/* ========================================================= */
/* MAPA                                                      */
/* ========================================================= */
.premium-map-shell {
  display: grid;
  gap: 16px;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, .10);
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
}

.map-btn:hover,
.map-btn.is-active {
  background: linear-gradient(135deg, var(--amarillo), var(--oro));
  color: #07162d;
  border-color: transparent;
}

.premium-map {
  position: relative;
  min-height: 860px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 210, 0, .12), transparent 20%),
    radial-gradient(circle at 80% 25%, rgba(47, 116, 227, .12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .02));
  box-shadow:
    0 30px 90px rgba(0, 0, 0, .42),
    inset 0 0 40px rgba(255, 255, 255, .03),
    0 0 30px rgba(255, 210, 0, .06);
}

.premium-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .12), transparent 30%),
    radial-gradient(circle at 10% 20%, rgba(255, 210, 0, .10), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(47, 116, 227, .10), transparent 26%);
  pointer-events: none;
  z-index: 1;
}

.map-stage-wrapper {
  position: relative;
  min-height: 940px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.map-stage-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 210, 0, .12), transparent 24%),
    radial-gradient(circle at 50% 55%, rgba(47, 116, 227, .14), transparent 32%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 1;
}

.map-stage {
  position: relative;
  width: min(100%, 780px);
  aspect-ratio: 0.72 / 1;
  z-index: 2;
}

.map-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 24px rgba(255, 210, 0, .10)) drop-shadow(0 0 38px rgba(47, 116, 227, .08));
  user-select: none;
  pointer-events: none;
}

.map-lines-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.map-connection-line {
  stroke: url(#premiumConnectionGradient);
  stroke-width: 2.1;
  opacity: .46;
  stroke-linecap: round;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(255, 210, 0, .22));
  transition: all .25s ease;
}

.map-connection-line.is-active {
  opacity: 1;
  stroke-width: 3.8;
  filter: drop-shadow(0 0 10px rgba(255, 210, 0, .75));
}

.map-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.map-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.map-hotspot:focus-visible {
  outline: 2px solid var(--amarillo);
  outline-offset: 4px;
}

.map-labels {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 4px 7px;
  border-radius: 10px;
  background: rgba(2, 8, 20, .46);
  border: 1px solid rgba(255, 255, 255, .08);
  color: #ffffff;
  font-size: .62rem;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
  text-align: center;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, .20),
    0 0 10px rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
  transition: all .24s ease;
}

.map-label.is-active {
  background: linear-gradient(135deg, #ffd200, #ffc400);
  color: #07162d;
  border-color: transparent;
  box-shadow:
    0 10px 22px rgba(255, 210, 0, .30),
    0 0 12px rgba(255, 210, 0, .18);
  transform: translate(-50%, -50%) scale(1.06);
}

.map-tooltip {
  position: absolute;
  z-index: 20;
  min-width: 240px;
  max-width: 300px;
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(4, 16, 32, .96);
  border: 1px solid rgba(255, 210, 0, .22);
  box-shadow:
    0 20px 30px rgba(0, 0, 0, .28),
    0 0 18px rgba(255, 210, 0, .08);
  color: var(--blanco);
  font-size: .88rem;
  line-height: 1.45;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: .18s ease;
}

.map-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.map-tooltip strong {
  display: block;
  color: var(--amarillo);
  margin-bottom: 6px;
  font-size: .96rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--gris);
  font-size: .86rem;
  font-weight: 700;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amarillo);
  box-shadow: 0 0 0 6px rgba(255, 210, 0, .10);
}

.panel-info {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.panel-info.panel-animado {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(255, 210, 0, .24);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, .34),
    0 0 20px rgba(255, 210, 0, .08);
}

.dept-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.dept-chip {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--gris);
  font-weight: 700;
  transition: .2s ease;
  cursor: pointer;
}

.dept-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, .04), rgba(255, 210, 0, .02), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.dept-chip:hover {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(255, 210, 0, .18);
  box-shadow: 0 10px 18px rgba(0, 0, 0, .14);
}

.dept-chip.is-active {
  background: rgba(255, 210, 0, .10);
  border-color: rgba(255, 210, 0, .28);
  color: var(--amarillo-2);
  box-shadow: 0 0 0 1px rgba(255, 210, 0, .12) inset;
}

/* ========================================================= */
/* VIDEO                                                     */
/* ========================================================= */
.video-card {
  border-radius: 30px;
  overflow: hidden;
  padding: 0;
}

.video-head {
  padding: 24px 26px 0;
}

.video-head h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--amarillo);
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-top: 18px;
  border-top: var(--borde);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-note {
  padding: 18px 24px 24px;
  color: var(--gris);
  font-size: .96rem;
}

.video-side-actions {
  margin-top: 20px;
}

/* ========================================================= */
/* GALERÍA                                                   */
/* ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

.gallery-card {
  padding: 0;
  overflow: hidden;
  min-height: 245px;
  position: relative;
  border-radius: 24px;
  cursor: pointer;
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(255, 210, 0, .26);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, .38),
    0 0 24px rgba(255, 210, 0, .08);
}

.gallery-card:focus-visible {
  outline: 2px solid var(--amarillo);
  outline-offset: 4px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
  filter: saturate(1.02) brightness(.78);
}

.gallery-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) brightness(.88);
}

.gallery-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 18%, rgba(2, 8, 20, .88) 100%),
    radial-gradient(circle at 20% 20%, rgba(255, 210, 0, .05), transparent 24%);
}

.gallery-card::before {
  content: 'Ver galería';
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 210, 0, .14);
  color: var(--amarillo-2);
  border: 1px solid rgba(255, 210, 0, .22);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .6px;
  opacity: 0;
  transform: translateY(-8px);
  transition: .28s ease;
}

.gallery-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
}

.gallery-overlay h3 {
  font-family: 'Bebas Neue', sans-serif;
  color: var(--amarillo);
  font-size: 1.4rem;
}

/* ========================================================= */
/* MODAL GALERÍA                                             */
/* ========================================================= */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s ease, visibility .35s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 210, 0, .10), transparent 22%),
    radial-gradient(circle at 80% 20%, rgba(47, 116, 227, .14), transparent 24%),
    rgba(1, 6, 15, .84);
  backdrop-filter: blur(12px);
}

.gallery-modal-dialog {
  position: relative;
  width: min(1220px, 100%);
  min-height: min(76vh, 820px);
  max-height: 90vh;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04)),
    linear-gradient(180deg, rgba(8, 26, 51, .95), rgba(2, 8, 20, .98));
  box-shadow:
    0 40px 120px rgba(0, 0, 0, .55),
    0 0 35px rgba(255, 210, 0, .08),
    inset 0 0 25px rgba(255, 255, 255, .03);
  z-index: 2;
  transform: translateY(24px) scale(.97);
  transition: transform .35s ease;
}

.gallery-modal.is-open .gallery-modal-dialog {
  transform: translateY(0) scale(1);
}

.gallery-modal-dialog::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 210, 0, .10), transparent 18%),
    radial-gradient(circle at 86% 16%, rgba(47, 116, 227, .12), transparent 20%);
}

.gallery-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .08);
  color: var(--blanco);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: .25s ease;
  backdrop-filter: blur(10px);
}

.gallery-modal-close:hover {
  background: linear-gradient(135deg, var(--amarillo), var(--oro));
  color: #07162d;
  transform: rotate(90deg) scale(1.04);
}

.gallery-modal-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: min(76vh, 820px);
  max-height: 90vh;
}

.gallery-modal-visual {
  padding: 26px 20px 22px 26px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
  min-height: 0;
}

.gallery-modal-main-image-wrap {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)),
    rgba(4, 16, 32, .82);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, .03),
    0 20px 40px rgba(0, 0, 0, .25);
}

.gallery-modal-main-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  max-height: 68vh;
  object-fit: contain;
  object-position: center;
  padding: 14px;
  filter: saturate(1.04) contrast(1.01) brightness(.98);
}

.gallery-modal-main-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .12)),
    radial-gradient(circle at 20% 18%, rgba(255, 210, 0, .08), transparent 22%);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: rgba(2, 8, 20, .56);
  color: var(--blanco);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: .25s ease;
}

.gallery-arrow:hover {
  background: linear-gradient(135deg, var(--amarillo), var(--oro));
  color: #07162d;
  transform: translateY(-50%) scale(1.06);
}

.gallery-arrow-left {
  left: 16px;
}

.gallery-arrow-right {
  right: 16px;
}

.gallery-modal-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-height: 190px;
  overflow: auto;
  padding-right: 4px;
}

.gallery-thumb {
  border: none;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  min-height: 86px;
  transition: .25s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  min-height: 86px;
  object-fit: cover;
  filter: brightness(.82);
}

.gallery-thumb:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 210, 0, .24);
}

.gallery-thumb.is-active {
  border-color: rgba(255, 210, 0, .42);
  box-shadow:
    0 0 0 2px rgba(255, 210, 0, .12) inset,
    0 0 20px rgba(255, 210, 0, .10);
}

.gallery-thumb.is-active img {
  filter: brightness(1);
}

.gallery-modal-info {
  padding: 34px 30px 30px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-height: 0;
  overflow-y: auto;
}

.gallery-modal-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: .95;
  letter-spacing: 1.4px;
  color: var(--amarillo);
  text-shadow:
    0 0 12px rgba(255, 210, 0, .08),
    0 0 22px rgba(255, 210, 0, .06);
}

.gallery-modal-info p {
  font-size: 1rem;
}

.gallery-modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gallery-meta-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.gallery-meta-card strong {
  display: block;
  color: var(--amarillo);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-meta-card span {
  color: var(--gris);
  font-size: .92rem;
}

.gallery-modal-text-block {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}

.gallery-modal-text-block h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 1.5rem;
  color: var(--amarillo);
  margin-bottom: 8px;
}

.gallery-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* ========================================================= */
/* FOOTER                                                    */
/* ========================================================= */
.footer {
  padding: 36px 0 54px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .78);
  background: rgba(0, 0, 0, .14);
  position: relative;
  z-index: 2;
}

.footer-ultra {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01)),
    rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand p+p {
  margin-top: 4px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--gris);
  font-size: .82rem;
  font-weight: 700;
}

/* ========================================================= */
/* BOTONES FLOTANTES                                         */
/* ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, #25D366, #16b857);
  color: white;
  font-size: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
  transition: transform var(--transicion), box-shadow var(--transicion);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .42);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 102px;
  z-index: 998;
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .06));
  color: var(--blanco);
  font-size: 1.4rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: var(--transicion);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--amarillo), var(--oro));
  color: #07162d;
}

/* ========================================================= */
/* REVEAL                                                    */
/* ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================= */
/* SCROLLBAR                                                 */
/* ========================================================= */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 210, 0, .65), rgba(47, 116, 227, .60));
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 210, 0, .85), rgba(47, 116, 227, .80));
}

/* ========================================================= */
/* RESPONSIVE GRANDES                                        */
/* ========================================================= */
@media (max-width:1180px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-modal-grid {
    grid-template-columns: 1fr;
  }

  .gallery-modal-dialog {
    max-height: 92vh;
  }

  .gallery-modal-info {
    padding: 12px 22px 24px;
  }
}

/* ========================================================= */
/* RESPONSIVE TABLET                                         */
/* ========================================================= */
@media (max-width:1060px) {

  .hero-grid,
  .split-showcase,
  .grid-2,
  .map-grid,
  .media-wrap {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .metrics,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-map {
    min-height: 720px;
  }

  .map-stage-wrapper {
    min-height: 780px;
  }

  .map-stage {
    width: min(100%, 640px);
  }

  .hero {
    min-height: auto;
  }

  .gallery-modal-main-image,
  .gallery-modal-main-image-wrap {
    min-height: 360px;
  }
}

/* ========================================================= */
/* RESPONSIVE MÓVIL                                          */
/* ========================================================= */
@media (max-width:760px) {

  body::before,
  body::after {
    display: none;
  }

  .menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding: 24px 0 14px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.9rem);
  }

  .services-grid,
  .metrics,
  .gallery-grid,
  .hero-stats,
  .dept-list,
  .gallery-modal-meta,
  .gallery-modal-thumbs,
  .hero-mini-grid {
    grid-template-columns: 1fr;
  }

  .premium-map {
    min-height: 560px;
  }

  .map-stage-wrapper {
    min-height: 560px;
  }

  .map-stage {
    width: min(100%, 440px);
  }

  .map-label {
    font-size: .52rem;
    padding: 3px 5px;
  }

  .brand-text span {
    display: none;
  }

  .gallery-modal {
    padding: 14px;
  }

  .gallery-modal-dialog {
    border-radius: 24px;
  }

  .gallery-modal-visual {
    padding: 18px 14px 14px;
  }

  .gallery-modal-info {
    padding: 10px 14px 18px;
  }

  .gallery-modal-main-image,
  .gallery-modal-main-image-wrap {
    min-height: 280px;
  }

  .gallery-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.9rem;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    font-size: 26px;
    right: 18px;
    bottom: 18px;
  }

  .back-to-top {
    right: 18px;
    bottom: 86px;
    width: 50px;
    height: 50px;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-marquee-track {
    gap: 28px;
  }

  .hero-marquee-track span {
    font-size: 1.15rem;
  }
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 30px;
}

.social-icons a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #0077ff;
  transform: scale(1.2);
}

.loginA {
  text-decoration: none;
  color: white;
  margin-top: 20px;
  padding: 10px;
  background-color: var(--azul-4);
  border-radius: 30px;
  transition: 250ms ease;
}

.loginA:hover {
  background-color: var(--amarillo);
  color: var(--azul-1);
}

.login {
  display: block;
  text-align: center;
  margin-top: 20px;
}