/* ============================================================
   PAGES/CSS/lema.css
   Iglesia MMM · Presbiterio 18
   ============================================================ */

:root {
    --c-brand:   #FF6A00;
    --c-brand-2: #FF8C42;
    --c-teal:    #00BFA6;
    --c-bg:      #0A0F1C;
    --c-line:    #E5E7EB;
    --c-text:    #1F2937;
    --c-soft:    #6B7280;
    --radius:    16px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 14px rgba(0,0,0,.06);
    --shadow:    0 12px 32px rgba(0,0,0,.10);
    --shadow-lg: 0 30px 80px rgba(0,0,0,.35);
    --tr:        .3s cubic-bezier(.4, 0, .2, 1);
    --header-h:  71px;
}

*, *::before, *::after { box-sizing: border-box; }

.lema {
    background: #fff;
    color: var(--c-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.lema .container {
    width: min(1200px, 92%);
    margin-inline: auto;
}
.lema .section { padding: 25px; }
.lema .section--alt { background: #F8FAFC; }

/* ============================================================
   HERO DE PÁGINA
   ============================================================ */
.page-hero {
    position: relative;
    padding-top: calc(clamp(30px, 5vw, 60px) + var(--header-h));
    padding-bottom: clamp(40px, 8vw, 100px);
    padding-left: 0;
    padding-right: 0;
    background: var(--c-bg);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,106,0,.35), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(0,191,166,.28), transparent 55%),
        linear-gradient(135deg, #0A0F1C 0%, #111827 100%);
}
.page-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
}
.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}
.page-hero__eyebrow {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-brand);
    padding: 6px 14px;
    border: 1px solid rgba(255,106,0,.4);
    border-radius: 999px;
    margin-bottom: 22px;
}
.page-hero__title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.05;
    margin: 0 0 20px;
    letter-spacing: -.01em;
}
.page-hero__title em {
    font-style: italic;
    color: var(--c-brand);
}
.page-hero__desc {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.65;
    color: rgba(255,255,255,.78);
    max-width: 620px;
    margin: 0 0 32px;
}
.page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: rgba(255,255,255,.7);
}
.page-hero__breadcrumb a {
    color: var(--c-brand);
    text-decoration: none;
    transition: color var(--tr);
}
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb i { font-size: .65rem; opacity: .6; }

/* Badge del año */
.page-hero__year-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-brand), var(--c-brand-2));
    box-shadow: 0 12px 32px rgba(255,106,0,.45);
    margin: 0 0 24px;
}
.page-hero__year-label {
    font-family: 'Poppins', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
}
.page-hero__year-num {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: .06em;
    color: #fff;
    line-height: 1;
}

/* ============================================================
   SECCIÓN MEDIA PRINCIPAL (fondo continuo con el hero)
   ============================================================ */
.lema-media-section {
    background: #FFFFFF;
    color: var(--c-text);
    padding: clamp(20px, 6vw, 70px) 0 clamp(35px, 10vw, 120px);
   }

.lema-media-section::before,
.lema-media-section::after {
    display: none;
}

.lema-media-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
    pointer-events: none;
}

/* ============================================================
   CONTENEDOR DEL LEMA PRINCIPAL
   ============================================================ */
.lema-principal {
    position: relative;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: opacity .22s ease, transform .22s ease;
    isolation: isolate;
}

/* --- MEDIA: contenedor 100% transparente --- */
.lema-principal__media {
    width: 100%;
    display: grid;
    place-items: center;
    background: transparent;
    min-height: 420px;
    max-height: 78vh;
    overflow: visible;
    padding: 0;
    border: 0;
    box-shadow: none;
}

/* --- IMAGEN: sin fondo, drop-shadow flotante --- */
.lema-principal__media img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    background: transparent;
    border: 0;
    border-radius: 0;
    user-select: none;
    -webkit-user-drag: none;
    filter:
        drop-shadow(0 20px 45px rgba(0, 0, 0, 0.45))
        drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
    transition: filter var(--tr), transform var(--tr);
}

.lema-principal__media img:hover {
    filter:
        drop-shadow(0 26px 60px rgba(0, 0, 0, 0.5))
        drop-shadow(0 8px 18px rgba(255, 106, 0, 0.25));
}

