/* ============================================================
   ALERTA MONTERÍA — Sistema de Diseño Profesional
   Paleta: Navy #0b1120 · Blanco #fff · Dorado #e11d48
   Tipografía: Anton (titulares) · Archivo (UI) · Newsreader (cuerpo)
   ============================================================ */

:root {
  --navy: #0b1120;
  --navy-light: #1a2744;
  --navy-surface: #f0f2f8;
  --white: #ffffff;
  --red: #e11d48;
  --red-light: #f43f6e;
  --red-dim: rgba(225,29,72,0.10);
  --text: #1a1a2e;
  --text-soft: #4a5568;
  --text-muted: #8892a4;
  --line: rgba(11,17,32,0.08);
  --line-strong: rgba(11,17,32,0.18);
  --shadow-sm: 0 1px 3px rgba(11,17,32,0.06);
  --shadow: 0 4px 20px rgba(11,17,32,0.10);
  --shadow-lg: 0 12px 40px rgba(11,17,32,0.16);
  --radius: 12px;
  --maxw: 1280px;
  --gap: clamp(20px, 2.5vw, 32px);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  background: #f5f6fa;
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

/* ─── TOP BAR ─── */
.bar {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  height: 36px;
}
.bar .wrap { display: flex; align-items: center; height: 100%; gap: 24px; }
.bar .live {
  background: var(--red);
  color: var(--navy);
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 6px;
}
.bar .live::before { content: ""; width: 6px; height: 6px; background: var(--navy); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.bar .date { text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.6); }

/* ─── HEADER ─── */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .wrap { display: flex; align-items: center; height: 72px; gap: clamp(16px, 3vw, 40px); }
.header .logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header .logo img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.header .logo .name { font-family: "Anton", sans-serif; font-size: 26px; color: var(--navy); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.header .logo .name span { color: var(--red); font-size: 14px; display: block; font-family: "Archivo", sans-serif; font-weight: 800; letter-spacing: 0.35em; }

.header .nav { display: flex; gap: 4px; margin-left: auto; }
.header .nav a {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-soft);
  transition: all 0.18s;
}
.header .nav a:hover,
.header .nav a.active { color: var(--navy); background: var(--navy-surface); }

.header .social-links { display: flex; gap: 6px; }
.header .social-links a {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--navy-surface);
  color: var(--navy);
  transition: all 0.18s;
}
.header .social-links a:hover { background: var(--navy); color: var(--red); }
.header .social-links svg { width: 17px; height: 17px; }

/* ─── HERO ─── */
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--gap);
  margin-top: 28px;
}
.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-lg);
}
.hero-main img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s cubic-bezier(0.25,0.8,0.25,1);
}
.hero-main:hover img { transform: scale(1.04); }
.hero-main::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,17,32,0.96) 0%, rgba(11,17,32,0.5) 45%, rgba(11,17,32,0.1) 80%);
}
.hero-main .hero-text {
  position: relative; z-index: 2;
  padding: clamp(28px, 3.5vw, 44px);
  color: #fff;
}
.hero-main .tag { margin-bottom: 12px; display: inline-block; }
.hero-main .tag span {
  background: var(--red);
  color: var(--navy);
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
}
.hero-main h1 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 0.96;
  letter-spacing: 0.006em;
  text-wrap: balance;
  margin-bottom: 12px;
}
.hero-main p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  line-height: 1.5;
}
.hero-main .meta-hero {
  margin-top: 14px;
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  display: flex; align-items: center; gap: 8px;
}
.hero-main .meta-hero .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--red); }

.hero-side {
  display: flex; flex-direction: column; gap: 0;
}
.hero-side a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.2s;
}
.hero-side a:first-child { padding-top: 0; }
.hero-side a:last-child { border-bottom: none; }
.hero-side a:hover { padding-left: 6px; }
.hero-side .side-tag {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--red);
  margin-bottom: 6px;
}
.hero-side h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.16;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.hero-side a:hover h3 { color: var(--red); }
.hero-side p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.4;
}

