/* ═══════════════════════════════════════════════════════════════════
   VIDA ESTUDIANTIL UM — SISTEMA DE DISEÑO INSTITUCIONAL
   Tipografía: Fraunces (serif editorial) + Inter (sans-serif)
   Paleta: Cream, Ink, Violet, Terracotta, Lavanda
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --ink: #1e1b22;
    --ink-soft: #58525f;
    --ink-faint: #8b8592;
    --cream: #faf7f2;
    --lav-100: #edeaf3;
    --lav-200: #e2dcee;
    --line: #e1dce9;
    --line-dark: rgba(255, 255, 255, .18);
    --violet: #6c5a92;
    --violet-dk: #4f4070;
    --terracotta: #c1794c;
    --terracotta-lt: #e2a06c;
    --white: #ffffff;
    --btn-dark: #201d26;

    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --container: 1180px;
    --radius-card: 16px;
    --radius-sm: 8px;
    --radius-pill: 999px;

    --shadow-subtle: 0 4px 20px rgba(30, 27, 34, 0.05);
    --shadow-hover: 0 8px 30px rgba(30, 27, 34, 0.10);
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    /* Compatibilidad con variables previas */
    --ve-bg-primary: #ffffff;
    --ve-bg-secondary: #faf7f2;
    --ve-text-primary: #1e1b22;
    --ve-text-secondary: #58525f;
    --ve-text-tertiary: #8b8592;
    --ve-accent: #6c5a92;
    --ve-border: #e1dce9;
    --ve-radius: 16px;
    --ve-radius-sm: 8px;
    --ve-shadow: 0 4px 20px rgba(30, 27, 34, 0.05);
    --ve-shadow-md: 0 8px 30px rgba(30, 27, 34, 0.10);
    --ve-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background-color: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ─── Contenedor General ─── */
.ve-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ─── Eyebrow / Labels ─── */
.ve-label,
.ve-eyebrow,
.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 8px;
}

.ve-section-title {
    font-family: var(--serif);
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 10px;
    letter-spacing: -0.015em;
}

.ve-section-desc {
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}

/* ─── Botones & Enlaces UM ─── */
.ve-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.ve-btn:hover,
.btn:hover {
    transform: translateY(-2px);
}

.ve-btn-primary,
.btn--primary {
    background: var(--white);
    color: var(--ink);
    border-color: transparent;
}

.ve-btn-primary:hover,
.btn--primary:hover {
    background: #f4effa;
    color: var(--ink);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.ve-btn-dark,
.btn--dark {
    background: var(--btn-dark);
    color: var(--white);
}

.ve-btn-dark:hover,
.btn--dark:hover {
    background: #000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.ve-btn-outline,
.btn--ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--line-dark);
}

.ve-btn-outline:hover,
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.ve-btn-secondary,
.btn--outline-dark {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}

.ve-btn-secondary:hover,
.btn--outline-dark:hover {
    background: var(--white);
    border-color: var(--violet);
    color: var(--violet);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--violet);
    transition: var(--transition);
    cursor: pointer;
}

.link-arrow:hover {
    gap: 10px;
    color: var(--violet-dk);
}

/* ─── Navbar ─── */
.navbar,
#navbarBlur {
    background: rgba(250, 247, 242, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: none !important;
    transition: var(--transition);
}

.navbar-brand {
    font-family: var(--sans);
    font-weight: 600;
    color: var(--ink) !important;
    letter-spacing: -0.01em;
}

.navbar .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft) !important;
    transition: var(--transition);
    padding: 8px 12px !important;
}

.navbar .nav-link:hover {
    color: var(--ink) !important;
}

.navbar .nav-link.active,
.navbar .nav-link.font-weight-bold {
    color: var(--ink) !important;
    font-weight: 600 !important;
}

.navbar .dropdown-menu {
    background: var(--white) !important;
    border: 1px solid var(--line) !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-hover) !important;
    padding: 8px !important;
}

