/* ==========================================================================
   SINDIDBOL · Sindicato de Directivos Docentes del Departamento de Bolívar
   Estilos Institucionales Modernos, Accesibles y Profesionales
   ========================================================================== */

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

:root {
  --color-primary: #15803d;         /* Verde institucional Bolívar */
  --color-primary-dark: #0f5132;
  --color-primary-light: #22c55e;
  --color-accent: #f59e0b;          /* Oro / Amarillo Sol */
  --color-accent-light: #fef08a;
  --color-danger: #dc2626;          /* Rojo Bandera */
  --color-dark: #0f172a;            /* Slate oscuro corporativo */
  --color-dark-light: #1e293b;
  --color-card-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-white: #ffffff;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.35);

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

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: #fbfcfd;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR INSTITUCIONAL
   ========================================================================== */
.top-bar {
  background: var(--color-dark);
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-links a {
  color: #cbd5e1;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-links a:hover {
  color: var(--color-accent);
}

.badge-tag {
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-accent);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   HEADER & NAVBAR RESPONSIVA
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.25rem;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-seal-img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
  transition: transform var(--transition-fast);
}

.logo-brand:hover .brand-seal-img {
  transform: scale(1.05);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-acronym {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.brand-fullname {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  border-radius: 2px;
}

.ventanilla-nav-pill {
  background: rgba(21, 128, 61, 0.08);
  color: var(--color-primary) !important;
  padding: 0.3rem 0.75rem !important;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.ventanilla-nav-pill:hover {
  background: var(--color-primary);
  color: white !important;
}

/* Dropdown Menu "Más" */
.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.dropdown-menu-box {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  min-width: 210px;
  padding: 0.5rem 0;
  display: none;
  z-index: 1100;
  animation: fadeIn 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-menu-box,
.nav-item-dropdown:focus-within .dropdown-menu-box {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.2rem;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dropdown-item i {
  color: var(--color-primary);
  width: 16px;
  text-align: center;
}

.dropdown-item:hover {
  background: #f1f5f9;
  color: var(--color-primary);
  padding-left: 1.4rem;
}

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

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

.mobile-menu-btn {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--color-border);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  color: var(--color-dark);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--color-primary);
  color: white;
}

/* ==========================================================================
   MENÚ MÓVIL FULLSCREEN INSTITUCIONAL (PANTALLA COMPLETA)
   ========================================================================== */
.mobile-drawer-overlay {
  display: none !important;
}

.mobile-drawer,
.fullscreen-mobile-menu {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: radial-gradient(circle at 50% 8%, #0d2238 0%, #081423 55%, #040912 100%) !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: none !important;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.38s !important;
  overflow: hidden !important;
}

.mobile-drawer.active,
.fullscreen-mobile-menu.active {
  transform: translateY(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Header del Menú Pantalla Completa */
.fullscreen-menu-header {
  padding: 1.15rem 1.5rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.fullscreen-menu-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fullscreen-menu-logo {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
  background: #0f172a;
  object-fit: cover;
}

.fullscreen-menu-brand h4 {
  font-size: 1.25rem;
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.fullscreen-menu-brand span {
  font-size: 0.72rem;
  color: var(--color-accent);
  font-weight: 700;
  display: block;
  letter-spacing: 0.3px;
}

.fullscreen-menu-close,
.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 1.25rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.fullscreen-menu-close:hover,
.drawer-close-btn:hover {
  background: rgba(239, 68, 68, 0.8) !important;
  border-color: rgba(239, 68, 68, 1) !important;
  color: #ffffff !important;
  transform: rotate(90deg) scale(1.08);
}

/* Cuerpo con Scroll Suave */
.fullscreen-menu-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* CTAs en Menú Pantalla Completa */
.fullscreen-menu-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.btn-menu-cta {
  width: 100% !important;
  padding: 0.8rem 0.65rem !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  justify-content: center !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Enlaces de Navegación */
.fullscreen-menu-nav,
.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fullscreen-menu-nav .drawer-link,
.drawer-menu .drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.fullscreen-menu-nav .drawer-link i:first-child,
.drawer-menu .drawer-link i:first-child {
  width: 26px;
  font-size: 1.05rem;
  color: var(--color-accent);
  text-align: center;
  margin-right: 0.5rem;
}

.fullscreen-menu-nav .drawer-link span,
.drawer-menu .drawer-link span {
  flex: 1;
}

.fullscreen-menu-nav .drawer-link .link-arrow {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
}

.fullscreen-menu-nav .drawer-link:hover,
.drawer-menu .drawer-link:hover,
.fullscreen-menu-nav .drawer-link:active {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.4);
  color: #ffffff;
  transform: translateX(4px);
}

.fullscreen-menu-nav .drawer-link:hover .link-arrow,
.fullscreen-menu-nav .drawer-link:hover i:first-child {
  color: var(--color-accent);
  transform: translateX(3px);
}

.drawer-link.link-admin-highlight {
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.28) 0%, rgba(22, 101, 52, 0.4) 100%) !important;
  border: 1px solid rgba(34, 197, 94, 0.45) !important;
  color: #86efac !important;
  margin-top: 0.5rem;
}

.drawer-link.link-admin-highlight i:first-child {
  color: #4ade80 !important;
}

.badge-directivo-pill {
  background: #15803d;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Footer del Menú Fullscreen */
.fullscreen-menu-footer,
.drawer-footer {
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-top: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.menu-footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.82rem;
}

.menu-footer-contact a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.menu-footer-contact a:hover {
  color: var(--color-accent);
}

.menu-footer-geo {
  font-size: 0.75rem;
  color: #64748b;
}

.menu-footer-credits {
  font-size: 0.75rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
  margin-top: 0.25rem;
}

.menu-footer-credits a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.25);
}

.btn-primary:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(21, 128, 61, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.btn-accent:hover {
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-border);
  color: var(--color-dark);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(21, 128, 61, 0.04);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--color-dark);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION CON CARRUSEL COMPLETO (SLIDE INTEGRAL CON FONDO INDIVIDUAL)
   ========================================================================== */
.hero-section {
  position: relative;
  background: #091322;
  color: var(--color-white);
  padding: 0;
  overflow: hidden;
  min-height: calc(100vh - 85px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide-item {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0 3.5rem;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-slide-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(8, 17, 32, 0.93) 0%, rgba(13, 27, 49, 0.89) 50%, rgba(8, 17, 32, 0.85) 100%);
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-card-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.9rem;
  position: relative;
  aspect-ratio: 16/9;
  background: #020617;
}

.hero-card-img-wrap img,
.hero-card-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge circular de video play */
.hero-video-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.92);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero-card-featured:hover .hero-video-play-badge {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--color-accent);
}

/* Controles de Navegación del Carrusel */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 35;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hero-nav-arrow:hover {
  background: var(--color-accent);
  color: #0f172a;
  border-color: var(--color-accent);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.7);
}

.hero-nav-arrow.prev { left: 24px; }
.hero-nav-arrow.next { right: 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1.15rem;
}

.hero-title {
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1.14;
  color: var(--color-white);
  margin-bottom: 1.1rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: linear-gradient(90deg, #facc15 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #e2e8f0;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
}

.stat-item h4 {
  font-size: 1.45rem;
  color: var(--color-accent);
  font-weight: 800;
  line-height: 1;
}

.stat-item p {
  font-size: 0.8rem;
  color: #cbd5e1;
  margin-bottom: 0;
  margin-top: 0.2rem;
}

/* Hero Card Lateral */
.hero-card-featured {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
  background: var(--color-accent);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.hero-card-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.2rem;
  position: relative;
  aspect-ratio: 16/9;
}

.hero-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.hero-card-featured:hover .hero-card-img-wrap img {
  transform: scale(1.03);
}

.hero-card-content h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.hero-card-content p {
  color: #cbd5e1;
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
  background: rgba(21, 128, 61, 0.1);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.85rem;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   QUIÉNES SOMOS & IDENTIDAD
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.65rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.about-text p {
  color: #334155;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.legal-citation {
  border-left: 4px solid var(--color-primary);
  padding-left: 1.2rem;
  background: rgba(21, 128, 61, 0.05);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: #1e3a24;
  margin-bottom: 1.5rem;
}

.about-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mission-card,
.vision-card {
  background: var(--color-white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.mission-card .card-icon {
  background: rgba(21, 128, 61, 0.12);
  color: var(--color-primary);
}

.vision-card .card-icon {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.mission-card h4,
.vision-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.mission-card p,
.vision-card p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   ESTRUCTURA ORGANIZACIONAL · MESA REDONDA CIRCULAR (INNOVACIÓN EXCLUSIVA)
   ========================================================================== */
.org-chart-wrapper {
  background: #0b1320;
  color: var(--color-white);
  padding: 4.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.org-chart-wrapper::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21, 128, 61, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.org-chart-wrapper::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.org-header-dark {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.org-header-dark h2 {
  color: var(--color-white);
  font-size: 2.3rem;
  margin-bottom: 0.75rem;
}

.org-header-dark p {
  color: #94a3b8;
  font-size: 1rem;
}

.org-view-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 5;
}

.toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-btn.active,
.toggle-btn:hover {
  background: var(--color-accent);
  color: #0f172a;
  border-color: var(--color-accent);
  font-weight: 700;
}

/* Contenedor Circular */
.circular-table-container {
  position: relative;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding: 1.5rem;
  box-sizing: border-box;
}

.table-ring-outer {
  position: absolute;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  border: 2px dashed rgba(245, 158, 11, 0.35);
  animation: rotateTable 120s linear infinite;
}

@keyframes rotateTable {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.table-ring-inner {
  position: absolute;
  width: 48%;
  height: 48%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle, rgba(15, 23, 42, 0.95) 0%, rgba(20, 36, 27, 0.8) 100%);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8) inset;
}

.table-center-hub {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #0d1b2a;
  border: 3px solid var(--color-accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
  z-index: 10;
  transition: all var(--transition-normal);
}

.table-center-hub img {
  width: 50px;
  height: 50px;
  margin-bottom: 0.35rem;
}

.table-center-hub h4 {
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
}

.table-center-hub p {
  color: var(--color-accent);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

/* Nodos Directivos en la Mesa Circular */
.leader-seat-node {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #475569;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 15;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.leader-seat-node .seat-index {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-white);
}

.leader-seat-node:hover,
.leader-seat-node.active-seat {
  transform: translate(-50%, -50%) scale(1.18) !important;
  border-color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-accent) 0%, #d97706 100%);
  box-shadow: var(--shadow-glow);
}

.leader-seat-node:hover .seat-index,
.leader-seat-node.active-seat .seat-index {
  color: #0f172a;
}

/* Tarjeta flotante de funciones del directivo activo */
.leader-detail-card {
  position: relative;
  z-index: 20;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 780px;
  margin: 2.5rem auto 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.leader-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.leader-name-block h3 {
  color: var(--color-white);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.leader-name-block span {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.leader-contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.leader-contact-badge:hover {
  background: #22c55e;
  color: #0f172a;
}

.leader-functions-title {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.leader-functions-text {
  color: #e2e8f0;
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Vista Alternativa de Directorio (Cuadrícula) */
.org-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.grid-member-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  padding: 1.35rem;
  transition: all var(--transition-fast);
}

.grid-member-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.grid-member-card .seat-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #0f172a;
  font-weight: 800;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  text-align: center;
  line-height: 26px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.grid-member-card h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.grid-member-card .role-title {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.grid-member-card p {
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   SERVICIOS DEL SINDICATO (ENFOQUE PRIORITARIO)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(21, 128, 61, 0.3);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(21, 128, 61, 0.12) 0%, rgba(245, 158, 11, 0.15) 100%);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 1.35rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.service-features li i {
  color: var(--color-primary);
}

/* ==========================================================================
   SISTEMA DE VENTANILLA DIGITAL DE SOLICITUDES
   ========================================================================== */
.digital-desk-wrapper {
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.desk-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
}

.desk-info-pane h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.desk-info-pane p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

.desk-benefit-list {
  list-style: none;
  margin: 1.75rem 0;
}

.desk-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #334155;
}

.benefit-bullet {
  background: var(--color-primary);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.radicado-lookup-box {
  background: #0f172a;
  color: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

.radicado-lookup-box h4 {
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.radicado-lookup-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.radicado-lookup-form input {
  flex-grow: 1;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid #334155;
  background: #1e293b;
  color: white;
  font-size: 0.85rem;
}

/* Formulario Digital */
.form-card {
  background: var(--color-white);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-dark);
  background: #fdfefe;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.15);
}

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

/* ==========================================================================
   MÓDULO DE AFILIACIÓN (3 FORMATOS: CARTAGENA, BOLÍVAR, MAGANGUÉ)
   ========================================================================== */
.affiliation-section {
  position: relative;
  background: #0f172a;
  color: white;
}

.format-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.format-card {
  background: #1e293b;
  border: 1.5px solid #334155;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.format-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.doc-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.15);
  border: 1.5px solid #3b82f6;
  color: #60a5fa;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.format-card h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.45rem;
}

.format-card .territory-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   CIRCULARES Y COMUNICADOS
   ========================================================================== */
.circulares-table-wrap {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.circulares-filter-bar {
  padding: 1.2rem 1.5rem;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.circulares-list {
  divide-y: 1px solid var(--color-border);
}

.circular-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-fast);
  gap: 1.5rem;
}

.circular-item:hover {
  background: rgba(21, 128, 61, 0.03);
}

.circular-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.badge-estatutaria {
  background: rgba(21, 128, 61, 0.12);
  color: var(--color-primary);
}

.badge-comunicado {
  background: rgba(220, 38, 38, 0.12);
  color: var(--color-danger);
}

.circular-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.circular-meta {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   NOTICIAS & HEMEROTECA (CMS)
   ========================================================================== */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.news-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.news-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.news-card-body h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.news-card-body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 0.85rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   DONACIONES & SOSTENIMIENTO
   ========================================================================== */
.donation-banner-card {
  background: linear-gradient(135deg, #0d2818 0%, #15803d 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.donation-banner-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.donation-banner-card p {
  color: #e2e8f0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.bank-info-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.bank-info-box h4 {
  color: var(--color-accent);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.bank-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
  padding-bottom: 0.45rem;
}

.bank-item span:first-child {
  color: #cbd5e1;
}

.bank-item span:last-child {
  color: white;
  font-weight: 700;
}

/* ==========================================================================
   ALIADOS ESTRATÉGICOS (FENDIDOC, COOACED, FECODE)
   ========================================================================== */
.allies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ally-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ally-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-xl);
}

.ally-img-wrap {
  height: 90px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.ally-img-wrap img {
  max-height: 80px;
  max-width: 160px;
  object-fit: contain;
}

.ally-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.ally-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   CONTACTOS Y CANALES DIRECTOS
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}

.contact-direct-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
}

.contact-leader-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-leader-item:last-child {
  border-bottom: none;
}

.leader-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.leader-info span {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-quick-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn-call {
  background: #f1f5f9;
  color: var(--color-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.icon-btn-call:hover {
  background: var(--color-primary);
  color: white;
}

.icon-btn-whatsapp {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all var(--transition-fast);
}

.icon-btn-whatsapp:hover {
  background: #22c55e;
  color: white;
}

/* ==========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================== */
.main-footer {
  background: #090e17;
  color: #94a3b8;
  padding: 4.5rem 0 1.5rem;
  border-top: 1px solid #1e293b;
}

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

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
}

.footer-col h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   MODALES Y UTILIDADES
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: grid;
}

.modal-box {
  background: white;
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  animation: modalEnter 0.25s ease;
}

@keyframes modalEnter {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

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

.modal-header h3 {
  font-size: 1.35rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: white;
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  font-size: 0.9rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1140px) {
  .nav-menu {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .hero-slide-item {
    padding: 2.5rem 0 5rem;
  }
  .hero-nav-arrow.prev { left: 14px; }
  .hero-nav-arrow.next { right: 14px; }

  .hero-grid,
  .about-grid,
  .desk-grid,
  .donation-banner-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .format-cards-grid,
  .allies-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  /* Padding lateral estándar de 15px en vista de teléfono */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .navbar {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .logo-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .brand-text-block {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }

  .top-bar {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .footer-bottom {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .modal-overlay {
    padding: 15px !important;
  }

  .top-bar-info span:not(:first-child) {
    display: none;
  }

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

  .nav-actions .btn {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .hero-slide-item {
    padding: 1.75rem 15px 2.25rem !important;
  }

  .hero-content-col {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .hero-title {
    font-size: clamp(1.42rem, 5vw, 1.75rem);
    line-height: 1.25;
    margin-bottom: 0.85rem;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-bottom: 1.25rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding-top: 0.85rem;
  }

  .stat-item h4 {
    font-size: 1.15rem;
  }

  .stat-item p {
    font-size: 0.68rem;
  }

  /* Flechas móviles responsivas siempre visibles en el primer pantallazo */
  .hero-nav-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    top: 42%;
    transform: translateY(-50%);
    z-index: 50;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
    color: white;
  }

  .hero-nav-arrow.prev {
    left: 6px;
  }

  .hero-nav-arrow.next {
    right: 6px;
  }

  .about-cards-row,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .circular-table-container {
    max-width: 380px;
    padding: 0.75rem;
  }
  .table-center-hub {
    width: 120px;
    height: 120px;
    padding: 0.5rem;
  }
  .table-center-hub img {
    width: 36px;
    height: 36px;
  }
  .table-center-hub h4 {
    font-size: 0.72rem;
  }
  .table-center-hub p {
    font-size: 0.55rem;
  }
  .leader-seat-node {
    width: 38px;
    height: 38px;
  }
  .leader-seat-node .seat-index {
    font-size: 0.85rem;
  }

  /* Ajustes Responsivos de Ventanilla Digital para Móviles (<= 768px) */
  #ventanilla {
    padding: 3rem 0;
  }

  .digital-desk-wrapper {
    padding: 1.5rem 1rem !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  }

  .desk-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }

  .desk-info-pane h3 {
    font-size: 1.4rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }

  .desk-info-pane p {
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
  }

  .desk-benefit-list {
    margin: 1.25rem 0 !important;
  }

  .desk-benefit-list li {
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.85rem !important;
    gap: 0.75rem !important;
  }

  .benefit-bullet {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    font-size: 0.75rem !important;
    margin-top: 2px !important;
  }

  .radicado-lookup-box {
    padding: 1.25rem 1rem !important;
    margin-top: 1.25rem !important;
    border-radius: var(--radius-md) !important;
  }

  .radicado-lookup-box h4 {
    font-size: 0.98rem !important;
  }

  .radicado-lookup-form {
    flex-direction: column !important;
    gap: 0.65rem !important;
  }

  .radicado-lookup-form input {
    width: 100% !important;
    font-size: 0.92rem !important;
    padding: 0.75rem 1rem !important;
    box-sizing: border-box !important;
  }

  .radicado-lookup-form button {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    justify-content: center !important;
  }

  .form-card {
    padding: 1.5rem 1rem !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  }

  .form-card h4 {
    font-size: 1.12rem !important;
    line-height: 1.35 !important;
    margin-bottom: 1.15rem !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
  }

  .form-group {
    margin-bottom: 0.95rem !important;
  }

  .form-group label {
    font-size: 0.85rem !important;
    margin-bottom: 0.35rem !important;
  }

  .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.92rem !important;
    padding: 0.7rem 0.85rem !important;
  }

  select.form-control {
    text-overflow: ellipsis !important;
    white-space: normal !important;
  }

  .habeas-data-group {
    margin: 1rem 0 !important;
  }

  .habeas-data-group label {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }

  .form-card .btn-lg {
    padding: 0.85rem 1rem !important;
    font-size: 0.92rem !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

@media (max-width: 540px) {
  .top-bar {
    display: none;
  }

  .brand-seal-img {
    height: 38px !important;
    width: 38px !important;
  }

  .brand-acronym {
    font-size: 1.15rem !important;
  }

  .brand-fullname {
    font-size: 0.58rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 190px !important;
  }

  .nav-actions .btn {
    display: none !important;
  }

  .navbar {
    padding: 0.4rem 0 !important;
    gap: 0.25rem !important;
  }

  /* Ajustes ultra-móviles para Ventanilla (<= 540px) */
  #ventanilla {
    padding: 2.25rem 0;
  }

  .digital-desk-wrapper {
    padding: 1.25rem 0.85rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 14px !important;
  }

  .form-card {
    padding: 1.15rem 0.75rem !important;
    border-radius: 12px !important;
  }

  .desk-info-pane h3 {
    font-size: 1.25rem !important;
  }

  .form-card h4 {
    font-size: 1.02rem !important;
  }

  .fullscreen-menu-header {
    padding: 0.9rem 15px !important;
  }

  .fullscreen-menu-logo {
    height: 40px !important;
    width: 40px !important;
  }

  .fullscreen-menu-brand h4 {
    font-size: 1.1rem !important;
  }

  .fullscreen-menu-body {
    padding: 1rem 15px 2rem !important;
  }

  .fullscreen-menu-ctas {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }

  .circular-table-container {
    max-width: 320px;
    padding: 0.25rem;
  }
  .table-center-hub {
    width: 95px;
    height: 95px;
    padding: 0.35rem;
  }
  .table-center-hub img {
    width: 28px;
    height: 28px;
  }
  .table-center-hub h4 {
    font-size: 0.62rem;
  }
  .table-center-hub p {
    font-size: 0.48rem;
  }
  .leader-seat-node {
    width: 32px;
    height: 32px;
  }
  .leader-seat-node .seat-index {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   CARRUSEL DE ALIADOS ESTRATÉGICOS
   ========================================================================== */
.allies-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

.allies-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
}

.allies-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  padding: 0.75rem 0.25rem;
}

.allies-track .ally-card {
  flex: 0 0 calc(25% - 1.15rem);
  min-width: 240px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.allies-track .ally-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}

.allies-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 10;
}

.allies-nav-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .allies-track .ally-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}
@media (max-width: 768px) {
  .allies-track .ally-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
@media (max-width: 480px) {
  .allies-track .ally-card {
    flex: 0 0 100%;
    min-width: 100% !important;
  }
}

/* ==========================================================================
   CARRUSEL DE GALERÍA Y LIGHTBOX ZOOM
   ========================================================================== */
.gallery-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

.gallery-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-xl);
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
  padding: 0.5rem 0.25rem;
}

.gallery-item-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #0f172a;
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

.gallery-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.gallery-item-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(9, 19, 34, 0.95));
  color: white;
  padding: 1.25rem 1rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 2;
}

.gallery-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 10;
}

.gallery-nav-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: scale(1.08);
}

@media (max-width: 900px) {
  .gallery-item-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
@media (max-width: 580px) {
  .gallery-item-card {
    flex: 0 0 100%;
    min-width: 100% !important;
  }
}

/* Lightbox Modal con Zoom */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrapper {
  max-width: 82vw;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  transition: transform 0.2s ease-out;
  user-select: none;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  box-sizing: border-box;
}

.lightbox-caption h4 {
  color: white;
  font-size: 1rem;
  margin: 0;
}

.lightbox-cat {
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.lightbox-controls {
  display: flex;
  gap: 0.5rem;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-btn:hover {
  background: var(--color-accent);
  color: #0f172a;
}

.lightbox-nav-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

.lightbox-nav-arrow.prev { left: -60px; }
.lightbox-nav-arrow.next { right: -60px; }

.lightbox-nav-arrow:hover {
  background: var(--color-accent);
  color: #0f172a;
}

@media (max-width: 768px) {
  .lightbox-nav-arrow.prev { left: 10px; }
  .lightbox-nav-arrow.next { right: 10px; }
  .lightbox-toolbar { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
}

.news-card {
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   FLYER MODAL DE LANZAMIENTO / EN CONSTRUCCIÓN
   ========================================================================== */
.flyer-modal-overlay {
  background: rgba(4, 13, 24, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 100000 !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px !important;
}

.flyer-modal-overlay.active {
  display: flex !important;
}

.flyer-modal-box {
  background: radial-gradient(circle at 50% -10%, #17385c 0%, #0c2035 50%, #06121f 100%) !important;
  border: 1.5px solid rgba(212, 163, 66, 0.45) !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.75), 0 0 50px rgba(212, 163, 66, 0.22) !important;
  border-radius: 22px !important;
  max-width: 580px !important;
  width: 100% !important;
  padding: 2.85rem 2rem 1.85rem !important;
  color: #ffffff !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  animation: flyerModalEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes flyerModalEnter {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.flyer-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.flyer-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 1);
  color: white;
  transform: rotate(90deg);
}

.flyer-badge-wrapper {
  margin-top: 0.25rem;
  margin-bottom: 1.15rem;
}

.flyer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  border-radius: 50px;
  background: rgba(212, 163, 66, 0.16);
  border: 1px solid rgba(212, 163, 66, 0.45);
  color: #ffd166;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flyer-emblem-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.2rem;
}

.flyer-emblem-halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 66, 0.35) 0%, transparent 72%);
  filter: blur(10px);
  animation: flyerHaloPulse 3s ease-in-out infinite;
}

@keyframes flyerHaloPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

.flyer-emblem-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  border: 2.5px solid #d4a342;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 2;
  padding: 3px;
}

.flyer-title {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.4rem 0;
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.flyer-subtitle {
  font-size: 0.92rem;
  color: #d4a342;
  font-weight: 600;
  margin-bottom: 1.15rem;
  line-height: 1.4;
}

.flyer-message {
  font-size: 0.93rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 auto 1.4rem auto;
  max-width: 480px;
}

.flyer-contacts-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.flyer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 0.95rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.flyer-contact-pill:hover {
  background: rgba(212, 163, 66, 0.18);
  border-color: rgba(212, 163, 66, 0.45);
  color: #ffd166;
  transform: translateY(-2px);
}

.flyer-contact-pill i {
  color: #d4a342;
}

.flyer-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.flyer-cta-btn {
  width: 100%;
  max-width: 320px;
  padding: 0.85rem 1.75rem;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4a342 0%, #b8860b 100%) !important;
  color: #06121f !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(212, 163, 66, 0.35) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flyer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 163, 66, 0.5) !important;
}

.flyer-footer-note {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.65rem;
}

@media (max-width: 540px) {
  .flyer-modal-box {
    padding: 1.6rem 1.15rem 1.35rem !important;
    border-radius: 16px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  .flyer-emblem-img {
    width: 76px;
    height: 76px;
  }
  .flyer-title {
    font-size: 1.35rem;
  }
  .flyer-subtitle {
    font-size: 0.84rem;
  }
  .flyer-message {
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .flyer-contacts-row {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  .flyer-contact-pill {
    justify-content: center;
  }
  .flyer-cta-btn {
    max-width: 100%;
    width: 100%;
    font-size: 0.92rem;
    padding: 0.75rem 1.25rem;
  }
}
