/* ============================================================
   CAS · Landing — Estilos de la página institucional
   ============================================================ */

/* ---------------- Ticker de avisos urgentes ---------------- */
.ticker {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
  height: var(--ticker-h, 34px);
  display: flex; align-items: stretch;
}
.ticker[hidden] { display: none; }
.ticker {
  background: linear-gradient(90deg, rgba(120, 20, 20, .92), rgba(80, 14, 14, .92));
  border-bottom: 1px solid rgba(248, 113, 113, .3);
  backdrop-filter: blur(10px);
}
.ticker-label {
  display: flex; align-items: center; gap: .5rem; flex-shrink: 0;
  padding: 0 1rem; font-size: .62rem; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase; color: #fecaca;
  background: rgba(60, 8, 8, .7); border-right: 1px solid rgba(248, 113, 113, .25);
}
.ticker-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--danger);
  animation: pulseGold 1.6s infinite;
}
.ticker-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.ticker-track {
  display: flex; gap: 3rem; white-space: nowrap;
  font-size: .76rem; font-weight: 600; color: #fde8e8;
  animation: tickerScroll 32s linear infinite;
  padding-left: 1rem;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track .tick-item { display: inline-flex; align-items: center; gap: .55rem; }
.ticker-track .tick-item::before { content: '◆'; color: var(--gold-400); font-size: .6rem; }
.ticker-track .tick-item.urgente { color: #fff; }
.ticker-track .tick-item.urgente::before { color: var(--danger); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

body.has-ticker .nav { top: var(--ticker-h, 34px); }
body.has-ticker .hero { padding-top: calc(var(--nav-h) + var(--ticker-h, 34px) + 4rem); }
html:has(body.has-ticker) { scroll-padding-top: calc(var(--nav-h) + var(--ticker-h, 34px) + 16px); }

/* ---------------- Nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  transition: background .4s, border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 14, 34, .82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--glass-border);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .55);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .8rem; }
/* .brand-seal unificado en base.css — medallón circular dorado */
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-title); font-size: 1.15rem; letter-spacing: .14em; color: var(--gold-300); }
.brand-text small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }

.nav-links { display: flex; gap: .4rem; }
.nav-links a {
  font-size: .85rem; font-weight: 600; color: var(--ink-300);
  padding: .5rem .9rem; border-radius: 999px; position: relative;
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-300); background: rgba(212, 175, 55, .08); }

