/* ==========================================================================
   MEGA POINT — SISTEMA DE ESTILOS Y COMPONENTES
   Diseño Premium: Fondo Negro Obsidiana & Acentos Dorados de Lujo
   Optimizado para Producción cPanel / Neolo (Vanilla CSS3)
   ========================================================================== */

@import url('./fonts.css');

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO (DESIGN TOKENS)
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Oscura de Fondo */
  --color-bg-base: #07080b;
  --color-bg-deep: #040507;
  --color-bg-surface: #0e1017;
  --color-bg-card: rgba(18, 20, 28, 0.7);
  --color-bg-glass: rgba(10, 12, 17, 0.75);

  /* Paleta Dorada Metálica */
  --color-gold-light: #f6e6b4;
  --color-gold-primary: #dfb76c;
  --color-gold-dark: #b8862d;
  --color-gold-deep: #8a6018;
  --gradient-gold-metallic: linear-gradient(135deg, #fff2c4 0%, #dfb76c 38%, #b8862d 72%, #f1d58a 100%);
  --gradient-gold-subtle: linear-gradient(135deg, rgba(223, 183, 108, 0.2) 0%, rgba(184, 134, 45, 0.05) 100%);
  --gradient-gold-btn: linear-gradient(135deg, #e5c07b 0%, #cfa04c 50%, #b8862d 100%);
  --gradient-gold-btn-hover: linear-gradient(135deg, #f6e6b4 0%, #dfb76c 50%, #cfa04c 100%);

  /* Tipografía */
  --color-text-primary: #ffffff;
  --color-text-secondary: #c9ccd6;
  --color-text-muted: #8b90a0;
  --color-text-gold: #dfb76c;

  /* Bordes & Sombras */
  --border-gold-subtle: 1px solid rgba(223, 183, 108, 0.22);
  --border-gold-accent: 1px solid rgba(223, 183, 108, 0.45);
  --glow-gold-sm: 0 0 15px rgba(223, 183, 108, 0.25);
  --glow-gold-md: 0 0 30px rgba(223, 183, 108, 0.35);
  --glow-gold-lg: 0 0 60px rgba(223, 183, 108, 0.4);

  /* Familias Tipográficas */
  --font-serif: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Espaciado & Transiciones */
  --header-height: 84px;
  --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-normal: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--color-bg-base);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   3. ENCABEZADO DE NAVEGACIÓN (HEADER)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-color var(--transition-normal);
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.88) 0%, rgba(5, 6, 9, 0.65) 70%, rgba(5, 6, 9, 0) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223, 183, 108, 0.12);
}

.site-header.scrolled {
  background: rgba(7, 8, 12, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(223, 183, 108, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  width: 100%;
  max-width: 1720px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.brand-logo-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(223, 183, 108, 0.2));
}

/* Navegación Principal */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  text-decoration: none;
  position: relative;
  padding: 8px 2px;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--gradient-gold-metallic);
  transition: transform var(--transition-normal);
  transform-origin: center;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--color-gold-light);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
  color: var(--color-gold-primary);
  font-weight: 600;
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
  box-shadow: 0 0 10px rgba(223, 183, 108, 0.6);
}

/* Botón CTA Header: Cotiza tu evento */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--gradient-gold-btn);
  color: #07080b;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(223, 183, 108, 0.28);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  border: 1px solid rgba(255, 242, 196, 0.5);
  cursor: pointer;
  white-space: nowrap;
}

.btn-quote svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-quote:hover {
  background: var(--gradient-gold-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(223, 183, 108, 0.45);
}

.btn-quote:hover svg {
  transform: scale(1.1);
}

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

/* ── Control de Audio Institucional (TASK 027) ───────────────────────────── */
.audio-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(223, 183, 108, 0.45);
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 8px rgba(223, 183, 108, 0.12);
  transition: transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  flex-shrink: 0;
}

.audio-toggle-btn:hover {
  background: #181b24;
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7), 0 0 14px rgba(223, 183, 108, 0.3);
}

.audio-toggle-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.audio-toggle-btn .audio-icon {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

/* Estado Activo / Reproduciendo */
.audio-toggle-btn.playing {
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 0 12px rgba(223, 183, 108, 0.35);
}

.audio-toggle-btn .audio-icon-playing {
  display: none;
}

.audio-toggle-btn .audio-icon-muted {
  display: block;
}

.audio-toggle-btn.playing .audio-icon-playing {
  display: block;
}

.audio-toggle-btn.playing .audio-icon-muted {
  display: none;
}

@keyframes audioWavePulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.audio-toggle-btn.playing .sound-wave-1 {
  animation: audioWavePulse 1.6s ease-in-out infinite;
}

.audio-toggle-btn.playing .sound-wave-2 {
  animation: audioWavePulse 1.6s ease-in-out infinite 0.3s;
}

@media (prefers-reduced-motion: reduce) {

  .audio-toggle-btn.playing .sound-wave-1,
  .audio-toggle-btn.playing .sound-wave-2 {
    animation: none;
  }
}

/* Botón Hamburguesa Móvil */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(223, 183, 108, 0.3);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-gold-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: rgba(223, 183, 108, 0.1);
  border-color: var(--color-gold-primary);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. SECCIÓN HERO (PORTADA 1920x1080 VIEWPORT OPTIMIZED)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color-bg-base);
  overflow: hidden;
}

/* Capa de Imagen de Fondo & Gradientes Cinemáticos */
.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video,
.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transition: opacity var(--transition-smooth);
}

/* Gradiente Maestro: Oscurece el lado izquierdo para máxima legibilidad tipográfica */
.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    /* Gradiente horizontal: atenuado un ~6-7% para lucir más el video manteniendo legibilidad */
    linear-gradient(90deg,
      rgba(7, 8, 11, 0.91) 0%,
      rgba(7, 8, 11, 0.87) 36%,
      rgba(7, 8, 11, 0.58) 58%,
      rgba(7, 8, 11, 0.20) 80%,
      rgba(7, 8, 11, 0.06) 100%),
    /* Gradiente vertical: asegura contraste de barra superior y base de insignias */
    linear-gradient(180deg,
      rgba(5, 6, 9, 0.78) 0%,
      rgba(5, 6, 9, 0) 22%,
      rgba(7, 8, 11, 0) 75%,
      rgba(7, 8, 11, 0.72) 90%,
      #07080b 100%);
}

