/*
 * ALLLO Studio 3.0
 * Dirección editorial limpia, centrada en demos y conversión.
 */

:root {
    --alllo-black: #0b0b0d;
    --alllo-black-2: #111114;
    --alllo-black-3: #18181c;
    --alllo-graphite: #222226;
    --alllo-gold: #d4af57;
    --alllo-gold-light: #e1c477;
    --alllo-gold-deep: #9d7b2f;
    --alllo-silver: #b8b8bd;
    --alllo-silver-light: #e5e5e7;
    --alllo-pearl: #f4f4f2;
    --alllo-white: #fff;
    --alllo-text: #171719;
    --alllo-muted: #67676c;
    --alllo-line: #dedede;
    --shadow-soft: 0 18px 48px rgba(11, 11, 13, .07);
}

html {
    scroll-padding-top: 88px;
}

body {
    background: var(--alllo-black);
    color: var(--alllo-text);
    letter-spacing: -.006em;
}

.container {
    width: min(calc(100% - 48px), 1240px);
}

.section {
    padding: 104px 0;
}

.section-white {
    background: #fff;
}

.section-pearl {
    background: var(--alllo-pearl);
}

.section-dark {
    background: var(--alllo-black);
    color: #fff;
}

.button {
    min-height: 48px;
    border-radius: 999px;
    box-shadow: none;
    font-size: .79rem;
    letter-spacing: .035em;
    text-transform: uppercase;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--alllo-gold);
    color: #0b0b0d;
    box-shadow: none;
}

.button-primary:hover {
    background: var(--alllo-gold-light);
    box-shadow: none;
}

.button-ghost {
    border-color: rgba(255, 255, 255, .34);
    background: transparent;
    color: #fff;
}

.button-ghost:hover {
    border-color: rgba(255, 255, 255, .68);
    background: rgba(255, 255, 255, .05);
}

.button-large {
    min-height: 56px;
    padding: 15px 25px;
}

.button:focus-visible,
.site-navigation a:focus-visible,
.alllo-v3-home a:focus-visible,
.alllo-v3-home summary:focus-visible {
    outline: 2px solid var(--alllo-gold);
    outline-offset: 4px;
}