.nav-actions { display: flex; align-items: center; gap: .8rem; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-burger span { width: 22px; height: 2px; background: var(--gold-400); border-radius: 2px; transition: .3s; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
  min-height: 92vh; display: flex; align-items: center;
  background:
    linear-gradient(180deg, rgba(3, 8, 20, .84) 0%, rgba(3, 8, 20, .60) 45%, rgba(3, 8, 20, .96) 100%),
    url('../1000088070.jpg') center / cover no-repeat;
}
.hero.has-cover {
  background-size: cover; background-position: center 30%; background-repeat: no-repeat;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr;
  max-width: 880px; margin: 0 auto; text-align: center;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; align-items: center; }
.hero-ctas { justify-content: center; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.12; font-weight: 600;
  animation: fadeUp .9s .1s var(--ease-out) both;
}
.hero-title span { background: linear-gradient(115deg, #fff 20%, var(--gold-300) 55%, var(--gold-500) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  margin: 1.4rem 0 2.2rem; max-width: 520px;
  color: var(--ink-300); font-size: 1.06rem; font-weight: 300;
  animation: fadeUp .9s .2s var(--ease-out) both;
}
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; animation: fadeUp .9s .3s var(--ease-out) both; }

/* Tarjeta destacada de acceso al Padrón */
.hero-padron {
  display: inline-flex; align-items: center; gap: 1.1rem;
  margin-top: .4rem; padding: 1rem 1.5rem;
  border-radius: 18px; text-align: left;
  background: linear-gradient(135deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .05));
  border: 1.5px solid var(--glass-border-gold);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 44px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255,255,255,.08);
  animation: fadeUp .9s .35s var(--ease-out) both;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
}
.hero-padron:hover {
  transform: translateY(-3px);
  border-color: var(--gold-400);
  box-shadow: 0 26px 56px -16px var(--gold-glow);
}
.hp-ic {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  box-shadow: 0 8px 20px -6px var(--gold-glow);
}
.hp-ic svg { width: 24px; height: 24px; }
.hp-txt { display: flex; flex-direction: column; line-height: 1.3; }
.hp-txt strong { font-family: var(--font-title); font-size: 1.02rem; letter-spacing: .04em; color: var(--gold-200, #f0d98c); }
.hp-txt small { font-size: .72rem; color: var(--ink-300); }
.hp-arrow {
  font-size: 1.3rem; color: var(--gold-400); padding-left: .4rem;
  transition: transform .3s var(--ease-out);
}
.hero-padron:hover .hp-arrow { transform: translateX(5px); }

/* Buscador rápido / asistente de trámites */
.assist-box {
  position: relative; display: flex; align-items: center; gap: .8rem;
  margin: 1.2rem auto 0; width: min(560px, 100%);
  padding: .35rem .4rem .35rem 1.1rem;
  background: rgba(6, 14, 34, .7); border: 1px solid var(--glass-border);
  border-radius: 999px; backdrop-filter: blur(16px);
  animation: fadeUp .9s .45s var(--ease-out) both;
  transition: border-color .3s;
}
.assist-box:focus-within { border-color: var(--gold-500); }
.assist-ic { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }
.assist-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: .92rem; color: var(--ink-100); padding: .65rem 0;
}
.assist-input::placeholder { color: var(--ink-500); }
.assist-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: rgba(10, 20, 46, .97); border: 1px solid var(--glass-border-gold);
  border-radius: var(--radius-md); overflow: hidden; backdrop-filter: blur(20px);
  box-shadow: var(--shadow-deep); text-align: left;
}
.assist-item {
  display: flex; align-items: center; gap: .8rem; width: 100%;
  padding: .8rem 1.1rem; font-size: .85rem; text-align: left;
  border-bottom: 1px solid var(--glass-border); transition: background .2s;
}
.assist-item:last-child { border-bottom: none; }
.assist-item:hover { background: rgba(212, 175, 55, .1); }
.assist-item .chip { flex-shrink: 0; }
.assist-item strong { flex: 1; font-weight: 600; }
.assist-item .assist-go { color: var(--gold-400); font-size: .9rem; }
.assist-empty { padding: 1rem 1.1rem; font-size: .8rem; color: var(--ink-400); }

.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--navy-950));
  pointer-events: none;
}

/* ---------------- Noticias (con imágenes) ---------------- */
.news-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.4rem; }
.news-featured {
  padding: 2.2rem; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 420px; position: relative; overflow: hidden;
}
.news-featured::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 70% 0%, rgba(212, 175, 55, .12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(31, 52, 104, .8), transparent 70%);
}
.news-featured > * { position: relative; }
.news-featured h3 { font-size: 1.6rem; margin: .9rem 0 .7rem; line-height: 1.3; }
.news-featured p { color: var(--ink-300); font-size: .95rem; max-width: 90%; }
.news-meta { display: flex; align-items: center; gap: 1rem; font-size: .76rem; color: var(--ink-500); margin-top: 1.1rem; }

.news-list { display: flex; flex-direction: column; gap: 1rem; }
.news-item {
  padding: 1.3rem 1.5rem; flex: 1; display: flex; flex-direction: column; justify-content: center;
  transition: transform .4s var(--ease-out), border-color .3s;
  cursor: pointer;
}
.news-item:hover { transform: translateX(6px); border-color: var(--glass-border-gold); }
.news-item h4 { font-size: .98rem; margin: .5rem 0 .35rem; font-family: var(--font-body); font-weight: 700; }
.news-item p { font-size: .8rem; color: var(--ink-400); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .news-meta { margin-top: .7rem; }

/* Imágenes en noticias */
.news-featured .news-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.news-featured.has-img::before {
  background: linear-gradient(180deg, rgba(3, 8, 20, .25) 0%, rgba(3, 8, 20, .86) 78%, rgba(3, 8, 20, .97) 100%);
}
.news-item { flex-direction: row; align-items: center; gap: 1rem; }
.news-item .news-thumb {
  width: 88px; height: 66px; object-fit: cover; flex-shrink: 0;
  border-radius: 10px; border: 1px solid var(--glass-border-gold);
}
.news-item .news-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }

