/* ==========================================================================
   MEDIA NARANJA FILMS - LIQUID GLASS DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Brand Palette */
  --color-brand-orange: #ff6a00;
  --color-brand-orange-light: #ff8533;
  --color-brand-orange-dark: #e05300;
  --color-brand-amber: #ffa238;
  --color-brand-glow: rgba(255, 106, 0, 0.45);
  
  /* Dark Cinematic Backgrounds */
  --bg-primary: #08080a;
  --bg-secondary: #0e0e12;
  --bg-tertiary: #14141a;
  
  /* Liquid Glass System */
  --glass-bg-base: rgba(18, 18, 24, 0.45);
  --glass-bg-elevated: rgba(28, 28, 36, 0.6);
  --glass-bg-hover: rgba(40, 40, 52, 0.7);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-light: rgba(255, 255, 255, 0.22);
  --glass-border-brand: rgba(255, 106, 0, 0.35);
  --glass-specular: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(24px);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  --glass-shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 106, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);

  /* Typography */
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;
  --font-signature: 'Alex Brush', 'Allura', cursive;
  
  /* Text Colors */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-brand: #ff8533;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Background Spotlights (Focos de Luz Naranja Flotantes) */
.ambient-glow-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.glow-pulse {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity, filter;
}

/* Impulso 1: Detonación Volumétrica Ámbar (Noroeste) */
.glow-pulse-1 {
  top: 6%;
  left: 8%;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle, rgba(255, 115, 0, 0.44) 0%, rgba(255, 70, 0, 0.20) 38%, rgba(200, 35, 0, 0.05) 65%, transparent 75%);
  filter: blur(130px);
  animation: explosiveBurst1 4.6s cubic-bezier(0.12, 0.88, 0.2, 1) infinite;
}

/* Impulso 2: Flash Rápido Eléctrico Mandarina (Noreste) */
.glow-pulse-2 {
  top: 15%;
  right: 10%;
  width: 490px;
  height: 490px;
  background: radial-gradient(circle, rgba(255, 155, 25, 0.46) 0%, rgba(255, 95, 5, 0.22) 34%, rgba(240, 50, 0, 0.05) 62%, transparent 72%);
  filter: blur(115px);
  animation: explosiveBurst2 3.4s cubic-bezier(0.1, 0.92, 0.18, 1) infinite -1.4s;
}

/* Impulso 3: Núcleo de Fuego Solar Profundo (Suroeste) */
.glow-pulse-3 {
  bottom: 12%;
  left: 14%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(255, 125, 10, 0.42) 0%, rgba(255, 75, 0, 0.20) 40%, rgba(185, 30, 0, 0.05) 66%, transparent 75%);
  filter: blur(135px);
  animation: explosiveBurst3 5.2s cubic-bezier(0.15, 0.85, 0.25, 1) infinite -2.8s;
}

/* Impulso 4: Gran Detonación Cinemática de Suelo (Sureste) */
.glow-pulse-4 {
  bottom: -6%;
  right: 6%;
  width: 920px;
  height: 920px;
  background: radial-gradient(circle, rgba(255, 90, 0, 0.38) 0%, rgba(255, 55, 0, 0.16) 44%, rgba(160, 20, 0, 0.04) 68%, transparent 75%);
  filter: blur(150px);
  animation: explosiveBurst4 6.4s cubic-bezier(0.12, 0.88, 0.2, 1) infinite -4.1s;
}

/* Impulso 5: Chispazo Dinámico Micro-Impulso (Flanco Central Izquierdo) */
.glow-pulse-5 {
  top: 48%;
  left: -40px;
  width: 370px;
  height: 370px;
  background: radial-gradient(circle, rgba(255, 175, 35, 0.48) 0%, rgba(255, 110, 0, 0.24) 30%, rgba(255, 60, 0, 0.06) 56%, transparent 70%);
  filter: blur(105px);
  animation: explosiveBurst5 2.8s cubic-bezier(0.08, 0.95, 0.15, 1) infinite -0.9s;
}

/* Impulso 6: Resplandor de Aura Cinemática Central (Corona Detrás del Logo Hero) */
.glow-pulse-6 {
  top: 2%;
  left: 50%;
  margin-left: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 120, 15, 0.42) 0%, rgba(255, 75, 0, 0.18) 38%, rgba(200, 35, 0, 0.04) 64%, transparent 74%);
  filter: blur(125px);
  animation: explosiveBurst6 4.2s cubic-bezier(0.14, 0.88, 0.22, 1) infinite -3.0s;
}

/* Foco Interactivo que Sigue Sutilmente al Cursor */
.glow-orb-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 580px;
  height: 580px;
  margin-top: -290px;
  margin-left: -290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 130, 25, 0.22) 0%, rgba(255, 80, 0, 0.08) 42%, rgba(0, 0, 0, 0) 70%);
  filter: blur(130px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
}

/* ==========================================================================
   ANIMACIONES DE IMPULSO RÍTMICO EXPLOSIVO (ATAQUE RÁPIDO Y CAÍDA ORGÁNICA)
   ========================================================================== */

