:root {
  --green: #075d0f;
  --green-dark: #004d0c;
  --text: #111;
  --muted: #606060;
  --paper: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  background: #fff;
}

button, input { font: inherit; }

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  background: #fff;
  position: relative;
  z-index: 5;
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { width: 225px; height: auto; display: block; }

.phone-top {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #000;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
}

.phone-mark { color: var(--green); font-size: 26px; transform: rotate(18deg); display: inline-block; }

.hero {
  min-height: 628px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #06150b;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 900ms ease;
  filter: saturate(.9);
}

.hero-slide.is-active { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: rgba(0,0,0,.72); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 530px;
  gap: 56px;
  align-items: center;
}

.lead-form-panel {
  background: rgba(255,255,255,.62);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}

.property-highlights {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  background: rgba(255,255,255,.78);
  color: #152119;
}
.property-highlights strong {
  font-size: 22px;
  line-height: 1.1;
  color: var(--green-dark);
}
.property-highlights span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}
.property-highlights-popup {
  margin-top: 10px;
  background: rgba(255,255,255,.92);
}
.property-highlights-popup strong {
  font-size: 18px;
}

.lead-form {
  display: grid;
  gap: 22px;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
  width: 100%;
  height: 43px;
  padding: 0 24px;
  border: 1px solid #222;
  border-radius: 0;
  background: rgba(255,255,255,.78);
  color: #111;
  font-size: 14px;
  outline: none;
}

.lead-form input::placeholder { color: #424242; font-weight: 600; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: -2px;
  font-weight: 700;
  color: #000;
  line-height: 1.35;
}

.consent input { margin-top: 3px; }

.math-captcha {
  display: grid;
  grid-template-columns: auto auto minmax(110px, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.9);
}
.math-captcha-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #526057;
}
.math-captcha-question {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}
.math-captcha input[type="number"] {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #777;
  background: #fff;
  color: #111;
  box-sizing: border-box;
}
.math-captcha input[type="number"]::-webkit-inner-spin-button,
.math-captcha input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
}

.submit-btn,
.green-btn {
  border: 0;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.submit-btn {
  height: 50px;
  width: 100%;
  font-size: 15px;
}

.green-btn {
  min-width: 195px;
  min-height: 43px;
  padding: 10px 18px;
  font-size: 14px;
}

.submit-btn:hover,
.green-btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.submit-btn:disabled { cursor: progress; opacity: .72; transform: none; }
.lead-form.is-submitting {
  pointer-events: none;
}
.submit-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mokshaah-spin .7s linear infinite;
}
@keyframes mokshaah-spin {
  to { transform: rotate(360deg); }
}

