/* css/estilos.css */
:root{
  --bg: #ffffff;
  --surface: rgba(255,255,255,.86);
  --surface2: rgba(255,255,255,.94);
  --line: rgba(15, 23, 42, .10);
  --line2: rgba(15, 23, 42, .14);
  --text: rgba(15, 23, 42, .92);
  --muted: rgba(15, 23, 42, .70);
  --shadow: 0 22px 70px rgba(15, 23, 42, .12);
  --shadow2: 0 10px 28px rgba(15, 23, 42, .10);
  --radius: 22px;
  --radius2: 16px;
  --accent: #1d4ed8;
  --accent2:#16a34a;
  --accentSoft: rgba(29,78,216,.14);
  --accentSoft2: rgba(22,163,74,.14);
  --max: 1140px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Helvetica, Arial;
  color: var(--text);
  overflow-x:hidden;
  background:
    radial-gradient(900px 420px at 16% 6%, var(--accentSoft), transparent 55%),
    radial-gradient(900px 420px at 84% 8%, var(--accentSoft2), transparent 55%),
    linear-gradient(180deg, rgba(15,23,42,.03), transparent 36%),
    var(--bg);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 9999;
}

#particles-js{
  position:fixed;
  inset:0;
  z-index:-3;
  opacity:.22;
  pointer-events:none;
}

.container{max-width:var(--max);margin:0 auto}
.section{padding:82px 16px}
.section-title{
  font-size: clamp(26px, 3vw, 38px);
  margin:0 0 10px;
  text-align:center;
  letter-spacing:-.02em;
  font-weight:900;
}
.section-subtitle{
  text-align:center;
  color:var(--muted);
  margin:0 auto 24px;
  max-width: 78ch;
  line-height:1.7;
  font-size: 15.5px;
}

.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.nav{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}
.brand img{
  width:44px;height:44px;object-fit:contain;
  filter: drop-shadow(0 12px 22px rgba(15,23,42,.10));
}
.brand .name{
  line-height:1.05;
  font-weight:900;
  letter-spacing:-.01em;
  font-size: 15px;
}
.brand .tag{
  font-size:12.5px;
  color:var(--muted);
  margin-top:2px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav-links a{
  font-size:14px;
  color:rgba(15,23,42,.74);
  padding:10px 12px;
  border-radius:12px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  font-weight:600;
}
.nav-links a:hover{
  background: rgba(15,23,42,.05);
  color:rgba(15,23,42,.92);
  transform: translateY(-1px);
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
  justify-content:flex-end;
}

.btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.88);
  color: rgba(15,23,42,.92);
  padding:10px 14px;
  border-radius:14px;
  box-shadow: var(--shadow2);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  font-weight:800;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  user-select:none;
  position:relative;
  overflow:hidden;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,1);
  border-color: var(--line2);
}
.btn-primary{
  border-color: rgba(29,78,216,.28);
  background: linear-gradient(135deg, rgba(29,78,216,.14), rgba(22,163,74,.12));
}
.btn-primary:hover{
  border-color: rgba(29,78,216,.40);
  background: linear-gradient(135deg, rgba(29,78,216,.20), rgba(22,163,74,.16));
}

.btn::after, .card::after, .service-card::after, .torneo-card::after, .gallery-item::after, .news-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  background:
    radial-gradient(420px 200px at 15% 10%, rgba(29,78,216,.16), transparent 55%),
    radial-gradient(420px 200px at 85% 90%, rgba(22,163,74,.14), transparent 55%);
  opacity:0;
  transition: opacity .25s ease;
  pointer-events:none;
  z-index:0;
}
.btn:hover::after, .card:hover::after, .service-card:hover::after, .torneo-card:hover::after, .gallery-item:hover::after, .news-card:hover::after{
  opacity:1;
}
.btn > *, .card > *, .service-card > *, .torneo-card > *, .news-card > *{
  position:relative;
  z-index:1;
}

.menu-btn{display:none}
@media (max-width: 860px){
  .nav-links{display:none}
  .menu-btn{display:inline-flex}
}

.mobile-drawer{
  display:none;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
}
.mobile-drawer.open{display:block}
.mobile-links{
  max-width:var(--max);
  margin:0 auto;
  padding:10px 16px 16px;
  display:grid;
  gap:10px;
}
.mobile-links a{
  padding:12px 14px;
  border-radius:14px;
  background: rgba(15,23,42,.04);
  border:1px solid var(--line);
  color:rgba(15,23,42,.86);
  font-weight:700;
}