/* Navegación */
.site-header,
.alllo-front-page .site-header {
    background: rgba(11, 11, 13, .96);
    border-bottom-color: rgba(255, 255, 255, .1);
    box-shadow: none;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
    background: rgba(11, 11, 13, .99);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

.header-inner {
    height: 76px;
}

.site-logo {
    width: 154px;
}

.site-navigation,
.nav-menu {
    gap: 22px;
}

.nav-menu a {
    color: #d8d8da;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.nav-menu a::after {
    bottom: -9px;
    background: var(--alllo-gold);
}

.header-cta {
    min-height: 42px;
    padding-inline: 19px;
}

/* Home */
.alllo-v3-home {
    overflow: clip;
    background: #fff;
}

.alllo-v3-hero {
    display: flex;
    min-height: 680px;
    padding: 160px 0 104px;
    align-items: center;
    text-align: center;
}

.alllo-v3-hero-inner {
    display: flex;
    max-width: 1120px;
    flex-direction: column;
    align-items: center;
}

.alllo-v3-hero .eyebrow {
    margin-bottom: 24px;
    color: var(--alllo-gold);
    font-size: .7rem;
    letter-spacing: .19em;
}

.alllo-v3-hero h1 {
    max-width: 1080px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.7rem, 6.3vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: .98;
    text-wrap: balance;
}

.alllo-v3-hero h1 span {
    color: var(--alllo-gold-light);
}

.alllo-v3-hero-lead {
    max-width: 760px;
    margin: 30px auto 0;
    color: #b9b9bd;
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.7;
}

.alllo-v3-hero-price {
    margin: 24px 0 0;
    color: #c9c9cc;
    font-size: .84rem;
}

.alllo-v3-hero-price strong {
    color: #fff;
    font-size: 1rem;
}

.alllo-v3-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.alllo-v3-actions .button {
    min-width: 210px;
}

.alllo-v3-actions .button span,
.alllo-v3-card-link span {
    font-family: Arial, sans-serif;
}

.alllo-v3-trust {
    margin: 24px 0 0;
    color: #818187;
    font-size: .72rem;
}

.alllo-v3-trust span {
    margin-inline: 8px;
    color: var(--alllo-gold);
}

.alllo-v3-section-heading {
    max-width: 850px;
    margin-bottom: 48px;
}

.alllo-v3-section-heading .eyebrow {
    margin-bottom: 16px;
}

.alllo-v3-section-heading h2 {
    margin: 0;
    color: var(--alllo-text);
    font-size: clamp(2.75rem, 4.7vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1;
    text-wrap: balance;
}

.alllo-v3-section-heading > p:not(.eyebrow) {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--alllo-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.alllo-v3-section-heading-dark h2 {
    color: #fff;
}

.alllo-v3-section-heading-dark > p:not(.eyebrow) {
    color: #a7a7ac;
}

/* Previews y tarjetas */
.alllo-preview {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid #e2e2e2;
    background: #f1f1ef;
}

.alllo-preview img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    object-position: center;
}

.alllo-v3-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.alllo-v3-demo-card,
.alllo-v3-project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

.alllo-v3-demo-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.alllo-v3-demo-card:hover {
    transform: translateY(-3px);
    border-color: #c8c8c8;
    box-shadow: var(--shadow-soft);
}

.alllo-v3-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.alllo-v3-meta {
    margin: 0 0 12px;
    color: var(--alllo-gold-deep);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.alllo-v3-card-body h3 {
    margin: 0;
    color: var(--alllo-text);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.alllo-v3-card-body > p:not(.alllo-v3-meta) {
    margin: 14px 0 22px;
    color: var(--alllo-muted);
    font-size: .84rem;
    line-height: 1.65;
}

.alllo-v3-card-link,
.alllo-v3-card-note {
    margin-top: auto;
    color: var(--alllo-text);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.alllo-v3-card-link span {
    color: var(--alllo-gold-deep);
}

.alllo-v3-card-note {
    color: #88888d;
}

/* Trabajo real */
.alllo-v3-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.alllo-v3-project-card {
    display: flex;
    height: 100%;
}

.alllo-v3-project-link {
    display: flex;
    width: 100%;
    flex-direction: column;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

a.alllo-v3-project-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.alllo-preview-project {
    background: #e8e8e5;
}

/* Soluciones */
.alllo-v3-solution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.alllo-v3-solution-card {
    display: flex;
    min-height: 360px;
    padding: 26px;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: #111114;
    color: #fff;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.alllo-v3-solution-card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 87, .55);
    background: #151519;
}

.alllo-v3-solution-card > p {
    min-height: 42px;
    margin: 0 0 34px;
    color: #929297;
    font-size: .7rem;
    line-height: 1.5;
}

.alllo-v3-solution-card h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.08;
}

.alllo-v3-solution-card strong {
    color: var(--alllo-gold-light);
    font-size: 1rem;
}

.alllo-v3-solution-card > span {
    margin-top: 17px;
    color: #aaaab0;
    font-size: .78rem;
    line-height: 1.65;
}

.alllo-v3-solution-card b {
    margin-top: auto;
    padding-top: 28px;
    color: #fff;
    font-size: .68rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.alllo-v3-guidance {
    display: flex;
    margin-top: 20px;
    padding: 22px 24px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
}

.alllo-v3-guidance p {
    margin: 0;
    color: #aaaab0;
    font-size: .84rem;
}

.alllo-v3-guidance strong {
    color: #fff;
}

/* Proceso */
.alllo-v3-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid #d9d9d9;
    list-style: none;
}

.alllo-v3-process-grid li {
    min-height: 240px;
    padding: 28px 26px;
    border-right: 1px solid #d9d9d9;
}

.alllo-v3-process-grid li:first-child {
    padding-left: 0;
}

.alllo-v3-process-grid li:last-child {
    border-right: 0;
}

.alllo-v3-process-grid span {
    display: block;
    color: var(--alllo-gold-deep);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.alllo-v3-process-grid h3 {
    margin: 72px 0 12px;
    font-size: 1.4rem;
}

.alllo-v3-process-grid p {
    margin: 0;
    color: var(--alllo-muted);
    font-size: .82rem;
    line-height: 1.6;
}

/* Incluye */
.alllo-v3-includes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid #dadada;
    border-radius: 14px;
    background: #dadada;
}

.alllo-v3-includes-grid article {
    min-height: 170px;
    padding: 27px;
    background: #fff;
}

.alllo-v3-includes-grid h3 {
    margin: 0 0 14px;
    font-size: 1.2rem;
}

.alllo-v3-includes-grid p {
    margin: 0;
    color: var(--alllo-muted);
    font-size: .8rem;
    line-height: 1.6;
}

/* Sobre ALLLO */
.alllo-v3-about-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    gap: 90px;
    align-items: start;
}

.alllo-v3-about-grid > div:first-child {
    position: sticky;
    top: 124px;
}

.alllo-v3-about h2 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    letter-spacing: -.055em;
    line-height: 1;
}

.alllo-v3-about-grid > div:first-child > p:not(.eyebrow) {
    max-width: 620px;
    margin: 24px 0 28px;
    color: #aaaab0;
    line-height: 1.75;
}

.alllo-v3-pillars {
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.alllo-v3-pillars article {
    padding: 31px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.alllo-v3-pillars span {
    color: var(--alllo-gold);
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.alllo-v3-pillars h3 {
    margin: 9px 0;
    color: #fff;
    font-size: 1.65rem;
}

.alllo-v3-pillars p {
    margin: 0;
    color: #929297;
    font-size: .82rem;
}

/* FAQ */
.alllo-v3-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    gap: 90px;
    align-items: start;
}

.alllo-v3-faq .alllo-v3-section-heading {
    position: sticky;
    top: 124px;
    margin: 0;
}

.alllo-v3-faq-list {
    border-top: 1px solid #d6d6d6;
}

.alllo-v3-faq-list details {
    border-bottom: 1px solid #d6d6d6;
}

.alllo-v3-faq-list summary {
    display: flex;
    min-height: 76px;
    padding: 22px 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--alllo-text);
    cursor: pointer;
    font-size: .93rem;
    font-weight: 700;
    list-style: none;
}

.alllo-v3-faq-list summary::-webkit-details-marker {
    display: none;
}

.alllo-v3-faq-list summary span {
    color: var(--alllo-gold-deep);
    font-size: 1.25rem;
    transition: transform .18s ease;
}

.alllo-v3-faq-list details[open] summary span {
    transform: rotate(45deg);
}

.alllo-v3-faq-list details p {
    max-width: 680px;
    margin: 0;
    padding: 0 52px 24px 0;
    color: var(--alllo-muted);
    font-size: .86rem;
    line-height: 1.7;
}

/* Diagnóstico final */
.alllo-v3-final {
    padding: 112px 0;
}

.alllo-v3-final-inner {
    display: flex;
    max-width: 900px;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.alllo-v3-final h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 5.6vw, 5.4rem);
    letter-spacing: -.06em;
    line-height: .98;
    text-wrap: balance;
}

.alllo-v3-final-inner > p:not(.eyebrow) {
    max-width: 690px;
    margin: 24px 0 28px;
    color: #aaaab0;
    font-size: 1rem;
    line-height: 1.7;
}

.alllo-v3-final small {
    margin-top: 18px;
    color: #7f7f84;
}

/* Footer */
.site-footer {
    padding-top: 64px;
    background: #070708;
}

.footer-grid {
    gap: 60px;
}

.footer-title {
    color: var(--alllo-gold);
}

/* Perfil de Libni: misma identidad, menos ornamento. */
.libni-profile-page {
    background: #fff;
}

.libni-hero,
.libni-career,
.libni-alllo,
.libni-contact {
    background: var(--alllo-black);
}

.libni-hero {
    min-height: auto;
}

.libni-hero-copy h1 {
    color: #fff;
    font-size: clamp(4.4rem, 7.2vw, 7.5rem);
    line-height: .92;
}

.libni-hero-role,
.libni-company,
.libni-time span:first-child,
.libni-label,
.libni-degree > span {
    color: var(--alllo-gold);
}

.libni-portrait-frame,
.libni-certifications,
.libni-focus-card,
.libni-principles-grid article {
    border-radius: 16px;
    box-shadow: none;
}

.libni-snapshot {
    background: #111114;
}

/* Tablet */
@media (max-width: 1080px) {
    .alllo-v3-demo-grid,
    .alllo-v3-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alllo-v3-about-grid,
    .alllo-v3-faq-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .alllo-v3-about-grid > div:first-child,
    .alllo-v3-faq .alllo-v3-section-heading {
        position: static;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 36px), 1240px);
    }

    .section {
        padding: 84px 0;
    }

    .header-inner {
        height: 72px;
    }

    .site-navigation {
        inset: 72px 18px auto;
        gap: 10px;
        border-radius: 12px;
        background: #0b0b0d;
    }

    .alllo-v3-hero {
        min-height: 620px;
        padding: 132px 0 82px;
    }

    .alllo-v3-hero h1 {
        font-size: clamp(3.35rem, 10vw, 4.8rem);
    }

    .alllo-v3-section-heading {
        margin-bottom: 40px;
    }

    .alllo-v3-project-grid,
    .alllo-v3-includes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alllo-v3-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alllo-v3-process-grid li {
        border-bottom: 1px solid #d9d9d9;
    }

    .alllo-v3-process-grid li:first-child {
        padding-left: 26px;
    }

    .alllo-v3-process-grid li:nth-child(2) {
        border-right: 0;
    }
}

/* Móvil */
@media (max-width: 680px) {
    .container {
        width: calc(100% - 36px);
    }

    .section {
        padding: 72px 0;
    }

    .alllo-v3-hero {
        min-height: 0;
        padding: 124px 0 72px;
    }

    .alllo-v3-hero .eyebrow {
        font-size: .61rem;
        line-height: 1.55;
    }

    .alllo-v3-hero h1 {
        font-size: clamp(3rem, 14vw, 4.05rem);
        letter-spacing: -.055em;
        line-height: 1;
    }

    .alllo-v3-hero-lead {
        margin-top: 25px;
        font-size: .97rem;
    }

    .alllo-v3-actions {
        width: 100%;
        flex-direction: column;
    }

    .alllo-v3-actions .button {
        width: 100%;
    }

    .alllo-v3-trust {
        max-width: 290px;
        line-height: 1.6;
    }

    .alllo-v3-trust span {
        display: none;
    }

    .alllo-v3-section-heading h2,
    .alllo-v3-about h2 {
        font-size: clamp(2.55rem, 12vw, 3.6rem);
        line-height: 1.02;
    }

    .alllo-v3-section-heading > p:not(.eyebrow) {
        margin-top: 18px;
        font-size: .91rem;
    }

    .alllo-v3-demo-grid,
    .alllo-v3-project-grid,
    .alllo-v3-solution-grid,
    .alllo-v3-includes-grid,
    .alllo-v3-process-grid {
        grid-template-columns: 1fr;
    }

    .alllo-v3-demo-grid,
    .alllo-v3-project-grid {
        gap: 16px;
    }

    .alllo-preview img {
        padding: 7px;
    }

    .alllo-v3-card-body {
        padding: 22px;
    }

    .alllo-v3-solution-card {
        min-height: 300px;
        padding: 23px;
    }

    .alllo-v3-solution-card > p {
        min-height: 0;
        margin-bottom: 28px;
    }

    .alllo-v3-guidance {
        align-items: stretch;
        flex-direction: column;
    }

    .alllo-v3-guidance .button {
        width: 100%;
    }

    .alllo-v3-process-grid li,
    .alllo-v3-process-grid li:first-child {
        min-height: 180px;
        padding: 25px 0;
        border-right: 0;
        border-bottom: 1px solid #d9d9d9;
    }

    .alllo-v3-process-grid h3 {
        margin-top: 50px;
    }

    .alllo-v3-includes-grid article {
        min-height: 145px;
        padding: 24px;
    }

    .alllo-v3-about-grid,
    .alllo-v3-faq-grid {
        gap: 44px;
    }

    .alllo-v3-faq-list details p {
        padding-right: 0;
    }

    .alllo-v3-final {
        padding: 84px 0;
    }

    .alllo-v3-final h2 {
        font-size: clamp(2.85rem, 13vw, 4rem);
    }

    .alllo-v3-final .button {
        width: 100%;
    }

    .libni-hero-copy h1 {
        font-size: clamp(3.8rem, 18vw, 5rem);
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 32px);
    }

    .alllo-v3-hero h1 {
        font-size: 2.85rem;
    }

    .alllo-v3-card-body,
    .alllo-v3-solution-card,
    .alllo-v3-includes-grid article {
        padding: 20px;
    }
}

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

    .alllo-v3-home *,
    .site-header,
    .site-navigation {
        scroll-behavior: auto;
        transition: none !important;
    }
}
