/* ESTILOS DE LA SECCI N DE CONTACTO (CARD) */
/* ======================================= */
/* DISEÑO MEJORADO SIN ROMPER LA ALINEACIÓN */
#formContactoForm button[type="submit"] {
  width: 200px;
  /* Lo hacemos más largo como pediste */
  height: 45px;
  /* Un poco más alto para que sea cómodo */
  background: #007bff;
  /* Color azul sólido (cámbialo si prefieres otro) */
  color: white;
  font-weight: bold;
  border: 1px solid #0056b3;
  border-radius: 4px;
  /* Bordes sutiles para que combine con tus inputs */
  cursor: pointer;
  transition: background 0.3s ease;

  /* ESTO ES LO IMPORTANTE: */
  display: inline-block;
  /* Mantiene la alineación original */
  margin-top: 15px;
  /* Solo espacio hacia arriba */
}

#formContactoForm button[type="submit"]:hover {
  background: #0056b3;
  /* Oscurece un poco al pasar el mouse */
}

#formContactoForm button[type="submit"]:disabled {
  background: #ccc;
  /* Gris cuando está enviando */
  cursor: not-allowed;
}

/* Nuevo fondo de la secci n (Reemplaza #formContacto.section) */
.section-contacto-bg {
  background-color: #f7f9fb;
  padding: 80px 0;
}

/* Estilo para Centrar el T tulo "Contacto" */
.titulo-contacto {
  text-align: center;
  font-size: 28px !important;
  margin-bottom: 30px;
  font-weight: bold;
}

/* Estilo de la Tarjeta (Card) que envuelve las 3 columnas */
.contact-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
  /* Centrado Horizontal */
  position: relative;
  z-index: 1;
}

/* ======================================= */
/* LAYOUT DE 3 COLUMNAS (FLEXBOX) */
/* ======================================= */

/* Flexbox: Distribuci n de 3 columnas (1 - 2 - 1) */
.contact-layout-3col {
  display: flex;
  gap: 30px;
  align-items: center;
  /* Centrado Vertical entre las 3 columnas */
}

/* Estilo de las Columnas Laterales (Izquierda/Derecha) */
.contact-info-left,
.contact-info-right {
  flex: 1;
  padding: 20px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* Estilo de la Columna Central (Formulario) */
.contact-form-center {
  flex: 2;
  padding: 20px 15px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

/* ======================================= */
/* ESTILOS INTERNOS DE TEXTO Y FORMULARIO */
/* ======================================= */

/* Estilos de la informaci n lateral */
.contact-info-left h3,
.contact-info-right h3 {
  font-size: 18px;
  color: #333;
  border-bottom: 2px solid #D9FDD3;
  padding-bottom: 5px;
  margin-bottom: 15px;
  margin-top: 0;
}

.contact-info-left p,
.contact-info-right p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.promise-highlight {
  font-weight: bold;
  color: #008000;
  background-color: #e8fff0;
  padding: 8px 12px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 15px;
}

/* ---  CLAVE! HACE LOS CAMPOS M S ANCHOS --- */
/* Asegura que los inputs y textarea ocupen el 100% de la columna central */
.contact-form-center input[type="text"],
.contact-form-center input[type="email"],
.contact-form-center textarea {
  width: 100% !important;
  height: 40px !important;
  padding: 10px !important;
  margin-bottom: 18px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px !important;
  background-color: #fff !important;
  /* Fondo blanco para mejor legibilidad */
}

.contact-form-center textarea {
  height: 120px !important;
  resize: vertical;
}

/* Ajuste de alineaci n para etiquetas (opcional si lo necesitas) */
#formContactoForm label {
  text-align: left;
}














/******************* LAPTOPS (992px - 1199px) ****************/

@media screen and (min-width: 992px) and (max-width: 1199px) {

  /* TARJETA DE CONTACTO */
  .contact-card {
    width: 90% !important;
    padding: 35px !important;
  }

  /* LAYOUT DE 3 COLUMNAS */
  .contact-layout-3col {
    display: flex !important;
    flex-direction: row !important;
    /* De lado, no apilado */
    gap: 25px !important;
  }

  /* FORMULARIO CENTRAL ANCHO */
  .contact-form-center {
    flex: 3 !important;
    padding: 0 20px !important;
    border-left: 1px solid #eee !important;
    border-right: 1px solid #eee !important;
  }

  /* CAMPOS LARGOS */
  .contact-form-center input,
  .contact-form-center textarea {
    width: 100% !important;
    height: 48px !important;
    margin-bottom: 20px !important;
  }

  /* ALTURA DE MENSAJE TIPO PC */
  .contact-form-center textarea {
    height: 180px !important;
  }

  /* BOTÓN PROPORCIONAL */
  #formContactoForm button[type="submit"] {
    width: 250px !important;
    height: 50px !important;
  }
}








/* ======================================= */
/* AJUSTES PARA DISPOSITIVOS M VILES */
/* ======================================= */

@media (max-width: 992px) {
  .contact-layout-3col {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form-center {
    border-left: none;
    border-right: none;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .contact-info-left,
  .contact-info-right {
    text-align: left;
    padding: 0;
    display: block;
    height: auto;
  }
}




















/****************@MEDIA FORMULARIO DE CONTACTOS PARA CELULAR*************/
@media screen and (min-width: 768px) and (max-width: 991px) {

  /* 1. DISEÑO VERTICAL PARA MÁS ANCHO */
  .contact-layout-3col {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* 2. FORMULARIO AL 100% DE ANCHO */
  .contact-form-center {
    width: 100% !important;
    flex: none !important;
    border: none !important;
    /* Quitamos bordes laterales para ganar espacio */
    padding: 10px 0 !important;
  }

  /* 3. INPUTS LARGOS Y CÓMODOS */
  .contact-form-center input[type="text"],
  .contact-form-center input[type="email"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    /* Altura ideal para el tacto */
    font-size: 16px !important;
    margin-bottom: 25px !important;
    padding: 12px !important;
    border-radius: 8px !important;
  }

  /* 4. MENSAJE ALTO (COMO EN PC) */
  .contact-form-center textarea {
    width: 100% !important;
    max-width: 100% !important;
    height: 120px !important;
    /* Altura incrementada para mayor comodidad */
    font-size: 16px !important;
    margin-bottom: 30px !important;
    /* Más aire antes del botón */
    padding: 15px !important;
    border-radius: 8px !important;
    resize: none !important;
  }

  /* 5. SECCIONES DE INFORMACIÓN */
  .contact-info-left,
  .contact-info-right {
    width: 100% !important;
    flex: none !important;
    text-align: center !important;
    padding: 15px 0 !important;
  }

  /* 6. BOTÓN ENVIAR ROBUSTO */
  #formContactoForm button[type="submit"] {
    width: 40% !important;
    height: 55px !important;
    font-size: 18px !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
    display: block !important;
  }

  /* Ajuste de títulos internos */
  .contact-info-left h3,
  .contact-info-right h3 {
    margin-top: 5px !important;
    margin-bottom: 15px !important;
  }
}