/* --- VIDEO HTML5: sin fondo negro --- */
.lema-video {
    width: 100%;
    max-height: 78vh;
    display: block;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    filter:
        drop-shadow(0 20px 45px rgba(0, 0, 0, 0.45))
        drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

/* --- EMBEDS (YouTube / Vimeo): sin fondo --- */
.lema-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 78vh;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.lema-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: transparent;
    border-radius: 0;
    filter:
        drop-shadow(0 20px 45px rgba(0, 0, 0, 0.45))
        drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

/* ============================================================
   SELECTOR IMAGEN / VIDEO
   ============================================================ */
.lema-principal__switch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(10,15,28,.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.lema-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255,255,255,.7);
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tr), color var(--tr);
    white-space: nowrap;
}
.lema-switch-btn i { font-size: .95rem; }
.lema-switch-btn:hover { color: #fff; }
.lema-switch-btn.is-active {
    background: var(--c-brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255,106,0,.45);
}

/* ============================================================
   ACCIONES FLOTANTES
   ============================================================ */
.lema-principal__actions {
    position: absolute;
    bottom: 18px;
    right: 18px;
    display: flex;
    gap: 10px;
    z-index: 4;
}
.lema-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 0;
    background: rgba(10,15,28,.7);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background var(--tr), transform var(--tr);
    white-space: nowrap;
}
.lema-action-btn:hover {
    background: var(--c-brand);
    transform: translateY(-2px);
    color: #fff;
}
.lema-action-btn--video:hover { background: #FF0000; }

/* ============================================================
   SECCIÓN ANTERIORES
   ============================================================ */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(36px, 5vw, 56px);
}
.section-tag {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-brand);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,106,0,.10);
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    color: #0A0F1C;
    margin: 0 0 12px;
}
.section-subtitle {
    color: var(--c-soft);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   CARRUSEL HORIZONTAL DE LEMAS ANTERIORES
   ============================================================ */
.carrusel-wrap {
    position: relative;
    padding: 0 0 8px;
}
.carrusel {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px max(4%, calc((100% - 1200px) / 2 + 4%)) 24px;
}
.carrusel::-webkit-scrollbar { display: none; }

.carrusel__track {
    display: flex;
    gap: 20px;
    align-items: stretch;
    width: max-content;
}

.carrusel .lema-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.carrusel .lema-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(255,106,0,.4);
}

.lema-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #0A0F1C;
    cursor: pointer;
    width: 100%;
    display: block;
}
.lema-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.carrusel .lema-card:hover .lema-card__media img { transform: scale(1.06); }

.lema-card__placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    color: rgba(255,255,255,.3);
    font-size: 2.4rem;
}
.lema-card__anio {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(135deg, #FF6A00, #FF8C42);
    padding: 6px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(255,106,0,.4);
    line-height: 1;
    z-index: 2;
}
.lema-card__badge-mix {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(10,15,28,.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .7rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}
.lema-card__badge-mix i { font-size: .7rem; }

.carrusel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: #0A0F1C;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    transition: background var(--tr), transform var(--tr), opacity var(--tr);
}
.carrusel-nav:hover {
    background: var(--c-brand);
    transform: translateY(-50%) scale(1.06);
}
.carrusel-nav:disabled {
    opacity: .25;
    cursor: not-allowed;
    background: #0A0F1C;
    transform: translateY(-50%);
}
.carrusel-nav--prev { left: max(12px, calc((100% - 1200px) / 2 - 12px)); }
.carrusel-nav--next { right: max(12px, calc((100% - 1200px) / 2 - 12px)); }

/* ============================================================
   EMPTY
   ============================================================ */
.empty {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255,255,255,.6);
}
.empty i {
    font-size: 3rem;
    color: var(--c-brand);
    opacity: .5;
    margin-bottom: 16px;
    display: block;
}
.empty p { margin: 0; font-size: 1rem; }

/* ============================================================
   MODAL IMAGEN AMPLIADA
   ============================================================ */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}
.modal.is-open { display: flex; }

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.92);
    cursor: zoom-out;
    animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal__image {
    position: relative;
    z-index: 1;
    max-width: 96vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    cursor: zoom-out;
    animation: popIn .3s cubic-bezier(.4, 0, .2, 1);
}
@keyframes popIn {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
}
.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--tr);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal__close:hover { background: var(--c-brand); }

/* ============================================================
   RATIO HELPERS
   ============================================================ */
