/*
Theme Name:   YATV
Theme URI:    https://interyatv.com/
Description:  Tema hijo de GeneratePress para YATV Internet y Televisión (San José de la Montaña, Antioquia).
Author:       YATV
Template:     generatepress
Version:      1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain:  yatv
License:      GPL-2.0-or-later
*/

/* ---------- Fuentes (servidas localmente) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-800.woff2") format("woff2"); }

/* ---------- Tokens (colores tomados del logo) ---------- */
:root {
	--yatv-blue: #2e81c0;      /* Azul del logo */
	--yatv-blue-700: #1c5f95;  /* Azul para texto/botones sobre blanco (contraste AA) */
	--yatv-navy: #0d2f4f;
	--yatv-yellow: #fbea1a;    /* Amarillo del logo */
	--yatv-gold: #ecc80e;
	--yatv-ink: #14273a;
	--yatv-muted: #4a5d70;
	--yatv-bg: #f3f8fc;
	--yatv-line: #d8e4ef;
	--yatv-white: #fff;
	--yatv-ok: #116b3a;
	--yatv-error: #b3261e;
	--yatv-radius: 18px;
	--yatv-radius-sm: 10px;
	--yatv-shadow: 0 10px 30px rgba(13, 47, 79, .08);
	--yatv-shadow-lg: 0 18px 50px rgba(13, 47, 79, .14);
	--yatv-wrap: 1200px;
	--yatv-gutter: clamp(16px, 4vw, 32px);
	--yatv-font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	font-family: var(--yatv-font);
	font-size: 18px;
	line-height: 1.6;
	color: var(--yatv-ink);
	background: var(--yatv-white);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--yatv-font); color: var(--yatv-navy); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .5em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: .4em; }
p { margin-bottom: 1em; }
a { color: var(--yatv-blue-700); text-underline-offset: 3px; }
a:hover { color: var(--yatv-navy); }
.entry-content p a:not(.wp-block-button__link):not(.yatv-btn), .entry-content li a:not(.yatv-link-card), .yatv-check a, .yatv-alert a { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--yatv-navy); outline-offset: 3px; border-radius: 4px; }
.yatv-section--dark :focus-visible, .yatv-hero :focus-visible, .yatv-footer :focus-visible { outline-color: var(--yatv-yellow); }
img { height: auto; max-width: 100%; }
.yatv-icon { flex: none; }

/* ---------- Estructura de GeneratePress ---------- */
.full-width-content .container.grid-container,
.full-width-content .site-content { max-width: none; padding: 0; }
.full-width-content .inside-article,
.one-container.full-width-content .site-main,
.one-container .site-content { padding: 0; margin: 0; }
.full-width-content .entry-content { margin: 0; }
.one-container:not(.full-width-content) .site-content { padding: 48px var(--yatv-gutter); }
.site-main > article { margin-bottom: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.site-main .wp-block-group__inner-container { padding: 0; }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--yatv-white); box-shadow: 0 1px 0 var(--yatv-line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.inside-header { padding: 10px var(--yatv-gutter); max-width: var(--yatv-wrap); }
.site-header .site-logo img.header-image { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 14px; }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a { font-weight: 600; font-size: 17px; color: var(--yatv-navy); line-height: 64px; padding: 0 14px; }
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus-within > a { color: var(--yatv-blue-700); background: transparent; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--yatv-blue-700); background: transparent; box-shadow: inset 0 -3px 0 var(--yatv-yellow); }
.main-navigation .menu-bar-items { align-items: center; padding-left: 10px; }
.yatv-header-cta.yatv-btn { padding: 10px 18px; font-size: 16px; }
.main-navigation .menu-bar-items .yatv-header-cta, .main-navigation .menu-bar-items .yatv-header-cta:hover { color: var(--yatv-navy); }
.main-navigation .menu-toggle, .main-navigation .menu-toggle:hover, .main-navigation .menu-toggle:focus { color: var(--yatv-navy); background: transparent; font-weight: 600; }
.main-navigation .menu-bar-items a.yatv-header-cta { font-weight: 800; line-height: 1.2; padding: 10px 18px; color: var(--yatv-navy); }
@media (max-width: 768px) { .site-header .site-logo img.header-image { width: 52px; height: 52px; } }
@media (max-width: 1199px) {
	.main-navigation .main-nav ul li a { line-height: 52px; }
	.main-navigation.toggled .main-nav > ul { background: var(--yatv-white); border-top: 1px solid var(--yatv-line); }
	.main-navigation.toggled .main-nav ul li a { line-height: 48px; padding: 0 var(--yatv-gutter); }
	.main-navigation .menu-bar-items a.yatv-header-cta { padding: 8px 14px; font-size: 15px; min-height: 44px; }
}
@media (max-width: 380px) { .yatv-header-cta { display: none; } }