/* ---------------- Calendario del mes ---------------- */
.cal-list { display: flex; flex-direction: column; gap: .9rem; max-width: 860px; margin: 0 auto; }
.cal-item {
  display: flex; align-items: center; gap: 1.3rem;
  padding: 1.1rem 1.4rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); backdrop-filter: blur(14px);
  transition: transform .35s var(--ease-out), border-color .3s;
}
.cal-item:hover { transform: translateX(6px); border-color: var(--glass-border-gold); }
.cal-item.pasado { opacity: .5; }
.cal-fecha {
  width: 74px; flex-shrink: 0; text-align: center;
  padding: .7rem .4rem; border-radius: 12px;
  background: linear-gradient(160deg, rgba(212, 175, 55, .16), rgba(212, 175, 55, .05));
  border: 1px solid rgba(212, 175, 55, .35);
}
.cal-fecha b {
  display: block; font-family: var(--font-title);
  font-size: 1.5rem; color: var(--gold-300); line-height: 1;
}
.cal-fecha small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-400); }
.cal-info { flex: 1; min-width: 0; }
.cal-info strong { display: block; font-size: .95rem; }
.cal-info small { display: block; margin-top: .25rem; font-size: .76rem; color: var(--ink-400); }
.cal-tipo { flex-shrink: 0; }
.cal-empty { text-align: center; padding: 2.4rem; color: var(--ink-400); }

/* ---------------- Logo dinámico (estilos unificados en base.css) ---------------- */

/* ---------------- Autoridades ---------------- */
.aut-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.aut-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.5rem;
  transition: transform .4s var(--ease-out), border-color .3s;
}
.aut-card:hover { transform: translateY(-5px); border-color: var(--glass-border-gold); }
.aut-medal {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; color: var(--navy-950);
  background: conic-gradient(from 200deg, var(--gold-600), var(--gold-300), var(--gold-500), var(--gold-600));
  box-shadow: 0 8px 20px -6px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.aut-card h4 { font-size: .98rem; margin-top: .5rem; font-family: var(--font-body); font-weight: 700; }

/* ---------------- Historia · Ex Presidentes ---------------- */
.exp-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.3rem; max-width: 1000px; margin: 0 auto;
}
.exp-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.3rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s;
}
.exp-card:hover { transform: translateY(-6px); border-color: var(--glass-border-gold); }
.exp-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.exp-foto {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; flex-shrink: 0; margin-bottom: 1rem;
  font-family: var(--font-title); font-size: 1.6rem; font-weight: 700; color: var(--navy-950);
  background: conic-gradient(from 200deg, var(--gold-600), var(--gold-300), var(--gold-500), var(--gold-600));
  border: 2px solid rgba(212, 175, 55, .4);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .1), 0 12px 30px -10px rgba(0, 0, 0, .6);
}
.exp-foto img { width: 100%; height: 100%; object-fit: cover; }
.exp-card h4 { font-size: .95rem; font-family: var(--font-body); font-weight: 700; }
.exp-periodo {
  margin-top: .5rem; font-family: var(--font-title);
  font-size: .78rem; letter-spacing: .18em; color: var(--gold-400);
}
.exp-tag {
  margin-top: .7rem; font-size: .62rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-500);
}
.exp-empty { grid-column: 1 / -1; text-align: center; padding: 2.4rem; color: var(--ink-400); }

