/* ============================================================
   RADIO CHAHALENSE — Estilos principales
   ============================================================ */

/* ------------------------------------------------------------
   TOKENS / VARIABLES
   ------------------------------------------------------------ */
:root {
  /* Paleta de marca */
  --brand-orange: #FF8C1A;
  --brand-yellow: #FFD23F;
  --brand-blue:   #1E6FD9;
  --brand-green:  #4CD964;

  /* Tema oscuro */
  --bg:        #0a0f1e;
  --bg-soft:   #0f1526;
  --surface:   #141b30;
  --surface-2: #1b2340;
  --border:    rgba(255,255,255,.08);

  --text:      #f0f4ff;
  --text-dim:  #8b93b0;

  --live:      #ff3b5c;

  /* Gradientes */
  --grad-brand: linear-gradient(135deg, #FF8C1A 0%, #FFD23F 100%);
  --grad-cool:  linear-gradient(135deg, #1E6FD9 0%, #4CD964 100%);
  --grad-glow:  radial-gradient(800px 400px at 20% -10%, rgba(255,140,26,.18), transparent 60%),
                radial-gradient(800px 400px at 90% 10%, rgba(30,111,217,.15), transparent 60%);

  /* Layout */
  --radius: 16px;
  --radius-lg: 24px;
  --player-h: 84px;
  --header-h: 72px;

  /* Sombras */
  --shadow-1: 0 10px 30px rgba(0,0,0,.35);
  --shadow-glow: 0 0 40px rgba(255,140,26,.35);

  /* Tipografía */
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-display: 'Fredoka', 'Poppins', sans-serif;

  --transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ------------------------------------------------------------
   FIX GLOBAL: el atributo [hidden] debe ganar siempre
   (evita que el spinner quede visible tras cargar el artículo)
   ------------------------------------------------------------ */
[hidden] { display: none !important; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  background-image: var(--grad-glow);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: calc(var(--player-h) + 20px);
  padding-top: var(--header-h);
  min-height: 100vh;
}

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.5px; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.muted { color: var(--text-dim); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(10,15,30,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  z-index: 200;
}

.nav-wrapper {
  height: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
}
.logo-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(255,140,26,.35);
}
.logo-text em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-nav ul { display: flex; gap: 28px; }
.site-nav a {
  font-weight: 500; font-size: .92rem;
  color: var(--text-dim);
  position: relative;
  transition: var(--transition);
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); }
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--grad-brand);
  transition: var(--transition);
}
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none; border: 0; color: var(--text);
  font-size: 1.4rem; cursor: pointer;
}

/* ============================================================
   VISTAS / SECCIONES
   ============================================================ */
.app-main { min-height: calc(100vh - var(--header-h) - var(--player-h)); }

.view-loading { display: grid; place-items: center; padding: 80px 0; }
.spinner {
  width: 42px; height: 42px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--brand-orange);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.view { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

section { padding: 70px 0; }

.section-title { text-align: center; margin-bottom: 45px; }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 8px; }
.section-title p { color: var(--text-dim); max-width: 620px; margin: 0 auto; }
.section-title .bar {
  width: 70px; height: 4px; border-radius: 4px;
  background: var(--grad-brand);
  margin: 16px auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 20% 20%, rgba(255,140,26,.22), transparent 60%),
    radial-gradient(600px 300px at 80% 80%, rgba(30,111,217,.22), transparent 60%);
  animation: floatBg 18s ease-in-out infinite;
}
@keyframes floatBg {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-25px, 20px); }
}
.hero-content { position: relative; z-index: 2; max-width: 860px; }
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  margin-bottom: 18px;
  animation: fadeUp .9s ease;
}
.hero h1 .highlight {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-dim);
  margin-bottom: 32px;
  animation: fadeUp .9s ease .15s backwards;
}
.hero-buttons {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .9s ease .3s backwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  border: 0; cursor: pointer;
  transition: var(--transition);
}
.btn-primary {
  background: var(--grad-brand);
  color: #1a1206;
  box-shadow: 0 8px 24px rgba(255,140,26,.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,140,26,.5); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }

