/* ASTRAL CORE - CSS DE ALTA GAMA PARA CONSCIENCIA POR MÉXICO */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Manrope:wght@300;400;500;600&family=Cinzel:wght@400;500;600;700&display=swap');

:root {
    --void-deep: #0a0118;
    --void-mid: #1c053a;
    --void-light: #3d1b7e;
    --gold-bright: #FFD700;
    --gold-muted: #B8860B;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 215, 0, 0.15);
    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
    --spacing-section: 8rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body, html {
    width: 100%; min-height: 100vh; background-color: var(--void-deep);
    color: #ffffff; font-family: var(--font-body); overflow-x: hidden; scroll-behavior: smooth;
}

/* Fondo Espacial Matrix */
.astral-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 50%, var(--void-mid) 0%, var(--void-deep) 100%); z-index: -2;
}

#webgl-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; }

/* ================= HEADER FLOATING GLASS PRO MAX ================= */
.astral-header {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: 1500px;
    background: rgba(20, 5, 33, 0.6);
    backdrop-filter: blur(25px) saturate(180%); -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 215, 0, 0.15); border-radius: 20px;
    z-index: 2000; padding: 15px 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,215,0,0.02);
    display: flex; flex-direction: column; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.astral-header.scrolled {
    top: 10px; background: rgba(10, 1, 20, 0.9);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,215,0,0.05);
    border-color: rgba(255, 215, 0, 0.3);
}

.top-bar {
    display: flex; justify-content: flex-end; align-items: center; gap: 20px;
    padding-bottom: 12px; margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    font-size: 0.70rem; letter-spacing: 2px; text-transform: uppercase;
}
.top-bar-links { display: flex; align-items: center; gap: 8px; }
.top-bar-link {
    color: rgba(255, 255, 255, 0.5); font-family: var(--font-body);
    text-decoration: none; transition: color 0.3s ease;
    font-size: 0.70rem; letter-spacing: 2px;
}
.top-bar-link:hover { color: var(--gold-bright); text-shadow: 0 0 10px var(--gold-glow); }
.top-bar-sep { color: rgba(255, 215, 0, 0.3); font-size: 0.65rem; }
.lang-switch {
    font-family: var(--font-heading); font-weight: 700;
    border: 1px solid var(--gold-muted); padding: 2px 8px;
    border-radius: 3px; color: var(--gold-bright);
    font-size: 0.65rem; text-decoration: none; margin-left: 10px;
    transition: all 0.3s ease;
}
.lang-switch:hover { background: var(--gold-bright); color: var(--void-deep); }

.header-main { display: flex; justify-content: space-between; align-items: center; }
.header-main nav { flex-shrink: 1; min-width: 0; }

/* HEADER MINIMALISTA (sin logo) */
.header-main--minimal {
    justify-content: center;
}
.header-main--minimal nav { flex-shrink: 0; }

.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo-container img { height: 60px; filter: drop-shadow(0 0 15px rgba(255,215,0,0.4)); transition: transform 0.4s ease; }
.logo-container:hover img { transform: scale(1.05) rotate(2deg); filter: drop-shadow(0 0 25px rgba(255,215,0,0.7)); }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-text-main { font-family: var(--font-heading); font-size: 1.3rem; color: #fff; letter-spacing: 3px; font-weight: 600; line-height: 1.1; display: block; }
.logo-text-sub { font-family: var(--font-body); font-size: 0.65rem; color: var(--gold-bright); letter-spacing: 5px; opacity: 0.9; text-transform: uppercase; display: block;}

.nav-links { display: flex; gap: 1.8rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-links a {
    font-family: var(--font-heading); font-size: 0.78rem; color: #fff; text-decoration: none;
    letter-spacing: 1.5px; font-weight: 500; transition: all 0.3s ease; position: relative; padding-bottom: 5px;
    white-space: nowrap;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 1px; background: var(--gold-bright); transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--gold-bright);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); text-shadow: 0 0 15px var(--gold-glow); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* 🚀 HERO SECTION CON VIDEO HÍBRIDO 🚀 */
.hero-section {
    min-height: 100vh; position: relative; z-index: 10; overflow: hidden; display: flex; align-items: center; justify-content: flex-start;
}

.hero-video-wrap {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1;
}
.hero-video {
    position: absolute; top: 50%; left: 50%; width: 100vw; height: 100vh;
    min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; z-index: 1; filter: contrast(1.1) brightness(0.9);
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.6) 100%); z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative; z-index: 10; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5%; text-align: left;
    transform: translateY(10%);
}

