/* ==========================================================================
   DELEGACIÓN PROVINCIAL DE TIRO OLÍMPICO DE LEÓN
   Luxury CSS Design System - Inspiración Gallardo Pareja (Alta Gama & Elegancia)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;900&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(13, 18, 28, 0.82);
  --bg-card-hover: rgba(20, 28, 44, 0.92);
  --bg-surface: #0d121c;
  
  /* Paleta Dorada Champagne Inspirada en Gallardo Pareja */
  --gold-primary: #c5a880;
  --gold-light: #f5e5d3;
  --gold-dark: #8c7049;
  --gold-gradient: linear-gradient(135deg, #f5e5d3 0%, #c5a880 50%, #8c7049 100%);
  --gold-metallic: linear-gradient(135deg, #f5e5d3 0%, #c5a880 35%, #e6d2b8 65%, #8c7049 100%);

  --accent-red: #ef4444;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-blue: #3b82f6;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #c5a880;

  --border-gold: rgba(197, 168, 128, 0.28);
  --border-gold-glow: rgba(197, 168, 128, 0.6);
  --border-subtle: rgba(197, 168, 128, 0.12);

  /* Tipografía Gallardo Pareja: Cinzel para Encabezados, Montserrat para Cuerpo */
  --font-heading: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-gold: 0 10px 30px -8px rgba(197, 168, 128, 0.25);
  --shadow-card: 0 20px 45px -15px rgba(0, 0, 0, 0.88);
  --backdrop-blur: blur(16px);
}



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

html {
 scroll-behavior: smooth;
 font-family: var(--font-sans);
 background-color: var(--bg-dark);
 color: var(--text-main);
 overflow-x: hidden;
}

/* Unified Top-to-Bottom Gradient: Starts in Home Blue (#172036) and ends in Footer Black (#040405) */
body {
  line-height: 1.6;
  background: linear-gradient(180deg, #172036 0%, #0d121f 40%, #05070a 80%, #040405 100%) !important;
  background-attachment: scroll !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

main {
  background: transparent !important;
  flex-grow: 1;
}

.section {
  background: transparent !important;
}

.footer {
  background: transparent !important;
  border-top: 1px solid var(--border-gold);
  padding: 4.5rem 0 2.5rem 0;
  color: var(--text-secondary);
}

main {
 flex-grow: 1;
}

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

button {
 font-family: var(--font-sans);
 cursor: pointer;
 border: none;
 outline: none;
}

/* Luxury Keyframes */
@keyframes shimmer {
 0% { background-position: -200% 0; }
 100% { background-position: 200% 0; }
}

@keyframes goldPulse {
 0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.25); border-color: rgba(212, 175, 55, 0.4); }
 50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); border-color: rgba(212, 175, 55, 0.9); }
}

@keyframes pulseDot {
 0%, 100% { transform: scale(1); opacity: 1; }
 50% { transform: scale(1.4); opacity: 0.6; }
}

/* Typography Utilities */
.text-gold-gradient {
 background: var(--gold-metallic);
 background-size: 200% auto;
 -webkit-background-clip: text;
 -webkit-text-fill-color: transparent;
 animation: shimmer 8s linear infinite;
 display: inline-block;
}





.heading-serif {
 font-family: var(--font-heading);
}

.subtitle {
 color: var(--gold-primary);
 letter-spacing: 3px;
 text-transform: uppercase;
 font-size: 0.8rem;
 font-weight: 700;
 margin-bottom: 0.5rem;
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
}

.subtitle::before,.subtitle::after {
 content: '';
 display: inline-block;
 width: 15px;
 height: 1px;
 background: var(--gold-primary);
}

.section-title {
 font-size: 2.2rem;
 font-weight: 800;
 margin-bottom: 0.8rem;
 line-height: 1.15;
 letter-spacing: -0.5px;
}

@media (min-width: 768px) {
.section-title { font-size: 2.8rem; }
}

.section-desc {
 color: var(--text-muted);
 font-size: 1rem;
 max-width: 780px;
 margin: 0 auto 2.5rem auto;
}