.ratio {
    position: relative;
    width: 100%;
}
.ratio::before {
    display: block;
    padding-top: var(--bs-aspect-ratio, 56.25%);
    content: "";
}
.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.ratio-16x9 { --bs-aspect-ratio: 56.25%; }
.ratio-4x3  { --bs-aspect-ratio: 75%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .page-hero {
        padding-top: calc(24px + var(--header-h));
        padding-bottom: clamp(36px, 6vw, 60px);
    }
    .lema-media-section {
        padding-bottom: clamp(60px, 8vw, 90px);
    }

    .lema-principal__media { min-height: 280px; max-height: 60vh; }
    .lema-principal__media img { max-height: 60vh; }
    .lema-embed { max-height: 60vh; }
    .lema-video { max-height: 60vh; }

    .carrusel .lema-card { width: 220px; }
    .carrusel-nav { width: 42px; height: 42px; }
}

@media (max-width: 560px) {
    .page-hero {
        padding-top: calc(16px + var(--header-h));
        padding-bottom: 32px;
    }
    .page-hero__eyebrow { font-size: .68rem; padding: 6px 12px; margin-bottom: 16px; }
    .page-hero__desc { font-size: .92rem; margin-bottom: 20px; }
    .page-hero__year-badge { padding: 8px 18px; gap: 10px; margin-bottom: 18px; }
    .page-hero__year-num { font-size: 1rem; }
    .page-hero__breadcrumb { font-size: .76rem; }

    .lema-media-section { padding-bottom: 50px; }
    .lema-principal__media { min-height: 200px; max-height: 50vh; }
    .lema-principal__media img { max-height: 50vh; }
    .lema-embed { max-height: 50vh; }
    .lema-video { max-height: 50vh; }

    .lema-principal__switch { top: 10px; padding: 4px; }
    .lema-switch-btn { padding: 7px 12px; font-size: .75rem; }
    .lema-switch-btn span { display: none; }
    .lema-switch-btn i { font-size: 1rem; }

    .lema-principal__actions {
        bottom: 12px;
        right: 12px;
        flex-direction: column;
        align-items: flex-end;
    }
    .lema-action-btn { padding: 8px 12px; font-size: .75rem; }

    .carrusel .lema-card { width: 180px; }
    .carrusel { padding-left: 5%; padding-right: 5%; }
    .carrusel__track { gap: 14px; }
    .carrusel-nav { width: 38px; height: 38px; font-size: .85rem; }
    .carrusel-nav--prev { left: 6px; }
    .carrusel-nav--next { right: 6px; }

    .lema-card__anio { font-size: .85rem; padding: 4px 10px; }

    .modal { padding: 0; }
    .modal__image { max-width: 100vw; max-height: 100vh; border-radius: 0; }
    .modal__close { top: 12px; right: 12px; width: 42px; height: 42px; }

    .modal-lite { padding: 0; }
    .modal-lite__panel { width: 100vw; max-height: 100vh; border-radius: 0; }
    .modal-lite__media { max-height: 45vh; }
    .modal-lite__media img,
    .modal-lite__media video { max-height: 45vh; }
    .modal-lite__body { padding: 18px 18px 24px; }
}

/* ============================================================
   ACCESIBILIDAD
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

.lema-card:focus-visible,
.lema-switch-btn:focus-visible,
.lema-action-btn:focus-visible,
.carrusel-nav:focus-visible,
.modal__close:focus-visible,
.modal-lite__close:focus-visible {
    outline: 2px solid var(--c-brand);
    outline-offset: 3px;
}

/* ============================================================
   BOTÓN "VOLVER AL LEMA ACTUAL"
   ============================================================ */
.lema-volver {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: fadeIn .35s ease;
}
.lema-volver__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1.5px solid rgba(255,106,0,.35);
    border-radius: 999px;
    background: rgba(255,106,0,.08);
    color: var(--c-brand);
    font-family: 'Poppins', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--tr), color var(--tr), transform var(--tr), border-color var(--tr);
}
.lema-volver__btn:hover {
    background: var(--c-brand);
    color: #fff;
    border-color: var(--c-brand);
    transform: translateY(-2px);
}
.lema-volver__btn i { font-size: .85rem; }