/* Impulso 1: Detonación Volumétrica Noroeste */
@keyframes explosiveBurst1 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.72);
    opacity: 0.05;
    filter: blur(135px);
  }
  14% {
    transform: translate3d(35px, -25px, 0) scale(1.42);
    opacity: 0.62;
    filter: blur(115px);
  }
  28% {
    transform: translate3d(50px, -35px, 0) scale(1.48);
    opacity: 0.45;
    filter: blur(125px);
  }
  55% {
    transform: translate3d(20px, -10px, 0) scale(1.08);
    opacity: 0.14;
    filter: blur(140px);
  }
  80% {
    transform: translate3d(-15px, 15px, 0) scale(0.82);
    opacity: 0.06;
    filter: blur(135px);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(0.72);
    opacity: 0.05;
    filter: blur(135px);
  }
}

/* Impulso 2: Flash Rápido Eléctrico Noreste */
@keyframes explosiveBurst2 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.65);
    opacity: 0.03;
    filter: blur(115px);
  }
  12% {
    transform: translate3d(-40px, 20px, 0) scale(1.5);
    opacity: 0.64;
    filter: blur(100px);
  }
  25% {
    transform: translate3d(-55px, 30px, 0) scale(1.35);
    opacity: 0.42;
    filter: blur(115px);
  }
  50% {
    transform: translate3d(-20px, 10px, 0) scale(0.95);
    opacity: 0.11;
    filter: blur(125px);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(0.65);
    opacity: 0.03;
    filter: blur(115px);
  }
}

/* Impulso 3: Núcleo de Fuego Suroeste */
@keyframes explosiveBurst3 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.78);
    opacity: 0.05;
    filter: blur(140px);
  }
  16% {
    transform: translate3d(30px, -40px, 0) scale(1.4);
    opacity: 0.58;
    filter: blur(118px);
  }
  32% {
    transform: translate3d(45px, -50px, 0) scale(1.45);
    opacity: 0.44;
    filter: blur(130px);
  }
  60% {
    transform: translate3d(15px, -15px, 0) scale(1.02);
    opacity: 0.12;
    filter: blur(145px);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(0.78);
    opacity: 0.05;
    filter: blur(140px);
  }
}

/* Impulso 4: Gran Detonación Cinemática Sureste */
@keyframes explosiveBurst4 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.75);
    opacity: 0.06;
    filter: blur(155px);
  }
  15% {
    transform: translate3d(-35px, -45px, 0) scale(1.36);
    opacity: 0.56;
    filter: blur(130px);
  }
  30% {
    transform: translate3d(-50px, -60px, 0) scale(1.42);
    opacity: 0.42;
    filter: blur(145px);
  }
  58% {
    transform: translate3d(-20px, -20px, 0) scale(1.05);
    opacity: 0.14;
    filter: blur(160px);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(0.75);
    opacity: 0.06;
    filter: blur(155px);
  }
}

/* Impulso 5: Micro-Chispazo Centro-Izquierda */
@keyframes explosiveBurst5 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.5);
    opacity: 0.02;
    filter: blur(100px);
  }
  10% {
    transform: translate3d(45px, 15px, 0) scale(1.55);
    opacity: 0.65;
    filter: blur(85px);
  }
  22% {
    transform: translate3d(60px, 20px, 0) scale(1.38);
    opacity: 0.40;
    filter: blur(95px);
  }
  45% {
    transform: translate3d(25px, 5px, 0) scale(0.9);
    opacity: 0.08;
    filter: blur(110px);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(0.5);
    opacity: 0.02;
    filter: blur(100px);
  }
}

/* Impulso 6: Corona Cinemática Superior / Logo */
@keyframes explosiveBurst6 {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0.05;
    filter: blur(130px);
  }
  14% {
    transform: translate3d(0, 25px, 0) scale(1.38);
    opacity: 0.58;
    filter: blur(110px);
  }
  28% {
    transform: translate3d(0, 35px, 0) scale(1.42);
    opacity: 0.42;
    filter: blur(125px);
  }
  55% {
    transform: translate3d(0, 15px, 0) scale(1.02);
    opacity: 0.11;
    filter: blur(135px);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0.05;
    filter: blur(130px);
  }
}

/* Grano de Película Analógico / Celuloide 35mm Sutil (Canvas)
   Posicionado sobre el fondo ambiental (z-index: 1) y ESTRICTAMENTE POR DEBAJO del contenido (main: z-index: 2) */
#film-grain-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.08;
}

/* Desactivar cualquier elemento de grano grueso residual */
.film-grain {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Main Content Layer (Strictly above background and grain canvas) */
main {
  position: relative;
  z-index: 2;
}

/* Main Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Section Common Styling */
section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 9999px;
  color: var(--color-brand-orange-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #cfcfd6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Subpage Dedicated Hero Banner */
.page-hero-banner {
  position: relative;
  padding: 150px 0 50px 0;
  text-align: center;
  z-index: 2;
}

.page-hero-banner .section-header {
  margin-bottom: 24px;
}

.subpage-feature-section {
  position: relative;
  z-index: 2;
  padding: 10px 0 100px 0;
}

/* Home Page Teaser Showcase Blocks */
.home-teasers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 60px 0;
}

.teaser-card {
  background: var(--glass-bg-base);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 36px 32px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.teaser-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  opacity: 0.8;
}

.teaser-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-elevated);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: var(--glass-shadow-hover);
}

