:root {
  --ms-gold: #FFC107; /* Tono dorado más cálido y limpio estilo Apple */
  --ms-gold-light: #FFD54F;
  --ms-silver: #E8E8E8; /* Plateado más limpio */
  --ms-silver-dark: #BDBDBD;

  --ms-bg-primary: #FFFFFF; /* Blanco puro */
  --ms-bg-secondary: #FAFAFA; /* Gris muy claro */
  --ms-bg-tertiary: #F5F5F7; /* Gris Apple */

  --ms-text-primary: #1D1D1F; /* Negro Apple */
  --ms-text-secondary: #6E6E73; /* Gris medio Apple */
  --ms-text-tertiary: #86868B; /* Gris claro Apple */

  --ms-border-light: rgba(0, 0, 0, 0.06);
  --ms-glass: rgba(0, 0, 0, 0.03);
  
  /* Sombras estilo Apple */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.06), 0 10px 10px rgba(0, 0, 0, 0.02);
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "DM Sans", system-ui, sans-serif;
  background: var(--ms-bg-primary);
  color: var(--ms-text-primary);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  color: var(--ms-text-primary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Montserrat", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ms-text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

.brand-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "DM Sans", sans-serif;
  letter-spacing: -0.02em;
}

/* Colores de utilidad */
.text-gold { color: var(--ms-gold); }
.text-secondary { color: var(--ms-text-secondary); }
.text-tertiary { color: var(--ms-text-tertiary); }
.bg-navy { background-color: var(--ms-bg-primary); }
.bg-navy2 { background-color: var(--ms-bg-secondary); }
.bg-tertiary { background-color: var(--ms-bg-tertiary); }
.border-gold { border-color: var(--ms-gold) !important; }

.ms-logo {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

/* ==========================================
   NAVBAR — CSS Grid Layout Centrado
   Logo centrado con menús balanceados
   ========================================== */

/* ── CSS variables de layout ────────────────────────────────── */
:root {
  --nav-h:    122px;  /* logo 90px + padding vertical 2×16px */
  --nav-h-sm:  68px;  /* mobile: logo 60px + padding 2×4px */
}

/* Navbar — Apple style: siempre visible con fondo blanco frosted-glass */
.navbar-multiserviccr {
  position: sticky;
  top: 0;
  height: var(--nav-h);
  z-index: 1040;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    background   0.35s cubic-bezier(0.28, 0.11, 0.32, 1),
    box-shadow   0.35s cubic-bezier(0.28, 0.11, 0.32, 1);
  animation: navbarDrop 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  /* Necesario para el ::before gold line */
  overflow: visible;
}

/* ── Línea dorada que sweepea desde el centro al hacer scroll ── */
.navbar-multiserviccr::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent       5%,
    rgba(212,175,55,0.45) 30%,
    #D4AF37           50%,
    rgba(212,175,55,0.45) 70%,
    transparent       95%
  );
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}

/* Al hacer scroll: fondo sólido, sombra y gold line */
.navbar-multiserviccr.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.07);
  border-bottom-color: transparent;
}
.navbar-multiserviccr.scrolled::before {
  transform: scaleX(1);
}

/* 1. Contenedor principal del Navbar (CSS Grid es la magia aquí) */
/* 1. Contenedor principal del Navbar (Responsive) */
.navbar-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr; 
  align-items: center;
  padding: 1rem 2rem;
  background-color: transparent;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .navbar-layout {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 1rem;
    grid-template-columns: none;
  }
  
  .navbar-collapse {
    background: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  }

  .navbar-layout {
      flex-wrap: wrap;
  }

  .navbar-nav {
      flex-direction: column;
      gap: 1.5rem;
      text-align: center;
      padding: 1rem 0;
  }

  .navbar-nav-left, .navbar-nav-right {
      padding: 0;
      justify-content: center;
      width: 100%;
  }

  .navbar-brand-center {
      order: -1; /* Mueve el logo arriba o mantenlo en el centro */
  }

  .navbar-collapse.show {
      animation: slideDownFade 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  }
}

@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 2. Listas de navegación (Flexbox para alinear los enlaces) */
.navbar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2.5rem; /* Espaciado entre opciones */
}

/* El menú izquierdo se empuja hacia la derecha (hacia el logo) */
.navbar-nav-left {
  justify-content: flex-end;
  padding-right: 2rem;
}

/* El menú derecho se empuja hacia la izquierda (hacia el logo) */
.navbar-nav-right {
  justify-content: flex-start;
  align-items: center; /* Alinea los enlaces con el botón CTA */
  padding-left: 2rem;
}

/* 3. Estilos de los enlaces de texto */
.nav-link {
  text-decoration: none;
  color: #4A4A4A;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  border-radius: 8px;
  padding: 0.32rem 0.7rem;
  background: transparent;
  transition: color 0.3s ease, background 0.3s ease;
}

/* Underline dorado — crece desde el centro con glow */
.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(
    90deg,
    transparent    0%,
    #D4AF37       25%,
    #FFD54F       50%,
    #D4AF37       75%,
    transparent  100%
  );
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.45);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #111111;
  background: rgba(0, 0, 0, 0.04);
}

.nav-link:hover::after,
.nav-link-active::after {
  transform: scaleX(1);
}