/* Tipografía de Lujo */
h1, h2, h3, h4, .cinematic-title { font-family: var(--font-heading); letter-spacing: 2px; font-weight: 600; }
.text-gold {
    background: linear-gradient(180deg, #FFF8D6 0%, #FFD700 50%, #B8860B 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent; display: inline-block;
}

/* Botón Oro Sólido Animado */
.btn-gold {
    display: inline-flex; align-items: center; justify-content: center; padding: 1.2rem 3.5rem;
    background: linear-gradient(135deg, #daaf08 0%, #ffdd74 50%, #daaf08 100%); background-size: 200% auto;
    color: #140a1e; font-family: var(--font-heading); font-weight: bold; text-decoration: none;
    letter-spacing: 2px; border-radius: 2px; transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3); animation: shine 3s infinite; position: relative; z-index: 10;
}
.btn-gold:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(218, 175, 8, 0.5); }
@keyframes shine { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Contenedores y Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%; }
section { padding: var(--spacing-section) 0; position: relative; z-index: 10; }

/* Glassmorphism Tarjetas */
.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 16px; padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s ease, box-shadow 0.4s;
    display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; position: relative; overflow: hidden;
}
.glass-card:hover { transform: translateY(-15px) rotateX(10deg) rotateY(5deg); border-color: rgba(255, 215, 0, 0.6); box-shadow: 0 20px 50px 0 var(--gold-glow); }
.glass-card::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.1), transparent); pointer-events: none;
}
.glass-card img { width: 65px; height: 65px; margin-bottom: 2rem; filter: drop-shadow(0px 0px 10px rgba(255, 215, 0, 0.6)); transition: transform 0.4s ease; }
.glass-card:hover img { transform: scale(1.15) translateY(-5px); }

/* Modificadores */
.text-center { text-align: center; } .mt-4 { margin-top: 4rem; } .mb-4 { margin-bottom: 4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

/* RESPONSIVIDAD DEL HEADER */
@media (max-width: 1150px) {
    .nav-links a { font-size: 0.70rem; letter-spacing: 1px; }
    .nav-links { gap: 1rem; }
    .logo-text-main { font-size: 1.1rem; }
}
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } :root { --spacing-section: 5rem; } }

/* Elementos Visuales */
.golden-thread {
    position: absolute; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); opacity: 0.4; filter: drop-shadow(0 0 5px rgba(255,215,0,0.5));
}
.whatsapp-float {
    position: fixed; bottom: 40px; right: 40px; width: 65px; height: 65px;
    background: linear-gradient(135deg, #FFEA70 0%, #E6C200 50%, #B8860B 100%); border-radius: 50%;
    color: #0a0118; text-align: center; font-size: 38px; box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
    z-index: 1000; display: flex; justify-content: center; align-items: center;
    text-decoration: none; transition: all 0.3s ease;
    animation: goldPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}
.whatsapp-float:hover { transform: scale(1.15) rotate(10deg); box-shadow: 0 0 45px rgba(255, 215, 0, 0.9); animation: none; }
@keyframes goldPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* ================= ALTAR DE CIERRE — DIAMOND MODEL ================= */
.altar-de-cierre {
    background: linear-gradient(180deg, transparent 0%, rgba(3,0,8,0.95) 8%, #030008 100%);
    padding: 0; position: relative; z-index: 10;
}

.altar-container {
    max-width: 780px; margin: 0 auto;
    padding: 3rem 2rem 2rem;
    text-align: center;
    position: relative;
}

.altar-panel {
    background: rgba(12, 4, 28, 0.6);
    backdrop-filter: blur(35px); -webkit-backdrop-filter: blur(35px);
    border: 1px solid rgba(218,175,8,0.18);
    border-radius: 4px;
    padding: 4.5rem 4rem 4rem;
    position: relative; overflow: hidden;
    box-shadow: 
        0 0 100px rgba(218,175,8,0.06),
        0 30px 80px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(218,175,8,0.12),
        inset 0 -1px 0 rgba(218,175,8,0.05);
}

.altar-panel::before {
    content: ''; position: absolute; top: 0; left: 5%; right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(218,175,8,0.7), transparent);
}

.altar-panel::after {
    content: ''; position: absolute; bottom: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(218,175,8,0.3), transparent);
}

