/* ==========================================================================
   SOCIEDAD BOLIVIANA DE CIRUGÍA (SOBOCIR) — Hoja de Estilos Principal
   Stack: Bootstrap 5.3 + BoxIcons + Google Fonts (Outfit / Inter) + AOS
   Identidad: Azul Quirúrgico + Verde Escudo SOBOCIR + Oro Tiwanakota
   ========================================================================== */

:root {
    /* Paleta Institucional SOBOCIR */
    --primary-color: #0f3460;
    --primary-dark: #091f3a;
    --primary-light: #1e5694;
    --accent-green: #127c3b;
    --accent-green-dark: #0d5e2c;
    --accent-gold: #d4a017;
    --accent-gold-soft: #f5e6b3;

    /* Superficies y Neutros */
    --bg-white: #ffffff;
    --bg-surface: #f4f7fb;
    --bg-surface-alt: #eaf0f7;
    --text-dark: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --border-subtle: rgba(15, 52, 96, 0.10);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.86);
    --glass-bg-strong: rgba(255, 255, 255, 0.94);
    --glass-dark-bg: rgba(9, 31, 58, 0.72);
    --glass-border: rgba(255, 255, 255, 0.65);

    /* Sombras */
    --shadow-sm: 0 4px 16px rgba(9, 31, 58, 0.06);
    --shadow-md: 0 12px 32px rgba(9, 31, 58, 0.10);
    --shadow-lg: 0 22px 50px rgba(9, 31, 58, 0.15);

    /* Radios y Transiciones */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --transition-base: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

    /* Sobrescritura de variables Bootstrap 5.3 */
    --bs-primary: #0f3460;
    --bs-primary-rgb: 15, 52, 96;
    --bs-body-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --bs-body-color: #334155;
    --bs-link-color: #0f3460;
    --bs-link-hover-color: #127c3b;
}

/* ==========================================================================
   1. Base y Tipografía
   ========================================================================== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-surface);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-heading {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.015em;
}

a {
    transition: var(--transition-base);
}

.section-padding {
    padding: 5.5rem 0;
}

.section-padding-sm {
    padding: 3.75rem 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-green);
    background: rgba(18, 124, 59, 0.09);
    border: 1px solid rgba(18, 124, 59, 0.18);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.9rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.02rem;
    max-width: 680px;
}

/* ==========================================================================
   2. Botones Institucionales con Microinteracciones
   ========================================================================== */
.btn-sobocir-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(15, 52, 96, 0.22);
    transition: var(--transition-base);
}

.btn-sobocir-primary:hover,
.btn-sobocir-primary:focus-visible {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 52, 96, 0.30);
}

.btn-sobocir-green {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent-green), #179b4a);
    color: var(--bg-white);
    border: 1px solid transparent;
    box-shadow: 0 8px 20px rgba(18, 124, 59, 0.22);
    transition: var(--transition-base);
}

.btn-sobocir-green:hover,
.btn-sobocir-green:focus-visible {
    background: linear-gradient(135deg, var(--accent-green-dark), var(--accent-green));
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(18, 124, 59, 0.30);
}

.btn-sobocir-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.72rem 1.45rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.75);
    color: var(--primary-color);
    border: 1.5px solid rgba(15, 52, 96, 0.22);
    transition: var(--transition-base);
}

.btn-sobocir-outline:hover,
.btn-sobocir-outline:focus-visible {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 52, 96, 0.18);
}

.btn-sobocir-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 0.52rem 1.15rem;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--accent-green), #179b4a);
    color: var(--bg-white);
    border: none;
    box-shadow: 0 6px 16px rgba(18, 124, 59, 0.24);
    transition: var(--transition-base);
}

.btn-sobocir-cta:hover,
.btn-sobocir-cta:focus-visible {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 52, 96, 0.28);
}

/* ==========================================================================
   3. Cabecera Fija (Top Bar + Glassmorphism Navbar + Mega-Menú)
   ========================================================================== */
.site-header {
    z-index: 1030;
    transition: var(--transition-base);
}

.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    padding: 0.48rem 0;
    border-bottom: 1px solid rgba(212, 160, 23, 0.28);
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
    overflow: hidden;
    max-height: 44px;
}

.site-header.scrolled .top-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.top-bar-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.top-bar-item i {
    color: var(--accent-gold);
    font-size: 1rem;
}

