:root {
  --primary-green: #4A8F6F;      /* Nature Green Accent */
  --dark-green: #2D5A47;         /* Deep Forest Green */
  --light-green: #B8D4C8;        /* Light Sage */
  --very-light-green: #D4E8E0;   /* Soft Green */
  --white: #FFFFFF;
  --off-white: #FAFAF9;          /* Cards & Content Areas Background */
  --cream: #F5F3F0;              /* Alternative tint */
  --dark-text: #3A4A45;          /* Calming body text */
  --light-gray: #A0B5B0;         /* Soft gray-green placeholder */
  --border-gray: #E0E8E5;        /* Soft green-gray border */
  --muted: #7A9A8F;              /* Muted gray-green */
  --container-padding: clamp(20px, 5vw, 64px);

  /* Fallback mapped variables so existing layout styles still work but have updated colors */
  --ink: var(--dark-text);
  --paper: var(--white);
  --soft: var(--very-light-green);
  --line: var(--border-gray);
  --green: var(--primary-green);
  --green-dark: var(--dark-green);
  --gold: var(--light-green);
  --clay: #b7654c;
  --shadow: 0 2px 12px rgba(45, 90, 71, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #E8F4F0 0%, #F0F5F2 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.3px;
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

main {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--container-padding);
  color: var(--dark-green);
  background: var(--off-white);
  border-bottom: 1px solid var(--border-gray);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.brand,
.nav-links,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800; /* Bold */
  font-size: 1.45rem;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.brand span:not(.brand-mark) {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--primary-green);
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  display: block;
}

.nav-links {
  gap: clamp(8px, 2vw, 24px);
  font-size: 1rem;
}

.nav-links a {
  color: var(--dark-green);
  font-weight: 500;
  position: relative;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 200ms ease-in-out;
}

.nav-links a:hover {
  background: #F0F5F2; /* Light green tint */
  color: var(--primary-green);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background-color: var(--primary-green);
  transform: scaleX(0);
  transition: transform 200ms ease-in-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  border: 0;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--primary-green);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.header-cta:hover {
  background: var(--dark-green);
}

.header-cta:active {
  transform: scale(0.98);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 11;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.hamburger {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-green);
  transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--dark-green);
  transition: transform 0.2s ease, top 0.2s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Active hamburger states */
.nav-toggle.is-active .hamburger {
  background: transparent;
}

.nav-toggle.is-active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px 0 0; /* no bottom padding, search panel sits at the bottom */
  background-color: #F5F7F4;
  background-image: 
    linear-gradient(to right, #F5F7F4 0%, #F5F7F4 35%, rgba(245, 247, 244, 0.9) 45%, rgba(245, 247, 244, 0) 70%),
    url("assets/hero_background.webp");
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: visible;
  color: var(--ink);
}

.hero-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding) 60px;
  position: relative;
  z-index: 5;
  align-items: center;
  gap: 32px;
}

.hero-left {
  flex: 1.15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-right {
  flex: 0.85;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #E2ECE5; /* Soft gray-green */
  color: var(--dark-green);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(45, 90, 71, 0.1);
}
.eyebrow-pill svg {
  color: var(--primary-green);
}

h1,
h2,
h3 {
  color: var(--dark-green);
  font-weight: 600;
  letter-spacing: 0.3px;
}

h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  line-height: 1.15;
  color: var(--dark-green);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
}
.sub-heading {
  font-family: 'Lora', Georgia, serif;
  display: inline-block;
  font-size: clamp(1.8rem, 4.2vw, 3.5rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
  color: var(--dark-green);
}

.heading-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  width: 140px;
}
.heading-divider .divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--light-green);
}
.heading-divider svg {
  color: var(--primary-green);
  flex-shrink: 0;
}