.altar-title {
    font-family: var(--font-heading); 
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 14px; font-weight: 400;
    background: linear-gradient(135deg, #DAAF08 0%, #FFF4BC 50%, #DAAF08 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(218,175,8,0.15));
}

.altar-sep {
    width: 80px; height: 1px; margin: 0 auto 2.5rem;
    background: linear-gradient(90deg, transparent, #DAAF08, transparent);
    box-shadow: 0 0 10px rgba(218,175,8,0.3);
}

.altar-desc {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.7);
    font-size: 1rem; line-height: 2.1;
    letter-spacing: 0.8px;
    max-width: 540px; margin: 0 auto 3rem;
}

.altar-input-group {
    margin-bottom: 2.2rem; position: relative;
}

.altar-input {
    width: 100%; padding: 16px 8px;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(218,175,8,0.3);
    border-radius: 0;
    color: rgba(255,255,255,0.95);
    font-family: var(--font-body);
    font-size: 1rem; letter-spacing: 1.5px;
    text-align: center;
    outline: none;
    transition: all 0.5s ease;
}

.altar-input::placeholder {
    color: rgba(255,255,255,0.4);
    letter-spacing: 3px; font-size: 0.82rem;
    text-transform: uppercase;
}

.altar-input:focus {
    border-bottom-color: #DAAF08;
    box-shadow: 0 3px 25px rgba(218,175,8,0.18);
}

.altar-textarea {
    min-height: 90px; resize: vertical;
    text-align: center;
}

.altar-submit {
    width: 100%; max-width: 100%; padding: 18px;
    margin: 2rem auto 0; display: block;
    background: linear-gradient(135deg, #DAAF08 0%, #FFF4BC 40%, #DAAF08 100%);
    border: none; border-radius: 2px; cursor: pointer;
    font-family: var(--font-heading); font-size: 0.95rem;
    letter-spacing: 10px; color: #0a0219;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 30px rgba(218,175,8,0.3);
    position: relative; overflow: hidden;
}

.altar-submit::after {
    content: ''; position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.altar-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(218,175,8,0.5);
    letter-spacing: 14px;
}

.altar-submit:hover::after { transform: translateX(100%); }

.altar-contact-row {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; flex-wrap: wrap;
    margin-top: 3.5rem; padding-top: 2.5rem;
    border-top: 1px solid rgba(218,175,8,0.12);
    font-family: var(--font-body);
    color: rgba(255,255,255,0.65); font-size: 0.9rem;
    letter-spacing: 1.5px;
}

.altar-contact-row i {
    color: var(--gold-bright); font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(218,175,8,0.4));
}

.altar-contact-row .contact-sep { color: rgba(218,175,8,0.4); margin: 0 8px; }

.altar-contact-row a {
    color: rgba(255,255,255,0.65); text-decoration: none;
    transition: color 0.3s ease;
}

.altar-contact-row a:hover { color: var(--gold-bright); }

.altar-social {
    display: flex; gap: 20px; justify-content: center;
    margin-top: 2rem;
}

.altar-social a {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(218,175,8,0.25);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55); font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(218,175,8,0.05);
}

.altar-social a:hover {
    border-color: var(--gold-bright);
    color: var(--gold-bright);
    box-shadow: 0 0 25px rgba(218,175,8,0.35);
    transform: translateY(-4px) scale(1.1);
}

.copyright-bar {
    margin-top: 4rem; padding: 2rem;
    border-top: 1px solid rgba(218,175,8,0.08);
    text-align: center;
}

.copyright-bar p {
    font-family: var(--font-body);
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem; letter-spacing: 5px;
}