/* Partículas / Iluminación ambiental sutil */
.hero-ambient-glow {
  position: absolute;
  top: 30%;
  left: 8%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(223, 183, 108, 0.08) 0%, rgba(223, 183, 108, 0) 70%);
  pointer-events: none;
  filter: blur(50px);
}

/* Contenido Principal del Hero */
.hero-main-content {
  position: relative;
  z-index: 10;
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 10px);
}

.hero-copy-column {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: heroFadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Titular Principal (Headline) */
.hero-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.hero-title-years {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 5.2vw, 5.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  padding-top: 0.15em;
  margin-top: -0.15em;
  background: var(--gradient-gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(223, 183, 108, 0.22));
}

.hero-title-line2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 2.3rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.08em;
  color: #f0f2f7;
  text-transform: uppercase;
  margin-top: 6px;
}

.hero-title-line3 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-transform: uppercase;
  margin-top: 2px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

/* Divisor Decorativo Dorado con Rombo */
.hero-gold-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  width: 100%;
  max-width: 320px;
}

.hero-gold-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(223, 183, 108, 0.6) 0%, rgba(223, 183, 108, 0.1) 100%);
}

.hero-gold-divider .divider-diamond {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(223, 183, 108, 0.6);
}

/* Descripción Corta */
.hero-description {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

/* Botón CTA Principal: Descubre MEGA POINT */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  background: rgba(14, 16, 23, 0.85);
  color: var(--color-gold-light);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--color-gold-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(223, 183, 108, 0.1);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(223, 183, 108, 0.2), transparent);
  transition: left 0.6s ease;
}

.btn-hero-cta:hover {
  background: rgba(223, 183, 108, 0.15);
  color: #ffffff;
  border-color: #f6e6b4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(223, 183, 108, 0.35), inset 0 0 18px rgba(223, 183, 108, 0.2);
}

.btn-hero-cta:hover::before {
  left: 100%;
}

.btn-hero-cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn-hero-cta:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. BARRA INFERIOR DEL HERO: INSIGNIAS Y SCROLL INDICATOR
   -------------------------------------------------------------------------- */
.hero-footer-bar {
  position: relative;
  z-index: 10;
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px 32px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Cuadrícula de Atributos (Badges) */
.hero-attributes-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 24px;
  list-style: none;
  max-width: 620px;
  width: 100%;
}

.attribute-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
  transition: transform var(--transition-fast);
}

.attribute-item:hover {
  transform: translateY(-2px);
}

.attribute-icon {
  width: 47px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.attribute-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.attribute-item:hover .attribute-icon-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(223, 183, 108, 0.6));
}

.attribute-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  text-align: center;
  line-height: 1.35;
  width: 100%;
  display: block;
}

.attribute-item:hover .attribute-title {
  color: var(--color-gold-light);
}





/* --------------------------------------------------------------------------
   7. NOTIFICACIÓN TOAST (FEEDBACK ENLACES EN DESARROLLO)
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(14, 16, 23, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-gold-primary);
  border-radius: 8px;
  padding: 14px 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), var(--glow-gold-sm);
  color: #ffffff;
  font-size: 0.85rem;
  max-width: 90vw;
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  color: var(--color-gold-primary);
  flex-shrink: 0;
}

.toast-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.toast-message {
  font-family: var(--font-sans);
  font-weight: 500;
  color: #f0f2f7;
}

.toast-message strong {
  color: var(--color-gold-primary);
}

/* --------------------------------------------------------------------------
   8. ANIMACIONES
   -------------------------------------------------------------------------- */
@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* --------------------------------------------------------------------------
   8. SECCIÓN NOSOTROS / EXPERIENCIA MEGA POINT (Página 3 de la Propuesta)
   -------------------------------------------------------------------------- */
.about-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3.5vh, 40px) 0;
  background-color: var(--color-bg-base);
  scroll-margin-top: calc(var(--header-height) - 10px);
  overflow: hidden;
  box-sizing: border-box;
}

/* Fondo Inmersivo Fotográfico con Gradientes */
.about-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.about-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: brightness(0.92) contrast(1.04);
}

.about-gradient-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Gradiente horizontal suave: opacidad total a la izquierda para texto, transparente a la derecha */
  background: linear-gradient(90deg,
      #07080b 0%,
      #07080b 32%,
      rgba(7, 8, 11, 0.95) 45%,
      rgba(7, 8, 11, 0.72) 62%,
      rgba(7, 8, 11, 0.28) 80%,
      rgba(7, 8, 11, 0.1) 100%),
    linear-gradient(180deg,
      #07080b 0%,
      rgba(7, 8, 11, 0.72) 7%,
      transparent 20%,
      transparent 80%,
      rgba(7, 8, 11, 0.78) 93%,
      #07080b 100%);
}

.about-ambient-glow {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(223, 183, 108, 0.05) 0%, rgba(7, 8, 11, 0) 70%);
  filter: blur(90px);
}

.about-container {
  width: 100%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 840px) 1fr;
  gap: clamp(24px, 3.5vw, 50px);
  align-items: center;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Columna de Contenido */
.about-content-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 840px;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.eyebrow-diamond {
  width: 6px;
  height: 6px;
  background: var(--color-gold-primary);
  transform: rotate(45deg);
  box-shadow: var(--glow-gold-sm);
}

.eyebrow-text {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-gold-primary);
}

.about-headline {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  line-height: 1.08;
}

.about-title-years {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.05em;
  padding-top: 0.15em;
  margin-top: -0.15em;
  background: var(--gradient-gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(223, 183, 108, 0.25));
}

.about-title-lead {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  color: #f6e6b4;
  margin-top: 2px;
}

.about-title-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-top: 2px;
}

/* Divisor Dorado */
.about-gold-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 440px;
  margin-bottom: 12px;
}

.about-gold-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(223, 183, 108, 0.6) 0%, rgba(223, 183, 108, 0.05) 100%);
}

.about-gold-divider .divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--color-gold-primary);
  transform: rotate(45deg);
}

/* Tabs de Filosofía Corporativa */
.about-tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 580px;
  width: 100%;
  margin-bottom: 16px;
}

.about-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 16, 23, 0.7);
  border: 1px solid rgba(223, 183, 108, 0.25);
  color: var(--color-text-secondary);
  padding: 10px 14px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.about-tab-btn:hover {
  border-color: rgba(223, 183, 108, 0.6);
  color: #ffffff;
  background: rgba(223, 183, 108, 0.1);
  transform: translateY(-1px);
}

