/* ============================================================
   ECOS Media MX — Rediseño 2026
   Paleta de marca: turquesa, amarillo dorado, negro profundo
   ============================================================ */
:root{
  --bg:#06161a;
  --bg-2:#0a2229;
  --bg-3:#0e2e37;
  --teal:#35a9b7;
  --teal-bright:#4fd6e6;
  --yellow:#f6c916;
  --yellow-soft:#ffdd55;
  --ink:#eef7f8;
  --muted:#8fb3ba;
  --card:rgba(255,255,255,.045);
  --card-border:rgba(79,214,230,.14);
  --shadow:0 18px 50px rgba(0,0,0,.45);
  --radius:18px;
  --header-h:112px;
  --font:'Outfit',system-ui,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--ink);
  overflow-x:hidden;
  min-height:100vh;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
::selection{background:var(--yellow);color:#111}

/* Barra de scroll */
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:var(--bg-2)}
::-webkit-scrollbar-thumb{background:linear-gradient(var(--teal),var(--yellow));border-radius:6px}

/* ============ FONDO INTERACTIVO ============ */
#bgParticles{
  position:fixed;inset:0;width:100%;height:100%;
  z-index:0;pointer-events:none;
}
.bg-glow{
  position:fixed;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(600px circle at var(--mx,70%) var(--my,20%), rgba(53,169,183,.22), transparent 60%),
    radial-gradient(900px circle at calc(100% - var(--mx,30%)) calc(100% - var(--my,70%)), rgba(246,201,22,.08), transparent 60%),
    radial-gradient(1200px circle at 50% calc(-10% + var(--scroll,0) * 30%), rgba(79,214,230,.10), transparent 70%);
  transition:background .15s linear;
}

/* ============ CURSOR PERSONALIZADO ============
   Cursor nativo con el logo ECOS (megáfono amarillo): siempre visible,
   incluso sobre la barra de desplazamiento. Sobre elementos interactivos
   se agranda e ilumina; al presionar se encoge e inclina. */
@media (pointer:fine){
  body{cursor:url('../img/cursor-ecos.png') 4 6, auto}
  a,button,input,select,textarea,[role="button"],label{
    cursor:url('../img/cursor-ecos-hover.png') 6 9, pointer;
  }
  a:active,button:active,[role="button"]:active{
    cursor:url('../img/cursor-ecos-active.png') 4 6, pointer;
  }
}
/* Ondas de eco al hacer clic (vibración de megáfono) */
.click-echo{
  position:fixed;z-index:9998;pointer-events:none;
  width:14px;height:14px;border-radius:50%;
  transform:translate(-50%,-50%);
  border:2.5px solid var(--yellow);
  animation:echoWave .55s ease-out forwards;
}
.click-echo.teal{border-color:var(--teal-bright);animation-duration:.75s}
@keyframes echoWave{
  from{opacity:.9;transform:translate(-50%,-50%) scale(.4)}
  to{opacity:0;transform:translate(-50%,-50%) scale(4.2)}
}

/* ============ ENCABEZADO ============ */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(6,22,26,.78);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid var(--card-border);
  transition:box-shadow .3s;
}
.site-header.scrolled{box-shadow:0 8px 30px rgba(0,0,0,.5)}
.header-inner{
  max-width:1380px;margin:0 auto;
  display:flex;align-items:center;gap:18px;
  padding:8px 22px;min-height:var(--header-h);
}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}
.brand-logo{
  height:124px;width:auto;margin:-8px 0;position:relative;z-index:5;
  filter:drop-shadow(0 0 14px rgba(246,201,22,.35));
  transition:transform .35s cubic-bezier(.34,1.56,.64,1);
}
.brand:hover .brand-logo{transform:rotate(-8deg) scale(1.08)}
.brand-text{
  font-weight:900;font-size:1.15rem;letter-spacing:.06em;color:var(--yellow);
  line-height:1;white-space:nowrap;
}
.brand-text em{
  display:block;font-style:normal;font-weight:600;
  font-size:.58rem;letter-spacing:.42em;color:var(--teal-bright);
}
/* Las categorías que no caben en una línea saltan a una segunda fila
   centrada: nunca se cortan ni quedan ocultas. */
