:root {
  --navy: #0F1B3C;
  --navy-mid: #1E3A6E;
  --navy-light: #2A4D8A;
  --blue: #1a6fde;
  --blue-light: #3a8eff;
  --orange: #FF6B35;
  --orange-light: #FF8C5A;
  --white: #FFFFFF;
  --gray-soft: #F4F6FB;
  --gray-text: #6B7280;
  --gray-dark: #374151;
  --border: #E1E7F5;
}

* { box-sizing: border-box; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--white);
  color: var(--gray-dark);
  min-height: 100vh;
}

html { scroll-behavior: smooth; }

h1, h2, h3, .display {
  font-family: 'Syne', sans-serif;
}

/* ── NAVBAR ── */
nav {
  background: var(--navy);
  border-bottom: 2px solid var(--navy-mid);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  box-shadow: 0 4px 30px rgba(15,27,60,0.25);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid var(--orange);
  transition: transform 0.3s;
}
.nav-logo img:hover { transform: rotate(10deg) scale(1.08); }

.nav-logo-text {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.desktop-links {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.03em;
  border: 2px solid transparent;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase;
}
.nav-link:hover {
  color: #fff;
  border-color: var(--orange);
  background: rgba(255,107,53,0.15);
  transform: translateY(-2px);
}
.nav-link.active-nav {
  color: #fff;
  border-color: var(--navy-mid);
  background: var(--navy-mid);
  box-shadow: 0 4px 12px rgba(30,58,110,0.4);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 8px;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255,107,53,0.25);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-orange:hover {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,107,53,0.4);
}

/* Hamburger button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s;
}
.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile dropdown menu */
.mobile-menu {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(44,77,138,0.6);
  padding: 12px 16px 16px;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu .nav-link {
  text-align: center;
  padding: 10px 16px;
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu .btn-orange {
  margin-top: 6px;
  width: 100%;
  text-align: center;
  padding: 11px 20px;
}

@media (max-width: 900px) {
  .desktop-links { display: none !important; }
  .nav-inner > .btn-orange { display: none !important; }
  .hamburger-btn { display: flex; }
  .nav-logo-text { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  nav { padding: 0; }
  .nav-inner { padding: 10px 14px; }
  .nav-logo img { height: 38px; width: 38px; }
  .nav-logo-text { font-size: 0.82rem; }
}

/* ── SECTIONS ── */
.section { display: none; }
.section.active { display: block; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes bounce-in {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

.anim-fade-up  { animation: fadeUp 0.55s ease both; }
.anim-bounce-in { animation: bounce-in 0.6s cubic-bezier(.36,.07,.19,.97) both; }
.anim-fade-in  { animation: fadeIn 0.5s ease both; }

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.18s; }
.delay-3 { animation-delay: 0.28s; }
.delay-4 { animation-delay: 0.38s; }

/* ── HERO ── */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, #162248 55%, #0f2050 100%);
  padding: 64px 20px 88px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(26,111,222,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 52px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-section.compact {
  padding: 48px 20px 72px;
}

.hero-dots {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,111,222,0.18);
  border: 1.5px solid rgba(26,111,222,0.4);
  color: var(--blue-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--orange), var(--orange-light), #ffb347, var(--orange));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
.hero-title .accent-blue {
  background: linear-gradient(90deg, var(--blue-light), #60aeff, var(--blue-light));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.hero-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.float-orb {
  position: absolute;
  font-size: 2rem;
  animation: float 4s ease-in-out infinite;
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

/* ── CONTENT SECTION ── */
.content-section {
  padding: 40px 16px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .content-section { padding: 48px 24px 56px; }
}

/* ── SECTION LABEL ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section-label-icon {
  background: rgba(26,111,222,0.1);
  border: 1.5px solid rgba(26,111,222,0.25);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 1rem;
}

.section-sublabel {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  margin-top: 4px;
}

.section-divider {
  height: 1.5px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 100%);
  border-radius: 2px;
  margin: 36px 0;
  opacity: 0.2;
}

/* ── CAREERS GRID ── */
.careers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .careers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .careers-grid { grid-template-columns: repeat(3, 1fr); } }

.career-card-new {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  box-shadow: 0 2px 12px rgba(15,27,60,0.06);
  display: flex;
  flex-direction: column;
}
.career-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(15,27,60,0.12);
  border-color: rgba(26,111,222,0.35);
}

.career-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d5a 100%);
  padding: 26px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.career-card-header img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(26,111,222,0.3));
  transition: transform 0.35s;
}
.career-card-new:hover .career-card-header img {
  transform: scale(1.1) rotate(-4deg);
}

.career-card-badge {
  background: rgba(26,111,222,0.18);
  border: 1px solid rgba(26,111,222,0.4);
  color: var(--blue-light);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.career-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.career-card-body h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
}
.career-card-body p {
  color: var(--gray-text);
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: #EBF2FF;
  border: 1px solid rgba(26,111,222,0.25);
  color: var(--blue);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.tag:hover { background: var(--blue); color: #fff; transform: scale(1.05); }

/* ── OPORTUNIDADES GRID ── */
.opp-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .opp-grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ── OPP CARD (poster style) ── */
.opp-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 18px rgba(15,27,60,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  display: flex;
  flex-direction: column;
  background: var(--white);
  position: relative;
}
.opp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(15,27,60,0.15);
}
.opp-card-beca:hover { border-color: rgba(0,120,255,0.4); }
.opp-card-comedor:hover { border-color: rgba(26,111,222,0.4); }

/* Poster image: large, full-bleed, click to zoom */
.opp-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  cursor: zoom-in;
  flex-shrink: 0;
}
.opp-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.opp-card:hover .opp-card-img-wrap img { transform: scale(1.05); }

/* zoom hint */
.opp-card-img-wrap::after {
  content: '🔍';
  position: absolute;
  bottom: 10px; right: 12px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
}
.opp-card-img-wrap:hover::after { opacity: 1; }

.opp-card-body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.opp-tag {
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}
.opp-tag-beca {
  background: rgba(0,120,255,0.1);
  border: 1px solid rgba(0,120,255,0.25);
  color: #0078FF;
}
.opp-tag-blue {
  background: rgba(26,111,222,0.1);
  border: 1px solid rgba(26,111,222,0.25);
  color: var(--blue);
}
.opp-tag-cyber {
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.3);
  color: #00C8FF;
}

.opp-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
}
.opp-card-body p {
  color: var(--gray-text);
  font-size: 0.81rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.opp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--blue);
}
.opp-arrow {
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.opp-card:hover .opp-arrow { transform: translateX(5px); }

/* ── SEMILLERO CARD ── */
.semillero-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(15,27,60,0.06);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.semillero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,27,60,0.12);
}
.semillero-card.cyber:hover { border-color: rgba(0,200,255,0.35); }
.semillero-card.ia:hover { border-color: rgba(26,200,100,0.35); }

