/* ============================================================
   Radio Jesús Tiene Poder 104.2 FM — Oruro, Bolivia
   Tema claro inspirado en cvclavoz.com
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --color-bg: #f8f9fa;
  --color-bg-alt: #ffffff;
  --color-bg-soft: #eef3f8;
  --color-primary: #2e86de;
  --color-primary-dark: #1f5fa8;
  --color-primary-soft: #d6e8f7;
  --color-accent: #f5c542;
  --color-accent-soft: #fdf3d7;
  --color-text: #2c3e50;
  --color-text-soft: #5d6f7e;
  --color-border: #e3e9f0;
  --color-white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(46, 134, 222, 0.08);
  --shadow-md: 0 6px 20px rgba(46, 134, 222, 0.12);
  --shadow-lg: 0 12px 32px rgba(46, 134, 222, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

::selection { background: var(--color-primary-soft); }

/* ---------- Utilidades ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-primary-dark), #174a86);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary-soft);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn-whatsapp:hover {
  background: #1fb355;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

.btn-live {
  padding: 10px 18px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-live .live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* Iconos SVG en botones */
.icon-play, .icon-app, .icon-whatsapp { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-soft);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text);
}
.brand-text small { font-size: 0.72rem; color: var(--color-text-soft); }

.main-nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--color-primary); background: var(--color-primary-soft); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  width: 24px; height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: all 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 20px 90px;
  text-align: center;
  color: var(--color-white);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 74, 0.55) 0%, rgba(30, 60, 100, 0.45) 50%, rgba(15, 42, 74, 0.75) 100%);
}
.hero-waves {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 320px;
  opacity: 0.6;
}
.hero-content { position: relative; max-width: 820px; margin: 0 auto; }

.hero-logo-wrap {
  width: 150px; height: 150px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  background: var(--color-white);
}
.hero-logo { width: 100%; height: 100%; object-fit: cover; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero-title em {
  font-style: italic;
  color: #ffd76a;
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-accent), #ffffff);
  opacity: 0.8;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 10px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero-verse {
  margin: 26px auto 0;
  max-width: 640px;
  padding: 18px 26px;
  border-left: 4px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: #ffffff;
  text-align: left;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--color-accent);
}
.hero-verse cite {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn-hero-outline {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- Secciones genéricas ---------- */
.section { padding: 90px 0; }
.section:nth-child(even) { background: var(--color-bg-alt); }

.section-eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}
.section-title em { font-style: italic; color: var(--color-primary); }
.section-lead {
  font-size: 1.02rem;
  color: var(--color-text-soft);
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

/* ---------- Sección Escuchar ---------- */
.section-live { background: linear-gradient(180deg, var(--color-bg-soft), var(--color-bg-alt)); }

.live-player {
  max-width: 760px;
  margin: 0 auto 50px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
}
.player-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-white));
  min-height: 150px;
}
.player-frame iframe,
.azura-embed {
  display: block;
  width: 100%;
  min-height: 150px;
  height: 150px;
  border: 0;
}
.player-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.live-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.info-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.info-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-text); margin-bottom: 6px; }
.info-card p { font-size: 0.9rem; color: var(--color-text-soft); }

/* ---------- Sección Nosotros ---------- */
.section-about { background: var(--color-bg-alt); }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-text p { margin-bottom: 16px; font-size: 1rem; color: var(--color-text); }
.about-text strong { color: var(--color-primary-dark); font-weight: 600; }

.about-mission {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.about-mission h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}
.about-mission h3::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 5px;
  border-radius: 5px;
  background: var(--color-accent);
}
.about-mission p { font-size: 0.95rem; color: var(--color-text); margin-bottom: 18px; }
.about-mission ul { list-style: none; padding: 0; }
.about-mission li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.93rem;
  color: var(--color-text);
}
.about-mission li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.85rem;
}

