/* ==========================================================================
   Hub central de Spectro Spaces (dominio raíz)
   Portada, /eventos/, /fotografos/ y páginas puente de evento.
   Reutiliza el lenguaje visual de landing-public.css / landing-event-cards.css;
   aquí solo viven las piezas propias del hub (topbar, hero, directorio).
   ========================================================================== */

.hub-shell {
    min-height: 100vh;
    background: #eef2f7;
    display: flex;
    flex-direction: column;
    /* Guarda anti-scroll horizontal: las tarjetas rotadas del hero y los
       márgenes negativos del grid nunca deben empujar el viewport. */
    overflow-x: clip;
}

.hub-main {
    flex: 1 0 auto;
}

/* Variantes de copy por breakpoint (mismo corte de 640px que el resto del
   hub): permiten textos más cortos en móvil sin duplicar bloques. */
.hub-only-mobile { display: none; }

@media (max-width: 640px) {
    .hub-only-mobile { display: inline; }
    .hub-only-desktop { display: none; }
}

/* ---------------- Topbar ---------------- */

/* Negro puro y plano: mismo tono exacto en portada, /eventos/, /fotografos/,
   detalle y búsqueda, sin variaciones sutiles de matiz entre rutas. */
.hub-topbar {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 1.2rem clamp(1rem, 3vw, 1.5rem);
}

.hub-topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.6vw, 2rem);
    min-height: 40px;
}

.hub-topbar-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    opacity: .95;
    transition: opacity .18s ease;
}

.hub-topbar-brand:hover { opacity: 1; }

/* Logo wordmark horizontal (asset recortado ~12:1). El alto fija el tamaño;
   max-width debe ser >= alto x 12.3 para que object-fit contain no lo recorte.
   Alto fijo (no clamp) para controlarlo con un solo número. En móvil el
   max-width por vw lo reduce para no aplastar las acciones. */
.hub-topbar-brand img {
    height: 50px;
    max-width: min(70vw, 600px);
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .28));
}

/* Tabs alineadas a la izquierda junto al logo, con un gap claro que las
   separa de él (margin-left). Las acciones se van a la derecha con su propio
   margin-left:auto. */
.hub-topbar-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: clamp(1.5rem, 4vw, 3rem);
}

/* Tabs sobrias: texto contenido + subrayado degradado que crece al pasar
   el cursor y permanece en la sección activa. */
.hub-topbar-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: rgba(255, 255, 255, .62);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .035em;
    text-decoration: none;
    padding: .35rem 0;
    transition: color .2s ease;
}

.hub-topbar-link i {
    font-size: 1rem;
    line-height: 0;
}

/* El subrayado crece desde el centro hacia afuera (simétrico), con una curva
   suave de salida. Se desvanece a la vez para que la entrada se sienta más
   ligera y elegante que un barrido lateral. */
.hub-topbar-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6ea8ff, #46b6ff);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .32s ease;
}

.hub-topbar-link:hover {
    color: rgba(255, 255, 255, .92);
}

.hub-topbar-link.is-active {
    color: #fff;
}

.hub-topbar-link:hover::after,
.hub-topbar-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.hub-topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

/* Sección "Para fotógrafos": separada del nav de asistentes por un filete
   vertical, agrupa el acceso de fotógrafos (login) bajo una etiqueta kicker,
   en el mismo lenguaje editorial que los eyebrows del hub. */
.hub-topbar-seg {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: clamp(1rem, 2vw, 1.5rem);
    border-left: 1px solid rgba(255, 255, 255, .14);
}

/* La etiqueta va fuera del flujo (absoluta) para que solo el enlace centre el
   flexbox de la navbar y quede alineado con las tabs; "Para fotógrafos" flota
   encima con un espacio intermedio libre. */
.hub-topbar-seg-label {
    position: absolute;
    left: clamp(1rem, 2vw, 1.5rem);
    bottom: calc(100% + .4rem);
    color: rgba(255, 255, 255, .42);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.hub-topbar-login {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
    text-decoration: none;
    padding: 0;
    white-space: nowrap;
    transition: color .2s ease;
}

.hub-topbar-login i {
    font-size: 1rem;
    line-height: 0;
}

.hub-topbar-login:hover {
    color: #fff;
}

/* CTA de cristal que se invierte a blanco sólido al pasar el cursor. */
.hub-topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .03em;
    padding: .52rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .22s ease, border-color .22s ease, color .22s ease, transform .18s ease, box-shadow .22s ease;
}

.hub-topbar-cta i {
    font-size: .85rem;
    transition: transform .2s ease;
}