.nav-link-active {
  color: #111111;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

/* 4. Estilo para el Logo */
.navbar-brand-center {
  display: flex;
  justify-content: center;
}

.ms-logo--nav {
  height: 90px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (max-width: 991.98px) {
  .ms-logo--nav {
      height: 70px;
  }
}

.ms-logo--nav:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.35)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.navbar-multiserviccr.scrolled .ms-logo--nav {
  height: 80px;
}

@media (max-width: 991.98px) {
    .navbar-multiserviccr {
        height: auto;
        min-height: 80px;
    }
}

/* ═════════════���═════════════════════════��═══════════════════
   NAVBAR — Keyframes & entrance animations
   ═══════════════════════════════════════��═══════════════════ */

@keyframes navbarDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes navItemReveal {
  from { opacity: 0; transform: translateY(-7px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes navLogoReveal {
  from { opacity: 0; transform: scale(0.90); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes navItemRevealMobile {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Desktop: links aparecen escalonados desde arriba en page load */
@media (min-width: 992px) {
  .navbar-nav .nav-item {
    animation: navItemReveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .navbar-nav .nav-item:nth-child(1) { animation-delay: 0.22s; }
  .navbar-nav .nav-item:nth-child(2) { animation-delay: 0.30s; }
  .navbar-nav .nav-item:nth-child(3) { animation-delay: 0.38s; }
  /* Logo (4th) — escala en lugar de drop */
  .navbar-nav .nav-item:nth-child(4) {
    animation: navLogoReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.20s both;
  }
  .navbar-nav .nav-item:nth-child(5) { animation-delay: 0.46s; }
  .navbar-nav .nav-item:nth-child(6) { animation-delay: 0.54s; }
  .navbar-nav .nav-item:nth-child(7) { animation-delay: 0.62s; }
}

/* Mobile: links deslizán desde la izquierda al abrir el menú */
@media (max-width: 991px) {
  .navbar-collapse.show .nav-item {
    animation: navItemRevealMobile 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.04s; }
  .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.10s; }
  .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.16s; }
  .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.22s; }
  .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.28s; }
  .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.34s; }
  .navbar-collapse.show .nav-item:nth-child(7) { animation-delay: 0.40s; }
}

/* Asegura que el padding del nav-link en mobile sea el esperado */
@media (max-width: 1024px) {
  .nav-link {
    border-radius: 10px;
    padding: 0.75rem 1rem;
  }
  .nav-link-active {
    border-radius: 10px;
  }
}

/* 5. Botón de Llamado a la Acción (Acceder) */
.nav-link-cta {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%); /* Efecto plata metalizado sutil */
  color: #333333 !important;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  border: 1px solid #d1d1d1;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-link-cta::after {
  display: none; /* Quitamos la línea del hover normal */
}

.nav-link-cta:hover {
  background: linear-gradient(135deg, #E6C25A 0%, #B89020 100%); /* Transición a dorado metálico */
  color: #ffffff !important;
  border-color: #B89020;
  transform: translateY(-2px); /* Se levanta un poco */
  box-shadow: 2px 4px 8px rgba(0,0,0,0.15);
}

/* =============================================================
   BOTONES — Estilo Apple limpio y minimalista
   ============================================================= */

.btn {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 12px;
  padding: 0.7rem 1.8rem;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-gold {
  background: var(--ms-gold);
  color: #000;
  font-weight: 600;
}

.btn-gold:hover {
  background: var(--ms-gold-light);
  color: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-gold {
  border: 2px solid var(--ms-gold);
  color: var(--ms-gold);
  background: transparent;
  font-weight: 600;
}

.btn-outline-gold:hover {
  background: var(--ms-gold);
  color: #000;
  border-color: var(--ms-gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  background: var(--ms-text-primary);
  color: #fff;
  font-weight: 600;
}

.btn-primary:hover {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 0.9rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 14px;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* ==========================================================================
   HERO CAROUSEL — Apple Premium Style
   Arquitectura robusta: imágenes y textos SIEMPRE visibles
   ========================================================================== */

.hero-section {
    position: relative;
    /*
     * Altura expansiva: 90vh permite que el hero domine la pantalla 
     * sin sentirse atrapado por el navbar, y deja ver el comienzo 
     * de la siguiente sección para mayor fluidez.
     */
    height: 90dvh;
    min-height: 650px;
    overflow: hidden;
}

/* El carrusel y sus elementos internos ocupan toda la altura definida */
.hero-section #heroCarousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
    height: 100%;
    width: 100%;
}

/* ── 2. Imagen de fondo — siempre visible ──────────────────────────────── */
.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    display: block;
}

/* Ken Burns — variante cinematográfica por slide */
.carousel-item.active.kb-1 .hero-bg-image {
    animation: kbZoomIn  9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.carousel-item.active.kb-2 .hero-bg-image {
    animation: kbPanLeft 9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.carousel-item.active.kb-3 .hero-bg-image {
    animation: kbZoomOut  9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.carousel-item.active.kb-4 .hero-bg-image {
    animation: kbPanRight 9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes kbZoomIn {
    from { transform: scale(1.18) translateY(2%); }
    to   { transform: scale(1.00) translateY(0);  }
}
@keyframes kbPanLeft {
    from { transform: scale(1.14) translateX(5%);  }
    to   { transform: scale(1.04) translateX(-2%); }
}
@keyframes kbZoomOut {
    from { transform: scale(1.00) translateX(-1%); }
    to   { transform: scale(1.12) translateX(1%);  }
}
@keyframes kbPanRight {
    from { transform: scale(1.14) translateX(-5%); }
    to   { transform: scale(1.04) translateX(2%);  }
}

/* ── 3. Degradado oscuro: lateral + viñeta inferior ────────────────────── */
.hero-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(105deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.52) 42%, rgba(0,0,0,0.10) 100%),
        linear-gradient(to top,  rgba(0,0,0,0.60) 0%, transparent 32%);
}

/* ── 4. Contenedor del contenido del slide ─────────────────────────────── */
.hero-slide-wrap {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    /* Sin padding-top: el navbar sticky ya ocupa su espacio en el flujo */
}

/* ── 5. Cuerpo del texto — Glassmorphism Premium ───────────────────────── */
.hero-slide-body {
    max-width: 640px;
    padding: 3.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid #D4AF37;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Animación de entrada base */
@keyframes heroEntrance {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Stagger cinematográfico: cada elemento entra con su propio delay */
.carousel-item.active .hero-eyebrow {
    animation: heroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.carousel-item.active .hero-headline {
    animation: heroEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.carousel-item.active .hero-lead {
    animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.60s both;
}
.carousel-item.active .hero-cta-group {
    animation: heroEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.85s both;
}

/* ── 6. Tipografía ─────────────────────────────────────────────────────── */
.hero-kicker {
    display: inline-block;
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-headline {
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 3.2rem); /* Reducido para mejor balance */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.90);
    font-size: 1.25rem; /* Aumentado para no forzar la vista */
    line-height: 1.65;
    font-weight: 400; /* Peso normal para legibilidad */
    max-width: 55ch;
    margin-bottom: 2.5rem;
}

/* ── 7. Botón CTA con destello metálico ────────────────────────────────── */
.hero-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%); /* Dorado de marca */
    color: #ffffff;
    padding: 1.1rem 2.8rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border: none;
    border-radius: 4px; /* Apple prefiere bordes muy ligeros o rectos en premium cases */
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 30px rgba(184, 144, 32, 0.3);
}

.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.3) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
}

.hero-btn-primary:hover {
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(184, 144, 32, 0.5);
}

.hero-btn-primary:hover::before {
    animation: ctaShine 0.8s forwards;
}

@keyframes ctaShine {
    to { left: 150%; }
}

/* ── 8. Controles de navegación ────────────────────────────────────────── */
.hero-controls-cluster {
    position: absolute;
    bottom: 5.5rem;
    right: 5%;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.hero-ctrl {
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%; /* Botones circulares como Apple */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-ctrl:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transform: scale(1.1);
}

/* ── 9. Indicadores de Slide (Dots) ────────────────────────────────────── */




/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    :root { 
        --nav-h: var(--nav-h-sm); 
    }

    .navbar-multiserviccr {
        height: var(--nav-h-sm);
    }

    /* En mobile el logo sí puede ser más pequeño */
    .ms-logo--nav { height: 60px; }

    .hero-section {
        height: 85dvh;
        min-height: 550px;
    }

    .hero-slide-wrap {
        align-items: center;
        justify-content: center;
    }

    .hero-slide-body {
        padding: 2.5rem 2rem;
        max-width: 90%;
        text-align: center;
        border-left: none;
        border-top: 3px solid #D4AF37;
    }

    .hero-headline { font-size: 2.2rem; }
    .hero-lead { font-size: 1rem; }

    .hero-controls-cluster, .hero-indicators {
        bottom: 2rem;
    }
}

@media (max-width: 680px) {
    .hero-slide-body { padding: 2rem 1.5rem; }
    .hero-kicker { font-size: 0.7rem; letter-spacing: 3px; }
    .hero-headline { font-size: 1.8rem; }
    .hero-btn-primary { width: 100%; }
    .hero-indicators { display: none; }
}



/* ── 9. Barra de progreso del slide ────────────────────────────────────── */
.hero-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #D4AF37 0%, #FFD970 60%, #D4AF37 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
    z-index: 20;
    transform-origin: left center;
}
.hero-progress-bar.is-running {
    animation: heroProgress 5s linear forwards;
}
@keyframes heroProgress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ── 10. Indicadores (pills) ───────────────────────────────────────────── */
.hero-indicators {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}
.hero-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-dot.active {
    width: 30px;
    border-radius: 4px;
    background: #D4AF37;
    border-color: #D4AF37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.55);
}

/* ── 11. Badge Premio Nacional ──────────────────────────────────────────── */
.hero-award-badge {
    position: absolute;
    top: 50%;
    right: 7%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-left: 3px solid #D4AF37;
    padding: 1.25rem 1.75rem;
    animation: heroEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
    max-width: 260px;
}
.award-trophy-icon {
    font-size: 2.4rem;
    color: #D4AF37;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
    animation: trophyPulse 3s ease-in-out 2.2s infinite;
}
@keyframes trophyPulse {
    0%, 100% { filter: drop-shadow(0 0 6px  rgba(212, 175, 55, 0.4)); }
    50%       { filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.9)); }
}
.award-badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.award-badge-label {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: #D4AF37;
    font-weight: 700;
}
.award-badge-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

/* ── 12. Scroll hint ───────────────────────────────────────────────────── */
.hero-scroll-hint {
    position: absolute;
    bottom: 1.75rem;
    right: 5%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.55;
    transition: opacity 0.3s;
    animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.4s both;
}
.hero-scroll-hint:hover { opacity: 0.9; }
.hero-scroll-text {
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    font-weight: 600;
}
.hero-scroll-line {
    width: 1px;
    height: 38px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
    0%   { opacity: 0.3; transform: scaleY(0.6) translateY(-4px); }
    50%  { opacity: 1.0; transform: scaleY(1.0) translateY(0);    }
    100% { opacity: 0.3; transform: scaleY(0.6) translateY(4px);  }
}

/* ── Responsive: ocultar elementos decorativos en mobile ───────────────── */
@media (max-width: 1024px) {
    .hero-award-badge { display: none; }
    .hero-scroll-hint { display: none; }
    .hero-indicators  { bottom: 1.2rem; }
}
@media (max-width: 680px) {
    .hero-dot { width: 6px; height: 6px; }
    .hero-dot.active { width: 22px; }
}



/* =============================================================
   SECTION UTILITIES
   ============================================================= */

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #D4AF37;
    margin-bottom: 1.5rem;
    padding: 7px 16px 7px 11px;
    background: rgba(212, 175, 55, 0.07);
    border-left: 3px solid #D4AF37;
    border-radius: 0 6px 6px 0;
}
.section-kicker::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background: #D4AF37;
    border-radius: 50%;
    flex-shrink: 0;
}


/* =============================================================
   BIDIRECTIONAL SCROLL REVEAL SYSTEM
   Aparece al hacer scroll ↓ · Desaparece al regresar ↑
   ============================================================= */

/* ── Variante: fade-up ─────────────────────────────────────── */
[data-reveal="fade-up"] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
                transform 0.8s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
/* ── Variante: slide-left (entra desde la izquierda) ───────── */
[data-reveal="slide-left"] {
    opacity: 0;
    transform: translateX(-72px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
                transform 0.85s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
/* ── Variante: slide-right ─────────────────────────────────── */
[data-reveal="slide-right"] {
    opacity: 0;
    transform: translateX(72px);
    transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
                transform 0.85s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
/* ── Variante: blur-in ─────────────────────────────────────── */
[data-reveal="blur-in"] {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(22px);
    transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
                transform 0.9s cubic-bezier(0.16,1,0.3,1),
                filter 0.9s ease;
    will-change: opacity, transform, filter;
}
/* ── Variante: zoom-blur (media / video) ───────────────────── */
[data-reveal="zoom-blur"] {
    opacity: 0;
    transform: scale(1.07);
    filter: blur(10px);
    transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
                transform 1s cubic-bezier(0.16,1,0.3,1),
                filter 1s ease;
    will-change: opacity, transform, filter;
}
/* ── Variante: clip-left (wipe cinematográfico)
     NOTA: clip-path también debe ir en un hijo para que
     IntersectionObserver detecte el contenedor correctamente.
     Por eso opacity:0 actúa como fallback de visibilidad. ── */
[data-reveal="clip-left"] {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s cubic-bezier(0.77,0,0.175,1),
                opacity 0.01s linear;
    will-change: clip-path, opacity;
}
/* ── Variante: clip-bottom (wipe vertical) ─────────────────── */
[data-reveal="clip-bottom"] {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.95s cubic-bezier(0.77,0,0.175,1),
                opacity 0.01s linear;
    will-change: clip-path, opacity;
}
/* ── Variante: scale-up ────────────────────────────────────── */
[data-reveal="scale-up"] {
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
                transform 0.8s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}

/* ── ESTADO REVELADO — aplica a todos ─────────────────────── */
[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
}
[data-reveal="clip-left"].is-revealed,
[data-reveal="clip-bottom"].is-revealed {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

/* ── Delays ────────────────────────────────────────────────── */
[data-reveal-delay="100"] { transition-delay: 0.10s; }
[data-reveal-delay="200"] { transition-delay: 0.20s; }
[data-reveal-delay="300"] { transition-delay: 0.30s; }
[data-reveal-delay="400"] { transition-delay: 0.40s; }
[data-reveal-delay="500"] { transition-delay: 0.50s; }
[data-reveal-delay="600"] { transition-delay: 0.60s; }
[data-reveal-delay="700"] { transition-delay: 0.70s; }

/* ── STAGGER CONTAINER ─────────────────────────────────────── */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
[data-stagger].is-revealed > *:nth-child(1) { opacity:1; transform:none; transition-delay: 0.04s; }
[data-stagger].is-revealed > *:nth-child(2) { opacity:1; transform:none; transition-delay: 0.16s; }
[data-stagger].is-revealed > *:nth-child(3) { opacity:1; transform:none; transition-delay: 0.28s; }
[data-stagger].is-revealed > *:nth-child(4) { opacity:1; transform:none; transition-delay: 0.40s; }
[data-stagger].is-revealed > *:nth-child(5) { opacity:1; transform:none; transition-delay: 0.52s; }
[data-stagger].is-revealed > *:nth-child(6) { opacity:1; transform:none; transition-delay: 0.64s; }

/* ── Accesibilidad: respetar prefer-reduced-motion ─────────── */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-stagger] > * {
        transition: opacity 0.3s ease !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }
}


/* =============================================================
   SECTION REDESIGN — Identidad visual diferenciada
   ============================================================= */

/* ── Número decorativo de sección (background watermark) ────── */
.ms-section {
    position: relative;
    overflow: hidden;
}
.ms-section::before {
    content: attr(data-section-num);
    position: absolute;
    top: -0.5rem;
    right: -1rem;
    font-size: clamp(6rem, 17vw, 13rem);
    font-weight: 900;
    font-family: -apple-system, BlinkMacSystemFont, "Montserrat", sans-serif;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.08);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    letter-spacing: -0.06em;
}
.ms-section > .container  { position: relative; z-index: 1; }

/* ── Fondo alterno: secciones pares con tinte cálido ────────── */
.ms-section--alt {
    background: linear-gradient(160deg, #FAFAF8 0%, #F5F4F0 100%);
}

/* Separador dorado entre secciones */
.ms-section + .ms-section {
    border-top: 1px solid rgba(212, 175, 55, 0.10);
}

/* ── section-title: línea dorada animada al revelar ─────────── */
.section-title {
    position: relative;
}



.quality-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #f5f5f7;
}

.quality-img:hover {
  transform: translateY(-10px) scale(1.02);
  filter: brightness(1.04);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: rgba(212, 175, 55, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7); /* Fondo blanco translúcido */
  border: 1px solid rgba(0, 0, 0, 0.08); /* Borde sutil */
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Sombra más sutil */
  border-radius: 18px;
}

.service-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(201, 168, 76, 0.12);
}

.service-card:hover {
  border-color: rgba(201, 168, 76, 0.6);
  background: rgba(201, 168, 76, 0.08);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════════════════
   SERVICE CARDS — Dark Gold Premium Edition
   Imagen como textura, número con CSS counter, shimmer en hover
   ═══════════════════════════════════════════════════════════ */

/* CSS Counter para los números 01–04 */
.ms-section[data-section-num="03"] .row[data-stagger] {
    counter-reset: svc 0;
}
.service-photo-card {
    counter-increment: svc;
}

/* ── Base card ── */
.service-photo-card {
    position: relative;
    background: linear-gradient(150deg, #0D0D12 0%, #191920 100%);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.14);
    border-bottom: 3px solid rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
    min-height: 230px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.45s ease;
}

/* ── Shimmer sweep on hover ── */
.service-photo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -110%;
    width: 65%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.06),
        transparent
    );
    transform: skewX(-18deg);
    z-index: 3;
    pointer-events: none;
    transition: none;
}
.service-photo-card:hover::before {
    animation: svcCardShine 0.75s ease forwards;
}
@keyframes svcCardShine {
    to { left: 140%; }
}

