/* =========================================================
   Enquiry / contact forms  (shared by every page with a form)
   Loaded after bootstrap.css.
   ========================================================= */

/* hero text column fills its grid column (old CSS fixed it at 640px) */
.herotext {
  width: auto;
  max-width: 100%;
}

/* ---------- Hero enquiry form: yellow header + simple fields ---------- */
.lr-form {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0, 20, 45, 0.3);
  overflow: hidden;
}

.lr-form-head {
  background: #ffcc00;
  padding: 22px 24px;
  text-align: center;
}

.lr-form-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: #003566;
}

.lr-form form {
  padding: 32px 32px 34px;
  margin: 0;
}

.lr-form form input[type="text"],
.lr-form form input[type="email"],
.lr-form form input[type="tel"] {
  display: block;
  width: 100%;
  height: 54px;
  margin: 0 0 18px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 16px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lr-form form input::placeholder {
  color: #7b8796;
}

.lr-form form input:focus {
  outline: none;
  background: #ffffff;
  border-color: #003566;
  box-shadow: 0 0 0 3px rgba(0, 53, 102, 0.12);
}

/* ---------- Submit button ---------- */
.lr-submit {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 6px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  background: #003566;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lr-submit:hover,
.lr-submit:focus {
  color: #ffffff;
  background: #002855;
  outline: none;
}

.lr-submit:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.6);
}

.lr-submit i {
  margin-left: 8px;
}

/* ---------- Contact page form (labels + message box) ---------- */
.lr-field {
  margin-bottom: 18px;
}

.lr-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.lr-input {
  position: relative;
}

.lr-input > i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.lr-input.lr-textarea > i {
  top: 18px;
  transform: none;
}

.lr-field input,
.lr-field textarea {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px 0 48px;
  font-family: inherit;
  font-size: 16px;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lr-field textarea {
  height: auto;
  min-height: 140px;
  padding: 14px 16px 14px 48px;
  resize: vertical;
}

.lr-field input:focus,
.lr-field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #003566;
  box-shadow: 0 0 0 3px rgba(0, 53, 102, 0.12);
}

.lr-input:focus-within > i {
  color: #003566;
}

.lr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.lr-form-wide .lr-submit {
  width: auto;
  min-width: 240px;
}

/* ---------- Small screens ---------- */
@media (max-width: 991.98px) {
  .lr-form form {
    padding: 26px 24px 28px;
  }
}

@media (max-width: 767.98px) {
  .lr-form {
    margin-top: 28px;
  }

  .lr-form-head h2 {
    font-size: 20px;
  }

  .lr-form form {
    padding: 22px 20px 24px;
  }

  .lr-form form input[type="text"],
  .lr-form form input[type="email"],
  .lr-form form input[type="tel"] {
    height: 50px;
    margin-bottom: 14px;
  }

  .lr-row {
    grid-template-columns: 1fr;
  }

  .lr-form-wide .lr-submit {
    width: 100%;
  }
}