/* 🏺 SELLO IMPERIAL 🏛️ */
.imperial-seal {
    display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 1.2rem;
}
.imperial-seal .line {
    flex: 1; max-width: 80px; height: 1px;
}
.imperial-seal .line.left { background: linear-gradient(90deg, transparent, rgba(218,175,8,0.4)); }
.imperial-seal .line.right { background: linear-gradient(270deg, transparent, rgba(218,175,8,0.4)); }
.imperial-seal img {
    height: 32px; opacity: 0.4; filter: drop-shadow(0 0 10px rgba(218,175,8,0.2)) sepia(0.5) brightness(1.2);
}
/* =========================================
   RESET BASE (NO ROMPE NADA)
========================================= */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* =========================================
   CONTENEDOR GLOBAL
========================================= */
.container {
  padding-left: 20px;
  padding-right: 20px;
}

/* =========================================
   MOBILE TOGGLE BUTTON (HIDDEN ON DESKTOP)
========================================= */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--gold-bright);
    margin: 5px 0;
    transition: 0.4s;
}

/* =========================================
   TABLET (<=1024px)
========================================= */
@media (max-width: 1024px) {

  /* HEADER */
  .header-main {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.8rem;
  }

  /* HERO */
  .hero-content {
    transform: none !important;
    padding-top: 3rem !important;
    text-align: center;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .cinematic-title {
    font-size: clamp(2rem, 6vw, 3.5rem) !important;
    line-height: 1.2;
  }

  /* ASTROLABIO */
  .astrolabe-container {
    transform: scale(0.8) !important;
  }

  /* GRID */
  .grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* 369 */
  #counter-369 {
    font-size: clamp(6rem, 15vw, 10rem) !important;
  }
}

/* =========================================
   MOBILE (<=768px)
========================================= */
@media (max-width: 768px) {

  /* HEADER */
  .header-main {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 10px;
  }

  /* Los estilos de HEADER y NAV para móvil se han consolidado al final del archivo */

  /* LOGO */
  .logo-container img:first-child {
    height: 45px !important;
  }

  /* HERO */
  .hero-section {
    min-height: 90vh;
  }

  .hero-content {
    padding-top: 2rem !important;
  }

  /* ANTI-DESBORDAMIENTO GLOBAL DE TÍTULOS */
  h1, h2, h3, h4 {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  /* Títulos con letter-spacing inline alto */
  h1[style*="letter-spacing"],
  h2[style*="letter-spacing"],
  h3[style*="letter-spacing"],
  h4[style*="letter-spacing"],
  p[style*="letter-spacing"] {
    letter-spacing: 4px !important;
  }

  .cinematic-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    letter-spacing: 4px !important;
    word-break: break-word;
    margin-bottom: 20px;
  }

  /* BOTONES */
  .btn-gold {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* GRID */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* CARDS */
  .glass-card {
    padding: 25px 20px;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* TÍTULO ASISTENCIA PRIORITARIA */
  .altar-title {
    font-size: 1.2rem !important;
    letter-spacing: 3px !important;
    word-break: break-word;
    white-space: normal !important;
  }

  /* GALERÍA DE PREMIADOS (Evitar caras cortadas) */
  .award-img-box {
    height: auto !important;
    aspect-ratio: 4/5 !important;
  }
  .award-img-box img {
    object-position: top center !important;
  }

  /* BOTONES Y FORMULARIOS CENTRADOS */
  .btn-gold, .btn-membership, .altar-submit, .btn-chamber, button[type="submit"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 12px 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 300px !important;
    letter-spacing: 3px !important;
    white-space: normal !important;
  }

  /* ASTROLABIO COMPLETO */
  .astrolabe-container {
    transform: scale(0.6) !important;
  }

  /* 369 SECCIÓN */
  #counter-369 {
    font-size: clamp(4rem, 18vw, 7rem) !important;
  }

  .orbit-369-inner,
  .orbit-369-mid,
  .orbit-369-outer {
    transform: scale(0.5) !important;
  }

  /* PLACA */
  .luxury-plaque {
    padding: 30px 20px !important;
  }

  /* TEXTO */
  p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* CARRUSEL */
  .premiado-card {
    width: 260px;
    height: 380px;
  }

  /* FLAGS */
  .flags-track {
    gap: 2rem;
  }

  .flag-img {
    height: 32px;
  }

}

/* =========================================
   MOBILE PEQUEÑO (<=480px)
========================================= */
@media (max-width: 480px) {
  /* AJUSTES FINALES PULIDO MÓVIL (Fase de Paridad) */
  .whatsapp-float {
    right: 15px !important;
    bottom: 25px !important;
    width: 55px !important;
    height: 55px !important;
    font-size: 32px !important;
  }

  .altar-title {
    letter-spacing: 2px !important;
    line-height: 1.3 !important;
  }

  /* Despeje de pie de pgina para evitar choque con WhatsApp */
  .altar-cierre {
    padding-bottom: 120px !important;
  }

  /* Evitar rotura de palabras largas en inputs y placeholders */
  .altar-input::placeholder {
    font-size: 0.8rem !important;
    letter-spacing: 1px !important;
  }


  /* HERO */
  .cinematic-title {
    font-size: clamp(1.4rem, 8vw, 2rem) !important;
  }

  /* 369 */
  #counter-369 {
    font-size: clamp(3rem, 20vw, 5rem) !important;
  }

  /* TEXTO GENERAL */
  p {
    font-size: 0.9rem;
  }

  /* BOTONES */
  .btn-gold {
    width: 100%;
    text-align: center;
  }

  /* PLACA */
  .luxury-plaque {
    padding: 25px 15px !important;
  }

  /* FORM */
  .altar-input {
    font-size: 0.9rem;
  }

}