/* ── Número dorado watermark (CSS counter) ── */
.service-photo-card::after {
    content: counter(svc, decimal-leading-zero);
    position: absolute;
    bottom: 0.6rem;
    right: 1.2rem;
    font-size: 4.5rem;
    font-weight: 900;
    font-family: 'Montserrat', -apple-system, sans-serif;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(212, 175, 55, 0.13);
    line-height: 1;
    letter-spacing: -0.06em;
    pointer-events: none;
    z-index: 1;
    transition: -webkit-text-stroke-color 0.4s ease;
}
.service-photo-card:hover::after {
    -webkit-text-stroke-color: rgba(212, 175, 55, 0.28);
}

/* ── Imagen como textura oscura de fondo ── */
.service-photo-card .service-image-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 0;
}
.service-photo-card .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(0.18);
    transition: filter 0.6s ease, transform 0.8s ease;
}
.service-photo-card .service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(8, 8, 12, 0.88) 0%,
        rgba(20, 18, 28, 0.82) 100%
    );
    z-index: 1;
}

/* ── Contenido sobre la imagen ── */
.service-photo-card .service-content {
    position: relative;
    z-index: 2;
    padding: 1.6rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Icono sólido dorado ── */
.service-photo-card .service-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #D4AF37 0%, #A87C15 100%);
    color: #fff;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
    border: none;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.38);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.35s ease;
    flex-shrink: 0;
}

/* ── Tipografía ── */
.service-photo-card h4 {
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.45rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.service-photo-card .service-tagline {
    font-size: 0.82rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 0;
    font-weight: 400;
}

/* ── Hover ── */
.service-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 50px rgba(212, 175, 55, 0.16),
                0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.4);
    border-bottom-color: #D4AF37;
}
.service-photo-card:hover .service-image {
    filter: grayscale(80%) brightness(0.25);
    transform: scale(1.06);
}
.service-photo-card:hover .service-icon {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.55);
}
.service-photo-card:hover h4 {
    color: #FFD54F;
}