.hub-topbar-cta:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #0b1020;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .55);
}

.hub-topbar-cta:hover i {
    transform: translateX(3px);
}

/* Botón hamburguesa: oculto en escritorio, visible solo en móvil. */
.hub-topbar-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, .9);
    font-size: 1.5rem;
    line-height: 0;
    cursor: pointer;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
}

.hub-topbar-burger .hub-burger-close { display: none; }
.hub-topbar-burger[aria-expanded="true"] .hub-burger-open { display: none; }
.hub-topbar-burger[aria-expanded="true"] .hub-burger-close { display: inline-flex; }

/* Menú móvil desplegable: oculto por defecto (y siempre en escritorio),
   se despliega bajo la navbar al abrir el burger. Una sola fila compacta
   alineada a la derecha en vez de lista vertical: el desplegable apenas
   añade alto. flex-wrap es la red de seguridad en pantallas mínimas. */
.hub-mobile-menu {
    display: none;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: .25rem 0 .15rem;
    margin-top: .8rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

@keyframes hubMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

.hub-mobile-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    /* Altura táctil >= 44px; el clamp aprieta el texto en pantallas muy
       angostas para que la fila completa quepa sin quebrar. */
    padding: .8rem .2rem;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(.82rem, 3.8vw, .92rem);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.hub-mobile-link i { font-size: 1rem; color: rgba(255, 255, 255, .55); }
.hub-mobile-link.is-active { color: #fff; }
.hub-mobile-link.is-active i { color: #6ea8ff; }

/* El acceso de fotógrafos se separa con un filete vertical, el mismo gesto
   que el seg de la navbar de escritorio. */
.hub-mobile-link--seg {
    margin-left: clamp(.7rem, 3vw, 1.1rem);
    padding-left: clamp(.7rem, 3vw, 1.1rem);
    border-left: 1px solid rgba(255, 255, 255, .14);
}

/* Móvil y tablet (<=991px): logo centrado + hamburguesa a la derecha; las
   tabs y acciones de escritorio se ocultan y viven en el menú desplegable.
   El corte a 991px evita el rango tablet donde la navbar completa no cabe. */
@media (max-width: 991px) {
    .hub-topbar { padding-top: .95rem; padding-bottom: .95rem; }
    .hub-topbar-inner {
        position: relative;
        justify-content: center;
    }
    .hub-topbar-burger {
        display: inline-flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    /* El logo respeta el hueco del burger a cada lado para quedar centrado
       de verdad, sin tocarlo ni desbordarse. */
    .hub-topbar-brand img { max-width: min(100vw - 140px, 420px); }
    .hub-topbar-nav { display: none; }
    .hub-topbar-actions { display: none; }

    .hub-mobile-menu.is-open {
        display: flex;
        animation: hubMenuIn .22s ease;
    }
}

/* Teléfonos: navbar con presencia — más alta y con el logo dominando el
   centro. El burger conserva su tamaño táctil base (40px). El 70vw deja
   ~15vw libres a cada lado del logo, suficiente para no rozar el burger
   incluso a 320px. */
@media (max-width: 640px) {
    .hub-topbar {
        padding-top: .85rem;
        padding-bottom: .85rem;
    }

    .hub-topbar-inner { min-height: 40px; }

    .hub-topbar-brand img { max-width: min(70vw, 380px); }

    .hub-mobile-menu { margin-top: .6rem; }
}

/* ---------------- Hero ---------------- */

/* Spotlight sobre negro: la base nace en el negro puro del navbar (una sola
   superficie continua) y baja hacia un azul-negro profundo; la luz azul
   emerge del centro como foco de escenario. */
.hub-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        /* Cap negro: funde el arranque del hero con el navbar para que el
           spotlight no se corte en la costura, sino que florezca debajo. */
        linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 160px),
        radial-gradient(1000px 520px at 50% -6%, rgba(110, 168, 255, .24) 0%, transparent 60%),
        radial-gradient(720px 480px at 100% 0%, rgba(99, 102, 241, .20) 0%, transparent 65%),
        radial-gradient(640px 460px at 0% 100%, rgba(70, 182, 255, .12) 0%, transparent 65%),
        linear-gradient(180deg, #000000 0%, #05070f 45%, #0a1020 100%);
}

/* Textura de puntos muy tenue, desvanecida hacia los bordes. */
.hub-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(115% 85% at 50% 0%, #000 42%, transparent 80%);
    mask-image: radial-gradient(115% 85% at 50% 0%, #000 42%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

/* Borde inferior tipo "sheet": la sección clara sube sobre el hero con
   esquinas redondeadas, en lugar de un fundido degradado. */
.hub-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 26px;
    background: #eef2f7;
    border-radius: 26px 26px 0 0;
    pointer-events: none;
    z-index: 0;
}

.hub-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(3.75rem, 8vw, 5.75rem) 1.25rem clamp(3.75rem, 7vw, 5.25rem);
    text-align: center;
}

/* Eyebrow / kicker: línea editorial silenciosa, sin pill, para no competir
   con el CTA del topbar ni con los botones del hero. */
.hub-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

/* Filete fino en lugar de punto brillante: gesto editorial, no de badge. */
.hub-hero-eyebrow .dot {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6ea8ff, rgba(70, 182, 255, .25));
}

.hub-hero h1 {
    margin: 0 0 .9rem;
    font-size: clamp(2rem, 5.2vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: #fff;
}

/* Titular en dos líneas con contraste editorial: la primera en sans pesada,
   la segunda en serif itálica con un degradado azul suave. El contraste de
   familias tipográficas es lo que lo aleja del look genérico de SaaS. */
.hub-hero-h1-lead {
    display: block;
}

.hub-hero-h1-tail {
    display: block;
    margin-top: .1em;
    font-family: ui-serif, Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 500;
    font-size: .93em;
    letter-spacing: -0.005em;
    line-height: 1.18;
    background: linear-gradient(95deg, #cdd9ff 0%, #9db7ff 45%, #46b6ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Respiro para el remate de la itálica, que de otro modo se recorta. */
    padding-right: .08em;
    padding-bottom: .06em;
}

.hub-hero-sub {
    margin: 0 auto 1.9rem;
    max-width: 30rem;
    color: rgba(255, 255, 255, .72);
    font-size: 1rem;
    line-height: 1.72;
    text-wrap: pretty;
}

.hub-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .9rem 1.4rem;
}

/* Secundario como enlace de texto subrayado (un botón + un enlace es una
   pareja más elegante que dos pills; mismo patrón que la landing). */
.hub-hero-textlink {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    padding-bottom: .12rem;
    transition: color .2s ease, border-color .2s ease;
}

.hub-hero-textlink:hover {
    color: #fff;
    border-color: rgba(110, 168, 255, .7);
}

.hub-hero-textlink i {
    font-size: .95rem;
    transition: transform .2s ease;
}

.hub-hero-textlink:hover i {
    transform: translateX(3px);
}

/* ---- Hero dividido: copy a la izquierda, eventos reales a la derecha ---- */

.hub-hero--split .hub-hero-inner {
    max-width: 1180px;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.2rem, 5vw, 3.5rem);
    align-items: center;
}

@media (min-width: 992px) {
    .hub-hero--split .hub-hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    }

    /* La columna de copy es más baja que la de tarjetas: anclarla arriba
       en vez de centrarla, e incluso subirla un poco por encima del borde
       superior de la tarjeta principal para que el bloque de texto domine
       la composición. Las tarjetas no se mueven. */
    .hub-hero--split .hub-hero-copy {
        align-self: start;
        margin-top: -2.0rem;
    }
}

.hub-hero--split .hub-hero-sub {
    margin-left: 0;
    margin-right: 0;
}

.hub-hero--split .hub-hero-actions {
    justify-content: flex-start;
}

/* ---- Tarjetas de eventos reales en el hero ---- */

.hub-hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* El <picture> que evita descargar la portada en móvil no debe alterar el
   layout: la imagen se comporta como hija directa de la tarjeta. */
.hub-hero-card picture { display: contents; }

.hub-hero-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 34px 70px -28px rgba(0, 0, 0, .6);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.hub-hero-card--main {
    width: min(410px, 100%);
    transform: rotate(-1.2deg);
    z-index: 1;
}

.hub-hero-card--main:hover {
    border-color: rgba(110, 168, 255, .45);
    box-shadow: 0 0 0 1px rgba(110, 168, 255, .14), 0 40px 80px -30px rgba(0, 0, 0, .7);
}

.hub-hero-card-cover {
    display: block;
    width: 100%;
    height: 172px;
    object-fit: cover;
}

.hub-hero-card-cover--fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .35);
    font-size: 2rem;
    background:
        radial-gradient(70% 80% at 25% 20%, rgba(255, 255, 255, .14) 0%, transparent 60%),
        linear-gradient(135deg, #26408b 0%, #0d1428 70%);
}