.navbar .dropdown-item {
    font-size: 13.5px !important;
    color: var(--ink-soft) !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    transition: var(--transition);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: var(--lav-100) !important;
    color: var(--violet) !important;
}

/* ─── Hero (Idéntico a captura de referencia) ─── */
.ve-hero {
    position: relative;
    background: #0d0c11;
    overflow: hidden;
}

.ve-hero-container {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: var(--white);
    background: #0d0c11;
}

.ve-hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.ve-hero-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%) scale(1.35);
    border: 0;
    pointer-events: none;
    filter: brightness(0.92) contrast(1.05);
}

.ve-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.92) contrast(1.05);
}

/* Velo cinematográfico: suave en el centro para lucir el video y graduado abajo para legibilidad del texto */
.ve-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 12, 17, 0.25) 0%, rgba(13, 12, 17, 0.05) 45%, rgba(13, 12, 17, 0.88) 100%);
}

.ve-hero-bottom-bar {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 36px 52px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
}

.ve-hero-left-content {
    max-width: 660px;
    text-align: left;
}

.ve-hero-eyebrow {
    display: inline-block;
    color: #dfa46e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.ve-hero-title {
    font-family: var(--serif);
    font-size: clamp(34px, 4.4vw, 52px);
    line-height: 1.15;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 24px;
    letter-spacing: -0.015em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
}

.ve-hero-title em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: #f1b37b;
}

.ve-hero-buttons {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn-hero-white {
    background: #ffffff;
    color: #1e1b22 !important;
    border: 1px solid #ffffff;
    border-radius: var(--radius-pill);
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.btn-hero-white:hover {
    background: #f6f1ea;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.ve-hero-right-content {
    flex-shrink: 0;
    padding-bottom: 6px;
}

.hero-watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-pill);
    padding: 10px 22px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.hero-watch-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.hero-play-circle {
    font-size: 11px;
    color: #ffffff;
}

/* Modal flotante de video con audio completo */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 8, 14, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.video-modal.is-open {
    display: flex;
}

.video-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 960px;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.video-modal-body {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-modal-body iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN PREVIA: CONTEXTO PARTICIPA (CAPTURA DE REFERENCIA)
   ═══════════════════════════════════════════════════════════════════ */
.section-participa-contexto {
    padding: 85px 0 24px;
    background-color: var(--cream);
}

.participa-contexto-wrap {
    max-width: 760px;
}

.participa-contexto-eyebrow {
    display: inline-block;
    color: #6c5a92;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.participa-contexto-title {
    font-family: var(--serif);
    font-size: clamp(34px, 4.2vw, 48px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.16;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.participa-contexto-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: COMUNIDAD (CLUBES Y MINISTERIOS — IDÉNTICO A CAPTURA)
   ═══════════════════════════════════════════════════════════════════ */
.section-comunidad {
    padding: 30px 0 100px;
    background-color: var(--cream);
}

.comunidad-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 40px;
}

.comunidad-eyebrow {
    display: inline-block;
    color: #c1794c;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.comunidad-title {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 44px);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 12px;
    line-height: 1.2;
}

.comunidad-desc {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0 auto 28px;
}

/* Control segmentado en cápsula (Pill Switch) */
.comunidad-switch {
    display: inline-flex;
    align-items: center;
    background: #ece8f2;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 4px;
    gap: 4px;
}

.comunidad-switch-btn {
    border: none;
    background: transparent;
    padding: 9px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
}

.comunidad-switch-btn.active {
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 2px 8px rgba(30, 27, 34, 0.08);
}

/* Contenedor de dos columnas */
.comunidad-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
    align-items: stretch;
    transition: opacity 0.3s ease;
}

/* Inversión para Ministerios: Grilla a la izquierda, tarjeta a la derecha */
.comunidad-grid--inverted {
    grid-template-columns: 1.05fr 0.95fr;
}

.comunidad-grid--inverted .comunidad-col-card {
    order: 2;
}

.comunidad-grid--inverted .comunidad-col-tiles {
    order: 1;
}

/* Tarjeta blanca contenedora izquierda */
.comunidad-main-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 42px 36px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 20px rgba(30, 27, 34, 0.04);
}

.comunidad-card-tag {
    color: #c1794c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.comunidad-card-title {
    font-family: var(--serif);
    font-size: clamp(26px, 2.6vw, 32px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 16px;
}

.comunidad-card-desc {
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 0 0 24px;
}

.comunidad-card-hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 20px 0;
}

.comunidad-destacado-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 10px;
}

