/* =========================================================
   ELENGY - HERO HOME
   Basado en Verto-X Banner Style 1
========================================================= */


/* =========================================================
   01. ICOMOON - ICONOS ORIGINALES VERTO-X

   Subir:
   /assets/fonts/icomoon.woff
========================================================= */

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.elengy-hero .icon-welder {
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.elengy-hero .icon-welder::before {
    content: "\e98f";
}


/* =========================================================
   02. HERO GENERAL
========================================================= */

.elengy-hero {
    position: relative;

    width: 100vw;
    min-height: 790px;

    margin-left: calc(50% - 50vw);

    overflow: visible;

    font-family: 'Manrope', sans-serif;

    background-color: #062b3d;

    z-index: 1;
}


/* Evitar espacios heredados de Elementor */

.elengy-hero,
.elengy-hero * {
    box-sizing: border-box;
}

.elengy-hero h1,
.elengy-hero h2,
.elengy-hero h3,
.elengy-hero h4,
.elengy-hero h5,
.elengy-hero p {
    margin-top: 0;
}





/* =========================================================
   03. IMAGEN DE FONDO
========================================================= */

.elengy-hero__background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

    z-index: 1;

    transform: scale(1.01);

    animation: elengyHeroZoom 12s ease-out forwards;
}

@keyframes elengyHeroZoom {

    from {
        transform: scale(1.045);
    }

    to {
        transform: scale(1.01);
    }

}


/* =========================================================
   04. OVERLAY
========================================================= */

.elengy-hero__overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            180deg,
            rgba(2, 26, 39, .55) 0%,
            rgba(3, 31, 45, .30) 38%,
            rgba(3, 31, 45, .50) 72%,
            rgba(3, 31, 45, .78) 100%
        );
}


/* pequeño degradado superior para que el header respire */

.elengy-hero::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 235px;

    background:
        linear-gradient(
            180deg,
            rgba(3, 25, 37, .78) 0%,
            rgba(3, 25, 37, .38) 55%,
            rgba(3, 25, 37, 0) 100%
        );

    z-index: 3;

    pointer-events: none;
}


/* =========================================================
   05. CONTENIDO
========================================================= */

.elengy-hero__content {
    position: relative;

    z-index: 5;

    width: 100%;
    min-height: 790px;
}

.elengy-hero__container {
    position: relative;

    width: 100%;
    max-width: 1200px;
    min-height: 790px;

    margin: 0 auto;

    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================================
   06. GRID INFERIOR
========================================================= */

.elengy-hero__grid {
    position: absolute;

    left: 15px;
    right: 15px;

    bottom: 0;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr)
        340px;

    align-items: end;
}


/* =========================================================
   07. MISIÓN / VISIÓN
========================================================= */

.elengy-hero__info {
    position: relative;

    min-height: 205px;

    display: flex;
    align-items: flex-start;

    padding: 48px 42px 64px;

    border-left: 1px solid rgba(255, 255, 255, .50);
}


/* línea inferior decorativa */

.elengy-hero__info::after {
    content: "";

    position: absolute;

    left: 42px;
    bottom: 34px;

    width: 42px;
    height: 2px;

    background-color: #11b8ca;

    transform-origin: left center;

    transition: width 400ms ease;
}

.elengy-hero__info:hover::after {
    width: 72px;
}


/* separación entre los dos bloques */

.elengy-hero__vision::before {
    content: "";

    position: absolute;

    top: 48px;
    right: 0;

    width: 1px;
    height: 98px;

    background-color: rgba(255, 255, 255, .18);
}


.elengy-hero__info-inner {
    width: 100%;
}


/* MISIÓN / VISIÓN */

.elengy-hero__eyebrow {
    position: relative;

    display: block;

    margin-bottom: 15px;

    color: #11b8ca;

    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 18px;
    font-weight: 800;

    letter-spacing: .15em;

    text-transform: uppercase;
}


/* texto principal */

.elengy-hero__info p {
    max-width: 390px;

    margin: 0;

    color: #ffffff;

    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
}


/* animaciones */

.elengy-hero__mission {
    animation: elengyFadeUp 1.2s ease .25s both;
}

.elengy-hero__vision {
    animation: elengyFadeUp 1.2s ease .45s both;
}