.semillero-img-wrap {
  background: #0a0a14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  min-height: 140px;
  position: relative;
  cursor: zoom-in;
}
.semillero-img-wrap.light-bg {
  background: var(--gray-soft);
}
.semillero-img-wrap img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  transition: transform 0.35s;
}
.semillero-card:hover .semillero-img-wrap img { transform: scale(1.06); }
.semillero-img-wrap::after {
  content: '🔍';
  position: absolute;
  bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.semillero-img-wrap:hover::after { opacity: 1; }

.semillero-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.semillero-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  width: fit-content;
}
.semillero-tag.cyber-tag {
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.3);
  color: #00C8FF;
}
.semillero-tag.ia-tag {
  background: rgba(26,200,100,0.1);
  border: 1px solid rgba(26,200,100,0.3);
  color: #18c464;
}

.semillero-body h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin: 0;
}
.semillero-body p {
  color: var(--gray-text);
  font-size: 0.82rem;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.cyber-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.cyber-tag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.25);
  color: #00A8D6;
}
.ia-tag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(26,200,100,0.08);
  border: 1px solid rgba(26,200,100,0.25);
  color: #18a050;
}

.semillero-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
}
.semillero-cta.cyber { color: #00C8FF; }
.semillero-cta.ia { color: #18c464; }

/* ── FESTIVIDADES ── */
.event-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(15,27,60,0.06);
  background: var(--white);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,27,60,0.1);
  border-color: rgba(255,107,53,0.3);
}

.event-img-wrap {
  width: 100%;
  overflow: hidden;
  max-height: 260px;
  position: relative;
  cursor: zoom-in;
}
.event-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s;
  display: block;
}
.event-card:hover .event-img-wrap img { transform: scale(1.04); }
.event-img-wrap::after {
  content: '🔍';
  position: absolute;
  bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.event-img-wrap:hover::after { opacity: 1; }

.event-body {
  padding: 20px;
}

.event-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  color: var(--orange);
}

.event-body h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 8px 0;
}
.event-body p {
  color: var(--gray-text);
  font-size: 0.83rem;
  line-height: 1.65;
  margin: 0;
}

/* Gallery */
.gallery-section {
  margin-top: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* 2-column gallery (for FestiUNASAM) */
.gallery-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 380px) {
  .gallery-grid-2 { grid-template-columns: 1fr; }
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1.5px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 30px rgba(15,27,60,0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,27,60,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 10px;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-zoom-icon {
  color: #fff;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 4px 8px;
  backdrop-filter: blur(4px);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,15,30,0.95);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox.active { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lb-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.2); }
#lb-caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 14px;
  text-align: center;
}

