/* Portada pública de elartedesenar.cl (src/Views/landing/index.php). */

:root {
    --font-scale: 1;
    --brand: #0f6a99;
    --brand-dark: #0a4f77;
    --brand-deep: #093c5c;
    --brand-soft: #e9f3f9;
    --text: #1b2a38;
    --muted: #556677;
    --bg: #f6f9fb;
    --surface: #ffffff;
    --border: #dbe5ec;
    --focus: #f2a900;
    --success-bg: #e6f6ec;
    --success-text: #135c30;
    --danger-bg: #fdecec;
    --danger-text: #9b1c1c;
    --warning-bg: #fff6e0;
    --warning-text: #7a4b00;
    --whatsapp: #1d9e57;
    --radius: 14px;
    --header-h: 72px;
}

/* Alto contraste: fondo negro, texto blanco y acentos amarillos (no depende del azul). */
.high-contrast {
    --brand: #ffd400;
    --brand-dark: #ffe14d;
    --brand-deep: #000000;
    --brand-soft: #1a1a1a;
    --text: #ffffff;
    --muted: #f0f0f0;
    --bg: #000000;
    --surface: #0d0d0d;
    --border: #ffffff;
    --focus: #00e5ff;
    --success-bg: #000000;
    --success-text: #7dff9e;
    --danger-bg: #000000;
    --danger-text: #ff9b9b;
    --warning-bg: #000000;
    --warning-text: #ffe14d;
    --whatsapp: #0b6b36;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: calc(100% * var(--font-scale));
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

img { max-width: 100%; height: auto; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem; top: -4rem;
    z-index: 100;
    background: var(--brand-deep);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.container {
    width: 100%;
    max-width: 72.5rem; /* 1160px a tamaño normal; crece con A+ */
    margin: 0 auto;
    padding: 0 1rem;
}
.container.narrow { max-width: 51.25rem; }

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    padding: .55rem 1.1rem;
    border-radius: 10px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: .75rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.high-contrast .btn-primary { color: #000; }

.btn-outline { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { filter: brightness(.92); }

/* Botón "Ver en LSCh" de cada sección. */
.lsch-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    margin-top: .25rem;
    padding: .4rem 1rem .4rem .5rem;
    border-radius: 999px;
    border: 2px solid var(--brand);
    background: var(--brand-soft);
    color: var(--brand-deep);
    font: inherit;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
}
.lsch-btn img { width: 28px; height: 28px; border-radius: 50%; background: #fff; padding: 2px; }
.lsch-btn:hover, .lsch-btn[aria-expanded="true"] { background: var(--brand); color: #fff; }
.high-contrast .lsch-btn { color: var(--text); }
.high-contrast .lsch-btn:hover, .high-contrast .lsch-btn[aria-expanded="true"] { color: #000; }

/* Versión solo ícono: menú, marca, tarjetas y noticias. 36 px visibles, pero el área
   táctil llega a 44 px con el margen negativo del pseudo-elemento. */
.lsch-mini {
    position: relative;
    flex-shrink: 0;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 0;
    margin: 0;
    padding: 0;
}
.lsch-mini::after { content: ""; position: absolute; inset: -4px; }
.lsch-mini img { width: 32px; height: 32px; padding: 1px; }

/* Dos botones LSCh juntos (sección con un segundo video). */
.lsch-group { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.card .lsch-btn { margin-top: 1rem; }

/* ---------- Barra de accesibilidad ---------- */
.a11y-bar {
    background: var(--brand-deep);
    color: #fff;
    font-size: .85rem;
}
.high-contrast .a11y-bar { border-bottom: 1px solid var(--border); }
.a11y-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .5rem;
    min-height: 40px;
    flex-wrap: wrap;
}
.a11y-label { margin-right: auto; opacity: .85; }
@media (min-width: 640px) { .a11y-label { margin-right: 0; } }
.a11y-btn {
    min-height: 32px;
    min-width: 40px;
    padding: .15rem .6rem;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.a11y-btn:hover, .a11y-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .2); }

/* ---------- Encabezado ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 6px rgba(9, 60, 92, .06);
}
.site-header .container { max-width: 86rem; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}
.brand-wrap { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--text);
    min-width: 0;
}
.brand-logo { width: 48px; height: 48px; flex-shrink: 0; }
.high-contrast .brand-logo { background: #fff; border-radius: 50%; padding: 3px; }
.brand-title { display: block; font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.brand-sub { display: block; font-size: .8rem; font-weight: 600; color: var(--brand); line-height: 1.3; white-space: nowrap; }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    flex-shrink: 0;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Celulares angostos (320-374 px): logo, título y menú algo más chicos para que la
   marca, su botón LSCh y la hamburguesa quepan sin montarse. */
@media (max-width: 374px) {
    .header-inner { gap: .5rem; }
    .brand { gap: .45rem; }
    .brand-logo { width: 40px; height: 40px; }
    .brand-title { font-size: 1rem; }
    .brand-sub { display: none; }
    .menu-toggle { width: 44px; height: 44px; }
}

/* Celular y tablet: menú desplegable bajo el encabezado. */
.site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    padding: .5rem 1rem 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(9, 60, 92, .12);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
}
.site-nav.open { display: flex; }
.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    border-bottom: 1px solid var(--border);
}
.nav-item > a {
    flex: 1;
    padding: .85rem .25rem;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}
.nav-item > a:hover { color: var(--brand); }
.nav-help > span { flex: 1; padding: .85rem .25rem; color: var(--muted); font-weight: 600; }
.nav-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }

/* Computador: menú en línea. Si con la letra agrandada no cabe, sitio.js agrega
   .menu-compacto y se queda el menú desplegable. */
@media (min-width: 1100px) {
    html:not(.menu-compacto) .brand-wrap { flex-shrink: 0; }
    html:not(.menu-compacto) .menu-toggle { display: none; }
    html:not(.menu-compacto) .site-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: .9rem;
        padding: 0;
        border: 0;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        background: transparent;
    }
    html:not(.menu-compacto) .nav-item { border: 0; gap: .2rem; }
    html:not(.menu-compacto) .nav-item > a { padding: .25rem 0; font-size: .95rem; }
    html:not(.menu-compacto) .nav-help { display: none; }
    html:not(.menu-compacto) .nav-actions { flex-direction: row; margin: 0 0 0 .5rem; }
    html.menu-apretado .brand-sub { display: none; }
    html.menu-apretado .site-nav { gap: .55rem; }
    html.menu-apretado .nav-actions .btn { padding-left: .8rem; padding-right: .8rem; }
}

/* ---------- Secciones ---------- */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.hero { padding: 3rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
    .hero { padding: 5rem 0; }
    .hero-grid { grid-template-columns: 1.25fr .75fr; }
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .85rem;
    font-weight: 700;
}
.high-contrast .hero-tag { color: var(--text); border: 1px solid var(--border); }
.hero h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; margin-top: .5rem; }
.hero h1 span { color: var(--brand); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
@media (max-width: 479px) { .hero-actions .btn { width: 100%; } }

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 16px 40px rgba(9, 60, 92, .08);
}
/* En celular es decorativa (el logo ya está en el encabezado) y empuja los servicios muy abajo. */
@media (max-width: 899px) { .hero-card { display: none; } }
.hero-card img { width: 160px; height: 160px; margin: 0 auto 1rem; display: block; }
.high-contrast .hero-card img { background: #fff; border-radius: 50%; padding: 8px; }
.hero-card h2 { font-size: 1.3rem; }
.hero-card p { color: var(--muted); margin: 0; }

.metrics { background: var(--brand); color: #fff; padding: 2.5rem 0; }
.high-contrast .metrics { color: #000; }
.metrics-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }
.metric-value { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.metric-text { font-size: .95rem; opacity: .92; }

.section { padding: 3.5rem 0; }
.section-white { background: var(--surface); }
.section-soft { background: var(--brand-soft); }
@media (min-width: 900px) { .section { padding: 5rem 0; } }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.25rem); font-weight: 800; }
.section-head p { color: var(--muted); }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.card {
    margin: 0;
    padding: 1.6rem;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
}
.section:not(.section-white) .card { background: var(--surface); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; }
.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.35rem;
}
.testimonial blockquote { margin: 0 0 1rem; font-style: italic; color: var(--muted); }
.testimonial figcaption { font-weight: 700; }