.hero{
  padding: 84px 16px 20px;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(900px 420px at 16% 6%, rgba(29,78,216,.18), transparent 55%),
    radial-gradient(900px 420px at 84% 8%, rgba(22,163,74,.16), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.60), rgba(255,255,255,.88));
  pointer-events:none;
}

.hero-video-bg{
  position:absolute;
  inset:0;
  z-index:-2;
  overflow:hidden;
  background: #f3f6ff;
}
.hero-video-bg video{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.02) brightness(.92);
}
.hero-video-overlay{
  position:absolute;
  inset:0;
  z-index:-1;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.86));
  backdrop-filter: blur(1px);
}

.hero-grid{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:stretch;
}
.hero-card{
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255,255,255,.78);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(700px 260px at 18% 0%, rgba(29,78,216,.16), transparent 60%),
    radial-gradient(700px 260px at 78% 10%, rgba(22,163,74,.14), transparent 62%);
  opacity:.85;
  pointer-events:none;
}
.hero-card > *{position:relative}

.subtitle{
  margin:0 0 10px;
  color:rgba(15,23,42,.68);
  font-size:12.5px;
  letter-spacing:.16em;
  text-transform: uppercase;
  font-weight:800;
}
.title{
  margin:0 0 12px;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height:1.05;
  font-weight: 950;
  letter-spacing:-.03em;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.75;
  max-width: 62ch;
  font-size: 15.5px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(15,23,42,.04);
  border:1px solid var(--line);
  color:rgba(15,23,42,.78);
  font-size:14px;
  font-weight:800;
}

.hero-logo-card{
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255,255,255,.78);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 300px;
  position:relative;
  overflow:hidden;
}
.hero-logo-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 280px at 40% 30%, rgba(29,78,216,.16), transparent 65%),
    radial-gradient(520px 280px at 60% 70%, rgba(22,163,74,.14), transparent 65%);
  opacity:.75;
  pointer-events:none;
}
.hero-logo{
  position:relative;
  width:min(310px, 70vw);
  filter: drop-shadow(0 22px 40px rgba(15,23,42,.14));
  animation: floaty 5.2s ease-in-out infinite;
}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-logo-card{min-height: 220px}
}

/* GALERÍA */
.gallery-wrap{
  position:relative;
  border-radius: var(--radius);
  background: var(--surface2);
  border:1px solid var(--line);
  padding: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.gallery-wrap::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 260px at 15% 0%, rgba(29,78,216,.12), transparent 60%),
    radial-gradient(900px 260px at 85% 0%, rgba(22,163,74,.12), transparent 60%);
  opacity:.85;
}
.gallery-topbar{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 12px;
}
.gallery-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(15,23,42,.03);
  color: rgba(15,23,42,.78);
  font-size: 13px;
  font-weight:800;
}
.gallery-controls{
  display:flex;
  gap:8px;
  align-items:center;
}
.icon-btn{
  border:1px solid var(--line);
  background: rgba(255,255,255,.9);
  width:40px;height:40px;
  border-radius: 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: var(--shadow2);
  cursor:pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.icon-btn:hover{
  transform: translateY(-1px);
  background: #fff;
  border-color: var(--line2);
}
.gallery-track{
  position:relative;
  z-index:1;
  display:flex;
  gap:18px;
  width:max-content;
  animation: galleryScroll 32s linear infinite;
  will-change:transform;
  padding: 10px 0;
}
.gallery-wrap:hover .gallery-track{animation-play-state:paused}

.gallery-item{
  width: 340px;
  height: 226px;
  flex:0 0 auto;
  border-radius: var(--radius2);
  background-size: cover;
  background-position: center;
  position:relative;
  overflow:hidden;
  background-color: rgba(15,23,42,.05);
  box-shadow: 0 18px 55px rgba(15,23,42,.16);
  transition: transform .35s ease, filter .35s ease, box-shadow .35s ease;
  cursor:pointer;
  border: 1px solid rgba(15,23,42,.08);
}
.gallery-item::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,.22), transparent 45%),
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.28));
  pointer-events:none;
  z-index:1;
}
.gallery-item:hover{
  transform: scale(1.05);
  filter:saturate(1.08) contrast(1.04);
  box-shadow: 0 24px 80px rgba(15,23,42,.18);
}
.gallery-fade{
  position:absolute;
  top:0; bottom:0;
  width:90px;
  z-index:2;
  pointer-events:none;
}
.gallery-fade.left{
  left:0;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}