/* ---------- Botones ---------- */
.yatv-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 12px 24px;
	border: 2px solid transparent; border-radius: 999px;
	font-family: var(--yatv-font); font-weight: 800; font-size: 17px; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.yatv-btn:hover, .wp-block-button__link:hover { transform: translateY(-1px); text-decoration: none; }
.yatv-btn:active, .wp-block-button__link:active { transform: translateY(0); }
.yatv-btn:disabled, .yatv-btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }
.yatv-btn--primary, .wp-block-button__link { background: var(--yatv-blue-700); color: var(--yatv-white); }
.yatv-btn--primary:hover, .wp-block-button__link:hover, .yatv-btn--primary:focus, .wp-block-button__link:focus { background: var(--yatv-navy); color: var(--yatv-white); }
.yatv-btn--accent, .wp-block-button.yatv-accent .wp-block-button__link { background: var(--yatv-yellow); color: var(--yatv-navy); box-shadow: inset 0 -3px 0 var(--yatv-gold); }
.yatv-btn--accent:hover, .yatv-btn--accent:focus, .wp-block-button.yatv-accent .wp-block-button__link:hover { background: var(--yatv-gold); color: var(--yatv-navy); }
.yatv-btn--ghost, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--yatv-blue-700); border-color: currentColor; }
.yatv-btn--ghost:hover, .yatv-btn--ghost:focus, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--yatv-bg); color: var(--yatv-navy); }
.yatv-btn--light { background: var(--yatv-white); color: var(--yatv-navy); }
.yatv-btn--lg { min-height: 56px; padding: 14px 32px; font-size: 18px; }
.yatv-section--dark .wp-block-button.is-style-outline .wp-block-button__link,
.yatv-hero .wp-block-button.is-style-outline .wp-block-button__link { color: var(--yatv-white); }
.yatv-section--dark .wp-block-button.is-style-outline .wp-block-button__link:hover,
.yatv-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(255,255,255,.12); color: var(--yatv-white); }
.wp-block-buttons, .yatv-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.yatv-actions { margin-top: 1.5em; }

/* ---------- Secciones ---------- */
.yatv-section, .yatv-hero, .yatv-page-hero { padding: clamp(56px, 8vw, 96px) var(--yatv-gutter); margin: 0 !important; }
.yatv-section > .wp-block-group__inner-container, .yatv-hero > .wp-block-group__inner-container,
.yatv-page-hero > .wp-block-group__inner-container, .yatv-wrap { max-width: var(--yatv-wrap); margin: 0 auto; }
.yatv-section--alt { background: var(--yatv-bg); }
.yatv-section--dark { background: var(--yatv-navy); color: #e6eef6; }
.yatv-section--dark h2, .yatv-section--dark h3 { color: var(--yatv-white); }
.yatv-section--dark a:not(.yatv-btn):not(.wp-block-button__link) { color: var(--yatv-yellow); }
.yatv-section--narrow > .wp-block-group__inner-container { max-width: 860px; }
.yatv-eyebrow { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--yatv-blue-700); margin-bottom: .6em; }
.yatv-section--dark .yatv-eyebrow, .yatv-hero .yatv-eyebrow, .yatv-page-hero .yatv-eyebrow { color: var(--yatv-yellow); }
.yatv-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--yatv-muted); max-width: 46em; }
.yatv-center { text-align: center; }
.yatv-center .yatv-lead { margin-left: auto; margin-right: auto; }
.yatv-center .wp-block-buttons { justify-content: center; }
.yatv-center .yatv-card, .yatv-center .yatv-faq { text-align: left; }