p {
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 650px;
  margin: 14px 0 24px;
  color: var(--dark-text);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

/* Hero CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
  text-align: center;
  box-sizing: border-box;
}

.btn-hero-primary {
  background-color: var(--dark-green);
  color: var(--white);
  border: 1px solid var(--dark-green);
  box-shadow: 0 4px 14px rgba(45, 90, 71, 0.15);
}

.btn-hero-primary:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 71, 0.25);
}

.btn-hero-primary:active {
  transform: scale(0.98);
}

.btn-hero-secondary {
  background-color: transparent;
  color: var(--dark-green);
  border: 2px solid var(--primary-green);
}

.btn-hero-secondary:hover {
  background-color: rgba(45, 90, 71, 0.08);
  transform: translateY(-2px);
}

.btn-hero-secondary:active {
  transform: scale(0.98);
}

.highlights-bar {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-gray);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 4px 20px rgba(45, 90, 71, 0.05);
  margin-top: 32px;
  max-width: 580px;
  width: 100%;
  gap: 16px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--very-light-green);
  color: var(--dark-green);
}
.highlight-text {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-green);
}
.highlight-divider {
  width: 1px;
  height: 32px;
  background-color: var(--border-gray);
}

.approved-badge-card {
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(110%);
  -webkit-backdrop-filter: blur(16px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 32px 24px;
  width: 175px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(45, 90, 71, 0.1), 0 4px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float-slow 4s ease-in-out infinite alternate;
}
.badge-icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--very-light-green);
  color: var(--dark-green);
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(45, 90, 71, 0.08);
}
.badge-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark-green);
  letter-spacing: 1px;
  line-height: 1.25;
}
.badge-card-divider {
  width: 40px;
  height: 1px;
  background-color: rgba(45, 90, 71, 0.15);
  margin: 16px 0;
}
.badge-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.leaf-decor {
  position: absolute;
  bottom: -20px;
  width: 240px;
  height: 240px;
  z-index: 3;
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}
.leaf-decor-left {
  left: -50px;
  background-image: url("assets/hero_leaves.webp");
  transform: rotate(30deg);
  background-position: bottom left;
}
.leaf-decor-right {
  right: -50px;
  background-image: url("assets/hero_leaves.webp");
  transform: scaleX(-1) rotate(30deg);
  background-position: bottom right;
}

.search-panel-container {
  position: relative;
  z-index: 6;
  background-color: var(--white);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 20px;
  border: 1px solid var(--border-gray);
  box-shadow: 0 16px 40px rgba(45, 90, 71, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
  margin: 0 auto -36px;
  max-width: 1200px;
  width: calc(100% - (2 * var(--container-padding)));
  box-sizing: border-box;
}

.search-panel-title {
  color: var(--dark-green);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  flex-shrink: 0;
}

.search-panel-form {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.form-input-group {
  position: relative;
  flex: 1;
  background-color: #F5F7F6;
  border-radius: 12px;
  border: 1px solid var(--border-gray);
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  transition: all 0.25s ease;
}

.form-input-group:focus-within {
  border-color: var(--primary-green);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 143, 111, 0.1);
}

.form-input-group svg.input-icon {
  color: var(--primary-green);
  margin-right: 12px;
  flex-shrink: 0;
}

.form-input-group input,
.form-input-group select {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: var(--dark-green);
  font-weight: 500;
  font-family: inherit;
}

.form-input-group select {
  cursor: pointer;
  padding-right: 24px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D5A47' stroke-width='2.5'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
}

.search-panel-form button {
  min-height: 52px;
  background-color: var(--dark-green);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 0 32px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(45, 90, 71, 0.2);
}

.search-panel-form button:hover {
  background-color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 71, 0.3);
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Scroll Down Chevron */
.scroll-indicator {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-indicator:hover {
  color: var(--primary-green);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* Button Icons styling */
.btn-hero svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn-hero .btn-icon-right {
  margin-left: 10px;
}
.btn-hero .btn-icon-left {
  margin-right: 10px;
}
.btn-hero-primary:hover .btn-icon-right {
  transform: translateX(3px);
}
.btn-hero-secondary:hover .btn-icon-left {
  transform: scale(1.1);
}

.search-panel {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr auto;
  gap: 28px;
  width: auto;
  background: var(--white);
  padding: 42px var(--container-padding);
  margin-left: calc(-1 * var(--container-padding));
  margin-right: calc(-1 * var(--container-padding));
  margin-top: 44px;
  box-shadow: 0 6px 24px rgba(45, 90, 71, 0.06);
  align-items: end;
  align-self: stretch;
}

.search-panel label {
  display: grid;
  gap: 8px;
}

.contact-form label,
.popup-form label {
  display: grid;
  gap: 6px;
}

.search-panel span {
  color: var(--dark-green);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.contact-form span,
.popup-form span {
  color: var(--dark-green);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-panel input,
.search-panel select {
  width: 100%;
  min-height: 60px;
  border: 2px solid var(--primary-green);
  border-radius: 8px;
  background: var(--off-white);
  color: var(--ink);
  padding: 0 18px;
  outline: none;
  font-size: 17px;
  transition: all 200ms ease-in-out;
}

.search-panel input:hover,
.search-panel select:hover {
  background: var(--white);
  border-color: var(--dark-green);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.popup-form input,
.popup-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  font-size: 16px;
  transition: all 200ms ease-in-out;
}

.search-panel input::placeholder {
  color: var(--light-gray);
  font-size: 17px;
  transition: opacity 200ms ease-in-out;
}

.search-panel input:focus::placeholder {
  opacity: 0.3;
}

.search-panel input[type="search"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234A8F6F'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 22px;
  padding-left: 48px;
}

.contact-form textarea {
  min-height: 116px;
  padding-top: 12px;
  resize: vertical;
}

.search-panel input:focus,
.search-panel select:focus {
  border: 2px solid var(--dark-green) !important;
  box-shadow: 0 0 0 4px rgba(45, 90, 71, 0.15) !important;
  background: var(--white) !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.popup-form input:focus,
.popup-form select:focus {
  border: 2px solid var(--primary-green) !important;
  box-shadow: 0 0 0 4px rgba(74, 143, 111, 0.1) !important;
  background: var(--white) !important;
}

.search-panel input:disabled,
.contact-form input:disabled,
.popup-form input:disabled {
  border: 2px solid #D0D0D0 !important;
  background: #F0F0F0 !important;
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* Required field indicators using warm red-brown */
label:has(input[required]) span::after,
label:has(select[required]) span::after,
label:has(textarea[required]) span::after {
  content: " *";
  color: #C85A54;
  font-weight: 700;
}

.search-panel button,
.contact-form button,
.popup-form button {
  min-height: 52px;
  align-self: end;
  border: 0;
  border-radius: 10px;
  background: var(--primary-green);
  color: var(--off-white);
  padding: 0 28px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(45, 90, 71, 0.1);
  transition: all 200ms ease-in-out;
}

.search-panel button {
  min-height: 60px;
  font-size: 17px;
  border-radius: 8px;
  padding: 0 36px;
  background: var(--dark-green);
  border: 2px solid var(--dark-green);
  box-shadow: 0 4px 12px rgba(45, 90, 71, 0.08);
}

.search-panel button:hover {
  background: var(--primary-green) !important;
  border-color: var(--primary-green) !important;
  box-shadow: 0 6px 18px rgba(45, 90, 71, 0.2) !important;
}

.contact-form button:hover,
.popup-form button:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 90, 71, 0.25);
}

.search-panel button:active,
.contact-form button:active,
.popup-form button:active {
  transform: scale(0.98);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.section {
  padding: 86px var(--container-padding);
  scroll-margin-top: 112px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.1;
  color: var(--dark-green);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-heading p:not(.eyebrow) {
  color: var(--dark-text);
  font-size: 1.05rem;
  line-height: 1.6;
}



.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.listing-card {
  overflow: hidden;
  border: 1px solid var(--border-gray);
  border-left: 4px solid var(--primary-green);
  border-radius: 12px;
  background: var(--off-white);
  box-shadow: 0 2px 12px rgba(45, 90, 71, 0.08);
  transition: all 300ms ease-in-out;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(45, 90, 71, 0.15);
  background-color: #F0F5F2;
}

.listing-card.is-hidden {
  display: none;
}

.listing-card img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
}

.listing-body {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.listing-tags span {
  border-radius: 6px;
  background: var(--primary-green);
  color: var(--off-white);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.listing-body h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  color: var(--dark-green);
  font-weight: 700;
}

.listing-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.listing-price {
  color: var(--primary-green) !important;
  font-weight: 900;
  font-size: 1.35rem;
}

.listing-actions {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  width: 100%;
}

.listing-body a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--primary-green);
  color: var(--off-white) !important;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: all 200ms ease-in-out;
  box-shadow: 0 2px 6px rgba(45, 90, 71, 0.08);
}

.listing-body a:hover {
  background: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 90, 71, 0.25);
}

.listing-body a:active {
  transform: scale(0.98);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.listing-body a.btn-whatsapp {
  background: #25D366;
}

.listing-body a.btn-whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.services-section {
  background: var(--soft);
  padding-top: 48px;
}

.investment-slider {
  display: grid;
  gap: 18px;
}

.slide-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  min-height: 480px;
  overflow: hidden;
  border-radius: 12px;
}

.invest-slide {
  grid-area: 1 / 1 / 2 / 2;
  position: relative;
  display: grid;
  align-content: end;
  gap: 18px;
  min-height: 480px;
  overflow: hidden;
  border-radius: 12px;
  padding: clamp(24px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(13, 49, 36, 0.96), rgba(13, 49, 36, 0.76)),
    url("assets/airport.webp") center / cover;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: opacity 260ms ease, transform 260ms ease;
  border: 1px solid var(--border-gray);
  box-shadow: 0 4px 16px rgba(45, 90, 71, 0.04);
}

.invest-slide:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(13, 49, 36, 0.96), rgba(13, 49, 36, 0.72)),
    url("assets/buddh_circuit.webp") center / cover;
}

.invest-slide:nth-child(3) {
  background:
    linear-gradient(90deg, rgba(13, 49, 36, 0.96), rgba(13, 49, 36, 0.72)),
    url("assets/industrial_hub.webp") center / cover;
}

.invest-slide:nth-child(4) {
  background:
    linear-gradient(90deg, rgba(13, 49, 36, 0.96), rgba(13, 49, 36, 0.72)),
    url("assets/yamuna_expressway.webp") center / cover;
}

.invest-slide:nth-child(5) {
  background:
    linear-gradient(90deg, rgba(13, 49, 36, 0.96), rgba(13, 49, 36, 0.72)),
    url("assets/authority_plots.webp") center / cover;
}

.invest-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 1;
}

.slide-kicker {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f5e7c7;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invest-slide h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  color: var(--white);
}

.invest-slide p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.invest-slide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.invest-slide li {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.slider-controls {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 14px;
  align-items: center;
}

.slide-arrow,
.slide-dot {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  cursor: pointer;
}

.slide-arrow {
  width: 46px;
  height: 46px;
  font-size: 1.7rem;
  line-height: 1;
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slide-dot {
  width: 38px;
  height: 8px;
  padding: 0;
  background: var(--line);
}

.slide-dot.active {
  border-color: var(--green);
  background: var(--green);
}

.map-section {
  background: var(--white);
}

.map-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.corridor-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px),
    radial-gradient(circle at 78% 22%, rgba(199, 154, 61, 0.22), transparent 22%),
    linear-gradient(135deg, #e8f0e5, #f9f6ee 54%, #e2ece5);
  background-size: 44px 44px, 44px 44px, auto, auto;
  box-shadow: 0 12px 34px rgba(23, 33, 27, 0.08);
}

.corridor-map::before,
.corridor-map::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.64;
}

.corridor-map::before {
  width: 38%;
  height: 28%;
  right: -8%;
  top: -8%;
  background: rgba(31, 107, 77, 0.16);
}

.corridor-map::after {
  width: 30%;
  height: 22%;
  left: -7%;
  bottom: -7%;
  background: rgba(183, 101, 76, 0.12);
}

.map-road {
  position: absolute;
  z-index: 1;
  height: 22px;
  border-radius: 999px;
  transform-origin: center;
}

.map-road span {
  position: absolute;
  left: 50%;
  top: -34px;
  width: max-content;
  transform: translateX(-50%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.expressway-road {
  width: 84%;
  left: 8%;
  top: 52%;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  box-shadow: 0 0 0 8px rgba(31, 107, 77, 0.12);
  transform: rotate(-24deg);
}

.metro-road {
  width: 62%;
  left: 22%;
  top: 43%;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--clay), var(--clay) 18px, transparent 18px, transparent 28px);
  transform: rotate(18deg);
}

.map-marker {
  position: absolute;
  z-index: 3;
  left: var(--x);
  top: var(--y);
  display: grid;
  width: 108px;
  min-height: 44px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(23, 33, 27, 0.18);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.map-marker::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
}

.map-marker span {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 900;
}

.map-marker.active,
.map-marker:hover {
  background: var(--gold);
  color: var(--ink);
}

.map-zone {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(31, 107, 77, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--green-dark);
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 900;
}

.zone-one {
  left: 12%;
  top: 72%;
}

.zone-two {
  right: 12%;
  bottom: 13%;
}

.map-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  padding: clamp(24px, 4vw, 36px);
}