/* Top Announcement Bar */
.top-bar {
 background: linear-gradient(90deg, #07090e, #181226, #07090e);
 border-bottom: 1px solid var(--border-gold);
 padding: 0.4rem 1.5rem;
 font-size: 0.78rem;
 color: var(--text-muted);
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
 z-index: 1001;
 position: relative;
}

.top-bar-info span {
 margin-right: 1.2rem;
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
}

.top-bar-info i {
 color: var(--gold-primary);
}

.top-bar-badge {
 background: rgba(212, 175, 55, 0.15);
 border: 1px solid var(--gold-primary);
 color: var(--gold-light);
 padding: 2px 10px;
 border-radius: var(--radius-full);
 font-weight: 600;
 font-size: 0.72rem;
}

/* Navbar Header (Single Row Compact Layout) */
.navbar {
 position: sticky;
 top: 0;
 z-index: 1000;
 background: rgba(5, 7, 10, 0.94);
 backdrop-filter: var(--backdrop-blur);
 border-bottom: 1px solid var(--border-subtle);
 transition: all 0.3s ease;
}

.navbar.scrolled {
 box-shadow: 0 10px 30px rgba(0,0,0,0.9);
 background: rgba(5, 7, 10, 0.98);
}

.nav-container {
 max-width: 1650px;
 margin: 0 auto;
 padding: 0.5rem 1.2rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 gap: 0.8rem;
}

.brand-logo {
 display: flex;
 align-items: center;
 gap: 0.6rem;
 flex-shrink: 0;
}

.brand-shield {
 width: 36px;
 height: 36px;
 filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
}

.brand-img-logo {
 height: 135px;
 max-height: 140px;
 width: auto;
 object-fit: contain;
 filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.7));
 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
 vertical-align: middle;
}

.brand-img-logo:hover {
 transform: scale(1.05);
 filter: drop-shadow(0 6px 28px rgba(212, 175, 55, 0.98));
}

.brand-img-footer {
 height: 120px;
 max-height: 125px;
 width: auto;
 object-fit: contain;
 filter: drop-shadow(0 4px 16px rgba(212, 175, 55, 0.6));
 transition: transform 0.3s ease, filter 0.3s ease;
 vertical-align: middle;
}

.brand-img-footer:hover {
 transform: scale(1.05);
 filter: drop-shadow(0 6px 24px rgba(212, 175, 55, 0.9));
}

.brand-text h1 {
 font-size: 1.2rem;
 font-weight: 800;
 color: var(--text-main);
 letter-spacing: -0.3px;
 line-height: 1.15;
}

.brand-text span {
 font-size: 0.8rem;
 color: var(--gold-primary);
 letter-spacing: 1.5px;
 text-transform: uppercase;
 font-weight: 600;
}

