:root{
  --blue: var(--menu);
  --blue2: var(--accent);
  --gold:#f5c35c;
  --white:#fff;
  --text:#0c1b2a;
  --soft:#f3f6fb;

  --bg-900:#062846;
  --bg-800:#0a3a63;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Roboto,system-ui,Arial;color:var(--text);background:#fff}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{width:min(1200px,92%);margin:0 auto}

/* --- TOPBAR MOBILE --- */
.topbar{
  background: var(--menu) !important;
  color:#fff;
}
.topbar__grid{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:10px 0}
.topbar__logo{width:48px;height:48px;object-fit:contain}
.topbar__domain{font-weight:700;letter-spacing:.5px}

/* burger */
.burger{background:transparent;border:0;cursor:pointer;display:flex;flex-direction:column;gap:6px;padding:6px}
.burger span{width:28px;height:3px;background:#fff;border-radius:2px}
.burger--desktop{display:none}

/* mobile menu */
.mobile-menu{display:none;flex-direction:column;padding:10px 0;border-top:1px solid rgba(255,255,255,.15)}
.mobile-menu a,.mobile-menu button{
  padding:12px 14px;
  color:#fff;
  background:transparent;
  border:0;
  text-align:left;
  font-size:15px;
  cursor:pointer
}
.mobile-menu a:hover,.mobile-menu button:hover{background:rgba(255,255,255,.08)}
.mobile-sub{display:none;background:rgba(0,0,0,.12)}
.mobile-sub a{padding-left:28px}

/* --- HEADER DESKTOP --- */
.hero-header{
  background: var(--menu) !important;
  color:#fff !important;
  padding-top:14px;
}
.hero-header__row{
  display:grid;
  grid-template-columns:160px 1fr 280px;
  gap:18px;
  align-items:center;
  padding:8px 0 14px;
  background: transparent !important;
}
.hero-header__logo{width:130px;height:130px;object-fit:contain}
.hero-header__kicker{
  font-size:12px;
  letter-spacing:1px;
  opacity:.9;
  text-transform:uppercase;
  margin-bottom:8px;
  color:#fff !important;
}
.hero-header__title{
  margin:0;
  font-family:Poppins,Roboto,Arial;
  font-weight:800;
  font-size:44px;
  line-height:1.05;
  color:#fff !important;
}
.hero-header__transp img{width:240px;object-fit:contain;opacity:.95}

/* --- NAV STICKY --- */
.nav{
  position:sticky;top:0;z-index:50;
  background: var(--nav-bg);
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(0,0,0,.2);
}
.nav__inner{display:flex;align-items:center;justify-content:space-between;padding:10px 0}
.nav__brand{font-weight:700;color:#fff}
.nav__menu{display:flex;gap:18px;list-style:none;margin:0;padding:0}
.nav__item > a{color:#fff;font-weight:600;padding:10px 10px;border-radius:8px}
.nav__item > a:hover{background:rgba(255,255,255,.08)}
.nav__dropdown{position:relative}
.nav__sub{
  position:absolute;left:0;top:46px;
  min-width:220px;
  list-style:none;margin:0;padding:10px;
  background:var(--nav-dark);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  display:none;
}
.nav__sub a{display:block;color:#fff;padding:10px 10px;border-radius:10px;font-weight:500}
.nav__sub a:hover{background:rgba(255,255,255,.08)}
.nav__dropdown:hover .nav__sub{display:block}

/* nav mobile (desde sticky) */
.nav__mobile{display:none;flex-direction:column;background:var(--nav-dark)}
.nav__mobile a{color:#fff;padding:12px 14px;border-top:1px solid rgba(255,255,255,.12)}

/* --- SLIDER --- */
.slider{background:var(--nav-dark)}
.heroSwiper{width:100%;height:min(1100px,92vh)}
.slide{display:block;width:100%;height:100%}
.slide__bg{
  width:100%;height:100%;
  background-size:cover;background-position:center;
}
.slide__kenburns{animation:ken 8s linear infinite}
@keyframes ken{
  0%{transform:scale(1)}
  100%{transform:scale(1.08)}
}

/* ===== QUICK LINKS ===== */
.quick{
  background: var(--nav-dark);
  padding: 26px 0;
}

.quick__grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap: 18px;
}

.qcard{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 18px 16px;
  display:flex;
  gap: 14px;
  align-items:center;
  color:#fff;
  min-height: 78px;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.qcard:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* icono dentro de un cuadrito */
.qcard i{
  width: 52px;
  height: 52px;
  display:grid;
  place-items:center;
  font-size: 26px;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 10px;
  color: #fff;
  flex: 0 0 52px;
}

/* texto */
.qcard h4{
  margin: 0;
  font-family: Poppins, Arial;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.15;
}

.qcard p{
  margin: 4px 0 0;
  font-size: 12px;
  opacity: .85;
  line-height: 1.2;
}

/* responsive */
@media (max-width: 1200px){
  .quick__grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 640px){
  .quick__grid{ grid-template-columns:repeat(2,1fr); gap: 12px; }
  .qcard{ padding: 14px; min-height: 72px; }
  .qcard i{ width:46px;height:46px;font-size:24px; }
}

/* --- Sections --- */
.section{padding:48px 0}
.section--thin{padding:24px 0}
.section__title{
  margin:0 0 22px;
  color:#fff;
  font-family:Poppins;
  font-size:34px;
  letter-spacing:.3px;
}
.section--gradient{
  background: linear-gradient(180deg, var(--section-a), var(--section-b));
  color:#fff;
}
.section--dark-soft{
  background:#0a2f57;
  color:#fff;
}
.center{text-align:center}
.btn{
  display:inline-block;
  background:var(--gold);
  color:#1a2b3e;
  padding:12px 16px;
  border-radius:12px;
  font-weight:800;
  font-family:Poppins;
}

/* ===========================
   NOTICIAS
=========================== */

#noticias.section--gradient{
  position: relative;
  overflow: hidden;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(900px 420px at 80% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, var(--section-a), var(--section-b)) !important;
}

/* Cabecera tipo Programas */
.news-head{ margin-bottom: 18px; }
.news-kicker{
  color: rgba(255,255,255,.85);
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 6px;
}
.news-title{
  color:#fff !important;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0;
}

/* Grid */
.news{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Card */
.news__card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 350px;
  background: #0000 !important;
}

.news__card:hover{
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 18px 48px rgba(0,0,0,.30);
}

/* Imagen */
.news__img{
  position:absolute;
  inset:0;
  display:block;
  overflow:hidden;
  z-index:0;
}
.news__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1);
  transition: transform .45s ease;
}
.news__card:hover .news__img img{ transform: scale(1.08); }
.news__img iframe{ width:100%; height:100%; border:0; display:block; }

/* Overlay */
.news__card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.62) 100%);
  z-index:1;
  pointer-events:none;
}