.comunidad-destacado-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.comunidad-destacado-name {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.comunidad-featured-content {
    transition: opacity 300ms ease;
}

.comunidad-featured-content.is-updating {
    opacity: 0;
}

.comunidad-destacado-pill {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #f0ecf5;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.comunidad-destacado-text {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.55;
    margin: 0 0 28px;
}

.comunidad-blank-placeholder {
    padding: 16px 0 28px;
    color: var(--ink-faint);
    font-size: 13.5px;
    font-style: italic;
}

.btn-comunidad-dir {
    margin-top: auto;
    align-self: flex-start;
    background: #201d26;
    color: #ffffff !important;
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-comunidad-dir:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Grilla 2x2 de tarjetas */
.comunidad-tiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comunidad-tile {
    position: relative;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 4px 16px rgba(30, 27, 34, 0.06);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.comunidad-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(30, 27, 34, 0.14);
}

.comunidad-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}

.comunidad-tile:hover img {
    transform: none;
}

.comunidad-tile-slide img,
.comunidad-tile:hover .comunidad-tile-slide img {
    scale: 1 !important;
    transition: none !important;
}

.comunidad-tile-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.comunidad-tile-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.comunidad-tile-slide.is-leaving {
    opacity: 0;
}

.comunidad-tile-slide .comunidad-tile-overlay {
    z-index: 1;
}

.comunidad-tile-slide .comunidad-tile-cap {
    position: absolute;
    inset: auto 0 0;
}

.comunidad-tile.is-featured::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e27b45;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.88), 0 1px 5px rgba(0, 0, 0, 0.3);
}

.comunidad-tile.is-rendering {
    opacity: 0;
    transform: translateY(8px);
}

.comunidad-tiles-grid.is-ready .comunidad-tile.is-rendering {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 350ms ease, transform 350ms ease;
}

.comunidad-tile.is-swapping {
    cursor: progress;
}

@media (prefers-reduced-motion: reduce) {

    .comunidad-featured-content,
    .comunidad-tile-slide,
    .comunidad-tile.is-rendering,
    .comunidad-tiles-grid.is-ready .comunidad-tile.is-rendering {
        transition: opacity 180ms ease !important;
        transform: none !important;
    }
}

.comunidad-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(13, 12, 17, 0.72) 0%, rgba(13, 12, 17, 0.1) 60%, transparent 100%);
    z-index: 1;
}

