/* =========================================================
   Bluumi Blocks Child — Elementor Hero Styles
   ========================================================= */

/* === HERO: CONTENEDOR PRINCIPAL === */
.elementor .hero,
.elementor .e-con.hero {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 30px !important;
    background:
        linear-gradient(180deg, rgba(21, 29, 36, 0) 41%, #151d24 79%) top left / auto auto no-repeat,
        url('../images/hero.png') 0 -500px / cover no-repeat,
        linear-gradient(#151d24, #151d24) top left / auto auto no-repeat !important;
    padding-top: clamp(280px, 42vh, 360px) !important;
    padding-right: max(40px, calc((100vw - 1920px) / 2 + 40px)) !important;
    padding-bottom: 86px !important;
    padding-left: max(60px, calc((100vw - 1920px) / 2 + 60px)) !important;
    box-sizing: border-box !important;
}

/* === TÍTULO HERO === */
.elementor .hero-title,
.elementor .hero-title .elementor-heading-title {
    color: #ffffff !important;
    font-family: 'Public Sans', sans-serif !important;
    font-size: clamp(48px, 5.5vw, 68px) !important;
    font-weight: 500 !important;
    line-height: 1.14 !important;
    letter-spacing: -0.5px !important;
    max-width: 750px !important;
    margin: 0 !important;
    text-align: left !important;
}

/* === CONTENEDOR INFERIOR (CTA + SERVICIOS) === */
.elementor .hero-row-bottom,
.elementor .e-con.hero-row-bottom {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 60px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin-top: 20px !important;
    padding: 0 !important;
    background: transparent !important;
}

/* === CAJA CTA (TEXTO + BOTÓN) === */
.elementor .hero-row,
.elementor .e-con.hero-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    padding: 16px 24px !important;
    border-radius: 5px !important;
    width: auto !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
}

/* Subtítulo "¿Estás pensando en un proyecto?" */
.elementor .hero-subtitle-estas-pensando,
.elementor .hero-subtitle-estas-pensando p {
    color: #ffffff !important;
    font-family: 'Public Sans', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: left !important;
}

/* Botón "Solicita presupuesto sin compromiso" */
.elementor .btn-a,
.elementor .btn-a .elementor-button,
.elementor .btn-a a {
    box-shadow: 0px 4px 15px 0px rgba(0, 183, 255, 0.3) !important;
    background: linear-gradient(252deg, #04ffd9 20%, #00b7ff 100%) !important;
    color: #151d24 !important;
    font-family: 'Public Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 12px 18px !important;
    border-radius: 5px !important;
    border: none !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    transition: filter 0.2s ease !important;
}

.elementor .btn-a:hover,
.elementor .btn-a .elementor-button:hover {
    filter: brightness(1.2) !important;
}

/* === LISTADO DE SERVICIOS (DERECHA) === */
.elementor .hero-subtitle-aplicaciones,
.elementor .hero-subtitle-aplicaciones p,
.elementor .hero-subtitle-aplicaciones h2 {
    color: #ffffff !important;
    font-family: 'Public Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* === RESPONSIVE MOBILE & TABLET === */
@media screen and (max-width: 992px) {
    .elementor .hero,
    .elementor .e-con.hero {
        padding-top: 180px !important;
        padding-right: 24px !important;
        padding-left: 24px !important;
    }

    .elementor .hero-row-bottom,
    .elementor .e-con.hero-row-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 30px !important;
    }

    .elementor .hero-row,
    .elementor .e-con.hero-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
    }

    .elementor .hero-subtitle-estas-pensando,
    .elementor .hero-subtitle-estas-pensando p {
        white-space: normal !important;
    }

    .elementor .btn-a,
    .elementor .btn-a .elementor-button {
        width: 100% !important;
    }
}