.hub-hero-card-state {
    position: absolute;
    top: .7rem;
    left: .7rem;
}

.hub-status-pill--sm {
    font-size: .62rem;
    padding: .28rem .65rem;
    background: rgba(11, 16, 32, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.hub-hero-card-body {
    display: block;
    padding: .95rem 1.1rem 1.05rem;
}

.hub-hero-card-name {
    display: block;
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.hub-hero-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .2rem .85rem;
    margin-top: .35rem;
    color: rgba(255, 255, 255, .62);
    font-size: .76rem;
    font-weight: 500;
}

.hub-hero-card-meta i {
    margin-right: .15rem;
}

.hub-hero-card-cta {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .7rem;
    color: #9db7ff;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hub-hero-card-cta i {
    transition: transform .2s ease;
}

.hub-hero-card--main:hover .hub-hero-card-cta i {
    transform: translateX(3px);
}

/* Segunda tarjeta compacta, solapada sobre la esquina de la principal:
   sugiere que hay más eventos sin repetir la misma tarjeta dos veces. */
.hub-hero-card--compact {
    display: flex;
    align-items: center;
    gap: .8rem;
    width: min(330px, 92%);
    padding: .7rem .9rem;
    margin-top: -1.6rem;
    margin-right: -3rem;
    align-self: flex-end;
    transform: rotate(1.4deg);
    background: rgba(17, 24, 42, .78);
    z-index: 2;
}

.hub-hero-card--compact:hover {
    transform: rotate(1.4deg) translateY(-3px);
    border-color: rgba(110, 168, 255, .45);
}

.hub-hero-card-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.hub-hero-card-thumb--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .35);
    font-size: 1.15rem;
    background: linear-gradient(135deg, #26408b 0%, #0d1428 70%);
}

.hub-hero-card-compact-body {
    display: block;
    min-width: 0;
    flex: 1;
}

.hub-hero-card-compact-body .hub-hero-card-name {
    font-size: .86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-hero-card-compact-body .hub-hero-card-meta {
    margin-top: .2rem;
    font-size: .72rem;
}

.hub-hero-card-compact-arrow {
    color: rgba(255, 255, 255, .55);
    font-size: .95rem;
    flex-shrink: 0;
    transition: transform .2s ease, color .2s ease;
}

.hub-hero-card--compact:hover .hub-hero-card-compact-arrow {
    color: #9db7ff;
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .hub-hero-card--compact {
        margin-right: 0;
        align-self: center;
        /* Centrada sobre la principal tapaba su CTA: menos solape en móvil. */
        margin-top: -1.1rem;
    }
}

/* Móvil: tipografía contenida para que la línea itálica no quiebre en más
   líneas ni rebase, y tarjetas a ancho completo sin salirse del viewport. */
@media (max-width: 640px) {
    /* Hero centrado en móvil: sin tarjetas, el copy es el protagonista y
       cada elemento respira sobre el eje central. */
    .hub-hero-inner,
    .hub-hero--split .hub-hero-inner {
        padding: 2.5rem 1.25rem 3rem;
        text-align: center;
    }

    /* Sin eyebrow en móvil: el hero fluye directo desde la navbar y el
       headline abre la página; el padding superior aporta el respiro. */
    .hub-hero-eyebrow {
        display: none;
    }

    .hub-hero h1 {
        font-size: clamp(1.6rem, 7.2vw, 2rem);
        margin-bottom: .85rem;
    }

    /* La itálica baja un punto para acompañar, no dominar. */
    .hub-hero-h1-tail {
        font-size: .86em;
    }

    .hub-hero-sub,
    .hub-hero--split .hub-hero-sub {
        font-size: .92rem;
        line-height: 1.65;
        max-width: 30rem;
        margin: 0 auto 1.9rem;
    }

    /* En móvil el hero es solo copy: las tarjetas de eventos se ocultan
       (los eventos se ven completos en "Últimos eventos"). */
    .hub-hero-visual {
        display: none;
    }

    /* CTAs apilados y centrados: botón contenido (no de borde a borde) y
       enlace secundario debajo con su propio aire. */
    .hub-hero-actions,
    .hub-hero--split .hub-hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1.1rem;
    }

    .hub-hero .hub-btn {
        width: min(100%, 320px);
        justify-content: center;
        padding: .74rem 1.2rem;
        font-size: .92rem;
    }

    .hub-hero-textlink {
        font-size: .9rem;
    }
}

/* ---- Movimiento: una sola entrada + un solo flotado, con respeto a
   prefers-reduced-motion. ---- */

@media (prefers-reduced-motion: no-preference) {
    .hub-hero-copy,
    .hub-hero-visual {
        animation: hubHeroRise .55s ease both;
    }

    .hub-hero-visual {
        animation-delay: .12s;
    }

    .hub-hero-card--main {
        animation: hubHeroFloat 7s ease-in-out 1.2s infinite;
    }
}

@keyframes hubHeroRise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hubHeroFloat {
    0%, 100% {
        transform: rotate(-1.2deg) translateY(0);
    }
    50% {
        transform: rotate(-1.2deg) translateY(-7px);
    }
}

.hub-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    font-weight: 700;
    padding: .68rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}