.comunidad-tile-cap {
    position: relative;
    z-index: 2;
    padding: 22px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    width: 100%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Colores de los 4 tiles tomados exactamente de la imagen adjunta */
.tile-grad-purple {
    background: linear-gradient(150deg, #5c4a6e 0%, #3a2e47 100%);
}

.tile-grad-terracotta {
    background: linear-gradient(150deg, #b86538 0%, #7e3e1a 100%);
}

.tile-grad-olive {
    background: linear-gradient(150deg, #a67c48 0%, #684920 100%);
}

.tile-grad-slate {
    background: linear-gradient(150deg, #6c6375 0%, #443c4a 100%);
}

@media (max-width: 991px) {

    .comunidad-grid,
    .comunidad-grid--inverted {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .comunidad-grid--inverted .comunidad-col-card {
        order: 1;
    }

    .comunidad-grid--inverted .comunidad-col-tiles {
        order: 2;
    }
}

@media (max-width: 576px) {
    .comunidad-tiles-grid {
        grid-template-columns: 1fr;
    }

    .comunidad-main-card {
        padding: 30px 22px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: SPOTLIGHT ("CONOCE EQUIPOS UM E INSTALACIONES" — DISEÑO ORIGINAL DE 2 TARJETAS)
   ═══════════════════════════════════════════════════════════════════ */
.spotlight {
    position: relative;
    padding: 76px 0 84px;
    color: var(--white);
    overflow: hidden;
    background: linear-gradient(135deg, #18141f 0%, #291e2b 45%, #422619 100%);
}

.spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(193, 121, 76, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(108, 90, 146, 0.18) 0%, transparent 50%);
    pointer-events: none;
}

.spotlight .wrap {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.spotlight__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.spotlight__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.spotlight__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.spotlight__card h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    line-height: 1.25;
    margin: 0 0 12px;
}

.spotlight__card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14.5px;
    line-height: 1.55;
    margin: 0 0 24px;
}

.spotlight__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.spotlight__link:hover {
    gap: 12px;
    color: #f1b37b;
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: EVENTOS
   ═══════════════════════════════════════════════════════════════════ */
.ve-section {
    padding: 96px 0;
}

.ve-section-events {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.ve-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.ve-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.ve-event-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.ve-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: #d1c8dc;
}

.ve-event-image {
    height: 190px;
    overflow: hidden;
    position: relative;
    background: var(--lav-200);
}

.ve-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ve-event-card:hover .ve-event-image img {
    transform: scale(1.05);
}

.ve-event-body {
    padding: 24px;
    display: flex;
    gap: 18px;
    flex: 1;
}

.ve-event-date {
    flex-shrink: 0;
    width: 60px;
    height: 68px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px;
    text-align: center;
}

.ve-event-month {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet);
}

.ve-event-day {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
}

.ve-event-year {
    display: none;
}

.ve-event-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ve-event-category {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--violet);
    background: var(--lav-100);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
}

.ve-event-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin: 0 0 8px;
}

.ve-event-location {
    font-size: 13px;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
}

.ve-event-location svg {
    color: var(--ink-faint);
    flex-shrink: 0;
}

.ve-event-excerpt {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}

.ve-event-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--violet);
    transition: var(--transition);
}

.ve-event-link:hover {
    gap: 10px;
    color: var(--violet-dk);
}

/* ═══════════════════════════════════════════════════════════════════
   SECCIÓN: ESTADÍSTICAS
   ═══════════════════════════════════════════════════════════════════ */
.ve-section-stats {
    background: var(--cream);
}

.ve-section-header-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 56px;
}

.ve-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ve-stat-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 36px 20px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.ve-stat-card:hover {
    transform: translateY(-4px);
    border-color: #d1c8dc;
    box-shadow: var(--shadow-hover);
}

.ve-stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lav-100);
    border-radius: 50%;
    color: var(--violet);
    transition: var(--transition);
}

.ve-stat-card:hover .ve-stat-icon {
    background: var(--violet);
    color: var(--white);
}

.ve-stat-number {
    font-family: var(--serif);
    font-size: clamp(32px, 3.5vw, 42px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 6px;
}

.ve-stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}

/* ─── Empty State ─── */
.ve-empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--ink-faint);
}

.ve-empty-state svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.ve-empty-state p {
    margin: 0;
    font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER INSTITUCIONAL
   ═══════════════════════════════════════════════════════════════════ */
.ve-footer,
.portal-footer {
    background: var(--ink) !important;
    color: rgba(255, 255, 255, 0.72) !important;
    padding: 80px 0 32px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.ve-footer-shell {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.ve-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ve-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.ve-footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 300px;
    margin-bottom: 24px;
}

.ve-footer-social {
    display: flex;
    gap: 10px;
}

.ve-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.ve-footer-social a:hover {
    background: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
    transform: translateY(-2px);
}

.ve-footer-title {
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 18px;
}

.ve-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ve-footer-list a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    transition: var(--transition);
}

.ve-footer-list a:hover {
    color: var(--white);
    padding-left: 2px;
}

.ve-footer-contact li {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
}

.ve-footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
}