.about-tab-btn.active {
  background: linear-gradient(135deg, rgba(223, 183, 108, 0.25) 0%, rgba(184, 134, 45, 0.14) 100%);
  border-color: var(--color-gold-primary);
  color: var(--color-gold-light);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(223, 183, 108, 0.25), inset 0 0 12px rgba(223, 183, 108, 0.12);
}

.about-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  background: var(--gradient-gold-metallic);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(223, 183, 108, 0.8);
}

/* Paneles de Filosofía Corporativa (TASK 012: Anclaje visual a Nuestra Historia) */
.about-tab-panels {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  margin-bottom: 12px;
}

.about-tab-panel,
.about-tab-panel[hidden] {
  display: block;
  grid-column: 1;
  grid-row: 1;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(4px);
}

.about-tab-panel.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.about-description {
  font-size: clamp(0.84rem, 0.92vw, 0.94rem);
  line-height: 1.58;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.about-description:last-child {
  margin-bottom: 0;
}

.about-description strong {
  color: var(--color-gold-light);
  font-weight: 600;
}

/* Lista de Valores Corporativos */
.about-values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.about-value-item {
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
  line-height: 1.52;
  color: var(--color-text-secondary);
  padding-left: 14px;
  position: relative;
}

.about-value-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--color-gold-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 4px rgba(223, 183, 108, 0.4);
}

.about-value-item strong {
  color: var(--color-gold-light);
  font-weight: 600;
}

/* Pilares de Experiencia (Grupos Limpios consistentes con el Hero) */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 20px;
  max-width: 580px;
  width: 100%;
  margin-bottom: 16px;
}

.about-pillar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
  transition: transform var(--transition-fast);
}

.about-pillar-item:hover {
  transform: translateY(-2px);
}

.about-pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.about-pillar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.about-pillar-item:hover .about-pillar-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 12px rgba(223, 183, 108, 0.6));
}

.about-pillar-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-pillar-title {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  line-height: 1.2;
}

.about-pillar-label {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  margin-top: 3px;
  line-height: 1.25;
}

.about-pillar-item:hover .about-pillar-title {
  color: #ffffff;
}

/* Adaptabilidad Responsive para Sección Nosotros */
@media (max-width: 1439px) {
  .about-container {
    max-width: 1320px;
    grid-template-columns: minmax(0, 780px) 1fr;
  }
}

@media (max-width: 1024px) {
  .about-section {
    min-height: auto;
    height: auto;
    padding: 60px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-gradient-overlay {
    background: linear-gradient(180deg,
        #07080b 0%,
        rgba(7, 8, 11, 0.92) 10%,
        rgba(7, 8, 11, 0.9) 60%,
        rgba(7, 8, 11, 0.93) 90%,
        #07080b 100%);
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 44px 0;
  }

  .about-title-years {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }

  .about-title-lead {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }

  .about-title-sub {
    font-size: clamp(1.3rem, 5.8vw, 1.7rem);
  }

  .about-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    gap: 12px;
  }

  .about-pillar-icon {
    width: 38px;
    height: 38px;
  }

  .about-pillar-title {
    font-size: 0.74rem;
  }

  .about-pillar-label {
    font-size: 0.55rem;
  }

  .about-tabs-nav {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    gap: 6px;
  }

  .about-tab-btn {
    padding: 8px 4px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 36px 0;
  }

  .about-tab-panels {
    min-height: auto;
  }

  .about-description {
    font-size: 0.84rem;
  }

  .about-value-item {
    font-size: 0.8rem;
  }

  .about-tabs-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .about-tab-btn {
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .about-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .about-pillar-icon {
    width: 36px;
    height: 36px;
  }

  .about-pillar-title {
    font-size: 0.7rem;
  }

  .about-pillar-label {
    font-size: 0.52rem;
  }
}

/* --------------------------------------------------------------------------
   9. MEDIA QUERIES (RESPONSIVE ADAPTABILITY)
   -------------------------------------------------------------------------- */

/* Desktop Estándar (1440px - 1680px) */
@media (max-width: 1680px) {

  .header-container,
  .hero-main-content,
  .hero-footer-bar {
    max-width: 1440px;
    padding-left: 36px;
    padding-right: 36px;
  }
}

/* Portátiles & Pantallas Medianas (1025px - 1439px) */
@media (max-width: 1439px) {

  .header-container,
  .hero-main-content,
  .hero-footer-bar {
    padding-left: 32px;
    padding-right: 32px;
  }

  .nav-menu {
    gap: 24px;
  }

  .hero-attributes-list {
    max-width: 660px;
    gap: 20px;
  }
}

/* Tablets (769px - 1024px) */
@media (max-width: 1024px) {
  .site-header {
    height: 74px;
  }

  .brand-logo-img {
    height: 55px;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  /* Menú desplegable lateral */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: rgba(9, 11, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    border-left: 1px solid rgba(223, 183, 108, 0.25);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 1000;
    padding: 40px 20px;
  }

  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1rem;
    letter-spacing: 0.16em;
  }

  .hero-main-content {
    padding-top: calc(74px + 20px);
  }

  .hero-copy-column {
    max-width: 100%;
  }

  .hero-attributes-list {
    grid-template-columns: repeat(4, 1fr);
    max-width: 540px;
    gap: 14px;
  }

  .attribute-icon {
    width: 42px;
    height: 42px;
  }

  .attribute-title {
    font-size: 0.6rem;
  }
}

/* Móviles (menor o igual a 768px) */
@media (max-width: 768px) {
  .site-header {
    height: 68px;
  }

  .header-container {
    padding: 0 16px;
  }

  .brand-logo-img {
    height: 48px;
  }

  .header-actions {
    gap: 10px;
  }

  .btn-quote {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .btn-quote span {
    display: none;
  }

  .btn-quote svg {
    width: 20px;
    height: 20px;
  }

  .hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: 24px;
  }

  /* Overlay en móvil ajustado proporcionalmente */
  .hero-gradient-overlay {
    background: linear-gradient(180deg,
        rgba(7, 8, 11, 0.89) 0%,
        rgba(7, 8, 11, 0.82) 45%,
        rgba(7, 8, 11, 0.86) 80%,
        #07080b 100%);
  }

  .hero-main-content {
    width: 100%;
    box-sizing: border-box;
    padding: calc(68px + 20px) 16px 20px 16px;
  }

  .hero-copy-column {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-headline {
    margin-bottom: 16px;
    width: 100%;
  }

  .hero-title-years {
    font-size: clamp(2.8rem, 11vw, 3.8rem);
    line-height: 1.15;
    padding-top: 0.15em;
    margin-top: -0.15em;
  }

  .hero-title-line2 {
    font-size: clamp(1.1rem, 4.6vw, 1.4rem);
  }

  .hero-title-line3 {
    font-size: clamp(1.8rem, 7.8vw, 2.5rem);
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
    width: 100%;
  }

  .btn-hero-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }

  .hero-footer-bar {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 16px;
  }

  .hero-attributes-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
    padding: 0;
    margin: 0;
  }

  .attribute-item {
    align-items: center;
    text-align: center;
    background: rgba(14, 16, 23, 0.75);
    padding: 12px 8px;
    border-radius: 6px;
    border: 1px solid rgba(223, 183, 108, 0.18);
    width: 100%;
    box-sizing: border-box;
  }

  .attribute-icon {
    width: 40px;
    height: 40px;
  }

  .attribute-title {
    font-size: 0.6rem;
    line-height: 1.25;
    text-align: center;
  }


}

/* Pantallas Pequeñas de Móviles (hasta 480px) */
@media (max-width: 480px) {
  .hero-main-content {
    padding: calc(68px + 14px) 14px 14px 14px;
  }

  .hero-title-years {
    font-size: clamp(2.4rem, 10vw, 3rem);
    line-height: 1.15;
    padding-top: 0.15em;
    margin-top: -0.15em;
  }

  .hero-title-line2 {
    font-size: clamp(1rem, 4.4vw, 1.25rem);
  }

  .hero-title-line3 {
    font-size: clamp(1.6rem, 7.2vw, 2.1rem);
  }

  .hero-description {
    font-size: 0.86rem;
    line-height: 1.55;
    margin-bottom: 20px;
  }

  .btn-hero-cta {
    padding: 12px 18px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .hero-footer-bar {
    padding: 0 14px 20px 14px;
    gap: 16px;
  }

  .hero-attributes-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .attribute-item {
    padding: 10px 6px;
    gap: 6px;
  }

  .attribute-icon {
    width: 35px;
    height: 35px;
  }

  .attribute-title {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }
}

/* ==========================================================================
   10. SECCIÓN EVENTOS Y EXPERIENCIAS (TASK 003)
   Referencia visual: Página 4 — PROPUESTA WEB MEGA POINT.pdf
   ========================================================================== */

/* ── Contenedor general de la sección ────────────────────────────────────── */
.events-section {
  --color-gold: var(--color-gold-primary, #dfb76c);
  --color-obsidian: var(--color-bg-base, #07080b);
  --color-white: #ffffff;
  --font-display: var(--font-serif);
  --font-body: var(--font-sans);
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-obsidian);
  scroll-margin-top: var(--header-height);
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px 0 24px;
}

/* ── Fondo hero inmersivo (imagen Bodas como backdrop) ───────────────────── */
.events-hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 400px;
  background-image: url('../assets/images/EVENTOS BODAS.webp');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 0;
}

.events-hero-overlay {
  position: absolute;
  inset: 0 0 auto 0;
  height: 400px;
  background: linear-gradient(to bottom,
      #07080b 0%,
      rgba(7, 8, 11, 0.65) 18%,
      rgba(7, 8, 11, 0.80) 55%,
      #07080b 100%);
  z-index: 1;
}

/* ── Encabezado centrado de la sección ───────────────────────────────────── */
.events-header-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 10px 24px 16px;
  max-width: 820px;
  margin: 0 auto;
}

.events-overline {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin: 0 0 10px;
  text-transform: uppercase;
}

.events-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-white);
  text-transform: uppercase;
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}

.events-title em {
  font-style: normal;
  color: var(--color-gold);
}

.events-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.2vw, 0.94rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ── Cuadrícula de 4 tarjetas ─────────────────────────────────────────────── */
.events-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  align-items: stretch;
}

