:root {
  --blue-main: #1f78b4;
  --blue-dark: #0a2540;
  --blue-soft: #eaf4fb;
  --dark-bg: #0b1d2d;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--blue-dark);
}

/* =====================
   HERO
===================== */
.page-hero {
  height: 320px;
  background: linear-gradient(
    rgba(10,37,64,.75),
    rgba(10,37,64,.75)
  ),
  url("/assets/banner1.png") center/cover no-repeat;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 18px;
  opacity: .9;
}

/* =====================
   FORMULARIO
===================== */
.contact-section {
  padding: 100px 20px;
  background: #fff;
}

.contact-container {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.contact-container h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-intro {
  font-size: 16px;
  color: #4b5f73;
  margin-bottom: 50px;
}

/* =====================
   FORM
===================== */
.contact-form {
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}

input,
select,
textarea {
  font-family: 'Poppins', sans-serif;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #dbe4ee;
  outline: none;
  transition: border .3s ease, box-shadow .3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-main);
  box-shadow: 0 0 0 3px rgba(31,120,180,.15);
}

textarea {
  resize: vertical;
}

/* =====================
   BOTÓN
===================== */
.contact-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
  box-shadow: 0 10px 30px rgba(31,120,180,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(31,120,180,.45);
}

/* =====================
   ANIMACIONES
===================== */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 34px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