.hub-btn-primary {
    background: #fff;
    color: #0b1020;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.hub-btn-primary:hover {
    transform: translateY(-1px);
    color: #0b1020;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}

.hub-btn-ghost {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
}

.hub-btn-ghost:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(110, 168, 255, .55);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(110, 168, 255, .16), 0 12px 26px -14px rgba(70, 182, 255, .5);
}

/* Flecha del CTA primario que se desliza en hover. */
.hub-btn-arrow {
    transition: transform .2s ease;
}

.hub-btn:hover .hub-btn-arrow {
    transform: translateX(3px);
}

.hub-btn-dark {
    background: #0b1020;
    color: #fff;
}

.hub-btn-dark:hover {
    background: #17203d;
    color: #fff;
    transform: translateY(-1px);
}

/* ---------------- Hero de evento (página puente) ---------------- */

.hub-event-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(720px 480px at 100% 0%, rgba(99, 102, 241, .35) 0%, transparent 65%),
        linear-gradient(165deg, #0b1020 0%, #0d1428 55%, #17203d 100%);
}

.hub-event-hero--with-image {
    background:
        linear-gradient(180deg, rgba(8, 10, 16, .55) 0%, rgba(8, 10, 16, .72) 60%, rgba(8, 10, 16, .92) 100%),
        var(--hub-event-cover);
    background-size: cover;
    background-position: center;
    background-color: #0b1020;
}