.architect-band {
  border-top: 1px solid rgba(0, 0, 0, 0.2); /* Borde oscuro */
  border-bottom: 1px solid rgba(0, 0, 0, 0.2); /* Borde oscuro */
}

.architecture-grid .col-6:nth-child(2),
.architecture-grid .col-6:nth-child(3) {
  margin-top: 1.1rem;
}

.architect-video .glass-card {
  border: 1px solid rgba(255, 241, 0, 0.35);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9)); /* Gradiente blanco suave */
}

.architect-video-player {
  border: 1px solid rgba(0, 0, 0, 0.25); /* Borde oscuro */
  background: #f0f0f0; /* Fondo claro */
}

/* ── Promise Section Premium ── */
.promise-section {
    position: relative;
    background-color: #fdfdfd;
}

.promise-card {
    position: relative;
    padding: 3.5rem 2.5rem;
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
}

.promise-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.08); /* Número de fondo sutil */
    line-height: 1;
    letter-spacing: -2px;
    transition: all 0.5s ease;
}

.promise-icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.5s ease;
}

.promise-card h4 {
    font-weight: 800;
    font-size: 1.4rem;
    color: #111;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.promise-card .text-secondary {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666 !important;
}

/* Hover effects */
.promise-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

.promise-card:hover .promise-num {
    color: rgba(212, 175, 55, 0.15);
    transform: scale(1.1);
}

.promise-card:hover .promise-icon {
    background: #D4AF37;
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.counter {
  font-family: "DM Sans", sans-serif;
  font-size: 2.5rem;
  color: var(--ms-gold);
  font-weight: 700;
}

.footer-links a {
  color: var(--ms-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.footer-links a:hover {
  color: var(--ms-gold);
}

.admin-card {
  border-left: 4px solid var(--ms-gold);
}

/* =============================================================
   ADMIN — Dashboard stat cards
   ============================================================= */
.admin-stat-card {
  border-left: 4px solid var(--ms-gold);
  border-radius: 14px;
}

.admin-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #0b0b0b;
  color: var(--ms-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 193, 7, 0.22);
  flex-shrink: 0;
}

.admin-stat-icon i {
  font-size: 1.15rem;
}

.text-secondary {
  color: rgba(0,0,0,0.65) !important;
}

/* =============================================================
   NAVBAR — Responsive Mobile y Tablet
   ============================================================= */

/* Hamburger Button */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  transition: all 0.25s ease;
  display: none;
}

.navbar-toggler:hover {
  background: rgba(0, 0, 0, 0.08);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
  outline: none;
}

/* Hamburguesa — oscura por defecto, blanca sobre el hero */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 28px;
  height: 28px;
  transition: background-image 0.25s ease;
}

/* Cuando el navbar es transparente (sobre el hero): hamburguesa blanca */
.navbar-multiserviccr:not(.scrolled) .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Al expandir el menú en mobile: forzar fondo para legibilidad */
.navbar-multiserviccr.menu-open {
  background: rgba(15, 20, 30, 0.97) !important;
  backdrop-filter: saturate(180%) blur(22px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(22px) !important;
}

/* --- RESPONSIVE: Adaptación para Móviles y Tablets --- */
@media (max-width: 1024px) {
  .navbar-toggler {
    display: block;
    margin: 1rem;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
  }

  .navbar-layout {
    grid-template-columns: 1fr; /* Cambia a 1 sola columna */
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .navbar-nav {
    flex-direction: column; /* Apila los enlaces uno sobre otro */
    align-items: center;
    gap: 1rem;
  }

  .navbar-nav-left, 
  .navbar-nav-right {
    padding: 0;
    justify-content: center;
  }

  .navbar-brand-center {
    order: -1; /* Esto fuerza al logo a irse hasta arriba en móviles */
    margin-bottom: 0.5rem;
  }

  .ms-logo--nav {
    height: 60px;
    /* Letra del logo en blanco sobre hero, se manejha via filter */
  }

  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
  }

  .nav-link-cta {
    width: auto;
    min-width: 200px;
    text-align: center;
  }
}

/* Tablet medio */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-layout {
    padding: 1.25rem 1.5rem;
  }

  .navbar-nav {
    gap: 2rem;
  }

  .navbar-nav-left,
  .navbar-nav-right {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Desktop grande */
@media (min-width: 1400px) {
  .navbar-layout {
    max-width: 1600px;
    padding: 1.25rem 3rem;
  }

  .ms-logo--nav {
    height: 100px;
  }

  .navbar-multiserviccr.scrolled .ms-logo--nav {
    height: 75px;
  }

  .navbar-nav {
    gap: 3rem;
  }

  .navbar-nav-left {
    padding-right: 2.5rem;
  }

  .navbar-nav-right {
    padding-left: 2.5rem;
  }
}

/* =============================================================
   BUTTON — WhatsApp
   ============================================================= */

/* =============================================================
   WHATSAPP — Botón flotante fijo
   ============================================================= */

.whatsapp-float {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 1055;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  padding: 0.72rem 1.2rem 0.72rem 0.95rem;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.42), 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  white-space: nowrap;
}

.whatsapp-float:hover {
  background: #1ebe5a;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0,0,0,0.35);
}

.whatsapp-float-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.whatsapp-float-label {
  letter-spacing: 0.2px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    padding: 0.75rem;
    border-radius: 50%;
  }
  .whatsapp-float-label { display: none; }
  .whatsapp-float-icon  { font-size: 1.4rem; }
}

/* =============================================================
   BUTTON — WhatsApp (inline, legacy)
   ============================================================= */

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  background: #25D366;
  border: none;
  border-radius: 6px;
  padding: 0.52rem 1.1rem;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
  box-shadow: 0 3px 14px rgba(37,211,102,0.28);
  cursor: pointer;
}

.btn-whatsapp:hover {
  background: #1ebe5a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.42);
}

/* =============================================================
   PAGE HEADER — Componente reutilizable para páginas interiores
   ============================================================= */

.page-header {
  position: relative;
  padding: 5.5rem 0 3.5rem;
  background: linear-gradient(140deg, #ffffff 0%, #f8f8f8 100%); /* Fondo claro */
  border-bottom: 1px solid rgba(0,0,0,0.08); /* Borde sutil */
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, transparent 70%); /* Más sutil */
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%); /* Más sutil */
  pointer-events: none;
}

.page-header-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ms-gold);
  margin-bottom: 0.8rem;
  display: block;
}

.page-header-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #000; /* Título oscuro */
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-header-lead {
  font-size: 1.05rem;
  color: rgba(0,0,0,0.58); /* Texto principal oscuro */
  max-width: 52ch;
  line-height: 1.72;
  margin: 0;
}

/* =============================================================
   SECTION — Títulos y espaciado estilo Apple
   ============================================================= */

/* Se eliminó el padding: 5rem 0; global para evitar desajustes en el Hero */

.section-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ms-text-secondary);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Montserrat", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem); /* Reducido para equilibrio visual */
  font-weight: 800;
  color: #111111;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.section-lead {
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.75;
  font-size: 1.15rem; /* Aumentado para no forzar la vista */
  max-width: 60ch;
  margin-bottom: 2.5rem;
  font-weight: 400; /* Eliminado el peso de 300 que era muy delgado */
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--ms-text-secondary);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Cards estilo Apple */
.card {
  background: #fff;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img-top {
  border-radius: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ms-text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.card-text {
  color: var(--ms-text-secondary);
  line-height: 1.5;
  font-size: 1rem;
}

/* Contenedores */
.container {
  max-width: 1400px;
}

.container-narrow {
  max-width: 1000px;
  margin: 0 auto;
}

/* Espaciado */
.py-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-section-lg {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .py-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .py-section-lg {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* =============================================================
   FOOTER — Estilo Apple limpio y minimalista
   ============================================================= */

/* ── Footer Premium Apple Style ── */
.site-footer {
    background-color: #fbfbfb;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 6rem;
    padding-bottom: 2rem;
    color: #444;
}

.footer-logo {
    height: 100px; /* Tamaño equilibrado para el footer */
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.04);
}

.footer-about-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-list li {
    margin-bottom: 0.8rem;
}

.footer-nav-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-nav-list a:hover {
    color: #D4AF37;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.footer-social-link:hover {
    background: #D4AF37;
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.footer-contact-item i {
    color: #D4AF37;
    font-size: 1.1rem;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #999;
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 4rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-top: 3rem;
    }
}

.footer-nav-list a {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.5); /* Enlace de navegación oscuro */
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--ms-gold);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.62rem;
  font-size: 0.88rem;
  color: rgba(0,0,0,0.5); /* Elemento de contacto oscuro */
  margin-bottom: 0.72rem;
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--ms-gold);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.06); /* Borde superior oscuro */
  padding: 1.4rem 0;
  margin-top: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.35); /* Texto inferior oscuro */
}

