/* Empleado.ai public landing — maqueta según XD (Home - Desktop) */

html {
    height: 100%;
    background: #ffffff;
}

.ea-public {
    overflow-x: clip;
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
    --ea-ink: #1a1a1a;
    --ea-muted: #4a4a4a;
    --ea-pink: #d11e5a;
    --ea-divider: #b3b3b3;
    --ea-bg: #ffffff;
    --ea-footer-bg: #0a0a0a;
    background: var(--ea-bg);
    color: var(--ea-ink);
    font-family: "Montserrat", system-ui, -apple-system, sans-serif;
    text-align: center;
}

.ea-public *,
.ea-public *::before,
.ea-public *::after {
    box-sizing: border-box;
}

.ea-container {
    width: min(900px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.ea-container--wide {
    width: min(1200px, calc(100% - 2.5rem));
}

.ea-main {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

/* Hero banner */

.ea-hero {
    position: relative;
    width: 100%;
    min-height: clamp(360px, 33vw, 420px);
    line-height: 0;
    overflow: hidden;
}

.ea-hero > picture:first-of-type {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ea-hero__bg {
    width: 100%;
    height: 100%;
    min-height: clamp(360px, 33vw, 420px);
    display: block;
    object-fit: cover;
}

.ea-hero__overlay {
    position: relative;
    z-index: 2;
    min-height: clamp(360px, 33vw, 420px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 3rem) 1.25rem clamp(4.5rem, 8vw, 5.5rem);
    line-height: normal;
}

.ea-hero__logo-wrap {
    display: block;
    line-height: 0;
}

.ea-hero__logo {
    width: clamp(180px, 23vw, 300px);
    height: auto;
    display: block;
}

.ea-hero__powered {
    position: absolute;
    left: 50%;
    bottom: clamp(1.25rem, 3vw, 2rem);
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.ea-hero__powered-text {
    font-size: clamp(0.625rem, 1vw, 0.75rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.ea-hero__powered picture {
    display: block;
    line-height: 0;
    flex-shrink: 0;
}

.ea-hero__powered-logo {
    height: clamp(18px, 2.4vw, 28px);
    width: auto;
    display: block;
}

/* Plataforma */

.ea-platform {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.ea-platform__intro {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 400;
    color: var(--ea-ink);
    line-height: 1.55;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.ea-platform__intro-accent {
    color: #d48c31;
    font-weight: 600;
}

.ea-platform__divider {
    border: none;
    border-top: 1px solid var(--ea-divider);
    margin: clamp(2.5rem, 5vw, 3.5rem) 0;
    width: 100%;
}

.ea-platform__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(2.5rem, 6vw, 5rem);
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
}

.ea-platform__content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    flex: 1 1 420px;
    max-width: 560px;
}

.ea-platform__text {
    font-size: clamp(1.125rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--ea-ink);
    line-height: 1.65;
    margin: 0;
}

.ea-platform__text strong {
    font-weight: 700;
}

.ea-platform__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ea-platform__logo {
    width: clamp(220px, 22vw, 287px);
    height: auto;
    display: block;
}

/* Soluciones */

.ea-solutions {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    text-align: left;
}

.ea-solutions__title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--ea-ink);
    line-height: 1.25;
    margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
    letter-spacing: -0.5px;
}

.ea-solutions__banner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    padding: 0.9rem 1.35rem;
    border-radius: 12px;
    background: #fdf0e6;
    text-align: left;
}

.ea-solutions__banner-logo {
    display: block;
    line-height: 0;
    flex: 0 0 auto;
}

.ea-solutions__banner-logo img {
    height: 22px;
    width: auto;
    display: block;
}

.ea-solutions__banner-text {
    margin: 0;
    font-size: clamp(0.875rem, 1.3vw, 1rem);
    font-weight: 400;
    color: #e56f00;
    line-height: 1.5;
    flex: 1 1 auto;
    min-width: 0;
}

.ea-solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(1.75rem, 3vw, 2.5rem);
    row-gap: clamp(2rem, 4vw, 3rem);
}

.ea-solutions__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 5vh;
}

.ea-solutions__logo {
    height: 68px;
    width: auto;
    display: block;
}

.ea-solutions__logo--legira {
    height: 62px;
}

.ea-solutions__text {
    font-size: clamp(0.95rem, 1.4vw, 1.0625rem);
    font-weight: 400;
    color: var(--ea-muted);
    line-height: 1.65;
    margin: 0;
    flex: 1 1 auto;
}

.ea-solutions__powered {
    margin: 0;
    font-size: clamp(0.8125rem, 1.1vw, 0.875rem);
    font-style: italic;
    font-weight: 400;
    color: #8a8a8a;
    line-height: 1.4;
    white-space: nowrap;
}

.ea-solutions__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 40px;
    padding: 0.7rem 1.6rem;
    border-radius: 6px;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.ea-solutions__btn:hover,
.ea-solutions__btn:focus-visible {
    opacity: 0.88;
}

.ea-solutions__btn-arrow {
    font-size: 1em;
    line-height: 1;
    font-weight: 400;
}

.ea-solutions__card--invia .ea-solutions__btn {
    background: linear-gradient(90deg, rgba(0, 200, 83, 0.24) 0%, rgba(0, 200, 83, 0.08) 100%);
    color: #00c853;
}

.ea-solutions__card--aicom .ea-solutions__btn {
    background: linear-gradient(90deg, rgba(239, 73, 0, 0.22) 0%, rgba(239, 73, 0, 0.07) 100%);
    color: #ef4900;
}

.ea-solutions__card--ailog .ea-solutions__btn {
    background: linear-gradient(90deg, rgba(255, 128, 13, 0.24) 0%, rgba(255, 128, 13, 0.08) 100%);
    color: #ff800d;
}

.ea-solutions__card--legira .ea-solutions__btn {
    background: linear-gradient(90deg, rgba(33, 150, 243, 0.24) 0%, rgba(33, 150, 243, 0.08) 100%);
    color: #1976d2;
}

.ea-solutions__card--tau .ea-solutions__btn {
    background: linear-gradient(90deg, rgba(211, 0, 195, 0.22) 0%, rgba(113, 48, 240, 0.08) 100%);
    color: #9c27b0;
}

.ea-solutions__divider {
    border: none;
    border-top: 1px solid var(--ea-divider);
    margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
    width: 100%;
}

/* CTA final */

.ea-cta {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 0;
    text-align: center;
}

.ea-cta__title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: var(--ea-ink);
    line-height: 1.25;
    margin: 0 0 clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.5px;
}

.ea-cta__text {
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    font-weight: 400;
    color: var(--ea-ink);
    line-height: 1.65;
    max-width: 820px;
    margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.ea-cta__text strong {
    font-weight: 700;
}

.ea-cta__visual {
    display: block;
    line-height: 0;
}

.ea-cta__gradient {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Footer */

.ea-footer {
    margin-top: auto;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

.ea-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 72px;
    padding: 1.25rem 0;
    line-height: normal;
    text-align: left;
}

.ea-footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.ea-footer__brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto;
    line-height: 0;
}

.ea-footer__brand-logo {
    width: auto;
    height: 32px;
    display: block;
}

.ea-footer__separator {
    width: 1px;
    height: 28px;
    background: #d0d0d0;
    flex: 0 0 auto;
}

.ea-footer__copy {
    margin: 0;
    font-size: clamp(0.75rem, 1.1vw, 0.875rem);
    font-weight: 400;
    color: #5a5a5a;
    line-height: 1.4;
}

.ea-footer__powered {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.ea-footer__powered-text {
    font-size: clamp(0.6875rem, 1vw, 0.8125rem);
    font-weight: 500;
    color: #5a5a5a;
    white-space: nowrap;
}

.ea-footer__powered-logo {
    height: 22px;
    width: auto;
    display: block;
}

@media (max-width: 1024px) {
    .ea-solutions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ea-container,
    .ea-container--wide {
        width: min(1200px, calc(100% - 1.5rem));
    }

    .ea-platform__divider {
        margin: 1.5rem 0;
    }

    .ea-platform__grid {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        max-width: 980px;
        margin-inline: auto;
        padding: 1.5rem 0;
        gap: 0;
    }

    .ea-platform__content,
    .ea-platform__visual {
        grid-area: 1 / 1;
    }

    .ea-platform__content {
        position: relative;
        z-index: 1;
        max-width: 100%;
        flex: none;
        width: 100%;
    }

    .ea-platform__visual {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        flex: none;
    }

    .ea-platform__logo {
        width: min(72vw, 240px);
        opacity: 0.16;
    }
}

@media (max-width: 767px) {
    .ea-hero,
    .ea-hero__bg,
    .ea-hero__overlay {
        min-height: 280px;
    }

    .ea-hero__overlay {
        justify-content: center;
        gap: 2.5rem;
        padding: 3rem 1.25rem 2rem;
    }

    .ea-hero__powered {
        position: static;
        transform: none;
        margin-top: 0;
        gap: 0.45rem;
    }

    .ea-hero__logo {
        width: min(72vw, 240px);
    }

    .ea-hero__powered-logo {
        height: 24px;
    }

    .ea-platform {
        padding: 3.25rem 0 3.5rem;
    }

    .ea-platform__divider {
        margin: 2rem 0;
    }

    .ea-platform__grid {
        padding: 2rem 0;
    }

    .ea-platform__content {
        gap: 1.5rem;
    }

    .ea-platform__intro {
        font-size: 1.125rem;
        line-height: 1.6;
        margin-bottom: 0.25rem;
    }

    .ea-platform__text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .ea-solutions {
        padding: 3.5rem 0 4rem;
        text-align: center;
    }

    .ea-solutions__grid {
        column-gap: 1.5rem;
        row-gap: 0;
    }

    .ea-solutions__card {
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        margin-bottom: 2.5rem;
    }

    .ea-solutions__card:last-child {
        margin-bottom: 0;
    }

    .ea-solutions__title {
        font-size: 1.375rem;
        text-align: center;
        margin-bottom: 1.75rem;
    }

    .ea-solutions__banner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 3.25rem;
        padding: 1rem 1.15rem;
        border-radius: 10px;
        text-align: center;
        gap: 0.65rem;
    }

    .ea-solutions__banner-text {
        font-size: 0.85rem;
        line-height: 1.55;
        text-align: center;
        flex: none;
        width: 100%;
    }

    .ea-solutions__banner-dash {
        display: none;
    }

    .ea-solutions__banner-logo {
        margin-inline: auto;
    }

    .ea-solutions__banner-logo img {
        height: 20px;
        margin-inline: auto;
    }

    .ea-solutions__btn {
        min-height: 38px;
        padding: 0.65rem 1.4rem;
        font-size: 0.875rem;
        border-radius: 5px;
    }

    .ea-solutions__text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .ea-solutions__divider {
        margin-top: 3rem;
    }

    .ea-cta {
        padding: 3.5rem 0 0;
    }

    .ea-cta__title {
        font-size: 1.375rem;
        margin-bottom: 1.75rem;
    }

    .ea-cta__text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }

    .ea-footer {
        margin-top: 0.5rem;
    }

    .ea-footer__inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1.25rem;
        padding: 1.5rem 0 1.75rem;
    }

    .ea-footer__brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.85rem;
        width: 100%;
    }

    .ea-footer__separator {
        display: none;
    }

    .ea-footer__copy {
        font-size: 0.8125rem;
        line-height: 1.55;
        max-width: 28rem;
    }

    .ea-footer__powered {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .ea-solutions__grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 0;
    }

    .ea-solutions__card {
        margin-bottom: 5rem;
    }

    .ea-solutions__card:last-child {
        margin-bottom: 0;
    }

    .ea-solutions__logo {
        height: 56px;
    }

    .ea-solutions__logo--legira {
        height: 52px;
    }
}