/* ============================================================
   TARJETAS GENÉRICAS
   ============================================================ */
.card {
  background: rgba(20,27,48,.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: var(--transition);
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,140,26,.3);
  box-shadow: var(--shadow-1);
}

/* Grid "sobre Chahal" */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.about-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: rgba(20,27,48,.65);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
  opacity: .8;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); }
.about-card .icon {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 18px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #1a1206; font-size: 1.5rem;
  box-shadow: 0 8px 22px rgba(255,140,26,.3);
  transition: var(--transition);
}
.about-card:hover .icon { transform: rotate(-8deg) scale(1.08); }
.about-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.about-card p { color: var(--text-dim); font-size: .93rem; }

/* ============================================================
   TURISMO
   ============================================================ */
.tourism-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
  margin-bottom: 45px;
}
.tourism-hero img { border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.tourism-hero h3 { font-size: 1.9rem; margin-bottom: 12px; }
.tourism-hero p { color: var(--text-dim); margin-bottom: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 50px;
  font-size: .82rem; font-weight: 500;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.tourism-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative; height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.9), transparent 60%);
  display: flex; align-items: flex-end;
  padding: 20px;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay h4 { color: #fff; font-size: 1.1rem; }

/* ============================================================
   NOTICIAS (RSS)
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.news-card { display: flex; flex-direction: column; }
.news-card .img-wrap {
  height: 190px; overflow: hidden; position: relative;
  background: var(--surface-2);
}
.news-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: var(--transition);
}
.news-card:hover .img-wrap img { transform: scale(1.07); }
.news-card .category {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 50px;
  background: var(--grad-brand);
  color: #1a1206; font-size: .75rem; font-weight: 600;
}
.news-card .content {
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.news-card .date {
  font-size: .8rem; color: var(--text-dim);
  display: flex; align-items: center; gap: 6px;
}
.news-card h3 { font-size: 1.1rem; line-height: 1.3; }
.news-card p { color: var(--text-dim); font-size: .9rem; flex: 1; }
.news-card a.read-more {
  color: var(--brand-orange); font-weight: 600; font-size: .88rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.news-card a.read-more:hover { gap: 10px; }

/* Fuente de la noticia */
.news-card .source {
  color: var(--brand-orange);
  font-weight: 600;
}

.skeleton {
  height: 320px; border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.news-error {
  grid-column: 1 / -1;
  padding: 30px; text-align: center;
  color: var(--text-dim);
  border: 1px dashed var(--border); border-radius: var(--radius-lg);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.contact-info .info-item {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.contact-info .info-item i {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--brand-orange);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: var(--transition);
}
.socials a:hover {
  background: var(--grad-brand);
  color: #1a1206;
  transform: translateY(-4px);
}

.contact-form {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(20,27,48,.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; margin-bottom: 6px;
  font-size: .88rem; font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: inherit; font-size: .93rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: rgba(255,255,255,.07);
  box-shadow: 0 0 0 3px rgba(255,140,26,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.contact-form button {
  width: 100%; padding: 14px; border: 0; cursor: pointer;
  border-radius: 50px; font-weight: 600; font-size: .95rem;
  background: var(--grad-brand); color: #1a1206;
  transition: var(--transition);
}
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,140,26,.4);
}

/* ============================================================
   REPRODUCTOR PERSISTENTE
   ============================================================ */
.player-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--player-h);
  background: rgba(15,21,38,.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border);
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom);
}

.player-progress { height: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.player-progress-bar {
  height: 100%; width: 0%;
  background: var(--grad-brand);
  transition: width .4s ease;
}
.player-bar.is-playing .player-progress-bar {
  width: 100%;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-yellow), var(--brand-orange));
  background-size: 200% 100%;
  animation: progressFlow 3s linear infinite;
}
@keyframes progressFlow { to { background-position: -200% 0; } }