/* Fundador — tarjeta destacada a lo ancho */
.exp-fundador {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr; grid-template-areas:
    'foto nombre' 'foto periodo' 'foto tag' 'foto txt';
  column-gap: 1.6rem; align-items: center; text-align: left;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(212,175,55,.14), rgba(10,20,46,.55) 60%);
  border-color: var(--glass-border-gold);
  box-shadow: 0 24px 60px -20px rgba(212,175,55,.25);
}
.exp-fundador .exp-foto { grid-area: foto; width: 120px; height: 120px; margin-bottom: 0; font-size: 2.1rem; }
.exp-fundador h4 { grid-area: nombre; font-family: var(--font-title); font-size: 1.25rem; letter-spacing: .04em; }
.exp-fundador .exp-periodo { grid-area: periodo; }
.exp-fundador .exp-tag { grid-area: tag; color: var(--gold-300); }
.exp-fundador-txt {
  grid-area: txt; margin-top: .55rem; font-size: .8rem;
  color: var(--ink-300); line-height: 1.6; max-width: 60ch;
}
@media (max-width: 560px) {
  .exp-fundador { display: flex; flex-direction: column; text-align: center; padding: 1.8rem 1.3rem; }
  .exp-fundador .exp-foto { margin-bottom: 1rem; }
}

/* ---------------- Normativas y formularios ---------------- */
.norm-search { padding: 1.2rem; max-width: 860px; margin: 0 auto 1.6rem; }
.norm-input-wrap { display: flex; align-items: center; gap: .8rem; }
.norm-icon { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; }
.norm-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 1rem; color: var(--ink-100); padding: .55rem 0;
}
.norm-input::placeholder { color: var(--ink-500); }
.norm-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--glass-border); }
.norm-chip {
  font-size: .72rem; font-weight: 700; padding: .32rem .85rem;
  border-radius: 999px; border: 1px solid var(--glass-border);
  color: var(--ink-400); transition: all .25s;
}
.norm-chip:hover { color: var(--gold-300); border-color: var(--glass-border-gold); }
.norm-chip.active {
  color: var(--navy-950); background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-color: transparent;
}
.norm-list { display: flex; flex-direction: column; gap: .9rem; max-width: 860px; margin: 0 auto; }
.norm-item {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); backdrop-filter: blur(14px);
  transition: transform .35s var(--ease-out), border-color .3s;
}
.norm-item:hover { transform: translateX(6px); border-color: var(--glass-border-gold); }
.norm-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--gold-300);
  background: rgba(212, 175, 55, .08); border: 1px solid rgba(212, 175, 55, .25);
}
.norm-ic svg { width: 22px; height: 22px; }
.norm-info { flex: 1; min-width: 0; }
.norm-info strong { display: block; font-size: .92rem; }
.norm-info small { display: block; margin-top: .2rem; font-size: .75rem; color: var(--ink-400); }
.norm-empty { max-width: 860px; margin: 0 auto; padding: 2.2rem; text-align: center; color: var(--ink-400); font-size: .85rem; }

