/*
 * The reference site's own stylesheets (public/assets/css/*) are the design specification and are
 * linked from the root layout. Tailwind's preflight is NOT imported because it would reset them.
 * Only the lead-capture forms are restyled below (brand: gold #b19777, ink #1e1e1e).
 */

/* ---------- shared lead form ---------- */
.lead-form__title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 6px;
}
.lead-form__sub {
  font-size: 14px;
  line-height: 1.5;
  color: #6b6b6b;
  margin: 0 0 22px;
}

form.lead-form .postbox__comment-input,
form.lead-form .form-group {
  margin-bottom: 14px;
}
form.lead-form input,
form.lead-form select,
form.lead-form textarea {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
  color: #1e1e1e;
  background: #fff;
  border: 1.5px solid #e2ddd5;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
form.lead-form textarea {
  height: 110px;
  padding: 14px 16px;
  resize: none;
}
form.lead-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b19777' stroke-width='2'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
}
form.lead-form select:invalid,
form.lead-form select:has(option[value=""]:checked) {
  color: #8a8a8a;
}
form.lead-form input::placeholder,
form.lead-form textarea::placeholder {
  color: #8a8a8a;
  opacity: 1;
}
form.lead-form input:hover,
form.lead-form select:hover,
form.lead-form textarea:hover {
  border-color: #cfc3b1;
}
form.lead-form input:focus,
form.lead-form select:focus,
form.lead-form textarea:focus {
  border-color: #b19777;
  box-shadow: 0 0 0 3px rgba(177, 151, 119, 0.22);
}
form.lead-form input:user-invalid,
form.lead-form textarea:user-invalid {
  border-color: #d9534f;
}

.lead-form__submit {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 15px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: #fff;
  background: #b19777;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(177, 151, 119, 0.9);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.lead-form__submit:hover {
  background: #1e1e1e;
  transform: translateY(-1px);
}
.lead-form__submit:focus-visible {
  outline: 3px solid rgba(177, 151, 119, 0.5);
  outline-offset: 2px;
}
.lead-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.lead-form__trust {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: #8a8a8a;
}

form.lead-form .alert {
  position: relative;
  margin-bottom: 16px;
  padding: 12px 40px 12px 16px;
  font-size: 14px;
  border: 0;
  border-radius: 8px;
}
form.lead-form .alert-success {
  background: #e8f5ec;
  color: #1c6b3a;
}
form.lead-form .alert-danger {
  background: #fdecea;
  color: #a12622;
}
form.lead-form .alert .close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: 0;
  font-size: 20px;
  line-height: 1;
  color: inherit;
  cursor: pointer;
}

/* ---------- modals ---------- */
.lead-modal .modal-content {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.45);
}
.lead-modal .modal-content > button.close {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f0ea;
  color: #1e1e1e;
  font-size: 22px;
  z-index: 5;
  transition: background 0.2s, color 0.2s;
}
.lead-modal .modal-content > button.close:hover {
  background: #b19777;
  color: #fff;
}
.lead-modal .lead-modal__body {
  background: #fff;
  padding: 38px 34px 28px;
}
.lead-modal .lead-modal__aside {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 0;
  background-size: cover;
  background-position: center;
}
.lead-modal .lead-modal__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 10, 0.25) 0%, rgba(20, 16, 10, 0.85) 100%);
}
.lead-modal__aside-inner {
  position: relative;
  align-self: flex-end;
  padding: 30px 26px;
  color: #fff;
}
.lead-modal__aside-inner h3 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 14px;
}
.lead-modal__aside-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lead-modal__aside-inner li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
}
.lead-modal__aside-inner li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #d9c3a3;
  font-weight: 700;
}
.lead-modal .modal-dialog.modal-lg {
  max-width: 880px;
}
@media (max-width: 767px) {
  .lead-modal .lead-modal__body {
    padding: 34px 20px 22px;
  }
  .lead-modal .lead-form__title {
    font-size: 22px;
    padding-right: 30px;
  }
}