/* Header Navigation Links (Resized Compact & Refined) */
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.1rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #cbd5e1;
  transition: all 0.25s ease;
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a:hover,
.nav-links a.active {
 color: var(--gold-light);
 text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.nav-links a::after {
 content: '';
 position: absolute;
 bottom: 0;
 left: 0;
 width: 0%;
 height: 2px;
 background: var(--gold-primary);
 transition: width 0.3s ease;
 border-radius: 2px;
}

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

.nav-actions {
 display: flex;
 align-items: center;
 gap: 0.5rem;
 flex-shrink: 0;
}

.nav-actions.btn {
 padding: 0.35rem 0.75rem;
 font-size: 0.75rem;
 font-weight: 600;
 border-radius: var(--radius-full);
}

.nav-actions.btn i {
 width: 13px;
 height: 13px;
}

.btn {
 padding: 0.6rem 1.3rem;
 border-radius: var(--radius-full);
 font-weight: 600;
 font-size: 0.85rem;
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 position: relative;
 overflow: hidden;
}

.btn-gold {
 background: var(--gold-metallic);
 color: #0b0f19;
 font-weight: 700;
 box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
 transform: translateY(-2px);
 box-shadow: 0 15px 35px rgba(212, 175, 55, 0.45);
}

.btn-outline {
 background: rgba(255, 255, 255, 0.03);
 border: 1px solid var(--border-gold);
 color: var(--gold-light);
}

.btn-outline:hover {
 background: rgba(212, 175, 55, 0.12);
 border-color: var(--gold-primary);
 transform: translateY(-2px);
}

.mobile-toggle {
 display: none;
 font-size: 1.4rem;
 color: var(--text-main);
 background: none;
}

/* Hero Section Grand Luxe */
.hero {
 position: relative;
 min-height: 85vh;
 display: flex;
 align-items: center;
 padding: 4rem 1.5rem;
 overflow: hidden;
}

.hero-bg-container {
 position: absolute;
 inset: 0;
 z-index: 1;
}

.hero-slide {
 position: absolute;
 inset: 0;
 background-size: cover;
 background-position: center;
 opacity: 0;
 transition: opacity 1.5s ease-in-out;
 transform: scale(1.05);
}

.hero-slide.active {
 opacity: 1;
 transform: scale(1);
 transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.hero-overlay {
 position: absolute;
 inset: 0;
 background: radial-gradient(circle at 70% 30%, rgba(5, 7, 10, 0.6) 0%, rgba(5, 7, 10, 0.95) 80%);
 z-index: 2;
}

.hero-container {
 position: relative;
 z-index: 3;
 max-width: 1450px;
 margin: 0 auto;
 width: 100%;
 display: grid;
 grid-template-columns: 1fr;
 gap: 3.5rem;
 align-items: center;
}

@media (min-width: 1024px) {
.hero-container {
 grid-template-columns: 1.2fr 0.8fr;
 gap: 6.5rem;
 }
}

.hero-badge {
 display: inline-flex;
 align-items: center;
 gap: 0.6rem;
 background: rgba(212, 175, 55, 0.12);
 border: 1px solid var(--border-gold);
 padding: 0.45rem 1.2rem;
 border-radius: var(--radius-full);
 font-size: 0.84rem;
 color: var(--gold-light);
 font-weight: 600;
 margin-bottom: 1.5rem;
}

.hero-title {
 font-size: 2.5rem;
 font-weight: 900;
 line-height: 1.15;
 margin-top: 0.6rem;
 margin-bottom: 2.2rem;
 letter-spacing: -1px;
}

@media (min-width: 768px) {
.hero-title { font-size: 3.5rem; }
}

/* Saludo Oficial de Esteban Fernández Alonso Quote Card */
.welcome-quote-card {
 background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(7, 9, 14, 0.95));
 border-left: 4px solid var(--gold-primary);
 border-top: 1px solid var(--border-subtle);
 border-right: 1px solid var(--border-subtle);
 border-bottom: 1px solid var(--border-subtle);
 border-radius: var(--radius-md);
 padding: 2rem 2.2rem;
 margin-bottom: 2.4rem;
 box-shadow: var(--shadow-card);
 position: relative;
}

.welcome-quote-card::before {
 content: '“';
 position: absolute;
 top: -10px;
 right: 20px;
 font-family: var(--font-heading);
 font-size: 5rem;
 color: rgba(212, 175, 55, 0.15);
 line-height: 1;
}

.welcome-quote-text p {
 color: var(--text-main);
 font-size: 0.98rem;
 line-height: 1.75;
 margin-bottom: 1.4rem;
 font-family: var(--font-sans);
}

.welcome-quote-text p:last-child {
 margin-bottom: 0;
}

.welcome-author {
 display: flex;
 align-items: center;
 gap: 1.2rem;
 margin-top: 1.8rem;
 padding-top: 1.4rem;
 border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.author-seal {
 width: 40px;
 height: 40px;
 border-radius: 50%;
 background: rgba(212, 175, 55, 0.15);
 border: 1px solid var(--gold-primary);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--gold-primary);
}

.author-info strong {
 display: block;
 color: var(--gold-light);
 font-size: 0.95rem;
 font-family: var(--font-heading);
}

.author-info span {
 font-size: 0.78rem;
 color: var(--text-muted);
 letter-spacing: 0.5px;
}

.hero-btns {
 display: flex;
 gap: 1rem;
 flex-wrap: wrap;
}

/* Columna Estado Federativo Ultra Visual & Elegante */
.hero-card-preview {
 background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(5, 7, 10, 0.98));
 border: 1px solid var(--border-gold);
 border-radius: var(--radius-xl);
 padding: 1.8rem;
 box-shadow: var(--shadow-card);
 animation: goldPulse 4s infinite ease-in-out;
 position: relative;
}

.preview-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 1.5rem;
 padding-bottom: 1rem;
 border-bottom: 1px solid var(--border-subtle);
}

.preview-status {
 display: inline-flex;
 align-items: center;
 gap: 0.5rem;
 background: rgba(16, 185, 129, 0.15);
 border: 1px solid rgba(16, 185, 129, 0.4);
 color: #6ee7b7;
 padding: 0.3rem 0.75rem;
 border-radius: var(--radius-full);
 font-size: 0.75rem;
 font-weight: 700;
}