.gallery-fade.right{
  right:0;
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}
@keyframes galleryScroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (max-width:650px){
  .gallery-item{width:260px;height:185px}
  .gallery-wrap{padding:16px}
  .gallery-fade{width:70px}
}

/* About */
.about-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:center;
}
.card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:24px;
  position:relative;
  overflow:hidden;
}
.about-text p{
  margin:10px 0 0;
  line-height:1.8;
  color:var(--muted);
  font-size:15.5px;
}
.about-image img{
  border-radius: var(--radius);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
@media (max-width: 900px){
  .about-grid{grid-template-columns:1fr}
}

/* Services */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
@media (max-width: 980px){ .services-grid{grid-template-columns:1fr 1fr} }
@media (max-width: 640px){ .services-grid{grid-template-columns:1fr} }

.service-card{
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  position:relative;
  min-height: 250px;
  perspective: 1200px;
}
.card-inner{
  position:absolute;
  inset:0;
  transition: transform .75s ease;
  transform-style: preserve-3d;
}
.service-card:hover .card-inner{ transform: rotateY(180deg); }
.card-front,.card-back{
  position:absolute;
  inset:0;
  backface-visibility:hidden;
  display:flex;
  padding:20px;
}
.card-front{
  align-items:flex-end;
  background-size:cover;
  background-position:center;
}
.card-front::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.66));
}
.card-front h3{
  position:relative;
  margin:0;
  font-size:18px;
  letter-spacing:-.01em;
  color:#fff;
  font-weight:900;
}
.card-back{
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(29,78,216,.10), rgba(22,163,74,.10));
  border-top:1px solid rgba(15,23,42,.08);
  align-items:center;
  justify-content:center;
  text-align:center;
}
.card-back p{
  margin:0;
  color: rgba(15,23,42,.86);
  line-height:1.7;
  font-size:15px;
  font-weight:700;
  max-width: 40ch;
}

/* Torneos */
.torneos-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  align-items:stretch;
}
@media (max-width: 900px){ .torneos-grid{grid-template-columns:1fr 1fr} }
@media (max-width: 600px){ .torneos-grid{grid-template-columns:1fr} }

.torneo-card{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  border-radius: var(--radius);
  background: var(--surface);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
  min-height: 150px;
  position:relative;
  overflow:hidden;
}
.torneo-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(720px 240px at 50% 0%, rgba(29,78,216,.10), transparent 60%);
  opacity:.7;
  pointer-events:none;
}
.torneo-card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.98);
  border-color: var(--line2);
}
.torneo-logo{
  position:relative;
  width: 170px;
  max-height: 95px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(15,23,42,.12));
}

/* PATROCINADORES */
#patrocinadores .torneo-card {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#patrocinadores .torneo-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: var(--line2);
  box-shadow: 0 28px 80px rgba(15,23,42,.18);
}
#patrocinadores .torneo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 50% 0%, rgba(29,78,216,.10), transparent 60%);
  opacity: .7;
  pointer-events: none;
}
#patrocinadores .torneo-logo {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.1);
  opacity: .75;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
#patrocinadores .torneo-card:hover .torneo-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}
@media (max-width: 768px) {
  #patrocinadores .torneo-logo {
    max-width: 110px;
  }
}

/* ==========================================================
   ✅ DIRECTIVOS - ESTILO FOTO GIGANTE (SIN FONDO)
========================================================== */
.directivos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: end; 
  padding-top: 30px;
}
@media (max-width: 980px){ .directivos-grid{grid-template-columns:1fr 1fr} }
@media (max-width: 640px){ .directivos-grid{grid-template-columns:1fr} }

.directivo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.directivo-pic {
  width: 100%;
  max-width: 100%; 
  height: 420px; 
  object-fit: contain;
  object-position: bottom; 
  mix-blend-mode: darken; 
  margin-bottom: 24px;
  transition: transform .3s ease;
}

.directivo-item:hover .directivo-pic {
  transform: translateY(-8px) scale(1.05); 
}

