/* Estilos específicos para dispositivos celulares */
@media (max-width: 767px) {
    #contenido {
        display: flex;
        flex-direction: column;
    }

    .item1-movil {
        order: 1;
    }

    .item2-movil {
        order: 2;
    }

    .item3-movil {
        order: 3;
    }

    .item4-movil {
        order: 4;
    }

    .item5-movil {
        order: 5;
    }

    .item6-movil {
        order: 6;
    }

    .item7-movil {
        order: 7;
    }

    .item8-movil {
        order: 8;
    }

    .item9-movil {
        order: 9;
    }

    .item10-movil {
        order: 10;
    }

    .item11-movil {
        order: 11;
    }

    .item12-movil {
        order: 12;
    }

    .item13-movil {
        order: 13;
    }

    .item14-movil {
        order: 14;
    }

    .item9999-movil {
        order: 9999;
    }

    .contacto-contacto-principal,
    .contacto-contacto-principal * {
        box-sizing: border-box;
    }

    .contacto-contacto-principal {
        margin-top: var(--header-height) !important;
        flex-shrink: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 5vw;
        margin-top: 5vw;
    }

    .container-contacto-principal {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        row-gap: 33vw;
        top: -5vw;
    }

    .content-contacto-principal {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2.0833333vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 100%;
        position: relative;
    }

    .content2-contacto-principal {
        display: flex;
        flex-direction: column;
        row-gap: 12vw;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 100%;
        position: relative;
    }

    .text-contacto-principal {
        width: 85%;
        position: relative;
    }

    .heading-contacto-principal {
        display: none;
    }

    .heading-contacto-principal-movil{
        text-align: center;
        position: relative;
    }

    .heading-span-contacto-principal {
        color: #101011;
        font-size: 6vw;
        font-weight: 500;
        line-height: 130%;
    }

    .heading-span2-contacto-principal {
        color: #c6d54f;
        font-size: 6vw;
        font-weight: 500;
        line-height: 130%;
    }

    .heading-span3-contacto-principal {
        color: #101011;
        font-size: 6vw;
        font-weight: 500;
        line-height: 130%;
    }

    .headline-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.8333333vw;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 50%;
        position: relative;
    }

    .text2-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.8333333vw;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
    }

    .heading2-contacto-principal {
        color: #201f23;
        text-align: center;
        font-size: 4vw;
        line-height: 140%;
        font-weight: 600;
        position: relative;
    }

    .grid-contacto-principal {
        flex-shrink: 0;
        width: 60%;
        height: 121.125vw;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 5vw;
    }

    .grid-item1 {
        order: 1;
    }

    .grid-item2 {
        order: 2;
    }

    .grid-item3 {
        order: 3;
    }

    ._4-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        row-gap: 3vw;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 44vw;
        position: relative;
    }

    .icon-action-power-contacto-principal {
        flex-shrink: 0;
        width: 6vw;
        height: 6vw;
        position: relative;
        overflow: visible;
    }

    .frame-23-contacto-principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
    }

    .razones-contacto-principal {
        color: #000000;
        text-align: center;
        font-size: 3.75vw;
        line-height: 5.75vw;
        letter-spacing: -0.01em;
        font-weight: 400;
        position: relative;
    }

    ._7-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        row-gap: 3vw;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 34vw;
        position: relative;
    }

    .icon-action-power2-contacto-principal {
        flex-shrink: 0;
        width: 6vw;
        height: 6vw;
        position: relative;
        overflow: visible;
    }

    ._6-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        row-gap: 3vw;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 37.25vw;
        position: relative;
    }

    .icon-action-power3-contacto-principal {
        flex-shrink: 0;
        width: 6vw;
        height: 6vw;
        position: relative;
        overflow: visible;
    }

    .frame-232-contacto-principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
    }

    .formulario-contacto-principal {
        width: 85%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        row-gap: 3vw;
    }

    .contacto-form-fields-contacto-principal {
        overflow: hidden;
        width: 90%;
        /* border-radius: 14px;
        border-style: solid;
        border-color: #b0b2b1;
        border-width: 0.0694vw; */
        padding: 2% 6% 2% 6%;
        border-top: 2px solid #c6d54f;
        position: relative;
        z-index: 2;
        background: white;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #formularioContactoPrincipal {
        width: 100%;
        transition: transform 0.3s ease;
    }

    .img-robot-contacto-principal {
        display: none; 
    }

    .img-robot-contacto-principal-movil {
        width: 25vw;
        height: 25vw;
        position: absolute;
        overflow: visible;
        top: 0vw;
        left: 29vw;
        transform: scale(3) rotate(40deg); 
    }

    .description-container-contacto-principal {
        display: none;
    }

    .contacto-note {
        width: 90%;
        position: relative;
        text-align: center;
        margin-bottom: 2vw;
    }

    .description-span-contacto-principal {
        color: #808584;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 700;
    }

    .description-span2-contacto-principal {
        color: #808584;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 400;
    }

    .description-span3-contacto-principal {
        color: #9cb445;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 400;
    }

    .description-span4-contacto-principal {
        color: #808584;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 400;
    }
}

