/* ==========================================================================
   BENA Components & Modules
   ========================================================================== */

/* Top Bar */
.topbar {
  background: var(--color-primary-dark);
  color: #CBD5E1;
  font-size: 0.82rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: var(--topbar-height);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #E2E8F0;
  text-decoration: none;
}
.topbar-item:hover {
  color: var(--color-gold);
}
.topbar-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.topbar-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.topbar-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  transition: all var(--transition-fast);
}
.topbar-social-link:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-1px);
}
.topbar-social-link svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Announcement Ticker */
.ticker-bar {
  background: linear-gradient(90deg, #F59E0B 0%, #D97706 50%, #EA580C 100%);
  color: var(--color-primary);
  font-size: 0.86rem;
  font-weight: 700;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  height: 38px;
}
.ticker-label {
  background: var(--color-primary);
  color: var(--color-gold);
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  z-index: 2;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
.ticker-item {
  padding: 0 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}
.ticker-item a {
  text-decoration: underline;
  color: inherit;
}
.ticker-item a:hover {
  color: var(--color-white);
}

/* Main Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  height: var(--header-height);
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.header-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #FFF;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}
.header-brand:hover .header-logo {
  transform: scale(1.05);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.28rem;
  line-height: 1.1;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.brand-title span {
  color: var(--color-accent);
}
.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  background: var(--color-accent-light);
}
.nav-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}
.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 110;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.dropdown-link:hover {
  background: var(--color-surface-alt);
  color: var(--color-accent);
  transform: translateX(4px);
}
.dropdown-link svg {
  width: 14px;
  height: 14px;
  fill: var(--color-accent);
  opacity: 0.8;
}

/* Header Actions & Mobile Toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  cursor: pointer;
  padding: 0 10px;
}
.mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-surface);
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.2);
  z-index: 200;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right var(--transition-slow), visibility var(--transition-slow);
  visibility: hidden;
}
.mobile-drawer.open {
  right: 0;
  visibility: visible;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}
.drawer-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-text);
  font-size: 1.35rem;
  cursor: pointer;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  min-height: 44px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
}
.drawer-link:hover,
.drawer-link.active {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.drawer-subnav {
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.drawer-sublink {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  border-left: 2px solid var(--color-border);
}
.drawer-sublink:hover,
.drawer-sublink.active {
  border-left-color: var(--color-accent);
  color: var(--color-accent);
}

/* Hero Section (Split Alpine Showcase) */
.hero {
  position: relative;
  background: linear-gradient(180deg, #070D18 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 5rem 0 6rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}
.hero-title .highlight {
  color: var(--color-gold);
  background: linear-gradient(135deg, #FDE047 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.18rem;
  color: #CBD5E1;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 600px;
}
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--color-primary-light);
}
.hero-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.hero-card:hover img {
  transform: scale(1.03);
}
.hero-floating-stat {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1.2rem 1.6rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 4s ease-in-out infinite;
}
.hero-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.hero-stat-text strong {
  display: block;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--color-white);
  line-height: 1.1;
}
.hero-stat-text span {
  font-size: 0.78rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Stats Ribbon */
.stats-ribbon {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2.25rem 0;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
  margin-top: -1.5rem;
  border-radius: var(--radius-lg);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.stat-box {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--color-border);
}
@media (max-width: 899px) {
  .stat-box {
    border-right: none;
    padding: 0.6rem 0.5rem;
    gap: 0.75rem;
  }
}
.stat-box:last-child {
  border-right: none;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.3;
}

/* Course & Program Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-border-hover);
}
.card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--color-primary-light);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-media img {
  transform: scale(1.08);
}
.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  line-height: 1.3;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.6;
}
.card-list {
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
}
.card-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}
.card-list-item svg {
  width: 14px;
  height: 14px;
  fill: var(--color-forest);
  flex-shrink: 0;
}
.card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hall of Fame & Legends Cards */
.legend-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.legend-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold);
}
.legend-card.highlight {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, #FFFBEB 0%, var(--color-surface) 100%);
}
.legend-media {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #0F172A;
}
.legend-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}
.legend-card:hover .legend-media img {
  transform: scale(1.05);
}
.legend-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.legend-content {
  padding: 1.6rem;
  text-align: center;
}
.legend-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.legend-role {
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.legend-bio {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Video Tour Banner */
.video-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}
.video-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.94) 100%);
}
.video-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.play-btn {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  cursor: pointer;
  box-shadow: 0 0 35px rgba(230, 81, 0, 0.6);
  transition: all var(--transition-normal);
  animation: pulseGlow 2.5s infinite;
}
.play-btn:hover {
  background: var(--color-gold);
  color: var(--color-primary);
  transform: scale(1.1);
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.video-modal.active {
  opacity: 1;
  visibility: visible;
}
.video-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}
.video-modal-dialog iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.modal-close-btn {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: #FFF;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Gallery Section & Lightbox */
.gallery-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--color-primary-light);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-caption {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.95);
  backdrop-filter: blur(10px);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}
