/* ============================================================
   Iglesia MMM · Presbiterio 18
   index.css — v2 (mejoras de diseño y responsive)
   ============================================================ */

:root {
    /* ========== PALETA PRINCIPAL ========== */
    --orange-primary: #FF6A00;
    --orange-soft:    #FF9E4A;
    --orange-strong:  #E65C00;
    --orange-light:   #FFF3E0;

    /* ========== AZUL OSCURO (Secundario) ========== */
    --blue-dark:      #0F172A;
    --blue-deep:      #1E293B;
    --blue-medium:    #334155;
    --blue-light:     #F1F5F9;

    /* ========== BLANCO Y TEXTOS ========== */
    --bg-white:       #FFFFFF;
    --bg-light:       #F8FAFC;
    --text-primary:   #0F172A;
    --text-secondary: #475569;
    --text-tertiary:  #94A3B8;
    --text-light:     #FFFFFF;

    /* ========== TIPOGRAFÍA ========== */
    --font-display:   'Fraunces', Georgia, serif;
    --font-body:      'Inter', system-ui, sans-serif;
    --font-heading:   'Poppins', 'Inter', sans-serif;

    /* ========== RADIOS Y SOMBRAS ========== */
    --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
    --shadow-orange: 0 8px 24px rgba(255, 106, 0, 0.25);
    --shadow-blue: 0 8px 24px rgba(15, 23, 42, 0.15);

    /* ✅ NUEVO: altura del header para offsets */
    --header-offset: 76px;
}

/* ============================================================
   RESET Y BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

/* ✅ FIX: el header es fixed; el body necesita padding-top para no tapar el hero */
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-offset); /* ✅ compensa header fixed */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ✅ Contenedor más consistente */
.container { width: min(1240px, 92%); margin-inline: auto; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .5rem; padding: .85rem 1.6rem; border-radius: var(--radius-full);
    font-weight: 600; font-size: .92rem; transition: all .3s ease; white-space: nowrap;
    border: 1.5px solid transparent;
    -webkit-tap-highlight-color: transparent; /* ✅ sin flash al tocar en móvil */
}
.btn i { transition: transform .3s ease; }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }

.btn--primary { background: var(--orange-primary); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-strong); transform: translateY(-2px); }

.btn--outline { background: transparent; color: var(--blue-dark); border-color: #E2E8F0; }
.btn--outline:hover { border-color: var(--orange-primary); color: var(--orange-primary); }

.btn--white { background: #fff; color: var(--blue-dark); box-shadow: var(--shadow-md); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--sm { padding: .6rem 1.2rem; font-size: .85rem; }

/* ✅ Nuevo: botón bloque en móvil */
@media (max-width: 480px) {
    .btn--block-mobile { width: 100%; }
}

/* ============================================================
   HERO PRINCIPAL
   ============================================================ */
.hero {
    position: relative; width: 100%;
    height: calc(100vh - var(--header-offset)); /* ✅ descuenta el header */
    min-height: 560px; /* ✅ más flexible en móvil */
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; isolation: isolate; background: var(--blue-dark);
}

.hero__video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
.hero__overlay {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.30) 50%, rgba(15, 23, 42, 0.65) 100%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.40) 0%, transparent 35%, rgba(15, 23, 42, 0.70) 100%);
}

.hero__content {
    position: relative; z-index: 2; width: 100%;
    max-width: 1050px; margin: 0 auto;
    padding: 0 25px 65px; text-align: center; color: var(--text-light);
}

.hero__badge {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 12px 20px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50px;
    background: rgba(255,255,255,0.10); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: #FFFFFF; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    /* ✅ ahora puede envolver en pantallas muy pequeñas */
    flex-wrap: wrap; text-align: center; max-width: 100%;
}
.hero__badge-dot {
    width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%;
    background: var(--orange-primary); box-shadow: 0 0 12px rgba(255,106,0,0.9);
}