.hub-event-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.25rem 2.4rem;
    text-align: center;
}

.hub-event-hero h1 {
    margin: .65rem 0 .55rem;
    font-size: clamp(1.8rem, 5.4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
}

.hub-event-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
}

.hub-event-meta i { margin-right: .3rem; }

/* Variante compacta para páginas de resultados: conserva la identidad del
   evento (portada + nombre + meta) sin pill, descripción ni stats. */
.hub-event-hero--results .hub-event-hero-inner {
    padding: 1.9rem 1.25rem 1.7rem;
}

.hub-event-hero--results h1 {
    margin: .55rem 0 .4rem;
    font-size: clamp(1.45rem, 4vw, 2.1rem);
}

.hub-event-hero--results .hub-event-meta {
    font-size: .84rem;
}

.hub-event-hero-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color .18s ease;
}

.hub-event-hero-back:hover { color: #fff; }

.hub-event-description {
    margin: .9rem auto 0;
    max-width: 640px;
    color: rgba(255, 255, 255, .78);
    font-size: .93rem;
    line-height: 1.6;
}

/* Móvil: descripciones largas no deben empujar la búsqueda bajo el fold. */
@media (max-width: 640px) {
    .hub-event-description {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
}

.hub-event-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.25rem;
}

.hub-event-stat {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: .4rem .95rem;
    font-size: .86rem;
    color: rgba(255, 255, 255, .85);
}

.hub-event-stat strong {
    color: #fff;
    font-weight: 800;
}

.hub-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: .35rem .8rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
}

.hub-status-pill--uploading { color: #fbbf24; }
.hub-status-pill--partial { color: #93c5fd; }
.hub-status-pill--complete { color: #4ade80; }
.hub-status-pill--upcoming { color: rgba(255, 255, 255, .75); }

.hub-btn-disabled {
    background: rgba(24, 24, 37, .06);
    color: #8b8b96;
    cursor: default;
    pointer-events: none;
}

/* ---------------- Secciones ---------------- */

.hub-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.5rem 1rem 1rem;
    width: 100%;
}

.hub-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.15rem;
}

.hub-section-title {
    margin: 0;
    font-size: clamp(1.45rem, 3.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #181825;
}

.hub-section-sub {
    margin: .3rem 0 0;
    color: #6b7280;
    font-size: .92rem;
    /* Medida natural: cabe en una línea en desktop, acotada en pantallas
       grandes. `ch` daba ~28rem y cortaba el copy a media anchura. */
    max-width: min(48rem, 100%);
    text-wrap: pretty;
}

.hub-section-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #0d6efd;
    text-decoration: none;
}

.hub-section-link:hover { color: #084fc7; }

/* Móvil: cabecera de sección apilada — título, subtítulo y "Ver todos" en
   columna limpia, sin que el enlace salte de línea a media anchura. */
@media (max-width: 640px) {
    .hub-section {
        padding-top: 2.1rem;
    }

    .hub-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: .55rem;
        margin-bottom: 1rem;
    }

    /* El título manda; el copy de apoyo baja un punto y "Ver todos" queda
       como acción discreta, no como segundo titular. */
    .hub-section-sub {
        font-size: .88rem;
        color: #7b8494;
    }

    .hub-section-link {
        font-size: .72rem;
    }

    /* Últimos eventos: cabecera compacta pegada al borde del contenedor
       claro, sin copy de apoyo; título y "Ver todos" comparten línea. */
    .hub-section--recent {
        padding-top: 1.3rem;
    }

    .hub-section--recent .hub-section-sub {
        display: none;
    }

    .hub-section--recent .hub-section-head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
    }

    /* Tarjetas de evento un poco menos altas en móvil (solo el media). */
    .hub-section .secondary-image {
        height: 170px;
    }
}