/* ── Tarjeta de evento ───────────────────────────────────────────────────── */
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3.5px solid var(--color-gold-primary, #dfb76c);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.event-card:hover {
  border-color: var(--color-gold-light, #f6e6b4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(223, 183, 108, 0.35);
  transform: translateY(-3px);
}

/* ── Imagen de la tarjeta ────────────────────────────────────────────────── */
.event-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.26;
  overflow: hidden;
  background-color: #07080b;
}

.event-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.event-card:hover .event-card-img {
  transform: scale(1.07);
}

/* ── Encuadre fotográfico individual optimizado por categoría ─────────────── */
#event-card-bodas .event-card-img {
  object-position: 50% 20%;
}

#event-card-quinceanios .event-card-img {
  object-position: 50% 20%;
}

#event-card-sociales .event-card-img {
  object-position: 50% 20%;
}

#event-card-corporativos .event-card-img {
  object-position: 50% 20%;
}

/* ── Gradiente negro optimizado para máxima legibilidad del texto ── */
.event-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(7, 8, 11, 0.96) 0%,
      rgba(7, 8, 11, 0.88) 22%,
      rgba(7, 8, 11, 0.72) 36%,
      rgba(7, 8, 11, 0.40) 48%,
      rgba(7, 8, 11, 0.12) 56%,
      transparent 62%,
      transparent 100%);
  transition: background 0.35s ease;
}

.event-card:hover .event-card-overlay {
  background: linear-gradient(to top,
      rgba(7, 8, 11, 0.98) 0%,
      rgba(7, 8, 11, 0.92) 22%,
      rgba(7, 8, 11, 0.78) 36%,
      rgba(7, 8, 11, 0.46) 48%,
      rgba(7, 8, 11, 0.16) 56%,
      transparent 62%,
      transparent 100%);
}

/* ── Contenido de texto de la tarjeta ────────────────────────────────────── */
.event-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px 24px;
  z-index: 2;
}