/* =============================================================
   CONTACT PAGE
   ============================================================= */

.contact-info-card {
  background: rgba(255,255,255,0.7); /* Fondo blanco sutil */
  border: 1px solid rgba(0,0,0,0.08); /* Borde oscuro */
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.25s ease;
}

.contact-info-card:hover {
  border-color: rgba(255,241,0,0.28);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,241,0,0.1);
  border: 1px solid rgba(255,241,0,0.32);
  color: var(--ms-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.contact-info-card h6 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4); /* Título oscuro */
  margin-bottom: 0.3rem;
}

.contact-info-card p {
  font-size: 0.93rem;
  color: rgba(0,0,0,0.75); /* Párrafo oscuro */
  margin: 0;
  line-height: 1.55;
}

/* Dark form inputs */
.form-dark .form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: rgba(0,0,0,0.5); /* Etiqueta oscura */
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-dark .form-control,
.form-dark .form-select {
  background: rgba(255,255,255,0.85); /* Fondo blanco sutil */
  border: 1px solid rgba(0,0,0,0.11); /* Borde oscuro */
  color: #000; /* Texto oscuro */
  border-radius: 8px;
  padding: 0.72rem 0.9rem;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-dark .form-control:focus,
.form-dark .form-select:focus {
  background: rgba(255,255,255,0.9); /* Fondo blanco sutil en focus */
  border-color: rgba(255,241,0,0.5);
  box-shadow: 0 0 0 3px rgba(255,241,0,0.1);
  color: #000; /* Texto oscuro en focus */
}

.form-dark .form-control::placeholder {
  color: rgba(0,0,0,0.4); /* Marcador de posición oscuro */
}

.form-dark .form-select option {
  background: #f0f0f0; /* Fondo de opción claro */
  color: #000; /* Texto de opción oscuro */
}

/* =============================================================
   ABOUT PAGE
   ============================================================= */

/* ── Hero cinematográfico ────────────────────────────────── */
.about-hero {
  position: relative;
  height: 90svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: aboutHeroZoom 9s ease forwards;
}

@keyframes aboutHeroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.0); }
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.2) 100%),
    linear-gradient(to top,   rgba(255,255,255,0.88) 0%, transparent 55%);
}

.about-hero-body {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(4rem, 7vw, 7rem);
  max-width: 640px;
}

.about-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #000; /* Título oscuro */
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.about-hero-lead {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: rgba(0,0,0,0.65); /* Texto principal oscuro */
  max-width: 46ch;
  line-height: 1.72;
  margin-bottom: 2rem;
}

/* ── Franja full-width ───────────────────────────────────── */
.about-fullwidth-img {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.about-fullwidth-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.about-fullwidth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* Fondo oscuro */
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-fullwidth-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: rgba(255,255,255,0.9); /* Texto blanco para contraste con overlay oscuro */
  font-style: italic;
  text-align: center;
  letter-spacing: 0.01em;
  margin: 0;
  padding: 0 2rem;
}

/* ── Responsive about hero ───────────────────────────────── */
@media (max-width: 768px) {
  .about-hero { height: 75svh; }
  .about-hero-body { max-width: 100%; }
  .about-fullwidth-img { height: 220px; }
}

/* ── Banda de cifras compacta ────────────────────────────── */
.about-stat-band {
  background: rgba(0,0,0,0.02); /* Fondo más sutil */
  border-top: 1px solid rgba(0,0,0,0.12); /* Borde oscuro */
  border-bottom: 1px solid rgba(0,0,0,0.12); /* Borde oscuro */
  padding: 2.8rem 0;
}

.about-stat-cell {
  text-align: center;
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(0,0,0,0.07); /* Borde oscuro */
}

.about-stat-cell:last-child {
  border-right: none;
}

.about-stat-big {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--ms-gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about-stat-sub {
  display: block;
  font-size: 0.78rem;
  color: rgba(0,0,0,0.44); /* Texto oscuro */
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ── Timeline ────────────────────────────────────────────── */
.about-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border: 1px solid rgba(0,0,0,0.07); /* Borde oscuro */
  border-radius: 16px;
  overflow: hidden;
}

.about-timeline-item {
  padding: 2rem 1.6rem;
  border-right: 1px solid rgba(0,0,0,0.07); /* Borde oscuro */
  transition: background 0.25s ease;
}

.about-timeline-item:last-child {
  border-right: none;
}

.about-timeline-item:hover {
  background: rgba(255,241,0,0.04); /* Amarillo sutil */
}

.about-timeline-year {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ms-gold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.about-timeline-content h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000; /* Título oscuro */
  margin-bottom: 0.4rem;
}

.about-timeline-content p {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.48); /* Párrafo oscuro */
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 768px) {
  .about-stat-cell {
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.07); /* Borde oscuro */
  }
  .about-stat-cell:nth-child(odd) {
    border-right: 1px solid rgba(0,0,0,0.07); /* Borde oscuro */
  }
  .about-stat-cell:last-child,
  .about-stat-cell:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .about-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .about-timeline-item:nth-child(even) {
    border-right: none;
  }
  .about-timeline-item:nth-child(n+3) {
    border-top: 1px solid rgba(0,0,0,0.07); /* Borde oscuro */
  }
}

/* ── (legado) stat-wrap ──────────────────────────────────── */
.about-stat-wrap {
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.07); /* Borde oscuro */
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.25s ease;
}

.about-stat-wrap:hover {
  border-color: rgba(255,241,0,0.25);
}

.about-stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--ms-gold);
  line-height: 1;
  letter-spacing: -0.03em;
  display: block;
}

.about-stat-label {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.46); /* Texto oscuro */
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-top: 0.3rem;
  display: block;
}

.about-value-card {
  background: rgba(255,255,255,0.7); /* Fondo blanco sutil */
  border: 1px solid rgba(0,0,0,0.08); /* Borde oscuro */
  border-radius: 16px;
  padding: 2rem 1.6rem;
  height: 100%;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.about-value-card:hover {
  border-color: rgba(255,241,0,0.3);
  transform: translateY(-4px);
}

.about-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,241,0,0.1);
  border: 1px solid rgba(255,241,0,0.32);
  color: var(--ms-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.about-value-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000; /* Título oscuro */
  margin-bottom: 0.6rem;
}

.about-value-card p {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.52); /* Párrafo oscuro */
  line-height: 1.72;
  margin: 0;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06); /* Borde oscuro */
}

.about-feature-item:last-child {
  border-bottom: none;
}

.about-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ms-gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.about-feature-item h6 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #000; /* Título oscuro */
  margin-bottom: 0.2rem;
}

.about-feature-item p {
  font-size: 0.87rem;
  color: rgba(0,0,0,0.5); /* Párrafo oscuro */
  margin: 0;
  line-height: 1.6;
}

/* =============================================================
   MAP EMBED
   ============================================================= */

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08); /* Borde oscuro */
}

/* =============================================================
   HOME — Section 1: Quality / Experience
   ============================================================= */

.quality-section {
  position: relative;
  overflow: hidden;
  background-color: var(--ms-bg-primary); /* Asegurar fondo primario */
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.01) 1px, transparent 1px), /* Líneas de velocidad sutiles */
    linear-gradient(180deg, rgba(0,0,0,0.01) 1px, transparent 1px);
  background-size: 20px 20px; /* Ajusta el tamaño para la densidad de las líneas */
  background-position: 0 0;
}

.quality-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,0,0,0.02) 0%, transparent 70%); /* Más sutil */
  pointer-events: none;
}

.metric-box {
  background: rgba(0,0,0,0.02); /* Fondo oscuro sutil */
  border: 1px solid rgba(0,0,0,0.08); /* Borde oscuro */
  border-radius: 14px;
  padding: 1.2rem 0.8rem;
  text-align: center;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.metric-box:hover {
  border-color: rgba(255,241,0,0.3);
  background: rgba(255,241,0,0.03); /* Fondo amarillo sutil */
}

.metric-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--ms-gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.72rem;
  color: rgba(0,0,0,0.42); /* Texto oscuro */
  line-height: 1.45;
  display: block;
  font-weight: 400;
}

/* HOME — Section 2: About intro — grid pattern background */