/* =========================================
   HEADER & MOBILE MENU (CONSOLIDADO FINAL)
========================================= */
@media (max-width: 950px) {

  /* ═══ ESTRUCTURA HEADER MÓVIL ═══ */
  .astral-header {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    border-radius: 0;
    padding: 0;
    z-index: 2500;
  }

  /* TOP-BAR COMPACTA PERMANENTE */
  .top-bar {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 6px 15px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 0;
    background: rgba(5, 0, 15, 0.85);
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }

  .top-bar .top-bar-links {
    gap: 5px;
  }

  .top-bar .top-bar-link {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    color: rgba(255, 215, 0, 0.7);
  }

  .top-bar .top-bar-sep {
    font-size: 0.55rem;
    color: rgba(255, 215, 0, 0.25);
  }

  .top-bar .lang-switch {
    font-size: 0.55rem;
    padding: 1px 5px;
    margin-left: 6px;
  }

  /* HEADER MAIN ROW */
  .header-main {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end !important;
    width: 100% !important;
    position: relative;
    padding: 10px 15px !important;
  }

  .header-main--minimal {
    justify-content: flex-end !important;
  }

  /* Logo hidden — no logo in minimal header */
  .logo-container {
    display: none !important;
  }

  /* ═══ HAMBURGER BUTTON — LÍNEAS ESTILIZADAS ═══ */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 38px;
    height: 34px;
    position: relative;
    cursor: pointer;
    z-index: 3100;
    background: transparent !important;
    border-radius: 6px;
    padding: 5px !important;
    border: 1px solid rgba(255, 215, 0, 0.15) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: border-color 0.3s ease;
  }

  .mobile-toggle:hover {
    border-color: rgba(255, 215, 0, 0.4) !important;
  }

  .mobile-toggle .bar {
    height: 1.5px;
    width: 22px;
    background: linear-gradient(90deg, rgba(255,215,0,0.4), #FFD700, rgba(255,215,0,0.4)) !important;
    border-radius: 1px;
    box-shadow: 0 0 6px rgba(255,215,0,0.3);
    display: block !important;
    margin: 0 auto;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: center;
  }

  /* HAMBURGER → X ANIMATION */
  .mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* ═══ FULLSCREEN SLIDE MENU ═══ */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(10, 1, 25, 0.99) 0%, rgba(20, 5, 40, 1) 100%);
    backdrop-filter: blur(40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 3000;
  }

  nav.active {
    right: 0;
  }

  /* No more ::before pseudo — top-bar is now always visible */

  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 2rem;
  }

  .nav-links a {
    color: #ffffff !important;
    font-size: 1.4rem !important;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    letter-spacing: 3px;
  }

  /* HERO COMPENSACIÓN */
  .hero-section {
    padding-top: 90px !important;
  }

}

/* ========================================================================= */
/* 5. OVERRIDES LIBRERÍAS (SWIPER)                                           */
/* ========================================================================= */

.swiper-pagination-bullet {
  background: rgba(255, 215, 0, 0.3) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background: #FFD700 !important;
  width: 20px !important;
  border-radius: 4px !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.6) !important;
}