/* ---------------- Enlaces de interés ---------------- */
.lnk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.3rem; }
.lnk-card {
  display: flex; flex-direction: column; gap: .6rem;
  padding: 1.8rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.lnk-card:hover { transform: translateY(-6px); border-color: var(--glass-border-gold); box-shadow: 0 22px 50px -18px rgba(0,0,0,.7); }
.lnk-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.lnk-sigla {
  font-family: var(--font-title); font-size: 1.05rem; font-weight: 700;
  color: var(--gold-300); letter-spacing: .1em;
  padding: .45rem .8rem; border-radius: 10px;
  background: rgba(212, 175, 55, .1); border: 1px solid rgba(212, 175, 55, .3);
}
.lnk-arrow { color: var(--ink-500); font-size: 1.1rem; transition: transform .3s, color .3s; }
.lnk-card:hover .lnk-arrow { transform: translateX(4px); color: var(--gold-400); }
.lnk-card strong { font-size: .95rem; }
.lnk-card small { font-size: .78rem; color: var(--ink-400); line-height: 1.55; }

/* ---------------- Página Padrón (padron.html) ---------------- */
.padron-hero {
  position: relative; padding: calc(var(--nav-h) + 3.5rem) 0 4rem;
  min-height: 70vh;
  background:
    linear-gradient(180deg, rgba(3, 8, 20, .86) 0%, rgba(3, 8, 20, .72) 45%, rgba(3, 8, 20, .96) 100%),
    url('../1000088070.jpg') center / cover no-repeat;
}
.padron-searchbox { padding: 1.4rem; max-width: 780px; margin: 0 auto 1.6rem; }
.padron-input-wrap { display: flex; align-items: center; gap: .9rem; }
.padron-icon { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; }
.padron-input {
  flex: 1; background: transparent; border: none; outline: none;
  font-size: 1.05rem; color: var(--ink-100); padding: .55rem 0;
}
.padron-input::placeholder { color: var(--ink-500); }
.padron-meta {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: .9rem; padding-top: .9rem;
  border-top: 1px solid var(--glass-border);
  font-size: .78rem; color: var(--ink-400);
}
.padron-results {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1rem; max-width: 1000px; margin: 0 auto;
}
.padron-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); backdrop-filter: blur(14px);
  transition: transform .35s var(--ease-out), border-color .3s;
  animation: fadeUp .45s var(--ease-out) both;
}
.padron-card:hover { transform: translateY(-3px); border-color: var(--glass-border-gold); }
.padron-avatar {
  width: 50px; height: 50px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-title); font-size: 1.05rem; color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
}
.padron-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Filtro alfabético A-Z */
.padron-az { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.az-btn {
  min-width: 30px; height: 30px; padding: 0 .45rem;
  border-radius: 8px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.03); color: var(--ink-300);
  font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: all .2s var(--ease-out); font-family: inherit;
}
.az-btn:hover { border-color: var(--gold-400); color: var(--gold-300); }
.az-btn.on {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--navy-950); border-color: transparent;
}
.padron-info { flex: 1; min-width: 0; }
.padron-info strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.padron-info small { display: block; color: var(--ink-400); font-size: .73rem; }
.padron-empty {
  max-width: 780px; margin: 0 auto; padding: 2.6rem 1.8rem;
  text-align: center; color: var(--ink-400); font-size: .86rem;
}
.padron-empty-icon { font-size: 2.2rem; color: var(--gold-500); display: block; margin-bottom: .7rem; opacity: .7; }
.padron-note { max-width: 780px; margin: 2rem auto 0; text-align: center; font-size: .76rem; line-height: 1.7; }

/* ---------------- Ficha del matriculado — modal glassmorphism ---------------- */
body.modal-open { overflow: hidden; }
.pd-loading {
  padding: 3.5rem 1rem; text-align: center;
  color: var(--ink-400); font-size: .85rem; letter-spacing: .06em;
  animation: pdFade .3s var(--ease-out);
}
.pd-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 1.2rem;
  background: rgba(4, 10, 26, .72); backdrop-filter: blur(10px);
  animation: pdFade .28s var(--ease-out) both;
}
@keyframes pdFade { from { opacity: 0; } }
.pd-card {
  position: relative; width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  border-radius: 24px; padding: 2.2rem 2rem 1.8rem;
  background: linear-gradient(165deg, rgba(21, 34, 68, .92), rgba(10, 20, 46, .96));
  border: 1px solid rgba(212, 175, 55, .28);
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255,255,255,.04) inset,
              0 0 120px -40px var(--gold-glow);
  backdrop-filter: blur(22px);
  animation: pdUp .38s var(--ease-out) both;
}
@keyframes pdUp { from { opacity: 0; transform: translateY(26px) scale(.97); } }
.pd-card::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  border-radius: 0 0 4px 4px;
}
.pd-close {
  position: absolute; top: .9rem; right: .9rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--glass-border); background: rgba(255,255,255,.05);
  color: var(--ink-300); font-size: 1.4rem; line-height: 1;
  transition: all .25s var(--ease-out);
}
.pd-close:hover { color: var(--gold-300); border-color: var(--gold-400); transform: rotate(90deg); }