.teaser-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.teaser-card-text {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .home-teasers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 40px 0;
  }
  .page-hero-banner {
    padding: 120px 0 35px 0;
  }
}

/* ==========================================================================
   NAVIGATION BAR (LIQUID GLASS)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px 0;
}

.site-header.scrolled {
  padding: 12px 0;
}

/* Liquid Glass Dynamic Background Canvas (Left-to-Right Reveal & Luminous Sheen) */
.header-glass-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.header-glass-bar {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  will-change: transform, opacity;
}

.site-header.scrolled .header-glass-bar {
  transform: scaleX(1);
  opacity: 1;
}

/* Glass Sheen Beam and Orange Border Spark: eliminados a pedido del usuario */
.header-glass-sheen,
.header-border-spark {
  display: none !important;
}

.nav-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(255, 106, 0, 0.35);
  transform-origin: center center;
  will-change: transform, box-shadow, filter;
  transition: transform 0.65s cubic-bezier(0.22, 1.25, 0.36, 1), box-shadow 0.65s ease, filter 0.65s ease;
}

.nav-logo-icon.nav-logo-glow-active {
  box-shadow: 0 0 24px rgba(255, 130, 20, 0.88),
              0 0 10px rgba(255, 190, 60, 0.95),
              0 0 38px rgba(255, 90, 0, 0.55),
              inset 0 0 4px rgba(255, 255, 255, 0.65);
  filter: brightness(1.18);
}

