:root{
  --gold: #b08f2e;
  --gold-2: #9a7a24;

  --navy: #121212;
  --navy-2:#1e1e1e;

  --sky: #eaf2fb;
  --ink: #0b1220;
  --muted: #64748b;

  --card: rgba(255,255,255,.92);

  --shadow: 0 24px 70px rgba(2,6,23,.12);
  --shadow-sm: 0 14px 36px rgba(2,6,23,.10);

  --radius: 1.35rem;
  --radius-sm: 1rem;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;

  /* alturas para mega menu */
  --topbar-h: 44px;
  --navbar-h: 72px;
  --mega-top: calc(var(--topbar-h) + var(--navbar-h));
}

html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-sans);
  letter-spacing: -0.2px;
  text-rendering: geometricPrecision;
  color: var(--ink);
  background: #fff;
}

body.topbar-hidden{
  --mega-top: var(--navbar-h);
}

h1,h2,h3,h4,h5,h6{
  letter-spacing: -0.5px;
}

/* ===============================
   Buttons
   =============================== */

.btn-pill{ border-radius: 999px; }

.btn-brand{
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-bg: var(--gold-2);
  --bs-btn-hover-border-color: var(--gold-2);
  --bs-btn-color: #0b1220;
  font-weight: 700;
}

.btn-outline-brand{
  --bs-btn-color: #111;
  --bs-btn-border-color: rgba(0,0,0,.22);
  --bs-btn-hover-bg: rgba(0,0,0,.06);
  --bs-btn-hover-border-color: rgba(0,0,0,.30);
  --bs-btn-hover-color: #111;
  border-width: 2px;
}

/* ===============================
   Topbar + Navbar
   =============================== */

.topbar{
  transition: transform .25s ease, opacity .25s ease;
  position: relative;
  z-index: 1030;
}
.topbar.is-hidden{ transform: translateY(-110%); opacity: 0; pointer-events:none; }

