@font-face {
  font-family: 'Montserrat';
  src: url('04_ASSETS/09_FONTS/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('04_ASSETS/09_FONTS/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('04_ASSETS/09_FONTS/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('04_ASSETS/09_FONTS/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('04_ASSETS/09_FONTS/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('04_ASSETS/09_FONTS/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('04_ASSETS/09_FONTS/Montserrat-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  font-synthesis: none;
}

html, body {
  margin: 0;
  background-color: #BDBDB8 !important; /* Primary Background: Gris Piedra */
  color: #151515 !important; /* Matte Black */
  font-family: 'Montserrat', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

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

/* ─── Header ───────────────────────────────────────────────── */
.header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(21, 21, 21, 0.12); /* Lines and Borders */
  background: rgba(189, 189, 184, 0.85); /* Blurred stone grey */
  backdrop-filter: blur(14px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #151515;
}

.header-back-btn {
  padding: 8px 20px;
  border: 1px solid rgba(21, 21, 21, 0.18);
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #151515;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.header-back-btn:hover {
  background: #151515;
  color: #F1F1ED; /* Off-White */
  border-color: #151515;
}

/* ─── Hero General ─────────────────────────────────────────── */
.hero-general {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 180px 6vw 80px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: #4A4A48; /* Secondary text */
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
body.dynamic-mode .hero-eyebrow { color: #151515 !important; }

@keyframes classicFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-general h1 {
  margin: 10px 0;
  font-weight: 800; /* Montserrat Extra Bold */
  font-size: clamp(3rem, 7.5vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: #151515;
  display: block;
}

.classic-float-wrap {
  display: inline-block;
}
body:not(.dynamic-mode) .classic-float-wrap {
  animation: classicFloat 6s ease-in-out infinite;
}

body.dynamic-mode .hero-general h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
}

.magnet-target {
  display: inline-block;
  will-change: transform;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: #4A4A48;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin: 0;
}

/* ─── Introducción Breve ───────────────────────────────────── */
.intro-section {
  padding: 120px 6vw;
  border-bottom: 1px solid rgba(21, 21, 21, 0.12);
}

.intro-container {
  max-width: 1050px;
}

.intro-text {
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  line-height: 1.35;
  color: #151515;
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.01em;
}
body.dynamic-mode .intro-text {
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ─── Los Cuatro Universos ─────────────────────────────────── */
.universes-section {
  padding: 80px 6vw 120px;
  border-bottom: 1px solid rgba(21, 21, 21, 0.12);
}

.universes-grid {
  display: flex;
  flex-direction: column;
  gap: 80px; /* Aire generoso entre bloques */
}

.universe-card {
  position: relative;
  background: #CECECA !important; /* Surfaces / Boxes */
  border: 1px solid rgba(21, 21, 21, 0.12) !important; /* Lines and borders */
  border-radius: 20px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1.25fr; /* Split layout: detalles izquierda, visual derecha */
  gap: 60px;
  min-height: 82vh; /* Altura premium en desktop (78vh a 92vh) */
  align-items: stretch; /* Estira el contenido */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important; /* Solid relief */
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  text-decoration: none; /* Evita subrayados en enlaces de tarjetas */
  cursor: pointer; /* Mano interactiva en todas las tarjetas */
}

/* Alternado de columnas para flujo editorial dinámico en desktop */
.universe-card:nth-child(even) {
  grid-template-columns: 1.25fr 1fr;
}
.universe-card:nth-child(even) .universe-card-info {
  order: 2; /* Texto a la derecha */
}
.universe-card:nth-child(even) .universe-card-visual {
  order: 1; /* Imagen a la izquierda */
}

.universe-card.preview-mode {
  opacity: 0.75;
}
.universe-card:hover {
  background: #F1F1ED !important; /* Off-White */
  border-color: #151515 !important; /* Borde negro sólido definido */
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
}

.universe-card-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 30px;
}

.universe-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.universe-num {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4A4A48;
}
body.dynamic-mode .universe-num { color: #151515 !important; }

.status-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border: 1px solid rgba(21, 21, 21, 0.15);
  border-radius: 12px;
  color: #4A4A48;
  text-transform: uppercase;
}
.status-tag.active {
  background: #D9D9D5 !important;
  border-color: #151515;
  color: #151515;
}

.universe-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.universe-title {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #151515;
}

.universe-promise {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #4A4A48;
  margin: 0;
  font-weight: 300;
  max-width: 480px; /* Controla la extensión de la línea para legibilidad */
}

.universe-card-visual {
  width: 100%;
  height: 100%;
  min-height: 480px; /* Garantiza altura para la preview en desktop */
  display: block;
}

.universe-preview-img,
.universe-preview-video {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  object-fit: cover; /* Asegura el recorte proporcional del vídeo */
  filter: brightness(0.85) !important; /* Vídeos e imágenes en color con brillo integrado */
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.universe-card:hover .universe-preview-img,
.universe-card:hover .universe-preview-video {
  filter: brightness(1) !important; /* Brillo completo en hover */
  transform: scale(1.02); /* Sutil zoom de interactividad */
}

.universe-card-footer {
  margin-top: auto;
}

.universe-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  border: 1px solid rgba(21, 21, 21, 0.18);
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #151515;
  transition: all 0.3s ease;
  min-width: 240px; /* Anchura consistente para botones grandes */
}
.universe-cta.disabled-cta {
  cursor: not-allowed;
  opacity: 0.5;
}
.universe-cta.scroll-cta {
  background: #151515; /* Matte black button */
  color: #F1F1ED; /* Off-White */
  border-color: #151515;
}
.universe-cta.scroll-cta:hover {
  background: transparent;
  color: #151515;
  border-color: #151515;
}
body.dynamic-mode .universe-cta.scroll-cta {
  background: #151515;
  color: #F1F1ED;
  border-color: #151515;
}
body.dynamic-mode .universe-cta.scroll-cta:hover {
  background: #4A4A48;
  color: #F1F1ED;
  border-color: #4A4A48;
}



/* ─── Cierre ───────────────────────────────────────────────── */
.general-closing-section {
  padding: 160px 6vw;
  text-align: center;
  border-bottom: 1px solid rgba(21, 21, 21, 0.12);
}

.closing-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.general-closing-section h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  line-height: 1.4;
  margin: 0;
  font-weight: 300; /* Montserrat Light */
  letter-spacing: -0.01em;
  color: #151515;
}
body.dynamic-mode .general-closing-section h3 {
  font-weight: 800; /* Montserrat Extra Bold */
  letter-spacing: -0.03em;
}

.closing-cta-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(21, 21, 21, 0.25);
  padding-bottom: 6px;
  color: #151515;
  transition: all 0.3s ease;
}
.closing-cta-link:hover {
  border-color: #151515;
  color: #151515;
}
body.dynamic-mode .closing-cta-link {
  color: #151515;
  border-color: #151515;
}
body.dynamic-mode .closing-cta-link:hover {
  color: #4A4A48;
  border-color: #4A4A48;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-top: 1px solid rgba(21, 21, 21, 0.12);
  font-size: 0.58rem;
  color: #4A4A48;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.footer span { flex-grow: 1; }

.footer-back-btn {
  text-transform: uppercase;
  border-bottom: 1px solid rgba(21, 21, 21, 0.2);
  padding-bottom: 4px;
  color: #151515;
  transition: all 0.3s ease;
}
.footer-back-btn:hover {
  color: #151515;
  border-color: #151515;
}


/* ─── Architectural Background ────────────────────────────── */
.hero-intro-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #050505 !important; /* Deep carbon-black background */
  color: #F1F1ED !important; /* Soft off-white */
}

/* Force light text color and z-index inside the dark Hero/Intro wrapper in both classic & dynamic modes */
.hero-intro-wrapper .hero-general h1,
body.dynamic-mode .hero-intro-wrapper .hero-general h1 {
  color: #F1F1ED !important;
  z-index: 10 !important;
}
.hero-intro-wrapper .hero-eyebrow,
body.dynamic-mode .hero-intro-wrapper .hero-eyebrow {
  color: rgba(241, 241, 237, 0.55) !important;
  z-index: 10 !important;
}
.hero-intro-wrapper .hero-subtitle,
body.dynamic-mode .hero-intro-wrapper .hero-subtitle {
  color: rgba(241, 241, 237, 0.75) !important;
  z-index: 10 !important;
}
.hero-intro-wrapper .intro-text,
body.dynamic-mode .hero-intro-wrapper .intro-text {
  color: #F1F1ED !important;
  z-index: 10 !important;
}
.hero-intro-wrapper .intro-section {
  border-bottom: 1px solid rgba(241, 241, 237, 0.12) !important;
}

/* Bottom blend fade overlay */
.hero-intro-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #050505, transparent);
  pointer-events: none;
  z-index: 3; /* Asegurar que quede encima de la retícula */
}

/* Viewport border frame (Premium tech overlay) */
.hero-intro-wrapper::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  bottom: 30px;
  border: 1px solid rgba(241, 241, 237, 0.03);
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.4s ease;
}
body.dynamic-mode .hero-intro-wrapper::before {
  border-color: rgba(0, 229, 255, 0.05);
}

/* Interactive Blueprint Crosshair Tracker */
.blueprint-crosshair {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-intro-wrapper:hover .blueprint-crosshair {
  opacity: 1;
}

.crosshair-axis {
  position: absolute;
  background: transparent;
  pointer-events: none;
}

.crosshair-axis-h {
  left: 0;
  width: 100%;
  height: 1px;
  border-top: 1px dashed rgba(241, 241, 237, 0.08);
  top: var(--mouse-y, 50%);
  transition: top 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

body.dynamic-mode .crosshair-axis-h {
  border-top-color: rgba(0, 229, 255, 0.16);
}

.crosshair-axis-v {
  top: 0;
  height: 100%;
  width: 1px;
  border-left: 1px dashed rgba(241, 241, 237, 0.08);
  left: var(--mouse-x, 50%);
  transition: left 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

body.dynamic-mode .crosshair-axis-v {
  border-left-color: rgba(0, 229, 255, 0.16);
}

.crosshair-coordinates {
  position: absolute;
  top: calc(var(--mouse-y, 50%) + 18px);
  left: calc(var(--mouse-x, 50%) + 18px);
  font-family: monospace;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(241, 241, 237, 0.35);
  white-space: nowrap;
  transition: top 0.08s ease-out, left 0.08s ease-out;
}

/* Custom Cursor styling (Global Page-level Viewport) */
@media (min-width: 901px) {
  body {
    cursor: none !important; /* Ocultar cursor nativo en toda la página */
  }

  /* Evitar ocultar el cursor sobre elementos del sistema o inputs de texto si fuera necesario */
  input, textarea, select {
    cursor: auto !important;
  }

  .blueprint-crosshair {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999; /* Sobre todo el contenido */
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Solo se muestra cuando el ratón se mueve activamente */
  .blueprint-crosshair.cursor-active {
    opacity: 1;
  }

  .custom-architectural-cursor {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate3d(var(--mouse-x, 50%), var(--mouse-y, 50%), 0) translate(-50%, -50%);
    transition: transform 0.08s ease-out; /* Retardo elástico sutil */
  }

  .cursor-svg-building {
    width: 32px;
    height: 24px;
    color: rgba(241, 241, 237, 0.38);
    transition: color 0.3s ease, transform 0.3s ease;
  }

  body.dynamic-mode .cursor-svg-building {
    color: rgba(0, 229, 255, 0.65);
    filter: drop-shadow(0 0 3px rgba(0, 229, 255, 0.3));
  }

  .cursor-reticle {
    position: absolute;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(241, 241, 237, 0.12);
    border-radius: 50%;
    transition: border-color 0.3s ease;
  }

  body.dynamic-mode .cursor-reticle {
    border-color: rgba(0, 229, 255, 0.28);
    box-shadow: inset 0 0 6px rgba(0, 229, 255, 0.04);
  }
}

/* Ocultar en dispositivos móviles */
@media (max-width: 900px) {
  .custom-architectural-cursor {
    display: none !important;
  }
}

body.dynamic-mode .crosshair-coordinates {
  color: rgba(0, 229, 255, 0.65);
  text-shadow: 0 0 5px rgba(0, 229, 255, 0.25);
}

.architectural-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.architectural-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96%; /* 92-100% visual width with black borders around */
  height: 96%;
  object-fit: cover; /* Video fills container */
  object-position: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22 !important; /* Opacity of 22% (rango 18-24%) */
  filter: none !important; /* Pure JPG without alterations */
  transition: opacity 0.4s ease;
}

/* ─── Columnas Decorativas y Elementos Clásicos ────────────── */

.universes-section {
  position: relative; /* Para las columnas laterales absolutas */
}

/* Columnas laterales flanqueando las 4 cajas — Imagen 1 */
.side-column {
  position: absolute;
  top: 60px;
  bottom: 60px;
  width: 70px; /* Ancho fijo para el vector de columna */
  display: flex;
  flex-direction: column;
  justify-content: space-around; /* Distribuye las columnas a lo largo de todo el scroll */
  gap: 120px;
  opacity: 0.58; /* Aumentado sustancialmente para nitidez (antiguo 0.22) */
  color: var(--text-color);
  pointer-events: none;
  z-index: 2; /* Sobre las cajas, decora los márgenes */
  transition: opacity 0.4s ease, color 0.4s ease, filter 0.4s ease;
  filter: sepia(0.05) brightness(0.9) contrast(1);
}

.side-column--left {
  left: 1.5vw;
}

.side-column--right {
  right: 1.5vw;
}

.column-svg {
  width: 100%;
  height: 740px; /* Tamaño de cada columna individual */
  display: block;
}

/* Dynamic Mode: Tono frío cián técnico con sutil brillo */
body.dynamic-mode .side-column {
  color: var(--accent-dynamic) !important;
  opacity: 0.48; /* Aumentado (antiguo 0.15) */
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.35)) brightness(1.25);
}

/* Detalle Corintio del Footer — Imagen 2 */
.footer {
  position: relative; /* Soporta adorno absoluto */
}

/* Responsive side columns */
@media (max-width: 900px) {
  .side-column {
    display: none; /* Ocultar en tablets y móviles para evitar colisiones */
  }
}


/* Stack content cleanly on top of the bg */
.hero-general,
.intro-section,
.universes-section,
.general-closing-section,
.footer {
  position: relative;
  z-index: 10;
}

/* Text Fade-Up Reveal Animation on Load */
@keyframes fadeUpReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-intro-wrapper .hero-eyebrow {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.hero-intro-wrapper .hero-general h1 {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.22s;
}

.hero-intro-wrapper .hero-subtitle {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.35s;
}

.hero-intro-wrapper .intro-text {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUpReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.48s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-intro-wrapper .hero-eyebrow,
  .hero-intro-wrapper .hero-general h1,
  .hero-intro-wrapper .hero-subtitle,
  .hero-intro-wrapper .intro-text {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
  }
}

/* ─── Responsive Queries ───────────────────────────────────── */
@media (max-width: 768px) {
  /* Hero General */
  .hero-general { min-height: auto; padding: 140px 6vw 50px; }

  /* Universes */
  .universes-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .universe-card {
    grid-template-columns: 1fr !important;
    padding: 40px;
    gap: 30px;
    min-height: auto;
  }
  .universe-card:nth-child(even) {
    grid-template-columns: 1fr !important;
  }
  .universe-card:nth-child(even) .universe-card-info {
    order: 1 !important;
  }
  .universe-card:nth-child(even) .universe-card-visual {
    order: 2 !important;
  }
  .universe-card-info {
    order: 1;
    gap: 20px;
  }
  .universe-card-body {
    margin: 10px 0;
  }
  .universe-title {
    font-size: 2.2rem;
  }
  .universe-promise {
    font-size: 0.95rem;
  }
  .universe-card-visual {
    min-height: auto;
    order: 2;
  }
  .universe-preview-img,
  .universe-preview-video {
    height: 320px;
    min-height: 320px;
  }
  .universe-card-footer {
    order: 3;
    width: 100%;
  }
  .universe-cta {
    width: 100%;
    justify-content: center;
  }

  /* General Closing */
  .general-closing-section { padding: 120px 6vw; }

  /* Mobile reframing for Biblioteca 16x9: towers & center visible, 120-135% scale */
  .architectural-svg {
    width: 128% !important; /* 120-135% scale for mobile */
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: translate(-50%, -50%) !important;
    opacity: 0.20 !important;
  }
}

/* ==========================================================================
   TRATAMIENTO VISUAL CELESTE / CRISTAL TÉCNICO PARA UNIVERSO 05
   ========================================================================== */

/* --- CLASSIC EXPERIENCE (Azul Obsidiana / Cristal Ahumado Iridiscente) --- */
#universe-05-preview {
  background: linear-gradient(135deg, 
    rgba(15, 23, 30, 0.92) 0%, 
    rgba(20, 38, 48, 0.9) 30%, 
    rgba(10, 50, 64, 0.85) 60%, 
    rgba(3, 169, 244, 0.25) 85%, 
    rgba(0, 150, 136, 0.1) 100%
  ) !important;
  background-size: 200% 200% !important;
  background-position: 0% 0% !important;
  border: 1px solid rgba(0, 188, 212, 0.45) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 12px 40px rgba(0, 188, 212, 0.12) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Inversión de textos para contraste perfecto en Classic sobre fondo oscuro */
#universe-05-preview .universe-num {
  color: rgba(255, 255, 255, 0.9) !important;
}
#universe-05-preview .universe-title {
  color: #ffffff !important;
}
#universe-05-preview .universe-promise {
  color: rgba(255, 255, 255, 0.75) !important;
}
#universe-05-preview .universe-cta {
  color: #ffffff !important;
}
#universe-05-preview .universe-cta .arrow {
  color: #ffffff !important;
}