.map-panel h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.map-panel p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.map-panel ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}

.map-panel li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.map-panel button {
  width: fit-content;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.map-experience {
  position: relative;
  grid-template-columns: 1fr;
  grid-template-areas:
    "search"
    "map";
  gap: 0;
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #eef3f7;
  box-shadow: 0 14px 36px rgba(60, 64, 67, 0.14);
}

.map-searchbar {
  z-index: 5;
  grid-area: search;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin: 14px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  color: #3c4043;
  padding: 0 18px;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.18);
  font-weight: 800;
}

.map-search-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--very-light-green);
  color: var(--primary-green);
  font-size: 1.2rem;
}



.corridor-map {
  grid-area: map;
  min-height: 610px;
  border: 0;
  border-radius: 0;
  background: #f9f6ee;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.map-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.map-viewport:active {
  cursor: grabbing;
}

#masterPlanImg {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.05s ease-out;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: contain;
}

#mapViewport.is-dragging #masterPlanImg {
  transition: none !important;
}

/* Map Lock Overlay */
.map-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(252, 252, 251, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
  visibility: visible;
}

.map-lock-overlay.unlocked {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.map-lock-content {
  background: #FCFCFB;
  border: 1.5px solid rgba(181, 144, 91, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(9, 24, 17, 0.16);
  padding: 32px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.map-lock-icon {
  width: 60px;
  height: 60px;
  background: rgba(181, 144, 91, 0.08);
  color: #B5905B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(181, 144, 91, 0.15);
}

.map-lock-content h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0F2018;
  margin: 0 0 10px;
}

.map-lock-content p {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #4F5E56;
  margin: 0 0 20px;
}

.map-lock-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.map-lock-input-group input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid #E2E4E1;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 0 16px;
  box-sizing: border-box;
  font-size: 16px;
  color: #0F2018;
  outline: none;
  transition: all 200ms ease;
}

.map-lock-input-group input:focus {
  border-color: #B5905B;
  box-shadow: 0 0 0 3px rgba(181, 144, 91, 0.08);
}

.map-lock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1A3D2F;
  color: #FAFAF9;
  border: none;
  border-radius: 12px;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 250ms ease;
  width: 100%;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(26, 61, 47, 0.2);
}