.pulse-dot {
 width: 8px;
 height: 8px;
 border-radius: 50%;
 background: #10b981;
 animation: pulseDot 2s infinite ease-in-out;
}

.preview-stats-grid {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 1rem;
 margin-bottom: 1.5rem;
}

.stat-item {
 background: rgba(5, 7, 10, 0.6);
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-md);
 padding: 1rem;
 text-align: center;
 transition: all 0.3s ease;
}

.stat-item:hover {
 border-color: var(--border-gold);
 transform: translateY(-2px);
}

.stat-number {
 font-family: var(--font-heading);
 font-size: 2rem;
 font-weight: 800;
 color: var(--gold-primary);
 line-height: 1;
 margin-bottom: 0.3rem;
}

.stat-label {
 font-size: 0.78rem;
 color: var(--text-muted);
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

/* Sections & Layout Grid */
.section {
 padding: 4rem 1.5rem;
 position: relative;
}

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

.grid-4 {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1.5rem;
}

@media (min-width: 640px) {.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {.grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Pilares Cards */
.pillar-card {
 background: var(--bg-card);
 backdrop-filter: var(--backdrop-blur);
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-lg);
 padding: 1.6rem;
 transition: all 0.3s ease;
 position: relative;
}

.pillar-card:hover {
 border-color: var(--border-gold);
 transform: translateY(-5px);
 box-shadow: 0 15px 35px rgba(0,0,0,0.8), 0 0 15px rgba(212, 175, 55, 0.15);
}

.pillar-icon-box {
 width: 46px;
 height: 46px;
 border-radius: var(--radius-md);
 background: rgba(212, 175, 55, 0.15);
 border: 1px solid var(--border-gold);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--gold-primary);
 margin-bottom: 1rem;
}

.pillar-tag {
 font-size: 0.68rem;
 color: var(--gold-primary);
 font-weight: 800;
 text-transform: uppercase;
 letter-spacing: 1px;
 display: block;
 margin-bottom: 0.3rem;
}

/* 10 SECCIONES DIRECTORY (5x2 HOMOGENEOUS GRID) */
.home-nav-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1.2rem;
}

@media (min-width: 640px) {.home-nav-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {.home-nav-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) {.home-nav-grid { grid-template-columns: repeat(5, 1fr); } }

.home-nav-card {
 background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(7, 9, 14, 0.95));
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-md);
 padding: 1.3rem 1.2rem;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 min-height: 170px;
}

.home-nav-card:hover {
 border-color: var(--gold-primary);
 transform: translateY(-4px);
 box-shadow: 0 12px 30px rgba(0,0,0,0.8), 0 0 15px rgba(212, 175, 55, 0.2);
}

.home-nav-icon {
 width: 38px;
 height: 38px;
 border-radius: var(--radius-sm);
 background: rgba(212, 175, 55, 0.12);
 border: 1px solid var(--border-gold);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--gold-primary);
 margin-bottom: 0.8rem;
}

.home-nav-card h3 {
 color: var(--gold-light);
 font-size: 1.05rem;
 margin-bottom: 0.3rem;
}

.home-nav-card p {
 color: var(--text-muted);
 font-size: 0.8rem;
 line-height: 1.4;
 margin-bottom: 0.8rem;
}

.home-nav-card-link {
 color: var(--gold-primary);
 font-size: 0.75rem;
 font-weight: 700;
 display: inline-flex;
 align-items: center;
 gap: 0.3rem;
 text-transform: uppercase;
}

/* COMUNICADOS & CIRCULARES OFICIALES (3 COLUMNS PHOTO CARDS) */
.news-grid-homogeneous {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1.5rem;
}

@media (min-width: 768px) {.news-grid-homogeneous { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {.news-grid-homogeneous { grid-template-columns: repeat(3, 1fr); } }

.news-card-photo {
 background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(7, 9, 14, 0.95));
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-lg);
 overflow: hidden;
 display: flex;
 flex-direction: column;
 transition: all 0.3s ease;
 box-shadow: var(--shadow-card);
}

.news-card-photo:hover {
 border-color: var(--border-gold);
 transform: translateY(-4px);
 box-shadow: 0 15px 35px rgba(0,0,0,0.9), 0 0 20px rgba(212, 175, 55, 0.15);
}

.news-photo-header {
 position: relative;
 height: 160px;
 overflow: hidden;
}

.news-photo-header img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform 0.5s ease;
}

.news-card-photo:hover.news-photo-header img {
 transform: scale(1.08);
}