.pd-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; }
.pd-seal {
  width: 86px; height: 86px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; font-size: 2rem;
  background: linear-gradient(135deg, #f3dfa0, #b8912a); color: #241a02;
  box-shadow: 0 0 0 4px rgba(212,175,55,.18), 0 14px 34px -8px rgba(0,0,0,.6);
}
.pd-seal img { width: 100%; height: 100%; object-fit: cover; }
.pd-name { font-family: var(--font-title); font-size: 1.5rem; line-height: 1.2; color: #fff; margin: 0; }
.pd-mat {
  font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 700;
}
.pd-estado { margin-top: .15rem; }
.pd-grid {
  margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.pd-field {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .75rem .85rem; border-radius: 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--glass-border);
}
.pd-field.full { grid-column: 1 / -1; }
.pd-ic {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  display: grid; place-items: center; color: var(--gold-300);
  background: rgba(212,175,55,.12); border: 1px solid rgba(212,175,55,.25);
}
.pd-ic svg { width: 15px; height: 15px; }
.pd-field small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 700; margin-bottom: .18rem; }
.pd-field span { font-size: .84rem; color: var(--ink-100); word-break: break-word; }
.pd-field span.na { color: var(--ink-500); font-style: italic; }
.pd-field a { color: var(--gold-300); text-decoration: none; }
.pd-field a:hover { text-decoration: underline; }
.pd-foot {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: .7rem; color: var(--ink-500);
}
@media (max-width: 560px) {
  .pd-card { padding: 1.7rem 1.1rem 1.3rem; border-radius: 18px; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-name { font-size: 1.25rem; }
}

/* ---------------- Franja de valores vigentes ---------------- */
.aranc-strip { padding: 0 0 1rem; margin-top: -2.5rem; position: relative; z-index: 5; }
.aranc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.aranc-card {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.4rem 1.5rem; text-align: center; align-items: center;
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .35s;
}
.aranc-card:hover { transform: translateY(-4px); border-color: var(--glass-border-gold); }
.aranc-lbl { font-size: .66rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-400); }
.aranc-val {
  font-family: var(--font-title); font-size: 1.7rem; font-weight: 700;
  color: var(--gold-300); letter-spacing: .02em;
}
.aranc-card small:last-child, .aranc-card .muted { font-size: .72rem; }
.aranc-link { border-color: rgba(96, 165, 250, .3); }
.aranc-link:hover { border-color: var(--info); box-shadow: 0 18px 44px -14px rgba(96, 165, 250, .35); }
.aranc-link .aranc-val { color: var(--info); font-size: 1.15rem; font-family: var(--font-body); font-weight: 800; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); backdrop-filter: blur(14px);
  overflow: hidden; transition: border-color .3s;
}
.faq-item.open { border-color: var(--glass-border-gold); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.05rem 1.3rem; text-align: left;
  font-size: .92rem; font-weight: 700;
}
.faq-q .faq-arrow {
  flex-shrink: 0; color: var(--gold-400); font-size: .85rem;
  transition: transform .35s var(--ease-out);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out);
}
.faq-a-inner { padding: 0 1.3rem 1.15rem; font-size: .83rem; color: var(--ink-300); line-height: 1.7; }
.faq-empty { text-align: center; padding: 2rem; color: var(--ink-400); }