.top-bar-item:hover {
    color: var(--bg-white);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.top-social-link {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    text-decoration: none;
    font-size: 0.95rem;
}

.top-social-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

/* Navbar Glassmorphism */
.sobocir-navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 52, 96, 0.08);
    padding: 0.72rem 0;
    transition: var(--transition-base);
}

.site-header.scrolled .sobocir-navbar {
    background: var(--glass-bg-strong);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(9, 31, 58, 0.12);
    border-bottom-color: rgba(15, 52, 96, 0.12);
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(9, 31, 58, 0.15));
    transition: var(--transition-base);
}

.site-header.scrolled .brand-logo {
    width: 44px;
    height: 44px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-title-stack {
    font-family: 'Outfit', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.03em;
    line-height: 1.18;
    text-transform: uppercase;
}

.site-header.scrolled .brand-title-stack {
    font-size: 0.9rem;
}

.brand-acronym {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: 0.04em;
}

.brand-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 0.02em;
}

.sobocir-navbar .nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.94rem;
    color: var(--text-dark);
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    position: relative;
}

.sobocir-navbar .nav-link:hover,
.sobocir-navbar .nav-link:focus,
.sobocir-navbar .nav-link.active {
    color: var(--primary-color);
    background: rgba(15, 52, 96, 0.06);
}

.sobocir-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0.85rem;
    right: 0.85rem;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
}

.sobocir-toggler {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.55rem;
    color: var(--primary-dark);
    font-size: 1.65rem;
    line-height: 1;
}

.sobocir-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 52, 96, 0.16);
}

/* Dropdowns y Mega-Menú Glassmorphism */
.glass-dropdown {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(15, 52, 96, 0.10);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    margin-top: 0.6rem;
    min-width: 240px;
}

.glass-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 0.58rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.glass-dropdown .dropdown-item i {
    font-size: 1.05rem;
    color: var(--accent-green);
}

.glass-dropdown .dropdown-item:hover,
.glass-dropdown .dropdown-item.active {
    background: rgba(15, 52, 96, 0.08);
    color: var(--primary-dark);
    transform: translateX(3px);
}

.mega-menu-filiales {
    min-width: 440px;
    padding: 1rem;
}

.mega-menu-header {
    padding: 0 0.35rem 0.75rem;
    margin-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
}

.mega-menu-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-green);
}

.mega-menu-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
}

/* ==========================================================================
   4. Page Header (Hero Interno con Contraste Alto y Glassmorphism)
   ========================================================================== */
.page-hero {
    position: relative;
    padding: 10.25rem 0 4.75rem;
    background:
        radial-gradient(circle at 82% 20%, rgba(212, 160, 23, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 12% 85%, rgba(18, 124, 59, 0.24) 0%, transparent 45%),
        linear-gradient(135deg, #07172b 0%, #0f3460 55%, #16487c 100%);
    color: var(--bg-white);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.sobocir-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-bottom: 1.35rem;
}

.sobocir-breadcrumb a {
    color: var(--accent-gold-soft);
    text-decoration: none;
    font-weight: 500;
}

.sobocir-breadcrumb a:hover {
    color: var(--bg-white);
}

.page-hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.12;
    margin-bottom: 1rem;
}

.page-hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.14rem);
    color: rgba(255, 255, 255, 0.86);
    max-width: 680px;
    margin-bottom: 0;
}

.hero-stats-glass {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-md);
    padding: 1.35rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-stat-item {
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    background: rgba(7, 23, 43, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.hero-stat-value {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1.1;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   5. Tarjetas Glassmorphism y Evento Destacado
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.featured-event-card {
    overflow: hidden;
    position: relative;
}

.featured-event-media {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.featured-event-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.event-card-media img.poster-top {
    object-position: top center;
}

.poster-zoom-trigger {
    cursor: zoom-in;
}

.btn-zoom-poster {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--bg-white);
    background: rgba(9, 31, 58, 0.78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-zoom-poster:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
}

/* Lightbox para Afiches y Fotografías */
.sobocir-lightbox .modal-content {
    background: rgba(9, 31, 58, 0.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sobocir-lightbox .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.9rem 1.35rem;
}

.sobocir-lightbox .modal-title {
    color: var(--bg-white);
    font-size: 1.05rem;
}

.sobocir-lightbox .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.lightbox-image {
    max-height: 82vh;
    width: auto;
    max-width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.featured-event-card:hover .featured-event-media img {
    transform: scale(1.04);
}

.featured-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 31, 58, 0.25) 0%, rgba(9, 31, 58, 0.78) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    color: var(--bg-white);
}

.featured-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.featured-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(9, 31, 58, 0.68);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
}

.featured-logo-badge img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.featured-event-body {
    padding: 2.25rem;
}

.event-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
    margin: 1.25rem 0 1.5rem;
    padding: 0;
    list-style: none;
}

.event-meta-list li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-dark);
}