.player-inner {
  height: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.player-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-art {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #1a1206; font-size: 1.15rem;
  flex-shrink: 0;
  overflow: hidden;
}
.player-bar.is-playing .player-art { animation: artPulse 2.4s ease-in-out infinite; }
@keyframes artPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.player-live-dot {
  position: absolute; top: 5px; right: 5px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--live);
  animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,59,92,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,59,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); }
}

.player-text { display: flex; flex-direction: column; min-width: 0; }
.player-text strong { font-size: .92rem; font-family: var(--font-display); }
.player-status {
  font-size: .78rem; color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.player-controls { display: flex; justify-content: center; }
.ctrl-main {
  width: 52px; height: 52px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--grad-brand);
  color: #1a1206; font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(255,140,26,.35);
  transition: var(--transition);
}
.ctrl-main:hover { transform: scale(1.07); box-shadow: 0 10px 28px rgba(255,140,26,.55); }
.ctrl-main:active { transform: scale(.96); }

.player-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
}
.ctrl-icon {
  background: none; border: 0; cursor: pointer;
  color: var(--text-dim); font-size: 1rem;
  transition: var(--transition);
}
.ctrl-icon:hover { color: var(--text); }

#volRange {
  width: 100px;
  -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 4px;
  background: rgba(255,255,255,.1);
  outline: none; cursor: pointer;
}
#volRange::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(255,140,26,.15);
}
#volRange::-moz-range-thumb {
  width: 14px; height: 14px; border: 0; border-radius: 50%;
  background: var(--brand-orange);
}

.player-eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.player-eq span {
  width: 3px; background: var(--brand-orange); border-radius: 2px;
  animation: eq 1s ease-in-out infinite;
}
.player-eq span:nth-child(1) { animation-delay: 0s; }
.player-eq span:nth-child(2) { animation-delay: .15s; }
.player-eq span:nth-child(3) { animation-delay: .3s; }
.player-eq span:nth-child(4) { animation-delay: .45s; }
@keyframes eq {
  0%,100% { height: 4px; }
  50% { height: 20px; }
}
.player-bar:not(.is-playing) .player-eq span {
  animation-play-state: paused; height: 4px;
}

/* ============================================================
   PÁGINA DE ARTÍCULO COMPLETO
   ============================================================ */
.article-page { padding: 40px 0 80px; min-height: 60vh; }

.article-breadcrumb { margin-bottom: 24px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: .9rem; font-weight: 500;
  padding: 8px 16px; border-radius: 50px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.back-link:hover {
  color: var(--brand-orange);
  background: rgba(255,140,26,.08);
  border-color: rgba(255,140,26,.3);
  transform: translateX(-3px);
}

.article-loading {
  display: grid; place-items: center; gap: 16px;
  padding: 100px 20px; text-align: center;
}

.article-full { max-width: 780px; margin: 0 auto; }

.article-header { margin-bottom: 28px; }
.article-source {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 50px;
  background: var(--grad-brand);
  color: #1a1206; font-weight: 700; font-size: .78rem;
  margin-bottom: 18px;
}
.article-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--text);
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--text-dim); font-size: .88rem;
}
.article-meta span {
  display: inline-flex; align-items: center; gap: 6px;
}
.article-meta i { color: var(--brand-orange); }

.article-cover {
  margin: 0 0 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  background: var(--surface-2);
}
.article-cover img {
  width: 100%; height: auto; display: block;
  max-height: 480px; object-fit: cover;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}