#universe-05-preview:hover {
  background-position: 100% 100% !important;
  border: 1px solid rgba(0, 229, 255, 0.75) !important;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.25), 0 16px 45px rgba(0, 229, 255, 0.22) !important;
}

/* Overlay sutil para la imagen en Classic */
#universe-05-preview .universe-card-visual {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

#universe-05-preview .universe-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 188, 212, 0.18) 0%, rgba(10, 48, 62, 0.25) 100%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
  transition: opacity 0.4s ease;
  border-radius: 12px;
}

#universe-05-preview:hover .universe-card-visual::after {
  opacity: 0.8;
}

/* --- DYNAMIC EXPERIENCE (Cian Eléctrico / Azul Petróleo Profundo) --- */
body.dynamic-mode #universe-05-preview {
  background: linear-gradient(135deg, 
    rgba(8, 14, 20, 0.95) 0%, 
    rgba(10, 28, 40, 0.92) 30%, 
    rgba(0, 72, 85, 0.4) 60%, 
    rgba(0, 229, 255, 0.25) 85%, 
    rgba(0, 229, 255, 0.1) 100%
  ) !important;
  background-size: 200% 200% !important;
  background-position: 0% 0% !important;
  border: 1px solid rgba(0, 229, 255, 0.6) !important;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.2), 0 12px 40px rgba(0, 229, 255, 0.2) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.dynamic-mode #universe-05-preview:hover {
  background-position: 100% 100% !important;
  border: 1px solid rgba(0, 229, 255, 0.95) !important;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.35), 0 16px 45px rgba(0, 229, 255, 0.4) !important;
}

/* Ajuste del overlay de la imagen en Dynamic */
body.dynamic-mode #universe-05-preview .universe-card-visual::after {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2) 0%, rgba(0, 72, 85, 0.3) 100%);
  mix-blend-mode: overlay;
}

/* ─────────────────────────────────────────────────────────────
   REVERSIBLE CROP FOR UNIVERSE 04 VIDEO BORDER ARTIFACT
   Desplaza el vídeo ligeramente a la izquierda (48.8% en vez de 50%) 
   para ocultar por desborde la marca/redondel residual en el extremo derecho.
   ───────────────────────────────────────────────────────────── */
#universe-04-preview .universe-preview-video {
  object-position: 47% center !important;
}