/* ── Easter Egg Overlay ── */
.ee-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ee-overlay.active { display: flex; }

.ee-panel {
  background: linear-gradient(160deg, #0F1B3C 0%, #1E3A6E 100%);
  border: 2px solid #2A4D8A;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: eeIn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes eeIn {
  from { opacity: 0; transform: scale(0.7) rotate(-5deg); }
  to   { opacity: 1; transform: scale(1)   rotate(0); }
}

@keyframes eeShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-3px); }
  50%      { transform: translateX(3px); }
  75%      { transform: translateX(-2px); }
}

.ee-badge {
  display: inline-block;
  background: rgba(255,107,53,0.18);
  border: 1.5px solid rgba(255,107,53,0.4);
  color: #FF8C5A;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.ee-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.4rem;
}

.ee-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.ee-qr-wrap {
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(255,107,53,0.25);
}

.ee-qr {
  width: 180px;
  height: 180px;
  display: block;
  image-rendering: pixelated;
}

.ee-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  border: none;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.9);
  border: 2px solid rgba(255,255,255,0.15);
  transition: background 0.2s, transform 0.15s;
}
.ee-close:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

@media (max-width: 380px) {
  .ee-panel { padding: 1.5rem 1.25rem; }
  .ee-title { font-size: 1.2rem; }
  .ee-qr { width: 150px; height: 150px; }
  .ee-qr-wrap { padding: 0.5rem; }
}

@media (max-height: 600px) {
  .ee-overlay { align-items: flex-start; overflow-y: auto; padding: 1.5rem 1rem; }
  .ee-qr { width: 140px; height: 140px; }
  .ee-sub { margin-bottom: 0.75rem; }
  .ee-qr-wrap { margin-bottom: 0.75rem; }
}

/* ── ACTIVITY CARDS ── */
.act-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 480px) { .act-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .act-grid { grid-template-columns: repeat(3, 1fr); } }

.activity-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 24px 18px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  cursor: default;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15,27,60,0.05);
}
.activity-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,111,222,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.activity-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px rgba(26,111,222,0.1);
  border-color: rgba(26,111,222,0.3);
}
.activity-card:hover::after { opacity: 1; }

.act-icon {
  font-size: 2.1rem;
  margin-bottom: 10px;
  display: inline-block;
  transition: transform 0.3s;
}
.activity-card:hover .act-icon { transform: scale(1.2) rotate(-5deg); }

.activity-card h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.activity-card p { color: var(--gray-text); font-size: 0.82rem; line-height: 1.5; }

/* ── CONTACTS GRID ── */
.contacts-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-text);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) { .contacts-grid { grid-template-columns: repeat(2, 1fr); } }

.contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 2px 10px rgba(15,27,60,0.05);
  display: flex;
  flex-direction: column;
  position: relative;
}
.contact-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #25D366, #128C7E);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s;
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(37,211,102,0.12);
  border-color: rgba(37,211,102,0.4);
}
.contact-card:hover::before { transform: scaleY(1); }

.contact-card-top {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d5a 100%);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-logo-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  transition: transform 0.3s;
}
.contact-card:hover .contact-logo-wrap { transform: scale(1.08); }
.contact-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }

.contact-wa-icon {
  width: 38px; height: 38px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,211,102,0.4);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.contact-card:hover .contact-wa-icon { transform: scale(1.1); }

.contact-card-body {
  padding: 14px 16px;
  flex: 1;
}

.contact-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contact-sub {
  color: var(--gray-text);
  font-size: 0.77rem;
  font-weight: 600;
  margin-bottom: 3px;
}
.contact-meta { color: rgba(107,114,128,0.7); font-size: 0.7rem; }

.contact-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: #25D366;
  background: rgba(37,211,102,0.03);
}
.contact-arrow {
  font-size: 1rem;
  transition: transform 0.3s;
  opacity: 0.6;
}
.contact-card:hover .contact-arrow { transform: translateX(4px); opacity: 1; }

.contacts-footer {
  text-align: center;
  margin-top: 26px;
  color: var(--gray-text);
  font-size: 0.83rem;
}

/* pulse dot */
.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: #25D366;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: pulse-ring 1.5s ease-out infinite;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* footer */
footer {
  text-align: center;
  padding: 26px 20px;
  margin-top: 24px;
  border-top: 1.5px solid var(--border);
  color: #aaa;
  font-size: 0.78rem;
  background: var(--gray-soft);
}
footer a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover { color: var(--orange-light); text-decoration: underline; }

/* Tailwind overrides */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.font-black { font-weight: 900; }
.shadow-lg { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); }
