/* ─────────────────────────────────────────
   index.css — Estilos exclusivos del inicio
   ───────────────────────────────────────── */

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--azul) 0%, #0d1f3c 60%, #1a3a5c 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(192,57,43,.18) 0%, transparent 70%),
    repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,.018) 40px, rgba(255,255,255,.018) 41px);
}
.hero-accent {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(160deg, var(--rojo) 0%, var(--rojo-oscuro) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .12;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  background: var(--oro);
  color: var(--azul);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-family: var(--fuente-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--oro); }
.hero p.lead {
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-hero-outline {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: 0;
  background: transparent;
  transition: all .25s;
  text-decoration: none;
  display: inline-block;
}
.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat-item .num {
  font-family: var(--fuente-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--oro);
  line-height: 1;
}
.stat-item .label {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .2rem;
}

/* ─── TICKER ─── */
.ticker-bar {
  background: var(--rojo);
  padding: .55rem 0;
  overflow: hidden;
}
.ticker-label {
  background: var(--rojo-oscuro);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .9rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-track {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}
.ticker-track span {
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 400;
  padding: 0 3rem;
}
.ticker-track span::before {
  content: "●";
  margin-right: 1rem;
  opacity: .6;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── NEWS SECTION ─── */
.news-section {
  background: var(--gris-claro);
  padding: 80px 0;
}
.news-card {
  background: #fff;
  border: 1px solid #e8e4dd;
  overflow: hidden;
  transition: transform .28s, box-shadow .28s;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(26,58,92,.12);
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-pdf {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
  background: #f0ede8;
}
.news-card-body { padding: 1.5rem; }
.news-card-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rojo);
  margin-bottom: .5rem;
}
.news-card h5 {
  font-family: var(--fuente-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.4;
  margin-bottom: .8rem;
}
.news-card-date { font-size: .75rem; color: var(--gris-medio); }

/* ─── PILARES ─── */
.pillars-section { padding: 80px 0; background: #fff; }
.pillar-card {
  border-left: 4px solid var(--oro);
  padding: 1.8rem 1.5rem;
  background: var(--gris-claro);
  height: 100%;
  transition: background .25s;
}
.pillar-card:hover { background: #eceae4; }
.pillar-icon { font-size: 2rem; color: var(--azul); margin-bottom: 1rem; }
.pillar-card h5 {
  font-family: var(--fuente-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: .6rem;
}
.pillar-card p { font-size: .88rem; color: #555; line-height: 1.7; margin: 0; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(100deg, var(--azul) 55%, var(--rojo) 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,.025) 30px, rgba(255,255,255,.025) 31px);
}
.cta-banner h2 {
  font-family: var(--fuente-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  font-weight: 700;
}
.cta-banner p { color: rgba(255,255,255,.75); font-size: 1.05rem; }

/* ─── LOGOS ─── */
.logos-section {
  padding: 50px 0;
  background: var(--gris-claro);
  border-top: 1px solid #e0ddd6;
  border-bottom: 1px solid #e0ddd6;
}
.logos-track-wrap { overflow: hidden; }
.logos-track {
  display: flex;
  gap: 60px;
  animation: slide-logos 22s linear infinite;
  width: max-content;
  align-items: center;
}
.logos-track img {
  height: 52px;
  width: auto;
  filter: grayscale(1) opacity(.55);
  transition: filter .3s;
  flex-shrink: 0;
}
.logos-track img:hover { filter: grayscale(0) opacity(1); }
@keyframes slide-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .hero          { min-height: 100svh; }
  .hero-stats    { gap: 1.5rem; }
  .stat-item .num { font-size: 1.6rem; }
}