/* ─── TICKER STRIP ─── */
.ticker-strip {
  background: var(--navy);
  margin-top: var(--gap);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 24px;
}
.ticker-strip .label {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--white);
  white-space: nowrap;
  line-height: 0.95;
}
.ticker-strip .label span { color: var(--red); }
.ticker-strip ul {
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ticker-strip li {
  border-left: 3px solid var(--red);
  padding-left: 14px;
}
.ticker-strip li a {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.2;
}
.ticker-strip li a:hover { color: var(--red); }
.ticker-strip li .time {
  font-family: "Archivo", sans-serif;
  font-size: 10.5px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 3px;
}

/* ─── SECTION HEADER ─── */
.sec-head {
  display: flex; align-items: center; gap: 14px;
  margin: clamp(40px, 5vw, 56px) 0 22px;
}
.sec-head::before {
  content: "";
  width: 4px; height: 32px;
  background: var(--red);
  border-radius: 2px;
}
.sec-head h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.02em;
}

/* ─── CARD GRID ─── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--red-dim);
}
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--navy-surface); position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body .card-tag {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--red);
}
.card-body h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.card:hover .card-body h3 { color: var(--red); }
.card-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.45;
  flex: 1;
}
.card-body .card-meta {
  margin-top: auto;
  padding-top: 6px;
  font-family: "Archivo", sans-serif;
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 7px;
}
.card-body .card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--red); }

/* ─── ARTICLE PAGE ─── */
.article { max-width: 780px; margin: 0 auto; padding: clamp(28px, 4vw, 44px) 0 60px; }
.article .kicker {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 14px;
}
.article h1 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.96;
  color: var(--navy);
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.article .dek {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-soft);
  font-style: italic;
  line-height: 1.45;
  margin-top: 16px;
}
.article .byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin: 24px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Archivo", sans-serif;
  font-size: 13px;
}
.article .byline .src { font-weight: 700; color: var(--navy); }
.article .byline .when { color: var(--text-muted); }

.article .cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 6px 0 24px;
  box-shadow: var(--shadow);
}
.article .cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.article .body {
  font-size: 19px;
  line-height: 1.78;
  color: var(--text);
}
.article .body p { margin: 0 0 1.2em; }
.article .body p:first-of-type::first-letter {
  font-family: "Anton", sans-serif;
  float: left;
  font-size: 3.8em;
  line-height: 0.7;
  padding: 8px 14px 0 0;
  color: var(--red);
}
.article .body b, .article .body strong { font-weight: 700; color: var(--navy); }
.article .body h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 1.3em;
  margin: 1.5em 0 0.5em;
  color: var(--navy);
}

/* ─── SHARE ─── */
.share {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 32px 0; padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share .lbl {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.sbtn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  transition: transform 0.15s;
}
.sbtn:hover { transform: translateY(-2px); }
.sbtn svg { width: 16px; height: 16px; }
.sbtn.wa { background: #25d366; }
.sbtn.tg { background: var(--navy); }

/* ─── CHIPS ─── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; }
.chip {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  background: var(--red-dim);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.15s;
}
.chip:hover { background: var(--red); color: var(--navy); }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  margin-top: clamp(50px, 7vw, 80px);
  padding: clamp(40px, 5vw, 60px) 0 28px;
}
.footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer .flogo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer .flogo img { width: 36px; height: 36px; border-radius: 8px; }
.footer .flogo .fn {
  font-family: "Anton", sans-serif;
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
}
.footer .flogo .fn span {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: var(--red);
}
.footer .about { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,0.5); max-width: 36ch; line-height: 1.6; }
.footer h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  color: var(--red);
  margin-bottom: 16px;
}
.footer a {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer a:hover { color: var(--red); }
.footer .legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 36px;
  padding-top: 20px;
  font-family: "Archivo", sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ─── ANIMATIONS ─── */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.d1 { animation-delay: 0.06s; } .d2 { animation-delay: 0.14s; } .d3 { animation-delay: 0.22s; }
.d4 { animation-delay: 0.30s; } .d5 { animation-delay: 0.38s; } .d6 { animation-delay: 0.46s; }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header .nav { display: none; }
  .bar .date { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero-main { min-height: 320px; }
  .ticker-strip { flex-direction: column; align-items: flex-start; }
  .article h1 { font-size: clamp(26px, 8vw, 42px); }
  .footer .wrap { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 420px) {
  .footer .wrap { grid-template-columns: 1fr; }
}
