
:root{
  --navy:#064169;
  --azul:#2e77ad;
  --cel:#4b97cc;
  --cel-l:#d9f1fa;
  --navy2:#223160;
  --navy3:#0d516c;
  --gris:#4B5563;
  --gris-l:#E5E7EB;
  --bg:#F5F7FA;
  --white:#FFFFFF;
  --oro:#F59E0B;
  --verde:#22C55E;
  --ff:'Montserrat',sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:var(--ff);background:var(--bg);color:var(--gris);overflow-x:hidden;}
button{font-family:var(--ff);cursor:pointer;border:none;}
a{text-decoration:none;color:inherit;}

/* ── NAV ── */
.nav{
  background:var(--navy);
  border-bottom:3px solid var(--cel);
  padding:0 24px;height:64px;
  display:flex;align-items:center;justify-content:space-between;
  position:sticky;top:0;z-index:500;
}
.nav-left{display:flex;align-items:center;gap:14px;}
.nav-logo-event{height:50px;width:auto;object-fit:contain;opacity:.97;}
.nav-sep{width:1px;height:28px;background:rgba(255,255,255,.2);}
.nav-brand{font-size:14px;font-weight:700;color:#fff;line-height:1.2;letter-spacing:.3px;}
.nav-sub{font-size:9px;color:rgba(255,255,255,.45);letter-spacing:.5px;margin-top:1px;}
.nav-links{display:flex;gap:2px;overflow-x:auto;}
.nav-links::-webkit-scrollbar{display:none;}
.nav-link{
  padding:8px 16px;border-radius:6px;
  font-size:11px;font-weight:600;
  color:rgba(255,255,255,.55);
  background:none;cursor:pointer;
  white-space:nowrap;transition:all .15s;
  text-transform:uppercase;letter-spacing:.5px;
}
.nav-link:hover{color:#fff;background:rgba(255,255,255,.1);}
.nav-link.active{color:#fff;background:rgba(75,151,204,.25);border-bottom:2px solid var(--cel);}

.section{display:none;}
.section.active{display:block;}

/* ── HERO — Opción C: text-shadow fuerte, overlay ajustado ── */
.hero{
  position:relative;min-height:540px;
  display:flex;flex-direction:column;justify-content:flex-end;
  overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;
  background:url('../img/hero-background.jpg') center/cover no-repeat;
}
.hero-ov{
  position:absolute;inset:0;
  background:linear-gradient(
    180deg,
    rgba(6,25,55,.65) 0%,
    rgba(6,25,55,.40) 30%,
    rgba(6,25,55,.60) 60%,
    rgba(6,25,55,.90) 80%,
    rgba(6,25,55,.97) 100%
  );
  z-index:1;
}

/* Logos arriba */
.logos-top{
  position:absolute;top:0;left:0;right:0;z-index:2;
  padding:16px 24px;
  display:flex;flex-direction:column;gap:10px;
  background:linear-gradient(180deg,rgba(6,25,55,.6) 0%,transparent 100%);
}
.logo-event-hero{
  height:80px;width:auto;object-fit:contain;
  opacity:.97;
  align-self:flex-start;
}
.logos-inst{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.logo-inst{height:42px;width:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.82;}
.logo-vsep{width:1px;height:30px;background:rgba(255,255,255,.22);}

/* Contenido hero */
.hero-content{position:relative;z-index:2;padding:0 24px 36px;}
.hero-lema{
  font-size:10px;font-weight:600;color:var(--cel);
  letter-spacing:2px;text-transform:uppercase;
  text-shadow:0 1px 6px rgba(0,0,0,.9);
  margin-bottom:10px;
  display:flex;align-items:center;gap:8px;
}
.hero-lema::before{
  content:'';width:24px;height:2px;background:var(--cel);border-radius:2px;
}
.hero-title{
  font-size:clamp(28px,5vw,56px);
  font-weight:900;line-height:.92;letter-spacing:-1px;
  margin-bottom:6px;
}
.hero-pre{
  display:block;
  font-size:clamp(11px,1.8vw,15px);
  font-weight:400;color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.95),0 0 40px rgba(0,0,0,.7);
  letter-spacing:.5px;margin-bottom:6px;
}
.hero-blanco{
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.95),0 0 50px rgba(0,0,0,.8);
}
.hero-hl{
  color:var(--cel);
  text-shadow:0 2px 12px rgba(0,0,0,.95),0 0 40px rgba(0,0,0,.7);
}
.hero-sub{
  display:block;
  font-size:clamp(13px,2vw,18px);
  font-weight:300;color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.95);
  margin-top:4px;
}
.hero-bar{
  width:40px;height:3px;
  background:var(--cel);border-radius:2px;
  margin:14px 0 12px;
}
.hero-fecha{
  font-size:13px;font-weight:600;color:#fff;
  text-shadow:0 1px 6px rgba(0,0,0,.95);
  letter-spacing:.3px;
}
.hero-btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;justify-content:center;}
.btn-s{
  background:rgba(255,255,255,.12);
  border:1.5px solid rgba(255,255,255,.35);
  color:#fff;padding:11px 20px;
  border-radius:7px;font-size:12px;font-weight:600;
  cursor:pointer;transition:all .18s;
  text-shadow:0 1px 4px rgba(0,0,0,.6);
}
.btn-s:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.6);}