/* ---------- contact page ---------- */
.contact .form form.lead-form {
  max-width: 560px;
}
.contact .form .lead-form__title,
.contact .form .lead-form__sub {
  max-width: 560px;
}
.contact .form .lead-form__title {
  font-size: 30px;
}

/* ---------- homepage "Get In Touch" ---------- */
.cont-map .contact-form form.lead-form {
  padding: 44px 34px;
  border-width: 0;
  border-radius: 14px;
  box-shadow: 0 25px 60px -20px rgba(0, 0, 0, 0.3);
}
.cont-map .contact-form form.lead-form input,
.cont-map .contact-form form.lead-form textarea {
  padding: 0 16px;
  background: #fff;
  border: 1.5px solid #e2ddd5;
}
.cont-map .contact-form form.lead-form textarea {
  height: 110px;
  padding: 14px 16px;
}
@media (max-width: 991px) {
  .cont-map .contact-form form.lead-form {
    top: 0;
    right: 0;
    padding: 32px 20px;
  }
}

/* ================= polish + mobile ================= */
.lead-form__group {
  margin: 4px 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a6f4d;
}
.lead-form__perks {
  display: none;
  flex-wrap: wrap;
  gap: 6px 12px;
  list-style: none;
  margin: -8px 0 18px;
  padding: 0;
  font-size: 12px;
  color: #6b5a42;
}
.lead-form__perks li::before {
  content: "✓ ";
  color: #b19777;
  font-weight: 700;
}

/* submit loading spinner */
.lead-form__submit:disabled::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  animation: lead-spin 0.7s linear infinite;
}
@keyframes lead-spin {
  to {
    transform: rotate(360deg);
  }
}

/* modal entrance */
.lead-modal.fade .modal-dialog {
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s ease-out;
}
.lead-modal.show .modal-dialog {
  transform: none;
}

/* native date/time pickers match other fields */
form.lead-form input[type="date"],
form.lead-form input[type="time"] {
  min-width: 0;
}

/* ---- tablet/mobile ---- */
@media (max-width: 767px) {
  .lead-form__perks {
    display: flex;
  }
  .lead-modal .modal-dialog {
    margin: 10px;
    max-width: none;
    min-height: calc(100% - 20px);
  }
  .lead-modal .modal-content {
    border-radius: 16px;
  }
  .lead-modal .lead-modal__body {
    padding: 28px 18px 22px;
  }
  .lead-form__title {
    font-size: 22px;
    padding-right: 36px;
  }
  .lead-form__sub {
    font-size: 13px;
    margin-bottom: 16px;
  }
  /* 16px stops iOS Safari zooming on focus; 48px = comfortable touch target */
  form.lead-form input,
  form.lead-form select,
  form.lead-form textarea {
    height: 48px;
    font-size: 16px;
  }
  form.lead-form textarea {
    height: 100px;
  }
  form.lead-form .row {
    margin-left: -6px;
    margin-right: -6px;
  }
  form.lead-form .row > [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
  }
  .lead-form__submit {
    padding: 16px 20px;
    font-size: 16px;
  }
  /* contact page: map above form, form padding trimmed */
  .contact .form {
    padding: 40px 18px 50px;
  }
  .contact .form .lead-form__title {
    font-size: 24px;
  }
  .contact .form form.lead-form,
  .contact .form .lead-form__title,
  .contact .form .lead-form__sub {
    max-width: none;
  }
  .cont-map .contact-form form.lead-form {
    padding: 28px 18px;
    border-radius: 14px;
  }
}

/* two-up fields only from 380px: very narrow phones get one column */
@media (max-width: 379px) {
  .lead-modal .lead-modal__body {
    padding: 24px 14px 18px;
  }
  .lead-form__title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal.fade .modal-dialog,
  .lead-form__submit {
    transition: none;
  }
  .lead-form__submit:disabled::after {
    animation-duration: 2s;
  }
}