.news-badge-overlay {
 position: absolute;
 top: 1rem;
 right: 1rem;
 background: rgba(5, 7, 10, 0.85);
 backdrop-filter: blur(8px);
 border: 1px solid var(--border-gold);
 color: var(--gold-light);
 font-size: 0.72rem;
 font-weight: 700;
 padding: 0.2rem 0.65rem;
 border-radius: var(--radius-full);
 text-transform: uppercase;
}

.news-photo-body {
 padding: 1.4rem;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
 flex-grow: 1;
}

.news-date {
 font-size: 0.78rem;
 color: var(--gold-primary);
 font-weight: 600;
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 margin-bottom: 0.4rem;
}

.news-photo-body h3 {
 color: var(--gold-light);
 font-family: var(--font-heading);
 font-size: 1.15rem;
 margin-bottom: 0.5rem;
 line-height: 1.3;
}

.news-photo-body p {
 color: var(--text-muted);
 font-size: 0.86rem;
 line-height: 1.5;
 margin-bottom: 1.2rem;
}

/* FAQ ACCORDION GRID (2 PARALLEL COLUMNS) */
.accordion-box {
 display: grid;
 grid-template-columns: 1fr;
 gap: 0.85rem;
 max-width: 1400px;
 margin: 0 auto;
}

@media (min-width: 992px) {
.accordion-box { grid-template-columns: repeat(2, 1fr); }
}

.accordion-item {
 background: linear-gradient(145deg, rgba(15, 23, 42, 0.85), rgba(7, 9, 14, 0.95));
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-md);
 overflow: hidden;
 transition: all 0.3s ease;
 height: fit-content;
}

.accordion-item:hover { border-color: var(--border-gold); }

.accordion-header {
 padding: 1rem 1.2rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 cursor: pointer;
 font-weight: 700;
 font-size: 0.92rem;
 color: var(--gold-light);
 gap: 0.8rem;
}

.accordion-header:hover { background: rgba(212, 175, 55, 0.08); }

.accordion-body {
 padding: 0 1.2rem 1rem 1.2rem;
 color: var(--text-muted);
 font-size: 0.88rem;
 line-height: 1.5;
 display: none;
 border-top: 1px solid var(--border-subtle);
 padding-top: 0.8rem;
}

.accordion-item.active {
 border-color: var(--gold-primary);
 box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.accordion-item.active.accordion-body { display: block; }
.accordion-item.active.accordion-icon { transform: rotate(180deg); color: var(--gold-primary); }

/* ESTADIO MUNICIPAL REINO DE LEÓN (3 STREAMLINED PANELS) */
.sede-box-streamlined {
 background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(7, 9, 14, 0.98));
 border: 1px solid var(--border-gold);
 border-radius: var(--radius-xl);
 padding: 1.8rem;
 box-shadow: var(--shadow-card);
}

.sede-grid-3 {
 display: grid;
 grid-template-columns: 1fr;
 gap: 1.2rem;
}

@media (min-width: 992px) {
.sede-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.sede-card-item {
 background: rgba(5, 7, 10, 0.6);
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-md);
 padding: 1.4rem;
 display: flex;
 flex-direction: column;
 justify-content: space-between;
}

.sede-card-icon {
 width: 42px;
 height: 42px;
 border-radius: var(--radius-md);
 background: rgba(212, 175, 55, 0.15);
 border: 1px solid var(--border-gold);
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--gold-primary);
 margin-bottom: 0.8rem;
}

.sede-card-item h4 {
 color: var(--gold-light);
 font-family: var(--font-heading);
 font-size: 1.1rem;
 margin-bottom: 0.4rem;
}

.sede-card-item p {
 color: var(--text-muted);
 font-size: 0.88rem;
 line-height: 1.5;
}

