@media screen and (max-width: 1399px) {
    .hero article .container {
        height: 90%;
    }

    .navi {
        width: 400px;
    }

    .m-c-d-t h3 {
        margin: 0;
    }
}

@media screen and (max-width: 950px) {
    article {
        width: 100%;
        padding: 0 15px;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    .head {
        background-color: rgba(239, 239, 239, 1);
        position: relative;
    }

    header .container {
        height: 65px;
    }

    .logo img {
        transform: translateX(0px);
    }

    .txt img {
        height: 70%;
    }

    .hero {
        padding-top: 0;
        height: calc(100vh - 65px);
        background-position: center center;
    }

    .hero article {
        padding: 0;
    }

    .hero article .container {
        height: 70%;
        /* max-height: 500px; */
        padding: 0;
        padding-top: 10px;
    }

    .contnav {
        height: auto;
    }

    .navi {
        width: 260px;
        height: auto;
        min-height: 250px;
    }

    .navi ul li a {
        padding: 5px;
        width: 100%;
    }

    .navi ul li a h2 {
        margin: 5px;
        font-size: 1.2rem;
        padding-right: 15px;
    }

    .navi ul li a img {
        height: 35px;
    }

    /* kdkdkdkdkd */
    .somos .container {
        flex-direction: column;
    }

    .side {
        width: 70%;
    }

    .side div:nth-child(3) p {
        font-size: 1.3rem;
    }

    .aside {
        width: 100%;
    }

    .aside {
        margin-top: 75px;
    }

    .aside .wm {
        width: 40%;
        height: auto;
    }

    .grida {
        grid-template: minmax(40px, auto) repeat(3, minmax(30px, auto)) / 1fr 1fr 1fr;
    }

    .titulo h1 {
        font-size: 1.1rem;
        margin: 0;
        font-weight: 500;
    }

    .loguis {
        height: 30px;
    }

    .grida .check {
        position: absolute;
        bottom: 0;
        right: -0;
    }

    .clientes {
        gap: 20px;
    }

    .cliente {
        width: 30%;
    }

    .cliente img {
        height: 20%;
        width: 80%;
    }

    .high img {
        width: 50%;
    }

    .cc img {
        width: 60%;
    }

    .conta {
        flex-direction: column;
        padding: 0;
    }

    .contacto .container>div:nth-child(1) {
        width: 95%;
    }

    .contacto .container>div:nth-child(3) {
        width: 100%;
    }

    .contacto .container>div:nth-child(2) {
        width: 100%;
    }

    .formulario form>input:nth-child(2),
    .formulario form>input:nth-child(3) {
        width: 100%;
    }

    .numero-t p {
        color: rgb(152, 220, 251);
    }

    .s_fo {
        padding: 0;
    }

    .s_fo article {
        padding: 0;
    }


    .social .iconos {
        width: 80%;
        justify-content: space-around;
    }

    .social .iconos img {
        height: 40px;
    }


    .whatsapp img {
        width: 75%;
    }

    /* modal */
    .modal-dialog {
        max-width: 95%;
    }

    .modal-dialog {
        margin: 0.2rem auto;
        height: 97%;
    }

    .modal-dialog {
        align-items: flex-start;
    }

    .modal-header {
        padding: 0 1rem 0.7rem 1rem !important;
    }

    .m-c {
        justify-content: space-around;
    }

    .m-c-d {
        width: 100%;
        grid-template: 1fr 1fr 60px / 1fr 2px 1fr;
        place-items: center;
    }

    .as1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .ast1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .lines {
        grid-column: 2 / 3;
        grid-row: 1 / 4;
    }

    .as2 {
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    .ast2 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    .pg1 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .pg2 {
        grid-column: 3 / 4;
        grid-row: 3 / 4;
    }

    .pg {
        justify-self: flex-start;
    }

    .m-c-d-f {
        width: 50%;
        /* margin: 35px 0; */
        align-self: center;
    }

    .m-c-d-t h3 {
        margin: 15px 0;
        font-size: 1rem;
    }

    .m-c .m-c-d:nth-child(1) {
        border-right: solid 2px white;
    }

    .m-c-d-t {
        width: 100%;
        font-size: 1rem;
        padding: 0 15px;
    }

    .m-c-d-t p {
        width: 100%;
        margin: 0 5px;
    }

    .m-c-d-t .pg {
        margin-top: auto;
        margin-bottom: 30px;
    }

    .m-c-d-t .wm img {
        width: 90%;
    }

    .inicio a {
        display: block;
    }

    .ini {
        display: none;
    }
}


@media screen and (max-width: 850px) {
    .hero article .container {
        height: 75%;
        padding: 0;
    }

    .contnav {
        height: 100%;
    }

    .navi ul li a h2 {
        font-size: 1rem;
    }
}

/* vertical 00000000000000000000000000000000000000000000000000 */
@media screen and (max-width: 600px) {
    .container {
        padding: 0;
    }

    .hero {
        background-position: top center;
    }

    header .container {
        height: 110px;
        flex-direction: column;
    }

    header .txt,
    header .logo {
        width: 90%;
    }

    .logo img {
        height: 60px;
    }

    .txt img {
        height: 35px;
    }

    .hero article {
        height: calc(100vh - 115px);
    }

    .hero article .container {
        height: 100%;
        padding-top: 15px;
    }

    .navi {
        height: 50%;
        width: 320px;
        transform: translateY(-20px);
    }

    .navi ul li a img {
        height: 40px;
    }

    .contnav {
        align-items: center;
        margin: auto;
    }

    .news {
        height: auto;
        padding: 20px 0;
    }

    .side {
        width: 95%;
    }

    .side div:nth-child(3) p {
        padding: 15px 0;
        font-size: 1.3rem;
    }

    .aside {
        margin-top: 30px;
    }

    .aside_p {
        padding: 0;
    }

    .aside .check {
        position: relative;
        margin: auto;
        margin-top: 25px;
        margin-right: 0;
    }

    .aside .wm {
        width: 50%;
        height: auto;
    }

    .mas {
        margin-top: 25px;
        margin-bottom: 20px;
    }

    p {
        margin: 0;
    }

    .grida {
        grid-template: minmax(50px, auto) repeat(4, minmax(50px, auto)) / 1fr 1fr;
    }

    .titulo {
        background-color: var(--naranja);
        grid-column: 1 / 2;
        align-self: flex-end;
        height: 50px;
        min-height: 50px;
    }

    .loguis {
        width: 100%;
        height: 30px;
    }

    .imagen {
        grid-column: 1 / 3;
        grid-row: 2 / 4;
        width: 85%;
        justify-self: center;
    }

    .imagen img {
        margin-top: 15px;
        width: 100%;
    }

    .texto {
        grid-column: 1 / 3;
        grid-row: 4 / 5;
    }

    .texto p {
        margin-top: 15px;
    }

    .grida .check {
        grid-column: 2 / 3;
        grid-row: 5 / 6;
    }

    .clientes {
        gap: 15px;
    }

    .cliente {
        width: 28%;
    }

    .clientes_a h1 {
        font-size: 1.4rem;
    }

    .high img {
        height: auto;
    }

    .menos img {
        height: auto;
        width: 100%;
    }

    .contacto {
        padding-top: 0;
    }

    .conta {
        flex-direction: column;
        padding: 0;
    }

    .contacto .container>div:nth-child(1) {
        width: 95%;
    }

    .contacto .container>div:nth-child(3) {
        width: 100%;
    }

    .contacto .container>div:nth-child(2) {
        width: 100%;
    }

    .s_fo {
        height: auto;
        padding: 0;
    }

    .footer {
        flex-direction: column;
        justify-content: flex-start;

        padding: 0;
    }

    .social {
        width: 90%;
        padding: 15px 0;
    }

    .social .iconos {
        width: 95%;
        gap: 5px;

    }

    .social .iconos img {
        height: 50px;
    }

    .whatsapp {
        width: 100%;
        height: 80px;
    }

    .whatsapp a {
        height: 80px;
    }

    .whatsapp img {
        width: auto;
        height: 60%;
    }

    /* modal */
    .modal-dialog {
        max-width: 97%;
    }

    .modal-dialog {
        margin: 0.2rem auto;
        height: 90%;
    }

    .modal-header {
        padding: 1rem !important;
    }

    .m-c {
        flex-direction: column;
    }

    .lines {
        width: 100%;
        height: 2px;
    }

    .m-c-d {
        width: 100%;
        grid-template: auto 1fr 60px 2px auto 1fr 60px / auto;
        place-items: center;
    }

    .as1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .ast1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .pg1 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
    }

    .lines {
        grid-column: 1 / 2;
        grid-row: 4 / 5;
    }

    .as2 {
        grid-column: 1 / 2;
        grid-row: 5 / 6;
    }

    .ast2 {
        grid-column: 1 / 2;
        grid-row: 6 / 7;
    }

    .pg2 {
        grid-column: 1 / 2;
        grid-row: 7 / 8;
    }

    .pg {
        justify-self: flex-start;
        margin-left: 20px;
    }

    .m-c-d-f {
        width: 60%;
        margin-bottom: 25px;
    }

    .m-c-d-t h3 {
        margin: 15px 0;
    }

    .m-c-d-t {
        width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        position: relative;
    }

    .copy {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 400px) {
    .aside .wm {
        width: 80%;
        height: auto;
    }
}