.article-body p { margin-bottom: 20px; }
.article-body h2, .article-body h3 {
  margin: 32px 0 14px;
  color: var(--text);
}
.article-body a {
  color: var(--brand-orange);
  text-decoration: underline;
  text-decoration-color: rgba(255,140,26,.4);
  transition: var(--transition);
}
.article-body a:hover { text-decoration-color: var(--brand-orange); }
.article-body img {
  max-width: 100%; height: auto;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
}
.article-body ul, .article-body ol {
  padding-left: 24px; margin-bottom: 20px;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--brand-orange);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(255,140,26,.05);
  border-radius: 0 12px 12px 0;
  color: var(--text-dim);
  font-style: italic;
}
.article-body iframe, .article-body video {
  max-width: 100%; border-radius: 12px;
}
.article-body figure { margin: 20px 0; }
.article-body figcaption {
  text-align: center; font-size: .85rem;
  color: var(--text-dim); margin-top: 8px;
  font-style: italic;
}

/* Párrafo de introducción en la página de artículo */
.article-lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--brand-orange);
  font-weight: 400;
}

/* Aviso de derechos de autor / CTA */
.article-footer {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,140,26,.08), rgba(30,111,217,.08));
  border: 1px solid rgba(255,140,26,.22);
  text-align: center;
}
.article-footer p {
  color: var(--text-dim); font-size: .92rem;
  margin-bottom: 16px; line-height: 1.6;
}
.article-footer strong { color: var(--text); }
.article-footer .btn { min-width: 260px; justify-content: center; }

.article-error {
  display: grid; place-items: center; gap: 16px;
  padding: 80px 20px; text-align: center;
  max-width: 520px; margin: 0 auto;
}
.article-error i.fa-exclamation-triangle {
  font-size: 2.6rem; color: var(--live);
}
.article-error h2 { color: var(--text); }
.article-error .btn { margin-top: 8px; }

/* Aviso de vista previa (cuando no se pudo extraer completo) */
.article-preview-note {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(30,111,217,.08);
  border: 1px solid rgba(30,111,217,.25);
  color: var(--text-dim);
  font-size: .88rem;
  margin-bottom: 24px;
}
.article-preview-note i {
  color: #1E6FD9; font-size: 1rem; margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(10,15,30,.6);
  border-top: 1px solid var(--border);
  padding: 30px 20px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.footer-inner p { color: var(--text-dim); font-size: .85rem; }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .tourism-hero, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --player-h: 74px; }

  .menu-toggle { display: block; }

  .site-nav ul {
    position: fixed;
    top: var(--header-h); right: 0;
    width: 78%; max-width: 320px;
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    gap: 22px;
    padding: 40px 30px;
    background: rgba(15,21,38,.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .site-nav ul.active { transform: translateX(0); }
  .site-nav a { font-size: 1.05rem; }

  /* Player bar móvil compacto */
  .player-inner { grid-template-columns: 1fr auto; }
  .player-actions { display: none; }
  .player-art { width: 46px; height: 46px; }
  .ctrl-main { width: 46px; height: 46px; }
  .player-status { font-size: .72rem; }
}

@media (max-width: 640px) {
  .article-page { padding: 24px 0 60px; }
  .article-header h1 { font-size: 1.4rem; }
  .article-body { font-size: 1rem; }
  .article-cover img { max-height: 260px; }
  .article-footer .btn { min-width: auto; width: 100%; }
}

/* ============================================================
   REPRODUCTOR — Carátula del álbum
   ============================================================ */
.player-art {
  position: relative;
  overflow: hidden;
}

.player-art-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
  transition: opacity 0.6s ease;
  opacity: 0;
  z-index: 1;
}

.player-art-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: #1a1206;
  transition: opacity 0.6s ease;
  z-index: 0;
}

/* Asegurar que el live-dot quede por encima de la carátula */
.player-live-dot {
  z-index: 2;
}

/* Texto del reproductor: ajustar para títulos largos */
.player-text strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

.player-text .player-status {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}

@media (max-width: 768px) {
  .player-text strong,
  .player-text .player-status {
    max-width: 150px;
  }
}