.form-message { margin: -12px 0 0; color: #063d0d; font-size: 13px; font-weight: 600; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.intro { padding: 18px 0 52px; }
.intro-image { width: 100%; display: block; }

.intro-property-heading {
  margin: 0 0 20px;
  color: var(--green-dark);
  font-size: clamp(20px, 2.05vw, 30px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.intro-property-heading span {
  color: #9a9a9a;
  font-weight: 400;
  padding: 0 5px;
}

.intro-copy { padding: 0 0 0 8px; }
.intro-copy p { margin: 0 0 28px; }
.intro-copy .green-btn { display: block; margin: 0 auto; }

.amenities-strip {
  padding: 26px 0 18px;
  background: #fff;
}

.amenities-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  text-align: center;
}

.amenities-row article { min-width: 0; }
.amenities-row img { width: 72px; height: 72px; object-fit: contain; }
.amenities-row p { margin: 8px 0 0; font-size: 14px; color: #111; line-height: 1.25; }

.section-title {
  min-height: 138px;
  display: grid;
  place-items: center;
  text-align: center;
}

.section-title span { color: var(--green); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.section-title h2 { margin: 4px 0 0; font-size: 38px; line-height: 1.15; font-weight: 600; }

.stats-band {
  min-height: 283px;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url("assets/images/background-counter.jpg") center/cover;
  display: flex;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  color: #fff;
}

.stats-grid article {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
}

.stat-icon {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  font-size: 22px;
}

.stats-grid strong {
  font-size: 34px;
  line-height: 1;
  font-weight: 600;
}

.stats-grid strong span {
  margin-left: 3px;
  font-size: 18px;
}

.stats-grid p {
  margin: 6px 0 0;
  line-height: 1.3;
  font-size: 14px;
}

.connectivity {
  position: relative;
  overflow: hidden;
  padding: 0 0 42px;
  background:
    linear-gradient(135deg, rgba(9, 24, 14, .96), rgba(19, 46, 26, .88)),
    url("assets/images/background-counter.jpg") center/cover;
}
.connectivity::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(184, 150, 74, .18), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,.08), transparent 34%);
  pointer-events: none;
}
.connectivity .section-title {
  position: relative;
  z-index: 1;
  min-height: 168px;
}
.connectivity .section-title span {
  color: #d7bd75;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.connectivity .section-title h2 {
  color: #fff;
  letter-spacing: .01em;
}
.connectivity .stats-band {
  position: relative;
  z-index: 1;
  min-height: 0;
  background: transparent;
}
.connectivity .stats-grid article {
  min-height: 118px;
  padding: 22px 18px;
  box-sizing: border-box;
  border: 1px solid rgba(215,189,117,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(5px);
}
.connectivity .stat-icon {
  border-color: rgba(215,189,117,.65);
  color: #e1ca8b;
}
.connectivity .stats-grid strong {
  color: #fff;
}
.connectivity .stats-grid p {
  color: rgba(255,255,255,.8);
}
.details {
  padding: 62px 0 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46%;
  gap: 42px;
  align-items: start;
}

.compact-title {
  min-height: 122px;
}

.project-section {
  padding: 34px 0 24px;
}

.project-tab-list {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.project-tab {
  min-width: 190px;
  min-height: 74px;
  border: 0;
  background: #0e931e;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
  gap: 6px;
}

.project-tab span {
  font-size: 20px;
  line-height: 1;
}

.project-tab:not(.is-active) {
  background: #f3f3f3;
  color: #242424;
  box-shadow: inset 0 -2px 0 #ddd;
}

.project-panel { display: none; }

.project-panel.is-active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-panel article {
  color: #111;
}

.project-panel h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 700;
}

.project-panel ul {
  margin: 0;
  padding-left: 20px;
}

.project-panel li {
  margin-bottom: 4px;
}

.project-amenities {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 20px;
  text-align: center;
}

.project-amenities article {
  padding: 18px 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,.25);
}

.project-amenities img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.project-amenities p {
  margin: 8px 0 0;
  font-weight: 700;
  line-height: 1.3;
}

.details h1 { margin: 0 0 18px; font-size: 38px; line-height: 1.18; font-weight: 600; }
.details h1 span { display: block; }
.details p { margin: 0 0 18px; color: #252525; }
.details ul { margin: 0 0 24px; padding-left: 21px; }
.details li { margin-bottom: 4px; }

.gallery-card { min-width: 0; }

.carousel {
  position: relative;
  height: 650px;
  overflow: hidden;
  background: #eee;
}

.carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 450ms ease;
}

.carousel img.is-active { opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 46px;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.floor-section {
  padding: 28px 0 10px;
}

.tab-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #d7d7d7;
  margin-bottom: 22px;
}

.tab-button {
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid #d7d7d7;
  border-bottom: 0;
  background: #f7f7f7;
  color: #222;
  cursor: pointer;
  font-weight: 500;
}

.tab-button + .tab-button { border-left: 0; }
.tab-button.is-active { background: var(--green); color: #fff; }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.tab-panel img,
.strip-carousel img,
.location-map img {
  display: block;
  width: 100%;
  height: auto;
}

.download-band {
  padding: 22px 0;
  text-align: center;
}

.brochure-section {
  padding: 22px 0;
}

.gallery-title {
  min-height: 82px;
}

.gallery-title h2,
.location-title h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 600;
}

.strip-carousel {
  position: relative;
  overflow: hidden;
}

.strip-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.strip-track figure {
  flex: 0 0 25%;
  margin: 0;
  padding: 0 8px;
}

.strip-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 46px;
  border: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.strip-btn.prev { left: 8px; }
.strip-btn.next { right: 8px; }

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.location-heading {
  padding-top: 18px;
}

.location-title {
  min-height: 108px;
  gap: 10px;
}

.title-divider {
  width: 72px;
  height: 2px;
  background: var(--green);
  display: block;
}

.location-layout {
  padding: 20px 0 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.location-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-section {
  padding: 36px 0 42px;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.contact-info article {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 8px;
  margin-bottom: 22px;
}

.contact-info .pin {
  grid-row: span 2;
  color: var(--green);
  font-size: 26px;
  line-height: 1.1;
}

.contact-info h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.contact-info p { margin: 0; color: #242424; }
.contact-panel { background: rgba(0,0,0,.04); }

.footer {
  padding: 26px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px 1fr 245px;
  gap: 28px;
  align-items: center;
}

.footer h3 { margin: 0 0 10px; font-size: 22px; }
.socials { display: flex; gap: 16px; }
.socials a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.socials a svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}
.socials a svg rect,
.socials a svg circle {
  fill: none;
}
.socials a svg .social-dot {
  fill: currentColor;
  stroke: none;
}
.socials a:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 7px 16px rgba(0,0,0,.14);
}

.credit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: center;
  align-items: end;
}

.credit-row p { margin: 4px 0; font-size: 14px; }
.credit-row img { max-height: 58px; max-width: 170px; width: auto; height: auto; object-fit: contain; }

.footer-contact { display: grid; gap: 10px; }
.footer-contact a { color: #000; text-decoration: none; font-weight: 500; }

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.floating-contact a,
.floating-contact button {
  min-width: 52px;
  height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: #25D366;
  text-decoration: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-contact a:hover,
.floating-contact a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}

.floating-contact .whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex: 0 0 auto;
}

.floating-contact .whatsapp-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.popup.is-open { display: flex; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); }