/* Estilos específicos para dispositivos tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    #contenido {
        display: flex;
        flex-direction: column;
    }

    .item1-movil {
        order: 1;
    }

    .item2-movil {
        order: 2;
    }

    .item3-movil {
        order: 3;
    }

    .item4-movil {
        order: 4;
    }

    .item5-movil {
        order: 5;
    }

    .item6-movil {
        order: 6;
    }

    .item7-movil {
        order: 7;
    }

    .item8-movil {
        order: 8;
    }

    .item9-movil {
        order: 9;
    }

    .item10-movil {
        order: 10;
    }

    .item11-movil {
        order: 11;
    }

    .item12-movil {
        order: 12;
    }

    .item13-movil {
        order: 13;
    }

    .item14-movil {
        order: 14;
    }

    .item9999-movil {
        order: 9999;
    }

    .contacto-contacto-principal,
    .contacto-contacto-principal * {
        box-sizing: border-box;
    }

    .contacto-contacto-principal {
        margin-top: var(--header-height) !important;
        flex-shrink: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 5vw;
        margin-bottom: 5vw;
    }

    .container-contacto-principal {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        row-gap: 33vw;
        top: -5vw;
    }

    .content-contacto-principal {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2.0833333vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 100%;
        position: relative;
    }

    .content2-contacto-principal {
        display: flex;
        flex-direction: column;
        row-gap: 12vw;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 100%;
        position: relative;
    }

    .text-contacto-principal {
        width: 85%;
        position: relative;
    }

    .heading-contacto-principal {
        display: none;
    }

    .heading-contacto-principal-movil{
        text-align: center;
        position: relative;
    }

    .heading-span-contacto-principal {
        color: #101011;
        font-size: 6vw;
        font-weight: 500;
        line-height: 130%;
    }

    .heading-span2-contacto-principal {
        color: #c6d54f;
        font-size: 6vw;
        font-weight: 500;
        line-height: 130%;
    }

    .heading-span3-contacto-principal {
        color: #101011;
        font-size: 6vw;
        font-weight: 500;
        line-height: 130%;
    }

    .headline-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.8333333vw;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 50%;
        position: relative;
    }

    .text2-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.8333333vw;
        align-items: center;
        justify-content: center;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
    }

    .heading2-contacto-principal {
        color: #201f23;
        text-align: center;
        font-size: 4vw;
        line-height: 140%;
        font-weight: 600;
        position: relative;
    }

    .grid-contacto-principal {
        flex-shrink: 0;
        width: 65%;
        height: 121.125vw;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: 5vw;
    }

    .grid-item1 {
        order: 1;
    }

    .grid-item2 {
        order: 2;
    }

    .grid-item3 {
        order: 3;
    }

    ._4-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        row-gap: 3vw;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 44vw;
        position: relative;
    }

    .icon-action-power-contacto-principal {
        flex-shrink: 0;
        width: 6vw;
        height: 6vw;
        position: relative;
        overflow: visible;
    }

    .frame-23-contacto-principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
        width: 95%;
    }

    .razones-contacto-principal {
        color: #000000;
        text-align: center;
        font-size: 3.75vw;
        line-height: 5.75vw;
        letter-spacing: -0.01em;
        font-weight: 400;
        position: relative;
    }

    ._7-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        row-gap: 3vw;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 34vw;
        position: relative;
    }

    .icon-action-power2-contacto-principal {
        flex-shrink: 0;
        width: 6vw;
        height: 6vw;
        position: relative;
        overflow: visible;
    }

    ._6-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        row-gap: 3vw;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 37.25vw;
        position: relative;
    }

    .icon-action-power3-contacto-principal {
        flex-shrink: 0;
        width: 6vw;
        height: 6vw;
        position: relative;
        overflow: visible;
    }

    .frame-232-contacto-principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
    }

    .formulario-contacto-principal {
        width: 85%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        row-gap: 3vw;
    }

    .contacto-form-fields-contacto-principal {
        overflow: hidden;
        width: 100%;
        /* border-radius: 14px;
        border-style: solid;
        border-color: #b0b2b1;
        border-width: 0.0694vw;
        padding: 12% 6% 5% 6%; */
        padding: 50% 6% 45% 6%;
        border-top: 2px solid #c6d54f;
        position: relative;
        z-index: 2;
        background: white;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #formularioContactoPrincipal {
        width: 100%;
        transition: transform 0.3s ease;
    }

    .img-robot-contacto-principal {
        display: none;
    }

    .img-robot-contacto-principal-movil {
        width: 25vw;
        height: 25vw;
        position: absolute;
        overflow: visible;
        top: 0vw;
        left: 29vw;
        transform: scale(3) rotate(40deg); 
    }

    .description-container-contacto-principal {
        display: none;
    }

    .contacto-note {
        width: 90%;
        position: relative;
        text-align: center;
    }

    .description-span-contacto-principal {
        color: #808584;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 700;
    }

    .description-span2-contacto-principal {
        color: #808584;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 400;
    }

    .description-span3-contacto-principal {
        color: #9cb445;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 400;
    }

    .description-span4-contacto-principal {
        color: #808584;
        font-size: 3vw;
        line-height: 110%;
        font-weight: 400;
    }
}