/* ─── Responsivo ─── */
@media (max-width: 992px) {

    .involve-block,
    .involve-block--inverted {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .involve-block--inverted .involve-info {
        order: 1;
    }

    .involve-block--inverted .involve-gallery {
        order: 2;
    }

    .spotlight__grid {
        grid-template-columns: 1fr;
    }

    .ve-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ve-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {

    .ve-section,
    .section-participa,
    .spotlight {
        padding: 64px 0;
    }

    .ve-hero-container {
        min-height: 70vh;
    }

    .ve-hero-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 0 24px 36px;
    }

    .ve-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ve-events-grid {
        grid-template-columns: 1fr;
    }

    .ve-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ve-stat-card {
        padding: 24px 16px;
    }

    .ve-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .ve-container {
        padding: 0 20px;
    }

    .ve-hero-content {
        padding: 60px 16px;
    }

    .ve-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .ve-btn {
        width: 100%;
        justify-content: center;
    }

    .ve-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .photo-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   CATÁLOGO DE CLUBES Y MINISTERIOS (PROPUESTA EDITORIAL INSTITUCIONAL)
   ═══════════════════════════════════════════════════════════════════ */

/* 1. Encabezado Oscuro */
.cat-hero {
    background: #1c1822;
    padding: 70px 0 54px;
    position: relative;
    color: #ffffff;
}

.cat-hero-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.cat-hero-eyebrow {
    display: inline-block;
    color: #a397b2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cat-hero-title {
    font-family: var(--serif);
    font-size: clamp(38px, 4.5vw, 54px);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 16px;
}

.cat-hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--terracotta-lt);
}

.cat-hero-sub {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 620px;
    margin: 0 0 26px;
}

.cat-hero-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cat-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ded7e8;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.cat-badge-pill.is-active,
.cat-badge-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.cat-badge-pill--link {
    color: var(--terracotta-lt);
    border-color: rgba(226, 160, 108, 0.35);
}

.cat-badge-pill--link:hover {
    background: rgba(226, 160, 108, 0.15);
    color: #ffffff;
}

/* 2. Barra de Filtros y Búsqueda */
.cat-filter-bar {
    background: #f7f4ee;
    border-bottom: 1px solid #e5dfd5;
    position: sticky;
    top: 76px;
    z-index: 95;
    box-shadow: 0 2px 10px rgba(30, 27, 34, 0.03);
}

.cat-filter-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cat-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding: 2px 0;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    background: transparent;
    border: 1px solid transparent;
    color: #4b4453;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cat-pill:hover {
    background: #ece7de;
    color: #1e1b22;
}

.cat-pill.is-active {
    background: #1c1822;
    color: #ffffff;
    border-color: #1c1822;
}

.cat-search-box {
    position: relative;
    min-width: 240px;
    max-width: 300px;
    width: 100%;
}

.cat-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c8395;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.cat-search-input {
    width: 100%;
    padding: 9px 16px 9px 38px;
    background: #ffffff;
    border: 1px solid #dad3c8;
    border-radius: var(--radius-pill);
    font-family: var(--sans);
    font-size: 13.5px;
    color: #1e1b22;
    transition: var(--transition);
    outline: none;
}

.cat-search-input:focus {
    border-color: #6c5a92;
    box-shadow: 0 0 0 3px rgba(108, 90, 146, 0.15);
}

/* 3. Sección Catálogo (Layout Dos Columnas) */
.cat-section {
    background-color: var(--cream);
    padding: 64px 0 90px;
}

.cat-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 52px;
    align-items: start;
}

.cat-sidebar {
    position: sticky;
    top: 154px;
    padding-right: 12px;
}

.cat-side-title {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
    color: #1e1b22;
    line-height: 1.2;
    margin: 0 0 10px;
}