.map-lock-btn:hover {
  background: #132B20;
  box-shadow: 0 6px 18px rgba(26, 61, 47, 0.3);
}

.map-lock-btn:active {
  transform: scale(0.98);
}

.map-lock-status {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 18px;
}

.map-controls {
  position: absolute;
  z-index: 6;
  left: 18px;
  bottom: 18px;
  display: grid;
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(60, 64, 67, 0.2);
}

.map-controls button {
  width: 44px;
  height: 42px;
  border: 0;
  border-bottom: 1px solid #dadce0;
  background: #ffffff;
  color: #3c4043;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
}

.map-controls button:last-child {
  border-bottom: 0;
}



.contact-section {
  background: var(--white);
  padding-top: 48px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1050px;
}

.full-width,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form button {
  width: fit-content;
  min-width: 170px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 200ms ease-in-out;
}

/* Style success status dynamically based on JS inline color setting */
.form-status[style*="#28A745"] {
  background: #F0F5F2 !important;
  color: var(--primary-green) !important;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--light-green);
}

/* Style error status dynamically based on JS inline color setting */
.form-status[style*="#DC3545"] {
  background: #FDF4F3 !important;
  color: #C85A54 !important;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(200, 90, 84, 0.15);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px var(--container-padding);
  background: var(--dark-green);
  color: var(--off-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
  margin: 0;
  font-weight: 400;
  color: var(--very-light-green); /* Light sage tint */
  font-size: 0.95rem;
}

.site-footer p:first-child {
  color: var(--off-white);
  font-weight: 600;
}

.lead-modal {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lead-modal.is-open {
  display: flex;
}

.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 17, 0.62);
  backdrop-filter: blur(6px);
}

.lead-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 38px);
}

.lead-dialog h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  line-height: 1.02;
  color: var(--dark-green);
  font-weight: 700;
}

.lead-dialog > p:not(.eyebrow) {
  margin: 12px 0 22px;
  color: var(--muted);
}

.lead-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.popup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.popup-form button,
.popup-form .form-status {
  grid-column: 1 / -1;
}

