:root {
  --bg: #04070b;
  --bg-soft: #08111d;
  --card: rgba(9, 16, 28, 0.76);
  --card-strong: rgba(7, 11, 20, 0.9);
  --line: rgba(79, 150, 255, 0.18);
  --line-strong: rgba(226, 187, 83, 0.35);
  --text: #f5f8ff;
  --muted: rgba(223, 231, 245, 0.74);
  --gold: #dfb44b;
  --gold-2: #9f6c0d;
  --blue: #4ba7ff;
  --blue-soft: rgba(75, 167, 255, 0.25);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Oxanium', sans-serif;
  background: radial-gradient(circle at top, #0d1730 0%, var(--bg) 42%, #020406 100%);
  color: var(--text);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; }
.container { max-width: var(--container-max); }
.site-noise {
  position: fixed; inset: 0; z-index: -3; pointer-events: none; opacity: 0.11;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03), rgba(255,255,255,0));
  background-size: 120px 120px, 180px 180px, 100% 100%;
}
.section-dark { position: relative; }
.section { position: relative; padding: 110px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.84rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after {
  content: ''; width: 38px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 180, 75, 0.9), transparent);
}
.section-header { max-width: 860px; margin-bottom: 24px; }
.section-header h2, .content-card h2 {
  font-size: clamp(2rem, 3.1vw, 3.25rem); line-height: 1.06; font-weight: 800; margin-bottom: 1rem;
}
.section-header p, .content-card p, .feature-list li, .accordion-body, .role-card p, .footer p, .contact-card .form-control, .glass-panel p {
  color: var(--muted); font-size: 1.02rem; line-height: 1.78;
}
#mainNav {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
  padding: 18px 0;
}
#mainNav.is-scrolled {
  background: rgba(4, 7, 12, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  padding: 12px 0;
}
.brand-logo { height: 42px; width: auto; }
.navbar .nav-link {
  color: rgba(255,255,255,0.82); font-size: 0.93rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.85rem 0.95rem !important; position: relative;
}
.navbar .nav-link::after {
  content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 0.4rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); transform: scaleX(0); transition: transform 0.3s ease;
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
.btn {
  border-radius: 999px; font-weight: 700; letter-spacing: 0.03em; padding: 0.95rem 1.65rem;
}
.btn-gold {
  color: #091018; background: linear-gradient(135deg, #f2d77f 0%, var(--gold) 45%, #a36d00 100%); border: 0;
  box-shadow: 0 14px 32px rgba(223, 180, 75, 0.28);
}
.btn-gold:hover { color: #05080d; transform: translateY(-1px); }
.btn-outline-gold {
  color: var(--text); background: rgba(255,255,255,0.03); border: 1px solid rgba(223, 180, 75, 0.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.btn-outline-gold:hover { color: var(--text); background: rgba(223, 180, 75, 0.1); border-color: rgba(223, 180, 75, 0.9); }
.hero-section {
  min-height: 100vh; padding-top: 120px; display: flex; align-items: center; isolation: isolate;
}
.parallax-bg {
  position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(180deg, rgba(4,8,14,0.3), rgba(4,8,14,0.96)), url('../img/bg-hero.png') center center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(75,167,255,0.08), transparent 55%);
  z-index: -2;
}
.hero-orb, .parallax-ambient, .parallax-community, .section-grid { position: absolute; pointer-events: none; }
.hero-orb { width: 580px; height: 580px; border-radius: 50%; filter: blur(80px); opacity: 0.25; z-index: -1; }
.hero-orb-1 { right: -120px; top: 60px; background: radial-gradient(circle, rgba(57, 130, 255, 0.7) 0%, rgba(0, 34, 88, 0) 70%); }
.hero-orb-2 { left: -180px; bottom: -80px; background: radial-gradient(circle, rgba(223, 180, 75, 0.45) 0%, rgba(120, 78, 0, 0) 68%); }
.hero-shell {
  max-width: 920px; margin: 0 auto 36px; text-align: center;
}
.hero-logo { width: min(360px, 82vw); margin: 0 auto 1.4rem; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45)); }
.hero-kicker {
  margin-bottom: 0.8rem; color: rgba(244,247,255,0.75); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem;
}
.hero-title {
  font-size: clamp(2.9rem, 6vw, 5.5rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1.05rem;
}
.hero-text { max-width: 760px; margin-bottom: 2rem; color: var(--muted); font-size: 1.08rem; line-height: 1.78; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }
.video-shell {
  position: relative; max-width: 880px; margin: 0 auto; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow);
}
.video-glow {
  position: absolute; inset: auto 12% -25%; height: 180px; z-index: -1; filter: blur(50px);
  background: radial-gradient(circle, rgba(223, 180, 75, 0.34) 0%, rgba(223, 180, 75, 0) 75%);
}
.hero-video { width: 100%; aspect-ratio: 16 / 7.8; object-fit: cover; background: #111; }
.scroll-indicator {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); color: rgba(255,255,255,0.7); display: inline-flex;
  align-items: center; gap: 8px; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.scroll-indicator i { font-size: 1rem; }
.section-about { padding-top: 95px; }
.about-visual, .salvador-visual, .community-visual, .participate-visual, .cta-landscape {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
}
.about-visual::before, .salvador-visual::before, .community-visual::before, .participate-visual::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(255,255,255,0.08); pointer-events: none;
}
.floating-asset { filter: drop-shadow(0 20px 44px rgba(0,0,0,0.44)); }
.glass-panel, .content-card, .contact-card, .role-card, .person-card, .carousel-panel {
  background: linear-gradient(180deg, rgba(10, 17, 30, 0.82), rgba(6, 10, 18, 0.9));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}