.event-meta-list i {
    color: var(--accent-green);
    font-size: 1.15rem;
}

/* ==========================================================================
   6. Filtros y Rejilla de Eventos (Proporciones Consistentes)
   ========================================================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
}

.filter-pill {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    background: var(--bg-white);
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 8px 18px rgba(15, 52, 96, 0.22);
}

.event-card {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 52, 96, 0.18);
}

.event-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
}

.event-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.event-media-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 31, 58, 0.15) 0%, rgba(9, 31, 58, 0.72) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

.event-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    color: var(--bg-white);
    background:
        radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.25), transparent 55%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, #17528a 100%);
}

.event-media-placeholder.theme-green {
    background:
        radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.22), transparent 55%),
        linear-gradient(135deg, #092b1b 0%, var(--accent-green) 100%);
}

.event-media-placeholder.theme-slate {
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 160, 23, 0.22), transparent 55%),
        linear-gradient(135deg, #102033 0%, #243b55 100%);
}

.event-media-placeholder i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.45rem;
}

.event-media-placeholder span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.88;
}

.event-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.78rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-dark);
}

.event-tag.tag-congreso {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.event-tag.tag-taller {
    background: var(--accent-green);
    color: var(--bg-white);
}

.event-tag.tag-webinar {
    background: var(--primary-light);
    color: var(--bg-white);
}

.event-tag.tag-historico {
    background: rgba(15, 23, 42, 0.82);
    color: var(--bg-white);
}

.event-status-chip {
    align-self: flex-end;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--bg-white);
    background: rgba(9, 31, 58, 0.7);
    backdrop-filter: blur(6px);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.event-card-body {
    padding: 1.45rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.event-card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.45rem;
}

.event-card-title {
    font-size: 1.18rem;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: 0.65rem;
}

.event-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.15rem;
    flex: 1;
}

.event-card-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    color: var(--text-body);
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

.event-card-location i {
    color: var(--primary-light);
    font-size: 1.05rem;
}

.event-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.event-link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
}

.event-link-more:hover {
    color: var(--accent-green);
    gap: 0.55rem;
}

/* ==========================================================================
   7. Bloque de Convocatorias, Aval Científico y Formulario WhatsApp
   ========================================================================== */
.info-feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.85rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

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

.feature-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    background: rgba(15, 52, 96, 0.08);
    color: var(--primary-color);
    margin-bottom: 1.15rem;
}

.feature-icon-box.icon-green {
    background: rgba(18, 124, 59, 0.10);
    color: var(--accent-green);
}

.feature-icon-box.icon-gold {
    background: rgba(212, 160, 23, 0.14);
    color: #9e7408;
}

.cta-band {
    background:
        radial-gradient(circle at 90% 15%, rgba(212, 160, 23, 0.20), transparent 45%),
        linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    color: var(--bg-white);
    box-shadow: var(--shadow-lg);
}

.cta-band h2,
.cta-band h3 {
    color: var(--bg-white);
}

.cta-band p {
    color: rgba(255, 255, 255, 0.84);
}

.glass-form-box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.glass-form-box h2,
.glass-form-box h3,
.glass-form-box h4 {
    color: var(--primary-dark);
}

.glass-form-box p {
    color: var(--text-body);
}

.glass-form-box .form-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.glass-form-box .form-control,
.glass-form-box .form-select {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 52, 96, 0.16);
    padding: 0.65rem 0.9rem;
    font-size: 0.94rem;
}

.glass-form-box .form-control:focus,
.glass-form-box .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(15, 52, 96, 0.14);
}

/* ==========================================================================
   7b. Tarjetas de Directiva Nacional (directiva.php)
   ========================================================================== */
.board-card {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.board-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green));
}

.board-card.board-president::before {
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-color), var(--accent-green));
    height: 5px;
}

.board-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 52, 96, 0.2);
}

