/* ==========================================================================
   La Visión TV — Rediseño editorial blanco
   Estética: informativa, sobria, bordes rectos, alto contraste.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-card: #ffffff;
  --text: #101010;
  --heading: #050505;
  --muted: #666666;
  --line: #d9d9d9;
  --line-dark: #bdbdbd;
  --brand: #111111;
  --brand-soft: #1e1e1e;
  --accent: #c8102e;
  --accent-dark: #8f0b20;
  --blue-muted: #1f5f8b;
  --warning: #9b5f00;
  --green: #1f7a4d;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow-md: 0 8px 18px rgba(0,0,0,.08);
  --radius: 0;
  --maxw: 1200px;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-head: "Archivo", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { margin: 0; font-family: var(--ff-head); color: var(--heading); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; }
p { margin-top: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* Topbar */
.topbar {
  background: #111;
  color: #f3f3f3;
  border-bottom: 1px solid #262626;
  font-size: 12px;
  letter-spacing: .02em;
}
.topbar .container { min-height: 34px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.topbar__date, .topbar__links { display:flex; align-items:center; gap:14px; }
.topbar svg { width:14px; height:14px; }
.topbar a { color:#fff; opacity:.9; }
.topbar a:hover { opacity:1; text-decoration: underline; text-underline-offset: 3px; }
.live-dot { width:8px; height:8px; border-radius:50%; display:inline-block; background: var(--accent); box-shadow:0 0 0 0 rgba(200,16,46,.55); animation:pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(200,16,46,.55)} 70%{box-shadow:0 0 0 7px rgba(200,16,46,0)} 100%{box-shadow:0 0 0 0 rgba(200,16,46,0)} }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header__bar { height: 82px; display:flex; align-items:center; justify-content:space-between; gap:22px; }
.brand { display:flex; align-items:center; }
.brand img { height: 48px; width:auto; }
.nav { display:flex; align-items:center; gap:0; }
.nav a {
  position: relative;
  display:flex; align-items:center;
  min-height: 82px;
  padding: 0 15px;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #111;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}
.nav a:hover { background:#f7f7f7; border-color: var(--line); }
.nav a.active::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:4px; background: var(--accent); }
.header__actions { display:flex; align-items:center; gap:8px; }
.btn-live {
  display:inline-flex; align-items:center; gap:8px;
  background: #111;
  color:#fff;
  font-family: var(--ff-head);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing:.06em;
  padding: 10px 13px;
  border: 1px solid #111;
}
.icon-btn {
  width:42px; height:42px; display:grid; place-items:center;
  border:1px solid var(--line);
  background:#fff;
  color:#111;
  cursor:pointer;
}
.icon-btn:hover { background:#f4f4f4; }
.icon-btn svg { width:20px; height:20px; }
.nav-toggle { display:none; }

/* Ticker */
.ticker { background:#fff; border-bottom:1px solid var(--line); overflow:hidden; }
.ticker .container { display:flex; align-items:center; padding:0; max-width:none; }
.ticker__label {
  flex: 0 0 auto;
  background: var(--accent);
  color:#fff;
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing:.08em;
  padding: 11px 18px;
}
.ticker__track { overflow:hidden; flex:1; }
.ticker__move { display:inline-flex; gap:42px; white-space:nowrap; padding-left:100%; animation:ticker 34s linear infinite; }
.ticker__move span { font-size:14px; color:#111; }
.ticker__move b { color: var(--accent); }
.ticker:hover .ticker__move { animation-play-state: paused; }
@keyframes ticker { from { transform:translateX(0); } to { transform:translateX(-100%); } }

/* Chips & buttons */
.chip {
  display:inline-flex; align-items:center; gap:6px;
  width:max-content;
  font-family: var(--ff-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:#fff;
  background:#111;
  padding: 6px 8px;
  line-height:1;
}
.chip--live { background: var(--accent); }
.chip--nac, .chip--politica { background: #111; }
.chip--int { background: var(--blue-muted); }
.chip--dep { background: var(--green); }
.chip--eco { background: var(--warning); }
.chip--ghost { background: rgba(0,0,0,.75); color:#fff; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 18px; border:1px solid #111; font-family:var(--ff-head); font-weight:800; font-size:14px; background:#fff; cursor:pointer; }
.btn--primary { background:#111; color:#fff; }
.btn--primary:hover { background:var(--accent); border-color:var(--accent); }
.btn--ghost { color:#111; background:#fff; }
.btn--ghost:hover { border-color:var(--accent); color:var(--accent); }

/* Sections */
.section { padding: 44px 0; }
.section--soft { background: var(--bg-soft); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin-bottom:22px; border-bottom:3px solid #111; padding-bottom:10px; }
.section-head h2 { font-size: clamp(24px, 3.1vw, 34px); text-transform: uppercase; letter-spacing:-.03em; }
.section-head .more { font-family: var(--ff-head); font-size: 13px; font-weight:800; text-transform:uppercase; color:#111; display:inline-flex; align-items:center; gap:6px; }
.section-head .more:hover { color: var(--accent); }

/* Page hero */
.page-hero { padding: 48px 0 36px; background:#fff; border-bottom:1px solid var(--line); }
.page-hero .crumbs { font-family:var(--ff-head); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; color:var(--accent); margin-bottom:10px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 760px; }
.page-hero p { color:var(--muted); max-width: 660px; margin:12px 0 0; font-size:17px; }
.page-hero__meta { margin-top: 18px; display:flex; flex-wrap:wrap; gap:10px; color:var(--muted); font-size:13px; }

/* Hero */
.hero { padding: 26px 0 10px; }
.hero__grid { display:grid; grid-template-columns: 1.56fr 1fr; gap: 22px; }
.feature {
  min-height: 510px;
  position:relative;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#111;
  color:#fff;
  border:1px solid var(--line-dark);
}
.feature img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.feature__overlay { position:absolute; inset:0; background: linear-gradient(0deg, rgba(0,0,0,.87) 0%, rgba(0,0,0,.46) 45%, rgba(0,0,0,.08) 100%); }
.feature__body { position:relative; z-index:2; padding: 28px; }
.feature__body h2 { color:#fff; font-size: clamp(27px, 4vw, 46px); margin: 12px 0 10px; max-width: 820px; }
.feature__body p { color:#e9e9e9; max-width: 670px; margin:0; }
.feature__meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:14px; font-size:13px; color:#e0e0e0; }
.side-list { display:flex; flex-direction:column; gap: 14px; }
.side-card {
  display:grid; grid-template-columns: 128px 1fr;
  gap:0;
  background:#fff;
  border:1px solid var(--line);
  min-height: 128px;
  transition: box-shadow .15s, border-color .15s;
}
.side-card:hover { border-color:#111; box-shadow:var(--shadow-md); }
.side-card__thumb img { width:128px; height:100%; min-height:128px; object-fit:cover; }
.side-card__body { padding: 12px 14px; display:flex; flex-direction:column; justify-content:center; }
.side-card h3 { font-size:17px; margin-top:8px; }
.side-card .meta { margin-top:8px; font-size:12.5px; color:var(--muted); }

/* Cards */
.grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display:flex;
  flex-direction:column;
  background:var(--bg-card);
  border:1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, border-color .15s, transform .15s;
}
.card:hover { border-color:#111; box-shadow:var(--shadow-md); transform: translateY(-2px); }
.card__media { position:relative; overflow:hidden; aspect-ratio: 16/10; background:#eee; border-bottom:1px solid var(--line); }
.card__media img { width:100%; height:100%; object-fit:cover; transition: transform .35s; }
.card:hover .card__media img { transform:scale(1.035); }
.card__media .chip { position:absolute; left:10px; top:10px; }
.card__body { padding: 15px 16px 18px; display:flex; flex-direction:column; flex:1; }
.card__body h3 { font-size: 20px; margin-bottom:9px; }
.card__body h3 a:hover { color:var(--accent); }
.card__body p { color:var(--muted); font-size:14.5px; margin:0 0 14px; }
.card__meta { margin-top:auto; padding-top:12px; border-top:1px solid var(--line); display:flex; align-items:center; gap:9px; font-size:12px; color:var(--muted); }
.card__meta .dot { width:4px; height:4px; background:var(--accent); border-radius:50%; }
.card--loading { min-height:320px; display:grid; place-items:center; color:var(--muted); font-weight:700; border:1px dashed var(--line-dark); }
.news-status { font-size:13px; color:var(--muted); margin-top:-12px; margin-bottom:20px; }

/* Sponsors and bands */
.sponsor-banner {
  margin: 30px 0;
  padding: 18px 24px;
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:14px;
  background:#fff;
  border:2px solid #111;
  text-align:center;
}
.sponsor-banner small { font-family:var(--ff-head); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.12em; color:var(--accent); }
.sponsor-banner strong { font-family:var(--ff-head); color:#111; font-size:18px; }
.social-band {
  background:#111;
  color:#fff;
  padding: 30px;
  display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
}
.social-band h3 { color:#fff; font-size:26px; }
.social-band p { color:#e4e4e4; margin:6px 0 0; }
.social-icons { display:flex; gap:10px; }
.social-icons a { width:46px; height:46px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.25); }
.social-icons a:hover { background:#fff; }
.social-icons svg { width:21px; height:21px; fill:#fff; }
.social-icons a:hover svg { fill:#111; }
.sponsors { padding:40px 0; background:#f7f7f7; border-top:1px solid var(--line); }
.sponsors__head { text-align:center; margin-bottom:24px; }
.sponsors__head span { font-family:var(--ff-head); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.16em; color:var(--accent); }
.sponsors__head h2 { margin-top:5px; font-size:26px; }
.sponsor-grid { display:grid; grid-template-columns: repeat(5, 1fr); gap:16px; }
.sponsor { background:#fff; border:1px solid var(--line); min-height:94px; display:grid; place-items:center; text-align:center; padding:12px; }
.sponsor span { display:block; font-family:var(--ff-head); font-weight:800; }
.sponsor small { color:var(--muted); text-transform:uppercase; font-size:11px; letter-spacing:.08em; }
.sponsor-cta { text-align:center; margin-top:22px; font-weight:800; }
.sponsor-cta a:hover { color:var(--accent); }

/* Social page */
.embed-grid { display:grid; grid-template-columns: repeat(2, 1fr); gap:24px; }
.embed-card { background:#fff; border:1px solid var(--line); }
.embed-card__head { display:flex; align-items:center; gap:12px; padding:16px 18px; border-bottom:1px solid var(--line); }
.embed-card__head h3 { font-size:20px; }
.embed-card__head small { color:var(--muted); font-weight:600; }
.embed-card__body { min-height:260px; padding:16px; }
.embed-card__body iframe { width:100%; border:none; }
.follow-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; }
.follow { border:1px solid var(--line); background:#fff; padding:26px 18px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:10px; }
.follow:hover { border-color:#111; box-shadow:var(--shadow-md); }
.follow .ico, .embed-card__head .ico { width:46px; height:46px; display:grid; place-items:center; background:#111; }
.follow .ico svg, .embed-card__head .ico svg { width:24px; height:24px; fill:#fff; }
.follow h3 { font-size:18px; }
.follow span { color:var(--muted); font-size:13px; }
.ig { background:#111 !important; }
.fb { background:#111 !important; }
.tt { background:#111 !important; }
.yt { background:#c8102e !important; }

/* Footer */
.footer { background:#111; color:#cfcfcf; padding: 48px 0 24px; }
.footer__top { display:grid; grid-template-columns: 1.55fr 1fr 1fr 1.15fr; gap:34px; }
.footer__brand img { height:46px; margin-bottom:14px; filter: invert(1) grayscale(1) brightness(2); }
.footer__brand p { font-size:14px; color:#bdbdbd; max-width:340px; }
.footer h4 { color:#fff; font-size:15px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.footer li { margin-bottom:9px; }
.footer a { font-size:14px; color:#cfcfcf; }
.footer a:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.footer__social { display:flex; gap:8px; margin-top:10px; }
.footer__social a { width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.18); }
.footer__social svg { width:18px; height:18px; fill:#fff; }
.footer__bottom { margin-top:34px; padding-top:18px; border-top:1px solid rgba(255,255,255,.16); display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:13px; color:#aaa; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns:1fr; }
  .grid, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
  .embed-grid { grid-template-columns: 1fr; }
  .follow-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .topbar__date { display:none; }
}
@media (max-width: 760px) {
  .header__bar { height:74px; }
  .brand img { height:40px; }
  .nav { display:none; position:absolute; left:0; right:0; top:74px; background:#fff; border-top:1px solid var(--line); border-bottom:2px solid #111; flex-direction:column; align-items:stretch; }
  .nav.open { display:flex; }
  .nav a { min-height:0; padding:15px 20px; border-bottom:1px solid var(--line); }
  .nav a.active::after { display:none; }
  .nav a.active { color:var(--accent); }
  .nav-toggle { display:grid; }
  .header__actions .btn-live span:last-child { display:none; }
  .feature { min-height:390px; }
  .feature__body { padding:22px; }
  .social-band { align-items:flex-start; }
}
@media (max-width: 540px) {
  .container { padding:0 14px; }
  .grid, .grid--4, .sponsor-grid, .follow-grid { grid-template-columns:1fr; }
  .side-card { grid-template-columns:104px 1fr; }
  .side-card__thumb img { width:104px; min-height:116px; }
  .ticker__label { padding: 10px 12px; }
  .footer__top { grid-template-columns:1fr; }
}