.lightbox-caption {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin-top: 1rem;
  text-align: center;
}
.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-radius: var(--radius-full);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lightbox-btn:hover {
  background: var(--color-accent);
}
.lightbox-close { top: 1.5rem; right: 2rem; }
.lightbox-prev { left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 2rem; top: 50%; transform: translateY(-50%); }

/* Notice & Document Downloads */
.notice-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: all var(--transition-normal);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.notice-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.notice-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}
.notice-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.notice-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}
.notice-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Donation Hub Component */
.donate-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.donate-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
}
.bank-row:last-child {
  border-bottom: none;
}
.bank-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.bank-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.copy-btn {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.copy-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.qr-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.qr-card img {
  max-width: 260px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* Contact & Form Component */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
}
.contact-info-card {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.contact-info-text p,
.contact-info-text a {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-group {
  margin-bottom: 1.35rem;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #FFF;
  box-shadow: 0 0 0 4px rgba(230, 81, 0, 0.12);
}
textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Page Banner / Hero Subpages */
.page-banner {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.page-banner h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: 0.75rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94A3B8;
}
.breadcrumb a {
  color: var(--color-gold);
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Accordion FAQ */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.accordion-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.accordion-item.active {
  border-color: var(--color-accent);
}
.accordion-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  cursor: pointer;
}
.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform var(--transition-fast);
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--color-accent);
  color: #FFF;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  padding: 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.accordion-item.active .accordion-content {
  padding-bottom: 1.25rem;
}

/* Modern Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #94A3B8;
  padding-top: 5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}
.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 28px;
  height: 2.5px;
  background: var(--color-accent);
  border-radius: 2px;
}
.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  font-size: 0.92rem;
  color: #CBD5E1;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-links a:hover {
  color: var(--color-gold);
  transform: translateX(3px);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-tax-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #E2E8F0;
}
.footer-bottom {
  background: #040810;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}
.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating WhatsApp / Action Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 150;
  transition: all var(--transition-normal);
  cursor: pointer;
}
.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.65);
}
.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* Responsive Map Container */
.map-responsive-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 380px;
  border: 1px solid var(--color-border);
  background: #E2E8F0;
  width: 100%;
}
@media (max-width: 640px) {
  .map-responsive-container {
    height: 260px;
  }
}
@media (max-width: 360px) {
  .map-responsive-container {
    height: 210px;
  }
}

/* ==========================================================================
   Comprehensive Mobile-First Component Adjustments
   Tested across 320px, 360px, 375px, 390px, 414px, 640px, 768px, 1024px
   ========================================================================== */

/* Tablet Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: 2; }
  .hero-card img { height: 340px; }
  .hero-floating-stat { bottom: -1rem; left: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .donate-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Medium Mobile & Phablet Breakpoint (<= 768px) */