.board-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--bg-white);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    box-shadow: 0 10px 22px rgba(15, 52, 96, 0.22);
    margin-bottom: 1.15rem;
    border: 3px solid var(--bg-white);
    outline: 2px solid rgba(15, 52, 96, 0.14);
}

.board-card.board-president .board-avatar {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-green));
    outline-color: var(--accent-gold);
}

.board-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.32rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 52, 96, 0.08);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.board-card.board-president .board-role-badge {
    background: rgba(212, 160, 23, 0.18);
    color: #8a6405;
}

.board-name {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.board-meta {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   7c. Tarjetas de Enlaces de Interés (enlaces.php)
   ========================================================================== */
.link-category-card {
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.85rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.link-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-green));
}

.link-category-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 52, 96, 0.18);
}

.link-category-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.link-category-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    background: rgba(15, 52, 96, 0.08);
    color: var(--primary-color);
    flex-shrink: 0;
}

.link-category-icon.icon-green {
    background: rgba(18, 124, 59, 0.10);
    color: var(--accent-green);
}

.link-category-icon.icon-gold {
    background: rgba(212, 160, 23, 0.15);
    color: #9e7408;
}

.link-category-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.15rem;
}

.link-category-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.external-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.external-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.68rem 0.9rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid transparent;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.external-link-item small {
    display: block;
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-muted);
}

.external-link-item i {
    font-size: 1.1rem;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: var(--transition-base);
}

.external-link-item:hover {
    background: var(--bg-white);
    border-color: rgba(15, 52, 96, 0.18);
    color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(9, 31, 58, 0.06);
}

.external-link-item:hover i {
    color: var(--accent-green);
    transform: translate(2px, -2px);
}

/* ==========================================================================
   7d. Página de Contacto (contacto.php)
   ========================================================================== */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.contact-info-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 52, 96, 0.18);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    background: rgba(15, 52, 96, 0.08);
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-info-icon.icon-green {
    background: rgba(18, 124, 59, 0.10);
    color: var(--accent-green);
}

.contact-info-icon.icon-gold {
    background: rgba(212, 160, 23, 0.15);
    color: #9e7408;
}

.contact-info-item h3 {
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.92rem;
    color: var(--text-body);
    margin-bottom: 0;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--accent-green);
}

.map-frame-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
    background: var(--bg-white);
}

.map-frame-wrapper iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

.filial-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    border-radius: var(--radius-pill);
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.filial-pill-link i {
    color: var(--accent-green);
}

.filial-pill-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filial-pill-link:hover i {
    color: var(--accent-gold);
}

/* ==========================================================================
   7e. Página Principal (index.php)
   ========================================================================== */
.home-hero {
    position: relative;
    padding: 10.5rem 0 5.5rem;
    background:
        radial-gradient(circle at 82% 20%, rgba(212, 160, 23, 0.20) 0%, transparent 45%),
        radial-gradient(circle at 12% 85%, rgba(18, 124, 59, 0.25) 0%, transparent 48%),
        linear-gradient(135deg, #061426 0%, #0f3460 56%, #16487c 100%);
    color: var(--bg-white);
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-gold-soft);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 160, 23, 0.35);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.35rem;
}

.home-hero-title {
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    font-weight: 800;
    color: var(--bg-white);
    line-height: 1.08;
    margin-bottom: 1.15rem;
}

.home-hero-title span {
    color: var(--accent-gold);
}

.home-hero-lead {
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    color: rgba(255, 255, 255, 0.86);
    max-width: 600px;
    margin-bottom: 1.85rem;
}

.home-hero-poster-card {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: 0 24px 60px rgba(4, 14, 28, 0.42);
}

.home-hero-poster-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--primary-dark);
}

.home-hero-poster-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.home-hero-poster-card:hover .home-hero-poster-frame img {
    transform: scale(1.04);
}

.home-hero-poster-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 0.35rem 0.2rem;
}

.quick-access-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-decoration: none;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.quick-access-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 52, 96, 0.22);
}

.quick-access-card h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.quick-access-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.board-mini-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.board-mini-list li {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
}

.board-mini-list strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.96rem;
    color: var(--primary-dark);
}

.board-mini-list span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.affiliation-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 52, 96, 0.06);
    border: 1px solid rgba(15, 52, 96, 0.14);
    color: var(--primary-dark);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
}

.affiliation-chip i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

@media (max-width: 991.98px) {
    .home-hero {
        padding: 7.75rem 0 4rem;
    }
}

