.wrap-contac-section {
    width: 100%;
    overflow: hidden;
}

.contac-section {
    box-sizing: border-box;
    margin: 0px auto 0px auto;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width:1350px) {
    .contac-section {
        max-width: 1351px;
    }
}

@media (max-width: 1000px) {
    .contac-section {
        width: auto;
    }
}
/***********************************************/
/*                Seccion 1                    */
/***********************************************/
.wrap-contac-section-header-form {
    background-color: transparent;
    padding-top: 20px;
    padding-bottom: 20px;
}

.contac-section-header-form {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.contac-section-header-form article {
    z-index: 11;
}

.contac-section-header-form p {
    text-align: center;
    font-family: 'textm', serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: clamp(10pt, 1vw + 1rem, 18pt);
    color: #222222;
}

.contac-section-header-form .overlay {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-image: url(../img/F1.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    opacity: .2;
    box-shadow: 120px 0px 80px #fefefe inset,
                -120px 0px 80px #fefefe inset;
}
/*********************************************************/
/*                   Informacion de contacto             */
/*********************************************************/
.wrap-contac-section-info {
    background-color: transparent;
    padding-top: 60px;
    padding-bottom: 60px;
}

.contac-section-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding-left: 10px;
    padding-right: 10px;
}

.contac-section-info .col {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
}

/* .contac-section-info img {
    width: 25px;
    height: auto;
    opacity: .8;
    pointer-events: none;
} */

.contac-section figure {
    display: flex;
    justify-content: center;
    align-items: center;
}   

.contac-section i {
    font-size: 22pt;
    text-shadow: 3px 3px 1px rgb(0,0,153,.2);
}

.contac-section-info figure,
.contac-section-info article,
.contac-section-info h5,
.contac-section-info span {
    margin: 0;
    padding: 0;
}

.contac-section-info .col h5 {
    text-transform: uppercase;
    font-family: 'headm', serif;
    font-weight: 400;
    color: rgb(0,0,153,.5);
}

.contac-section-info .col span {
    font-family: 'textt', serif;
    font-weight: 400;
    font-size: 11pt;
    color: #000000;
}
@media (max-width:800px) {
    .contac-section-info {
        display: block;
    }

    .contac-section-info .col {
        margin: 20px auto;
        width: 60%;
    }
}
/*******************************************************/
/*               Formulario de contacto                */
/*******************************************************/
.wrap-contac-section-form {
    background-color: transparent;
    padding-bottom: 40px;
}

.contac-section-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contac-section-form form {
    /* background-color: thistle; */
    width: auto;
}

.contac-section-form form .wrap-all-inputs {
    display: flex;
    gap: 0ppx;
    justify-content: center;
    align-items:start;
}

.contac-section-form form .wrap-all-inputs .group1 input:focus {
    outline: none;
}

.contac-section-form .wrap-all-inputs .group1 {
    /* background-color: wheat; */
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px;
}

.contac-section-form .wrap-all-inputs .group2 {
    /* background-color:tan; */
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px;
}

.contac-section-form form .wrap-all-inputs .group1 input {
    width: 400px;
    margin: 4px 0px 4px 0px;
    font-family: 'textt', serif;
    font-weight: 400;
    font-size: 12pt;
    color: rgb(0,0,153);
    padding: 10px;
    border: none;
    border-radius: 10px;
    background-color: rgb(0,0,153,.1);
}

.contac-section-form form .wrap-all-inputs .group1 input::placeholder {
    color: rgb(0,0,153,.8);
}

.contac-section-form form .wrap-all-inputs .group1 select {
    cursor: pointer;
    width: auto;
    margin: 1px 10px 1px 0px;
    font-family: 'textt', serif;
    font-weight: 400;
    font-size: 12pt;
    color: rgb(0,0,153);
    padding: 10px 10px 10px 10px;
    border: none;
    border-radius: 10px;
    background-color: rgb(0,0,153,.1);
}

.contac-section-form form .wrap-all-inputs .group1 select option {
    background-color: rgb(255,255,255);
    color: rgb(0,0,153,.8);
}

.contac-section-form form .wrap-all-inputs .group2 textarea:focus {
    outline: none;
}

.contac-section-form form .wrap-all-inputs .group2 textarea {
    resize: none;
    width: 400px;
    height: 120px;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-family: 'textt', serif;
    font-weight: 400;
    font-size: 12pt;
    color: rgb(0,0,153);
    background-color: rgb(0,0,153,.1);
    margin-top: 10px;
}

.contac-section-form form .wrap-all-inputs .group2 textarea::placeholder {
    color: rgb(0,0,153,.8);
}

.contac-section-form form .wrap-button {
    width: 100%;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    /* background-color: violet; */
}

.contac-section-form form button {
    background-color: rgb(0,0,153);
    color: rgb(254, 254, 254);
    margin-right: 10px;
    float: right;
    padding: 15px 20px;
    font-family: 'textt', serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 10pt;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: right;
    transition: .5s all;
}

.contac-section-form form button:hover {
    transform: translateY(-3px);
    box-shadow: 0px 4px 10px rgb(0,0,0,.5);
}

@media (max-width:880px) {
    .contac-section-form form .wrap-all-inputs {
        display: block;
    }

    .contac-section-form .wrap-all-inputs .group1 {
        width: auto;
    }

    .contac-section-form .wrap-all-inputs .group2 {
        width: auto;
    }
}

@media (max-width:438px) {
    .contac-section form {
        width: 100%;
    }

    .contac-section form .wrap-all-inputs .group1 input {
        width: 95%;
    }

    .contac-section form .wrap-all-inputs .group1 select {
        width: 95%;
    }

    .contac-section form .wrap-all-inputs .group2 textarea {
        width: 95%;
    }
}

.contac-section-form form .wrap-all-inputs .error {
    color: rgb(255, 165, 0);
    font-size: 10pt;
    display: block;
    margin-top: 1px;
    margin-bottom: 2px;
    font-family: 'textt', serif;
    font-optical-sizing: auto;
    font-weight: 600;
}

.loading {
    margin-top: 10px;
    font-family: 'textt', serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 9pt;
    color: #222222;
    font-size: 12pt;
    background: #dddddd;
    padding: 8px;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading::after {
    content: "⏳";
    margin-left: 5px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#formMessage {
    margin-top: 10px;
    font-family: 'textt', serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #222222;
    font-size: 10pt;
}

.success-message {
    background: #6EC588;
    color: #fefefe;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin: 0px 0px 5px 0px;
}

.error-message {
    color: red;
    background: #fefefe;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}


.contac-section-form form a {
    text-decoration: none;
    font-family: 'textm', serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 10pt;
    color: #666666;
    margin-top: 5px;
}

.contac-section-form form a b {
    color: rgb(0,0,153);
}
/*******************************************************/
/*                     seccion-Mapa                    */
/*******************************************************/
.wrap-contac-section-map {
    background-color:transparent;
}

.contac-section-map {
    padding: 20px;
}

.contac-section-map iframe {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgb(0,0,0,.5);
}
/*******************************************************/
/*                     Partners                        */
/*******************************************************/
.wrap-contac-section-partners {
    background-color: rgb(6, 9, 34);
  }
  
  .contac-section-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
  
  .contac-section-partners .partner {
    width: 180px;
    display: block;
    padding: 0px;
  }
  
  .contac-section-partener .partner img {
    width: 100%;
    filter: drop-shadow(5px 5px 1px rgb(0,0,0,.1));
  }

  @media (max-width:1050px) {
    .contac-section-header-form {
        padding: 0px 20px;
    }
  }