.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-brand-orange);
  box-shadow: 0 0 8px var(--color-brand-orange);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Curved Pill Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 9999px;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-pill-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  border: 1px solid rgba(255, 106, 0, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.btn-pill-glass:hover {
  background: rgba(255, 106, 0, 0.15);
  border-color: var(--color-brand-orange);
  box-shadow: 0 0 25px rgba(255, 106, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.btn-pill-brand {
  background: linear-gradient(135deg, var(--color-brand-orange-light) 0%, var(--color-brand-orange-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.btn-pill-brand:hover {
  box-shadow: 0 12px 35px rgba(255, 106, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transform: translateY(-2px) scale(1.02);
}

/* WhatsApp Header Button: Transparent with orange border by default, turns green on hover in desktop mode */
.btn-pill-whatsapp {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-primary);
  border: 1px solid rgba(255, 106, 0, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

/* Cambia a verde al pasar el mouse por encima solamente en modo escritorio */
@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
  .btn-pill-whatsapp:hover {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-color: #25d366;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.55), 0 8px 25px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
  }
}

/* Efecto de reflejo cada 2 segundos de izquierda a derecha en botones de Agendar y WhatsApp */
.btn-pill-whatsapp::after,
.btn-pill-brand:not(#modal-gallery-video .btn-pill-brand)::after,
a[href*="8728rh6jwi.zite.so"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  animation: btn-reflection-sweep 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btn-reflection-sweep {
  0% {
    left: -130%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  42% {
    left: 150%;
    opacity: 1;
  }
  48% {
    left: 150%;
    opacity: 0;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-pill-whatsapp::after,
  .btn-pill-brand::after,
  a[href*="8728rh6jwi.zite.so"]::after {
    animation: none;
    display: none;
  }
}

.btn-icon-circle {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-pill:hover .btn-icon-circle {
  transform: translate(2px, -2px);
}

/* Responsive Button Text Labels (Desktop default) */
.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none !important;
}

.btn-booking-tilt .btn-gyro-sheen {
  display: none;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 50px;
  position: relative;
  overflow: visible; /* Permite que las partículas del logo se expandan sobre el header sin cortes */
  background: transparent;
}

/* Elevación del Logotipo Hero y partículas por encima de la barra de navegación y sus letras */
body.hero-logo-burst-active main,
body:has(.hero-interactive-logo-wrapper.is-open) main,
body:has(.hero-interactive-logo-wrapper:hover) main {
  z-index: 120;
}

body.hero-logo-burst-active .hero-section,
body:has(.hero-interactive-logo-wrapper.is-open) .hero-section,
body:has(.hero-interactive-logo-wrapper:hover) .hero-section {
  z-index: 120;
  overflow: visible;
}

body.hero-logo-burst-active .hero-content,
body:has(.hero-interactive-logo-wrapper.is-open) .hero-content,
body:has(.hero-interactive-logo-wrapper:hover) .hero-content {
  z-index: 120;
}

body.hero-logo-burst-active .hero-interactive-logo-wrapper,
.hero-interactive-logo-wrapper.is-open,
.hero-interactive-logo-wrapper:hover {
  z-index: 150;
}

body.hero-logo-burst-active .floating-cluster,
.hero-interactive-logo-wrapper.is-open .floating-cluster,
.hero-interactive-logo-wrapper:hover .floating-cluster {
  z-index: 160;
}

body.hero-logo-burst-active .floating-item,
.hero-interactive-logo-wrapper.is-open .floating-item,
.hero-interactive-logo-wrapper:hover .floating-item {
  z-index: 165;
}

/* El menú móvil lateral siempre se mantiene en la cima absoluta cuando está abierto */
body:has(.nav-menu.open) .site-header,
.site-header:has(.nav-menu.open) {
  z-index: 300 !important;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Brand Headings: medianaranja en blanco puro con leve borde sombreado */
.hero-brand-name {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 1;
  color: #ffffff;
  margin-top: clamp(14px, 2vw, 22px);
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
  user-select: none;
  letter-spacing: -0.03em;
  will-change: opacity, transform;
}

/* "media" y "naranja": letras blancas puras, sólidas y limpias, sin trazos interiores */
.brand-word-media,
.brand-word-naranja {
  font-weight: 800;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
  font-size: clamp(0.75rem, 1.6vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 14px;
  margin-bottom: 16px;
  will-change: opacity, transform;
}

/* ==========================================================================
   INTERACTIVE CARDS (BODAS & 15 AÑOS)
   ========================================================================== */
.hero-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto 36px auto;
  position: relative;
  z-index: 5;
  perspective: 1200px;
}

.liquid-card {
  position: relative;
  background: var(--glass-bg-base);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 16px;
  box-shadow: var(--glass-shadow);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}

.liquid-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  opacity: 0.8;
}

.liquid-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 60%, rgba(220, 226, 238, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.liquid-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: var(--glass-bg-elevated);
  border-color: rgba(220, 228, 242, 0.45);
  box-shadow: 
    0 18px 36px rgba(0, 0, 0, 0.7),
    0 28px 60px -8px rgba(220, 228, 242, 0.38),
    0 42px 85px -12px rgba(195, 208, 225, 0.22),
    0 0 28px rgba(235, 240, 252, 0.18);
}

/* Card Media Slot (Photo/Video Container) */
.card-media-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #111116;
  margin-bottom: 16px;
}

.card-media-slot img,
.card-media-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.liquid-card:hover .card-media-slot img,
.liquid-card:hover .card-media-slot video {
  transform: scale(1.06);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.8) 0%, rgba(8, 8, 10, 0.1) 60%, transparent 100%);
  pointer-events: none;
}

.card-tag-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-brand-amber);
  text-transform: uppercase;
}

/* Card Footer Bar */
.card-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 14px 6px 14px;
}

.card-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-title {
  font-family: var(--font-primary, 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: clamp(1.30rem, 2.2vw, 1.65rem);
  font-weight: 300;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  display: inline-block;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  transition: letter-spacing 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              text-shadow 0.4s ease,
              color 0.4s ease;
}

.liquid-card:hover .card-title {
  letter-spacing: 0.35em;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.65), 0 2px 14px rgba(0, 0, 0, 0.85);
}

.card-subtitle {
  font-family: var(--font-secondary, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.70rem, 1.0vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.60);
  transition: color 0.35s ease;
}

.liquid-card:hover .card-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

/* Refined Action Pill Button */
.card-refined-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
  padding: 8px 16px 8px 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-refined-btn .btn-text {
  font-family: var(--font-primary, 'Outfit', sans-serif);
  font-size: 0.80rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.35s ease, letter-spacing 0.35s ease;
}

.card-refined-btn .btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-refined-btn .btn-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease, transform 0.35s ease;
}

.liquid-card:hover .card-refined-btn {
  background: rgba(255, 106, 0, 0.16);
  border-color: rgba(255, 140, 40, 0.70);
  box-shadow: 0 0 24px rgba(255, 106, 0, 0.38), inset 0 1px 2px rgba(255, 255, 255, 0.45);
  transform: translateX(4px);
}

.liquid-card:hover .card-refined-btn .btn-text {
  color: #ffaa5e;
  letter-spacing: 0.18em;
}

.liquid-card:hover .card-refined-btn .btn-icon {
  background: var(--color-brand-orange);
  box-shadow: 0 0 12px rgba(255, 106, 0, 0.6);
  transform: rotate(45deg);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  margin-top: 10px;
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}

.scroll-pill-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: var(--glass-blur);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
  animation: bounceSlow 2.5s infinite;
}

.scroll-pill-btn:hover {
  color: #fff;
  border-color: var(--color-brand-orange);
  box-shadow: 0 0 20px rgba(255, 106, 0, 0.4);
}

@keyframes bounceSlow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

/* ==========================================================================
   SERVICES & SECTIONS: BODAS & 15 AÑOS
   ========================================================================== */
.feature-showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.feature-showcase-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-media-box {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--glass-bg-base);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.feature-media-box img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-media-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,106,0,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.feature-info-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-info-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.feature-info-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 10px 0;
}

.feature-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 106, 0, 0.15);
  border: 1px solid rgba(255, 106, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-brand-orange-light);
  font-size: 0.8rem;
}