/* Fecha círculo */
.news__date{
  position:absolute;
  left:14px;
  bottom:14px;
  width:64px; height:64px;
  border-radius:999px;
  background:#fff;
  color:#0b1b2a;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  z-index:3;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.news__day{ font-weight:900; font-size:20px; line-height:1; }
.news__mon{ font-weight:900; font-size:12px; letter-spacing:.7px; margin-top:2px; }

/* Cuerpo */
.news__body{
  position:absolute;
  left:0; right:0; bottom:0;
  z-index:2;
  padding:14px 16px 60px;
  bottom: 10px;
  color:#fff;
}

.news__body h3{
  margin:0 0 10px;
  font-family:Poppins, Roboto, Arial;
  font-weight:900;
  font-size:18px;
  line-height:1.2;
  letter-spacing:.3px;
}
.news__body h3 a{color:#fff !important;text-decoration:none}

/* quitar meta vieja */
.news__meta{ display:none !important; }

.news__body p{
  margin:0;
  font-size:14px;
  line-height:1.55;
  opacity:.92;
  max-height: 44px;
  overflow:hidden;
}

/* Botón */
.news__actions{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:4;
  display:flex;
  justify-content:flex-end;
}
.news__btn{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  backdrop-filter: blur(6px);
}
.news__btn:hover{ background: rgba(255,255,255,.20); }

/* Responsive */
@media (max-width: 1024px){
  .news{grid-template-columns:repeat(2,1fr)}
  .news__card{ height: 320px; }
}
@media (max-width: 640px){
  .news{grid-template-columns:1fr}
  .news__card{ height: 300px; }
}

/* --- Programs --- */
.programs{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:26px;
  align-items:start;
}
.programs__list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.pitem{
  display:flex;gap:12px;align-items:center;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.15);
  padding:12px;border-radius:14px;
}
.pitem img{width:46px;height:46px;object-fit:contain;opacity:.95}
.pitem span{font-weight:700;font-family:Poppins;font-size:13px}
.programs__image img{border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.35)}