/* COUNTDOWN */
.cd-row{display:flex;gap:6px;align-items:center;margin-top:14px;}
.cd-b{
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);
  border-radius:6px;padding:7px 10px;
  text-align:center;min-width:48px;
  backdrop-filter:blur(4px);
}
.cd-n{font-size:22px;font-weight:800;color:#ffffff;line-height:1;text-shadow:0 0 0 #fff;}
.cd-l{font-size:8px;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:1px;}
.cd-sep{font-size:18px;color:rgba(255,255,255,.3);font-weight:300;}

/* SEDES */
.sedes-strip{background:var(--navy2);display:grid;grid-template-columns:1fr 1fr;}
.ss-item{padding:16px 24px;display:flex;gap:14px;align-items:center;border-right:1px solid rgba(255,255,255,.07);}
.ss-item:last-child{border-right:none;}
.ss-day{font-size:44px;font-weight:800;color:rgba(75,151,204,.2);line-height:1;flex-shrink:0;}
.ss-badge{display:inline-block;font-size:9px;font-weight:700;padding:2px 8px;border-radius:4px;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px;}
.sb1{background:rgba(75,151,204,.18);color:#93d9f5;}
.sb2{background:rgba(245,158,11,.18);color:#fcd34d;}
.ss-name{font-size:13px;font-weight:700;color:#fff;margin-bottom:2px;}
.ss-addr{font-size:10px;color:rgba(255,255,255,.4);line-height:1.4;}

/* AREAS */
.areas-strip{background:#fff;padding:18px 24px;border-bottom:1px solid var(--gris-l);}
.areas-lbl{font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--gris);margin-bottom:10px;}
.areas-grid{display:flex;gap:8px;flex-wrap:wrap;}
.area-chip{display:flex;align-items:center;gap:6px;background:var(--bg);border:1px solid var(--gris-l);border-radius:6px;padding:6px 12px;font-size:11px;font-weight:500;color:var(--navy);}

/* SPONSORS */
.sponsors-strip{background:var(--navy2);padding:16px 24px;}
.sp-lbl{font-size:9px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.22);margin-bottom:10px;}
.sp-slots{display:flex;gap:8px;flex-wrap:wrap;}
.sp-slot{height:36px;min-width:92px;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:600;padding:0 14px;background:rgba(255,255,255,.04);border:1.5px dashed rgba(255,255,255,.1);color:rgba(255,255,255,.2);}

/* IG */
.ig-strip{background:linear-gradient(90deg,rgba(131,58,180,.82),rgba(253,29,29,.72),rgba(252,176,69,.72));padding:12px 24px;display:flex;align-items:center;gap:12px;}
.ig-text{font-size:13px;color:#fff;font-weight:500;flex:1;}
.ig-btn{background:#fff;color:#833ab4;border-radius:6px;padding:7px 16px;font-size:11px;font-weight:700;border:none;cursor:pointer;}

/* ── SEC HEADER ── */
.sec-hdr{background:var(--navy);padding:26px 24px 0;position:relative;overflow:hidden;}
.sec-hdr::after{content:'';position:absolute;right:-40px;top:-40px;width:200px;height:200px;border-radius:50%;background:rgba(75,151,204,.06);pointer-events:none;}
.sec-inner{position:relative;z-index:1;}
.sec-ey{font-size:9px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:rgba(75,151,204,.85);margin-bottom:5px;}
.sec-title{font-size:32px;font-weight:800;color:#fff;letter-spacing:-.3px;}
.sec-bar{width:32px;height:3px;background:var(--cel);border-radius:2px;margin-top:8px;}

/* CRONOGRAMA */
.crono-tabs{display:flex;border-bottom:2px solid rgba(255,255,255,.08);margin-top:18px;}
.ctab{
  padding:10px 20px;font-size:11px;font-weight:600;
  color:rgba(255,255,255,.4);background:none;border:none;cursor:pointer;
  border-bottom:3px solid transparent;margin-bottom:-2px;
  transition:all .15s;text-transform:uppercase;letter-spacing:.5px;
  display:flex;flex-direction:column;gap:2px;
}
.ctab.active{color:#fff;border-bottom-color:var(--cel);}
.ctab-date{font-size:18px;font-weight:800;line-height:1;}
.ctab-sede{font-size:9px;color:rgba(255,255,255,.3);font-weight:400;text-transform:none;}
.ctab.active .ctab-sede{color:rgba(255,255,255,.5);}

.crono-body{padding:18px 24px;background:var(--bg);}
.crono-day{display:none;flex-direction:column;gap:8px;}
.crono-day.active{display:flex;}

/* SLOTS */
.slot{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.06);border:1px solid var(--gris-l);transition:transform .18s,box-shadow .18s;}
.slot:hover{box-shadow:0 4px 16px rgba(0,0,0,.1);transform:translateY(-1px);}
.slot-charla .slot-bar{border-left:4px solid var(--azul);}
.slot-apertura .slot-bar{border-left:4px solid var(--cel);}
.slot-cierre .slot-bar{border-left:4px solid var(--verde);}
.slot-bar{padding:13px 18px;display:flex;align-items:center;gap:12px;}
.slot-time{font-size:12px;font-weight:700;color:var(--azul);min-width:82px;flex-shrink:0;line-height:1.3;}
.slot-time small{display:block;font-size:9px;font-weight:400;color:#94a3b8;margin-top:1px;}
.t-verde{color:var(--verde)!important;}
.slot-tema{font-size:13px;font-weight:600;color:#0f172a;flex:1;}
.sbadge{display:inline-flex;align-items:center;font-size:9px;font-weight:700;padding:3px 9px;border-radius:4px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;flex-shrink:0;}
.sb-charla{background:#dbeafe;color:#1d4ed8;}
.sb-apertura{background:rgba(75,151,204,.15);color:#0f4c7a;}
.sb-cierre{background:#dcfce7;color:#15803d;}
.sb-break{background:#fef9c3;color:#d97706;}
.sb-net{background:#f0fdf4;color:#15803d;}

/* DISERTANTES — fotos más grandes */
.slot-body{padding:10px 18px 16px;border-left:4px solid var(--azul);background:#fafcff;}
.dis-doble{display:flex;flex-direction:column;gap:10px;}
.dis-row{display:flex;align-items:center;gap:14px;padding:4px 0;}
.dis-foto{
  width:68px;height:68px;
  border-radius:50%;object-fit:cover;
  border:3px solid var(--cel-l);
  flex-shrink:0;
}
.dis-info{flex:1;min-width:0;}
.dis-name{font-size:14px;font-weight:700;color:#0f172a;margin-bottom:2px;}
.dis-cargo{font-size:11px;color:var(--gris);margin-bottom:6px;}
.dis-btns{display:flex;gap:5px;flex-wrap:wrap;}
.dis-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:5px;font-size:10px;font-weight:600;transition:all .15s;cursor:pointer;}
.dis-li{background:#0077b5;color:#fff;}
.dis-li:hover{background:#005f8e;}
.dis-ig{background:linear-gradient(135deg,#833ab4,#fd1d1d);color:#fff;}
.dis-ig:hover{opacity:.85;}

/* BREAK */
.break-slot{background:linear-gradient(90deg,#fffbeb,#fef9c3);border:1px solid #fde68a;border-radius:10px;padding:11px 18px;display:flex;align-items:center;gap:12px;}
.break-ico{font-size:22px;flex-shrink:0;}
.break-txt{font-size:13px;font-weight:600;color:#92400e;}
.break-time{font-size:10px;color:#d97706;}

/* MAPA */
.map-hdr-row{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:12px;padding-bottom:18px;}
.filtros{display:flex;gap:6px;flex-wrap:wrap;}
.filtro{padding:7px 14px;border-radius:5px;font-size:11px;font-weight:600;border:1.5px solid rgba(255,255,255,.15);color:rgba(255,255,255,.55);background:transparent;cursor:pointer;transition:all .15s;}
.filtro.f-all{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3);color:#fff;}
.filtro.f-sede{background:rgba(34,197,94,.15);border-color:#22c55e;color:#86efac;}
.filtro.f-hotel{background:rgba(245,158,11,.15);border-color:var(--oro);color:#fcd34d;}
.filtro.f-gastro{background:rgba(75,151,204,.15);border-color:var(--cel);color:#93d9f5;}
.map-layout{display:flex;height:540px;}
.panel{width:270px;flex-shrink:0;background:#fff;border-right:1px solid var(--gris-l);display:flex;flex-direction:column;overflow:hidden;}
.panel-search{padding:10px;border-bottom:1px solid var(--gris-l);}
.panel-search input{width:100%;padding:7px 10px;border:1px solid var(--gris-l);border-radius:6px;font-size:11px;font-family:var(--ff);outline:none;}
.panel-search input:focus{border-color:var(--cel);}
.panel-list{flex:1;overflow-y:auto;padding:5px;}
.panel-list::-webkit-scrollbar{width:3px;}
.panel-list::-webkit-scrollbar-thumb{background:var(--gris-l);border-radius:3px;}
.place-item{display:flex;gap:8px;padding:9px 8px;border-radius:8px;cursor:pointer;transition:all .12s;margin-bottom:3px;border:1.5px solid transparent;}
.place-item:hover{background:var(--bg);}
.place-item.sel{background:#eff8ff;border-color:var(--cel);}
.place-ico{width:36px;height:36px;border-radius:7px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0;}
.place-cat{font-size:8px;font-weight:700;padding:1px 5px;border-radius:3px;display:inline-block;margin-bottom:2px;}
.cat-sede{background:#dcfce7;color:#15803d;}
.cat-hotel{background:#fef3c7;color:#92400e;}
.cat-gastro{background:#e0f2fe;color:#0369a1;}
.place-name{font-size:11px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.place-addr{font-size:10px;color:var(--gris);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.place-extra{font-size:10px;color:var(--verde);font-weight:600;margin-top:1px;}
.place-conv{font-size:9px;font-weight:700;background:#dcfce7;color:#15803d;padding:1px 5px;border-radius:3px;margin-top:2px;display:inline-block;}
.map-wrap{flex:1;position:relative;}
#map{width:100%;height:100%;}
.map-legend{position:absolute;bottom:10px;right:10px;z-index:400;background:rgba(255,255,255,.96);border-radius:8px;padding:9px 14px;border:1px solid var(--gris-l);font-family:var(--ff);box-shadow:0 2px 8px rgba(0,0,0,.08);}
.leg-item{display:flex;align-items:center;gap:7px;font-size:10px;color:#0f172a;margin-bottom:4px;}
.leg-item:last-child{margin:0;}
.leg-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0;}
.custom-popup .leaflet-popup-content-wrapper{border-radius:10px;padding:0;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.15);font-family:var(--ff);min-width:210px;border:none;}
.custom-popup .leaflet-popup-content{margin:0;width:auto!important;}
.popup-hdr{padding:12px 14px 8px;border-bottom:1px solid #f0f4f8;}
.popup-cat{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:2px;}
.popup-name{font-size:13px;font-weight:700;color:#0f172a;margin-bottom:2px;}
.popup-addr{font-size:11px;color:var(--gris);}
.popup-body{padding:8px 14px 12px;display:flex;flex-direction:column;gap:4px;}
.popup-conv{background:#dcfce7;color:#15803d;font-size:10px;font-weight:600;padding:2px 7px;border-radius:4px;display:inline-block;}
.popup-desc{font-size:10px;color:var(--gris);}
.popup-btn{display:block;width:100%;padding:8px;background:var(--navy);color:#fff;border:none;border-radius:6px;font-size:11px;font-weight:600;cursor:pointer;text-align:center;margin-top:2px;}
.popup-btn.ig{background:linear-gradient(90deg,#833ab4,#fd1d1d);margin-top:3px;}

/* GALERÍA */
.gal-body{padding:28px 24px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;}
.pre-ico{width:72px;height:72px;border-radius:50%;background:#fff;border:2px solid var(--gris-l);display:flex;align-items:center;justify-content:center;font-size:32px;}
.pre-title{font-size:24px;font-weight:800;color:var(--navy);}
.pre-sub{font-size:13px;color:var(--gris);line-height:1.65;max-width:300px;}
.pre-fecha{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--gris-l);border-radius:8px;padding:10px 20px;font-size:12px;font-weight:600;color:#0f172a;}
.pre-ig-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);border-radius:8px;padding:11px 20px;font-size:12px;font-weight:600;color:#fff;cursor:pointer;border:none;}

@media(max-width:640px){
  /* NAV */
  .nav{padding:0 12px;height:56px;}
  .nav-brand{font-size:11px;}
  .nav-link{font-size:10px;padding:6px 8px;}

  /* HERO */
  .hero{min-height:auto;}
  .hero-title{font-size:26px!important;letter-spacing:-.5px;}
  .hero-pre{font-size:10px!important;}
  .hero-sub{font-size:12px!important;}
  .hero-content{padding:0 14px 20px!important;}

  /* Logo evento más chico en móvil */
  .logos-top img[alt="XXIV Jornadas"]{height:70px!important;}

  /* Logos institucionales en móvil — más chicos y ajustados */
  .logos-inst-row{flex-wrap:wrap;gap:8px!important;padding:6px 10px!important;}
  .logos-inst-row img{height:36px!important;}
  .logos-inst-row .vsep-inst{height:28px!important;}

  /* Lema más chico */
  .hero-lema{font-size:11px!important;}

  /* Fecha en una línea */
  .hero-fecha{font-size:11px!important;}

  /* Countdown más chico */
  .cd-n{font-size:18px!important;}
  .cd-b{min-width:40px!important;padding:5px 8px!important;}

  /* Botones apilados */
  .hero-btns{flex-direction:column!important;align-items:center!important;gap:7px!important;}
  .hero-btns button{width:200px!important;}

  /* MAPA */
  .map-layout{flex-direction:column;height:auto;}
  .panel{width:100%;height:200px;}
  #map{height:340px;}

  /* SEDES */
  .sedes-strip{grid-template-columns:1fr;}
  .ss-item:first-child{border-right:none;border-bottom:1px solid rgba(255,255,255,.07);}

  /* CRONOGRAMA */
  .dis-foto{width:56px;height:56px;}
  .crono-body{padding:12px 14px;}
  .slot-bar{padding:10px 12px;}
}

/* CARRUSEL SPONSORS */
.carrusel-wrap{overflow:hidden;width:100%;position:relative;}
.carrusel-wrap::before,.carrusel-wrap::after{
  content:'';position:absolute;top:0;bottom:0;width:60px;z-index:2;
}
.carrusel-wrap::before{left:0;background:linear-gradient(90deg,#0c3060,transparent);}
.carrusel-wrap::after{right:0;background:linear-gradient(-90deg,#0c3060,transparent);}
.carrusel-track{
  display:flex;align-items:center;gap:32px;
  width:max-content;
  animation:scroll-logos 30s linear infinite;
}
.carrusel-track:hover{animation-play-state:paused;}
@keyframes scroll-logos{
  0%{transform:translateX(0);}
  100%{transform:translateX(calc(-33.333%));}
}
.sp-item{
  display:flex;align-items:center;justify-content:center;
  min-width:120px;padding:8px 16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  border-radius:8px;
  transition:all .2s;flex-shrink:0;
}
.sp-item:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);}
.sp-logo{
  height:48px;width:auto;max-width:120px;
  object-fit:contain;
  opacity:.9;
  transition:opacity .2s;
}
.sp-item:hover .sp-logo{opacity:1;}

/* AJUSTE DE CONTRASTE PARA LOGOS OSCUROS */
.bg-white {background-color:#ffffff !important; border-color:#ffffff !important;}
.sp-item.bg-white:hover {background-color:#ffffff !important; border-color:#ffffff !important;}

@media(max-width:640px){
  /* Hero — estructura flexible en móvil */
  .hero{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
  }
  .hero-bg{
    position:fixed;
    z-index:0;
  }
  .hero-ov{
    position:fixed;
    z-index:1;
  }

  /* Logos top — flujo normal */
  .logos-top-mobile{
    position:relative!important;
    z-index:2;
    padding:16px 0 10px;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    background:linear-gradient(180deg,rgba(6,25,55,.75) 0%,rgba(6,25,55,.5) 100%);
  }

  /* Hero content — flujo normal */
  .hero-content-mobile{
    position:relative!important;
    z-index:2;
    padding:0 16px 24px;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    background:linear-gradient(180deg,rgba(6,25,55,.5) 0%,rgba(6,25,55,.95) 40%,rgba(6,25,55,.98) 100%);
  }

  .hero-title{font-size:26px!important;letter-spacing:-.5px!important;}
  .hero-pre{font-size:10px!important;}
  .hero-sub{font-size:12px!important;}
  .hero-lema{font-size:11px!important;}
  .hero-fecha{font-size:11px!important;}
  .cd-n{font-size:18px!important;}
  .cd-b{min-width:40px!important;padding:5px 8px!important;}
  .hero-btns{flex-direction:column!important;align-items:center!important;gap:8px!important;}
  .hero-btns button{width:220px!important;}
  .logos-inst-row img{height:34px!important;}
  .vsep-inst{height:26px!important;}
}

/* MÓVIL */
@media(max-width:640px){
  /* Hero — sin imagen de fondo en móvil, fondo sólido navy con gradiente */
  .hero{min-height:auto!important;display:block!important;}
  .hero-bg{display:none!important;}
  .hero-ov{display:none!important;}
  .hero-logo-top{display:none!important;}

  /* Logo móvil visible */
  .hero-logo-mobile{
    display:flex!important;
    justify-content:center;
    padding:16px 0 8px;
    background:#064169;
  }
  /* También el hero completo fondo navy en móvil */
  .hero{background:#064169!important;}

  /* Inner — bloque normal con fondo navy */
  .hero-inner{
    position:relative!important;
    bottom:auto!important;left:auto!important;right:auto!important;
    min-height:auto!important;
    justify-content:flex-start!important;
    padding:16px 16px 28px!important;
    background:linear-gradient(180deg,#064169 0%,#0d2a4a 100%);
  }

  .hero-title{font-size:26px!important;letter-spacing:-.3px!important;}
  .hero-pre{font-size:9px!important;}
  .hero-sub{font-size:11px!important;}
  .hero-lema{font-size:11px!important;}
  .hero-fecha{font-size:11px!important;margin-top:10px!important;}
  .cd-n{font-size:18px!important;}
  .cd-b{min-width:40px!important;padding:5px 7px!important;}
  .hero-btns{flex-direction:column!important;align-items:center!important;gap:8px!important;}
  .hero-btns button,.hero-btns .btn-filled{width:230px!important;}

  /* Logos institucionales en móvil */
  .logos-inst-row{padding:6px 6px!important;flex-wrap:nowrap!important;}
  .logo-inst-slot{padding:0 6px!important;}
  .logo-inst-slot img{height:34px!important;max-width:64px!important;}
  .vsep-inst{height:24px!important;}

  /* Resto de la página */
  .map-layout{flex-direction:column;height:auto;}
  .panel{width:100%;height:220px;}
  #map{height:350px;}
  .sedes-strip{grid-template-columns:1fr;}
  .ss-item:first-child{border-right:none;border-bottom:1px solid rgba(255,255,255,.07);}
  .dis-foto{width:56px;height:56px;}
  .crono-body{padding:12px 14px;}
}