.directivo-data h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.02em;
  color: var(--text);
}
.directivo-data .role {
  display: block; 
  margin-top: 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--accent); 
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.directivo-data p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 320px;
}

/* Contacto */
.contact-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}

/* Footer */
.footer{
  padding: 28px 16px 36px;
  border-top:1px solid var(--line);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(14px);
}
.footer-grid{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-items:start;
}
.footer-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:16px;
  border-radius: 18px;
  background: rgba(15,23,42,.04);
  border:1px solid var(--line);
  position:relative;
  overflow:hidden;
}
.footer-item i{margin-top:2px;color: var(--accent)}
.footer-item p{
  margin:0;
  color: rgba(15,23,42,.82);
  line-height:1.55;
  font-size:14.5px;
  font-weight:600;
}
.footer-copy{
  max-width:var(--max);
  margin:16px auto 0;
  color: rgba(15,23,42,.55);
  font-size:13px;
  text-align:center;
  font-weight:600;
}
@media (max-width: 760px){
  .footer-grid{grid-template-columns:1fr}
}

/* WhatsApp */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, rgba(22,163,74,.18), rgba(29,78,216,.12));
  border:1px solid rgba(22,163,74,.32);
  box-shadow: 0 18px 55px rgba(15,23,42,.18);
  z-index:60;
  transition: transform .18s ease, filter .18s ease;
}
.whatsapp-float i{font-size: 28px;color: rgba(15,23,42,.92)}
.whatsapp-float:hover{ transform: translateY(-2px) scale(1.02); filter:saturate(1.2); }

/* Subir arriba */
.to-top{
  position: fixed;
  right: 18px;
  bottom: 86px;
  width: 52px; height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  display:none;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index: 60;
  transition: transform .18s ease, background .18s ease;
}
.to-top:hover{ transform: translateY(-2px); background: #fff; }

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background: rgba(15,23,42,.62);
  backdrop-filter: blur(10px);
  z-index:80;
}
.lightbox.open{display:flex}
.lightbox-content{
  width:min(1120px, 96vw);
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  overflow:hidden;
}
.lightbox-img{
  width:100%;
  height:min(78vh, 760px);
  object-fit:contain;
  background:#fff;
  display:block;
}
.lightbox-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-top:1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.86);
  font-size:14px;
  background: rgba(255,255,255,.98);
  font-weight:700;
}
.lightbox-close{
  border:1px solid var(--line2);
  background: rgba(15,23,42,.04);
  color: rgba(15,23,42,.92);
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:900;
}
.lightbox-close:hover{ background: rgba(15,23,42,.07); }

@media (prefers-reduced-motion: reduce){
  .gallery-track{animation:none}
  .hero-logo{animation:none}
  .service-card:hover .card-inner,
  .directivo-item:hover .directivo-pic{transform:none}
  .conv-alert{animation:none}
  .conv-alert-dot{animation:none}
  .news-skeleton{animation:none}
}

/* CONVOCATORIA */
.conv-float{
  position: fixed;
  right: 18px;
  bottom: 150px;
  z-index: 75;
  display:flex;
  align-items:center;
  gap:12px;
  padding: 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(15,23,42,.18);
  cursor:pointer;
  user-select:none;
  max-width: 64px;
  overflow:hidden;
  transition: transform .18s ease, filter .18s ease, max-width .28s ease;
}
.conv-float:hover,.conv-float.open{
  max-width: 520px;
  transform: translateY(-2px);
  filter:saturate(1.05);
}
.conv-thumb{
  width: 46px;height: 46px;
  border-radius: 999px;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 10px 28px rgba(15,23,42,.10);
  flex:0 0 auto;
  padding: 6px;
}
.conv-text{
  min-width: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.conv-float:hover .conv-text,.conv-float.open .conv-text{
  opacity: 1;
  transform: translateX(0);
}
.conv-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
  font-weight: 950;
  font-size: 12.8px;
  color: rgba(15,23,42,.90);
  margin-bottom: 5px;
}
.conv-title{
  font-weight: 950;
  letter-spacing: -.02em;
  font-size: 14.8px;
  color: rgba(15,23,42,.92);
  line-height: 1.15;
}
.conv-sub{
  margin-top: 3px;
  font-size: 12.8px;
  font-weight: 800;
  color: rgba(15,23,42,.64);
}
@media (max-width: 520px){
  .conv-float{ bottom: 148px; }
  .conv-float:hover,.conv-float.open{ max-width: min(92vw, 520px); }
}