.hero__title {
    display: flex; flex-direction: column; align-items: center;
    margin: 0 0 25px; font-family: var(--font-display);
    font-size: clamp(1.7rem, 5vw, 4.2rem); /* ✅ mínimo más bajo */
    font-weight: 700; line-height: 1.12; letter-spacing: -1.5px;
    color: #FFFFFF; text-shadow: 0 5px 25px rgba(0,0,0,0.45);
    text-wrap: balance; /* ✅ mejor salto de línea */
}
.hero__title span {
    display: block; margin-top: 8px;
    font-size: 0.65em; font-weight: 700; line-height: 1.25; letter-spacing: -0.5px;
}
.hero__title em {
    display: block; margin-top: 10px;
    font-size: 0.87em; font-style: normal; font-weight: 900;
    color: var(--orange-primary); text-shadow: 0 3px 20px rgba(255,106,0,0.25);
}

.hero__divider {
    width: 75px; height: 4px; margin: 25px auto; border-radius: 10px;
    background: linear-gradient(90deg, var(--orange-primary), #FFFFFF);
}

.hero__verse {
    position: relative; max-width: 760px; margin: 0 auto; padding: 0 20px;
    font-family: var(--font-display);
    font-size: clamp(0.92rem, 1.5vw, 1.12rem);
    font-weight: 400; font-style: italic; line-height: 1.85;
    color: rgba(255,255,255,0.92); text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    text-wrap: pretty;
}
.hero__quote-mark {
    display: block; height: 30px; color: var(--orange-primary);
    font-family: Georgia, serif; font-size: 3.4rem; font-weight: bold; line-height: 1;
}
.hero__verse cite {
    display: block; margin-top: 18px;
    font-family: var(--font-heading); font-size: 0.72rem;
    font-style: normal; font-weight: 800; letter-spacing: 2px;
    color: var(--orange-primary);
}

.hero__wave {
    position: absolute; bottom: -1px; left: 0; width: 100%; height: 85px;
    z-index: 3; pointer-events: none;
}
.hero__wave svg { display: block; width: 100%; height: 100%; }

/* ✅ HERO: ajustes móvil */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-offset));
        padding: 40px 0 80px;
    }
    .hero__content { padding: 0 18px 20px; }
    .hero__badge { font-size: 0.66rem; padding: 10px 16px; letter-spacing: 1.2px; gap: 8px; }
    .hero__divider { margin: 20px auto; width: 60px; height: 3px; }
    .hero__wave { height: 55px; }
}
@media (max-width: 480px) {
    .hero__title { letter-spacing: -0.8px; }
    .hero__quote-mark { font-size: 2.8rem; height: 24px; }
    .hero__content { padding: 0 14px 10px; }
}

/* ============================================================
   SECCIONES Y TÍTULOS (unificados y compactos)
   ============================================================ */
.section { padding: 3rem 0; }
.bg-light { background: var(--bg-light); }

.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap;
    border-bottom: 2px solid #E2E8F0; padding-bottom: 0.8rem;
}

.header-title { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.header-title h2,
.header-title h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800; margin: 0;
    color: var(--blue-dark); letter-spacing: -0.5px;
    line-height: 1.2;
}
.icon-header { font-size: 1.5rem; color: var(--orange-primary); flex-shrink: 0; }

.badge-live {
    background: var(--orange-primary); color: white; padding: 0.2rem 0.6rem; border-radius: 4px;
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
    margin-right: 0.5rem;
}
.subtitle { margin: 0.2rem 0 0 0; font-size: 0.9rem; color: var(--text-tertiary); }

.section-header-mini {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 1rem; border-bottom: 2px solid #E2E8F0; padding-bottom: 0.8rem;
    gap: 0.8rem; flex-wrap: wrap;
}
.section-header-mini h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem; font-weight: 800; margin: 0; color: var(--blue-dark);
}