.about-verse {
  margin-top: 44px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-accent-soft));
  border-radius: var(--radius-lg);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--color-text);
}
.about-verse cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  font-style: normal;
  font-weight: 600;
}

/* ---------- Figuras con imágenes ---------- */
.about-image {
  margin: 24px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.about-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.about-image figcaption,
.program-banner figcaption {
  padding: 12px 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  background: var(--color-white);
  text-align: center;
}

.program-banner {
  margin: 50px auto 0;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.program-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ---------- Sección Programación ---------- */
.section-program { background: var(--color-bg); }

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  max-width: 1080px;
  margin: 0 auto;
}
.program-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-soft);
}
.program-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--color-text);
  margin-bottom: 10px;
}
.program-card p { font-size: 0.92rem; color: var(--color-text-soft); }

.program-schedule {
  margin-top: 50px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  text-align: center;
}
.program-schedule h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}
.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--color-bg-soft);
  margin-bottom: 10px;
}
.schedule-item:last-child { margin-bottom: 0; }
.schedule-day { font-weight: 600; color: var(--color-text); font-size: 1rem; }
.schedule-time {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* ---------- Sección Redes Sociales ---------- */
.section-social { background: linear-gradient(180deg, var(--color-bg-alt), var(--color-bg-soft)); }

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 18px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  text-align: center;
}
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-soft);
}
.social-icon {
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.social-card span { font-weight: 600; color: var(--color-text); font-size: 1rem; }
.social-card small { font-size: 0.78rem; color: var(--color-text-soft); }

/* ---------- Feed de Facebook ---------- */
.fb-feed {
  margin-top: 50px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.fb-feed-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 18px;
}
.fb-feed-title em { font-style: italic; color: var(--color-primary); }
.fb-feed-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
  min-height: 400px;
  overflow: hidden;
}
.fb-feed-box .fb-page {
  width: 100%;
  min-height: 400px;
}

/* ---------- Sección Contacto ---------- */
.section-contact { background: var(--color-bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { font-size: 2rem; display: block; margin-bottom: 12px; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: var(--color-text); margin-bottom: 12px; }
.contact-card p { font-size: 0.95rem; color: var(--color-text); margin-bottom: 6px; }
.contact-card a { color: var(--color-primary); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-note { font-size: 0.8rem; color: var(--color-text-soft); font-style: italic; }

.contact-cta {
  text-align: center;
  margin-top: 44px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(135deg, #1f3a5f, #2e86de);
  color: #eaf2fb;
  padding: 56px 20px 40px;
  text-align: center;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-logo {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.footer-brand strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.footer-brand small { font-size: 0.8rem; color: #cfe0f2; }
.footer-verse {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: #dbe7f5;
  max-width: 640px;
  margin: 18px auto;
}
.footer-copy { font-size: 0.82rem; color: #b9cde4; margin-top: 10px; }

/* ---------- Botón flotante (móvil) ---------- */
.fab-listen {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s;
}
.fab-listen:hover { transform: translateY(-3px); }
.fab-listen .icon-play { width: 16px; height: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .btn-live { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { position: relative; justify-content: center; }
  .nav-toggle { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 20px 60px; }
  .hero-logo-wrap { width: 120px; height: 120px; }
  .section { padding: 70px 0; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.1rem; }
  .hero-verse { font-size: 0.95rem; padding: 14px 18px; }
  .live-player { padding: 18px; }
  .program-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .fab-listen span { display: none; }
  .fab-listen { padding: 14px; border-radius: 50%; }
}

/* ---------- Menú móvil ---------- */
@media (max-width: 900px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 12px 20px;
    gap: 4px;
  }
  .main-nav.open a { padding: 12px 16px; border-radius: 10px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Accesibilidad: reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-primary, .btn-outline, .btn-whatsapp,
  .info-card, .program-card, .social-card, .contact-card,
  .fab-listen { transition: none; }
  .btn-live .live-dot { animation: none; }
}