.feature-bullet-text strong {
  color: #ffffff;
  display: block;
}

.feature-bullet-text span {
  font-size: 0.92rem;
  color: var(--text-tertiary);
}

.action-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

/* ==========================================================================
   CÓMO TRABAJAMOS (ESTRUCTURA ESTRATÉGICA DOCUMENTAL & INSTITUCIONAL)
   ========================================================================== */
.manifesto-hero-section {
  position: relative;
  padding: 160px 0 50px 0;
  z-index: 2;
}

.manifesto-header-block {
  max-width: 980px;
  margin: 0;
  text-align: left;
}

.manifesto-main-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin-top: 18px;
  margin-bottom: 34px;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.manifesto-phrase {
  display: inline-block;
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease, text-shadow 0.45s ease;
  cursor: default;
  will-change: transform;
}

.manifesto-phrase.phrase-white {
  color: #ffffff;
}

.manifesto-phrase.phrase-white:hover {
  transform: scale(1.035);
  text-shadow: 0 0 28px rgba(255, 255, 255, 0.38);
}

.manifesto-main-title .title-highlight {
  color: var(--color-brand-orange-light);
  background: linear-gradient(135deg, #ff8c33 0%, #ff5500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto-phrase.phrase-orange:hover {
  transform: scale(1.035);
  filter: drop-shadow(0 0 24px rgba(255, 106, 0, 0.5));
}

.manifesto-lead-narrative {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 920px;
}

.manifesto-p-lead {
  font-size: clamp(1.15rem, 1.4vw, 1.32rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

.manifesto-p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.manifesto-p strong {
  color: #ffffff;
  font-weight: 600;
}

.manifesto-quote-callout {
  background: rgba(255, 106, 0, 0.07);
  border-left: 3px solid var(--color-brand-orange);
  border-radius: 0 18px 18px 0;
  padding: 24px 28px;
  margin: 12px 0 18px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.manifesto-quote-callout p {
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.manifesto-quote-callout strong {
  color: var(--color-brand-orange-light);
  font-weight: 600;
}

/* SECTION: NUESTRA FORMA DE ESTAR PRESENTES */
.pillars-section {
  position: relative;
  z-index: 2;
  padding: 30px 0 70px 0;
}

.pillars-header {
  text-align: left;
  max-width: 900px;
  margin-bottom: 36px;
}

.pillars-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: #ffffff;
  margin-top: 14px;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.pillars-intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.principle-card {
  background: var(--glass-bg-base);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 42px 36px;
  position: relative;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.principle-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-elevated);
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: var(--glass-shadow-hover);
}

.principle-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand-orange-light);
  background: rgba(255, 106, 0, 0.12);
  border: 1px solid rgba(255, 106, 0, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 20px;
}

.principle-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.principle-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brand-orange-light);
  margin-bottom: 18px;
}

.principle-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* DOCUMENTARY CONTEXT IMAGERY */
.documentary-context-section {
  position: relative;
  z-index: 2;
  padding: 20px 0 70px 0;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.context-image-box {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #0d0d12;
  position: relative;
  box-shadow: var(--glass-shadow);
}

.context-image-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.context-img-party {
  object-position: center 12% !important;
}

.context-img-dance {
  object-position: center 25% !important;
}

.context-image-box:hover img {
  transform: scale(1.03);
}

.context-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 22px;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.92) 0%, rgba(8, 8, 10, 0.4) 75%, transparent 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* SECTION: AL FINAL DEL DÍA */
.closing-reflection-section {
  position: relative;
  z-index: 2;
  padding: 10px 0 60px 0;
}

.closing-card {
  background: var(--glass-bg-base);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 48px 44px;
  max-width: 980px;
  text-align: left;
  box-shadow: var(--glass-shadow);
}

.closing-title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin-top: 14px;
  margin-bottom: 20px;
}

.closing-lead {
  font-size: clamp(1.15rem, 1.4vw, 1.3rem);
  line-height: 1.75;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 18px;
}

.closing-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

/* SECTION: ¿HABLAMOS? (CTA CONVERSACIONAL ESTRUCTURADO) */
.cta-conversation-section {
  position: relative;
  z-index: 2;
  padding: 20px 0 100px 0;
}

.cta-conversation-box {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12) 0%, rgba(15, 15, 20, 0.88) 100%);
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 28px;
  padding: 44px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 106, 0, 0.12);
}

.cta-conversation-title {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-conversation-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  max-width: 600px;
  margin: 0;
}

.cta-conversation-action {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.workflow-card {
  background: var(--glass-bg-base);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px 24px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.workflow-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-elevated);
  border-color: rgba(255, 106, 0, 0.3);
  box-shadow: var(--glass-shadow-hover);
}

.workflow-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: var(--transition-smooth);
}

.workflow-card:hover .workflow-step-num {
  color: var(--color-brand-orange-light);
  text-shadow: 0 0 15px rgba(255, 106, 0, 0.4);
}

.workflow-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.workflow-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   QUIÉNES SOMOS (TEAM SHOWCASE)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--glass-bg-base);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: var(--glass-shadow-hover);
}