/* ── Ícono dorado de la categoría ────────────────────────────────────────── */
.event-card-icon {
  width: 40px;
  height: 40px;
  color: var(--color-gold);
  margin-bottom: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.event-card:hover .event-card-icon {
  transform: scale(1.12);
}

.event-card-icon svg {
  width: 100%;
  height: 100%;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Título de la categoría ──────────────────────────────────────────────── */
.event-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.2;
  transition: color 0.3s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* ── Descripción corta ────────────────────────────────────────────────────── */
.event-card-desc {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 16px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

/* ── CTA "CONOCE MÁS →" ──────────────────────────────────────────────────── */
.event-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: none;
  transition: color 0.25s ease, gap 0.25s ease;
}

.event-card-cta:hover,
.event-card-cta:focus-visible {
  color: var(--color-white);
  gap: 10px;
  outline: none;
}

/* ── Lema de cierre de sección ───────────────────────────────────────────── */
.events-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 24px 0;
  position: relative;
  z-index: 2;
}

.events-tagline-line {
  display: block;
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  opacity: 0.5;
}

.events-tagline-text {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(191, 155, 79, 0.8);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Responsive: Tableta (2 columnas) ────────────────────────────────────── */
@media (max-width: 1100px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
    gap: 20px;
  }

  .events-hero-bg,
  .events-hero-overlay {
    height: 340px;
  }

  .events-header-wrap {
    padding: 60px 20px 40px;
  }
}

/* ── Responsive: Móvil grande (1 columna centrada) ──────────────────────── */
@media (max-width: 680px) {
  .events-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 16px;
  }

  .events-hero-bg,
  .events-hero-overlay {
    height: 300px;
  }

  .events-header-wrap {
    padding: 50px 18px 32px;
  }

  .events-br-hide {
    display: none;
  }

  .events-tagline {
    padding: 36px 18px 0;
  }

  .events-tagline-line {
    max-width: 60px;
  }

  .events-tagline-text {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }

  .event-card-content {
    padding: 20px 18px 22px;
  }

  .event-card-title {
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   SECCIÓN LOCACIONES (TASK 008E — INTERNAL NAVIGATION & PREMIUM CARDS)
   Vista A: 3 Sedes Principales
   Vista B: 2 Sedes Centradas
   Transición interna fluida sin scroll de página ni exposición de GALERÍA
   ========================================================================== */

.locations-section {
  --color-gold: var(--color-gold-primary, #dfb76c);
  --color-gold-light: var(--color-gold-light, #f6e6b4);
  --color-obsidian: var(--color-bg-base, #07080b);
  --color-white: #ffffff;
  --color-card-bg: #111318;
  --font-display: var(--font-serif);
  --font-body: var(--font-sans);
  position: relative;
  background-color: var(--color-obsidian);
  scroll-margin-top: var(--header-height);
  overflow: hidden;
  box-sizing: border-box;
  padding: 16px 0 16px;
}

@media (min-width: 1025px) {
  .locations-section {
    min-height: calc(100vh - var(--header-height));
    height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 12px;
  }
}

/* ── Encabezado centrado de Locaciones ─────────────────────────────────────── */
.locations-header-wrap {
  text-align: center;
  padding: 6px 24px 8px;
  max-width: 980px;
  margin: 0 auto;
  flex-shrink: 0;
}

.locations-overline {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-gold);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.locations-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}

.locations-title-line1 {
  display: block;
  color: #ffffff;
}

.locations-title-line2 {
  display: block;
  color: var(--color-gold);
  white-space: nowrap;
}

.locations-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.80rem, 1.1vw, 0.92rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ── Contenedor de Cuadrícula y Carrusel (TASK 026) ───────────────────────── */
.locations-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 52px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}

.locations-carousel-wrapper {
  position: relative;
  width: 100%;
}

.locations-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  margin: -8px 0;
}

.locations-carousel-track {
  display: flex;
  gap: 22px;
  width: 100%;
  box-sizing: border-box;
  will-change: transform;
}

.locations-carousel-track .location-card {
  flex: 0 0 calc((100% - 44px) / 3);
  width: calc((100% - 44px) / 3);
  max-width: calc((100% - 44px) / 3);
  box-sizing: border-box;
}

/* ── Flechas Doradas de Navegación (Desktop / Tablet) ────────────────────── */
.locations-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(14, 16, 22, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(223, 183, 108, 0.45);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65), 0 0 10px rgba(223, 183, 108, 0.12);
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0;
}

.locations-carousel-prev {
  left: -48px;
}

.locations-carousel-next {
  right: -48px;
}

.locations-carousel-arrow:hover {
  background: #181b24;
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 14px rgba(223, 183, 108, 0.32);
}

.locations-carousel-arrow:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.carousel-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.locations-carousel-prev:hover .carousel-arrow-icon {
  transform: translateX(-2px);
}

.locations-carousel-next:hover .carousel-arrow-icon {
  transform: translateX(2px);
}

/* ── Tarjeta de Locación (Inspirada en el porte de EVENTOS) ──────────────── */
.location-card {
  position: relative;
  background-color: var(--color-card-bg);
  border: 2px solid rgba(223, 183, 108, 0.48);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.location-card:hover {
  border-color: var(--color-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75), 0 0 18px rgba(223, 183, 108, 0.28);
}

/* ── Zona Multimedia / Fotografías Oficiales con Mayor Presencia ─────────── */
.location-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.8;
  overflow: hidden;
  background: #06070a;
}

.location-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── Encuadre fotográfico individual por sede ────────────────────────────── */
#locacion-lima-norte .location-card-img {
  object-position: center 40%;
}

#locacion-san-isidro .location-card-img {
  object-position: center center;
}

#locacion-san-borja .location-card-img {
  object-position: center 35%;
}

#locacion-callao .location-card-img {
  object-position: center center;
}

#locacion-la-casona .location-card-img {
  object-position: center 45%;
}

.location-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 19, 24, 0.82) 0%, rgba(17, 19, 24, 0.1) 50%, transparent 100%);
  pointer-events: none;
  transition: background 0.3s ease;
}

.location-card:hover .location-media-overlay {
  background: linear-gradient(to top, rgba(17, 19, 24, 0.9) 0%, rgba(17, 19, 24, 0.05) 55%, transparent 100%);
}

/* ── Acción Discreta: Ver Fotografías de la Sede (TASK 016) ─────────────── */
.location-gallery-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(9, 10, 14, 0.88);
  border: 1px solid rgba(223, 183, 108, 0.45);
  border-radius: 20px;
  color: var(--color-gold-light);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-fast);
  user-select: none;
}

.location-gallery-btn:hover {
  background: rgba(223, 183, 108, 0.2);
  border-color: var(--color-gold-primary);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.8), 0 0 14px rgba(223, 183, 108, 0.35);
  transform: translateY(-1px);
}

.location-gallery-btn:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 2px;
}

.location-gallery-btn:active {
  transform: translateY(0);
}

.location-gallery-icon {
  flex-shrink: 0;
  color: var(--color-gold-primary);
  transition: color var(--transition-fast);
}

.location-gallery-btn:hover .location-gallery-icon {
  color: #ffffff;
}