/* Hero */
.yatv-hero { background: radial-gradient(circle at 85% 20%, #3f93d1 0, transparent 45%), linear-gradient(160deg, var(--yatv-blue) 0%, var(--yatv-blue-700) 70%); color: var(--yatv-white); overflow: hidden; }
.yatv-hero h1 { color: var(--yatv-white); margin-bottom: .35em; }
.yatv-hero h1 mark { background: none; color: var(--yatv-yellow); }
.yatv-hero .yatv-lead { color: #eaf3fb; }
.yatv-hero .wp-block-columns { align-items: center; gap: clamp(24px, 5vw, 64px); margin-bottom: 0; }
.yatv-hero figure { margin: 0; }
.yatv-hero figure img { width: 100%; filter: drop-shadow(0 24px 40px rgba(13,47,79,.35)); }
.yatv-hero-points { list-style: none; margin: 1.5em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 600; color: #eaf3fb; }
.yatv-hero-points li { display: flex; align-items: center; gap: 8px; }
.yatv-hero-points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--yatv-yellow); flex: none; }

/* Encabezado de páginas internas */
.yatv-page-hero { background: linear-gradient(160deg, var(--yatv-blue) 0%, var(--yatv-blue-700) 80%); color: #eaf3fb; padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.yatv-page-hero h1 { color: var(--yatv-white); margin-bottom: .3em; }
.yatv-page-hero .yatv-lead { color: #eaf3fb; }

/* ---------- Tarjetas ---------- */
.yatv-cards { gap: 24px !important; margin-top: 2em; }
.yatv-card { background: var(--yatv-white); border: 1px solid var(--yatv-line); border-radius: var(--yatv-radius); padding: 28px; box-shadow: var(--yatv-shadow); height: 100%; }
.yatv-card h3 { margin-top: 0; }
.yatv-card > *:last-child { margin-bottom: 0; }
.yatv-card .yatv-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--yatv-bg); display: grid; place-items: center; margin-bottom: 16px; }
.yatv-card .yatv-card__icon img { width: 32px; height: 32px; }
.yatv-section--alt .yatv-card { border-color: transparent; }
.yatv-section--dark .yatv-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow: none; color: #e6eef6; }

/* Lista con viñetas de marca */
.yatv-checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.yatv-checklist li { position: relative; padding-left: 32px; margin-bottom: .6em; }
.yatv-checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--yatv-yellow); box-shadow: inset 0 0 0 5px var(--yatv-blue-700); }

/* Pasos */
.yatv-steps { counter-reset: paso; list-style: none; padding: 0; margin: 2em 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.yatv-steps li { counter-increment: paso; background: var(--yatv-white); border-radius: var(--yatv-radius); padding: 24px; box-shadow: var(--yatv-shadow); }
.yatv-steps li::before { content: counter(paso); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yatv-yellow); color: var(--yatv-navy); font-weight: 800; margin-bottom: 12px; }