@media (max-width: 768px) {
  /* Topbar */
  .topbar { padding: 0.35rem 0; font-size: 0.8rem; }
  .topbar-socials { display: none; }
  .topbar-contacts { width: 100%; justify-content: space-between; }
  .topbar-contacts span.topbar-badge { font-size: 0.72rem; padding: 0.2rem 0.5rem; }

  /* Header */
  .site-header { padding: 0.65rem 0; }
  .header-logo { width: 46px; height: 46px; }
  .brand-title { font-size: 1.25rem; }
  .brand-subtitle { font-size: 0.72rem; }

  /* Hero Section */
  .hero { padding: 3.25rem 0 3.75rem; }
  .hero-title { font-size: clamp(2rem, 6.5vw, 2.75rem); line-height: 1.15; margin-bottom: 1.25rem; }
  .hero-desc { font-size: 1.05rem; line-height: 1.65; margin-bottom: 1.75rem; }
  .hero-card img { height: 290px; }
  
  /* Stats Ribbon */
  .stats-ribbon { padding: 2rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-box { border-right: none !important; padding: 0.75rem; text-align: center; }
  .stat-number { font-size: 2.2rem; }
  .stat-label { font-size: 0.85rem; }

  /* Notices & Downloads */
  .notice-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.35rem;
  }
  .notice-actions {
    width: 100%;
    display: flex;
    gap: 0.75rem;
  }
  .notice-actions .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    min-height: 46px;
  }

  /* Gallery & Lightbox */
  .gallery-filter-bar {
    gap: 0.4rem;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.6rem;
    scrollbar-width: none;
  }
  .gallery-filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
    min-height: 42px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
  }
  .gallery-item { height: 220px; }
  .lightbox-btn { width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; }
  .lightbox-caption { font-size: 0.85rem; padding: 0 1rem; }

  /* Video Banner & Modals */
  .video-banner { padding: 4rem 0; }
  .play-btn { width: 62px; height: 62px; font-size: 1.4rem; }
  .video-modal-dialog { width: 95vw; height: 53.4vw; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-bottom-flex { flex-direction: column; text-align: center; gap: 0.5rem; }

  /* Floating WhatsApp */
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .floating-whatsapp svg { width: 28px; height: 28px; }
}

/* Small Smartphone Breakpoint (<= 480px: 360px, 375px, 390px, 414px) */
@media (max-width: 480px) {
  /* Topbar on small screens */
  .topbar-contacts {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
  }
  .topbar-contacts span.topbar-badge { margin-top: 0.15rem; }

  /* Header Brand */
  .site-header { padding: 0.55rem 0; }
  .header-brand { gap: 0.5rem; }
  .header-logo { width: 42px; height: 42px; }
  .brand-title { font-size: 1.15rem; }
  .brand-subtitle { font-size: 0.68rem; }
  .header-actions .btn-sm { display: none; } /* Drawer handles Support BENA */

  /* Hero Section Mobile First Polish */
  .hero { padding: 2.75rem 0 3.25rem; }
  .hero-title { font-size: 1.95rem; line-height: 1.2; margin-bottom: 1rem; }
  .hero-desc { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 0.95rem;
  }
  .hero-card img { height: 230px; }
  .hero-floating-stat {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }

  /* Stats Ribbon: 2-Column Balanced Grid on Mobile */
  .stats-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 0.75rem; 
  }
  .stat-box { 
    padding: 0.5rem 0.25rem; 
    border-bottom: none !important; 
    gap: 0.6rem;
  }
  .stat-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
  .stat-number { 
    font-size: clamp(1.35rem, 4vw, 1.75rem); 
  }
  .stat-label { 
    font-size: 0.75rem; 
    line-height: 1.25;
  }

  /* Cards & Forms */
  .card { padding: 1.35rem 1.15rem; }
  .contact-info-card, .contact-form-card { padding: 1.5rem 1.2rem; }
  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 0.75rem 0.9rem;
    min-height: 46px;
  }
  .contact-form-card button {
    min-height: 48px;
  }

  /* Gallery Grid: 2-Column Balanced Grid on Mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem;
  }
  .gallery-item { height: 160px; }

  /* Accordions */
  .accordion-trigger {
    padding: 1rem 1.15rem !important;
    font-size: 1rem !important;
  }
  .accordion-content div {
    padding: 0 1.15rem 1.15rem !important;
    font-size: 0.9rem !important;
  }

  /* Floating WhatsApp */
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .floating-whatsapp svg { width: 26px; height: 26px; }
}

/* Ultra-Compact Screens (<= 360px: Galaxy Fold, small handsets 320px) */
@media (max-width: 360px) {
  .header-logo { width: 36px; height: 36px; }
  .brand-title { font-size: 1.05rem; }
  .brand-subtitle { display: none; }
  .mobile-toggle { min-width: 44px; min-height: 44px; width: 44px; height: 44px; padding: 0 8px; }
  .hero-title { font-size: 1.7rem; }
  .hero-card img { height: 180px; }
  .btn { padding: 0.65rem 0.85rem; font-size: 0.85rem; }
  .notice-actions { flex-direction: column; }
  .notice-actions .btn { width: 100%; }
}