.conv-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15,23,42,.62);
  backdrop-filter: blur(10px);
  z-index: 85;
}
.conv-modal.open{ display:flex; }
.conv-card{
  width: min(1020px, 96vw);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  position:relative;
}
.conv-card-hero{
  position: relative;
  height: min(46vh, 360px);
  background:
    radial-gradient(900px 300px at 20% 10%, rgba(29,78,216,.16), transparent 60%),
    radial-gradient(900px 300px at 80% 90%, rgba(22,163,74,.14), transparent 60%),
    #ffffff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 12px;
}
.conv-card-hero img{
  width:100%;height:100%;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 40px rgba(15,23,42,.14);
}
.conv-card-close{
  position:absolute;
  top: 12px;right: 12px;
  width: 44px;height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(10px);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
  z-index: 2;
}
.conv-card-close:hover{ background:#fff; }
.conv-card-body{
  padding: 16px;
  display: grid;
  gap: 12px;
}
.conv-card-badge{
  display:inline-flex;align-items:center;gap:8px;
  padding: 8px 10px;border-radius: 999px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);
  font-weight: 950;font-size: 13px;
  color: rgba(15,23,42,.88);width: fit-content;
}
.conv-card-title{
  margin:0;font-size: 22px;font-weight: 950;
  letter-spacing: -.02em;color: rgba(15,23,42,.92);
}
.conv-card-sub{
  margin: 0;color: rgba(15,23,42,.70);
  font-weight: 700;line-height: 1.6;
}
.conv-card-grid{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
@media (max-width: 900px){ .conv-card-grid{ grid-template-columns: 1fr; } }
.conv-info{
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.80);
  border-radius: 16px;padding: 12px;
}
.conv-info .t{
  font-weight: 950;font-size: 13.5px;
  display:flex;align-items:center;gap:8px;margin-bottom: 4px;
}
.conv-info .d{
  font-weight: 700;font-size: 13.8px;
  color: rgba(15,23,42,.70);line-height: 1.5;
}
.conv-card-actions{display:flex;gap:10px;flex-wrap:wrap;}