.popup-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: rgba(255,255,255,.82);
  border-radius: 4px;
  padding: 24px;
}

.popup-dialog h4 {
  margin: 0 34px 20px 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.popup-close {
  position: absolute;
  right: 12px;
  top: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.popup-dialog .lead-form { gap: 14px; }
.popup-dialog .lead-form input[type="text"],
.popup-dialog .lead-form input[type="email"],
.popup-dialog .lead-form input[type="tel"] { height: 42px; }
.popup-dialog .captcha-slot { min-height: 78px; }


@media (max-width: 600px) {
  .math-captcha {
    grid-template-columns: 1fr 1fr;
  }
  .math-captcha-label {
    grid-column: 1 / -1;
  }
  .property-highlights strong {
    font-size: 19px;
  }
  .property-highlights span {
    font-size: 11px;
  }
  .connectivity .stats-grid {
    grid-template-columns: 1fr;
  }
  .connectivity .stats-grid article {
    min-height: 96px;
  }
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 470px; gap: 28px; }
  .amenities-row { grid-template-columns: repeat(5, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .details { grid-template-columns: 1fr; }
  .carousel { height: min(650px, 82vw); }
  .strip-track figure { flex-basis: 50%; }
  .project-panel.is-active { grid-template-columns: repeat(2, 1fr); }
  .project-amenities { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .wrap { width: min(100% - 28px, 560px); }
  .header-inner { min-height: 78px; }
  .logo { width: 170px; }
  .phone-top { font-size: 16px; gap: 8px; }
  .phone-mark { font-size: 20px; }
  .hero { min-height: 710px; align-items: end; padding: 28px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-spacer { display: none; }
  .lead-form-panel { padding: 12px; }
  .lead-form { gap: 16px; }
  .two-col,
  .contact-grid,
  .footer-grid,
  .credit-row { grid-template-columns: 1fr; }
  .intro { padding-top: 22px; }
  .intro-copy { padding: 0; }
  .intro-property-heading {
    font-size: 20px;
    line-height: 1.35;
  }
  .intro-property-heading span {
    display: none;
  }

  .amenities-row { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .amenities-row img { width: 58px; height: 58px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid article { max-width: 260px; margin: 0 auto; width: 100%; }
  .section-title h2,
  .details h1 { font-size: 29px; }
  .gallery-title h2,
  .location-title h2 { font-size: 29px; }
  .details { padding-top: 38px; gap: 28px; }
  .project-tab-list { display: grid; grid-template-columns: 1fr; }
  .project-tab { width: 100%; }
  .project-panel.is-active { grid-template-columns: 1fr; }
  .project-amenities { grid-template-columns: repeat(3, 1fr); }
  .project-amenities article { padding: 12px 6px; }
  .tab-list { display: grid; grid-template-columns: 1fr; }
  .tab-button,
  .tab-button + .tab-button { border: 1px solid #d7d7d7; }
  .tab-panel[data-tab-panel="single"] img { max-height: 680px; object-fit: cover; object-position: top; }
  .strip-track figure { flex-basis: 100%; padding: 0; }
  .location-layout { grid-template-columns: 1fr; }
  .map-embed iframe { min-height: 300px; }
  .footer-grid { text-align: center; }
  .socials { justify-content: center; }
  .floating-contact { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .floating-contact a,
  .floating-contact button {
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 0;
  }
  .floating-contact .whatsapp-label {
    display: none;
  }
  .floating-contact .whatsapp svg {
    width: 27px;
    height: 27px;
  }
}

/* =====================================================
   FINAL LEAD-FLOW UI OVERRIDES
===================================================== */
.hero {
  min-height: 690px;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.hero-property-info {
  max-width: 570px;
  color: #fff;
  padding: 24px 0;
  text-shadow: 0 3px 18px rgba(0,0,0,.28);
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #d8bd72;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .28em;
}

.hero-property-info h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.02em;
}

.hero-property-meta {
  display: grid;
  gap: 8px;
  padding-left: 18px;
  border-left: 3px solid #d8bd72;
}

.hero-property-meta strong,
.hero-property-meta span {
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: .05em;
}

.hero-property-meta strong { font-weight: 700; }
.hero-property-meta span { font-weight: 500; }

.hero-property-info p {
  max-width: 500px;
  margin: 25px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.75;
}

.lead-form-panel {
  padding: 20px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}

.lead-form-panel .lead-form { gap: 15px; }

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
  height: 56px;
  border: 1px solid rgba(30,30,30,.38);
  border-radius: 2px;
  background: rgba(255,255,255,.94);
  padding: 0 18px;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.lead-form input[type="text"]:focus,
.lead-form input[type="email"]:focus,
.lead-form input[type="tel"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(7,117,26,.10);
  background: #fff;
}

.lead-preferences {
  display: grid;
  gap: 9px;
  margin-top: 2px;
}

.lead-preference {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px 9px 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.78);
  color: #111;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.yes-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--green-dark);
  font-weight: 700;
}

.yes-control input,
.consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--green);
}

.consent {
  font-size: 12px;
  line-height: 1.45;
}

.math-captcha {
  display: grid;
  grid-template-columns: auto auto auto minmax(120px, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 10px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 6px;
  background: rgba(255,255,255,.90);
}

.math-captcha-label {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 5px;
  background: #f0f4f1;
  color: #526057;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.math-captcha-question {
  min-width: 54px;
  color: #101613;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .05em;
  text-align: center;
}

.math-captcha-equals {
  color: #7b847e;
  font-size: 18px;
  font-weight: 600;
}

.math-captcha input[type="text"] {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border: 1px solid #c9ceca;
  border-radius: 5px;
  background: #fff;
  color: #101613;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  box-sizing: border-box;
}

.math-captcha input[type="text"]::placeholder { color: #9aa19c; font-weight: 500; }
.math-captcha input[type="text"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(7,117,26,.10);
}

.submit-btn {
  height: 54px;
  font-size: 15px;
  font-weight: 600;
}

.popup-dialog {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 12px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 80px rgba(0,0,0,.34);
}

.popup-dialog .lead-form { gap: 13px; }
.popup-dialog .lead-form input[type="text"],
.popup-dialog .lead-form input[type="email"],
.popup-dialog .lead-form input[type="tel"] { height: 48px; }

/* A brochure button opens the popup; the popup is never opened automatically. */
.popup-dialog .lead-preferences { margin-top: 1px; }

@media (max-width: 1024px) {
  .hero { min-height: 720px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 470px; gap: 30px; }
  .hero-property-info h1 { font-size: clamp(40px, 6vw, 56px); }
  .hero-property-meta strong,
  .hero-property-meta span { font-size: 15px; }
}

@media (max-width: 767px) {
  .hero {
    min-height: 0;
    padding: 56px 0 28px;
    align-items: initial;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-property-info {
    padding: 14px 0 0;
  }
  .hero-property-info h1 {
    font-size: clamp(36px, 10vw, 48px);
  }
  .hero-property-meta strong,
  .hero-property-meta span {
    font-size: 14px;
  }
  .hero-property-info p {
    font-size: 14px;
    margin-top: 18px;
  }
  .lead-form-panel { padding: 13px; }
  .lead-preference { font-size: 11px; }
  .math-captcha {
    grid-template-columns: auto auto auto;
  }
  .math-captcha input[type="text"] {
    grid-column: 1 / -1;
  }
  .popup-dialog { padding: 22px 16px; }
}

/* Final refinement: premium connectivity visual */
.connectivity {
  background:
    linear-gradient(90deg, rgba(8, 24, 14, .88), rgba(8, 24, 14, .68)),
    url("assets/images/Bakcyard_Cabana-_hires.jpg-scaled.jpeg") center center / cover no-repeat;
}
.connectivity::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,12,7,.16), rgba(3,12,7,.42));
  pointer-events: none;
}
.connectivity .stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.connectivity .stat-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Final popup fit refinement: the brochure form fits within the viewport without an internal scrollbar. */
html.popup-open,
body.popup-open { overflow: hidden; }

.popup {
  overflow: hidden;
  padding: 12px;
}

.popup-dialog {
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: hidden;
  padding: clamp(18px, 2.2vh, 26px) clamp(20px, 2.2vw, 30px);
}

.popup-dialog h4 {
  margin-bottom: clamp(10px, 1.6vh, 18px);
  font-size: clamp(22px, 2.2vw, 30px);
}

.popup-dialog .lead-form {
  gap: clamp(8px, 1.2vh, 12px);
}

.popup-dialog .lead-form input[type="text"],
.popup-dialog .lead-form input[type="email"],
.popup-dialog .lead-form input[type="tel"] {
  height: clamp(42px, 5.6vh, 52px);
}

.popup-dialog .lead-preferences {
  gap: 7px;
}

.popup-dialog .lead-preference {
  min-height: clamp(40px, 5vh, 48px);
  padding: 7px 12px;
}

.popup-dialog .consent {
  font-size: 12px;
}

.popup-dialog .math-captcha {
  min-height: 54px;
  padding: 6px 9px;
}

.popup-dialog .math-captcha-label {
  min-height: 34px;
}

.popup-dialog .math-captcha input[type="text"] {
  height: 40px;
}

.popup-dialog .submit-btn {
  height: 50px;
}

/* Keep the compact popup usable on narrow screens while preventing a scroll container. */
@media (max-width: 767px) {
  .popup { padding: 8px; }
  .popup-dialog {
    width: min(560px, calc(100vw - 16px));
    max-height: calc(100vh - 16px);
    padding: 18px 14px;
  }
  .popup-dialog h4 { font-size: 22px; }
  .popup-dialog .lead-form { gap: 8px; }
  .popup-dialog .lead-form input[type="text"],
  .popup-dialog .lead-form input[type="email"],
  .popup-dialog .lead-form input[type="tel"] { height: 44px; }
  .popup-dialog .lead-preference { font-size: 11px; min-height: 42px; }
  .popup-dialog .math-captcha { grid-template-columns: auto auto auto minmax(100px, 1fr); }
  .popup-dialog .math-captcha input[type="text"] { grid-column: auto; height: 40px; }
}

/* About Us property headline requested for the About section. */
.about-property-highlights {
  margin: 0 0 18px;
  padding: 0 0 14px 16px;
  border-left: 4px solid var(--green);
}

.about-property-highlights h2 {
  margin: 0 0 7px;
  color: var(--green-dark);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 700;
}

.about-property-highlights div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #111;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .025em;
}

.about-property-highlights strong { font-weight: 700; }
.about-property-highlights div > span { color: #8b8f8b; }

@media (max-width: 767px) {
  .about-property-highlights { margin-bottom: 14px; padding-left: 12px; }
  .about-property-highlights h2 { font-size: 28px; }
  .about-property-highlights div { font-size: 12px; }
}




/* Checkbox compatibility: keep native checkbox interaction on iOS/Safari/Android. */
.lead-preference,
.lead-preference .yes-control,
.consent {
  pointer-events: auto;
  cursor: pointer;
}

.lead-preference .yes-control {
  position: relative;
  z-index: 2;
}

.yes-control input[type="checkbox"],
.consent input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  appearance: auto !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 3;
  accent-color: var(--green);
}

.yes-control b,
.consent span {
  cursor: pointer;
}