/* Estado: lema anterior activo */
.lema-principal.is-anterior .lema-principal__year {
    background: linear-gradient(135deg, #0A0F1C, #1F2937);
    box-shadow: 0 10px 26px rgba(10,15,28,.35);
}
.lema-principal.is-anterior .lema-principal__title {
    color: #0A0F1C;
}

/* ============================================================
   CARD DEL CARRUSEL · ACTIVA
   ============================================================ */
.lema-card.is-active {
    border-color: var(--c-brand);
    box-shadow: 0 12px 32px rgba(255,106,0,.28);
    transform: translateY(-4px);
}
.lema-card.is-active .lema-card__anio {
    background: #0A0F1C;
}

/* ============================================================
   RESET SCROLL AL CAMBIAR
   ============================================================ */
.lema-media-section {
    scroll-margin-top: calc(var(--header-h) + 20px);
}

/* Responsive */
@media (max-width: 560px) {
    .lema-principal__head { padding-top: 10px; margin-bottom: 22px; }
    .lema-principal__title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
    .lema-principal__desc  { font-size: .9rem; }
    .lema-volver__btn      { font-size: .78rem; padding: 9px 16px; }
}

/* ============================================================
   PADDING SUPERIOR DEL ARTICLE 
   ============================================================ */
.lema-principal {
    padding-top: clamp(20px, 4vw, 40px);
}

/* ============================================================
   FALLBACK DE ERROR DE VIDEO
   ============================================================ */
.lema-video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    background: rgba(10,15,28,.06);
    border: 1.5px dashed rgba(255,106,0,.35);
    border-radius: 16px;
    color: var(--c-soft);
    text-align: center;
}
.lema-video-error i {
    font-size: 2.5rem;
    color: var(--c-brand);
}
.lema-video-error p { margin: 0; font-size: .95rem; }
.lema-video-error a {
    color: var(--c-brand);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.lema-video-error a:hover { color: var(--c-brand-2); }

/* ============================================================
   PLACEHOLDER cuando no hay imagen
   ============================================================ */
.lema-principal__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    min-height: 380px;
    background: linear-gradient(135deg, #0A0F1C, #1F2937);
    border-radius: 20px;
    color: rgba(255,255,255,.7);
    text-align: center;
    padding: 40px 20px;
}
.lema-principal__placeholder i {
    font-size: 4rem;
    color: var(--c-brand);
    opacity: .8;
}
.lema-principal__placeholder p {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.lema-principal__placeholder small {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    max-width: 320px;
}

/* ============================================================
   BOTONES DE ACCIÓN BAJO LA IMAGEN
   ============================================================ */
.lema-principal__actions {
    position: static;          /* ya no flotante */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.lema-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 0;
    background: #0A0F1C;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(10,15,28,.25);
}
.lema-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(10,15,28,.35);
}
.lema-action-btn i { font-size: 1.05rem; }

/* Botón Ampliar imagen */
.lema-action-btn--zoom {
    background: #0A0F1C;
    color: #fff;
}
.lema-action-btn--zoom:hover {
    background: #1F2937;
}

/* Botón Ver video */
.lema-action-btn--video {
    background: linear-gradient(135deg, #FF6A00, #FF8C42);
    color: #fff;
    box-shadow: 0 10px 26px rgba(255,106,0,.4);
}
.lema-action-btn--video:hover {
    background: linear-gradient(135deg, #FF8C42, #FF6A00);
    box-shadow: 0 14px 32px rgba(255,106,0,.55);
}

/* ============================================================
   MODAL · VIDEO
   ============================================================ */
.modal--video .modal__video-wrap {
    position: relative;
    z-index: 1;
    width: min(1100px, 92vw);
    max-height: 88vh;
    animation: popIn .3s cubic-bezier(.4, 0, .2, 1);
}

.modal--video .lema-embed,
.modal--video .lema-video {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    background: #000;
}

.modal--video .ratio {
    position: relative;
    width: 100%;
}
.modal--video .ratio::before {
    display: block;
    padding-top: 56.25%;
    content: "";
}
.modal--video .ratio > iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.modal--video .lema-video {
    max-height: 85vh;
    display: block;
}

/* En móvil el modal ocupa todo el ancho */
@media (max-width: 560px) {
    .modal--video .modal__video-wrap {
        width: 100vw;
        max-height: 100vh;
    }
    .modal--video .lema-embed,
    .modal--video .lema-video {
        border-radius: 0;
    }
    .lema-principal__actions {
        gap: 8px;
        margin-top: 20px;
    }
    .lema-action-btn {
        padding: 10px 16px;
        font-size: .82rem;
        flex: 1 1 auto;
        justify-content: center;
    }
}