/*---------------------------------------
*        PAGINA CONTACTANOS
*----------------------------------------
*/
@media (min-width:768px) {
   .contactanos-section ._barra-busqueda {
      height: 80px;
      position: sticky;
      top: 0;
   }
   .contactanos-section ._barra-busqueda .search-container {
      bottom: 0;
   }
}
.contactanos {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
}
.contactanos .title {
   padding: 40px 0;
}
.contactanos h2 {
   text-align: center;
   font-size: 30px;
   font-weight: bold;
   padding: 20px 0;
}

.contactanos p {
   text-align: justify;
}

/*FORMULARIO*/
.formulario {
   margin-bottom: 40px;
}

.form-container {
   background: #ffffff;
   border: 1px solid #ccc;
   border-radius: 8px;
   padding: 20px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.buttons {
   display: flex;
   justify-content: center;
   margin-bottom: 20px;
}

.buttons button {
   background: #f5f5f5;
   border: 1px solid #ccc;
   border-radius: 4px;
   padding: 10px 20px;
   cursor: pointer;
   font-size: 14px;
   margin: 0 5px;
   transition: background 0.3s, color 0.3s;
}

.buttons button.active {
   background: #444;
   color: #fff;
}

.buttons button:hover {
   background: #ddd;
}

@media (min-width: 500px) {
   .form-container {
      width: 600px;
   }
   .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 15px;
   }
}


.form-group {
   display: flex;
   flex-direction: column;
}

.form-group.full-width {
   grid-column: span 2;
}

.form-group label {
   font-weight: bold;
   margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
   width: 100%;
   padding: 8px;
   border: 1px solid #ccc;
   border-radius: 4px;
   font-size: 14px;
   box-sizing: border-box;
}

textarea {
   resize: vertical;
   min-height: 80px;
}

.submit-button {
   background: #d9534f;
   border: none;
   color: #fff;
   padding: 10px;
   font-size: 16px;
   border-radius: 4px;
   cursor: pointer;
   width: 100%;
   margin-top: 20px;
   transition: background 0.3s;
}

.submit-button:hover {
   background: #c9302c;
}

.hidden-form {
   display: none;
}

.active-form {
   display: block;
}


.contactanos-whatsapp {
   margin-top: 30px;
   height: 50px;
   display: flex;
   justify-content: center;
   align-items: center;
}

.contactanos-whatsapp img {
   width: 100%;
}