.about-intro-section {
  position: relative;
  background-color: var(--ms-bg-secondary); /* Fondo blanco suave */
  background-image:
    radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0.02) 0%, transparent 70%), /* Simulación de panal sutil */
    linear-gradient(rgba(0,0,0,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.01) 1px, transparent 1px);
  background-size: 20px 20px, 44px 44px, 44px 44px; /* Ajuste de tamaños para diferentes capas */
  border-top: 1px solid var(--ms-border-light); /* Borde sutil */
  border-bottom: 1px solid var(--ms-border-light); /* Borde sutil */
}

/* ── Specialty Pills Premium ── */
.specialty-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.4rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.specialty-pill i {
    color: #D4AF37;
    font-size: 1.1rem;
    margin-right: 8px;
}

.specialty-pill:hover {
    transform: translateY(-3px);
    border-color: #D4AF37;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.12);
    color: #111;
}

/* ── Composición de Imágenes About ── */
.about-image-stack {
    position: relative;
    padding: 2.5rem;
}

.about-img-main {
    width: 85%;
    border-radius: 32px;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.12);
    border: 8px solid #ffffff;
    display: block;
    transition: transform 0.5s ease;
}

.about-img-sub {
    position: absolute;
    bottom: -5%;
    right: 0;
    width: 55%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 6px solid #ffffff;
    z-index: 2;
    display: block;
    transition: transform 0.5s ease;
}

.about-image-stack:hover .about-img-main { transform: scale(1.02); }
.about-image-stack:hover .about-img-sub { transform: translateY(-10px); }

/* ── Expertise Badge Floating ── */
.expertise-badge {
    position: absolute;
    top: 5%;
    left: -5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 3;
    text-align: center;
    min-width: 140px;
    animation: floatingBadge 6s ease-in-out infinite;
}

@keyframes floatingBadge {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-15px) rotate(2deg); }
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #111;
    line-height: 1;
    letter-spacing: -2px;
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #D4AF37;
}

/* HOME — Section 3: Services */

.services-section-header {
  max-width: 52ch;
}

/* HOME — Section 4: Stats Cards */



/* HOME — Lightbox */

.lightbox-trigger {
  display: block;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.lightbox-trigger .quality-img {
  transition: transform 0.4s ease;
}

.lightbox-trigger:hover .quality-img {
  transform: scale(1.06);
}

.lightbox-trigger::after {
  content: '\F52A';
  font-family: 'Bootstrap-Icons';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: rgba(0,0,0,0.95); /* Icono oscuro */
  background: rgba(255,255,255,0.38); /* Fondo claro */
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

.lightbox-trigger:hover::after {
  opacity: 1;
}

/* Modal lightbox — carousel */
.modal-backdrop.show {
  opacity: 0.8; /* Menos opaco para el tema claro */
}

.ms-lightbox-modal .modal-dialog {
  max-width: min(92vw, 1200px);
}

.ms-lightbox-modal .modal-content {
  background: transparent;
  border: none;
}

.ms-lightbox-modal .modal-body {
  padding: 0;
  position: relative;
}

.ms-lightbox-modal .carousel-item {
  text-align: center;
  padding: 0.5rem 4rem;
}

.ms-lightbox-modal .lightbox-img {
  max-height: 82vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.85);
  display: block;
  margin: 0 auto;
}

/* Prev / Next buttons */
.ms-lightbox-modal .carousel-control-prev,
.ms-lightbox-modal .carousel-control-next {
  width: 4rem;
  opacity: 1;
}

.ms-lightbox-modal .lightbox-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.ms-lightbox-modal .lightbox-ctrl-btn:hover {
  background: rgba(0,0,0,0.25);
}

/* Counter + close row */
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem 0.4rem;
}

.lightbox-counter {
  font-size: 0.82rem;
  color: rgba(0,0,0,0.45);
  font-variant-numeric: tabular-nums;
}

.lightbox-counter span {
  color: rgba(0,0,0,0.8);
  font-weight: 600;
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.18);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(0,0,0,0.22);
}

@media (max-width: 576px) {
  .ms-lightbox-modal .carousel-item { padding: 0.5rem 3rem; }
  .ms-lightbox-modal .lightbox-img  { max-height: 70vh; }
}

/* ── Video Frame Cinematic ── */
.video-frame {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
    border: 8px solid #ffffff;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-frame video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.video-frame:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.5);
}

.video-frame:hover video {
    transform: scale(1.05);
}

/* HOME — Section 6: Promise */
.promise-section {
  background: rgba(0,0,0,0.015); /* Fondo muy sutil */
  border-top: 1px solid rgba(0,0,0,0.06); /* Borde oscuro */
}

.promise-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--ms-gold); /* Color dorado */
  display: block;
  margin-bottom: 0.8rem;
}

/* =============================================================
   UTILITIES
   ============================================================= */

@media (min-width: 992px) {
  .py-lg-6 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .pt-lg-6 { padding-top: 5.5rem !important; }
  .pb-lg-6 { padding-bottom: 5.5rem !important; }
}

/* Alpine.js: hide elements before JS initializes */
[x-cloak] { display: none !important; }

/* =============================================================
   PROJECTS — Fondo oscuro compartido
   ============================================================= */

.projects-dark-section {
    background: linear-gradient(170deg, #06060C 0%, #0E0E18 60%, #080810 100%);
    position: relative;
    overflow: hidden;
}

.projects-dark-section::after {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 55%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(212,175,55,0.05) 0%, transparent 65%);
    pointer-events: none;
}

/* Kicker y títulos sobre fondo oscuro */
.projects-kicker {
    color: var(--ms-gold) !important;
    border-color: rgba(212,175,55,0.3) !important;
    background: rgba(212,175,55,0.08) !important;
}
.projects-kicker::before {
    background: var(--ms-gold) !important;
}

.projects-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 0;
}

/* =============================================================
   PROJECTS — Barra de filtros
   ============================================================= */

.projects-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
    .projects-filter-bar { justify-content: flex-start; }
}

.projects-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 1px solid rgba(212,175,55,0.25);
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.04);
    transition: all 0.25s ease;
}

.projects-filter-btn:hover {
    color: var(--ms-gold);
    border-color: rgba(212,175,55,0.55);
    background: rgba(212,175,55,0.08);
}

.projects-filter-btn.is-active {
    color: #0A0A12;
    background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(212,175,55,0.35);
}

/* =============================================================
   PROJECTS — Tarjetas de proyecto
   ============================================================= */

.project-card {
    background: linear-gradient(150deg, #0D0D14 0%, #16161F 100%);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.7), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
    z-index: 2;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.35);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(212,175,55,0.08);
}

.project-card:hover::before {
    transform: scaleX(1);
}

/* Imagen */
.project-card-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.4s ease;
    filter: brightness(0.88);
}

.project-card:hover .project-card-img {
    transform: scale(1.07);
    filter: brightness(0.7);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-zoom {
    font-size: 2.2rem;
    color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.project-card-category {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
    color: #0A0A12;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    z-index: 2;
}

/* Placeholder sin imagen */
.project-card-no-img {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0D0D14 0%, #1a1a28 50%, #0f0f1c 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    overflow: hidden;
}

/* Patrón de puntos decorativo */
.project-card-no-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212,175,55,0.08) 1px, transparent 1px);
    background-size: 22px 22px;
}

.project-card-no-img-icon {
    font-size: 2.2rem;
    color: rgba(212,175,55,0.35);
    position: relative;
    z-index: 1;
}

.project-card-no-img-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    text-align: center;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    padding: 0 0.5rem;
}

/* Cuerpo */
.project-card-body {
    flex: 1;
    padding: 1.4rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.project-card-desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--ms-gold);
    text-decoration: none;
    transition: gap 0.2s, opacity 0.2s;
    gap: 0.25rem;
    margin-top: auto;
}

.project-card-link:hover {
    color: #FFD54F;
    gap: 0.5rem;
}

/* =============================================================
   PROJECTS — Paginación oscura
   ============================================================= */

.projects-pagination .pagination {
    justify-content: center;
    gap: 0.4rem;
}

.projects-pagination .page-link {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.2);
    color: rgba(255,255,255,0.55);
    border-radius: 8px !important;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.projects-pagination .page-link:hover {
    background: rgba(212,175,55,0.12);
    border-color: rgba(212,175,55,0.45);
    color: var(--ms-gold);
}

.projects-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
    border-color: transparent;
    color: #0A0A12;
    font-weight: 700;
}

/* =============================================================
   PROJECTS SHOW — Vista detalle
   ============================================================= */

.project-show-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.55);
    border: 1px solid rgba(212,175,55,0.12);
}

.project-show-img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* =============================================================
   PROJECT SHOW — Cotización inline
   ============================================================= */