/* headline */
.headline{margin:0;font-family:Poppins;font-size:26px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.rotator--inline{color:var(--gold)}

/* cards social/map */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:18px;
}
.card h2{margin:0 0 12px;font-family:Poppins}
.link{color:#82d7ff;font-weight:800}
.map{border-radius:14px;overflow:hidden}
.map iframe{width:100%;height:420px}

/* Footer viejo */
.footer{background:var(--footer-bg);color:#fff}
.footer__grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  padding:36px 0;
}
.footer h3{margin:0 0 10px;font-family:Poppins}
.footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer a{opacity:.95}
.footer a:hover{opacity:1;text-decoration:underline}
.footer__brand img{width:110px;height:110px;object-fit:contain}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:14px 0;
  font-size:13px;
  opacity:.95;
}

/* RESPONSIVE */
@media (max-width: 1024px){
  .hero-header__row{grid-template-columns:120px 1fr 200px}
  .hero-header__title{font-size:36px}
  .quick__grid{grid-template-columns:repeat(3,1fr)}
  .news{grid-template-columns:repeat(2,1fr)}
  .programs{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 780px){
  .topbar--mobile{display:block}
  .hero-header{display:none}

  .news{grid-template-columns:1fr}
  .two-col{grid-template-columns:1fr}
  .quick__grid{grid-template-columns:1fr}
}
@media (min-width: 781px){
  .topbar--mobile{display:none}
}

/* NAV full */
.menu-wrap{
  width:100%;
  display:flex;
  justify-content:center;
}

/* caja del menú */
.menu-inner{
  width:min(1120px, calc(100% - 40px));
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.20);
  border-radius: 10px;
}

/* UL centrado */
.menu{
  list-style:none;
  margin:0;
  padding: 10px 14px;
  display:flex;
  justify-content:center;
  gap: 28px;
  flex-wrap:wrap;
}
.menu a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  padding: 8px 10px;
  border-radius:8px;
}
.menu a:hover{ background: rgba(255,255,255,.10); }