/* ---------------- Contacto ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .9rem; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .3rem; padding: 1.25rem 1rem;
  transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--glass-border-gold); box-shadow: 0 16px 36px -16px rgba(0,0,0,.7); }
.contact-card strong { font-size: .85rem; }
.contact-card small { font-size: .7rem; word-break: break-all; }
.contact-ic {
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: .4rem;
  display: grid; place-items: center;
  border: 1px solid var(--glass-border-gold);
  background: rgba(212, 175, 55, .08);
  transition: transform .4s var(--ease-out);
}
.contact-card:hover .contact-ic { transform: scale(1.08) rotate(-4deg); }
.contact-ic svg { width: 20px; height: 20px; }
.ic-ig { color: #f3a2c0; border-color: rgba(243, 162, 192, .35); background: rgba(243, 162, 192, .07); }
.ic-wa { color: #5ee08a; border-color: rgba(94, 224, 138, .35); background: rgba(94, 224, 138, .07); }
.ic-mail { color: var(--gold-300); }
.ic-pin { color: var(--info); border-color: rgba(96, 165, 250, .35); background: rgba(96, 165, 250, .07); }

.social-row { display: flex; gap: .6rem; margin-top: .4rem; }
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-300);
  border: 1px solid var(--glass-border); background: rgba(148, 170, 220, .06);
  transition: all .3s var(--ease-out);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { color: var(--gold-300); border-color: var(--glass-border-gold); transform: translateY(-3px); background: rgba(212, 175, 55, .1); }

/* ---------------- Footer ---------------- */
.footer {
  border-top: 1px solid var(--glass-border);
  background: linear-gradient(180deg, transparent, rgba(6, 14, 34, .9));
  padding-top: 4.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem; padding-bottom: 3.5rem;
}
.footer-brand p { margin: 1.1rem 0; font-size: .88rem; max-width: 300px; }
.footer-badges { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-col h4 { font-family: var(--font-title); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); margin-bottom: .5rem; }
.footer-col a { font-size: .86rem; color: var(--ink-400); transition: color .25s, transform .25s; }
.footer-col a:hover { color: var(--gold-300); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--ink-500); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .news-layout { grid-template-columns: 1fr; }
  .cal-fecha { width: 64px; }
  .news-featured { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ticker-label { display: none; }
  .hero-padron { width: 100%; max-width: 460px; }

  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; padding: 1rem 1.5rem 1.6rem; gap: .2rem;
    background: rgba(6, 14, 34, .96); backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .35s var(--ease-out), opacity .3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .85rem 1rem; }
  .nav-burger { display: flex; }
}
@media (max-width: 560px) {
  .brand-text small { display: none; }
  .padron-input-wrap { flex-wrap: wrap; }
  .padron-input { min-width: 100%; }
  .padron-results { grid-template-columns: 1fr; }
  .norm-item { gap: .8rem; padding: 1rem; }
  .hero-padron { padding: .9rem 1.1rem; }
  .hp-txt small { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}

/* ---------------- Cuadros dinámicos (servicios) ---------------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.svc-card {
  padding: 1.9rem 1.6rem; display: flex; flex-direction: column; gap: .7rem;
  transition: transform .4s var(--ease-out), border-color .3s;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--glass-border-gold); }
.card-ic { font-size: 2rem; filter: drop-shadow(0 4px 14px rgba(212, 175, 55, .35)); }
.svc-card h4 { font-family: var(--font-title); font-size: 1.05rem; color: #fff; }
.svc-card p { font-size: .82rem; color: var(--ink-400); flex: 1; line-height: 1.6; }
.card-btn {
  margin-top: .4rem; font-size: .74rem; font-weight: 800; letter-spacing: .06em;
  color: var(--gold-300); text-transform: uppercase;
}
.svc-card:hover .card-btn { color: var(--gold-200); }
.svc-img {
  width: 100%; height: 120px; object-fit: cover; border-radius: 10px;
  border: 1px solid var(--glass-border-gold); margin-bottom: .3rem;
}
.card-tag {
  margin-top: .4rem; align-self: flex-start;
  font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-300); padding: .22rem .6rem; border-radius: 999px;
  border: 1px solid var(--glass-border-gold); background: rgba(212, 175, 55, .07);
}

/* ---------------- Comisiones vigentes ---------------- */
.comi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.comi-card {
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .65rem;
  border-top: 2px solid var(--gold-500);
  transition: transform .4s var(--ease-out), box-shadow .3s;
}
.comi-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .65), 0 0 40px -20px var(--gold-glow); }
.comi-ic { font-size: 1.7rem; color: var(--gold-300); }
.comi-card h4 { font-family: var(--font-title); font-size: 1.05rem; color: #fff; line-height: 1.35; }
.comi-resp { font-size: .76rem; color: var(--ink-300); }
.comi-resp b { color: var(--gold-300); }
.comi-card p { font-size: .82rem; color: var(--ink-400); flex: 1; line-height: 1.6; }
.comi-btn { margin-top: .6rem; text-align: center; justify-content: center; }

/* ---------------- Video / reels en noticias ---------------- */
.news-video {
  width: 100%; max-height: 320px; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--glass-border-gold); background: #000;
  margin-bottom: 1rem; display: block;
}
video.news-thumb { width: 100%; max-height: 150px; }