/* ---------- Planes ---------- */
.yatv-plans { margin-top: 2em; }
.yatv-plans__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.yatv-chip { min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 2px solid var(--yatv-line); background: var(--yatv-white); color: var(--yatv-navy); font: 600 16px/1 var(--yatv-font); cursor: pointer; }
.yatv-chip:hover { border-color: var(--yatv-blue); background: var(--yatv-white); color: var(--yatv-navy); }
.yatv-chip[aria-pressed="true"] { background: var(--yatv-navy); border-color: var(--yatv-navy); color: var(--yatv-white); }
.yatv-plans__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.yatv-plan { position: relative; display: flex; flex-direction: column; background: var(--yatv-white); border: 1px solid var(--yatv-line); border-radius: var(--yatv-radius); padding: 28px 24px 24px; box-shadow: var(--yatv-shadow); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.yatv-plan:hover { box-shadow: var(--yatv-shadow-lg); transform: translateY(-2px); }
.yatv-plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--yatv-blue); }
.yatv-plan--combo::before { background: linear-gradient(90deg, var(--yatv-blue) 50%, var(--yatv-yellow) 50%); }
.yatv-plan--tv::before { background: var(--yatv-yellow); }
.yatv-plan[hidden] { display: none; }
.yatv-plan__type { margin: 0 0 .3em; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--yatv-blue-700); }
.yatv-plan__name { font-size: 1.3rem; margin: 0 0 .6em; }
.yatv-plan__speed { margin: 0; color: var(--yatv-navy); font-weight: 600; }
.yatv-plan__speed strong { font-size: 3rem; line-height: 1; font-weight: 800; margin-right: 4px; }
.yatv-plan__speed--tv strong { font-size: 2rem; }
.yatv-plan__price { margin: 16px 0; padding: 14px 16px; border-radius: var(--yatv-radius-sm); background: var(--yatv-bg); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.yatv-plan__amount { font-size: 2rem; font-weight: 800; color: var(--yatv-navy); line-height: 1; }
.yatv-plan__period { color: var(--yatv-muted); font-weight: 600; }
.yatv-plan__desc { color: var(--yatv-muted); font-size: 16px; flex-grow: 1; }
.yatv-plan__actions { display: grid; gap: 10px; margin-top: auto; }
.yatv-plan__actions .yatv-btn { width: 100%; }
.yatv-plans__note { margin-top: 20px; font-size: 15px; color: var(--yatv-muted); }
.yatv-empty { padding: 20px; border: 1px dashed var(--yatv-line); border-radius: var(--yatv-radius-sm); color: var(--yatv-muted); background: var(--yatv-white); }

/* ---------- Formularios ---------- */
.yatv-form-wrap { background: var(--yatv-white); border-radius: var(--yatv-radius); padding: clamp(20px, 4vw, 40px); box-shadow: var(--yatv-shadow); color: var(--yatv-ink); }
.yatv-form-wrap:focus { outline: none; }
.yatv-form__legend { font-size: 15px; color: var(--yatv-muted); }
.yatv-form__grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 700px) { .yatv-form__grid { grid-template-columns: 1fr 1fr; } .yatv-field--wide { grid-column: 1 / -1; } }
.yatv-field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--yatv-navy); }
.yatv-field input[type="text"], .yatv-field input[type="tel"], .yatv-field input[type="email"], .yatv-field select, .yatv-field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; font: 400 17px/1.4 var(--yatv-font);
	color: var(--yatv-ink); background: var(--yatv-white); border: 2px solid #9fb3c6; border-radius: var(--yatv-radius-sm);
}
.yatv-field input:focus, .yatv-field select:focus, .yatv-field textarea:focus { border-color: var(--yatv-blue-700); outline: 3px solid rgba(46,129,192,.25); outline-offset: 0; background: var(--yatv-white); color: var(--yatv-ink); }
.yatv-field.has-error input, .yatv-field.has-error select, .yatv-field.has-error textarea { border-color: var(--yatv-error); }
.yatv-field__error { color: var(--yatv-error); font-size: 15px; font-weight: 600; margin: 6px 0 0; }
.yatv-req { color: var(--yatv-error); }
.yatv-check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; color: var(--yatv-ink) !important; cursor: pointer; }
.yatv-check input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--yatv-blue-700); }
.yatv-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.yatv-form--inline { display: grid; gap: 16px; align-items: end; }
@media (min-width: 700px) { .yatv-form--inline { grid-template-columns: 1fr 1fr auto; } }
.yatv-alert { border-radius: var(--yatv-radius-sm); padding: 16px 20px; margin-bottom: 24px; border-left: 6px solid; }
.yatv-alert p:last-child, .yatv-alert ul:last-child { margin-bottom: 0; }
.yatv-alert--ok { background: #e8f6ee; border-color: var(--yatv-ok); color: #0b3d22; }
.yatv-alert--error { background: #fdecea; border-color: var(--yatv-error); color: #5c1410; }
.yatv-alert--error a { color: #5c1410; }
.yatv-radicado { font-family: ui-monospace, Consolas, monospace; font-size: 1.1em; }

/* ---------- Canales y documentos ---------- */
.yatv-channels, .yatv-docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.yatv-channel { display: flex; gap: 12px; align-items: flex-start; }
.yatv-channels { margin-bottom: 24px; }
.yatv-channel .yatv-icon { width: 24px; height: 24px; color: var(--yatv-blue-700); margin-top: 3px; }
.yatv-channel__label { display: block; font-size: 14px; font-weight: 600; color: var(--yatv-muted); }
.yatv-channel a { font-weight: 800; font-size: 1.1em; text-decoration: none; }
.yatv-docs { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.yatv-doc { display: flex; gap: 12px; align-items: center; padding: 16px 18px; background: var(--yatv-white); border: 1px solid var(--yatv-line); border-radius: var(--yatv-radius-sm); font-weight: 600; text-decoration: none; color: var(--yatv-navy); }
.yatv-doc:hover { border-color: var(--yatv-blue); color: var(--yatv-blue-700); }
.yatv-doc .yatv-icon { color: var(--yatv-blue-700); }

/* Orgullo local: foto del municipio */
.yatv-local__cols { align-items: center; gap: clamp(32px, 5vw, 64px) !important; }
@media (min-width: 782px) { .yatv-local__cols > .wp-block-column:first-child { flex: 0 0 54%; } }
.yatv-local__photo { position: relative; margin: 0 14px 14px 0; }
.yatv-local__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; background: var(--yatv-yellow); border-radius: var(--yatv-radius); }
.yatv-local__photo img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1280 / 854; object-fit: cover; border-radius: var(--yatv-radius); box-shadow: var(--yatv-shadow); }
.yatv-local__photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(13, 47, 79, .82); color: var(--yatv-white); font-size: 14px; font-weight: 600; margin: 0; }

/* Enlaces de interés */
.yatv-links { list-style: none; margin: 2em 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 700px) { .yatv-links { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.yatv-links li { margin: 0; }
.yatv-link-card { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 22px 16px; background: var(--yatv-white); border: 1px solid var(--yatv-line); border-radius: var(--yatv-radius); text-decoration: none; color: var(--yatv-navy); transition: border-color .15s, transform .15s; }
.yatv-link-card:hover { border-color: var(--yatv-blue); transform: translateY(-2px); }
.yatv-link-card:hover .yatv-link-card__title { text-decoration: underline; }
.yatv-link-card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--yatv-bg); color: var(--yatv-blue-700); display: grid; place-items: center; margin-bottom: 6px; }
.yatv-link-card__icon .yatv-icon { width: 28px; height: 28px; }
.yatv-link-card__title { font-weight: 800; font-size: 17px; }
.yatv-link-card__desc { font-size: 14px; line-height: 1.4; color: var(--yatv-muted); }

/* ---------- Preguntas frecuentes (bloque Detalles) ---------- */
.yatv-faq { max-width: 860px; margin: 2em auto 0; }
.yatv-faq .wp-block-details { background: var(--yatv-white); border: 1px solid var(--yatv-line); border-radius: var(--yatv-radius-sm); padding: 0; margin: 0 0 12px; }
.yatv-faq .wp-block-details summary { padding: 18px 56px 18px 20px; font-weight: 800; color: var(--yatv-navy); cursor: pointer; list-style: none; position: relative; }
.yatv-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.yatv-faq .wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--yatv-bg); display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--yatv-blue-700); }
.yatv-faq .wp-block-details[open] summary::after { content: "–"; }
.yatv-faq .wp-block-details > *:not(summary) { padding: 0 20px; }
.yatv-faq .wp-block-details > *:last-child { padding-bottom: 18px; margin-bottom: 0; }