.topbar-solid{
  background: var(--gold-2);
  color: rgba(255,255,255,.92);
}
.topbar-links a{ color: rgba(255,255,255,.9); }
.topbar-links a:hover{ color:#fff; text-decoration: underline; }

.badge-switch{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.25rem .55rem;
  border-radius:999px;
  font-size:.75rem;
  font-weight:700;
  border:1px solid rgba(255,255,255,.28);
  text-decoration:none;
}
.badge-switch-light{ color:#fff; }
.badge-switch:hover{ background: rgba(255,255,255,.10); }

.navbar-solid{
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 48px rgba(2,6,23,.14);
}

.navbar-solid .navbar-toggler{ border-color: rgba(255,255,255,.45); }
.navbar-solid .navbar-toggler-icon{ filter: invert(1); }

.navbar-solid .nav-link{ color: rgba(255,255,255,.92) !important; }
.navbar-solid .nav-link:hover{ background: rgba(255,255,255,.14); color: #fff !important; }
.navbar-solid .nav-link.active{ background: rgba(255,255,255,.18); color:#fff !important; }

.brand-logo{ height: 52px; width:auto; }

.navbar .nav-link{
  font-weight: 650;
  color: #0b1220;
  padding: .9rem 1rem;
  border-radius: 999px;
}
.navbar .nav-link:hover{ background: rgba(0,0,0,.06); color: #111; }
.navbar .nav-link.active{ color: #111; background: rgba(0,0,0,.08); }

.nav-mega{ position: relative; }

/* ===============================
   Mega menu
   =============================== */

.mega-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 1040;
}
.mega-backdrop.is-open{ opacity: 1; pointer-events: auto; }

.mega-panel{
  position: fixed;
  left: 0; right: 0;
  top: var(--mega-top);
  max-height: calc(100vh - var(--mega-top));
  overflow: auto;
  background:
    radial-gradient(1200px 700px at 15% 20%, rgba(176,143,46,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
  color: #fff;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .18s ease, opacity .18s ease;
  z-index: 1050;
  padding: 1.25rem 0 2rem;
}
.mega-panel.is-open{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 991.98px){
  .mega-panel, .mega-backdrop{ display:none; }
}

.mega-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .25rem 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 1.25rem;
}
.mega-kicker{
  font-size:.75rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: rgba(255,255,255,.70);
}
.mega-title{ font-size:1.35rem; font-weight: 800; }

.mega-link{
  display:flex;
  align-items:center;
  gap:.35rem;
  color: rgba(255,255,255,.90);
  text-decoration:none;
  padding:.55rem .65rem;
  border-radius: .85rem;
}
.mega-link:hover{ background: rgba(255,255,255,.10); color:#fff; }

.mega-card{
  display:flex;
  align-items:flex-start;
  gap:.85rem;
  text-decoration:none;
  color:#fff;
  padding:.9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: .8rem;
}
.mega-card:hover{ background: rgba(255,255,255,.12); }

.mega-icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(176,143,46,.16);
  border: 1px solid rgba(176,143,46,.35);
  font-size: 1.25rem;
}

.mega-highlight{
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

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

.mega-tile{
  display:flex;
  align-items:center;
  gap:.7rem;
  padding: .9rem 1rem;
  border-radius: 1.15rem;
  text-decoration:none;
  color:#fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 700;
}
.mega-tile:hover{ background: rgba(255,255,255,.12); }

/* ===============================
   Mobile nav
   =============================== */

.mobile-nav .offcanvas-header{ border-bottom:1px solid rgba(2,6,23,.08); }

.mobile-link{
  display:block;
  padding:.6rem .2rem;
  text-decoration:none;
  color: var(--ink);
  font-weight: 650;
}
.mobile-link:hover{ color: #111; }

/* ===============================
   Sections
   =============================== */

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

.section-soft{
  background:
    radial-gradient(900px 500px at 12% 30%, rgba(0,0,0,.05), transparent 60%),
    radial-gradient(800px 520px at 88% 70%, rgba(176,143,46,.10), transparent 60%),
    linear-gradient(180deg, #fff, #f8fbff);
}

.kicker{
  display:inline-block;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #111;
  font-weight: 800;
}

/* ===============================
   HERO
   =============================== */

.hero-premium{
  position: relative;
  background:
    radial-gradient(1200px 520px at 20% 0%, rgba(0,0,0,.25), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(176,143,46,.35), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.02));
  overflow: hidden;
}

.hero-premium--full .container-fluid{ max-width: 100%; }

/* orbes */
.hero-orb{
  position:absolute;
  border-radius:999px;
  filter: blur(28px);
  opacity:.55;
  pointer-events:none;
}
.hero-orb-1{
  width:520px; height:520px;
  left:-160px; top:-140px;
  background: rgba(176,143,46,.55);
}
.hero-orb-2{
  width:640px; height:640px;
  right:-220px; top:-220px;
  background: rgba(0,0,0,.55);
}

/* slider wrapper */
.hero-slider-card{
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

/* slide */
.hero-slide{
  position: relative;
  border-radius: 0;
  min-height: 480px;
  height: clamp(480px, 65vh, 760px);
  overflow: hidden;
}

.hero-slide-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* legibilidad */
.hero-gradient{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(2,6,23,.28) 0%, rgba(2,6,23,.12) 55%, rgba(2,6,23,.10) 100%),
    linear-gradient(180deg, rgba(2,6,23,.00) 0%, rgba(2,6,23,.45) 70%, rgba(2,6,23,.85) 100%);
  pointer-events:none;
}

/* banner inferior */
.hero-banner{
  position:absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 26px;
  background: rgba(11,11,11,.78);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.10);
  color:#fff;
}

.hero-chip{
  display:inline-flex;
  align-items:center;
  padding:.35rem .65rem;
  border-radius:999px;
  background: rgba(176,143,46,.95);
  color:#111;
  font-weight:800;
  letter-spacing:.08em;
  font-size:.72rem;
  margin-bottom: 10px;
}

.hero-banner-title{
  font-weight: 900;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  line-height: 1.12;
  margin-bottom: 6px;
}

.hero-banner-sub{
  color: rgba(255,255,255,.85);
  max-width: 80ch;
  font-size: 1.05rem;
}

.hero-banner-link{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 800;
  text-decoration:none;
}
.hero-banner-link:hover{ text-decoration: underline; }

/* flechas */
.hero-arrow{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(2,6,23,.35);
  color:#fff;
  display:grid;
  place-items:center;
  z-index: 10;
  box-shadow: 0 12px 30px rgba(2,6,23,.25);
  transition: background .18s ease, transform .18s ease;
}
.hero-arrow:hover{
  background: rgba(2,6,23,.55);
  transform: translateY(-50%) scale(1.04);
}
.hero-arrow-prev{ left: 18px; }
.hero-arrow-next{ right: 18px; }

/* dots */
.hero-dots{
  position:absolute;
  left: 0; right: 0;
  bottom: 88px;
  display:flex;
  justify-content:center;
  z-index: 11;
}

.hero-dots .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.75);
  opacity: .7;
}

.hero-dots .swiper-pagination-bullet-active{
  opacity: 1;
  background: var(--gold);
}

/* mobile */
@media (max-width: 991.98px){
  .hero-slide{
    height: clamp(420px, 62vh, 640px);
    min-height: 420px;
  }
  .hero-banner{ padding: 18px 16px; }
  .hero-dots{ bottom: 92px; }
}

/* panel derecho */
.hero-side{
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display:flex;
  flex-direction:column;
  gap:12px;
  color:#fff;
}

.hero-side-card{
  display:block;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
  text-decoration:none;
  transition: transform .18s ease, background .18s ease;
}
.hero-side-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
}

.hero-side-thumb{
  width:72px;
  height:72px;
  object-fit:cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
}

.hero-side-cta{
  margin-top:auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(176,143,46,.18);
  border: 1px solid rgba(176,143,46,.28);
  color:#fff;
}

/* ===============================
   Tabs / cards / eventos
   =============================== */

.section-tabs{ padding-top: 3.4rem; }

.nav-tabs-lg{
  border-bottom: none;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.nav-tabs-lg .nav-link{
  border: none;
  border-radius: 0;
  font-weight: 900;
  letter-spacing: .04em;
  padding: 1.25rem 1rem;
  color: rgba(2,6,23,.70);
  background: transparent;
}
.nav-tabs-lg .nav-link.active{
  color: #111;
  background:
    radial-gradient(700px 220px at 50% 0%, rgba(176,143,46,.16), transparent 60%),
    rgba(0,0,0,.04);
}


/* Tabs premium */
.tabs-premium .nav-pills .nav-link{
  border-radius: 999px;
  padding: .65rem 1rem;
  border: 1px solid rgba(2,6,23,.10);
  background: rgba(255,255,255,.82);
  color: var(--ink);
  box-shadow: 0 12px 26px rgba(2,6,23,.06);
}
.tabs-premium .nav-pills .nav-link.active{
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  border-color: rgba(11,42,90,.18);
  color:#111827;
}

.wide-card{
  display:flex;
  background: #fff;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow:hidden;
  min-height: 180px;
}
.wide-card-img{ width: 42%; object-fit: cover; }
.wide-card-body{ padding: 1.35rem 1.5rem; }
@media (max-width: 991.98px){
  .wide-card{ flex-direction: column; }
  .wide-card-img{ width: 100%; height: 240px; }
}

.icon-card{
  display:block;
  text-decoration:none;
  background: #fff;
  border-radius: 1.6rem;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(2,6,23,.06);
  text-align:center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.icon-card i{ font-size: 2.1rem; color: #111; }
.icon-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.event-card{
  display:block;
  border-radius: 22px;
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow-sm);
  text-decoration:none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); }
.event-card-img{ width:100%; height:240px; object-fit:cover; display:block; }
.event-card-body{ padding: 18px 18px 20px; }
.event-link{ display:inline-flex; align-items:center; font-weight:700; color: #111; }


/* ===============================
   Map
   =============================== */

.map-card{
  border-radius: 26px;
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: var(--shadow);
}
.map-frame{ height: 420px; }
.map-frame iframe{ width:100%; height:100%; border:0; }
.map-content{
  padding: 26px;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
@media (max-width: 991.98px){
  .map-frame{ height: 320px; }
}

/* ===============================
   CTA section
   =============================== */

.section-cta{
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(176,143,46,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
}

.cta-panel{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 1.8rem;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 24px 70px rgba(2,6,23,.25);
}

/* ===============================
   Footer
   =============================== */

.footer-solid{
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color: rgba(255, 255, 255, .92);
}
.footer-logo{ height: 52px; width:auto; }

.footer-title{
  font-weight: 900;
  letter-spacing:.12em;
  font-size: .75rem;
  color: rgba(255,255,255,.72);
  margin-bottom: .65rem;
}

.footer-link{
  display:block;
  color: rgba(255, 255, 255, .92);
  text-decoration:none;
  padding:.25rem 0;
}
.footer-link:hover{ color:#fff; text-decoration: underline; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: rgba(255,255,255,.92);
}
.dev-logo{ height: 45px; width:auto; opacity:.95; }

/* ===============================
   Utility
   =============================== */

.min-w-0{ min-width:0; }

.page-hero-solid{
  background:
    radial-gradient(900px 500px at 15% 20%, rgba(176,143,46,.22), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy));
}

/* Info tiles */
.tile-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 22px;
  border-radius: 22px;
  background:#fff;
  border: 1px solid rgba(2,6,23,.08);
  box-shadow: 0 14px 30px rgba(2,6,23,.07);
  text-decoration:none;
  color: inherit;
  min-height: 140px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tile-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tile-icon{
  width:46px; height:46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(176,143,46,.18);
  border: 1px solid rgba(176,143,46,.25);
  color: var(--navy);
  font-size: 1.3rem;
}


.avatar-initials{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,18,32,.2);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.avatar-initials--sm{
  width: 30px;
  height: 30px;
  font-size: .72rem;
}