/* ===== phones: whole modal form fits one screen, no scrolling ===== */
@media (max-width: 575px) {
  .lead-modal .modal-dialog {
    margin: 8px;
    min-height: calc(100% - 16px);
    align-items: center;
  }
  .lead-modal .lead-modal__body {
    padding: 18px 14px 14px;
  }
  .lead-modal .lead-form__title {
    font-size: 20px;
    margin-bottom: 12px;
    padding-right: 34px;
  }
  .lead-modal .lead-form__sub,
  .lead-modal .lead-form__perks {
    display: none;
  }
  .lead-modal .lead-form__group {
    margin: 0 0 6px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }
  .lead-modal form.lead-form .postbox__comment-input {
    margin-bottom: 8px;
  }
  .lead-modal form.lead-form input,
  .lead-modal form.lead-form select {
    height: 42px;
    padding: 0 10px;
    border-radius: 8px;
  }
  .lead-modal form.lead-form select {
    padding-right: 26px;
    background-position: right 10px center;
    text-overflow: ellipsis;
  }
  .lead-modal form.lead-form .row {
    margin-left: -4px;
    margin-right: -4px;
  }
  .lead-modal form.lead-form .row > [class*="col-"] {
    padding-left: 4px;
    padding-right: 4px;
  }
  .lead-modal .lead-form__submit {
    margin-top: 4px;
    padding: 13px 16px;
    font-size: 15px;
  }
  .lead-modal .lead-form__trust {
    margin-top: 8px;
    font-size: 11px;
  }
  .lead-modal .modal-content > button.close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }
}
/* short phones (e.g. iPhone SE): squeeze a little more */
@media (max-width: 575px) and (max-height: 700px) {
  .lead-modal form.lead-form input,
  .lead-modal form.lead-form select {
    height: 38px;
  }
  .lead-modal .lead-modal__body {
    padding-top: 14px;
  }
}

/* ===== homepage contact section: tidy desktop layout ===== */
.cont-map .contact-map iframe {
  height: 100%;
  min-height: 100%;
}
.cont-map .contact-form form.lead-form {
  top: -50px;
  right: -40px;
}
.cont-map {
  margin-top: 50px;
}
.cont-map .contact-form .section-head {
  margin-bottom: 24px;
}
.cont-map .contact-form .section-head h4 {
  font-size: 34px;
  margin: 0;
}
@media (max-width: 1200px) {
  .cont-map .contact-form form.lead-form {
    right: 0;
  }
}
@media (max-width: 991px) {
  .cont-map {
    margin-top: 0;
  }
  .cont-map .contact-form form.lead-form {
    top: 0;
    right: 0;
    margin: 30px 0;
  }
  .cont-map .contact-map {
    height: 360px;
  }
  .cont-map .contact-map iframe {
    height: 360px;
  }
  .cont-map .bg-img {
    display: none;
  }
}

/* ===== custom mouse cursor: gold arrow, ring on clickable items (replaces gold dot) ===== */
.mouse-cursor {
  display: none !important;
}
html body {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='28'%20height='28'%20viewBox='0%200%2028%2028'%3E%3Cpath%20d='M5%203v18.5l4.6-4.4%203.3%207.4%203.2-1.4-3.2-7.3%206.4-.2z'%20fill='%23b19777'%20stroke='%23fff'%20stroke-width='1.6'%20stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto;
}
html body a,
html body button,
html body select,
html body summary,
html body label,
html body [role="button"],
html body [data-target],
html body [data-toggle],
html body .progress-wrap,
html body .navs span,
html body .hamburger,
html body .swiper-button-next,
html body .swiper-button-prev,
html body .filtering span {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='34'%20height='34'%20viewBox='0%200%2034%2034'%3E%3Ccircle%20cx='17'%20cy='17'%20r='10'%20fill='%23b19777'%20fill-opacity='.35'%20stroke='%23b19777'%20stroke-width='2'/%3E%3Ccircle%20cx='17'%20cy='17'%20r='3.2'%20fill='%231e1e1e'%20stroke='%23fff'%20stroke-width='1.4'/%3E%3C/svg%3E") 17 17, pointer;
}
html body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html body textarea {
  cursor: text;
}
html body button:disabled {
  cursor: wait;
}