/* ==========================================================================
   Responsive Breakpoints & Layouts
   ========================================================================== */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-padding: 24px;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(252, 252, 251, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 61, 47, 0.06);
    box-shadow: 0 4px 24px rgba(9, 24, 17, 0.04);
    transition: all 0.3s ease;
  }

  .brand {
    grid-column: auto;
    justify-self: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.2s ease;
  }

  .brand:active {
    transform: scale(0.98);
  }

  .brand span:not(.brand-mark) {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-green);
  }

  .brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    width: 42px;
    height: 42px;
    color: var(--primary-green);
  }

  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .brand:hover .brand-mark {
    transform: rotate(5deg) scale(1.03);
  }

  .nav-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    align-items: center;
    justify-content: flex-end;
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 50%;
    transition: background 0.2s ease;
  }

  .nav-toggle:hover {
    background: rgba(181, 144, 91, 0.05);
  }

  .hamburger {
    position: relative;
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--primary-green);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    right: 0;
    height: 1.5px;
    background: var(--primary-green);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .hamburger::before {
    top: -6px;
    width: 24px;
  }

  .hamburger::after {
    top: 6px;
    width: 14px;
  }

  .nav-toggle.is-active .hamburger {
    background: transparent;
    width: 24px;
  }

  .nav-toggle.is-active .hamburger::before {
    top: 0;
    width: 24px;
    transform: rotate(45deg);
    background: var(--primary-green);
  }

  .nav-toggle.is-active .hamburger::after {
    top: 0;
    width: 24px;
    transform: rotate(-45deg);
    background: var(--primary-green);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(252, 252, 251, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 61, 47, 0.08);
    padding: 16px 24px 24px;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(9, 24, 17, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 250ms ease;
    display: flex;
    align-items: center;
    background: transparent;
    text-decoration: none;
    letter-spacing: 0.5px;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(181, 144, 91, 0.06);
    color: #B5905B;
    padding-left: 24px;
  }

  .nav-links a[href="#map"] {
    display: none;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 0;
    background-image: 
      linear-gradient(to right, #F5F7F4 0%, #F5F7F4 30%, rgba(245, 247, 244, 0.8) 55%, rgba(245, 247, 244, 0.1) 80%, rgba(245, 247, 244, 0) 100%),
      url("assets/hero_background.webp");
    background-position: 70% center;
  }

  .leaf-decor {
    display: block;
    width: 140px;
    height: 140px;
    bottom: -10px;
  }
  .leaf-decor-left {
    left: -30px;
  }
  .leaf-decor-right {
    right: -30px;
  }

  .hero-container {
    flex-direction: row;
    gap: 20px;
    align-items: center;
    text-align: left;
    padding-bottom: 50px;
  }
  
  .hero-left {
    align-items: flex-start;
    width: 65%;
    flex: none;
  }
  
  .hero-right {
    justify-content: flex-end;
    width: 35%;
    flex: none;
  }

  .eyebrow-pill {
    margin-bottom: 16px;
    font-size: 0.72rem;
    padding: 6px 12px;
  }

  .heading-divider {
    margin: 14px 0;
  }

  .hero-actions {
    justify-content: flex-start;
    margin-bottom: 24px;
    width: 100%;
    gap: 12px;
  }

  .btn-hero {
    padding: 10px 18px;
    font-size: 0.88rem;
    min-height: 40px;
    border-radius: 8px;
  }

  .approved-badge-card {
    transform: scale(0.8);
    transform-origin: center right;
  }

  .highlights-bar {
    margin: 20px 0 0;
    width: 100%;
    max-width: 340px;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    box-sizing: border-box;
  }

  .highlight-divider {
    width: 80%;
    height: 1px;
  }

  .search-panel-container {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
    margin: 0 auto -30px;
    width: calc(100% - 32px);
    border-radius: 16px;
  }

  .search-panel-form {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .form-input-group {
    width: 100%;
  }

  .search-panel-form button {
    width: 100%;
  }

  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .contact-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .contact-form button {
    grid-column: 1 / -1;
    width: 100%;
  }



  .slide-track,
  .invest-slide {
    min-height: 460px;
  }

  .invest-slide {
    padding: 32px;
  }

  .invest-slide ul {
    display: flex;
  }

  .site-footer {
    display: grid;
    gap: 12px;
    padding: 40px 24px;
  }

  .map-section {
    display: block !important;
  }

  .map-experience {
    grid-template-columns: 1fr;
    grid-template-areas:
      "search"
      "map";
    border-radius: 12px;
  }

  .corridor-map {
    min-height: 480px;
  }

  .map-lock-content {
    margin: 12px;
    padding: 24px 18px;
    max-width: calc(100% - 24px);
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
  }

  .corridor-map {
    min-height: 380px;
  }

  .site-header {
    padding: 10px 16px;
  }

  .brand span:not(.brand-mark) {
    font-size: 1.3rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    color: var(--primary-green);
  }

  .brand-mark svg {
    width: 30px;
    height: 30px;
  }

  .nav-links {
    padding: 14px 16px 20px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section.services-section,
  .section.faq-section,
  .section.contact-section {
    padding-top: 32px;
  }

  .hero {
    min-height: 90vh;
    padding-top: 110px;
    padding-bottom: 0;
    background-image: 
      linear-gradient(to bottom, rgba(250, 250, 249, 0) 65%, #FAFAF9 100%),
      linear-gradient(to right, rgba(250, 250, 249, 0.92) 0%, rgba(250, 250, 249, 0.8) 45%, rgba(250, 250, 249, 0.1) 80%, rgba(250, 250, 249, 0) 100%),
      url("assets/hero_background_mobile.webp");
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .leaf-decor {
    display: block;
    width: 130px;
    height: 130px;
    bottom: -15px;
    opacity: 0.8;
  }
  .leaf-decor-left {
    left: -40px;
  }
  .leaf-decor-right {
    right: -40px;
  }

  .hero-container {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .hero-left {
    align-items: flex-start;
    width: 100%;
    flex: none;
    text-align: left;
  }
  
  .hero-right {
    display: none;
  }

  .eyebrow-pill {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.15;
    margin: 0;
    font-family: 'Lora', Georgia, serif;
    font-weight: 850;
    color: #0F2018;
  }

  .heading-divider {
    margin: 16px 0;
    width: 100px;
  }

  .sub-heading {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    line-height: 1.35;
    margin: 0 0 16px;
    font-family: 'Lora', Georgia, serif;
    font-weight: 800;
    color: #162E22;
  }

  .hero-copy {
    margin: 0 0 24px;
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    line-height: 1.55;
    color: #2C3C37;
    font-weight: 600;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
  }

  .btn-hero {
    width: 100%;
    min-height: 52px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px 24px;
    box-shadow: 0 4px 14px rgba(45, 90, 71, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .btn-hero-primary {
    background-color: var(--dark-green);
    color: var(--white);
    border: 1px solid var(--dark-green);
  }

  .btn-hero-secondary {
    background-color: #F5F3F0;
    color: var(--dark-green);
    border: 1px solid rgba(45, 90, 71, 0.1);
  }

  .highlights-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 16px 0 0;
    margin-top: 12px;
    border-top: 1px solid rgba(45, 90, 71, 0.1);
    border-radius: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .highlight-item {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
  }

  .highlight-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #E2ECE5;
    color: var(--dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none;
  }

  .highlight-icon svg {
    width: 16px;
    height: 16px;
  }

  .highlight-text {
    font-size: 0.68rem;
    font-weight: 800;
    color: #12221A;
    line-height: 1.25;
    text-align: left;
    margin: 0;
  }

  .highlight-divider {
    width: 1px;
    height: 24px;
    background-color: rgba(45, 90, 71, 0.15);
    margin: 0 4px;
    display: block;
  }

  .listing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .invest-slide {
    padding: 24px;
    align-content: center;
    justify-items: center;
    text-align: center;
  }

  .invest-slide h3 {
    font-size: 1.8rem;
    margin: 0 auto;
    max-width: 100%;
  }

  .invest-slide p {
    font-size: 1rem;
    margin: 0 auto;
    max-width: 100%;
  }

  .invest-slide ul {
    justify-content: center;
  }

  .slide-kicker {
    margin: 0 auto;
  }

  .slide-track,
  .invest-slide {
    min-height: 440px;
  }



  .faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .faq-trigger {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.92rem;
  }
}

/* Small Screen Phones (max-width: 480px) */
@media (max-width: 480px) {
  .site-header {
    padding: 8px 12px;
  }

  .brand span:not(.brand-mark) {
    font-size: 1.2rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    color: var(--primary-green);
  }

  .brand-mark svg {
    width: 28px;
    height: 28px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .sub-heading {
    font-size: 1.25rem;
  }

  .form-input-group {
    min-height: 48px;
    padding: 0 12px;
  }

  .form-input-group input,
  .form-input-group select {
    font-size: 16px;
  }

  .search-panel-form button {
    min-height: 48px;
    font-size: 14px;
  }



  .slide-track,
  .invest-slide {
    min-height: 400px;
  }

  .invest-slide h3 {
    font-size: 1.5rem;
  }

  .invest-slide p {
    font-size: 0.9rem;
  }

  .invest-slide li {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .floating-call-btn {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }

  .floating-call-btn svg {
    width: 24px;
    height: 24px;
  }

  /* Prevent map searchbar from overflowing horizontally on small screens */
  .map-searchbar {
    margin: 10px;
    padding: 0 12px;
    font-size: 0.82rem;
    gap: 8px;
  }

  .map-searchbar span:last-child {
    white-space: normal;
    word-break: break-word;
    min-width: 0;
  }
}

/* ==========================================================================
   Falling Petals Animation & Accessibility Styles
   ========================================================================== */

.leaf-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1; /* Sits strictly between body background and content */
  overflow: hidden;
}

.leaf {
  position: absolute;
  top: -60px;
  pointer-events: none;
  opacity: 0;
  animation: fall-and-sway var(--fall-duration, 14s) ease-in-out var(--fall-delay, 0s) infinite;
  transform-origin: center;
  will-change: transform, opacity;
}

@keyframes fall-and-sway {
  0% {
    transform: translateY(0) translateX(var(--drift-offset, -15px)) rotate(0deg);
    opacity: 0;
  }
  15% {
    opacity: var(--leaf-opacity, 0.2);
  }
  35% {
    transform: translateY(35vh) translateX(var(--drift, 40px)) rotate(calc(var(--rotation, 120deg) * 0.35));
  }
  65% {
    transform: translateY(70vh) translateX(calc(-1 * var(--drift, 40px))) rotate(calc(var(--rotation, 120deg) * 0.65));
  }
  85% {
    opacity: var(--leaf-opacity, 0.2);
  }
  100% {
    transform: translateY(112vh) translateX(var(--drift, 40px)) rotate(var(--rotation, 120deg));
    opacity: 0;
  }
}

/* Accessibility & Performance Safeguards */
@media (prefers-reduced-motion: reduce) {
  .leaf-container,
  .leaf {
    display: none !important;
  }
}

@media print {
  .leaf-container,
  .leaf {
    display: none !important;
  }
}

/* Ensure proper focus outlines for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-green) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

@keyframes breathing-glow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.floating-call-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 
    0 8px 28px rgba(74, 143, 111, 0.45),
    0 0 0 8px rgba(74, 143, 111, 0.15);
  transition: all 300ms ease;
  animation: breathing-glow 2.4s infinite ease-in-out;
}

.floating-call-btn:hover {
  animation-play-state: paused; /* Pause heartbeat pulse on hover for high-quality tactile feel */
  transform: scale(1.12);
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  box-shadow: 
    0 16px 44px rgba(45, 90, 71, 0.75),
    0 0 0 12px rgba(74, 143, 111, 0.25);
}

.floating-call-btn:active {
  transform: scale(0.95);
}

.floating-call-btn svg {
  display: block;
}

/* ==========================================================================
   FAQ Section Styles
   ========================================================================== */
.faq-section {
  background: var(--off-white);
  border-top: 1px solid var(--border-gray);
  border-bottom: 1px solid var(--border-gray);
  padding-top: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(45, 90, 71, 0.03);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 71, 0.07);
  border-color: var(--primary-green);
}

.faq-item.active {
  border-color: var(--primary-green);
  box-shadow: 0 8px 24px rgba(45, 90, 71, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 22px 24px;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--dark-green);
  cursor: pointer;
  font-family: inherit;
  transition: color 200ms ease;
}

.faq-trigger:hover {
  color: var(--primary-green);
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--very-light-green);
  color: var(--primary-green);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), background 300ms ease, color 300ms ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(135deg);
  background: var(--primary-green);
  color: var(--white);
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq-item.active .faq-content {
  grid-template-rows: 1fr;
}

.faq-answer {
  min-height: 0;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--dark-text);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .faq-trigger {
    padding: 18px 20px;
    font-size: 1.02rem;
  }
  
  .faq-answer p {
    padding: 0 20px 18px;
    font-size: 0.95rem;
  }

}

/* ==========================================================================
   Mobile-Only Lead Form Styles (max-width: 768px)
   ========================================================================== */

/* Default hidden state for all viewports (will be flex on mobile only if is-open) */
.mobile-lead-modal {
  display: none !important;
}

@media (max-width: 768px) {
  .lead-modal {
    display: none !important;
  }

  .mobile-lead-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
  }

  .mobile-lead-modal.is-open {
    display: flex !important;
  }

  .mobile-lead-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 24, 17, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .mobile-lead-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border-radius: 28px;
    background: linear-gradient(135deg, #FCFCFB 0%, #F5F7F4 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 64px rgba(9, 24, 17, 0.22);
    padding: 24px 18px;
    text-align: center;
    box-sizing: border-box;
    animation: mobile-modal-zoom 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  @keyframes mobile-modal-zoom {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .mobile-lead-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #4F5E56;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 200ms ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }

  .mobile-lead-close:hover {
    background: #FFFFFF;
    color: #0F2018;
  }

  .mobile-lead-logo-badge {
    margin: 0 auto 12px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px solid #C29B68;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 252, 251, 0.9);
    box-shadow: 0 4px 12px rgba(194, 155, 104, 0.08);
  }

  .mobile-lead-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--primary-green);
    margin: 0 0 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
  }

  .mobile-lead-dialog h2 {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
    line-height: 1.15;
    color: #0F2018;
    font-weight: 800;
    margin: 0 0 8px;
  }

  .mobile-gold-text {
    color: #B5905B;
  }

  .mobile-lead-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 14px auto;
    width: 50%;
  }

  .mobile-lead-divider::before,
  .mobile-lead-divider::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: linear-gradient(to right, rgba(181, 144, 91, 0), rgba(181, 144, 91, 0.5), rgba(181, 144, 91, 0.9));
  }

  .mobile-lead-divider::after {
    background: linear-gradient(to left, rgba(181, 144, 91, 0), rgba(181, 144, 91, 0.5), rgba(181, 144, 91, 0.9));
  }

  .mobile-lead-divider-dot {
    width: 4px;
    height: 4px;
    background: #B5905B;
    border-radius: 50%;
    margin: 0 8px;
  }

  .mobile-lead-subtitle {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #4F5E56;
    margin: 0 auto 20px;
    max-width: 95%;
  }

  /* Form Styling */
  .mobile-popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .mobile-input-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #E2E4E1;
    border-radius: 14px;
    background: #FFFFFF;
    padding: 0 14px;
    min-height: 48px;
    gap: 10px;
    transition: all 250ms ease;
    box-sizing: border-box;
  }

  .mobile-input-group:focus-within {
    border-color: #B5905B;
    box-shadow: 0 0 0 3px rgba(181, 144, 91, 0.08);
  }

  .mobile-input-icon {
    color: #B5905B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
  }

  .mobile-phone-prefix {
    color: #0F2018;
    font-weight: 700;
    font-size: 0.92rem;
    margin-right: 2px;
    pointer-events: none;
  }

  .mobile-input-group input {
    border: 0;
    background: transparent;
    padding: 10px 0;
    font-size: 16px;
    font-family: inherit;
    width: 100%;
    color: #0F2018;
    outline: none;
  }

  .mobile-input-group input::placeholder {
    color: #7B8A82;
    opacity: 0.8;
  }

  /* Custom Selects */
  .mobile-select-group {
    cursor: pointer;
  }

  .mobile-select-label {
    color: #0F2018;
    font-weight: 500;
    font-size: 0.9rem;
    margin-right: auto;
    pointer-events: none;
  }

  .mobile-selected-value {
    color: #4F5E56;
    font-weight: 500;
    font-size: 0.9rem;
    margin-right: 4px;
    pointer-events: none;
  }

  .mobile-chevron {
    color: #4F5E56;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: none;
  }

  .mobile-select-group select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
    font-size: 16px;
  }

  /* Submit Button - Premium Forest Green & Gold */
  .mobile-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1A3D2F;
    color: #FAFAF9;
    border: none;
    border-radius: 14px;
    min-height: 48px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 250ms ease;
    width: 100%;
    margin-top: 4px;
    box-shadow: 0 4px 14px rgba(26, 61, 47, 0.25);
  }

  .mobile-btn-submit:hover {
    background: #132B20;
    box-shadow: 0 6px 18px rgba(26, 61, 47, 0.35);
  }

  .mobile-btn-submit:active {
    transform: scale(0.98);
  }

  .mobile-btn-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #C29B68;
    color: #C29B68;
  }

  /* Footer Badges with Checkmarks */
  .mobile-lead-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #EFF1EE;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 18px;
    gap: 8px;
  }

  .mobile-footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
  }

  .mobile-badge-icon {
    color: #1A3D2F;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .mobile-badge-text {
    color: #1A3D2F;
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
  }

  .mobile-footer-badge-divider {
    width: 1px;
    height: 20px;
    background: #D5D8D4;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   Premium Privacy Policy & Terms Modal Styles (Desktop & Mobile Responsive)
   ========================================================================== */

.policy-modal {
  display: none;
  position: fixed;
  z-index: 5000;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.policy-modal.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.policy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 17, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.policy-dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: min(720px, calc(100vh - 48px));
  background: linear-gradient(135deg, #FCFCFB 0%, #F5F7F4 100%);
  border: 1.5px solid rgba(181, 144, 91, 0.25);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(9, 24, 17, 0.28);
  padding: clamp(24px, 5vw, 40px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  animation: policy-modal-zoom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

@keyframes policy-modal-zoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.policy-close {
  position: absolute;
  top: clamp(16px, 4vw, 24px);
  right: clamp(16px, 4vw, 24px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FCFCFB;
  border: 1px solid rgba(26, 61, 47, 0.1);
  color: #1A3D2F;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.policy-close:hover {
  background: #1A3D2F;
  color: #FAFAF9;
  border-color: #1A3D2F;
}

.policy-dialog h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  font-weight: 750;
  color: #0F2018;
  margin: 0 0 16px;
  text-align: left;
  border-bottom: 2px solid rgba(181, 144, 91, 0.15);
  padding-bottom: 12px;
}

.policy-content {
  overflow-y: auto;
  flex: 1;
  padding-right: 8px;
  text-align: left;
  font-family: Inter, sans-serif;
  color: #3A4A45;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Custom Scrollbar for policy dialog content */
.policy-content::-webkit-scrollbar {
  width: 6px;
}

.policy-content::-webkit-scrollbar-track {
  background: rgba(26, 61, 47, 0.03);
  border-radius: 10px;
}

.policy-content::-webkit-scrollbar-thumb {
  background: rgba(181, 144, 91, 0.25);
  border-radius: 10px;
}

.policy-content::-webkit-scrollbar-thumb:hover {
  background: rgba(181, 144, 91, 0.45);
}

.policy-content p {
  margin: 0 0 14px;
}

.policy-date {
  color: #B5905B;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.policy-content h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F2018;
  margin: 24px 0 8px;
}

.policy-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.policy-content li {
  margin-bottom: 6px;
}

/* Mobile-only Adjustments for Modals */
@media (max-width: 580px) {
  .policy-dialog {
    max-height: calc(100vh - 32px);
    border-radius: 20px;
    padding: 24px 16px 20px;
  }
  
  .policy-dialog h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
  
  .policy-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

/* Inline Success Thank-You Component */
.form-success-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: #fdfaf3; /* Warm gold/stone wash matching the theme */
  border: 1.5px solid rgba(181, 144, 91, 0.2);
  border-radius: 16px;
  box-shadow: inset 0 2px 4px rgba(9, 24, 17, 0.02);
  animation: fadeInSuccess 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
}

@keyframes fadeInSuccess {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(46, 125, 86, 0.1);
  color: #2e7d56;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid rgba(46, 125, 86, 0.25);
  box-shadow: 0 4px 12px rgba(46, 125, 86, 0.1);
}

.success-icon-circle svg {
  width: 28px;
  height: 28px;
}

.form-success-container h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f2018;
  margin: 0 0 12px 0;
}

.form-success-container p.success-lead {
  font-size: 1.05rem;
  line-height: 1.45;
  color: #4f5e56;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.form-success-container p.success-sub {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #8c9b91;
  margin: 0 0 24px 0;
}

.form-success-container button.success-btn {
  background: #1a3d2f;
  color: #fafaf9;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 250ms ease;
  box-shadow: 0 4px 14px rgba(26, 61, 47, 0.2);
}

.form-success-container button.success-btn:hover {
  background: #132b20;
  box-shadow: 0 6px 18px rgba(26, 61, 47, 0.3);
}

/* Mobile Zoom & Touch Scaling Prevention */
@media (max-width: 1024px) {
  /* Prevent pinch-to-zoom and double-tap zoom behavior on touch browsers */
  html, body {
    touch-action: pan-x pan-y;
  }
  
  /* Disable double-tap zoom explicitly on interactive elements */
  button, 
  a, 
  input, 
  select, 
  textarea, 
  img, 
  .listing-card, 
  .lead-modal, 
  .mobile-lead-modal, 
  .map-lock-overlay,
  .form-success-container {
    touch-action: manipulation;
  }
}

/* Screen reader only utility class for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Optimize offscreen rendering speed using modern CSS features */
#listings,
#services,
#faq,
#contact {
  content-visibility: auto;
  contain-intrinsic-size: auto 1000px;
}