/* Página de índice (hero compacto claro) */
.hub-page-head {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.4rem 1rem 0;
    text-align: left;
}

.hub-page-head h1 {
    margin: 0 0 .35rem;
    font-size: clamp(1.7rem, 4.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #181825;
}

/* Medida de lectura natural: más ancha que media página pero acotada en
   pantallas grandes para no degenerar en una línea kilométrica. */
.hub-page-head p {
    margin: 0;
    color: #6b7280;
    font-size: .98rem;
    max-width: min(52rem, 100%);
    text-wrap: pretty;
}

/* Estados agregados extra (los base viven en landing-event-cards.css) */
.event-state-partial {
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.event-state-upcoming {
    color: #8b8b96;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.event-gallery-count {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 700;
    color: #6b7280;
    white-space: nowrap;
}

.event-gallery-count i {
    font-size: .88rem;
}

/* ---------------- Búsqueda central ---------------- */

/* Barra de resumen de resultados: kicker + titular + conteo a la izquierda,
   re-búsqueda a la derecha. */
.hub-results-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 1.7rem;
}

.hub-results-kicker {
    margin: 0 0 .3rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8b93a3;
}

.hub-results-title {
    margin: 0;
    font-size: clamp(1.35rem, 3.4vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #181825;
}

.hub-results-sub {
    margin: .25rem 0 0;
    color: #6b7280;
    font-size: .9rem;
}

/* Buscador del evento: mismo lenguaje que el buscador de la galería de
   fotógrafo (kicker centrado + botones de filtro con icono en acento +
   panel desplegable), traducido a la paleta fría del hub. */
.hub-find {
    text-align: center;
}

.hub-find-title {
    margin: 0 0 .8rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6b7280;
}

.hub-find-options {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: .55rem;
}

.hub-find-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .6rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(24, 24, 37, .16);
    background: #ffffff;
    color: #181825;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease, color .15s ease;
}

.hub-find-btn:hover {
    border-color: rgba(24, 24, 37, .4);
    box-shadow: 0 3px 8px rgba(15, 23, 42, .09);
    transform: translateY(-1px);
}

.hub-find-ico { font-size: 1rem; line-height: 1; }
.hub-find-btn--selfie .hub-find-ico { color: #7c3aed; }
.hub-find-btn--bib .hub-find-ico { color: #1d4ed8; }

.hub-find-caret {
    font-size: .78rem;
    line-height: 1;
    color: #9ca3af;
    transition: transform .2s ease, color .15s ease;
}

/* Botón activo = panel abierto: se invierte a grafito y gira el caret. */
.hub-find-btn.active {
    background: #0b1020;
    border-color: #0b1020;
    color: #fff;
    transform: none;
}

.hub-find-btn.active .hub-find-ico,
.hub-find-btn.active .hub-find-caret { color: #fff; }
.hub-find-btn.active .hub-find-caret { transform: rotate(180deg); }

/* Panel desplegable: expansión suave vía grid-template-rows 0fr -> 1fr
   (el hijo .hub-find-drop-clip con overflow hidden hace de máscara). */
.hub-find-drop {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    margin-top: 0;
    transition: grid-template-rows .28s ease, opacity .2s ease, margin-top .28s ease, visibility 0s linear .28s;
}

.hub-find-drop.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    margin-top: .85rem;
    transition: grid-template-rows .28s ease, opacity .22s ease .05s, margin-top .28s ease, visibility 0s;
}

.hub-find-drop-clip {
    overflow: hidden;
    min-height: 0;
}

.hub-find-drop-content {
    max-width: 420px;
    margin: 2px auto 4px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(24, 24, 37, .08);
    border-radius: 12px;
    padding: 1rem 1rem 1.1rem;
}

.hub-find-drop-title {
    margin: 0 0 .15rem;
    font-size: .86rem;
    font-weight: 700;
    color: #181825;
}

.hub-find-drop-hint {
    margin: 0 0 .85rem;
    font-size: .78rem;
    color: #6b7280;
}

.hub-find-drop-controls {
    display: flex;
    gap: .55rem;
}

.hub-find-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 1px solid rgba(24, 24, 37, .16);
    border-radius: 10px;
    padding: .62rem .9rem;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    color: #181825;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.hub-find-input:focus {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, .12);
}

.hub-find-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: none;
    border-radius: 10px;
    padding: .62rem 1.05rem;
    background: #0b1020;
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease;
}

.hub-find-submit:hover {
    background: #17203d;
    color: #fff;
}

/* Fila "buscar otro número" en la página de resultados. */
.hub-find-again {
    display: flex;
    gap: .55rem;
    max-width: 360px;
}

/* Grupos sin caja: secciones abiertas sobre el fondo claro, separadas por
   aire — más ligero y minimalista que tarjetas apiladas. */
.hub-result-groups {
    display: flex;
    flex-direction: column;
    gap: 2.1rem;
}

.hub-result-group-head {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-wrap: wrap;
    margin-bottom: .9rem;
}

/* Chip de logo cuadrado redondeado (sin círculos): el logo respira sobre
   el escenario que eligió el fotógrafo, como en los tiles del directorio. */
.hub-result-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: .5rem;
    border-radius: 12px;
    overflow: hidden;
    flex: 0 0 auto;
}