/* Botón principal "Cotizar" */
.pshow-quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #D4AF37 0%, #B89020 100%);
    color: #0A0A12;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, opacity 0.2s;
    box-shadow: 0 8px 30px rgba(212,175,55,0.3);
    text-decoration: none;
}

.pshow-quote-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(212,175,55,0.45);
}

.pshow-quote-btn:disabled { opacity: 0.65; cursor: not-allowed; }

/* WhatsApp link secundario */
.pshow-wa-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #25D366;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
    justify-content: center;
}
.pshow-wa-link:hover { opacity: 1; color: #25D366; }

/* Cabecera del formulario inline */
.pshow-back-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    transition: color 0.2s;
}
.pshow-back-btn:hover { color: var(--ms-gold); }

.pshow-form-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.pshow-form-project-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--ms-gold);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 0.6rem;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pshow-form-hint {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
    margin-bottom: 0;
    font-style: italic;
}

/* Alertas */
.pshow-alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
}
.pshow-alert--success {
    background: rgba(37,197,94,0.1);
    border: 1px solid rgba(37,197,94,0.3);
    color: #4ade80;
}
.pshow-alert--error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #f87171;
}

/* WhatsApp CTA dark */
.project-contact-wa {
    background: rgba(37,211,102,0.05);
    border: 1px solid rgba(37,211,102,0.18);
    border-radius: 14px;
    padding: 1.4rem 1.6rem;
}
.project-contact-wa-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(37,211,102,0.12);
    display: flex; align-items: center; justify-content: center;
    color: #25D366; font-size: 1.3rem; flex-shrink: 0;
}

/* Form dark */
.project-contact-form-wrap {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 20px;
    padding: 2.2rem;
}

.project-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.project-form-control {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #fff;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    appearance: none;
}

.project-form-control::placeholder { color: rgba(255,255,255,0.25); }

.project-form-control:focus {
    border-color: rgba(212,175,55,0.55);
    background: rgba(255,255,255,0.07);
}

.project-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(212,175,55,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.project-form-select option {
    background: #0E0E18;
    color: #fff;
}

.project-contact-form-wrap textarea.project-form-control {
    resize: vertical;
    min-height: 110px;
}

.project-show-back {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.2s;
}
.project-show-back:hover { color: var(--ms-gold); }

.project-show-no-img {
    min-height: 420px;
    border-radius: 0;
}

.project-show-no-img .project-card-no-img-icon {
    font-size: 3.5rem;
}

.project-show-no-img .project-card-no-img-name {
    font-size: 1.2rem;
}

.project-show-meta {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.4rem 1.6rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 12px;
}

.project-show-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.project-show-meta-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.project-show-meta-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

.project-show-meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ms-gold);
}

.project-show-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    margin-bottom: 0;
}

/* =============================================================
   ABOUT PAGE — Hero Cinematográfico
   ============================================================= */

.about-page-hero {
    height: 92vh;
    min-height: 560px;
    max-height: 900px;
}

/* Ken Burns activo de inmediato (sin carousel) */
.about-page-hero .hero-bg-image.kb-1 {
    animation: kbZoomIn 14s ease-out both;
}

/* Botón ghost para hero de páginas internas */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 2rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    transform: translateY(-2px);
}

/* Stagger text entrance para hero estático (sin carousel) */
.about-page-hero .about-eyebrow  { animation: heroEntrance 0.7s cubic-bezier(0.16,1,0.3,1) 0.25s both; }
.about-page-hero .hero-headline  { animation: heroEntrance 0.9s cubic-bezier(0.16,1,0.3,1) 0.45s both; }
.about-page-hero .about-hero-lead{ animation: heroEntrance 0.8s cubic-bezier(0.16,1,0.3,1) 0.70s both; }
.about-page-hero .hero-cta-group { animation: heroEntrance 0.7s cubic-bezier(0.16,1,0.3,1) 0.95s both; }

@media (prefers-reduced-motion: reduce) {
    .about-page-hero .about-eyebrow,
    .about-page-hero .hero-headline,
    .about-page-hero .about-hero-lead,
    .about-page-hero .hero-cta-group { animation: none; }
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(135deg, rgba(10,20,40,0.82) 0%, rgba(10,20,40,0.50) 55%, rgba(10,20,40,0.20) 100%),
        linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 35%);
}

.about-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--ms-gold);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.2rem;
}

.about-hero-lead {
    max-width: 540px;
    color: rgba(255,255,255,0.80);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* =============================================================
   ABOUT PAGE — Sección 01: Stats
   ============================================================= */

.about-stats-row {
    border: 1px solid var(--ms-border-light);
    border-radius: 14px;
    overflow: hidden;
    background: #FAFAFA;
}

.about-stat-item {
    padding: 1.5rem 1rem;
    text-align: center;
}

.about-stat-item--mid {
    border-left: 1px solid var(--ms-border-light);
    border-right: 1px solid var(--ms-border-light);
}

.about-stat-num {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Montserrat", sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ms-gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.about-stat-label {
    font-size: 0.72rem;
    color: var(--ms-text-secondary);
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Badge de experiencia sobre la imagen stack */
.about-exp-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: linear-gradient(135deg, #0D0D12 0%, #1a1a22 100%);
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 16px;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    z-index: 3;
}

.about-exp-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ms-gold);
    line-height: 1;
    font-family: "Montserrat", sans-serif;
    letter-spacing: -0.04em;
}

.about-exp-text {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    font-weight: 500;
}

/* =============================================================
   ABOUT PAGE — Sección 02: Pilares (Dark Gold Premium)
   ============================================================= */

.about-pillars-dark {
    background: linear-gradient(160deg, #08080F 0%, #0F0F1A 50%, #0A0A12 100%);
    position: relative;
    overflow: hidden;
}

/* Brillo sutil de fondo */
.about-pillars-dark::after {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(212,175,55,0.07) 0%, transparent 70%);
    pointer-events: none;
}

/* Número watermark en blanco para fondo oscuro */
.about-pillars-dark[data-section-num]::before {
    color: transparent;
    -webkit-text-stroke: 1px rgba(212,175,55,0.08);
}

/* Kicker y título blancos sobre fondo oscuro */
.about-pillars-dark .section-kicker {
    color: var(--ms-gold);
    border-color: rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.08);
}
.about-pillars-dark .section-kicker::before {
    background: var(--ms-gold);
}
.about-pillars-dark .section-title {
    color: #ffffff;
}


.about-pillar-card {
    display: flex;
    gap: 1.3rem;
    padding: 1.8rem 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.15);
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.35s ease, background 0.35s ease;
}

.about-pillar-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.6), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-pillar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212,175,55,0.40);
    background: rgba(255,255,255,0.055);
}

.about-pillar-card:hover::before {
    transform: scaleX(1);
}

.about-pillar-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(212,175,55,0.18) 0%, rgba(212,175,55,0.07) 100%);
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ms-gold);
    font-size: 1.5rem;
    transition: background 0.3s, box-shadow 0.3s;
}

.about-pillar-card:hover .about-pillar-icon {
    background: linear-gradient(135deg, rgba(212,175,55,0.28) 0%, rgba(212,175,55,0.12) 100%);
    box-shadow: 0 0 20px rgba(212,175,55,0.25);
}

.about-pillar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.about-pillar-desc {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.52);
    line-height: 1.65;
    margin-bottom: 0;
}

/* =============================================================
   ABOUT PAGE — Sección 03: Video Showcase
   ============================================================= */

.about-video-section {
    background: #fff;
}

.about-video-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ms-text-secondary);
    background: #F5F5F7;
    border: 1px solid var(--ms-border-light);
    border-radius: 100px;
    padding: 0.45rem 1rem;
}

.about-video-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.22);
    aspect-ratio: 16 / 9;
    background: #0D0D12;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-video-frame:hover {
    transform: translateY(-6px);
    box-shadow: 0 45px 100px -20px rgba(0, 0, 0, 0.3);
}

.about-video-frame iframe,
.about-video-frame video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.about-video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #0D0D12 0%, #191920 100%);
}

.about-video-placeholder-inner {
    text-align: center;
    padding: 2rem;
}

.about-play-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--ms-gold);
    font-size: 2rem;
    transition: transform 0.3s, background 0.3s;
}

.about-video-placeholder:hover .about-play-icon {
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.25);
}

/* =============================================================
   ABOUT PAGE — Sección 04: Galería Premio
   ============================================================= */

/* =============================================================
   ABOUT — Sección 04: Premio (Dark Gold)
   ============================================================= */