/* ---------- Formulario ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.6fr 1fr; align-items: start; } }

.contact-form {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--border);
}
@media (min-width: 640px) { .contact-form { padding: 2rem; } }

.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 700; font-size: .95rem; }
.req { color: var(--danger-text); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 46px;
    padding: .65rem .85rem;
    border: 1px solid #b8c7d3;
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 1rem; /* 16px o más: iOS no hace zoom al enfocar */
}
.high-contrast .field input, .high-contrast .field select, .high-contrast .field textarea { border-color: var(--border); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: var(--danger-text); border-width: 2px; }
.field-error { margin: .35rem 0 0; color: var(--danger-text); font-size: .9rem; font-weight: 600; }
.form-note { font-size: .85rem; color: var(--muted); }

/* Campo trampa para bots: fuera de pantalla, no display:none (algunos bots lo detectan). */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: .9rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid currentColor;
}
.alert-success { background: var(--success-bg); color: var(--success-text); }
.alert-danger { background: var(--danger-bg); color: var(--danger-text); }
.alert-warning { background: var(--warning-bg); color: var(--warning-text); }

.contact-aside { display: flex; flex-direction: column; gap: 1rem; }
.contact-aside p { margin: 0; }
.aside-box { padding: 1.4rem; border-radius: var(--radius); background: var(--brand-soft); }
.high-contrast .aside-box { border: 1px solid var(--border); }
.aside-box h3 { font-size: 1.05rem; }
.box-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.box-head h3 { margin: 0; }
.aside-box ul { margin: 0; padding-left: 1.2rem; }
.aside-box li { margin-bottom: .5rem; }
.aside-box li:last-child { margin-bottom: 0; }