@media (max-width: 575.98px) {
    .board-mini-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   7f. Historia y Páginas de Miembros / Filiales (historia.php, miembros_*.php)
   ========================================================================== */
.history-quote-card {
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.05), rgba(18, 124, 59, 0.06));
    border-left: 4px solid var(--accent-gold);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--primary-dark);
}

.history-timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid rgba(15, 52, 96, 0.16);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.45rem 1.65rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.timeline-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.55rem;
    top: 1.65rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-gold);
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bg-white);
    background: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.6rem;
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.references-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: var(--text-body);
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.references-list i {
    color: var(--accent-green);
    font-size: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.members-empty-card {
    background: var(--bg-white);
    border: 1.5px dashed rgba(15, 52, 96, 0.22);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.members-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 52, 96, 0.07);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   8. Modal de Detalle de Evento
   ========================================================================== */
.sobocir-modal .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobocir-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--bg-white);
    border-bottom: 2px solid var(--accent-gold);
    padding: 1.25rem 1.5rem;
}

.sobocir-modal .modal-title {
    color: var(--bg-white);
    font-size: 1.25rem;
}

.sobocir-modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ==========================================================================
   9. Pie de Página Institucional
   ========================================================================== */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.80);
    margin-top: 2rem;
}

.footer-top {
    padding: 4.5rem 0 3.25rem;
    border-top: 4px solid var(--accent-gold);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand-stack {
    font-family: 'Outfit', sans-serif;
    color: var(--bg-white);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 0;
}

.footer-brand-title {
    color: var(--bg-white);
    font-size: 1.35rem;
    margin-bottom: 0.15rem;
}

.footer-brand-sub {
    color: var(--accent-gold-soft);
    font-size: 0.82rem;
    margin-bottom: 0;
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.74);
    margin-bottom: 1.35rem;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.10);
    color: var(--bg-white);
    font-size: 1.15rem;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-heading {
    color: var(--bg-white);
    font-size: 1.05rem;
    margin-bottom: 1.15rem;
    position: relative;
    padding-bottom: 0.55rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--accent-gold);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.76);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold-soft);
    transform: translateX(3px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent-gold);
    font-size: 1.15rem;
    margin-top: 0.15rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--bg-white);
}

.btn-footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.6rem 1.15rem;
    border-radius: var(--radius-pill);
    background: var(--accent-green);
    color: var(--bg-white);
    border: none;
}

.btn-footer-whatsapp:hover {
    background: #179b4a;
    color: var(--bg-white);
    transform: translateY(-2px);
}

.footer-bottom {
    background: rgba(5, 16, 30, 0.55);
    padding: 1.15rem 0;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-affiliation {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-gold-soft);
}

.footer-credit-link {
    color: var(--accent-gold-soft);
    text-decoration: none;
    font-weight: 500;
}

.footer-credit-link:hover {
    color: var(--bg-white);
    text-decoration: underline;
}

/* ==========================================================================
   10. Controles Flotantes (Back-to-Top & WhatsApp)
   ========================================================================== */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 84px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: var(--primary-color);
    color: var(--bg-white);
    font-size: 1.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-base);
    z-index: 1020;
}

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

.back-to-top:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    color: var(--bg-white);
    font-size: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    z-index: 1020;
}

.whatsapp-float:hover {
    background: #1ebe5b;
    color: var(--bg-white);
    transform: translateY(-3px) scale(1.04);
}

/* ==========================================================================
   11. Responsividad
   ========================================================================== */
@media (max-width: 991.98px) {
    .page-hero {
        padding: 7.5rem 0 3.5rem;
    }

    .sobocir-navbar .navbar-collapse {
        background: var(--bg-white);
        margin-top: 0.75rem;
        padding: 1rem;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
        border: 1px solid var(--border-subtle);
    }

    .sobocir-navbar .nav-link.active::after {
        display: none;
    }

    .mega-menu-filiales {
        min-width: auto;
    }

    .mega-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-event-body {
        padding: 1.5rem;
    }

    .cta-band {
        padding: 1.85rem;
    }
}

@media (max-width: 575.98px) {
    .section-padding {
        padding: 3.75rem 0;
    }

    .brand-name {
        font-size: 0.66rem;
    }

    .brand-title-stack {
        font-size: 0.82rem;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats-glass {
        grid-template-columns: 1fr 1fr;
        padding: 1rem;
    }
}