/* ══════════════════════════════════════════════════════════
   ABOUT — GALERÍA (Sección 04) — rediseño editorial
   ══════════════════════════════════════════════════════════ */

.ag-section {
    background: #0A0A12;
    padding: 5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

/* Halo dorado de fondo muy sutil */
.ag-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 1px; height: 80px;
    background: linear-gradient(to bottom, rgba(212,175,55,0.5), transparent);
}

/* ── Cabecera editorial ── */
.ag-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4rem;
    align-items: end;
    margin-bottom: 3rem;
}

.ag-kicker {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 0.7rem;
}

.ag-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0;
}

.ag-lead {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 0;
}

.ag-link-wrap {
    padding-top: 2.2rem;
    border-top: 1px solid rgba(212,175,55,0.12);
    margin-top: 2rem;
}

.ag-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #D4AF37;
    text-decoration: none;
    border-bottom: 1px solid rgba(212,175,55,0.3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}
.ag-link:hover { color: #f0cc60; border-color: rgba(212,175,55,0.7); }

/* ── Grid de fotos ── */
.ag-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: 260px 220px;
    gap: 10px;
    border-radius: 18px;
    overflow: hidden;
}

/* Featured: columna 1, ambas filas */
.ag-item--featured {
    grid-column: 1;
    grid-row: 1 / 3;
}

.ag-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.ag-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.ag-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.ag-item:nth-child(5) { grid-column: 3; grid-row: 2; }

.ag-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.ag-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.4s;
    filter: brightness(0.85);
}

/* Caption siempre visible en la foto destacada */
.ag-item--featured .ag-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Overlay degradado */
.ag-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 45%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.2rem 1.1rem;
    transition: background 0.3s;
}

/* Icono zoom — aparece en hover */
.ag-zoom {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(212,175,55,0.9);
    color: #000;
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.25s, transform 0.25s;
}

.ag-caption {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
}

/* Acento dorado en el borde izquierdo de la foto destacada */
.ag-item--featured::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: linear-gradient(to bottom, #D4AF37, rgba(212,175,55,0.2));
}

/* Hover */
.ag-item:hover .ag-img    { transform: scale(1.06); filter: brightness(0.65); }
.ag-item:hover .ag-zoom   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ag-item:hover .ag-caption { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 767px) {
    .ag-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    .ag-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 190px 140px 140px;
    }
    .ag-item--featured { grid-column: 1 / 3; grid-row: 1; }
    .ag-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    .ag-item:nth-child(3) { grid-column: 2; grid-row: 2; }
    .ag-item:nth-child(4) { grid-column: 1; grid-row: 3; }
    .ag-item:nth-child(5) { grid-column: 2; grid-row: 3; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .ag-grid {
        grid-template-rows: 200px 170px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .award-gallery-grid {
        grid-template-rows: 200px 200px;
    }
}

/* =============================================================
   LIGHTBOX — Alpine.js
   ============================================================= */

.ms-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ms-lightbox-backdrop.ms-lightbox-open {
    opacity: 1;
    visibility: visible;
}

.ms-lightbox-img {
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    animation: lightboxIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ms-lightbox-caption {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-top: 1.2rem;
    text-align: center;
}

.ms-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.ms-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

@keyframes lightboxIn {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

/* Utilidades de espaciado profundo (Deep Air Pack) */
.py-6  { padding-top: 5rem !important;  padding-bottom: 5rem !important; }
.py-7  { padding-top: 7rem !important;  padding-bottom: 7rem !important; }
.py-8  { padding-top: 10rem !important; padding-bottom: 10rem !important; }
.py-9  { padding-top: 12rem !important; padding-bottom: 12rem !important; }
.py-10 { padding-top: 15rem !important; padding-bottom: 15rem !important; }

/* ── Bilingual toggle ── */
.l-en { display: none !important; }
.l-es { display: inline !important; }
.site-lang-en .l-en { display: inline !important; }
.site-lang-en .l-es { display: none !important; }

/* ── Navbar language toggle button ── */
.nav-lang-toggle {
    background: #0A0A12;
    border: 1.5px solid #D4AF37;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #D4AF37;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(212,175,55,0.25);
}
.nav-lang-toggle:hover {
    background: #1a1a24;
    box-shadow: 0 4px 16px rgba(212,175,55,0.4);
    transform: translateY(-1px);
}
.nav-lang-sep { color: rgba(212,175,55,0.35); margin: 0 1px; }

/* Active lang option — uses dedicated classes (not l-es/l-en) to avoid conflict */
.nav-lang-opt { font-weight: 800; display: flex; align-items: center; transition: opacity 0.3s ease; }
.nav-lang-opt svg { transition: transform 0.3s ease, filter 0.3s ease; }

.nav-lang-opt-es { color: #D4AF37; }
.nav-lang-opt-en { color: rgba(212,175,55,0.35); }
.nav-lang-opt-en svg { filter: grayscale(1) opacity(0.4); }

.site-lang-en .nav-lang-opt-es { color: rgba(212,175,55,0.35); }
.site-lang-en .nav-lang-opt-es svg { filter: grayscale(1) opacity(0.4); }

.site-lang-en .nav-lang-opt-en { color: #D4AF37; }
.site-lang-en .nav-lang-opt-en svg { filter: grayscale(0) opacity(1); transform: scale(1.1); }

.nav-lang-opt-es svg { filter: grayscale(0) opacity(1); transform: scale(1.1); }
.site-lang-en .nav-lang-opt-es svg { filter: grayscale(1) opacity(0.4); transform: scale(1); }


/* ══════════════════════════════════════════════════════════
   ABOUT — VIDEO CAROUSEL v2  (Sección 03b)
   ══════════════════════════════════════════════════════════ */

/* Sección */
.vc-section {
    background: #fff;
    padding: 3.5rem 0 4rem;
    overflow: hidden;
}

/* Cabecera: título izq + flechas der */
.vc-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}
.vc-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 0.25rem;
}
.vc-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #0A0A12;
    line-height: 1.1;
    margin: 0;
}

/* Grupo de flechas — alineado al baseline del título */
.vc-nav-group {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    padding-bottom: 4px;
}

/* Contenedor del swiper */
.vc-swiper-outer {
    position: relative;
    width: 100%;
    padding-bottom: 3.6rem; /* espacio generoso para los dots */
    overflow: hidden;       /* clips los slides que salen del container */
}

.vc-swiper {
    overflow: visible !important;
    padding: 8px 2px 4px;
}

/* Cada slide: proporción 16:9 horizontal, compacto */
.vc-slide { height: auto; }

.vc-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0c0c14;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: 0 4px 22px rgba(0,0,0,0.14);
    transition: transform 0.3s cubic-bezier(.22,.61,.36,1), box-shadow 0.3s;
    user-select: none;
}
.vc-card:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 14px 40px rgba(0,0,0,0.22);
}

.vc-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Overlay degradado + botón play */
.vc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.45) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}
.vc-card:hover .vc-overlay {
    background: linear-gradient(160deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.28) 100%);
}

.vc-play-btn {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255,255,255,0.55);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    transition: background 0.2s, transform 0.2s;
    padding-left: 3px; /* óptico para el ícono play */
}
.vc-card:hover .vc-play-btn {
    background: rgba(212,175,55,0.85);
    border-color: #D4AF37;
    transform: scale(1.1);
}

/* Flechas — inline en el header, no posición absoluta */
.vc-nav {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    color: #444;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.09);
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}
.vc-nav:hover {
    background: #D4AF37;
    color: #fff;
    border-color: #D4AF37;
    box-shadow: 0 4px 16px rgba(212,175,55,0.32);
}
.vc-nav.swiper-button-disabled { opacity: 0.3; pointer-events: none; }

/* Dots */
.vc-pag,
.vc-pag-home { bottom: 10px !important; }
.vc-pag .swiper-pagination-bullet,
.vc-pag-home .swiper-pagination-bullet {
    width: 7px; height: 7px;
    background: #bbb;
    opacity: 1;
    transition: background 0.2s, width 0.2s;
}
.vc-pag .swiper-pagination-bullet-active,
.vc-pag-home .swiper-pagination-bullet-active {
    background: #D4AF37;
    width: 22px;
    border-radius: 4px;
}

/* Botón cerrar modal */
.vc-modal-close {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 10;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.9rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.vc-modal-close:hover { background: rgba(255,255,255,0.3); }

@media (max-width: 575px) {
    .vc-section { padding: 2.5rem 0 3rem; }
    .vc-nav { width: 34px; height: 34px; font-size: 0.85rem; }
    .vc-play-btn { width: 40px; height: 40px; font-size: 1.1rem; }
}