.cat-side-desc {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    color: #5c5565;
    margin: 0 0 20px;
}

.cat-side-count {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8f8598;
}

.cat-main {
    min-height: 380px;
}

/* 4. Grilla de Tarjetas */
.cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 22px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: transparent;
    transition: var(--transition);
    color: inherit;
}

.cat-card:hover .cat-card-media img {
    transform: scale(1.05);
}

.cat-card:hover .cat-card-title {
    color: var(--terracotta);
}

.cat-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 12;
    border-radius: 16px;
    overflow: hidden;
    background-color: #2e2838;
    box-shadow: 0 4px 16px rgba(30, 27, 34, 0.06);
}

.cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.cat-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.02em;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Gradientes para tarjetas sin imagen (paleta exacta PDF) */
.cat-grad-purple {
    background: linear-gradient(135deg, #6c5a92 0%, #473a64 100%);
}

.cat-grad-terracotta {
    background: linear-gradient(135deg, #b8784d 0%, #8f532a 100%);
}

.cat-grad-olive {
    background: linear-gradient(135deg, #9b8146 0%, #745f2c 100%);
}

.cat-grad-slate {
    background: linear-gradient(135deg, #4d546a 0%, #2f3445 100%);
}

/* Cuerpo de tarjeta */
.cat-card-body {
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cat-card-title {
    font-family: var(--serif);
    font-size: 18.5px;
    font-weight: 500;
    color: #1e1b22;
    line-height: 1.25;
    margin: 0 0 6px;
    transition: color 0.2s ease;
}

.cat-card-desc {
    font-family: var(--sans);
    font-size: 13.5px;
    line-height: 1.5;
    color: #5c5565;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-meta {
    margin-top: auto;
    padding-top: 4px;
}

.cat-card-req {
    display: inline-block;
    font-family: var(--sans);
    font-size: 11.5px;
    font-weight: 600;
    color: #8f8598;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Empty State cuando la BD está vacía (sin inventar datos) */
.cat-empty-state {
    background: #ffffff;
    border: 1px dashed #ded7cc;
    border-radius: 20px;
    padding: 56px 32px;
    text-align: center;
    max-width: 580px;
    margin: 20px auto;
}

.cat-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #f4f0e9;
    color: #8c8395;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-empty-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: #1e1b22;
    margin: 0 0 8px;
}

.cat-empty-text {
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.6;
    color: #6a6372;
    margin: 0;
}

/* 5. Banner CTA Inferior (¿No sabes por dónde empezar?) */
.cat-cta-section {
    background: #392f49;
    padding: 76px 0;
    color: #ffffff;
    text-align: center;
}

.cat-cta-box {
    max-width: 620px;
    margin: 0 auto;
    padding: 0 24px;
}

.cat-cta-title {
    font-family: var(--serif);
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 12px;
}

.cat-cta-desc {
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 auto 28px;
}

.btn-cat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #2e263c !important;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.btn-cat-cta:hover {
    background: #f7f4ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .cat-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cat-sidebar {
        position: static;
        padding-right: 0;
    }

    .cat-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-filter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .cat-search-box {
        max-width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   FICHA INFORMATIVA LATERAL (OFFCANVAS / SIDE DRAWER)
   ═══════════════════════════════════════════════════════════════════ */
.ficha-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(18, 15, 23, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ficha-drawer-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ficha-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(18, 15, 23, 0.28);
}

.ficha-drawer.is-open {
    transform: translateX(0);
}

.ficha-drawer-header {
    background: linear-gradient(135deg, #241d2e 0%, #3e3250 100%);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    flex-shrink: 0;
}

.ficha-badge {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ficha-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.ficha-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.ficha-drawer-body {
    padding: 32px 30px;
    overflow-y: auto;
    flex: 1;
    background: #faf8f5;
}

.ficha-title-wrap {
    margin-bottom: 22px;
}

.ficha-title {
    font-family: var(--serif);
    font-size: clamp(26px, 3.2vw, 34px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 6px;
}

.ficha-siglas {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0 0 8px;
}

.ficha-lema {
    display: inline-block;
    font-style: italic;
    font-family: var(--serif);
    color: var(--terracotta);
    font-size: 14.5px;
    margin-top: 4px;
}

.ficha-quick-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 26px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.ficha-meta-pill {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    min-width: 100px;
}

.ficha-meta-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 3px;
}

.ficha-meta-val {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.ficha-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(30, 27, 34, 0.02);
}

.ficha-section-title {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f2ede5;
    padding-bottom: 8px;
}

.ficha-subitem {
    margin-bottom: 14px;
}

.ficha-subitem:last-child {
    margin-bottom: 0;
}

.ficha-sublabel {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 4px;
}

.ficha-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #4f4756;
    margin: 0;
}

.ficha-drawer-footer {
    padding: 18px 28px;
    background: #ffffff;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.btn-ficha-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #201d26;
    color: #ffffff !important;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: var(--transition);
}

.btn-ficha-cta:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 580px) {
    .ficha-drawer {
        max-width: 100%;
    }

    .ficha-drawer-body {
        padding: 22px 18px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   PÁGINA DE DETALLE EDITORIAL (PROPUESTA MINISTERIOS / AALMMA)
   ═══════════════════════════════════════════════════════════════════ */

/* 1. Hero Split */
.min-detail-hero {
    background: #1c1822;
    padding: 64px 0 56px;
    color: #ffffff;
    position: relative;
}

.min-hero-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 52px;
    align-items: center;
}

.min-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a397b2 !important;
    text-decoration: none;
    margin-bottom: 20px;
    transition: var(--transition);
}

.min-back-link:hover {
    color: #ffffff !important;
    transform: translateX(-3px);
}

.min-hero-title {
    font-family: var(--serif);
    font-size: clamp(40px, 4.8vw, 56px);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.min-hero-sub {
    font-size: 15.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 0 32px;
}

.min-hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-min-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #1c1822 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.btn-min-primary:hover {
    background: #f7f4ee;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.btn-min-ghost {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: var(--transition);
}

.btn-min-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
}

.min-hero-visual {
    width: 100%;
    aspect-ratio: 16 / 11;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.min-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.min-hero-quote-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 30px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(2px);
}

.min-hero-quote-text {
    font-family: var(--serif);
    font-size: clamp(21px, 2.4vw, 28px);
    font-style: italic;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    max-width: 440px;
}

/* 2. Cuerpo Principal (Diseño Editorial Integrado) */
.min-detail-body {
    background-color: var(--cream);
    padding: 64px 0 90px;
}

.min-detail-layout-full {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.min-content {
    display: flex;
    flex-direction: column;
    gap: 52px;
}

.min-sec-title {
    font-family: var(--serif);
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 18px;
}

.min-lead-text {
    font-size: 16px;
    line-height: 1.75;
    color: #4f4756;
    margin: 0 0 24px;
}

/* Fila de Métricas / Stats Reales */
.min-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.min-stat-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 2px 10px rgba(30, 27, 34, 0.03);
    transition: var(--transition);
}

.min-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 27, 34, 0.06);
}

.min-stat-num {
    display: block;
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 4px;
}

.min-stat-label {
    font-size: 12.5px;
    line-height: 1.4;
    color: #6c6375;
    display: block;
}

/* Tarjetas de Actividades («Lo que vas a hacer») — Estilo Institucional Editorial */
.min-activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.min-activity-card {
    background: #ffffff;
    border: 1px solid #e2dce9;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(30, 27, 34, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.min-activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(30, 27, 34, 0.06);
    border-color: #cbbfc7;
}

.min-act-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #ede8e1;
    margin-bottom: 16px;
    position: relative;
}

.min-act-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.min-act-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #f5f2ed 0%, #eae4da 100%);
    color: #8c8296;
    font-size: 12px;
    font-weight: 500;
}