.transp-pill{
  background: rgba(255,255,255,.14);
  color:#fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.transp-pill:hover{ background: rgba(255,255,255,.20); color:#fff; }

.transp-menu{
  width: 360px;
  max-height: 320px;
  overflow:auto;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.transp-item{
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 500;
  color:#0b1f33;
}
.transp-item:hover{
  background: rgba(13,110,253,.08);
}

/* Contenedor derecha del header */
.hero-header__right{
  margin-left: auto;
  display:flex;
  justify-content:flex-end;
  align-items:flex-start;
}

/* Botón tipo pill */
.transp-pill{
  border-radius:999px;
  padding:.45rem .9rem;
  font-weight:600;
  color:#fff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.transp-pill:hover{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.30);
  color:#fff;
}

/* Menú desplegable */
.transp-menu{
  min-width: 360px;
  max-width: 420px;
  max-height: 320px;
  overflow:auto;
  padding:.5rem;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.transp-menu__title{
  font-size:.85rem;
  font-weight:700;
  opacity:.9;
  padding:.25rem .75rem;
}
.transp-item{
  border-radius:10px;
  padding:.55rem .75rem;
  white-space: normal;
}
.transp-item:hover{
  background: rgba(13,110,253,.10);
}

.programas-hero{
  padding: 70px 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.06), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.05), transparent 45%),
    linear-gradient(180deg, var(--section-a), var(--section-b));
  position: relative;
  overflow: hidden;
}

.programas-hero__head{ margin-bottom: 28px; }
.programas-hero__kicker{
  color: rgba(255,255,255,.75);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .78rem;
  text-transform: uppercase;
}
.programas-hero__title{
  color:#fff;
  font-weight: 800;
  margin: 6px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.programas-hero__grid{
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 30px;
  align-items: center;
}

.programas-panel{
  border: 3px solid rgba(255,255,255,.45);
  border-bottom-left-radius: 40px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  padding: 26px 22px;
  background: rgba(0,0,0,.10);
  backdrop-filter: blur(6px);
}

.programas-panel__label{
  color:#fff;
  font-weight: 800;
  font-size: 1.25rem;
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 18px;
}
.programas-panel__bar{
  width: 4px;
  height: 22px;
  background: #ff3b30;
  border-radius: 99px;
}

.programas-panel__list{
  display:flex;
  flex-direction: column;
  gap: 14px;
}

.programa-item{
  display:flex;
  align-items:center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  color:#0b2c4e;
  text-decoration:none;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .12s ease, background .12s ease;
}
.programa-item:hover{ transform: translateY(-2px); background: rgba(255,255,255,.95); }

.programa-item__ico{
  width: 40px; height: 40px;
  display:grid; place-items:center;
  border-radius: 10px;
  background: rgba(11,58,102,.10);
  color:#0b3a66;
  flex: 0 0 40px;
  font-size: 1.25rem;
}
.programa-item__txt{ line-height: 1.1; }

.programa-item--disabled{ opacity: .7; cursor: default; }

.programas-hero__girl{
  display:flex;
  justify-content:center;
  align-items:end;
}
.programas-hero__girl img{
  max-width: 420px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,.35));
}

@media (max-width: 992px){
  .programas-hero__grid{ grid-template-columns: 1fr; }
  .programas-hero__girl{ order: -1; }
  .programas-panel{ border-bottom-left-radius: 18px; }
}

/* Acordeón programas */
.prog-acc-item{ display:flex; flex-direction:column; gap:10px; }

.prog-acc-btn{
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  text-align:left;
  border:0;
  padding:16px 18px;
  border-radius:12px;
  background: rgba(255,255,255,.86);
  color:#0b2c4e;
  font-weight:800;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .12s ease, background .12s ease;
}
.prog-acc-btn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.95); }

.prog-acc-title{ flex:1; line-height:1.1; }

.prog-acc-chevron{
  width:34px; height:34px;
  display:grid; place-items:center;
  border-radius:10px;
  background: rgba(11,58,102,.10);
  color:#0b3a66;
}
.prog-acc-btn:not(.collapsed) .prog-acc-chevron i{
  transform: rotate(180deg);
  transition: transform .18s ease;
}