.location-gallery-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.location-gallery-btn.is-loading .location-gallery-icon {
  animation: locSpin 0.8s linear infinite;
}

@keyframes locSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ── Cuerpo / Información de la Locación ─────────────────────────────────── */
.location-body {
  padding: 14px 18px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  background-color: var(--color-card-bg);
}

/* ── Número y Nombre en UNA sola línea horizontal ───────────────────────── */
.location-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.location-number {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  line-height: 1;
}

.location-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ── Espacios y Capacidades ──────────────────────────────────────────────── */
.location-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.location-spaces-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.location-space-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 0.80rem;
  line-height: 1.35;
  padding-bottom: 3px;
  border-bottom: 1px dashed rgba(223, 183, 108, 0.2);
}

.space-name {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.space-capacity {
  color: var(--color-gold-light);
  font-weight: 600;
  white-space: nowrap;
  margin-left: 10px;
}

/* ── Fila Inferior: Dirección a la izquierda + CTA a la derecha ──────────── */
.location-footer-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-family: var(--font-sans);
  flex: 1;
}

.location-pin-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 2px;
}

.location-address-text {
  display: flex;
  flex-direction: column;
  font-size: 0.74rem;
  line-height: 1.28;
}

.address-street {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.address-sub {
  color: var(--color-gold);
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.95;
}

/* ── CTA WhatsApp integrado sin línea divisoria superior ─────────────────── */
.location-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-transform: uppercase;
  text-decoration: none;
  border-top: none;
  padding: 2px 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease, gap 0.3s ease;
}

.location-cta:hover {
  color: var(--color-gold-light);
  gap: 8px;
}



/* ── Lema de Cierre de Locaciones ────────────────────────────────────────── */
.locations-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 24px 6px;
  flex-shrink: 0;
}

.locations-tagline-line {
  display: block;
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  opacity: 0.5;
}

.locations-tagline-text {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: rgba(191, 155, 79, 0.85);
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .locations-container {
    margin: auto auto;
  }

  .locations-tagline {
    padding: 12px 24px 8px;
    transform: translateY(-30px);
  }
}

/* ── Responsive: Tableta (769px a 1024px) ─────────────────────────────────── */
@media (max-width: 1024px) and (min-width: 769px) {
  .locations-section {
    min-height: auto;
    padding: 50px 0 36px;
  }

  .locations-title-line2 {
    white-space: normal;
  }

  .locations-container {
    padding: 0 44px;
  }

  .locations-carousel-track {
    gap: 16px;
  }

  .locations-carousel-track .location-card {
    flex: 0 0 calc((100% - 32px) / 3);
    width: calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }

  .locations-carousel-arrow {
    width: 38px;
    height: 38px;
  }

  .locations-carousel-prev {
    left: -40px;
  }

  .locations-carousel-next {
    right: -40px;
  }
}

/* ── Responsive: Móvil (TASK 014C / TASK 026: Las 5 Sedes en flujo normal vertical) ── */
@media (max-width: 768px) {
  .locations-section {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 40px 0 24px !important;
  }

  .locations-title-line2 {
    white-space: normal;
  }

  .locations-header-wrap {
    padding: 0 16px 14px;
  }

  .locations-container {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .locations-carousel-wrapper {
    display: block !important;
    position: static !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }

  /* Ocultar completamente flechas en móvil */
  .locations-carousel-arrow {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .locations-carousel-viewport {
    overflow: visible !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Disposición secuencial vertical (1 columna) de las 5 tarjetas en móvil */
  .locations-carousel-track {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
  }

  .locations-carousel-track .location-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    position: relative !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex: 0 0 auto !important;
  }

  .location-footer-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .locations-tagline {
    padding: 24px 16px 8px;
  }

  .locations-tagline-line {
    max-width: 60px;
  }

  .locations-tagline-text {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }
}

@media (max-width: 480px) {
  .location-footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ==========================================================================
   11. SECCIÓN GALERÍA FOTOGRÁFICA (TASK 006)
   Referencia visual: Página 6 — PROPUESTA WEB MEGA POINT.pdf
   Layout Optimizado para Viewport Desktop 1920x1080 sin scroll interno
   ========================================================================== */

/* ── Contenedor general de la galería (TASK 012: Anclaje superior y scroll natural) ─ */
.gallery-section {
  position: relative;
  background-color: var(--color-bg-base);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 60px 0 50px;
  scroll-margin-top: var(--header-height);
  box-sizing: border-box;
}

/* ── Encabezado centrado de la galería ───────────────────────────────────── */
.gallery-header-wrap {
  text-align: center;
  padding: 0 24px 14px;
  max-width: 820px;
  margin: 0 auto;
}

.gallery-overline {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-gold-primary);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.gallery-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
}

.gallery-title em {
  font-style: normal;
  color: var(--color-gold-primary);
}

.gallery-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 14px;
}

/* ── Barra de filtros de categoría ───────────────────────────────────────── */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
}

.gallery-filter-btn {
  background: rgba(18, 20, 28, 0.6);
  border: 1px solid rgba(223, 183, 108, 0.25);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.gallery-filter-btn:hover {
  border-color: var(--color-gold-primary);
  color: var(--color-text-primary);
  background: rgba(223, 183, 108, 0.1);
  transform: translateY(-1px);
}

.gallery-filter-btn.active {
  background: var(--gradient-gold-btn);
  color: #07080b;
  border-color: var(--color-gold-light);
  font-weight: 700;
  box-shadow: var(--glow-gold-sm);
}

/* ── Cuadrícula de 9 Fotografías (3 columnas x 3 filas) ──────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
}

/* ── Tarjeta de Galería ──────────────────────────────────────────────────── */
.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(223, 183, 108, 0.25);
  background: #040507;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(223, 183, 108, 0.25);
}

.gallery-item-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #040507;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.06);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ── Encuadre fotográfico individual por ítem ───────────────────────────── */
#gallery-item-1 .gallery-img {
  object-position: center 45%;
}

#gallery-item-2 .gallery-img {
  object-position: center 40%;
}

#gallery-item-3 .gallery-img {
  object-position: center 42%;
}

#gallery-item-4 .gallery-img {
  object-position: center 38%;
}

#gallery-item-5 .gallery-img {
  object-position: center 36%;
}

#gallery-item-6 .gallery-img {
  object-position: center 45%;
}

#gallery-item-7 .gallery-img {
  object-position: center center;
}