.main-nav{
  display:flex;gap:2px;row-gap:0;flex:1;min-width:0;
  flex-wrap:wrap;justify-content:center;
}
.main-nav a{
  position:relative;padding:10px 13px;border-radius:10px;
  font-weight:600;font-size:.86rem;letter-spacing:.02em;
  color:var(--muted);white-space:nowrap;
  transition:color .25s,background .25s;
}
.main-nav a::after{
  content:"";position:absolute;left:13px;right:13px;bottom:5px;height:2.5px;
  background:var(--yellow);border-radius:2px;
  transform:scaleX(0);transform-origin:left;transition:transform .3s;
}
.main-nav a:hover{color:var(--ink);background:rgba(79,214,230,.08)}
.main-nav a:hover::after,.main-nav a.active::after{transform:scaleX(1)}
.main-nav a.active{color:var(--yellow)}
.search-btn{
  display:flex;align-items:center;gap:8px;flex-shrink:0;
  padding:9px 16px;border-radius:999px;
  border:1px solid var(--card-border);
  color:var(--muted);font-weight:600;font-size:.85rem;
  transition:all .3s;
}
.search-btn:hover{border-color:var(--yellow);color:var(--yellow);box-shadow:0 0 18px rgba(246,201,22,.25)}
.burger{display:none}