.team-photo-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0e0e12;
  margin-bottom: -1px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}

.team-photo-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: filter, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

/* En escritorio con ratón: al pasar el mouse por la tarjeta, pasa a color con zoom suave */
@media (hover: hover) and (pointer: fine) {
  .team-card:hover .team-photo-wrapper img,
  .team-card:focus-within .team-photo-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.04) translate3d(0, 0, 0);
  }
}

/* En smartphones y dispositivos táctiles: siempre en color */
@media (hover: none), (pointer: coarse), (max-width: 991px) {
  .team-photo-wrapper img {
    filter: grayscale(0%) !important;
  }
}

.team-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -2px;
  background: linear-gradient(to top, rgba(14, 14, 18, 0.95) 0%, rgba(14, 14, 18, 0.35) 25%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.team-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
  z-index: 3;
  background: linear-gradient(to bottom, rgba(14, 14, 18, 0.95) 0%, rgba(18, 18, 24, 0.5) 45px);
}

.team-member-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.team-member-role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand-orange-light);
  margin-bottom: 14px;
}

.team-member-bio {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Instagram Direct Link Button for Team Members */
.team-instagram-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 11px 20px;
  border-radius: 9999px;
  background: rgba(168, 85, 247, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.45);
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.team-instagram-btn:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(192, 132, 252, 0.85);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.45), 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.team-instagram-btn:active {
  transform: translateY(0);
}

/* Violet Instagram Icon */
.team-instagram-btn .instagram-icon-violet {
  width: 18px;
  height: 18px;
  stroke: #bf5af2;
  color: #bf5af2;
  filter: drop-shadow(0 0 6px rgba(191, 90, 242, 0.65));
  transition: transform 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
}

.team-instagram-btn:hover .instagram-icon-violet {
  transform: scale(1.12);
  filter: drop-shadow(0 0 10px rgba(191, 90, 242, 0.95));
}

/* Brillo / reflejo que pasa de izquierda a derecha cada 2 segundos */
.team-instagram-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(192, 132, 252, 0.4) 75%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: instagram-reflection-sweep 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes instagram-reflection-sweep {
  0% {
    left: -130%;
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  42% {
    left: 150%;
    opacity: 1;
  }
  48% {
    left: 150%;
    opacity: 0;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-instagram-btn::after {
    animation: none;
    display: none;
  }
}

/* ==========================================================================
   QUIÉNES SOMOS: EN RODAJE / BEHIND THE SCENES SHOWCASE
   ========================================================================== */
.bts-showcase-section {
  margin-top: 85px;
}

.bts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.bts-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.bts-center-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.bts-center-col .bts-card-horizontal {
  flex: 1;
}

.bts-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: var(--glass-bg-base);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bts-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 106, 0, 0.45);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.85), 0 0 24px rgba(255, 106, 0, 0.16);
}

.bts-card-vertical .bts-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
}

.bts-card-horizontal .bts-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 248px;
  overflow: hidden;
}

.bts-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.bts-card:hover .bts-img-wrapper img {
  transform: scale(1.05);
}

.bts-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.45) 45%, transparent 75%);
  pointer-events: none;
  transition: background 0.4s ease;
}

.bts-card:hover .bts-card-overlay {
  background: linear-gradient(to top, rgba(8, 8, 10, 0.96) 0%, rgba(8, 8, 10, 0.35) 50%, transparent 80%);
}

.bts-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(14, 14, 18, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.bts-card-badge svg {
  color: var(--color-brand-orange);
}

.bts-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px 22px;
  pointer-events: none;
}

.bts-tag {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand-orange-light);
  margin-bottom: 5px;
}

.bts-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.bts-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 991px) {
  .bts-grid,
  .bts-secondary-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .bts-card-vertical .bts-img-wrapper {
    min-height: 400px;
  }
  .bts-card-horizontal .bts-img-wrapper {
    min-height: 250px;
  }
}

/* ==========================================================================
   QUIÉNES SOMOS: NUESTRA FILOSOFÍA (EDITORIAL GLASS CARD)
   ========================================================================== */
.philosophy-section {
  margin-top: 85px;
}

.philosophy-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 50px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.09) 0%, var(--glass-bg-base) 70%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: var(--glass-shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.45), transparent);
}

.philosophy-title {
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 22px;
  line-height: 1.25;
}

.philosophy-text {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto;
  font-weight: 400;
}

@media (max-width: 768px) {
  .philosophy-section {
    margin-top: 60px;
  }
  .philosophy-card {
    padding: 38px 24px;
    border-radius: 22px;
  }
  .philosophy-text {
    line-height: 1.7;
  }
}

/* ==========================================================================
   CALL TO ACTION BANNER & FOOTER
   ========================================================================== */
.cta-banner-section {
  padding: 80px 0;
}