#gallery-item-8 .gallery-img {
  object-position: center center;
}

#gallery-item-9 .gallery-img {
  object-position: center center;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 11, 0.85) 0%, rgba(7, 8, 11, 0.15) 50%, transparent 100%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: rgba(7, 8, 11, 0.85);
  border: 1px solid rgba(223, 183, 108, 0.4);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ── Estado vacío para categorías sin fotos (TASK 013B) ─────────────────── */
.gallery-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 24px;
  background: rgba(14, 16, 23, 0.5);
  border: 1px dashed rgba(223, 183, 108, 0.3);
  border-radius: 8px;
  margin: 10px 0;
}

.gallery-empty-text {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--color-gold-light);
  margin: 0;
}

/* ── Lema de Cierre de Galería ───────────────────────────────────────────── */
.gallery-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px 0;
}

.gallery-tagline-line {
  display: block;
  flex: 1;
  max-width: 140px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-primary), transparent);
  opacity: 0.5;
}

.gallery-tagline-text {
  font-family: var(--font-serif);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(191, 155, 79, 0.8);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Responsive: Tableta ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-section {
    padding: 60px 0 70px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    padding: 0 20px;
    gap: 16px;
  }

  .gallery-item-inner {
    aspect-ratio: 16 / 10;
  }

  .gallery-header-wrap {
    padding: 0 20px 24px;
  }
}

/* ── Responsive: Móvil ───────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .gallery-section {
    padding: 50px 0 60px;
  }

  .gallery-header-wrap {
    padding: 0 16px 20px;
  }

  .gallery-filters {
    gap: 6px;
  }

  .gallery-filter-btn {
    font-size: 0.65rem;
    padding: 6px 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    padding: 0 16px;
    gap: 14px;
  }

  .gallery-item-inner {
    aspect-ratio: 16 / 10;
  }

  .gallery-tagline {
    padding: 24px 16px 0;
  }

  .gallery-tagline-line {
    max-width: 60px;
  }

  .gallery-tagline-text {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
  }
}

/* ==========================================================================
   11b. LIGHTBOX MODAL DE GALERÍA (TASK 013C)
   Diseño Premium Black & Gold — Navegación Táctil, Teclado y Controles Accesibles
   ========================================================================== */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.gallery-lightbox:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

/* Fondo oscuro translúcido con desenfoque de cristal de obsidiana */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(4, 5, 7, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Barra superior: Contador, Categoría y Botón Cerrar */
.lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(4, 5, 7, 0.8) 0%, transparent 100%);
  pointer-events: none;
}

.lightbox-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}

.lightbox-counter {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-gold-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.lightbox-category-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-primary);
  background: rgba(14, 16, 23, 0.8);
  border: 1px solid rgba(223, 183, 108, 0.35);
  padding: 3px 10px;
  border-radius: 4px;
}

/* Botones de control del Lightbox */
.lightbox-btn {
  background: rgba(14, 16, 23, 0.75);
  border: 1px solid rgba(223, 183, 108, 0.3);
  color: var(--color-gold-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
  z-index: 10;
  pointer-events: auto;
  user-select: none;
}

.lightbox-btn:hover {
  background: rgba(223, 183, 108, 0.2);
  border-color: var(--color-gold-primary);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(223, 183, 108, 0.4);
  transform: scale(1.06);
}

.lightbox-btn:focus-visible {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 3px;
}

.lightbox-btn-close {
  width: 44px;
  height: 44px;
}

.lightbox-btn-prev,
.lightbox-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
}

.lightbox-btn-prev {
  left: 24px;
}

.lightbox-btn-next {
  right: 24px;
}

.lightbox-btn-prev:hover {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-btn-next:hover {
  transform: translateY(-50%) scale(1.06);
}

/* Contenedor de la fotografía ampliada */
.lightbox-content {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  padding: 72px 88px 32px;
  box-sizing: border-box;
  user-select: none;
  pointer-events: none;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(223, 183, 108, 0.28);
  box-shadow: 0 16px 52px rgba(0, 0, 0, 0.9), 0 0 28px rgba(223, 183, 108, 0.15);
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: scale(1);
  display: block;
}

.lightbox-img.loading {
  opacity: 0.3;
  transform: scale(0.98);
}

.lightbox-caption {
  display: none !important;
}

/* Indicador de cursor interactivo en galería */
.gallery-item {
  cursor: pointer;
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Responsive Móvil y Tablet */
@media (max-width: 768px) {
  .lightbox-header {
    padding: 14px 16px;
  }

  .lightbox-counter {
    font-size: 0.78rem;
  }

  .lightbox-category-badge {
    font-size: 0.6rem;
    padding: 2px 8px;
  }

  .lightbox-btn-close {
    width: 38px;
    height: 38px;
  }

  .lightbox-btn-prev,
  .lightbox-btn-next {
    width: 42px;
    height: 42px;
    background: rgba(14, 16, 23, 0.85);
  }

  .lightbox-btn-prev {
    left: 10px;
  }

  .lightbox-btn-next {
    right: 10px;
  }

  .lightbox-content {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    padding: 60px 14px 24px;
  }

  .lightbox-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.9);
  }
}

/* ==========================================================================
   12. SECCIÓN CONTACTO DIRECTO (TASK 033: REDISEÑO PREMIUM)
   Referencia visual: Contacto para eventos de lujo.png
   Layout Panorámico Cinemático con Fondo Luxury, Overlay Translúcido e Íconos PNG
   ========================================================================== */

.contact-section {
  position: relative;
  background-color: var(--color-bg-base);
  scroll-margin-top: var(--header-height);
  overflow: hidden;
  box-sizing: border-box;
  padding: 30px 0 16px;
}

/* Background con imagen de lujo y sutil desenfoque SOLO en el fondo (TASK 033) */
.contact-section::before {
  content: "";
  position: absolute;
  inset: -12px;
  background-image: url('../assets/images/contacto/imagen_fondo_contacto.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(5px);
  transform: scale(1.02);
  z-index: 0;
  pointer-events: none;
}

/* Overlay oscuro translúcido (75–85%) para garantizar máxima legibilidad (TASK 033) */
.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      #07080b 0%,
      rgba(6, 7, 10, 0.82) 14%,
      rgba(6, 7, 10, 0.78) 50%,
      rgba(6, 7, 10, 0.86) 100%);
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .contact-section {
    min-height: calc(100vh - var(--header-height));
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: clamp(32px, 4vh, 48px) 0;
    box-sizing: border-box;
  }
}