@keyframes elengyFadeUp {

    from {
        opacity: 0;
        transform: translateY(45px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   08. TARJETA DERECHA
========================================================= */

.elengy-hero__commercial {
    position: relative;

    width: 340px;

    margin-bottom: -105px;

    background-color: #11b8ca;

    color: #ffffff;

    box-shadow:
        0 25px 55px rgba(0, 0, 0, .18);

    animation: elengyCardEnter 1.25s ease .40s both;

    z-index: 8;
}

@keyframes elengyCardEnter {

    from {
        opacity: 0;
        transform: translateX(70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}


.elengy-hero__commercial-inner {
    position: relative;

    width: 100%;

    padding: 43px 42px 0;
}


/* =========================================================
   09. CABECERA DE TARJETA
========================================================= */

.elengy-hero__commercial-top {
    position: relative;

    display: flex;
    align-items: center;

    gap: 22px;

    padding-bottom: 27px;
}


/* ICONO WELDER */

.elengy-hero__commercial-icon {
    position: relative;

    width: 65px;

    flex: 0 0 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
}

.elengy-hero__commercial-icon .icon-welder {
    display: block;

    color: #ffffff;

    font-size: 61px;
    line-height: 1;
}


/* textos superiores */

.elengy-hero__commercial-heading {
    position: relative;
}

.elengy-hero__commercial-heading span {
    display: block;

    margin-bottom: 5px;

    color: rgba(255, 255, 255, .80);

    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;

    letter-spacing: .15em;

    text-transform: uppercase;
}

.elengy-hero__commercial-heading h3 {
    margin: 0;

    color: #ffffff;

    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    line-height: 30px;
    font-weight: 800;

    text-transform: uppercase;
}


/* =========================================================
   10. SEPARADOR
========================================================= */

.elengy-hero__commercial-line {
    width: 100%;
    height: 1px;

    margin-bottom: 28px;

    background-color: rgba(255, 255, 255, .38);
}


/* =========================================================
   11. TITULAR TARJETA
========================================================= */

.elengy-hero__commercial-body {
    position: relative;

    padding-bottom: 35px;
}

.elengy-hero__commercial-body h2 {
    margin: 0;

    color: #ffffff;

    font-family: 'Manrope', sans-serif;
    font-size: 31px;
    line-height: 1.22em;
    font-weight: 800;

    letter-spacing: -.025em;

    text-transform: uppercase;
}


/* =========================================================
   12. BOTÓN / CTA
========================================================= */

.elengy-hero__commercial-cta {
    position: relative;

    margin-left: -42px;
    margin-right: -42px;
}

.elengy-hero__commercial-cta a {
    position: relative;

    min-height: 84px;

    padding: 20px 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background-color: #062b3d;

    color: #ffffff;

    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;

    text-decoration: none;

    overflow: hidden;

    transition:
        background-color 350ms ease,
        color 350ms ease;
}


/* animación interna hover */

.elengy-hero__commercial-cta a::before {
    content: "";

    position: absolute;

    top: 0;
    left: -110%;

    width: 110%;
    height: 100%;

    background-color: #031f2d;

    transition: left 400ms ease;

    z-index: 0;
}

.elengy-hero__commercial-cta a:hover::before {
    left: 0;
}

.elengy-hero__commercial-cta a span,
.elengy-hero__commercial-cta a img {
    position: relative;

    z-index: 2;
}


/* flecha original Verto-X */

.elengy-hero__commercial-cta img {
    display: block;

    width: 38px;
    max-width: 38px;
    height: auto;

    object-fit: contain;

    /* el PNG original es oscuro */
    filter:
        brightness(0)
        invert(1);

    transition: transform 350ms ease;
}

.elengy-hero__commercial-cta a:hover img {
    transform: translateX(6px);
}


/* =========================================================
   13. ESPACIO INFERIOR

   La tarjeta sobresale del Hero.
========================================================= */

.elengy-hero {
    margin-bottom: 105px;
}


/* =========================================================
   14. ELEMENTOR FIX
========================================================= */

.elementor-widget-html:has(.elengy-hero),
.elementor-widget-html:has(.elengy-hero) .elementor-widget-container {
    width: 100%;
    max-width: none;
}

.elementor-widget-html:has(.elengy-hero) {
    margin: 0 !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */


/* =========================================================
   15. 1200 - 1400
   Similar ajuste Verto-X
========================================================= */

@media (min-width: 1200px) and (max-width: 1400px) {

    .elengy-hero__container {
        max-width: 1140px;
    }

    .elengy-hero__grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr)
            315px;
    }

    .elengy-hero__commercial {
        width: 315px;
    }

    .elengy-hero__info {
        padding:
            49px
            30px
            64px;
    }

    .elengy-hero__info::after {
        left: 30px;
    }

    .elengy-hero__commercial-inner {
        padding-left: 34px;
        padding-right: 34px;
    }

    .elengy-hero__commercial-cta {
        margin-left: -34px;
        margin-right: -34px;
    }

    .elengy-hero__commercial-cta a {
        padding-left: 34px;
        padding-right: 34px;
    }

}


/* =========================================================
   16. TABLET GRANDE 992 - 1199
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .elengy-hero {
        min-height: auto;

        margin-bottom: 0;

        padding-top: 480px;
    }

    .elengy-hero__content,
    .elengy-hero__container {
        min-height: 0;
    }

    .elengy-hero__container {
        max-width: 960px;

        padding-left: 30px;
        padding-right: 30px;
    }

    .elengy-hero__grid {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        display: block;
    }

    .elengy-hero__info {
        width: 100%;

        min-height: auto;

        padding:
            29px
            45px
            31px;

        border-left:
            1px solid
            rgba(255, 255, 255, .50);
    }

    .elengy-hero__info + .elengy-hero__info {
        margin-top: 35px;
    }

    .elengy-hero__info::after,
    .elengy-hero__vision::before {
        display: none;
    }

    .elengy-hero__info p {
        max-width: 720px;
    }

    .elengy-hero__commercial {
        position: relative;

        width: 100%;
        max-width: 530px;

        margin-top: 40px;
        margin-bottom: 0;

        padding: 0;
    }

}


/* =========================================================
   17. TABLET 768 - 991
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .elengy-hero {
        min-height: auto;

        margin-bottom: 0;

        padding-top: 350px;
    }

    .elengy-hero__content,
    .elengy-hero__container {
        min-height: 0;
    }

    .elengy-hero__container {
        max-width: 720px;

        padding-left: 30px;
        padding-right: 30px;
    }

    .elengy-hero__grid {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        display: block;
    }

    .elengy-hero__info {
        width: 100%;

        min-height: auto;

        padding:
            29px
            45px
            31px;

        border-left:
            1px solid
            rgba(255, 255, 255, .50);
    }

    .elengy-hero__info + .elengy-hero__info {
        margin-top: 40px;
    }

    .elengy-hero__info::after,
    .elengy-hero__vision::before {
        display: none;
    }

    .elengy-hero__commercial {
        position: relative;

        width: 100%;
        max-width: 530px;

        margin-top: 40px;
        margin-bottom: 0;
    }

}


/* =========================================================
   18. MOBILE <= 767
========================================================= */

@media (max-width: 767px) {

    .elengy-hero {
        min-height: auto;

        margin-bottom: 0;

        padding-top: 350px;
    }

    .elengy-hero__background {
        background-position: 58% center;
    }

    .elengy-hero__content,
    .elengy-hero__container {
        min-height: 0;
    }

    .elengy-hero__container {
        width: 100%;
        max-width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .elengy-hero__grid {
        position: relative;

        left: auto;
        right: auto;
        bottom: auto;

        display: block;
    }


    /* MISIÓN / VISIÓN */

    .elengy-hero__info {
        width: 100%;

        min-height: auto;

        padding:
            29px
            30px
            31px;

        border-left:
            1px solid
            rgba(255, 255, 255, .50);
    }

    .elengy-hero__info + .elengy-hero__info {
        margin-top: 38px;
    }

    .elengy-hero__info::after,
    .elengy-hero__vision::before {
        display: none;
    }

    .elengy-hero__eyebrow {
        margin-bottom: 11px;
    }

    .elengy-hero__info p {
        font-size: 15px;
        line-height: 25px;
    }


    /* TARJETA */

    .elengy-hero__commercial {
        position: relative;

        width: 100%;
        max-width: 530px;

        margin-top: 40px;
        margin-bottom: 0;
    }

    .elengy-hero__commercial-inner {
        padding:
            38px
            30px
            0;
    }

    .elengy-hero__commercial-top {
        gap: 17px;
    }

    .elengy-hero__commercial-icon {
        width: 55px;
        flex-basis: 55px;
    }

    .elengy-hero__commercial-icon .icon-welder {
        font-size: 52px;
    }

    .elengy-hero__commercial-heading h3 {
        font-size: 20px;
        line-height: 26px;
    }

    .elengy-hero__commercial-body h2 {
        font-size: 32px;
    }

    .elengy-hero__commercial-cta {
        margin-left: -30px;
        margin-right: -30px;
    }

    .elengy-hero__commercial-cta a {
        min-height: 76px;

        padding:
            17px
            30px;

        font-size: 16px;
    }

}


/* =========================================================
   19. MOBILE PEQUEÑO
========================================================= */

@media (max-width: 480px) {

    .elengy-hero {
        padding-top: 315px;
    }

    .elengy-hero__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .elengy-hero__info {
        padding-left: 24px;
        padding-right: 20px;
    }

    .elengy-hero__commercial-inner {
        padding:
            34px
            24px
            0;
    }

    .elengy-hero__commercial-cta {
        margin-left: -24px;
        margin-right: -24px;
    }

    .elengy-hero__commercial-cta a {
        padding-left: 24px;
        padding-right: 24px;
    }

    .elengy-hero__commercial-body h2 {
        font-size: 28px;
    }

}