/* =========================
   CONTENEDOR GENERAL
========================= */
.block-1 {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}

/* =========================
   TÍTULO SUPERIOR
========================= */
.form-title {
  background: linear-gradient(
    to right bottom,
    #5fc8f1 0%,
    #021566 70%,
    #021566 100%
  );
  color: #fff;
  text-align: center;
  padding: 30px 15px;
}

.form-title h1 {
  /*font-size: 28px;*/
  font-size: clamp(18px, 4vw, 28px); 
  font-weight: 400;
}

.form-title strong {
  /*font-size: 32px;*/
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
}

/* =========================
   LAYOUT 2 COLUMNAS
========================= */
.block-1-content {
  flex: 1;
  display: flex;
}

/* =========================
   COLUMNA IZQUIERDA (IMAGEN)
========================= */
.block-1-section-1 {
  position: relative;
  flex: 1;
  /*flex: 0 0 35%;*/
  overflow: hidden;
}

.image-background,
.image-background img {
  width: 100%;
  height: 100%;
}

.image-background img {
  object-fit: cover;
}

/* Overlay azul */
.blue-background {
  position: absolute;
  inset: 0;
  background-color: rgba(22, 77, 117, 0.5); /* 0 = completamente transparente */
  /*background: #164d75;
  /*background: linear-gradient(
    to bottom right,
    rgba(95, 200, 241, 0.6),
    rgba(2, 21, 102, 0.85)
  );*/
  z-index: 1;
}

/* Logo centrado */
.block-1-section-1-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-1-section-1-content img {
  width: 180px;
}

/* =========================
   COLUMNA DERECHA (FORM)
========================= */
.block-1-section-2 {
  flex: 1;
  /*flex: 0 0 65%;*/
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   FORMULARIO
========================= */
.contact-form {
  width: 100%;
  /*max-width: 600px;*/
  margin: clamp(12px, 3vw, 24px);
  /*margin: 15px 15px; /*vertical y horizontal*/
  padding: clamp(20px, 4vw, 40px);
  border-radius: clamp(16px, 4vw, 40px);
  background: #031b6b;
  color: white;
  box-sizing: border-box;

}

/*
.contact-form {
  width: 85%;
  max-width: 600px;
  background: #031b6b;
  padding: 40px;
  border-radius: 40px;
  color: white;
}
*/
/* =========================
   FORM ESTRUCTURA
========================= */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.form-group.full {
  flex: 100%;
}

/* =========================
   INPUTS
========================= */
.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 8px;
  border: none;
  outline: none;
  /*padding: 12px 15px;
  font-size: 14px;*/
  padding: clamp(10px, 2.5vw, 14px);
  font-size: clamp(13px, 2.5vw, 15px);
}

/* =========================
   BOTÓN
========================= */
.form-footer {
  display: flex;
  justify-content: flex-end;
}

.form-footer button {
  background: #1e6fd9;
  /*background: #021566;*/
  color: white;
  border: none;
  padding: 10px 35px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}


/* =========================
   RESPONSIVE
========================= */
/*editar si algo, este es el que hace que se ponga en columna en pantallas pequeñas
/*@media (max-width: 900px) {
  .block-1-content {
    flex-direction: column;
  }

  .block-1-section-1 {
    height: 300px;
  }

  .contact-form {
    width: 90%;
    margin: 30px 0;
  }
}*/