
/* KUNI-LANDING-LIGHT-V1
   Landing pública exclusivamente.
   Logo y funcionalidad sin modificaciones.
*/

:root {
    --kl-crema: #F5EFE5;
    --kl-terracota: #BE745B;
    --kl-oliva: #6D6D51;
    --kl-azul: #2F4C6A;
    --kl-blanco: #FFFFFF;
    --kl-borde: #DED6CA;
}

/* Base y navegación */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--kl-crema) !important;
    color: var(--kl-azul);
}

.topbar {
    background: var(--kl-blanco) !important;
    border-bottom: 1px solid var(--kl-borde) !important;
    box-shadow: 0 5px 22px rgba(47,76,106,.06);
}

.topbar .nav a:not(.nav-cta) {
    color: var(--kl-azul) !important;
}

.topbar .nav a:not(.nav-cta):hover {
    color: var(--kl-terracota) !important;
}

.topbar .nav-cta {
    background: var(--kl-terracota) !important;
    border-color: var(--kl-terracota) !important;
    color: var(--kl-blanco) !important;
}

/* Hero principal */

.hero {
    background: var(--kl-crema) !important;
    color: var(--kl-azul) !important;
}

.hero .hero-grid {
    width: 100%;
    min-width: 0;
}

.hero .hero-copy {
    min-width: 0;
}

.hero .hero-copy h1 {
    color: var(--kl-azul) !important;
    font-size: clamp(2.65rem, 5.1vw, 5.4rem);
    line-height: 1.07;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
    text-wrap: balance;
}

/* Un acento editorial limitado al titular */

.hero .hero-copy h1 em,
.hero .hero-copy h1 i {
    color: var(--kl-terracota) !important;
    font-style: italic;
}

.hero .hero-copy .hero-lead,
.hero .hero-copy p {
    color: var(--kl-oliva) !important;
    line-height: 1.7;
}

.hero .hero-note {
    color: var(--kl-oliva) !important;
}

.hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero .hero-actions a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Secciones públicas.
   No intervenir internamente en tarjetas de eventos
   para preservar su contenido y legibilidad. */

.manifesto,
.idea,
.closing {
    background: var(--kl-crema) !important;
    color: var(--kl-azul);
}

.manifesto h2,
.idea h2,
.closing h2 {
    color: var(--kl-azul) !important;
}

.manifesto > p,
.idea > p,
.closing > p {
    color: var(--kl-oliva) !important;
}

footer {
    background: var(--kl-blanco) !important;
    border-top: 1px solid var(--kl-borde) !important;
}

/* Imágenes: sin tocar el logo ni forzar
   dimensiones de las fotografías. */

/* Tablet */

@media (max-width: 1023px) {
    .hero .hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 32px !important;
    }

    .hero .hero-copy {
        width: 100%;
        min-width: 0;
    }

    .hero .hero-grid > aside {
        min-width: 0;
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }
}

/* Móvil */

@media (max-width: 699px) {
    .topbar {
        height: auto !important;
        min-height: 0;
    }

    .topbar .nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .topbar .nav a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero {
        padding-top: 32px !important;
        padding-bottom: 40px !important;
    }

    .hero .hero-copy h1 {
        font-size: clamp(2.15rem, 9vw, 3.55rem) !important;
        line-height: 1.1 !important;
    }

    .hero .hero-copy .hero-lead {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }

    .hero .hero-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .hero .hero-actions a {
        width: 100%;
        min-height: 48px;
    }

    .hero .hero-grid > aside {
        max-width: 100%;
        min-width: 0;
    }
}

/* Celulares pequeños */

@media (max-width: 374px) {
    .hero .hero-copy h1 {
        font-size: 2.1rem !important;
    }

    .hero .hero-actions {
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