.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

/* ── Cuadrícula Principal (Información izquierda / Panel Panorámico derecho) ─ */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  align-items: center;
  gap: 48px;
  margin-top: clamp(20px, 3vh, 32px);
  margin-bottom: clamp(28px, 3.8vh, 42px);
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-overline {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--color-gold-primary);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 2.75vw, 2.85rem);
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 12px;
  letter-spacing: 0.03em;
}

.contact-title em {
  font-style: normal;
  color: var(--color-gold-primary);
  background: var(--gradient-gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px;
  max-width: 520px;
}

/* ── CTA Principal de WhatsApp ───────────────────────────────────────────── */
.contact-cta-wrapper {
  margin-bottom: 20px;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gradient-gold-btn);
  color: #07080b;
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 9999px;
  box-shadow: 0 4px 22px rgba(223, 183, 108, 0.38), 0 0 16px rgba(223, 183, 108, 0.22);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 242, 196, 0.6);
}

.contact-cta-btn:hover {
  background: var(--gradient-gold-btn-hover);
  color: #040507;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(223, 183, 108, 0.55), 0 0 24px rgba(223, 183, 108, 0.35);
}

.contact-cta-btn:focus-visible {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 4px;
}

.contact-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.contact-cta-icon svg {
  width: 20px;
  height: 20px;
}

.contact-cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.contact-cta-btn:hover .contact-cta-arrow {
  transform: translateX(4px);
}

/* ── Redes Sociales Oficiales Verificadas ─────────────────────────────────── */
.contact-social-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-social-title {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-social-title::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0.6;
}

.contact-social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(223, 183, 108, 0.55);
  background: rgba(14, 16, 23, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 10px rgba(223, 183, 108, 0.15);
  transition: all 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-social-icon-btn:hover {
  background: var(--gradient-gold-btn);
  color: #050608;
  border-color: var(--color-gold-light);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(223, 183, 108, 0.5), 0 0 16px rgba(223, 183, 108, 0.35);
}

.contact-social-icon-btn svg {
  transition: transform 0.25s ease;
}

.contact-social-icon-btn:hover svg {
  transform: scale(1.12);
}

.contact-social-icon-btn:focus-visible {
  outline: 2px solid var(--color-gold-primary);
  outline-offset: 3px;
}

/* ── Columna Derecha: Panel de Video Panorámico (16:9 de Lujo) ─────────────── */
.contact-media-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.contact-media-frame {
  position: relative;
  width: 100%;
  max-width: 660px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(223, 183, 108, 0.6);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.85), 0 0 30px rgba(223, 183, 108, 0.26);
  background: #06070a;
}

.contact-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 0.8s ease;
}

.contact-media-frame:hover .contact-media-img {
  transform: scale(1.04);
}

.contact-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.12) 0%, rgba(7, 8, 11, 0.62) 100%);
  pointer-events: none;
}

.contact-media-badge {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  text-align: right;
  pointer-events: none;
}

.contact-media-quote {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(246, 230, 180, 0.95);
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.contact-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Barra de 4 Atributos Informativos (TASK 033: Íconos PNG de Lujo con Separadores) ── */
.contact-benefits-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 16px 24px;
  max-width: 1260px;
  margin: 0 auto clamp(26px, 3.5vh, 38px);
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.contact-benefit-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
  padding: 0 12px;
  box-sizing: border-box;
  transition: transform 0.25s ease;
}

.contact-benefit-item:hover {
  transform: translateY(-2px);
}

/* Separadores verticales sutiles en desktop (según referencia) */
@media (min-width: 1025px) {
  .contact-benefit-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(223, 183, 108, 0.35) 50%, transparent 100%);
  }
}

.contact-benefit-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-benefit-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(223, 183, 108, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-benefit-item:hover .contact-benefit-img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 16px rgba(223, 183, 108, 0.75));
}

.contact-benefit-text {
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.25;
  transition: color 0.25s ease;
}

.contact-benefit-item:hover .contact-benefit-text {
  color: #ffffff;
}

/* ── Lema de Cierre del Sitio (TASK 034: Mayor protagonismo visual y espaciado confortable) ── */
.contact-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  margin-top: 0;
  margin-bottom: 0;
}

.contact-tagline-line {
  display: block;
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold-primary), transparent);
  opacity: 0.75;
}

.contact-tagline-text {
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 1.08vw, 0.94rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 14px rgba(223, 183, 108, 0.35);
}

/* ── Footer inferior de derechos (TASK 034: Franja sólida negra ~60px bajo scroll) ── */
.site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 60px;
  min-height: 60px;
  background-color: #000000;
  border-top: 1px solid rgba(223, 183, 108, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  text-align: center;
}

.footer-credit {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  text-transform: uppercase;
}

.footer-credit-link {
  color: var(--color-gold-primary);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.footer-credit-link:hover {
  color: var(--color-gold-light);
  text-shadow: 0 0 8px rgba(223, 183, 108, 0.5);
}

.footer-credit-link:focus-visible {
  outline: 1px solid var(--color-gold-primary);
  outline-offset: 2px;
}

/* ── Responsive: Tableta ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-section {
    min-height: auto;
    height: auto;
    max-height: none;
    padding: 50px 0 24px;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-media-frame {
    max-width: 580px;
    margin: 0 auto;
  }

  .contact-benefits-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    padding: 12px 18px;
  }

  .contact-benefit-text {
    white-space: normal;
  }
}

/* ── Responsive: Móvil ───────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .contact-section {
    padding: 40px 0 20px;
  }

  .contact-container {
    padding: 0 16px;
    gap: 20px;
  }

  .contact-main-grid {
    gap: 24px;
  }

  .contact-desc {
    font-size: 0.85rem;
  }

  .contact-cta-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 11px 20px;
    font-size: 0.76rem;
  }

  .contact-social-group {
    align-items: center;
  }

  .contact-social-title::after {
    display: none;
  }

  .contact-benefits-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 10px 0;
  }

  .contact-benefit-icon {
    width: 52px;
    height: 52px;
  }

  .contact-benefit-text {
    font-size: 0.62rem;
    white-space: normal;
  }

  .contact-tagline {
    padding: 8px 16px 0;
  }

  .contact-tagline-line {
    max-width: 60px;
  }

  .contact-tagline-text {
    font-size: 0.62rem;
    letter-spacing: 0.20em;
  }

  .site-footer {
    height: auto;
    min-height: 60px;
    padding: 14px 16px;
  }
}