/* ---------- Preguntas frecuentes ---------- */
.faq {
    margin-bottom: .8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
}
.faq summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq[open] summary::after { content: "−"; }
.faq summary { align-items: center; }
.faq-question { flex: 1; }
.faq p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--muted); }

/* ---------- Pie ---------- */
.site-footer {
    padding: 3rem 0 2rem;
    background: #0b1f2e;
    color: #cfdbe5;
    text-align: center;
}
.high-contrast .site-footer { background: #000; border-top: 1px solid var(--border); color: #fff; }
.site-footer a { color: #fff; }
/* El logo es azul: sobre el pie oscuro va en un círculo blanco para que se lea. */
.footer-logo { width: 96px; height: 96px; margin-bottom: .75rem; padding: 10px; border-radius: 50%; background: #fff; }

/* Botón flotante de WhatsApp: visible en toda la página. */
.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    font-size: 1.9rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.whatsapp-float:hover { filter: brightness(.92); }
.footer-title { font-weight: 800; font-size: 1.2rem; color: #fff; margin-bottom: .25rem; }
.footer-social { display: flex; justify-content: center; gap: 1.25rem; font-size: 1.5rem; }
.footer-social a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.footer-legal { font-size: .85rem; margin: 1.5rem 0 0; opacity: .85; }

/* ---------- Videos LSCh ----------
   Los videos se graban casi cuadrados (5:4): con 16:9 quedaban franjas negras a los
   lados. Por eso los recuadros también son más angostos que un video apaisado. */
.lsch-preview {
    position: fixed;
    z-index: 60;
    width: min(420px, calc(100vw - 16px));
    padding: 6px;
    border-radius: 14px;
    background: var(--surface);
    border: 2px solid var(--brand);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}
.lsch-preview video { display: block; width: 100%; height: auto; aspect-ratio: auto 5 / 4; object-fit: cover; border-radius: 9px; background: #000; }

.lsch-dialog {
    width: min(94vw, 460px);
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--brand);
    border-radius: 16px;
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.lsch-dialog::backdrop { background: rgba(9, 30, 45, .7); }

/* Entrada de los videos de los títulos: la vista previa crece desde el botón (hacia
   abajo, o hacia arriba si no cabe; sitio.js marca el lado) y la ventana centrada
   aparece con un leve zoom sobre el fondo, que se funde. */
@keyframes lsch-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes lsch-fade { from { opacity: 0; } to { opacity: 1; } }
.lsch-preview:not([hidden]) { animation: lsch-pop .2s ease-out; transform-origin: top left; }
.lsch-preview[data-lado="arriba"] { transform-origin: bottom left; }
.lsch-dialog[open] { animation: lsch-pop .25s ease-out; }
.lsch-dialog[open]::backdrop { animation: lsch-fade .25s ease-out; }
.lsch-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .5rem .5rem .5rem 1rem; }
.lsch-dialog-head h2 { margin: 0; font-size: 1rem; }
.lsch-close {
    width: 44px; height: 44px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}
.lsch-close:hover { background: var(--brand-soft); }
/* "auto 5 / 4": toma la proporción real de cada video (varían un poco) apenas carga,
   así la ventana calza justo y no quedan franjas negras; 5 / 4 solo mientras carga. */
.lsch-dialog video { display: block; width: 100%; height: auto; aspect-ratio: auto 5 / 4; object-fit: contain; background: #000; cursor: pointer; }

/* Los videos corren una vez y quedan en el último cuadro, con "Volver a ver" abajo
   al centro (para no tapar la cara de la intérprete). */
.lsch-player { position: relative; }
.lsch-replay {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .5rem 1.1rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: rgba(9, 60, 92, .88);
    color: #fff;
    font: inherit;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
}
.lsch-replay[hidden] { display: none; }
.lsch-replay:hover { background: var(--brand); }
.lsch-replay:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.high-contrast .lsch-replay { background: #000; color: #ff0; border-color: #ff0; }

/* Acordeón de los textos largos: el video se despliega bajo el texto. */
.lsch-panel { width: 100%; max-width: 460px; margin: 1.25rem auto 0; }
.lsch-panel video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto 5 / 4;
    object-fit: contain;
    border-radius: 12px;
    background: #000;
    cursor: pointer;
}
.card .lsch-panel, .aside-box .lsch-panel { margin-top: 1rem; }

/* En la noticia, el video va al ancho del texto y queda fijo bajo el menú mientras
   el texto pasa por debajo. Con poca altura de pantalla se achica (máx. 65% del alto)
   para que siempre quede texto a la vista; el fondo transparente esconde las franjas. */
.news-video {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    background: var(--bg);
}
.news-video .lsch-panel { max-width: none; margin: 0; padding: 1rem 0; }
.news-video .lsch-panel video { max-height: 65vh; background: transparent; }
/* El video fijo solo acompaña al texto (.news-reading): cuando el último párrafo llega
   bajo el video, el video se va con él y no tapa lo que sigue (compartir). */

/* Compartir al final de la noticia. Instagram y TikTok no reciben enlaces desde la
   web: en celular abren el menú de compartir del teléfono; en computador, copian. */
.news-share { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.news-share-title { font-weight: 800; margin-bottom: .75rem; }
.news-share-buttons { display: flex; flex-wrap: wrap; gap: .6rem; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding: .5rem 1.1rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.share-btn:hover { color: #fff; filter: brightness(1.1); }
.share-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.share-facebook { background: #1877f2; }
.share-instagram { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.share-tiktok { background: #000; }
.high-contrast .share-btn { background: #000; color: #ff0; border: 2px solid #ff0; }
.news-share-note { margin: .75rem 0 0; color: var(--muted); min-height: 1.5em; }

/* Frase que se está señando (si el video tiene .vtt con tiempos). Con tiempos,
   cada frase se puede clicar para llevar el video ahí. */
.lsch-seg { border-radius: 4px; transition: background-color .2s; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lsch-con-tiempos .lsch-seg { cursor: pointer; }
.lsch-con-tiempos .lsch-seg:hover { text-decoration: underline; text-decoration-color: var(--brand); }
.lsch-ahora { background: #fde68a; color: #1f2937; }
.high-contrast .lsch-ahora { background: #ff0; color: #000; }

/* ---------- Tarjetas con video, noticias y páginas internas ---------- */
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.card-top .card-icon { margin-bottom: 0; }

.news-date { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .02em; }
.news-card h3, .news-card-title { font-size: 1.15rem; margin-top: 0; }
.news-card h3 a, .news-card-title a { color: var(--text); text-decoration: none; }
.news-card h3 a:hover, .news-card-title a:hover { color: var(--brand); text-decoration: underline; }
.news-card p { margin-bottom: .75rem; }
.news-more { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; font-weight: 700; }
.section-more { text-align: center; margin: 2rem 0 0; }

.page-top { padding-top: 2.5rem; }
.page-title { font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 800; margin: .25rem 0 1rem; }
.breadcrumb-back { margin-bottom: 1.5rem; }
.breadcrumb-back a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 600; }
.news-body { margin-top: 1.5rem; font-size: 1.1rem; }
.news-subtitle { font-size: 1.3rem; font-weight: 800; color: var(--brand); margin: 2rem 0 .75rem; }
.news-body > .news-subtitle:first-child { margin-top: 0; }
.empty-note { text-align: center; color: var(--muted); }

/* Pregunta abierta con video: respuesta a la izquierda y video a la derecha; en
   celular, el video debajo. */
.faq-body { padding: 0 1.25rem 1.1rem; }
.faq-body p { padding: 0; margin: 0; color: var(--muted); }
.faq-video { margin-top: 1rem; }
.faq-video video { display: block; width: 100%; height: auto; aspect-ratio: auto 5 / 4; border-radius: 10px; background: #000; object-fit: contain; cursor: pointer; }
@media (min-width: 720px) {
    .faq-with-video .faq-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.25rem; align-items: start; }
    .faq-with-video .faq-video { margin-top: 0; }
}