.cta-glass-box {
  background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.15) 0%, var(--glass-bg-base) 60%);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: 36px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-glass-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,106,0,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #e0e0e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(6, 6, 8, 0.9);
  padding: 60px 0 30px 0;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-pill:hover {
  background: var(--color-brand-orange);
  color: #fff;
  border-color: var(--color-brand-orange);
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.4);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   BOTÓN FLOTANTE DINÁMICO WHATSAPP • TRANSFORMACIÓN 3D DE LOGOTIPOS
   (ISOTIPO MEDIA NARANJA ↔ ISOTIPO WHATSAPP)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* Tooltip flotante con cristal líquido (modo escritorio) */
.morph-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  background: rgba(14, 14, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 8px 16px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(12px) scale(0.94);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 991;
}

.morph-tooltip .tooltip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
  animation: pulseDot 2s infinite;
}

.floating-whatsapp:hover .morph-tooltip {
  opacity: 1;
  transform: translateX(0) scale(1);
  border-color: rgba(37, 211, 102, 0.4);
}

/* Orb circular de cristal líquido cinemático */
.morph-btn-orb {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.75);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
  animation: morphOrbAura 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.floating-whatsapp:hover .morph-btn-orb {
  transform: translateY(-4px) scale(1.08);
}

/* Capas dinámicas de fondo líquido */
.morph-bg-wa,
.morph-bg-media {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.morph-bg-wa {
  background: radial-gradient(circle at 35% 30%, #2bf077 0%, #20c65d 55%, #108c42 100%);
  animation: morphBgWaAnim 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.morph-bg-media {
  background: radial-gradient(circle at 35% 30%, #252532 0%, #111116 60%, #060609 100%);
  box-shadow: inset 0 0 16px rgba(255, 106, 0, 0.32);
  animation: morphBgMediaAnim 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Pulso de radar reactivo concéntrico */
.morph-radar-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: morphRadarPulseAnim 8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Reflejo especular vítreo superior */
.morph-glass-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.12) 38%, transparent 58%);
  pointer-events: none;
  z-index: 5;
}

/* Haz de luz diagonal cinematográfico que barre durante la transformación */
.morph-light-sweep {
  position: absolute;
  inset: -35%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.85) 50%, transparent 65%);
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  transform: translateX(-130%) rotate(25deg);
  animation: morphLightSweepAnim 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Escenario de iconos con apertura de diafragma y foco óptico */
.morph-icon-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* Cara WhatsApp: Literal, Oficial (Burbuja blanca con teléfono sobre fondo verde) */
.morph-glyph-wa {
  position: absolute;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: morphWaGlyphAnim 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.morph-glyph-wa .morph-wa-svg {
  width: 100%;
  height: 100%;
  fill: #ffffff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

/* Cara Media Naranja: Isotipo Oficial */
.morph-glyph-media {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  animation: morphMediaGlyphAnim 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.morph-glyph-media .morph-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
}

/* ==========================================================================
   ANIMACIONES SINCRONIZADAS: TRANSMUTACIÓN ÓPTICA & APERTURA CINEMATOGRÁFICA (8.0s)
   - 0.0s a 3.6s: WhatsApp Oficial visible, nítido y reconocible
   - 3.6s a 4.5s: Transmutación sofisticada con diafragma y barrido especular hacia Media Naranja
   - 4.5s a 7.2s: Media Naranja visible y nítido
   - 7.2s a 8.0s: Transmutación sofisticada de regreso a WhatsApp
   ========================================================================== */

@keyframes morphOrbAura {
  0%, 36% {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7),
                0 0 26px rgba(37, 211, 102, 0.50),
                inset 0 1px 2px rgba(255, 255, 255, 0.45);
  }
  40% {
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.8),
                0 0 42px rgba(255, 255, 255, 0.75),
                inset 0 1px 4px rgba(255, 255, 255, 0.85);
  }
  45%, 85% {
    border: 1.5px solid rgba(255, 115, 0, 0.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7),
                0 0 28px rgba(255, 106, 0, 0.42),
                inset 0 1px 2px rgba(255, 255, 255, 0.4);
  }
  89% {
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.8),
                0 0 42px rgba(255, 255, 255, 0.75),
                inset 0 1px 4px rgba(255, 255, 255, 0.85);
  }
  94%, 100% {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7),
                0 0 26px rgba(37, 211, 102, 0.50),
                inset 0 1px 2px rgba(255, 255, 255, 0.45);
  }
}

@keyframes morphBgWaAnim {
  0%, 36% { opacity: 1; transform: scale(1); }
  43% { opacity: 0; transform: scale(0.92); }
  88% { opacity: 0; transform: scale(0.92); }
  94%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes morphBgMediaAnim {
  0%, 36% { opacity: 0; transform: scale(0.92); }
  43%, 88% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(0.92); }
}

@keyframes morphWaGlyphAnim {
  0%, 34% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px);
    visibility: visible;
  }
  40% {
    opacity: 0;
    transform: scale(0.38) rotate(-35deg);
    filter: blur(6px);
    visibility: hidden;
  }
  89% {
    opacity: 0;
    transform: scale(0.38) rotate(35deg);
    filter: blur(6px);
    visibility: hidden;
  }
  95%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px);
    visibility: visible;
  }
}

