/* CONTENEDOR PRINCIPAL */
.container.contact-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 10%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* TÍTULO */
.container.contact-grid h1 {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: #000;
}

/* SECCIÓN DE DATOS DE CONTACTO */
.contact-data {
  display: flex;
  justify-content: center;
  gap: 50px;
  font-size: 18px;
  color: #333;
}

.contact-data p {
  margin: 0;
}

.contact-form .form textarea {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  resize: vertical; /* permite ajustar altura */
}
/* FORMULARIO */
.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #f4f4f5;
  padding: 30px 20px;
  border-radius: 10px;
}

.form-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.form-input,
.form-textarea {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.form-textarea {
  resize: vertical;
}

.form-btn {
  padding: 12px;
  font-size: 16px;
  background-color: #0185C8;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-btn:hover {
  background-color: #517ac4;
}

.form-message {
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
  .contact-data {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .container.contact-grid h1 {
    font-size: 40px;
  }
}

/* RESPONSIVE MÓVIL */
@media (max-width: 600px) {
  .container.contact-grid {
    padding: 40px 5%;
    gap: 20px;
  }

  .contact-data {
    flex-direction: column;
    gap: 15px;
    font-size: 16px;
  }

  .container.contact-grid h1 {
    font-size: 32px;
  }

  .form-title {
    font-size: 24px;
  }

  .form-input,
  .form-textarea,
  .form-btn {
    font-size: 14px;
  }
}