/* Modals Centering Grand Luxe */
.modal-backdrop,
.modal-overlay {
 position: fixed;
 inset: 0;
 background: rgba(0, 0, 0, 0.88);
 backdrop-filter: blur(14px);
 z-index: 2000;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 1.5rem;
 opacity: 0;
 visibility: hidden;
 transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-window {
 background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(7, 9, 14, 0.99));
 border: 1.5px solid var(--border-gold-glow);
 border-radius: var(--radius-lg);
 max-width: 580px;
 width: 100%;
 max-height: 90vh;
 overflow-y: auto;
 padding: 2.4rem 2.2rem;
 position: relative;
 margin: auto;
 box-shadow: 0 25px 65px rgba(0,0,0,0.95), 0 0 30px rgba(212, 175, 55, 0.2);
 transform: scale(0.95);
 transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.active.modal-window,
.modal-overlay.active.modal-window {
 transform: scale(1);
}

.modal-close {
 position: absolute;
 top: 1.2rem;
 right: 1.2rem;
 background: transparent;
 color: var(--text-muted);
 font-size: 1.5rem;
 border: none;
 cursor: pointer;
 transition: color 0.3s;
}

.modal-close:hover { color: var(--gold-primary); }

.form-group { margin-bottom: 1.2rem; }

.form-group label {
 display: block;
 font-size: 0.88rem;
 color: var(--gold-light);
 font-weight: 600;
 margin-bottom: 0.4rem;
}

.form-input,.form-select,.form-textarea {
 width: 100%;
 background: rgba(15, 23, 42, 0.9);
 border: 1px solid var(--border-subtle);
 border-radius: var(--radius-sm);
 padding: 0.8rem 1rem;
 color: var(--text-main);
 font-family: var(--font-sans);
 font-size: 0.92rem;
 outline: none;
 transition: border-color 0.3s ease;
}

.form-input:focus,.form-select:focus,.form-textarea:focus {
 border-color: var(--gold-primary);
 box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

/* Toast Notifications */
.toast-container {
 position: fixed;
 bottom: 2rem;
 right: 2rem;
 z-index: 3000;
 display: flex;
 flex-direction: column;
 gap: 1rem;
}

.toast {
 background: var(--bg-surface);
 border: 1px solid var(--gold-primary);
 color: var(--text-main);
 padding: 1rem 1.5rem;
 border-radius: var(--radius-md);
 box-shadow: var(--shadow-card);
 display: flex;
 align-items: center;
 gap: 1rem;
 animation: slideInRight 0.4s ease;
}

@keyframes slideInRight {
 from { transform: translateX(100%); opacity: 0; }
 to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
 background: #030407;
 border-top: 1px solid var(--border-gold);
 padding: 3.5rem 1.5rem 2rem 1.5rem;
 color: var(--text-muted);
}

.footer-grid {
 display: grid;
 grid-template-columns: 1fr;
 gap: 2.5rem;
 margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
.footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
 margin-top: 0.8rem;
 font-size: 0.9rem;
 max-width: 350px;
}

.footer-col h4 {
 color: var(--gold-light);
 font-size: 1rem;
 margin-bottom: 1rem;
 position: relative;
}

.footer-col h4::after {
 content: '';
 position: absolute;
 bottom: -4px;
 left: 0;
 width: 25px;
 height: 2px;
 background: var(--gold-primary);
}

.footer-links {
 list-style: none;
 display: flex;
 flex-direction: column;
 gap: 0.6rem;
 font-size: 0.88rem;
}

.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-primary); }

.footer-bottom {
 border-top: 1px solid var(--border-subtle);
 padding-top: 1.8rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-wrap: wrap;
 gap: 1rem;
 font-size: 0.82rem;
}

/* Responsive Menu Dropdown para pantallas inferiores a 1320px */
@media (max-width: 1320px) {
.nav-links {
 position: fixed;
 top: 65px;
 left: 0; right: 0;
 background: rgba(5, 7, 10, 0.98);
 backdrop-filter: blur(20px);
 border-bottom: 1px solid var(--border-gold);
 flex-direction: column;
 padding: 2rem;
 gap: 1.2rem;
 display: none;
 }
.nav-links.show { display: flex; }
.mobile-toggle { display: block; }
}

/* Document Portal Luxury Styles (solicitudes.html) */
.doc-filter-btn {
 background: rgba(15, 23, 42, 0.85);
 border: 1px solid var(--border-gold);
 color: var(--text-muted);
 padding: 0.5rem 1.2rem;
 border-radius: var(--radius-full);
 font-size: 0.82rem;
 font-weight: 700;
 cursor: pointer;
 transition: all 0.3s ease;
}

.doc-filter-btn:hover,.doc-filter-btn.active {
 background: var(--gold-metallic);
 color: #0b0f19;
 border-color: var(--gold-primary);
 box-shadow: var(--shadow-gold);
}