.hub-result-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.hub-result-logo > i {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, .6);
}

.hub-result-logo--dark { background: linear-gradient(165deg, #111827 0%, #0b1020 100%); }
.hub-result-logo--gray { background: linear-gradient(165deg, #4b5563 0%, #374151 100%); }

.hub-result-logo--light {
    background: linear-gradient(165deg, #f8fafc 0%, #e5e9f0 100%);
    border: 1px solid rgba(24, 24, 37, .08);
}

.hub-result-logo--light > i { color: #9ca3af; }

.hub-result-group-title {
    min-width: 0;
}

.hub-result-group-title h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #181825;
}

.hub-result-group-title span {
    color: #6b7280;
    font-size: .8rem;
    font-weight: 600;
}

.hub-result-group-link {
    margin-left: auto;
    flex-shrink: 0;
}

.hub-result-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: .55rem;
    text-decoration: none;
}

.hub-result-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    background: #e3e9f1;
}

.hub-result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.hub-result-thumb--more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111827;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
}

.hub-result-note {
    display: flex;
    align-items: center;
    gap: .45rem;
    color: #6b7280;
    font-size: .78rem;
    margin: 1.25rem 0 0;
}

/* Galerías sin coincidencias: lista compacta con divisores, cada fila con
   la invitación a probar con selfie. */
.hub-result-rest-title {
    margin: 0 0 .3rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8b93a3;
}

.hub-result-rest-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hub-result-rest-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem .75rem;
    padding: .8rem 0;
    border-bottom: 1px solid rgba(24, 24, 37, .07);
}

.hub-result-rest-row:last-child { border-bottom: 0; }

.hub-result-logo--sm {
    width: 40px;
    height: 40px;
    padding: .35rem;
    border-radius: 10px;
}

.hub-result-logo--sm > i { font-size: 1rem; }

.hub-result-rest-copy {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    flex: 1 1 auto;
    min-width: 0;
}

.hub-result-rest-copy strong {
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #181825;
}

.hub-result-rest-copy span {
    font-size: .8rem;
    color: #6b7280;
}

.hub-result-rest-action {
    margin-left: auto;
    flex-shrink: 0;
}

/* Botón que viste el estilo de hipervínculo del sistema (event-link). */
.hub-link-btn {
    border: 0;
    background: none;
    padding: 0;
}

/* Móvil: los botones del buscador reparten la fila con altura táctil
   completa, el panel ocupa todo el ancho, la barra de resumen se apila y
   la acción de las filas sin coincidencias baja bajo su texto. */
@media (max-width: 640px) {
    .hub-find-btn {
        flex: 1 1 auto;
        padding-top: .7rem;
        padding-bottom: .7rem;
    }

    .hub-find-drop-content {
        max-width: none;
    }

    .hub-find-again {
        max-width: none;
    }

    .hub-results-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .hub-result-groups {
        gap: 1.7rem;
    }

    .hub-result-rest-action {
        flex: 0 1 100%;
        margin-left: calc(40px + .75rem);
        justify-content: flex-start;
    }
}

/* ------- Tiles de fotógrafo con logo protagonista (directorio y evento) ------- */

.photographer-tile {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(24, 24, 37, .08);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.photographer-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, .1);
    border-color: rgba(37, 99, 235, .2);
}