@keyframes morphMediaGlyphAnim {
  0%, 37% {
    opacity: 0;
    transform: scale(0.38) rotate(35deg);
    filter: blur(6px);
    visibility: hidden;
  }
  44%, 85% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0px);
    visibility: visible;
  }
  91% {
    opacity: 0;
    transform: scale(0.38) rotate(-35deg);
    filter: blur(6px);
    visibility: hidden;
  }
  100% {
    opacity: 0;
    transform: scale(0.38) rotate(35deg);
    filter: blur(6px);
    visibility: hidden;
  }
}

@keyframes morphLightSweepAnim {
  0%, 34% { opacity: 0; transform: translateX(-130%) rotate(25deg); }
  38% { opacity: 1; }
  43% { opacity: 0.95; transform: translateX(130%) rotate(25deg); }
  45%, 85% { opacity: 0; transform: translateX(-130%) rotate(25deg); }
  89% { opacity: 1; }
  94% { opacity: 0.95; transform: translateX(130%) rotate(25deg); }
  96%, 100% { opacity: 0; transform: translateX(130%) rotate(25deg); }
}

@keyframes morphRadarPulseAnim {
  0%, 36% {
    border: 2px solid rgba(37, 211, 102, 0.55);
    transform: scale(0.98);
    opacity: 0.8;
  }
  18% {
    border: 1px solid rgba(37, 211, 102, 0);
    transform: scale(1.45);
    opacity: 0;
  }
  45%, 85% {
    border: 2px solid rgba(255, 115, 0, 0.55);
    transform: scale(0.98);
    opacity: 0.8;
  }
  63% {
    border: 1px solid rgba(255, 115, 0, 0);
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* ==========================================================================
   MODALS SYSTEM (LIQUID GLASS DIALOGS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: rgba(20, 20, 26, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  border-radius: 32px;
  width: 100%;
  max-width: 680px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 106, 0, 0.15);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-window {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(255, 106, 0, 0.3);
  border-color: var(--color-brand-orange);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* Modal Form Controls */
.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-form-grid .full-width {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Gallery Modal Specifics */
.gallery-filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}

.filter-tab-btn {
  padding: 8px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab-btn.active,
.filter-tab-btn:hover {
  background: var(--color-brand-orange);
  color: #fff;
  border-color: var(--color-brand-orange);
  box-shadow: 0 0 15px rgba(255, 106, 0, 0.4);
}

.gallery-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 6px;
}

.gallery-modal-grid .gallery-modal-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.gallery-modal-grid .gallery-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-modal-grid .gallery-modal-thumb:hover img {
  transform: scale(1.08);
}

/* Video Showcase Modal */
.video-preview-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
}

.video-preview-player iframe,
.video-preview-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox Modal Base Styles (Desktop & Base) */
.modal-lightbox-window {
  max-width: 950px;
  background: rgba(8, 8, 12, 0.95);
  padding: 20px;
}

.lightbox-media-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  color: var(--color-brand-orange-light);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   SUBPAGE ENHANCEMENTS: GALLERIES, EXPERIENCES & SPECS
   ========================================================================== */

.subpage-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.subpage-gallery-grid {
  column-count: 3;
  column-gap: 24px;
  margin-top: 36px;
}

.subpage-gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  display: block;
  aspect-ratio: auto !important;
}

.subpage-gallery-item img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: contain !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.subpage-gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(255, 106, 0, 0.2);
}

.subpage-gallery-item:hover img {
  transform: scale(1.04);
}

/* Experience Cards Grid */
.experience-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.experience-card {
  background: var(--glass-bg-base);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px 26px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.experience-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-elevated);
  border-color: rgba(255, 106, 0, 0.35);
  box-shadow: var(--glass-shadow-hover);
}

.experience-card-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.22);
  color: var(--color-brand-orange);
  transition: all 0.35s ease;
}

.experience-card:hover .experience-card-icon {
  background: rgba(255, 106, 0, 0.16);
  border-color: rgba(255, 106, 0, 0.45);
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255, 106, 0, 0.25);
}

.experience-card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.experience-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.experience-card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Workflow Guarantees Grid */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.guarantee-card {
  background: rgba(18, 18, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 26px 20px;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.guarantee-card:hover {
  border-color: rgba(255, 106, 0, 0.35);
  transform: translateY(-4px);
}

.guarantee-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.guarantee-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.guarantee-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .subpage-gallery-grid {
    column-count: 2;
    column-gap: 20px;
  }
  .subpage-gallery-item {
    margin-bottom: 20px;
  }
  .experience-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .subpage-gallery-grid {
    column-count: 2;
    column-gap: 10px;
  }
  .subpage-gallery-item {
    margin-bottom: 10px;
  }
  .experience-cards-grid {
    grid-template-columns: 1fr;
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
}

/* Teaser Card Media Slot */
.teaser-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: #111;
}

.teaser-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.teaser-card:hover .teaser-card-media img {
  transform: scale(1.06);
}

/* ==========================================================================
   MOBILE SMARTPHONE BOTTOM NAVIGATION BAR (BASE: HIDDEN ON DESKTOP & TABLET)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}
