/* Reset y utilidades */
.hidden { display: none !important; }
@font-face {
  font-family: 'Brand';
  src: url('../fonts/BRAND.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* Contact Intro */
.contact-intro {
  padding: 1rem;
  text-align: center;
}
.contact-intro__title {
  font-family: 'Brand', cursive;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.contact-intro__text {
  font-family: 'Gotu', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.contact-intro__divider {
  width: 70px;
  height: 1px;
  background: #e0e0e0;
  border: none;
  margin: 0 auto;
}

/* Formulario */
.contact-form {
  background: #fff;
  padding: 2rem 1rem;
}
.contact-form__container {
  max-width: 600px;
  margin: 0 auto;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form__input {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}
.contact-form__input:focus {
  outline: none;
  border-color: #b69856;
}
/* Indicadores de validación */
.contact-form__input.touched.invalid {
  border-color: #f44336;
}
.contact-form__input.touched.valid {
  border-color: #4caf50;
}
/* Mensajes de error */
.contact-form__error {
  font-size: 0.85rem;
  color: #f44336;
  margin-top: -0.5rem;
  display: none;
}
.contact-form__error.visible {
  display: block;
}
/* Botón enviar */
.contact-form__submit {
  background-color: #b69856;
  color: #fafafa;
  border: none;
  border-radius: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s;
}
.contact-form__submit:hover {
  background-color: #a3874a;
}
@media (min-width: 768px) {
  .contact-form__submit {
    align-self: center;
  }
}

/* Éxito */
.contact-success {
  background: #fff;
  padding: 2rem 1rem 4rem;
  text-align: center;
}
.contact-success__container h2 {
  font-family: 'Lexend', sans-serif;
  font-size: 2rem;
  color: #2e2e2e;
  margin: 2rem 0rem;
}
.contact-success__container p {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;
  color: #555;
  padding-bottom: 1rem;
}

/* Contacto alternativo: mantiene tus estilos previos */

.contact-alt {
  background: #fafafa;
  padding: 2rem 1rem;
  text-align: center;
}
.contact-alt__container {
  max-width: 600px;
  margin: 0 auto;
}
.contact-alt__title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 3.5rem;
  margin-top: 2rem;
}
.contact-alt__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
/* Botón común */
.contact-alt__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
  max-width: 360px;
  justify-content: center;}
/* Iconos */
.contact-alt__icon {
  flex-shrink: 0;
  width: 1rem;
  height: auto;}
/* 2. Botón Teléfono */
.contact-alt__btn--phone {
  background: #fff;
  color: #000;
  border: 2px solid #b69856;
  margin-bottom: 1rem;}
.contact-alt__btn--phone:hover {
  background: #b69856;
  color: #fff;}
/* 3. Botón WhatsApp */
.contact-alt__btn--whatsapp {
  background: #25D366;
  color: #fff;
  border: 2px solid #25D366;
  margin-bottom: 1rem;}
.contact-alt__btn--whatsapp:hover {
  background: #1ebe5c;
  border-color: #1ebe5c;
}
/* 4. Botón Email */
.contact-alt__btn--email {
  background: transparent;
  color: #333;
  border: 2px solid #333;
  margin-bottom: 1rem;}
.contact-alt__btn--email:hover {
  background: #333;
  color: #fff;}
/* Responsive: botones en fila en pantallas mayores */
@media (min-width: 768px) {
  .contact-alt__buttons {
    flex-direction: row;
  }
}