@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Poppins:ital,wght@0,400;0,600;0,800;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Poppins:ital,wght@0,400;0,600;0,800;1,700&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    background-color: #f2f2f2;
}


.contact-section {
    margin: 0;
    padding: 0;
}

.contact-bg {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../../../img/bg2.jpg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    color: #e1e2e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}



.contact-bg .contact-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-top: 300px;
}
.contact-bg .contact-subtitle {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    padding: 0.8rem 0;
    margin: 0.2rem 0;
    letter-spacing: 4px;
    color: #f2f2f2;
}

@media (max-width: 768px) {
    .contact-bg .contact-subtitle {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }
    
    .contact-bg .contact-title {
        font-size: 1.1rem;
    }
}
.line div{
    margin: 0 0.2rem;
}
.line div:nth-child(1),
.line div:nth-child(3){
    height: 3px;
    width: 70px;
    background: #ff4e00;
    border-radius: 5px;
}
.line{
    display: flex;
    align-items: center;
}
.line div:nth-child(2){
    width: 10px;
    height: 10px;
    background: #ff4e00;
    border-radius: 50%;
}

.text{
    font-weight: 300;
    font-size: 18PX;
    opacity: 0.9;

}
.contact-bg .header-text{
    margin: 1rem 0;
    margin-bottom: 10rem;
}
.contact-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    width: 100%;
}
.contact-info{
    margin: 2rem 0;
    text-align: center;
    padding: 2rem 0;
}
.contact-info{
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    
}
.contact-info .info-stats{
    display: block;
}
.contact-info .info{
    margin: 0.8rem 0;
    padding: 1rem;
}
.contact-info .info-stats .fas{
    font-size: 2rem;
    padding-bottom: 0.9rem;
    color: #ff4e00;
}
.contact-info .info .info-stats:nth-child(2){
    font-weight: 500;
    font-size: 1.1rem;
}
.contact-info .text{
    padding-top: 0.2rem;
}
.contact-form{
    padding: 2rem 0;
    border-top: 1px solid #c7c7c7;
}
.contact-form form{
    padding-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    /*grid-template-columns: repeat(1fr, 1fr);*/
    grid-template-rows: repeat(2, auto);
    
}

#grupo__asunto {
    grid-column: span 2;
}




.file-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin-top: 1em;
}

.file-label .file-input {
  position: absolute;
  opacity: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.file-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff4e00;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin-bottom: 0.3em;
  transition: background 0.2s;
}

.file-btn i {
  color: #fff;
  font-size: 1.3em;
  pointer-events: none;
}

.file-label .file-text {
  font-size: 0.85em;
  color: #888;
  opacity: 0.7;
  margin-top: 0.2em;
  text-align: center;
}
.file-name {
  font-size: 0.85em;
  color: #444;
  opacity: 0.8;
  margin-top: 0.2em;
  text-align: center;
  word-break: break-all;
}


.contact-form form {
    display: grid;

    gap: 2rem;

}
.formulario__label{
display: block;
font-weight:600;
cursor: pointer;
margin-bottom: 0.5rem;
color: #333;
}

.formulario__grupo-input{
    position: relative;
}

.formulario__input{
    width: 90%;
   background: #fff;
   border: 3px solid transparent;
   border-radius: 15px;
   border: 2px dashed #ff4e00;
   height: 60px;
   line-height:45px;
   padding: 0 25px 0 10px;
   transition: .3s ease all;
}

.formulario__input:focus{
    border:3px solid #ff4e00;
    outline: none;
    box-shadow: 3px 0px 30px rgba(163, 163, 163, 0.4);
}

.formulario__input-error{
    font-size: 14px;
    margin-bottom: 0;
    display: none;
}

.formulario__input-error-activo{
    display: block;
}

.formulario__validacion-estado{
    position: absolute;
    right: 40px;
    top: 50%;
    z-index: 100;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0;

}


.formulario__mensaje,
.formulario__grupo-btn-enviar{
    grid-column: span 2;

}

.formulario__mensaje{
    height: 45px;
    line-height: 45px;
    background-color: #ff0000;
    padding: 0 15px;
    border-radius: 3px;
    display: none;
}

.formulario__mensaje-activo{
    display: block;
}

.formulario__grupo-btn-enviar{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.formulario__btn{
    height: 45px;
    line-height: 45px;
    width: 70%;
    background:#ff4e00;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 20PX;
    cursor: pointer;
    transition: .2s ease all;
}

.formulario__btn:hover{
    background: #f88250;
    box-shadow: 0px 0px 10px rgba(255, 78, 0, 0.4);
}


.contact-form textarea,
.formulario__grupo-input textarea {
    width: 90%;
    min-height: 100px;
    max-height: 220px;
    background: #fff;
    border: 3px solid transparent;
    border-radius: 20px;
    padding: 10px 25px 10px 10px;
    font-size: 1rem;
    color: #333;
    resize: vertical;
    transition: .3s ease all;
    border: 2px dashed #ff4e00;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
}

.contact-form textarea:focus,
.formulario__grupo-input textarea:focus {
    border: 3px solid #ff4e00;
    outline: none;
    box-shadow: 3px 0px 30px rgba(163, 163, 163, 0.2);
}


.formulario__mensaje-exito{
    font-size: 16px;
    color: #119200;
    margin-top: 10px;
    display: none;
}

.formulario__mensaje-exito-activo{
    display: block;
}

.formulario__grupo-correcto .formulario__validacion-estado{
    color: #1ed12d;
    opacity: 1;
}

.formulario__grupo-incorrecto .formulario__label{
    color:#ff0000;
}

.formulario__grupo-incorrecto .formulario__validacion-estado{
    color:#ff0000;
    opacity: 1;
}

.formulario__grupo-incorrecto .formulario__input{
    border:3px solid #ff0000;
}



.send-btn:hover{
    opacity: 0.8;
}
.contact-form > div img{
    width: 100%;
}
.contact-form > div{
    margin: 0 auto;
    text-align: center;
}


.social-links a{
    text-decoration: none;
    width: 50px;
    height: 50px;
    color: #fff;
    background: linear-gradient(135deg, #ff4e00, #ff7733);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 78, 0, 0.3);
}

@media screen and (max-width: 767px) {
    .contact-body {
        flex-direction: column;
        gap: 1.5rem;
    }
    .contact-form > div img {
        display: none;
    }
    .contact-form,
    .contact-info {
        max-width: 100%;
        padding: 1rem 0.5rem;
    }
    .contact-form form {
        display: block !important;
        width: 100%;
    }
}

@media screen and (min-width: 768px){
    .contact-bg .text{
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    .contact-info{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-form{
        grid-template-columns: 1fr;
    }
    

    
}

@media screen and (min-width: 992px){
    .contact-bg .text{
        width: 30%;
        margin-bottom: 4rem;
    }
    .contact-form{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }
}

@media screen and (min-width: 1200px){
    .contact-info{
        grid-template-columns: repeat(4, 1fr);
    }
}