.min-act-media-placeholder i {
    font-size: 22px;
    color: #aba1b5;
}

.min-act-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.min-act-title {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.min-act-desc {
    font-size: 13.8px;
    line-height: 1.55;
    color: #55505e;
    margin: 0;
}

/* Tarjetas de Crecimiento («Cómo vas a crecer») — Sobrio y Formal */
.min-growth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.min-growth-card {
    background: #ffffff;
    border: 1px solid #e2dce9;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 8px rgba(30, 27, 34, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.min-growth-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 27, 34, 0.05);
}

.min-growth-title {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 6px;
    line-height: 1.25;
}

.min-growth-desc {
    font-size: 13.8px;
    line-height: 1.55;
    color: #55505e;
    margin: 0;
}

/* Timeline Gráfica («Nuestra historia») */
.min-timeline-v2 {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid #e2dce9;
    margin-left: 6px;
}

.min-tl-item {
    position: relative;
}

.min-tl-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6c5a92;
    border: 2px solid #f6f3ed;
}

.min-tl-badge {
    display: inline-block;
    font-family: var(--serif);
    font-size: 15px;
    font-weight: 600;
    color: #6c5a92;
    background: #edeaf3;
    padding: 2px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 6px;
}

.min-tl-content {
    background: #ffffff;
    border: 1px solid #e2dce9;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(30, 27, 34, 0.02);
}