/* Estilos específicos para dispositivos de escritorio */
@media (min-width: 1024px) {

    .contacto-contacto-principal,
    .contacto-contacto-principal * {
        box-sizing: border-box;
    }

    .contacto-contacto-principal {
        background: linear-gradient(110deg,
                rgba(244, 247, 220, 0.65) 0%,
                rgba(255, 255, 255, 0) 50%);
        flex-shrink: 0;
        height: 62.416667vw;
        position: relative;
        /* overflow: hidden; */
    }

    .container-contacto-principal {
        width: 75%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
        position: absolute;
        left: 13%;
        top: 8%;
        gap: 5vw;
    }

    .content-contacto-principal {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2.0833333vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 50%;
        height: 100%;
        position: relative;
    }

    .content2-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 2.0833333vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 29.375vw;
        height: 36.6145833vw;
        position: relative;
    }

    .text-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 1.04166665vw;
        align-items: flex-start;
        justify-content: flex-start;
        flex-shrink: 0;
        width: 29.375vw;
        height: 12.76041665vw;
        position: relative;
    }

    .heading-contacto-principal {
        text-align: left;
        font-size: 2.5vw;
        font-weight: 500;
        position: relative;
        width: 29.375vw;
    }

    .heading-contacto-principal-movil{
        display: none;
    }

    .heading-span-contacto-principal {
        color: #101011;
        font-size: 2.5vw;
        font-weight: 500;
    }

    .heading-span2-contacto-principal {
        color: #c6d54f;
        font-size: 2.5vw;
        font-weight: 500;
    }

    .heading-span3-contacto-principal {
        color: #101011;
        font-size: 2.5vw;
        font-weight: 500;
    }

    .headline-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.8333333vw;
        align-items: flex-start;
        justify-content: center;
        flex-shrink: 0;
        width: 23.4375vw;
        position: relative;
    }

    .text2-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.8333333vw;
        align-items: flex-start;
        justify-content: center;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
    }

    .heading2-contacto-principal {
        color: #201f23;
        text-align: center;
        font-size: 1.04166665vw;
        line-height: 140%;
        font-weight: 700;
        position: relative;
    }

    .grid-contacto-principal {
        flex-shrink: 0;
        width: 29.32291665vw;
        height: 18.28125vw;
        position: static;
    }

    ._4-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        gap: 0.520833328vw;
        align-items: flex-start;
        justify-content: flex-start;
        width: 13.54166665vw;
        height: 9.79166665vw;
        position: absolute;
        left: calc(50% - 14.6875vw);
        top: 18.4375vw;
    }

    .icon-action-power-contacto-principal {
        flex-shrink: 0;
        width: 1.25vw;
        height: 1.25vw;
        position: relative;
        overflow: visible;
    }

    .frame-23-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.520833328vw;
        align-items: flex-start;
        justify-content: flex-start;
        align-self: stretch;
        flex-shrink: 0;
        height: 4vw;
        position: relative;
    }

    .razones-contacto-principal {
        color: #000000;
        text-align: left;
        font-size: 0.8333333vw;
        line-height: 140%;
        font-weight: 400;
        position: relative;
        align-self: stretch;
    }

    ._7-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        gap: 0.520833328vw;
        align-items: flex-start;
        justify-content: flex-start;
        width: 13.54166665vw;
        height: 6.875vw;
        position: absolute;
        left: calc(50% - 14.6875vw);
        top: 29.79166665vw;
    }

    .icon-action-power2-contacto-principal {
        flex-shrink: 0;
        width: 1.25vw;
        height: 1.25vw;
        position: relative;
        overflow: visible;
    }

    ._6-contacto-principal {
        padding: 0.520833328vw 0vw 0.520833328vw 0vw;
        display: flex;
        flex-direction: column;
        gap: 0.520833328vw;
        align-items: flex-start;
        justify-content: flex-start;
        width: 13.54166665vw;
        height: 8.59375vw;
        position: absolute;
        left: calc(50% - -1.09375vw);
        top: 18.38541665vw;
    }

    .icon-action-power3-contacto-principal {
        flex-shrink: 0;
        width: 1.51041665vw;
        height: 1.3020833vw;
        position: relative;
        overflow: visible;
    }

    .frame-232-contacto-principal {
        display: flex;
        flex-direction: column;
        gap: 0.520833328vw;
        align-items: flex-start;
        justify-content: flex-start;
        align-self: stretch;
        flex-shrink: 0;
        height: 6.35416665vw;
        position: relative;
    }

    .formulario-contacto-principal {
        width: 50%;
        height: 100%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .contacto-form-fields-contacto-principal {
        width: 75%;
        position: relative;
        top: 50%;
        left: 7%;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #formularioContactoPrincipal {
        padding: 1% 1%;
        height: fit-content;
        margin-top: 2.5vw;
        transition: transform 0.3s ease;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .img-robot-contacto-principal {
        width: 18vw;
        height: 18vw;
        position: absolute;
        overflow: visible;
        top: 2.60416665vw;
        left: -7vw;
    }

    .img-robot-contacto-principal-movil {
        display: none;
    }

    .description-container-contacto-principal {
        height: 36.1458333vw;
        position: relative;
        left: 2.5vw;
    }

    .contacto-note {
        display: none;
    }

    .description-contacto-principal {
        text-align: left;
        font-size: 0.6770833vw;
        line-height: 140%;
        font-weight: 400;
        position: relative;
    }


    .description-span-contacto-principal {
        color: #808584;
        font-size: 0.6770833vw;
        line-height: 140%;
        font-weight: 700;
    }

    .description-span2-contacto-principal {
        color: #808584;
        font-size: 0.6770833vw;
        line-height: 140%;
        font-weight: 400;
    }

    .description-span3-contacto-principal {
        color: #9cb445;
        font-size: 0.6770833vw;
        line-height: 140%;
        font-weight: 400;
    }

    .description-span4-contacto-principal {
        color: #808584;
        font-size: 0.6770833vw;
        line-height: 140%;
        font-weight: 400;
    }
}