/* ✅ Títulos responsive */
@media (max-width: 768px) {
    .header-title h2, .header-title h3, .section-header-mini h3 { font-size: 1.3rem; }
    .icon-header { font-size: 1.25rem; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
}
@media (max-width: 480px) {
    .header-title h2, .header-title h3, .section-header-mini h3 { font-size: 1.15rem; }
}

/* ============================================================
   EVENTOS (tarjetas grandes)
   ============================================================ */
.horizontal-scroll-events {
    display: flex; gap: 1.5rem; overflow-x: auto;
    padding: 0.5rem 0.2rem 1.5rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* ✅ snap en móvil */
    scrollbar-width: thin;
    scrollbar-color: var(--orange-primary) transparent;
    -webkit-overflow-scrolling: touch;
}
.horizontal-scroll-events::-webkit-scrollbar { height: 8px; }
.horizontal-scroll-events::-webkit-scrollbar-thumb { background: var(--orange-primary); border-radius: 4px; }
.horizontal-scroll-events > * { scroll-snap-align: start; }

.event-card {
    flex: 1 0 400px; max-width: 550px;
    display: flex; align-items: stretch; gap: 1.5rem;
    background: white; border: 1px solid #E2E8F0; border-radius: var(--radius-xl);
    padding: 1.5rem;
    transition: all 0.3s ease; text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.event-card:hover {
    border-color: var(--orange-primary);
    box-shadow: var(--shadow-orange);
    transform: translateY(-4px);
}

.event-date-box {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 100px; padding: 1rem; background: #FFF3EB;
    border-radius: var(--radius-lg); border: 1px solid #FFD8C2; flex-shrink: 0;
}
.event-date-box .month { font-size: 0.95rem; font-weight: 800; color: var(--orange-primary); text-transform: uppercase; letter-spacing: 1px; }
.event-date-box .day { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 800; line-height: 1; color: var(--blue-dark); margin: 0.3rem 0; }
.event-date-box .weekday { font-size: 0.9rem; color: var(--text-tertiary); text-transform: uppercase; font-weight: 600; }

.event-img {
    width: 130px; height: 130px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0;
    background: var(--bg-light); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-img { font-size: 2.5rem; color: var(--text-tertiary); }

.event-info { display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; min-width: 0; }
.event-info h4 { font-family: var(--font-heading); font-size: 1.35rem; margin: 0; color: var(--blue-dark); line-height: 1.3; }
.event-time, .event-location { font-size: 1rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.event-time i, .event-location i { color: var(--orange-primary); width: 18px; font-size: 1rem; }

/* ✅ Ocultar la hora en las tarjetas de eventos (mantenido) */
.event-time,
.event-card .time,
.event-card .event-date-time { display: none !important; }

/* ✅ EVENTOS: responsive */
@media (max-width: 768px) {
    .event-card {
        flex: 0 0 88%; /* ✅ una tarjeta casi a lo ancho */
        max-width: none;
        flex-direction: column;
        text-align: left;
        gap: 1rem;
        padding: 1.1rem;
    }
    .event-date-box {
        flex-direction: row; gap: 0.6rem; width: 100%; justify-content: flex-start;
        padding: 0.55rem 1rem; margin-bottom: 0; min-width: unset;
    }
    .event-date-box .day { font-size: 1.6rem; margin: 0; }
    .event-img { width: 100%; height: 180px; }
    .event-info h4 { font-size: 1.15rem; }
    .event-time, .event-location { font-size: 0.9rem; }
}
@media (max-width: 480px) {
    .event-card { flex: 0 0 92%; padding: 1rem; }
    .event-img { height: 150px; }
    .event-date-box .month { font-size: 0.8rem; }
    .event-date-box .day { font-size: 1.4rem; }
}

/* ============================================================
   NUESTRO LEMA
   ============================================================ */
.section--mensajes { padding: 3rem 0; background: var(--bg-light); }

.lema-header {
    text-align: left; display: flex; flex-direction: column; align-items: flex-start;
    margin-bottom: 1.8rem; border-bottom: 2px solid #E2E8F0; padding-bottom: 0.8rem; width: 100%;
}
.lema-header .header-title { display: flex; align-items: center; justify-content: flex-start; gap: 14px; }
.lema-header .icon-header { color: var(--orange-primary); font-size: 1.5rem; }
.lema-header h2 { color: var(--blue-dark); font-size: 1.6rem; font-weight: 800; margin: 0; }

.lema-container { display: flex; justify-content: center; width: 100%; }
.mensaje-card {
    position: relative; width: 100%; max-width: 1050px;
    min-height: 390px;
    overflow: hidden; isolation: isolate; border-radius: 20px;
    background: var(--blue-deep); box-shadow: var(--shadow-blue);
    transition: box-shadow 0.4s ease;
}
.mensaje-card:hover { box-shadow: 0 22px 50px rgba(15,23,42,0.25); }
.mensaje-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center; z-index: -2;
    transition: transform 0.8s ease;
}
.mensaje-card:hover .mensaje-bg { transform: scale(1.04); }
.mensaje-overlay {
    position: absolute; inset: 0; z-index: -1;
    display: flex; flex-direction: column; padding: 30px 42px;
    background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.70) 48%, rgba(15,23,42,0.10) 100%);
}
.lema-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.mensaje-ref {
    padding: 10px 18px; border-radius: 6px;
    background: var(--orange-primary); color: #FFFFFF;
    font-size: 0.75rem; font-weight: 800; letter-spacing: 1px;
}
.lema-content {
    max-width: 720px; margin-top: auto; margin-bottom: auto;
    padding: 35px 0 10px; text-align: left;
}
.mensaje-overlay blockquote {
    margin: 0; color: #FFFFFF; font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2.4rem); font-weight: 800; font-style: italic; line-height: 1.4;
    text-shadow: 0 3px 15px rgba(0,0,0,0.45);
    text-wrap: balance;
}
.lema-button {
    display: inline-flex; align-items: center; gap: 13px;
    margin-top: 30px; padding: 13px 23px;
    border: 1px solid var(--orange-primary); border-radius: 6px;
    background: var(--orange-primary); color: #FFFFFF;
    font-size: 0.85rem; font-weight: 700; text-decoration: none;
    transition: all 0.3s ease;
}
.lema-button:hover {
    background: #FFFFFF; border-color: #FFFFFF; color: var(--orange-primary);
    transform: translateX(4px);
}
.lema-empty {
    max-width: 1050px; margin: 0 auto; padding: 55px 20px; text-align: center;
    background: #FFFFFF; border: 1px dashed #CBD5E1; border-radius: 16px;
    color: var(--text-secondary);
}
.lema-empty i { display: block; margin-bottom: 15px; font-size: 2.5rem; color: var(--orange-primary); }

/* ✅ LEMA: responsive */
@media (max-width: 768px) {
    .mensaje-card { min-height: 320px; border-radius: 16px; }
    .mensaje-overlay { padding: 22px 22px; }
    .lema-content { padding: 20px 0 6px; }
    .mensaje-overlay blockquote { font-size: clamp(1.15rem, 4vw, 1.6rem); }
    .lema-button { margin-top: 20px; padding: 11px 18px; font-size: 0.8rem; }
    .mensaje-ref { padding: 8px 14px; font-size: 0.7rem; }
    .lema-header h2 { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .mensaje-overlay { padding: 18px 16px; }
    .mensaje-card { min-height: 280px; }
    .lema-content { padding: 14px 0 4px; }
    .lema-header h2 { font-size: 1.15rem; }
    .lema-button { width: 100%; justify-content: center; }
}

/* ============================================================
   IGLESIAS (scroll horizontal)
   ============================================================ */
.horizontal-scroll-iglesias {
    display: flex; gap: 1.5rem; overflow-x: auto; padding-bottom: 1.5rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* ✅ */
    scrollbar-width: thin;
    scrollbar-color: var(--orange-primary) transparent;
    -webkit-overflow-scrolling: touch;
}
.horizontal-scroll-iglesias::-webkit-scrollbar { height: 8px; }
.horizontal-scroll-iglesias::-webkit-scrollbar-thumb { background: var(--orange-primary); border-radius: 4px; }
.horizontal-scroll-iglesias > * { scroll-snap-align: start; }

.iglesia-card {
    flex: 1 0 300px; max-width: 400px; position: relative; display: block;
    border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10;
    text-decoration: none; box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.iglesia-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.iglesia-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.iglesia-card:hover img { transform: scale(1.08); }
.iglesia-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.90), transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.5rem; color: white;
}
.iglesia-overlay h4 { font-family: var(--font-heading); font-size: 1.2rem; margin: 0 0 0.3rem 0; }
.iglesia-overlay span { font-size: 0.85rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 0.4rem; }

/* ✅ IGLESIAS: responsive */
@media (max-width: 768px) {
    .iglesia-card { flex: 0 0 78%; max-width: none; }
    .iglesia-overlay { padding: 1.1rem; }
    .iglesia-overlay h4 { font-size: 1.05rem; }
}
@media (max-width: 480px) {
    .iglesia-card { flex: 0 0 86%; }
}

/* ============================================================
   RADIO
   ============================================================ */
.radio-banner {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-deep));
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; color: white; box-shadow: var(--shadow-lg); flex-wrap: wrap;
}
.radio-info { display: flex; align-items: center; gap: 1.5rem; min-width: 0; }
.radio-info img { width: 120px; height: 103px; flex-shrink: 0; }
.radio-icon { font-size: 2.5rem; color: var(--orange-primary); }
.radio-info h3 { font-family: var(--font-heading); font-size: 1.7rem; margin: 0; line-height: 1.1; }
.radio-info h3 span { color: var(--orange-primary); }
.radio-info p { margin: 0.2rem 0 0 0; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.radio-player { display: flex; align-items: center; gap: 1rem; }
.play-btn-round {
    width: 50px; height: 50px; border-radius: 50%; background: var(--orange-primary);
    color: white; font-size: 1.2rem; display: grid; place-items: center;
    transition: transform 0.2s; border: none; cursor: pointer;
    flex-shrink: 0;
}
.play-btn-round:hover { transform: scale(1.1); }
.waveform { display: flex; align-items: center; gap: 4px; height: 40px; }
.waveform span { display: block; width: 4px; background: #FFFFFF; border-radius: 2px; animation: wave 1.2s ease-in-out infinite; }
.waveform span:nth-child(1) { height: 10px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 15px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 25px; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 35px; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 12px; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 22px; animation-delay: 0.7s; }
@keyframes wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

.radio-schedule { text-align: right; }
.radio-schedule span { font-size: 0.8rem; color: rgba(255,255,255,0.7); display: block; margin-bottom: 0.2rem; }
.radio-schedule p { margin: 0 0 0.5rem 0; font-size: 0.9rem; font-weight: 600; }

/* ✅ RADIO: responsive */
@media (max-width: 1024px) {
    .radio-banner { flex-direction: column; text-align: center; padding: 2rem; }
    .radio-info { flex-direction: column; }
    .radio-schedule { text-align: center; }
}
@media (max-width: 480px) {
    .radio-banner { padding: 1.5rem; gap: 1.2rem; }
    .radio-info img { width: 90px; height: 78px; }
    .radio-info h3 { font-size: 1.35rem; }
    .radio-info p { font-size: 0.82rem; }
    .play-btn-round { width: 46px; height: 46px; }
    .waveform { height: 32px; }
}

/* ============================================================
   TRANSMISIONES
   ============================================================ */
.live-container { display: flex; justify-content: center; }
.live-player-wrapper {
    width: 100%; max-width: 800px; aspect-ratio: 16/9;
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-lg); background: var(--blue-dark);
    display: flex; align-items: center; justify-content: center;
}
.live-player-wrapper iframe { width: 100%; height: 100%; border: none; }
.live-player-wrapper.placeholder { flex-direction: column; color: var(--text-tertiary); gap: 1rem; }
.live-player-wrapper.placeholder i { font-size: 3rem; color: var(--orange-primary); }
.placeholder-live { text-align: center; color: var(--text-tertiary); }
.placeholder-live i { font-size: 3rem; margin-bottom: 1rem; color: var(--orange-primary); }

@media (max-width: 480px) {
    .live-player-wrapper { border-radius: var(--radius-lg); }
}

/* ============================================================
   MULTIMEDIA (Predicas y Alabanzas)
   ============================================================ */
.split-multimedia { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.col-multimedia { display: flex; flex-direction: column; min-width: 0; }

.horizontal-scroll {
    display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: 1rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* ✅ */
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.horizontal-scroll::-webkit-scrollbar { height: 6px; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
.horizontal-scroll > * { scroll-snap-align: start; }

.media-card {
    flex: 1 0 200px; max-width: 280px;
    background: white; border-radius: var(--radius-md);
    overflow: hidden; border: 1px solid #E2E8F0;
    text-decoration: none; transition: all 0.3s ease;
}
.media-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange-primary); }
.media-thumb {
    position: relative; width: 100%; aspect-ratio: 16/9;
    background: var(--blue-dark); display: flex; align-items: center; justify-content: center;
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-thumb { font-size: 2rem; color: rgba(255,255,255,0.3); }
.play-overlay {
    position: absolute; inset: 0; background: rgba(15,23,42,0.4);
    display: grid; place-items: center; opacity: 0; transition: opacity 0.3s;
}
.media-card:hover .play-overlay { opacity: 1; }
.play-overlay i { color: white; font-size: 2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.media-info { padding: 0.8rem; }
.media-info h4 {
    font-family: var(--font-heading); font-size: 0.95rem; margin: 0 0 0.3rem 0;
    color: var(--blue-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.media-info small { font-size: 0.8rem; color: var(--text-tertiary); }
.empty-msg { font-size: 0.9rem; color: var(--text-tertiary); font-style: italic; padding: 1rem; }

@media (max-width: 1024px) {
    .split-multimedia { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
    .media-card { flex: 0 0 72%; max-width: none; }
}
@media (max-width: 480px) {
    .media-card { flex: 0 0 82%; }
}

/* ============================================================
   CTA DONACIONES
   ============================================================ */
.cta-donacion {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-strong));
    border-radius: var(--radius-xl); padding: 3rem 4rem;
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; box-shadow: var(--shadow-lg); flex-wrap: wrap;
}
.cta-icon { font-size: 4rem; color: rgba(255,255,255,0.9); display: flex; align-items: center; flex-shrink: 0; }
.cta-text { flex: 1; min-width: 260px; }
.cta-text h2 { font-family: var(--font-display); font-size: 2rem; color: white; margin: 0 0 0.5rem 0; line-height: 1.1; }
.cta-text p { color: rgba(255,255,255,0.9); margin: 0; font-size: 1rem; }

@media (max-width: 1024px) {
    .cta-donacion { flex-direction: column; text-align: center; padding: 2.5rem; }
    .cta-icon { margin-bottom: 1rem; }
}
@media (max-width: 480px) {
    .cta-donacion { padding: 2rem 1.5rem; gap: 1.2rem; }
    .cta-text h2 { font-size: 1.5rem; }
    .cta-text p { font-size: 0.9rem; }
    .cta-icon { font-size: 3rem; }
    .cta-donacion .btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE GLOBAL (ajustes generales)
   ============================================================ */
@media (max-width: 1024px) {
    .container { width: min(1240px, 94%); }
}

@media (max-width: 768px) {
    .section { padding: 2rem 0; }
    .container { width: 92%; }
}

@media (max-width: 480px) {
    .section { padding: 1.8rem 0; }
    .container { width: 94%; }
}

/* ============================================================
   ACCESIBILIDAD — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .waveform span { animation: none; }
}