.min-tl-heading {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px;
}

.min-tl-text {
    font-size: 13.8px;
    line-height: 1.55;
    color: #55505e;
    margin: 0;
}

/* En acción (Slots para fotos futuras) */
.min-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.min-action-tile {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    margin: 0;
    box-shadow: 0 2px 10px rgba(30, 27, 34, 0.04);
}

.min-action-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.min-action-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.min-action-slot {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2dce9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    transition: var(--transition);
}

.min-action-slot:hover {
    border-color: #cbbfc7;
    transform: translateY(-2px);
}

.min-action-slot-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.min-action-slot-inner i {
    font-size: 22px;
    color: #aba1b5;
    margin-bottom: 4px;
}

.slot-title {
    font-family: var(--serif);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
}

.slot-sub {
    font-size: 11.5px;
    color: #8c8296;
}

/* Bloque Estático: "Antes de unirte" (Sin barra lateral vacía) */
.min-unirte-static-block {
    margin-top: 8px;
}

.min-unirte-box {
    background: #ffffff;
    border: 1px solid #e2dce9;
    border-radius: 20px;
    padding: 36px 38px;
    box-shadow: 0 4px 20px rgba(30, 27, 34, 0.04);
}

.min-unirte-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f0ecf4;
    flex-wrap: wrap;
}

.min-unirte-title {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.min-unirte-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.min-unirte-item strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.min-unirte-item span {
    font-size: 14.5px;
    line-height: 1.5;
    color: #55505e;
}

.min-sidebar-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #edf5ed;
    color: #27672a;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2e7d32;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
    display: inline-block;
}

.btn-min-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1e1b22;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-min-sidebar:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-min-sidebar i {
    font-size: 16px;
    color: #25d366;
}

@media (max-width: 768px) {
    .min-unirte-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .min-unirte-box {
        padding: 26px 20px;
    }

    .min-unirte-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .min-unirte-header .btn-min-sidebar {
        width: 100%;
    }
}

/* 3. También podría interesarte */
.min-related-section {
    background-color: var(--cream);
    border-top: 1px solid var(--line);
    padding: 64px 0 90px;
}

.min-related-title {
    font-family: var(--serif);
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 500;
    color: var(--ink);
    margin: 0 0 32px;
}

@media (max-width: 991px) {
    .min-hero-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .min-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .min-sidebar-card {
        position: static;
    }

    .min-grid-2x2,
    .min-activities-grid,
    .min-growth-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .min-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .min-stats-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .min-action-grid {
        grid-template-columns: 1fr;
    }
}