/* ---------- Banda de llamada a la acción ---------- */
.yatv-cta-band > .wp-block-group__inner-container { background: var(--yatv-yellow); border-radius: calc(var(--yatv-radius) + 8px); padding: clamp(28px, 5vw, 56px); box-shadow: inset 0 -6px 0 var(--yatv-gold); }
.yatv-cta-band h2 { margin-top: 0; }
.yatv-cta-band p { color: var(--yatv-navy); }

/* ---------- Contenido legal ---------- */
.yatv-legal > .wp-block-group__inner-container { max-width: 860px; }
.yatv-legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.yatv-legal h3 { font-size: 1.25rem; margin-top: 1.2em; }
.yatv-legal ul, .yatv-legal ol { margin-left: 1.2em; }
.yatv-note { background: var(--yatv-bg); border-left: 6px solid var(--yatv-blue); border-radius: var(--yatv-radius-sm); padding: 16px 20px; }

/* Tablas */
.wp-block-table table { border-collapse: collapse; width: 100%; background: var(--yatv-white); }
.wp-block-table th { background: var(--yatv-navy); color: var(--yatv-white); text-align: left; }
.wp-block-table th, .wp-block-table td { padding: 12px 14px; border: 1px solid var(--yatv-line); }

/* ---------- 404 ---------- */
.yatv-404 { padding: clamp(64px, 10vw, 120px) var(--yatv-gutter); text-align: center; background: var(--yatv-bg); }
.yatv-404__code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--yatv-blue); margin: 0; }
.yatv-404 .yatv-actions { justify-content: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--yatv-navy); }
.yatv-footer { background: var(--yatv-navy); color: #c9d8e6; padding: 40px var(--yatv-gutter) 24px; font-size: 16px; }
.yatv-footer a { color: var(--yatv-white); }
.yatv-footer a:hover { color: var(--yatv-yellow); }
.yatv-crc-banner { width: 80%; max-width: 970px; margin: 0 auto 40px; text-align: center; }
.yatv-crc-banner img { width: 100%; max-width: 480px; border-radius: 8px; background: var(--yatv-white); }
.yatv-footer__grid { max-width: var(--yatv-wrap); margin: 0 auto; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.14); }
.yatv-footer h3 { color: var(--yatv-white); font-size: 1.1rem; margin: 0 0 14px; }
.yatv-footer ul { list-style: none; margin: 0; padding: 0; }
.yatv-footer__col li { margin-bottom: 10px; }
.yatv-footer__col a { text-decoration: none; }
.yatv-footer__col a:hover { text-decoration: underline; }
.yatv-footer__brand .custom-logo { width: 88px; height: 88px; border-radius: 16px; margin-bottom: 12px; }
.yatv-footer .yatv-channel .yatv-icon { color: var(--yatv-yellow); }
.yatv-footer .yatv-channel__label { color: #9fb6cb; }
.yatv-footer__legal { max-width: var(--yatv-wrap); margin: 0 auto; padding-top: 20px; font-size: 14px; color: #9fb6cb; }
.yatv-footer__legal p { margin: 0 0 4px; }

/* ---------- WhatsApp flotante ---------- */
.yatv-wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #1a7f4b; color: var(--yatv-white); box-shadow: var(--yatv-shadow-lg); }
.yatv-wa-float:hover, .yatv-wa-float:focus { background: #136339; color: var(--yatv-white); }
.yatv-wa-float .yatv-icon { width: 32px; height: 32px; }
@media (max-width: 768px) { .yatv-footer { padding-bottom: 96px; } }

/* ---------- Utilidades ---------- */
.screen-reader-text:not(:focus) { clip: rect(1px,1px,1px,1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.yatv-btn:hover, .yatv-plan:hover, .yatv-link-card:hover, .wp-block-button__link:hover { transform: none; }
}
@media print { .site-header, .yatv-wa-float, .yatv-footer { display: none; } }