.glass-panel, .content-card { padding: 2rem; }
.mission-card { height: 100%; }
.section-components { padding-top: 90px; }
.section-grid {
  inset: 0; opacity: 0.3; z-index: -1;
  background-image: linear-gradient(rgba(66, 126, 219, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(66, 126, 219, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.components-shell {
  border-radius: 28px; padding: 20px; background: linear-gradient(180deg, rgba(7, 12, 22, 0.82), rgba(6, 10, 18, 0.92));
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow);
}
.eq-accordion .accordion-item {
  background: transparent; border: 0; border-radius: 18px !important; margin-bottom: 14px; overflow: hidden;
}
.eq-accordion .accordion-button {
  background: rgba(11, 19, 33, 0.94); color: var(--text); box-shadow: none; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px !important; padding: 1.1rem 1.3rem; gap: 14px; align-items: center;
}
.eq-accordion .accordion-button:not(.collapsed) { color: var(--text); background: rgba(14, 24, 42, 0.98); }
.eq-accordion .accordion-button::after { filter: invert(1) brightness(1.25); }
.eq-accordion .accordion-body {
  padding: 1.2rem 1.35rem 1.35rem 1.35rem; background: rgba(7, 12, 22, 0.86);
  border-left: 1px solid rgba(255,255,255,0.07); border-right: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07);
}
.item-num {
  min-width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 30%, #f4dd96, var(--gold) 58%, #a36d00 100%); color: #091018; font-weight: 800;
}
.eq-accordion .accordion-button span:not(.item-num) { font-weight: 700; font-size: 1.02rem; }
.eq-accordion .accordion-button small { margin-left: auto; color: rgba(223, 231, 245, 0.68); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; }
.parallax-ambient {
  right: -16%; top: 10%; width: 520px; height: 520px; filter: blur(90px); opacity: 0.18;
  background: radial-gradient(circle, rgba(54, 122, 255, 0.85) 0%, rgba(0, 35, 79, 0) 68%);
}
.feature-list li { display: flex; gap: 12px; margin-bottom: 0.8rem; }
.feature-list i { color: var(--gold); font-size: 1.1rem; margin-top: 3px; }
.feature-box { height: 100%; }
.parallax-community {
  left: -15%; bottom: 6%; width: 520px; height: 520px; filter: blur(92px); opacity: 0.16;
  background: radial-gradient(circle, rgba(223, 180, 75, 0.75) 0%, rgba(120, 78, 0, 0) 68%);
}
.team-grid { row-gap: 1.5rem; }
.person-card { text-align: center; padding: 1.6rem 1.3rem; height: 100%; }
.person-avatar {
  width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 30%, #f2d77f, var(--gold) 58%, #8b5a00 100%); color: #0b121d; font-weight: 800; font-size: 1.35rem;
  box-shadow: 0 12px 28px rgba(223, 180, 75, 0.22);
}
.person-card h3 { font-size: 1.1rem; margin-bottom: 0.55rem; }
.person-card p { margin-bottom: 0; font-size: 0.92rem; }
.role-card {
  position: relative; padding: 1.25rem; height: 100%; overflow: hidden;
}
.role-card-bg {
  position: absolute; inset: auto -20% -38%; height: 180px; filter: blur(36px);
  background: radial-gradient(circle, rgba(223, 180, 75, 0.24) 0%, rgba(223, 180, 75, 0) 72%);
}
.role-card-media {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); background: rgba(8, 12, 20, 0.8); margin-bottom: 1rem;
}
.role-card-media img { width: 100%; /* aspect-ratio: 4 / 3.4;*/ object-fit: cover; }
.role-card-body { position: relative; }
.role-label {
  display: inline-flex; margin-bottom: 0.55rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700;
}
.role-card h3 { font-size: 1.24rem; margin-bottom: 0.7rem; }
.quote-block {
  margin-top: 2.6rem; text-align: center; padding: 1.2rem 1.5rem; border-top: 1px solid rgba(223, 180, 75, 0.3); border-bottom: 1px solid rgba(223, 180, 75, 0.3);
}
.quote-block p { margin: 0; color: #f4df9e; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 600; }
.cta-landscape {
  padding: 7rem 1.5rem; background: linear-gradient(180deg, rgba(4,8,14,0.22), rgba(4,8,14,0.82)), url('../img/bg-grid-3.png') center / cover no-repeat;
  border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow);
}
.cta-copy { max-width: 860px; margin: 0 auto; }
.cta-copy h2 { font-size: clamp(2rem, 3.3vw, 3.4rem); line-height: 1.08; margin: 0; }
.contact-card { padding: 1.6rem; }
.form-control {
  border-radius: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: var(--text); padding: 0.95rem 1rem;
}
.form-control:focus {
  background: rgba(255,255,255,0.06); border-color: rgba(223, 180, 75, 0.55); box-shadow: 0 0 0 0.2rem rgba(223, 180, 75, 0.12); color: var(--text);
}
.form-control::placeholder { color: rgba(223, 231, 245, 0.55); }
.footer { padding: 28px 0 40px; }
.footer-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-logo { height: 36px; width: auto; }
.back-top { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-social { display: inline-flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--text);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left { transform: translate3d(-30px, 0, 0); }
.reveal-right { transform: translate3d(30px, 0, 0); }
.reveal-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
@media (max-width: 991.98px) {
  .section { padding: 88px 0; }
  .hero-shell { margin-bottom: 28px; }
  .hero-logo { width: min(300px, 78vw); }
  .hero-video { aspect-ratio: 16 / 9; }
  .navbar-collapse {
    background: rgba(4, 7, 12, 0.94); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; padding: 0.85rem; margin-top: 0.8rem;
  }
  .footer-shell { justify-content: center; text-align: center; }
}
@media (max-width: 767.98px) {
  .section { padding: 74px 0; }
  .eyebrow::before, .eyebrow::after { width: 24px; }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .hero-text, .section-header p, .content-card p, .accordion-body, .feature-list li, .role-card p { font-size: 0.97rem; }
  .hero-actions { justify-content: center; }
  .btn { width: 100%; justify-content: center; }
  .eq-accordion .accordion-button { align-items: flex-start; flex-wrap: wrap; }
  .eq-accordion .accordion-button small { margin-left: 56px; }
  .cta-landscape { padding: 4.4rem 1.2rem; }
  .footer-brand { justify-content: center; width: 100%; }
}

.person-card {
  height: 100%;
  text-align: center;
  padding: 28px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 22, 36, 0.92), rgba(7, 15, 28, 0.96));
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.person-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
  border-color: rgba(212, 175, 55, 0.35);
}

.person-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #d4af37, #f4df95, #9e7c16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.person-avatar-img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  background: #0b1220;
}

.person-card h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
}

.person-card p {
  margin-bottom: 0;
  color: #c9d2df;
  font-size: .95rem;
  line-height: 1.45;
}

.team-grid-small .person-avatar {
  width: 132px;
  height: 132px;
}

@media (max-width: 991.98px) {
  .person-avatar {
    width: 135px;
    height: 135px;
  }

  .team-grid-small .person-avatar {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 575.98px) {
  .person-card {
    padding: 24px 18px;
  }

  .person-avatar {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
  }

  .team-grid-small .person-avatar {
    width: 110px;
    height: 110px;
  }

  .person-card h3 {
    font-size: 1rem;
  }

  .person-card p {
    font-size: .9rem;
  }
}