/* Escenario del logo: todo el ancho de la tarjeta, con el fondo que el
   fotógrafo eligió para su logo (light/gray/dark). */
.photographer-tile-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: clamp(170px, 22vw, 215px);
    padding: 1.6rem;
    overflow: hidden;
}

.photographer-tile-stage img {
    max-width: 74%;
    max-height: 76%;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .28));
    transition: transform .3s ease;
}

.photographer-tile:hover .photographer-tile-stage img {
    transform: scale(1.04);
}

/* El escenario también vive como media de una .event-card (cobertura del
   evento): el zoom sutil del logo acompaña el hover de la tarjeta. */
.event-card:hover .photographer-tile-stage img {
    transform: scale(1.04);
}

/* Fallback sin logo: cámara grande y silenciosa sobre el escenario. */
.photographer-tile-fallback {
    font-size: 2.4rem;
    color: rgba(255, 255, 255, .5);
}

.photographer-tile-stage--light .photographer-tile-fallback {
    color: #9ca3af;
}

.photographer-tile-stage--dark {
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .1) 0%, transparent 60%),
        radial-gradient(60% 80% at 85% 100%, rgba(99, 102, 241, .18) 0%, transparent 65%),
        linear-gradient(165deg, #111827 0%, #0b1020 100%);
}

.photographer-tile-stage--gray {
    background:
        radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, .12) 0%, transparent 60%),
        linear-gradient(165deg, #4b5563 0%, #374151 100%);
}

.photographer-tile-stage--light {
    background:
        radial-gradient(70% 90% at 50% 0%, #ffffff 0%, transparent 70%),
        linear-gradient(165deg, #f8fafc 0%, #e5e9f0 100%);
    border-bottom: 1px solid rgba(24, 24, 37, .06);
}

.photographer-tile-stage--light img {
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, .16));
}

.photographer-tile-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .65rem;
    padding: 1.1rem 1.25rem 1.25rem;
}

.photographer-tile-name {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #181825;
}

.photographer-tile-tagline {
    margin: .2rem 0 0;
    color: #6b7280;
    font-size: .86rem;
    line-height: 1.45;
}

.photographer-tile-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .35rem 1rem;
    color: #6b7280;
    font-size: .8rem;
    font-weight: 600;
}

.photographer-tile-meta i {
    margin-right: .3rem;
    color: #9ca3af;
}

.photographer-tile-cta {
    margin-top: auto;
    align-self: flex-start;
    font-size: .84rem;
    padding: .55rem 1.2rem;
}

/* ---------------- CTA band para fotógrafos ---------------- */

.hub-cta-band {
    max-width: 1240px;
    margin: 2.5rem auto 0;
    padding: 0 1rem;
}

.hub-cta-band-inner {
    background:
        radial-gradient(520px 380px at 100% 0%, rgba(99, 102, 241, .35) 0%, transparent 65%),
        linear-gradient(165deg, #0b1020 0%, #111a33 100%);
    color: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.hub-cta-band h2 {
    margin: 0 0 .3rem;
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 800;
    color: #fff;
}

.hub-cta-band p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
    max-width: 52ch;
}

.hub-cta-band .hub-btn-primary { flex: 0 0 auto; }

/* ---------------- Empty state ---------------- */

.hub-empty {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(24, 24, 37, .08);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: #6b7280;
}

.hub-empty h4 {
    color: #181825;
    font-weight: 800;
    margin-bottom: .4rem;
}

.hub-empty p { margin: 0; }

/* ---------------- Footer ---------------- */

.hub-footer {
    flex-shrink: 0;
    margin-top: 2.5rem;
    padding: 1.6rem 1rem 1.4rem;
    text-align: center;
    color: #6b7280;
    font-size: .78rem;
}

/* Padding en lugar de solo margin: área táctil digna en móvil sin cambiar
   el ritmo visual entre enlaces. */
.hub-footer a {
    display: inline-block;
    color: #6b7280;
    text-decoration: none;
    padding: .35rem .4rem;
    margin: 0 .1rem;
}

.hub-footer a:hover { color: #181825; }