.prog-acc-body{
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: -6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.prog-acc-desc{
  color:#0b2c4e;
  font-weight:600;
  opacity:.92;
  font-size: .95rem;
  line-height: 1.35;
}

.prog-acc-pdf{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background:#0b3a66;
  color:#fff;
  text-decoration:none;
  font-weight:800;
}
.prog-acc-pdf:hover{ filter: brightness(1.05); }

.teachers{ position: relative; }

.tcard{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 14px 16px;
  display:flex;
  gap: 14px;
  align-items:center;
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
  max-width: 380px;
  margin: 0 auto;
}

.tcard__avatar{
  width: 70px;
  height: 70px;
  border-radius: 999px;
  overflow:hidden;
  border: 2px solid rgba(255,255,255,.25);
  flex: 0 0 70px;
  background: rgba(0,0,0,.15);
}

.tcard__avatar img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.tcard__name{ color:#fff; font-size: 15px; margin: 0 0 2px; font-weight: 800; }
.tcard__role{ margin: 0; color: rgba(255,255,255,.75); font-size: 13px; }

/* ===== Helpers secciones ===== */
.section{ padding: 70px 0; }

.section--gradient{
  background:
    radial-gradient(1200px 600px at 50% 15%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(180deg, var(--section-a), var(--section-b));
}

.section--soft{
  background:
    radial-gradient(1000px 520px at 50% 10%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, var(--section-a), var(--section-b));
}

.section__title{
  color:#fff;
  font-size: 34px;
  margin: 0 0 10px;
}
.section__lead{
  color: rgba(255,255,255,.75);
  margin: 0 0 22px;
  max-width: 820px;
}
.section__row{ display:flex; justify-content:space-between; gap:16px; align-items:end; }
.muted{ color: rgba(255,255,255,.75); }

/* ===== DE INTERÉS ===== */
.interest-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 992px){
  .interest-grid{ grid-template-columns: 1fr; }
}

/* Card */
.icard{
  display:flex;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  text-decoration:none;
  transition: transform .15s ease, background .15s ease;
}
.icard:hover{ transform: translateY(-2px); background: rgba(255,255,255,.10); }

/* Imagen */
.icard__img{
  width: 220px;
  height: 140px;
  border-radius: 16px;
  overflow:hidden;
  flex: 0 0 220px;
  background: rgba(0,0,0,.12);
}
@media (max-width: 576px){
  .icard{ flex-direction: column; }
  .icard__img{ width: 100%; height: 180px; flex: 0 0 auto; }
}

.icard__img img{ width:100%; height:100%; object-fit:cover; }
.icard__kicker{
  color: rgba(255,255,255,.75);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 4px;
}
.icard__title{ color:#fff; font-size: 16px; margin: 0 0 6px; font-weight: 800; }
.icard__desc{ margin:0; color: rgba(255,255,255,.75); font-size: 13px; }

/* ===== ALIADOS LOOP ===== */
.logo-carousel{
  overflow:hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 16px 0;
}
.logo-track{
  display:flex;
  align-items:center;
  gap: 28px;
  width: max-content;
  animation: logosScroll 28s linear infinite;
}
.logo-item{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.logo-item img{
  height: 46px;
  width: auto;
  display:block;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.15));
}
@keyframes logosScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ==========================
   ALIADOS (forzado por ID)
========================== */
#aliados{
  padding: 70px 0;
  background:
    radial-gradient(1200px 600px at 50% 15%, rgba(255,255,255,.07), transparent 60%),
    linear-gradient(180deg, var(--section-a), var(--section-b));
}
#aliados .container{ background: transparent !important; }

/* Caja carrusel */
#aliados .logo-carousel{
  overflow:hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  padding: 16px 0;
}

/* Track infinito */
#aliados .logo-track{
  display:flex;
  align-items:center;
  gap: 28px;
  width: max-content;
  animation: logosScroll 28s linear infinite;
}

/* Item */
#aliados .logo-item{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

/* Imagen logo */
#aliados .logo-item img{
  height: 46px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.15));
}

/* Pausar al pasar mouse */
#aliados .logo-carousel:hover .logo-track{
  animation-play-state: paused;
}

/* =========================
   MAPA + FOOTER
========================= */

