* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Lato, Roboto, Arial, sans-serif;
  background-color: #fff;
  color: #000;
}


/* -------- HERO SECTION -------- */
.hero-section {
  background: #fafafa;
  color: white;
  padding: 10px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding-top: 140px; /* pushes text below navbar */
  padding-bottom: 100px;
}

.hero-content {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-content h1 {
  color: var(--Ultramar, #283c78);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 46px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.hero-content p {
  color: #000;
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* -------- RESPONSIVE HERO STYLES -------- */
@media (max-width: 768px) {
  section h1 {
    font-size: 28px !important;
  }
  section p {
    font-size: 16px !important;
  }
  section button {
    width: 100% !important;
    max-width: 320px !important;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 80px 20px 140px 20px !important;
  }
}


/* ===== FORM SECTION ===== */

.form-section {
  background-color: #283c78;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 40px 50px;
  max-width: 1000px;
  width: 100%;
  color: #4f5b6b;
  font-family: "Lato", Roboto, Arial, sans-serif;
}

.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 92px;
}

/* ===== FIELD GROUP ===== */

.field-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-family: Roboto, Lato, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.5px;
  color: #4f5b6b;
}

/* Required star */
.required {
  color: #d12c2c;
}

/* OPTIONAL BELOW INPUT */
.field-group.optional {
  position: relative;
}

.optional-label {
  font-size: 12px;
  color: #9aa4b8;
  margin-top: -2px;
  display: block;
}

/* LEFT + RIGHT COLUMN */
.form-left,
.form-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 0 0;
}

/* ===== INPUTS / TEXTAREA / SELECT ===== */

.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c7d0e2;
  border-radius: 6px;
  font-family: "Lato", Roboto, Arial, sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  color: #4f5b6b;
  background-color: #ffffff;
  height: 56px;
  box-sizing: border-box;
}

/* Textarea Bigger */
.demo-form textarea {
  resize: none;
  min-height: 128px;
  height: auto;
  line-height: 1.5;
}

/* FOCUS STATE */
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: #0073e6;
  box-shadow: 0 0 0 1px rgba(0, 115, 230, 0.35);
}

/* Placeholder color */
.demo-form input::placeholder,
.demo-form textarea::placeholder {
  color: #9aa4b8;
}

/* ===== DATE FIELD ===== */

.date-field {
  position: relative;
}

.date-field input[type="datetime-local"] {
  padding-right: 40px;
  accent-color: #0073e6;
}

/* ===== BUTTON ===== */

.demo-btn {
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  align-self: flex-end;
  display: flex;
  height: 52px;
  padding: 30px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: #0096d6;
  color: #fff;
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.demo-btn:hover {
  background-color: #005bb8;
  box-shadow: 0 4px 8px rgba(0, 115, 230, 0.3);
  transform: translateY(-1px);
}

.demo-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 115, 230, 0.2);
}

/* Honeypot */
.hp {
  position: absolute;
  left: -9999px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .demo-form {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .demo-btn {
    width: 100%;
    align-self: stretch;
  }
}

/* -------- MAP SECTION -------- */
.map-section {
  background-color: #fff;
  padding: 0;
  margin: 0;
  border-top: 4px solid #00aaff; /* blue border like in the image */
  border-bottom: 4px solid #00aaff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container {
  width: 100%;
}


/* ---------- Confirmation modal styles ---------- */
/* BACKDROP */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9996;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* MODAL BOX */
.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 92%;
  max-width: 520px;
  transform: translate(-50%, -50%) scale(0.97);
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 9997;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  display: flex;
  width: 657px;
  padding: 60px 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
}

.modal-content-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 36px;
}
.modal-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}
/* CONTENT */
.modal h2 {
  margin: auto;
  color: var(--Ultramar, #283c78);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.modal p {
  margin: auto;
  color: var(--Negro, #000);
  text-align: center;
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* OUTLINE BUTTON */
.btn-outline {
  background: transparent;
  cursor: pointer;
  display: flex;
  height: 52px;
  padding: 30px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid var(--Capri, #0096d6);
  color: var(--Capri, #0096d6);
  text-align: center;

  /* Body Text */
  font-family: Lato, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .modal,
  .modal-backdrop {
    transition: none;
  }
}

/* small screens tweak */
@media (max-width: 420px) {
  .modal {
    padding: 18px;
    border-radius: 12px;
  }
  .modal h2 {
    font-size: 18px;
  }
  .modal p {
    font-size: 13px;
  }
}