/* Cinta de última hora */
.ticker{
  display:flex;align-items:center;height:34px;
  background:linear-gradient(90deg,rgba(53,169,183,.16),rgba(246,201,22,.08));
  border-top:1px solid rgba(255,255,255,.04);
  overflow:hidden;
}
.ticker-label{
  flex-shrink:0;padding:0 14px;height:100%;display:flex;align-items:center;
  background:var(--yellow);color:#111;
  font-weight:900;font-size:.68rem;letter-spacing:.14em;
}
.ticker-viewport{flex:1;overflow:hidden}
.ticker-track{
  display:inline-flex;gap:48px;white-space:nowrap;
  animation:tickerMove 55s linear infinite;
  font-size:.82rem;color:var(--muted);padding-left:20px;
}
.ticker-track span{display:inline-flex;align-items:center;gap:10px}
.ticker-track span::before{content:"●";color:var(--teal-bright);font-size:.6rem}
.ticker-track a:hover{color:var(--yellow)}
@keyframes tickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============ MENÚ MÓVIL ============ */
.mobile-menu{
  position:fixed;inset:0;z-index:200;
  background:rgba(4,14,17,.92);
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  opacity:0;pointer-events:none;transition:opacity .35s;
  overflow-y:auto;
}
.mobile-menu.open{opacity:1;pointer-events:auto}
.mobile-menu-close{
  position:absolute;top:18px;right:18px;z-index:5;
  width:48px;height:48px;border-radius:50%;
  border:1px solid rgba(246,201,22,.4);color:var(--yellow);
  font-size:1.3rem;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  transition:all .3s;
}
.mobile-menu-close:hover{background:var(--yellow);color:#111;transform:rotate(90deg)}
.mobile-menu-inner{
  min-height:100%;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:26px;padding:100px 30px 60px;
}
.mobile-menu-logo{width:120px;filter:drop-shadow(0 0 20px rgba(246,201,22,.4))}
.mobile-menu nav{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;max-width:420px}
.mobile-menu nav a{
  width:100%;text-align:center;padding:13px;border-radius:14px;
  font-size:1.25rem;font-weight:700;color:var(--ink);
  opacity:0;transform:translateY(18px);
  transition:background .25s,color .25s;
}
.mobile-menu.open nav a{animation:menuIn .5s cubic-bezier(.22,1,.36,1) forwards}
.mobile-menu nav a:hover{background:rgba(79,214,230,.1);color:var(--yellow)}
@keyframes menuIn{to{opacity:1;transform:translateY(0)}}

/* ============ OVERLAY DE BÚSQUEDA ============ */
.search-overlay{
  position:fixed;inset:0;z-index:300;
  background:rgba(4,14,17,.9);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  opacity:0;pointer-events:none;transition:opacity .3s;
  overflow-y:auto;
}
.search-overlay.open{opacity:1;pointer-events:auto}
.overlay-close{
  width:44px;height:44px;border-radius:50%;flex-shrink:0;
  border:1px solid var(--card-border);
  font-size:1.1rem;color:var(--muted);
  transition:all .3s;
}
.overlay-close:hover{border-color:var(--yellow);color:var(--yellow);transform:rotate(90deg)}

.search-box{max-width:860px;margin:0 auto;padding:110px 24px 60px}
.search-input-row{
  display:flex;align-items:center;gap:16px;
  border-bottom:2px solid var(--teal);padding-bottom:14px;
  color:var(--teal-bright);
}
.search-input-row input{
  flex:1;background:none;border:none;outline:none;
  font-family:inherit;font-size:1.6rem;font-weight:600;color:var(--ink);
}
.search-input-row input::placeholder{color:var(--muted);opacity:.6}
.search-results{margin-top:34px;display:flex;flex-direction:column;gap:14px}
.search-hint{color:var(--muted);text-align:center;padding:30px 0}
.result-item{
  display:flex;gap:16px;align-items:center;
  background:var(--card);border:1px solid var(--card-border);
  border-radius:14px;padding:12px;
  transition:border-color .25s,transform .25s;
}
.result-item:hover{border-color:var(--yellow);transform:translateX(6px)}
.result-item img{width:92px;height:64px;object-fit:cover;border-radius:9px;flex-shrink:0}
.result-item h4{font-size:.98rem;font-weight:700;line-height:1.3}
.result-item time{font-size:.75rem;color:var(--teal-bright)}

/* ============ PÁGINA DE NOTA ============ */
.article-page{
  max-width:900px;margin:14px auto 0;position:relative;
  background:var(--bg-2);
  border:1px solid var(--card-border);border-radius:24px;
  box-shadow:var(--shadow);
  padding:44px clamp(22px,6vw,70px) 50px;
}
.back-link{
  display:inline-flex;align-items:center;gap:8px;margin-bottom:22px;
  font-size:.88rem;font-weight:700;color:var(--teal-bright);
  transition:color .25s,transform .25s;
}
.back-link:hover{color:var(--yellow);transform:translateX(-4px)}
.article-page .art-cat{
  display:inline-block;background:var(--yellow);color:#111;
  font-size:.7rem;font-weight:900;letter-spacing:.12em;
  padding:5px 12px;border-radius:999px;margin-bottom:18px;
}
.article-page h1{
  font-size:clamp(1.6rem,4vw,2.5rem);font-weight:900;line-height:1.15;
  margin-bottom:14px;
}
.article-page .art-meta{
  display:flex;gap:16px;flex-wrap:wrap;color:var(--muted);
  font-size:.85rem;margin-bottom:26px;
}
.article-page .art-meta b{color:var(--teal-bright)}
.article-page .art-hero{
  width:100%;height:auto;border-radius:16px;margin-bottom:30px;
  box-shadow:0 14px 40px rgba(0,0,0,.4);
}
.article-body{font-size:1.06rem;line-height:1.75;color:#d7e7ea}
.article-body p{margin-bottom:1.2em}
.article-body img{border-radius:14px;margin:1.4em auto;height:auto!important}
.article-body h2,.article-body h3{margin:1.4em 0 .6em;color:var(--ink)}
.article-body a{color:var(--teal-bright);text-decoration:underline}
.article-body figure{margin:1.4em 0}
.article-body iframe{max-width:100%;border-radius:14px}
.art-source{
  margin-top:36px;padding-top:22px;border-top:1px solid var(--card-border);
  font-size:.85rem;color:var(--muted);
}
.art-source a{color:var(--yellow)}

/* Barra de compartir */
.share-bar{
  display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:20px 0 26px;
}
.share-bar .share-label{
  font-size:.72rem;font-weight:900;letter-spacing:.14em;color:var(--muted);
  margin-right:4px;text-transform:uppercase;
}
.share-bar a,.share-bar button{
  width:42px;height:42px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--card-border);color:var(--muted);
  font-size:1.05rem;transition:all .25s;
}
.share-bar a:hover,.share-bar button:hover{color:#fff;transform:translateY(-4px)}
.s-fb:hover{background:#1877f2;border-color:#1877f2}
.s-wa:hover{background:#25d366;border-color:#25d366}
.s-x:hover{background:#000;border-color:#555}
.s-rd:hover{background:#ff4500;border-color:#ff4500}
.s-ms:hover{background:#a334fa;border-color:#a334fa}
.s-tg:hover{background:#229ed9;border-color:#229ed9}
.s-em:hover{background:var(--teal);border-color:var(--teal)}
.s-cp:hover{background:var(--yellow);border-color:var(--yellow);color:#111!important}
.s-sh:hover{background:var(--teal-bright);border-color:var(--teal-bright);color:#111!important}
.s-cp.copied{background:var(--yellow);border-color:var(--yellow);color:#111}

/* Caja de suscripción */
.subscribe-box{
  max-width:900px;margin:26px auto 0;padding:38px clamp(22px,5vw,54px);
  border-radius:24px;text-align:center;position:relative;overflow:hidden;
  background:linear-gradient(120deg,rgba(53,169,183,.24),rgba(246,201,22,.12));
  border:1px solid rgba(246,201,22,.28);
}
.subscribe-box h3{font-size:clamp(1.2rem,3vw,1.6rem);font-weight:900;margin-bottom:8px}
.subscribe-box p{color:var(--muted);font-size:.92rem;margin-bottom:20px}
.subscribe-box .sub-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--yellow);color:#111;
  padding:13px 34px;border-radius:999px;
  font-weight:900;font-size:.95rem;letter-spacing:.03em;
  transition:transform .3s,box-shadow .3s;
}
.subscribe-box .sub-btn:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(246,201,22,.4)}
.subscribe-box .sub-btn.bell{
  background:transparent;border:2px solid var(--yellow);color:var(--yellow);
  margin:14px 8px 0;
}
.subscribe-box .sub-btn.bell:hover{background:var(--yellow);color:#111}

/* Formulario de MailPoet dentro de la caja de suscripción */
.subscribe-box .mailpoet_form,.subscribe-box form.mailpoet_form{
  background:transparent!important;padding:0!important;margin:0 auto!important;max-width:520px;
}
.subscribe-box .mailpoet_paragraph{margin-bottom:12px!important}
.subscribe-box .mailpoet_form input[type="text"],
.subscribe-box .mailpoet_form input[type="email"]{
  width:100%;background:rgba(4,14,17,.55)!important;
  border:1px solid var(--card-border)!important;border-radius:999px!important;
  padding:13px 22px!important;color:var(--ink)!important;
  font-family:var(--font)!important;font-size:.95rem!important;outline:none;
}
.subscribe-box .mailpoet_form input:focus{border-color:var(--teal-bright)!important}
.subscribe-box .mailpoet_form label,.subscribe-box .mailpoet_form .mailpoet_text_label{
  color:var(--muted)!important;font-size:.8rem;
}
.subscribe-box .mailpoet_form .mailpoet_submit,
.subscribe-box .mailpoet_form input[type="submit"]{
  background:var(--yellow)!important;color:#111!important;border:none!important;
  padding:13px 34px!important;border-radius:999px!important;
  font-family:var(--font)!important;font-weight:900!important;font-size:.95rem!important;
  transition:transform .3s,box-shadow .3s;
}
.subscribe-box .mailpoet_form .mailpoet_submit:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(246,201,22,.4)}
.subscribe-box .mailpoet_validate_success{color:#7bf59a!important}
.subscribe-box .mailpoet_validate_error{color:#ff9d9d!important}

/* Comentarios */
.comments-sec{max-width:900px;margin:26px auto 0}
.comments-sec .section-head{margin:0 0 18px}
.comments-list{display:flex;flex-direction:column;gap:14px;margin-bottom:26px}
.comment-item{
  display:flex;gap:14px;align-items:flex-start;
  background:var(--card);border:1px solid var(--card-border);
  border-radius:14px;padding:16px 18px;
}
.comment-item img{width:42px;height:42px;border-radius:50%;flex-shrink:0}
.comment-item .c-head{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.comment-item .c-head b{color:var(--teal-bright);font-size:.92rem}
.comment-item .c-head time{font-size:.72rem;color:var(--muted)}
.comment-item .c-body{font-size:.9rem;color:#d7e7ea;line-height:1.55;margin-top:4px}
.comment-item .c-body p{margin-bottom:.5em}
.comment-form{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
  background:var(--card);border:1px solid var(--card-border);
  border-radius:18px;padding:22px;
}
.comment-form h4{grid-column:1/-1;font-size:1.05rem;font-weight:800}
.comment-form input,.comment-form textarea{
  background:rgba(4,14,17,.55);border:1px solid var(--card-border);
  border-radius:12px;padding:12px 14px;color:var(--ink);
  font-family:inherit;font-size:.9rem;outline:none;
  transition:border-color .25s;
}
.comment-form input:focus,.comment-form textarea:focus{border-color:var(--teal-bright)}
.comment-form textarea{grid-column:1/-1;min-height:110px;resize:vertical}
.comment-form button{
  grid-column:1/-1;justify-self:start;
  background:var(--teal);color:#fff;font-weight:800;font-size:.9rem;
  padding:12px 32px;border-radius:999px;
  transition:background .3s,transform .3s;
}
.comment-form button:hover{background:var(--yellow);color:#111;transform:translateY(-2px)}
.comments-closed{color:var(--muted);font-size:.9rem;padding:14px 0}

/* Notas relacionadas */
.related-sec{max-width:900px;margin:10px auto 0}

/* ============ QUIÉNES SOMOS ============ */
.about-hero{
  position:relative;overflow:hidden;text-align:center;
  margin:8px 0 20px;padding:56px 30px;border-radius:26px;
  background:linear-gradient(130deg,rgba(53,169,183,.22),rgba(246,201,22,.1));
  border:1px solid var(--card-border);
}
.about-hero img.about-logo{width:150px;margin:0 auto 20px;filter:drop-shadow(0 0 22px rgba(246,201,22,.4))}
.about-hero h1{font-size:clamp(2rem,5vw,3.2rem);font-weight:900;line-height:1.08}
.about-hero .tag{
  display:inline-block;margin-top:10px;color:var(--teal-bright);
  font-weight:700;letter-spacing:.28em;font-size:.8rem;
}
.about-hero p.lead{
  max-width:720px;margin:18px auto 0;color:#d7e7ea;
  font-size:1.05rem;line-height:1.7;
}
.about-section-title{
  display:flex;align-items:center;gap:14px;
  font-size:clamp(1.4rem,3.2vw,2rem);font-weight:900;margin:52px 0 22px;
}
.about-section-title::before{
  content:"";width:10px;height:30px;border-radius:4px;
  background:linear-gradient(var(--yellow),var(--teal));
  box-shadow:0 0 16px rgba(79,214,230,.5);
}

/* Métricas de alcance */
.stats-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px;margin-bottom:10px;
}
.stat-card{
  background:var(--card);border:1px solid var(--card-border);
  border-radius:16px;padding:22px 14px;text-align:center;
  transition:transform .3s,border-color .3s;
}
.stat-card:hover{transform:translateY(-5px);border-color:rgba(246,201,22,.5)}
.stat-card .num{font-size:1.9rem;font-weight:900;color:var(--yellow);line-height:1}
.stat-card .net{font-size:.78rem;color:var(--muted);margin-top:8px;font-weight:600}
.stat-card i{font-size:1.4rem;color:var(--teal-bright);margin-bottom:10px;display:block}

/* Equipo */
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.team-card{
  background:var(--card);border:1px solid var(--card-border);
  border-radius:var(--radius);overflow:hidden;
  display:flex;flex-direction:column;
  transition:transform .4s cubic-bezier(.22,1,.36,1),border-color .3s,box-shadow .4s;
}
.team-card:hover{transform:translateY(-7px);border-color:rgba(246,201,22,.5);box-shadow:0 20px 46px rgba(0,0,0,.5)}
.team-photo{position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--bg-3)}
.team-photo img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.team-card:hover .team-photo img{transform:scale(1.07)}
.team-photo::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 55%,rgba(6,22,26,.85));
}
.team-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:7px}
.team-body .role{
  align-self:flex-start;background:var(--yellow);color:#111;
  font-size:.64rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;
  padding:4px 11px;border-radius:999px;
}
.team-body h3{font-size:1.12rem;font-weight:800;line-height:1.2}
.team-body p{font-size:.86rem;color:var(--muted);line-height:1.55}

/* Servicios */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{
  background:var(--card);border:1px solid var(--card-border);
  border-radius:16px;padding:26px 22px;
  transition:transform .3s,border-color .3s;
}
.service-card:hover{transform:translateY(-5px);border-color:rgba(79,214,230,.5)}
.service-card .ic{
  width:52px;height:52px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(53,169,183,.3),rgba(246,201,22,.2));
  color:var(--yellow);font-size:1.3rem;margin-bottom:16px;
}
.service-card h3{font-size:1.08rem;font-weight:800;margin-bottom:8px}
.service-card p{font-size:.88rem;color:var(--muted);line-height:1.6}

/* Media kit */
.mediakit-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;
}
.mediakit-grid figure{
  position:relative;cursor:pointer;border-radius:14px;overflow:hidden;
  border:1px solid var(--card-border);background:var(--bg-3);
  transition:transform .3s,border-color .3s;
}
.mediakit-grid figure:hover{transform:translateY(-4px);border-color:var(--yellow)}
.mediakit-grid img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/9;display:block}
.mediakit-grid figure::after{
  content:"\f00e";font-family:"Font Awesome 6 Free";font-weight:900;
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(6,22,26,.5);color:var(--yellow);font-size:1.6rem;
  opacity:0;transition:opacity .3s;
}
.mediakit-grid figure:hover::after{opacity:1}

/* Lightbox del media kit */
.lightbox{
  position:fixed;inset:0;z-index:400;
  background:rgba(3,10,13,.94);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  display:none;align-items:center;justify-content:center;
}
.lightbox.open{display:flex}
.lightbox img{max-width:92vw;max-height:82vh;border-radius:12px;box-shadow:var(--shadow)}
.lightbox .lb-close{position:absolute;top:22px;right:26px;font-size:1.8rem;color:#fff;background:none}
.lightbox .lb-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:56px;height:56px;border-radius:50%;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
  color:#fff;font-size:1.3rem;transition:background .25s;
}
.lightbox .lb-nav:hover{background:var(--yellow);color:#111}
.lightbox .lb-prev{left:20px}
.lightbox .lb-next{right:20px}

/* Contacto */
.contact-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:6px;
}
.contact-card{
  display:flex;gap:16px;align-items:flex-start;
  background:var(--card);border:1px solid var(--card-border);
  border-radius:16px;padding:24px;
  transition:transform .3s,border-color .3s;
}
.contact-card:hover{transform:translateY(-4px);border-color:rgba(246,201,22,.5)}
.contact-card .ic{
  width:46px;height:46px;border-radius:12px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(53,169,183,.3),rgba(246,201,22,.2));
  color:var(--yellow);font-size:1.15rem;
}
.contact-card .lbl{font-size:.72rem;color:var(--muted);letter-spacing:.1em;text-transform:uppercase;font-weight:700}
.contact-card span{color:var(--ink);font-size:.95rem;font-weight:600;line-height:1.5;word-break:break-word}
/* Tarjeta de WhatsApp */
.contact-card.wa{position:relative;border-color:rgba(37,211,102,.4)}
.contact-card.wa .ic{background:linear-gradient(135deg,#25d366,#128c7e);color:#fff}
.contact-card.wa:hover{border-color:#25d366;box-shadow:0 14px 34px rgba(37,211,102,.22)}
.contact-card.wa .card-cta{
  display:inline-flex;align-items:center;gap:7px;margin-top:8px;
  color:#25d366;font-size:.82rem;font-weight:800;
}
.contact-card.wa:hover .card-cta i{transform:translateX(4px)}
.contact-card.wa .card-cta i{transition:transform .25s}

/* Correos del equipo */
.email-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:16px;
}
.email-card{
  display:flex;align-items:center;gap:14px;
  background:var(--card);border:1px solid var(--card-border);
  border-radius:16px;padding:18px 20px;
  transition:transform .3s,border-color .3s;
}
.email-card:hover{transform:translateY(-4px);border-color:rgba(246,201,22,.5)}
.email-card .ic{
  width:44px;height:44px;border-radius:12px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(53,169,183,.3),rgba(246,201,22,.2));
  color:var(--yellow);font-size:1.1rem;
}
.email-card .email-info{flex:1;min-width:0}
.email-card .email-info .lbl{font-size:.72rem;color:var(--teal-bright);letter-spacing:.04em;font-weight:700}
.email-card .email-info span{display:block;color:var(--ink);font-size:.88rem;font-weight:600;word-break:break-all}
.email-btn{
  flex-shrink:0;display:inline-flex;align-items:center;gap:7px;
  background:var(--yellow);color:#111;
  padding:10px 18px;border-radius:999px;
  font-weight:800;font-size:.82rem;white-space:nowrap;
  transition:transform .25s,box-shadow .25s;
}
.email-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(246,201,22,.35)}
.map-embed{
  margin-top:22px;border-radius:18px;overflow:hidden;border:1px solid var(--card-border);
  height:320px;
}
.map-embed iframe{width:100%;height:100%;border:0;filter:grayscale(.3) invert(.9) hue-rotate(160deg)}

@media (max-width:1023px){
  .stats-grid{grid-template-columns:repeat(3,1fr)}
  .team-grid{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:639px){
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .team-grid{grid-template-columns:1fr}
  .services-grid{grid-template-columns:1fr}
  .email-grid{grid-template-columns:1fr}
  .email-card{flex-wrap:wrap}
  .email-btn{width:100%;justify-content:center}
  .about-hero{padding:40px 20px}
}

/* ============ CONTENIDO ============ */
#app{position:relative;z-index:1;max-width:1380px;margin:0 auto;padding:34px 22px 80px;min-height:60vh}
.boot-loader{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:20px;min-height:55vh;color:var(--muted);
}
.boot-loader img{width:110px;animation:pulseLogo 1.6s ease-in-out infinite}
@keyframes pulseLogo{50%{transform:scale(1.1);filter:drop-shadow(0 0 26px rgba(246,201,22,.55))}}

.section-head{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:16px;margin:52px 0 22px;
}
.section-head h2{
  font-size:clamp(1.35rem,3vw,1.9rem);font-weight:900;letter-spacing:.01em;
  display:flex;align-items:center;gap:14px;
}
.section-head h2::before{
  content:"";width:10px;height:28px;border-radius:4px;
  background:linear-gradient(var(--yellow),var(--teal));
  box-shadow:0 0 16px rgba(79,214,230,.5);
}
.section-head a{
  font-size:.85rem;font-weight:700;color:var(--teal-bright);
  white-space:nowrap;transition:color .25s;
}
.section-head a:hover{color:var(--yellow)}

/* SLIDER DE ÚLTIMAS NOTICIAS (hero superior) */
.hero-slider{
  position:relative;margin-top:8px;border-radius:var(--radius);
  overflow:hidden;border:1px solid var(--card-border);
  box-shadow:var(--shadow);
}
.hs-track{
  display:flex;overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-width:none;-webkit-overflow-scrolling:touch;
}
.hs-track::-webkit-scrollbar{display:none}
.hs-slide{
  position:relative;flex:0 0 100%;min-height:480px;
  scroll-snap-align:start;scroll-snap-stop:always;display:flex;
}
.hs-slide img.hs-bg{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.hs-slide .overlay-grad{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(4,14,17,.15) 20%,rgba(4,14,17,.55) 60%,rgba(4,14,17,.95));
}
.hs-slide .hs-text{
  position:relative;z-index:2;margin-top:auto;
  padding:34px clamp(22px,6vw,64px) 56px;max-width:900px;
}
.hs-slide h3{
  font-size:clamp(1.4rem,3.4vw,2.4rem);font-weight:900;line-height:1.14;
  text-shadow:0 4px 24px rgba(0,0,0,.6);
}
.hs-slide .meta{margin-top:12px;font-size:.85rem;color:#cfe4e8}
.hs-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:48px;height:48px;border-radius:50%;
  background:rgba(4,14,17,.55);border:1px solid var(--card-border);
  color:var(--yellow);font-size:1.15rem;
  display:flex;align-items:center;justify-content:center;
  backdrop-filter:blur(8px);transition:all .3s;
}
.hs-arrow:hover{background:var(--yellow);color:#111;border-color:var(--yellow)}
.hs-arrow.prev{left:16px}
.hs-arrow.next{right:16px}
.hs-dots{
  position:absolute;bottom:18px;left:50%;transform:translateX(-50%);z-index:5;
  display:flex;gap:9px;
}
.hs-dots button{
  width:11px;height:11px;border-radius:999px;padding:0;
  background:rgba(255,255,255,.35);transition:all .35s;
}
.hs-dots button.on{width:30px;background:var(--yellow);box-shadow:0 0 10px rgba(246,201,22,.6)}
@media (max-width:1023px){
  .hs-slide{min-height:380px}
  .hs-arrow{display:none}
}
@media (max-width:639px){
  .hs-slide{min-height:330px}
  .hs-slide .hs-text{padding-bottom:48px}
}

/* HERO */
.hero{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;margin-top:10px}
.hero-main{position:relative;border-radius:var(--radius);overflow:hidden;min-height:440px;display:flex}
.hero-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 6s ease}
.hero-main:hover img{transform:scale(1.07)}
.hero-main .overlay-grad{
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 30%,rgba(4,14,17,.55) 62%,rgba(4,14,17,.95));
}
.hero-main .hero-text{
  position:relative;margin-top:auto;padding:30px;z-index:2;
}
.hero-side{display:flex;flex-direction:column;gap:14px}
.hero-side .news-card{flex:1}

/* TARJETAS */
.cat-chip{
  display:inline-block;background:var(--yellow);color:#111;
  font-size:.66rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
  padding:4px 11px;border-radius:999px;margin-bottom:12px;
}
.cat-chip.teal{background:var(--teal);color:#fff}
.hero-text h3{font-size:clamp(1.35rem,3.2vw,2.1rem);font-weight:900;line-height:1.16}
.hero-text .meta,.news-card .meta{margin-top:10px;font-size:.8rem;color:var(--muted)}
.meta b{color:var(--teal-bright);font-weight:600}

.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid.cols4{grid-template-columns:repeat(4,1fr)}
.news-card{
  position:relative;display:flex;flex-direction:column;
  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:var(--radius);overflow:hidden;
  transition:transform .4s cubic-bezier(.22,1,.36,1),border-color .3s,box-shadow .4s;
}
.news-card:hover{
  transform:translateY(-7px);
  border-color:rgba(246,201,22,.55);
  box-shadow:0 20px 46px rgba(0,0,0,.5),0 0 26px rgba(79,214,230,.12);
}
.news-card .thumb{position:relative;aspect-ratio:16/9.6;overflow:hidden;background:var(--bg-3)}
.news-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.news-card:hover .thumb img{transform:scale(1.09)}
.news-card .thumb .cat-chip{position:absolute;top:12px;left:12px;margin:0;z-index:2}
.news-card .card-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.news-card h3{font-size:1.02rem;font-weight:800;line-height:1.32}
.news-card p.excerpt{
  font-size:.86rem;color:var(--muted);line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.news-card .meta{margin-top:auto;padding-top:8px}
.no-thumb{
  display:flex;align-items:center;justify-content:center;height:100%;
  background:linear-gradient(135deg,var(--bg-3),var(--bg-2));
}
.no-thumb img{width:44%;opacity:.35;object-fit:contain}

/* Animación de aparición al hacer scroll */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .7s ease,transform .7s cubic-bezier(.22,1,.36,1)}
.reveal.visible{opacity:1;transform:none}

/* Esqueletos de carga */
.skeleton .thumb,.sk-line{
  background:linear-gradient(100deg,var(--bg-3) 40%,#14404c 50%,var(--bg-3) 60%);
  background-size:200% 100%;animation:shimmer 1.4s infinite;
}
.sk-line{height:14px;border-radius:6px;margin:8px 18px}
.sk-line.w60{width:60%}
@keyframes shimmer{to{background-position:-200% 0}}

/* Página de categoría */
.cat-page-head{
  margin:26px 0 30px;padding:44px 34px;border-radius:24px;position:relative;overflow:hidden;
  background:linear-gradient(120deg,rgba(53,169,183,.22),rgba(246,201,22,.1));
  border:1px solid var(--card-border);
}
.cat-page-head h1{font-size:clamp(1.8rem,5vw,3rem);font-weight:900}
.cat-page-head p{color:var(--muted);margin-top:6px}
.load-more{
  display:block;margin:44px auto 0;padding:14px 44px;border-radius:999px;
  border:2px solid var(--teal);color:var(--teal-bright);
  font-weight:800;font-size:.95rem;letter-spacing:.04em;
  transition:all .3s;
}
.load-more:hover{border-color:var(--yellow);color:var(--yellow);box-shadow:0 0 24px rgba(246,201,22,.3)}
.load-more:disabled{opacity:.4;pointer-events:none}
.error-box{
  text-align:center;padding:60px 20px;color:var(--muted);
}
.error-box button{
  margin-top:16px;padding:10px 28px;border-radius:999px;
  border:1px solid var(--teal);color:var(--teal-bright);font-weight:700;
}

/* ============ PIE ============ */
.site-footer{
  position:relative;z-index:1;margin-top:40px;
  border-top:1px solid var(--card-border);
  background:linear-gradient(180deg,transparent,rgba(53,169,183,.07));
}
.footer-inner{
  max-width:1380px;margin:0 auto;padding:52px 22px 34px;
  display:flex;flex-direction:column;align-items:center;gap:22px;text-align:center;
}
.footer-brand img{width:200px;margin:0 auto 12px;filter:drop-shadow(0 0 22px rgba(246,201,22,.35))}
.footer-brand p{font-size:.72rem;letter-spacing:.32em;color:var(--teal-bright);font-weight:700}
.footer-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.footer-links a{
  padding:8px 18px;border-radius:999px;font-size:.85rem;font-weight:700;
  color:var(--muted);transition:color .25s,background .25s;
}
.footer-links a:hover{color:var(--yellow);background:rgba(79,214,230,.08)}
.footer-social{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}
.footer-social a{
  width:48px;height:48px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;
  border:1px solid var(--card-border);color:var(--muted);
  transition:all .3s;
}
.footer-social a:hover{border-color:var(--yellow);color:var(--yellow);transform:translateY(-4px);box-shadow:0 8px 22px rgba(246,201,22,.25)}
.footer-copy{font-size:.78rem;color:var(--muted);opacity:.7}

/* ============ RESPONSIVO ============ */
@media (max-width:1180px){
  .brand-text{display:none}
  .main-nav a{font-size:.8rem;padding:9px 10px}
}
@media (max-width:1023px){
  :root{--header-h:92px}
  .main-nav{display:none}
  .burger{
    display:flex;flex-direction:column;justify-content:center;gap:5px;
    width:44px;height:44px;border-radius:12px;flex-shrink:0;
    border:1px solid var(--card-border);align-items:center;
    transition:border-color .3s;z-index:201;position:relative;
  }
  .burger span{
    width:20px;height:2.4px;border-radius:2px;background:var(--yellow);
    transition:transform .35s,opacity .25s;
  }
  .burger.open span:nth-child(1){transform:translateY(7.4px) rotate(45deg)}
  .burger.open span:nth-child(2){opacity:0}
  .burger.open span:nth-child(3){transform:translateY(-7.4px) rotate(-45deg)}
  .header-inner{justify-content:space-between}
  .brand{position:absolute;left:50%;transform:translateX(-50%)}
  .brand-logo{height:100px;margin:-6px 0}
  .search-btn span{display:none}
  .search-btn{padding:11px;border-radius:12px}
  .hero{grid-template-columns:1fr}
  .hero-main{min-height:340px}
  .hero-side{flex-direction:row;overflow-x:auto;padding-bottom:6px}
  .hero-side .news-card{min-width:260px}
  .grid,.grid.cols4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:639px){
  #app{padding:22px 14px 60px}
  .grid,.grid.cols4{grid-template-columns:1fr}
  .hero-main{min-height:300px}
  .hero-side{flex-direction:column}
  .hero-side .news-card{min-width:0}
  .ticker-label{font-size:.6rem;padding:0 10px}
  .comment-form{grid-template-columns:1fr}
  .article-page{padding:28px 18px 36px;border-radius:16px}
  .share-bar a,.share-bar button{width:40px;height:40px;font-size:1rem}
  .section-head{margin:38px 0 16px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}
