/* Portada Bendición FM — todo con prefijo "body .bfh" para ganar a los estilos del tema y de Elementor. */
body .bfh {
	--navy: #0B1736;
	--navy2: #1D3A86;
	--ink: #0B1736;
	--muted: #4A5370;
	--line: #E6E8F0;
	--soft: #F5F6FA;
	--orange: var(--bfm-accent, #EC7325);
	--orange-ink: #9A4511;
	--orange-soft: #FDF0E7;
	--sky: #1FA2E0;
	--sky-ink: #136F9E;
	--sky-soft: #E8F5FC;
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--soft);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
body .bfh *, body .bfh *::before, body .bfh *::after { box-sizing: border-box; }
body .bfh h1, body .bfh h2, body .bfh h3, body .bfh p, body .bfh figure, body .bfh blockquote { margin: 0; font-family: inherit; }
body .bfh img { max-width: 100%; height: auto; display: block; }
body .bfh a { text-decoration: none; }
body .bfh [hidden] { display: none !important; }

body .bfh .bfh-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
body .bfh .bfh-sec { padding-top: 88px; padding-bottom: 8px; }

/* tipografía */
body .bfh .bfh-h1 { font-size: clamp(44px, 6.2vw, 78px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
body .bfh .bfh-h1 span { color: var(--orange); }
body .bfh .bfh-h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: inherit; }
body .bfh .bfh-h3 { font-size: 19px; line-height: 1.3; font-weight: 800; color: inherit; }
body .bfh .bfh-p { font-size: 18px; line-height: 1.7; color: var(--muted); }
body .bfh .bfh-lead { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.8); max-width: 540px; }
body .bfh .bfh-eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #C2560F; }

/* botones */
body .bfh .bfh-actions { display: flex; flex-wrap: wrap; gap: 12px; }
body .bfh .bfh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 14px; font-size: 16px; font-weight: 700; line-height: 1; transition: transform .15s ease, background-color .2s, box-shadow .2s; }
body .bfh .bfh-btn:hover { transform: translateY(-2px); }
body .bfh .bfh-btn:focus-visible, body .bfh .bfh-more:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
body .bfh .bfh-btn-light { background: #fff; color: var(--navy); }
body .bfh .bfh-btn-light:hover { color: var(--navy); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
body .bfh .bfh-btn-ghost { border: 1px solid rgba(255,255,255,.32); color: #fff; }
body .bfh .bfh-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
body .bfh .bfh-btn-dark { background: var(--navy); color: #fff; }
body .bfh .bfh-btn-dark:hover { color: #fff; }
body .bfh .bfh-btn-glass { background: rgba(255,255,255,.18); color: #fff; }
body .bfh .bfh-btn-glass:hover { color: #fff; background: rgba(255,255,255,.26); }
body .bfh .bfh-btn-block { width: 100%; margin-top: auto; }
body .bfh .bfh-more { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); }
body .bfh .bfh-more:hover { color: #C2560F; }
body .bfh .bfh-more svg { transition: transform .2s; }
body .bfh .bfh-more:hover svg { transform: translateX(3px); }

/* ---------- portada ---------- */
body .bfh .bfh-hero {
	position: relative;
	color: #fff;
	background:
		radial-gradient(900px 520px at 85% 15%, rgba(29,58,134,1) 0%, rgba(29,58,134,0) 60%),
		radial-gradient(700px 500px at 5% 100%, rgba(236,115,37,.24) 0%, rgba(236,115,37,0) 60%),
		var(--navy);
}
body .bfh .bfh-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 92px; }
body .bfh .bfh-hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
body .bfh .bfh-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
body .bfh .bfh-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF4D4D; animation: bfh-blink 1.4s ease-in-out infinite; }

body .bfh .bfh-player { max-width: 580px; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px rgba(0,0,0,.25); backdrop-filter: blur(6px); }
body .bfh .bfh-player-top { display: flex; align-items: center; gap: 18px; }
body .bfh .bfm .bfh-play { width: 76px !important; height: 76px !important; min-width: 76px !important; }
body .bfh .bfh-play .bfm-play-i { width: 30px; height: 30px; }
body .bfh .bfh-now { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
body .bfh .bfh-now-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
body .bfh .bfh-now-label .bfm-status { font-size: inherit; color: inherit; font-weight: inherit; }
body .bfh .bfh-now-title { font-size: 21px; font-weight: 800; line-height: 1.25; }
body .bfh .bfh-now-time { font-size: 14px; color: rgba(255,255,255,.72); }
body .bfh .bfh-wave { height: 34px; gap: 4px; margin: 0; }
body .bfh .bfh-wave i { max-width: 6px; }
body .bfh .bfh-next { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.75); }
body .bfh .bfh-next strong { color: #fff; margin-right: 6px; }

body .bfh .bfh-hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
body .bfh .bfh-orb { position: relative; width: min(420px, 100%); aspect-ratio: 1 / 1; display: grid; place-items: center; }
body .bfh .bfh-orb img { position: relative; width: 80%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.45)); animation: bfh-float 6s ease-in-out infinite; }
body .bfh .bfh-ring { position: absolute; inset: 6%; border-radius: 50%; border: 2px solid var(--orange); opacity: .3; }
body .bfh .bfh-ring-b { border-color: var(--sky); opacity: 0; }
body .bfh .bfh-ring-c { inset: 0; border: 1px solid rgba(255,255,255,.08); opacity: 1; }
body .bfh .bfm[data-state="playing"] .bfh-ring-a { animation: bfh-ring 2.2s ease-out infinite; }
body .bfh .bfm[data-state="playing"] .bfh-ring-b { animation: bfh-ring 2.2s ease-out 1.1s infinite; }

/* ---------- datos ---------- */
body .bfh .bfh-facts { background: #fff; border-bottom: 1px solid var(--line); }
body .bfh .bfh-facts-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-top: 28px; padding-bottom: 28px; }
body .bfh .bfh-fact { display: flex; align-items: center; gap: 14px; }
body .bfh .bfh-fact strong { display: block; font-size: 17px; font-weight: 800; }
body .bfh .bfh-fact div span { display: block; font-size: 14px; color: var(--muted); }
body .bfh .bfh-fact-i { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
body .bfh .bfh-o { background: var(--orange-soft); color: #C2560F; }
body .bfh .bfh-b { background: var(--sky-soft); color: var(--sky-ink); }

/* ---------- programación ---------- */
body .bfh .bfh-sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 34px; }
body .bfh .bfh-sec-head > div { display: flex; flex-direction: column; gap: 10px; }
body .bfh .bfh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
body .bfh .bfh-prog { display: flex; flex-direction: column; gap: 14px; min-height: 180px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(11,23,54,.05); transition: transform .2s ease, box-shadow .2s ease; }
body .bfh .bfh-prog:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(11,23,54,.12); }
body .bfh .bfh-prog-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body .bfh .bfh-prog-time { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
body .bfh .bfh-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
body .bfh .bfh-tag { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--orange-soft); color: var(--orange-ink); }
body .bfh .bfh-tag-soft { background: #F0F2F7; color: var(--muted); font-weight: 600; }
body .bfh .bfh-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #C2560F; padding: 5px 9px; border-radius: 999px; }
body .bfh .bfh-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: bfh-blink 1.4s ease-in-out infinite; }
body .bfh .bfh-prog.is-live { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 22px 50px rgba(11,23,54,.25); }
body .bfh .bfh-prog.is-live .bfh-prog-time { color: rgba(255,255,255,.8); }
body .bfh .bfh-prog.is-live .bfh-tag { background: rgba(255,255,255,.14); color: #fff; }
body .bfh .bfh-prog.is-done { opacity: .55; }
body .bfh .bfh-empty { grid-column: 1 / -1; font-size: 17px; color: var(--muted); }

/* ---------- quiénes somos ---------- */
body .bfh .bfh-about { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 40px; border-radius: 32px; background: #fff; box-shadow: 0 20px 60px rgba(11,23,54,.07); }
body .bfh .bfh-about-img { position: relative; flex: 1 1 300px; min-width: 0; }
body .bfh .bfh-about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 24px; }
body .bfh .bfh-about-img figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 18px; background: rgba(11,23,54,.9); color: #fff; }
body .bfh .bfh-about-img figcaption strong { display: block; font-size: 17px; font-weight: 800; }
body .bfh .bfh-about-img figcaption span { display: block; font-size: 14px; color: rgba(255,255,255,.78); }
body .bfh .bfh-about-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
body .bfh .bfh-quote { padding: 22px 24px; border: 0; border-radius: 20px; background: var(--orange-soft); font-size: 19px; line-height: 1.55; font-weight: 600; font-style: normal; color: #7A3410; }

/* ---------- apoya ---------- */
body .bfh .bfh-support { margin-top: 88px; background: var(--navy); color: #fff; padding: 92px 0; }
body .bfh .bfh-support-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }
body .bfh .bfh-support .bfh-eyebrow { color: var(--orange); }
body .bfh .bfh-support .bfh-p { color: rgba(255,255,255,.78); }
body .bfh .bfh-cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
body .bfh .bfh-scard { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
body .bfh .bfh-scard p { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.75); }
body .bfh .bfh-scard small { font-size: 13px; color: rgba(255,255,255,.65); margin-top: auto; }
body .bfh .bfh-scard-i { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
body .bfh .bfh-acc { background: var(--orange); }
body .bfh .bfh-sky { background: var(--sky-ink); }
body .bfh .bfh-banks { display: flex; flex-direction: column; gap: 8px; }
body .bfh .bfh-banks div { display: flex; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 15px; }
body .bfh .bfh-banks strong { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- cierre ---------- */
body .bfh .bfh-cta { display: flex; flex-wrap: wrap; overflow: hidden; border-radius: 32px; background: #C2560F; color: #fff; margin-bottom: 88px; }
body .bfh .bfh-cta-text { flex: 999 1 460px; min-width: 0; padding: 56px 48px; display: flex; flex-direction: column; gap: 18px; }
body .bfh .bfh-cta-text p { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 480px; }
body .bfh .bfh-eyebrow-w { color: rgba(255,255,255,.88); }
body .bfh .bfh-cta-img { flex: 1 1 320px; min-width: 0; min-height: 260px; }
body .bfh .bfh-cta-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- animación de entrada ---------- */
body .bfh .bfh-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
body .bfh .bfh-reveal.is-in { opacity: 1; transform: none; }

/* ---------- celular ---------- */
@media (max-width: 760px) {
	body .bfh .bfh-wrap { padding-left: 16px; padding-right: 16px; }
	body .bfh .bfh-sec { padding-top: 56px; }
	body .bfh .bfh-hero-in { flex-direction: column-reverse; gap: 8px; padding-top: 28px; padding-bottom: 44px; }
	body .bfh .bfh-hero-art { flex: 0 0 auto; }
	body .bfh .bfh-orb { width: 200px; }
	body .bfh .bfh-hero-text { flex: 0 0 auto; width: 100%; gap: 20px; text-align: center; }
	body .bfh .bfh-pill { align-self: center; }
	body .bfh .bfh-lead { font-size: 16px; margin: 0 auto; }
	body .bfh .bfh-player { padding: 16px; text-align: left; }
	body .bfh .bfh-player-top { gap: 14px; }
	body .bfh .bfm .bfh-play { width: 64px !important; height: 64px !important; min-width: 64px !important; }
	body .bfh .bfh-now-title { font-size: 17px; }
	body .bfh .bfh-actions { flex-direction: column; }
	body .bfh .bfh-btn { width: 100%; }
	body .bfh .bfh-facts-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	body .bfh .bfh-fact { flex-direction: column; align-items: flex-start; gap: 8px; }
	body .bfh .bfh-sec-head { margin-bottom: 22px; }
	body .bfh .bfh-grid { grid-template-columns: 1fr; gap: 12px; }
	body .bfh .bfh-prog { min-height: 0; padding: 18px; gap: 10px; }
	body .bfh .bfh-about { padding: 16px; gap: 20px; border-radius: 26px; }
	body .bfh .bfh-about-img img { aspect-ratio: 1 / 1; }
	body .bfh .bfh-p { font-size: 16px; }
	body .bfh .bfh-quote { font-size: 16px; padding: 16px 18px; }
	body .bfh .bfh-support { margin-top: 56px; padding: 56px 0; }
	body .bfh .bfh-scard { padding: 20px; }
	body .bfh .bfh-cta { margin-bottom: 56px; border-radius: 26px; flex-direction: column-reverse; }
	body .bfh .bfh-cta-text { padding: 26px 20px 28px; }
	body .bfh .bfh-cta-img { min-height: 170px; height: 170px; flex: 0 0 auto; }
}

@keyframes bfh-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes bfh-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes bfh-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
	body .bfh *, body .bfh *::before { animation: none !important; transition: none !important; }
	body .bfh .bfh-reveal { opacity: 1; transform: none; }
}

/* Tamaño de iconos: el tema fuerza los svg al 100 %. */
body .bfh .bfh-btn svg { width: 20px !important; height: 20px !important; flex: 0 0 auto; }
body .bfh .bfh-more svg { width: 18px !important; height: 18px !important; flex: 0 0 auto; }
body .bfh .bfh-fact-i svg { width: 22px !important; height: 22px !important; }
body .bfh .bfh-scard-i svg { width: 24px !important; height: 24px !important; }
body .bfh .bfh-about-img figcaption { font-style: normal; text-align: left; margin: 0; }

/* En la portada, el bloque "Se parte de esta gran familia" del pie de ElementsKit sobra: ya está en el cierre. */
body.home .elementor-element-1ba881b0 { display: none !important; }
/* Mientras suena, la etiqueta dice solo "Al aire ahora". */
body .bfh .bfm[data-state="playing"] .bfh-st { display: none; }

/* ---------- video de fondo del hero con capa de color ---------- */
body .bfh .bfh-hero { background: #0B1736; isolation: isolate; overflow: hidden; }
body .bfh .bfh-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; container-type: size; opacity: 0; transition: opacity 1.4s ease; }
body .bfh .bfh-hero-media.is-on { opacity: 1; }
body .bfh .bfh-hero-media iframe {
	position: absolute; top: 50%; left: 50%; border: 0;
	width: 177.78vh; min-width: 100%; height: 56.25vw; min-height: 100%;
	width: max(100cqw, 177.78cqh); height: max(56.25cqw, 100cqh);
	transform: translate(-50%, -50%) scale(1.18);
	filter: saturate(.85);
}
body .bfh .bfh-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
body .bfh .bfh-hero-tint {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		radial-gradient(900px 520px at 85% 15%, rgba(29,58,134,.85) 0%, rgba(29,58,134,0) 60%),
		radial-gradient(700px 500px at 5% 100%, rgba(236,115,37,.26) 0%, rgba(236,115,37,0) 60%),
		linear-gradient(90deg, rgba(11,23,54,.25) 0%, rgba(11,23,54,0) 55%),
		rgba(11,23,54,var(--bfh-tint, .78));
}
body .bfh .bfh-hero-in { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { body .bfh .bfh-hero-media { display: none; } }
@media (max-width: 760px) {
	body .bfh .bfh-hero-tint {
		background:
			radial-gradient(360px 260px at 0% 100%, rgba(236,115,37,.22) 0%, rgba(236,115,37,0) 60%),
			linear-gradient(180deg, rgba(11,23,54,.25) 0%, rgba(11,23,54,0) 30%, rgba(11,23,54,.2) 100%),
			rgba(11,23,54,var(--bfh-tint, .6));
	}
}