.doc-card-luxury {
 background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(7, 9, 14, 0.98));
 border: 1px solid var(--border-gold);
 border-radius: var(--radius-lg);
 padding: 1.8rem;
 display: flex;
 gap: 1.4rem;
 align-items: flex-start;
 transition: all 0.3s ease;
 box-shadow: var(--shadow-card);
}

.doc-card-luxury:hover {
 border-color: var(--gold-primary);
 transform: translateY(-4px);
 box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.doc-card-icon {
 width: 52px;
 height: 52px;
 border-radius: var(--radius-md);
 background: rgba(212, 175, 55, 0.15);
 border: 1px solid var(--border-gold);
 color: var(--gold-primary);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.4rem;
 flex-shrink: 0;
}

.doc-card-content { flex: 1; }

.doc-card-tag {
 display: inline-block;
 padding: 0.2rem 0.65rem;
 border-radius: var(--radius-full);
 font-size: 0.72rem;
 font-weight: 800;
 text-transform: uppercase;
 margin-bottom: 0.5rem;
}

.tag-gold { background: rgba(212, 175, 55, 0.15); color: var(--gold-light); border: 1px solid var(--border-gold); }
.tag-blue { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.5); }
.tag-emerald { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.5); }
.tag-purple { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, 0.5); }
.tag-red { background: rgba(239, 68, 68, 0.15); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.5); }

.doc-card-title {
 color: var(--gold-light);
 font-size: 1.25rem;
 margin-bottom: 0.4rem;
 line-height: 1.3;
}

.doc-card-desc {
 color: var(--text-muted);
 font-size: 0.88rem;
 line-height: 1.5;
 margin-bottom: 1.2rem;
}

.doc-card-actions {
 display: flex;
 gap: 0.8rem;
 flex-wrap: wrap;
}

/* ==========================================================================
 Botón Volver Arriba (Scroll to Top Grand Luxe)
 ========================================================================== */
.scroll-to-top {
 position: fixed;
 bottom: 2.2rem;
 right: 2.2rem;
 width: 50px;
 height: 50px;
 border-radius: var(--radius-full);
 background: var(--gold-metallic);
 color: #05070a;
 border: 1.5px solid rgba(254, 241, 201, 0.8);
 box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
 display: flex;
 align-items: center;
 justify-content: center;
 cursor: pointer;
 z-index: 2500;
 opacity: 0;
 visibility: hidden;
 transform: translateY(15px);
 transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top i {
 width: 24px;
 height: 24px;
 stroke-width: 2.8px;
}

.scroll-to-top.visible {
 opacity: 1;
 visibility: visible;
 transform: translateY(0);
}

.scroll-to-top:hover {
 transform: translateY(-5px) scale(1.08);
 box-shadow: 0 14px 35px rgba(212, 175, 55, 0.7);
 background: linear-gradient(135deg, #ffffff 0%, #fef1c9 40%, #c59b27 100%);
}

/* ==========================================================================
 Grid Homogéneo para Galería IPSC de 12 Fotografías (Matriz 4x3 / 3x4 / 2x6)
 ========================================================================== */
.ipsc-12-gallery-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 1.5rem;
}

@media (max-width: 1100px) {
.ipsc-12-gallery-grid {
 grid-template-columns: repeat(3, 1fr);
 }
}

@media (max-width: 720px) {
.ipsc-12-gallery-grid {
 grid-template-columns: repeat(2, 1fr);
 }
}

@media (max-width: 440px) {
.ipsc-12-gallery-grid {
 grid-template-columns: 1fr;
 }
}





/* -------------------------------------------------------------
   BOTONES E INTERACCIONES ESTILO GALLARDO PAREJA
   ------------------------------------------------------------- */
.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.75rem 1.7rem;
  border-radius: var(--radius-sm);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #07090e !important;
  border: 1px solid var(--gold-light);
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.5s ease;
  z-index: -1;
}

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

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(197, 168, 128, 0.45);
  background: linear-gradient(135deg, #ffffff 0%, #f5e5d3 50%, #c5a880 100%);
}

.btn-outline {
  background: rgba(7, 9, 14, 0.6);
  border: 1.5px solid var(--border-gold);
  color: var(--gold-light) !important;
  backdrop-filter: blur(10px);
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.btn-outline:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline:hover {
  color: #07090e !important;
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(197, 168, 128, 0.3);
}

/* Header & Logo Divider Gallardo Pareja */
.navbar {
  background: rgba(7, 9, 14, 0.92);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid var(--border-gold);
}

.brand-text {
  padding-left: 0.9rem;
  border-left: 1px solid rgba(197, 168, 128, 0.35);
}

.brand-text h1 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffffff;
}