/* MAPA */
.map-wrap{
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, var(--section-a), var(--section-b));
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
}

.map-wrap iframe{
  width: 100% !important;
  height: 420px !important;
  border: 0 !important;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}

/* Capa suave */
.map-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 420px at 50% 0%, rgba(255,255,255,.06), transparent 60%);
  pointer-events:none;
}

.map-cta{
  position:absolute;
  inset:auto 0 0 0;
  height: 90px;
  background: linear-gradient(180deg, var(--section-a), var(--section-b));
  pointer-events:none;
}

/* FOOTER */
.footer-pro{
  position: relative;
  background:
    radial-gradient(1200px 600px at 50% 10%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, var(--section-a), var(--section-b));
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* capa sutil */
.footer-pro::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--footer-bg);
  background-size: cover;
  background-position: center;
  opacity: .12;
  pointer-events:none;
}

.footer-pro > *{
  position: relative;
}

/* Logo */
.footer-logo-wrap{
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.footer-logo{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* links */
.footer-title{
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-link{
  display:block;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  margin: 0 0 8px;
}
.footer-link:hover{ color:#fff; text-decoration: underline; }

.footer-item{
  color: rgba(255,255,255,.78);
  margin: 0 0 8px;
}

/* redes */
.social-btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color:#fff;
  text-decoration:none;
}
.social-btn:hover{
  background: rgba(255,255,255,.12);
}

/* barra inferior */
.footer-bottom{
  background: rgba(0,0,0,.22);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* ===== DE INTERÉS (imagen grande + texto abajo + tilt hover) ===== */

#interes.section{
  background: linear-gradient(180deg, var(--section-a), var(--section-b)) !important;
}

.interest-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 992px){
  .interest-grid{ grid-template-columns: 1fr; }
}

.icard.icard--stack{
  display:block;
  padding: 0;
  border-radius: 22px;
  overflow:hidden;
  text-decoration:none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}

.icard.icard--stack:hover{
  background: rgba(255,255,255,.10);
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
}

/* inclinación */
.icard.icard--stack.tilt-l:hover{
  transform: translateY(-6px) rotateZ(-0.6deg) rotateY(-6deg);
}
.icard.icard--stack.tilt-r:hover{
  transform: translateY(-6px) rotateZ(0.6deg) rotateY(6deg);
}

/* imagen grande */
.icard.icard--stack .icard__img{
  width: 100%;
  height: 240px;
  background: rgba(0,0,0,.12);
  overflow:hidden;
}
@media (max-width: 992px){
  .icard.icard--stack .icard__img{ height: 220px; }
}
.icard.icard--stack .icard__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.icard.icard--stack:hover .icard__img img{
  transform: scale(1.04);
}

/* texto abajo */
.icard.icard--stack .icard__body{
  padding: 16px 18px 18px;
}

.icard.icard--stack .icard__kicker{
  color: rgba(255,255,255,.75);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.icard.icard--stack .icard__title{
  color:#fff;
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 800;
}
.icard.icard--stack .icard__desc{
  margin:0;
  color: rgba(255,255,255,.80);
  font-size: 13px;
  line-height: 1.35;
}

/* ===== BOTONES FLOTANTES ===== */

.float-buttons{
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

/* WhatsApp */
.float-btn.whatsapp{
  background: #25D366;
  color: #fff;
}
.float-btn.whatsapp:hover{
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}

/* Subir */
.float-btn.scroll-top{
  background: var(--menu);
  color: #fff;
  opacity: 0;
  visibility: hidden;
}

.float-btn.scroll-top.show{
  opacity: 1;
  visibility: visible;
}

.float-btn.scroll-top:hover{
  background: var(--accent);
  transform: translateY(-3px);
}

/* permitir click en iframe */
.news__img iframe{
  position: relative;
  z-index: 5;
  pointer-events: auto;
}
/* ===== FORZAR COLORES DINÁMICOS SUPERIOR ===== */
.hero-header,
.hero-header__left,
.hero-header__center,
.hero-header__right{
  background: var(--menu) !important;
}

.hero-header__kicker,
.hero-header__title,
.hero-header__domain,
.rotator,
.rotator span,
.hero-header h1,
.hero-header h2,
.hero-header h3,
.hero-header p,
.hero-header div{
  color: #fff !important;
}

.menu-wrap{
  background: var(--menu) !important;
}

.menu-inner{
  background: rgba(255,255,255,.08) !important;
}

.topbar{
  background: var(--menu) !important;
}

.transp-pill{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.transp-pill:hover{
  filter: brightness(1.05);
}
/* ===== FIX BLANCO EN MOVIL ===== */
@media (max-width: 780px){

  html, body{
    background: var(--menu) !important;
  }

  .topbar--mobile,
  .topbar,
  .topbar__grid{
    background: var(--menu) !important;
  }

  .topbar__domain,
  .topbar__kicker,
  .topbar__title{
    color:#fff !important;
  }

  .burger,
  .burger span{
    background-color: transparent;
  }

  .burger span{
    background: #fff !important;
  }

  .slider,
  .heroSwiper,
  .swiper,
  .swiper-wrapper,
  .swiper-slide,
  .slide,
  .slide__bg{
    background-color: transparent !important;
  }

  .topbar + .slider,
  .topbar--mobile + .slider{
    margin-top: 0 !important;
  }
}
@media (max-width: 780px){
  .topbar--mobile{
    display:block;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
  }

  .topbar__grid{
    padding: 10px 12px !important;
  }

  .hero-header{
    display:none !important;
  }
}
@media (max-width: 780px){
  body::before{
    content:none !important;
    display:none !important;
  }
}
/* ===== INTERES SWIPER HORIZONTAL BIEN ===== */
.interesSwiper{
  position: relative;
  padding: 10px 10px 50px;
  overflow: hidden;
}

.interesSwiper .swiper-wrapper{
  align-items: stretch;
}

.interesSwiper .swiper-slide{
  height: auto;
  display: flex;
}

.icard-horizontal{
  width: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.icard-horizontal:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.10);
  box-shadow: 0 24px 50px rgba(0,0,0,.28);
}

.icard-horizontal__img{
  width: 48%;
  min-width: 48%;
  height: auto;
  overflow: hidden;
  background: rgba(0,0,0,.10);
}

.icard-horizontal__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.icard-horizontal__body{
  width: 52%;
  min-width: 52%;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.icard-horizontal__kicker{
  color: rgba(255,255,255,.75);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.icard-horizontal__title{
  color: #fff;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 10px;
}

.icard-horizontal__desc{
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Flechas */
.interesSwiper .swiper-button-prev,
.interesSwiper .swiper-button-next{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.interesSwiper .swiper-button-prev::after,
.interesSwiper .swiper-button-next::after{
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}

/* Paginación */
.interesSwiper .swiper-pagination{
  bottom: 0 !important;
}

.interesSwiper .swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.45);
  opacity: 1;
}

.interesSwiper .swiper-pagination-bullet-active{
  background: #fff;
}

/* Responsive */
@media (max-width: 991px){
  .icard-horizontal{
    min-height: 240px;
  }

  .icard-horizontal__title{
    font-size: 22px;
  }

  .icard-horizontal__desc{
    font-size: 13px;
  }
}

@media (max-width: 767px){
  .icard-horizontal{
    flex-direction: column;
    min-height: auto;
  }

  .icard-horizontal__img,
  .icard-horizontal__body{
    width: 100%;
    min-width: 100%;
  }

  .icard-horizontal__img{
    height: 220px;
  }

  .icard-horizontal__title{
    font-size: 20px;
  }

  .interesSwiper .swiper-button-prev,
  .interesSwiper .swiper-button-next{
    display: none;
  }
}