/* ALERTA */
.conv-alert{
  position: fixed;top: 78px;left: 50%;
  transform: translateX(-50%);z-index: 72;
  background: linear-gradient(135deg, rgba(29,78,216,.96), rgba(22,163,74,.92));
  color: #fff;border-radius: 999px;
  padding: 10px 14px;border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 60px rgba(15,23,42,.22);
  cursor: pointer;user-select:none;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
  animation: alertIn .6s ease;
  max-width: min(92vw, 720px);
}
.conv-alert:hover{
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 26px 78px rgba(15,23,42,.26);
}
.conv-alert-content{
  display:flex;align-items:center;gap:12px;
  font-weight: 800;font-size: 13.6px;line-height:1.2;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.conv-alert-dot{
  width: 10px;height: 10px;border-radius: 999px;
  background: rgba(255,255,255,.95);flex:0 0 auto;
  box-shadow: 0 0 0 0 rgba(255,255,255,.45);
  animation: pulseDot 1.45s infinite;
}
.conv-alert-text{overflow:hidden;text-overflow:ellipsis;}
.conv-alert-cta{
  display:inline-flex;align-items:center;gap:8px;
  font-weight: 950;opacity: .95;flex:0 0 auto;
}
@keyframes alertIn{
  from{ opacity:0; transform: translate(-50%, -12px); }
  to{ opacity:1; transform: translate(-50%, 0); }
}
@keyframes pulseDot{
  0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70%{ box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@media (max-width: 520px){
  .conv-alert{ top: 74px; padding: 10px 12px; }
  .conv-alert-cta{ display:none; }
  .conv-alert-content{ font-size: 13.2px; }
}

/* NOTICIAS */
.news-wrap{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  position:relative;overflow:hidden;padding: 18px;
}
.news-wrap::before{
  content:"";position:absolute;inset:-1px;
  background:
    radial-gradient(900px 320px at 18% 0%, rgba(29,78,216,.12), transparent 60%),
    radial-gradient(900px 320px at 82% 10%, rgba(22,163,74,.12), transparent 62%);
  opacity:.9;pointer-events:none;
}
.news-wrap > *{position:relative; z-index:1;}
.news-head{
  display:flex;align-items:flex-end;justify-content:space-between;
  gap:12px;flex-wrap:wrap;margin-bottom: 14px;
}
.news-head-left{display:flex;flex-direction:column;gap:6px;min-width: 240px;}
.news-kicker{
  display:inline-flex;align-items:center;gap:10px;width:fit-content;
  padding: 7px 10px;border-radius:999px;
  border:1px solid rgba(15,23,42,.10);background: rgba(255,255,255,.72);
  font-weight: 950;font-size: 12.5px;color: rgba(15,23,42,.86);
  box-shadow: 0 10px 26px rgba(15,23,42,.10);
}
.news-kicker i{color: var(--accent);}
.news-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.news-meta{
  color: rgba(15,23,42,.68);font-weight: 750;font-size: 13.5px;
  display:flex;gap:10px;flex-wrap:wrap;align-items:center;
}
.news-dot{width:6px;height:6px;border-radius:999px;background: rgba(15,23,42,.35);display:inline-block;}
.news-grid{display:grid;grid-template-columns: repeat(3, 1fr);gap:16px;align-items:stretch;}
@media (max-width: 980px){ .news-grid{grid-template-columns:1fr 1fr} }
@media (max-width: 640px){ .news-grid{grid-template-columns:1fr} }
.news-card{
  position:relative;overflow:hidden;border-radius: 20px;
  border: 1px solid rgba(15,23,42,.10);background: rgba(255,255,255,.86);
  box-shadow: 0 18px 55px rgba(15,23,42,.12);
  padding: 18px;display:flex;flex-direction:column;gap:12px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  min-height: 210px;
}
.news-card:hover{
  transform: translateY(-4px);border-color: rgba(15,23,42,.16);
  background: rgba(255,255,255,.96);box-shadow: 0 26px 82px rgba(15,23,42,.16);
}
.news-badges{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.news-badge{
  display:inline-flex;align-items:center;gap:8px;padding: 7px 10px;
  border-radius: 999px;border: 1px solid rgba(15,23,42,.10);
  background: rgba(15,23,42,.03);color: rgba(15,23,42,.86);
  font-weight: 900;font-size: 12.8px;width: fit-content;
}
.news-badge.primary{border-color: rgba(29,78,216,.20);background: rgba(29,78,216,.10);}
.news-badge.ok{border-color: rgba(22,163,74,.22);background: rgba(22,163,74,.10);}
.news-title{
  margin:0;font-weight: 950;letter-spacing: -.02em;font-size: 16.6px;line-height: 1.35;
  display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow:hidden;
}
.news-footer{
  margin-top:auto;display:flex;align-items:center;justify-content:space-between;
  gap:10px;flex-wrap:wrap;padding-top: 6px;
}
.news-source{display:flex;align-items:center;gap:8px;color: rgba(15,23,42,.62);font-weight: 850;font-size: 13px;}
.news-source i{color: rgba(15,23,42,.55);}
.news-empty{
  text-align:center;color: var(--muted);font-weight: 900;padding: 18px;
  border: 1px dashed rgba(15,23,42,.18);border-radius: 18px;background: rgba(255,255,255,.70);
}
.news-skeleton-wrap{display:grid;grid-template-columns: repeat(3, 1fr);gap:16px;}
@media (max-width: 980px){ .news-skeleton-wrap{grid-template-columns:1fr 1fr} }
@media (max-width: 640px){ .news-skeleton-wrap{grid-template-columns:1fr} }
.news-skeleton{
  border-radius: 20px;border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);box-shadow: 0 18px 55px rgba(15,23,42,.10);
  padding: 18px;overflow:hidden;position:relative;min-height: 210px;
}
.news-skeleton::before{
  content:"";position:absolute;inset:-120px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  transform: translateX(-60%);animation: shimmer 1.35s infinite;
}
@keyframes shimmer{
  0%{ transform: translateX(-65%); }
  100%{ transform: translateX(65%); }
}
.sk-line{height: 12px;border-radius: 10px;background: rgba(15,23,42,.08);margin: 10px 0;position:relative;z-index:1;}
.sk-line.sm{ width: 38%; }
.sk-line.md{ width: 68%; }
.sk-line.lg{ width: 92%; }
.sk-pill{width: 120px;height: 28px;border-radius: 999px;background: rgba(15,23,42,.08);position:relative;z-index:1;}