.brand-text span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cbd5e1;
}

/* Glass Cards & Hover Elevate */
.card, .pillar-card, .gallery-card-luxury, .solicitud-card, .tarifas-card, .faq-card {
  background: linear-gradient(145deg, rgba(13, 18, 28, 0.88), rgba(7, 9, 14, 0.96)) !important;
  border: 1px solid var(--border-gold) !important;
  box-shadow: var(--shadow-card) !important;
  border-radius: var(--radius-md) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.card:hover, .pillar-card:hover, .gallery-card-luxury:hover, .solicitud-card:hover, .tarifas-card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--gold-primary) !important;
  box-shadow: 0 20px 45px rgba(197, 168, 128, 0.25) !important;
}

.subtitle {
  font-family: var(--font-heading) !important;
  letter-spacing: 0.22em !important;
  color: var(--gold-primary) !important;
}

.heading-serif, .section-title {
  font-family: var(--font-heading) !important;
  letter-spacing: 0.06em !important;
  font-weight: 700 !important;
}


/* Resized Compact Header Navigation Menu */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.95rem !important;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.70rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase;
  color: #cbd5e1;
  padding: 0.25rem 0 !important;
}

/* Header Nav Action Buttons (Resized Smaller) */
.nav-actions .btn {
  padding: 0.42rem 1.05rem !important;
  font-size: 0.69rem !important;
  letter-spacing: 0.09em !important;
  gap: 0.35rem !important;
}

.nav-actions .btn i {
  width: 14px !important;
  height: 14px !important;
}

/* Strict 1-Single Line Header Navigation Menu (No Text Wrapping) */
.nav-container {
  max-width: 1440px !important;
  padding: 0.75rem 1.2rem !important;
}

.brand-logo {
  gap: 0.6rem !important;
  flex-shrink: 0 !important;
}

.brand-img-logo {
  height: 42px !important;
}

.brand-text h1 {
  font-size: 0.88rem !important;
  letter-spacing: 0.14em !important;
}

.brand-text span {
  font-size: 0.66rem !important;
  letter-spacing: 0.14em !important;
}

.nav-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  gap: 0.55rem !important;
  align-items: center !important;
  margin: 0 0.5rem !important;
}

.nav-links li {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.nav-links a {
  font-family: var(--font-sans) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  color: #cbd5e1 !important;
  padding: 0.2rem 0.2rem !important;
  display: inline-block !important;
}

.nav-actions {
  flex-shrink: 0 !important;
  gap: 0.5rem !important;
}

.nav-actions .btn {
  padding: 0.38rem 0.85rem !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.06em !important;
  white-space: nowrap !important;
}

/* Even Larger Header Brand Logo & Text */
.brand-logo {
  gap: 1.1rem !important;
  align-items: center !important;
}

.brand-img-logo {
  height: 72px !important;
  width: auto !important;
  object-fit: contain !important;
}

.brand-text {
  padding-left: 1.1rem !important;
  border-left: 2px solid rgba(197, 168, 128, 0.45) !important;
}

.brand-text h1 {
  font-size: 1.22rem !important;
  letter-spacing: 0.16em !important;
  line-height: 1.15 !important;
}

.brand-text span {
  font-size: 0.88rem !important;
  letter-spacing: 0.16em !important;
  margin-top: 0.2rem !important;
}

/* Uniform Contacto.html Background for Sections & Banners */
.section {
  background: radial-gradient(circle at 50% 30%, #172036 0%, #05070a 95%);
}

.section-dark {
  background: rgba(5, 7, 10, 0.98) !important;
}

/* Ensure seamless vertical flow of blue-to-black gradient across sections */
.section {
  background: transparent !important;
}

.section-dark {
  background: rgba(4, 4, 5, 0.4) !important;
}

/* Ensure .page-banner background images are 100% visible with HD contrast */
.page-banner {
  position: relative !important;
  padding: 4.5rem 1.5rem !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-bottom: 1px solid var(--border-gold-glow) !important;
  overflow: hidden !important;
}

.page-banner-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.45) 0%, rgba(5, 7, 10, 0.75) 100%) !important;
  z-index: 1 !important;
}

.page-banner-content {
  position: relative !important;
  z-index: 2 !important;
}

/* Remove any background: transparent override on .page-banner */
.section {
  background: transparent;
}