/* TVS Emerald Avalon - brand tokens (sampled from brand-logo.png) */
:root {
  --tvs-navy: #093B74;      /* 'TVS' */
  --tvs-emerald: #3D7044;   /* 'Emerald' */
  --tvs-gold: #D9A441;      /* 'Avalon' mid */
  --tvs-gold-light: #F2C66B;/* 'Avalon' highlight */
  --tvs-gold-dark: #B8862F; /* 'Avalon' shadow */
}

/* ==========================================================================
   Elite Estate - Core Stylesheet
   ========================================================================== */

/* Font & Global resets */
html, body {
    overflow-x: clip;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F8FAFC;
    color: #111827;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

/* Lenis Smooth Scroll Configuration */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Premium Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #3D7044;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #093B74;
}

/* Glassmorphism Styles */
.glass-luxury {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-dark {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Animated Menu Underlines */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3D7044, #D9A441, #093B74, #F2C66B);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Custom Image Zoom on Hover */
.zoom-img-container {
    overflow: hidden;
}

.zoom-img-container img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.zoom-img-container:hover img {
    transform: scale(1.08);
}

/* Custom Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #3D7044, #D9A441, #093B74, #F2C66B);
    z-index: 100;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Back to Top Button */
#back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Preloader Screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111827; /* dark bg */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

/* Hero Overlay Gradient */
.hero-gradient-overlay {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
}

/* Brand UI enhancements */
.btn-brand-gradient {
    background: linear-gradient(135deg, #3D7044, #093B74);
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px -3px rgba(61, 112, 68, 0.25);
}

.btn-brand-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-brand-gradient:hover::before {
    left: 100%;
}

.btn-brand-gradient:hover {
    background: linear-gradient(135deg, #093B74, #F2C66B) !important;
    box-shadow: 0 12px 24px -8px rgba(9, 59, 116, 0.45);
    transform: translateY(-3px);
}

.btn-secondary-brand {
    border: 2px solid #3D7044;
    color: #3D7044 !important;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-secondary-brand:hover {
    background-color: #093B74 !important;
    border-color: #093B74;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -6px rgba(9, 59, 116, 0.35);
}

.text-brand-gradient {
    background: linear-gradient(90deg, #3D7044, #093B74);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.bg-brand-translucent {
    background: rgba(217, 164, 65, 0.08);
    border: 1px solid rgba(61, 112, 68, 0.14);
}

.border-brand-gradient-hover {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.border-brand-gradient-hover:hover {
    border-color: rgba(9, 59, 116, 0.3) !important;
    box-shadow: 0 10px 25px -15px rgba(61, 112, 68, 0.2);
}

/* Hide scrollbar utility for property slider */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

html.lenis-smooth {
    scroll-behavior: auto;
  }
  
  body {
    overflow-x: hidden;
  }
  
  .nav-link {
    position: relative;
  }
  
  /* Hero building fade — white on left for copy, clear towers on right */
  .hero-bg-fade {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.96) 28%,
      rgba(255, 255, 255, 0.72) 48%,
      rgba(255, 255, 255, 0.55) 68%,
      rgba(255, 255, 255, 0.27) 86%
    );
  }

  @media (min-width: 1024px) {
    .hero-bg-fade {
      background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.92) 38%,
        rgba(255, 255, 255, 0.55) 58%,
        rgba(255, 255, 255, 0) 78%
      );
    }
  }

  .hero-stats {
    width: 100%;
  }

  .hero-stat {
    position: relative;
    padding: 0 6px;
    text-align: center;
  }
  
  .hero-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 12%;
    height: 76%;
    width: 1px;
    background: #E5E7EB;
  }
  
  .stat-icon {
    width: 28px;
    height: 28px;
    margin: 0 auto 6px;
    border-radius: 0;
    background: transparent;
    color: #3D7044;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stat-icon svg {
    width: 28px;
    height: 28px;
    display: block;
  }
  
  .stat-title {
    font-weight: 700;
    font-size: 10px;
    color: #111827;
    line-height: 1.25;
  }
  
  .stat-text {
    font-size: 9px;
    color: #64748B;
    margin-top: 2px;
    line-height: 1.3;
  }

  @media (min-width: 640px) {
    .hero-stat {
      padding: 0 12px;
    }

    .hero-stat:not(:last-child)::after {
      top: 8%;
      height: 84%;
    }

    .stat-icon {
      width: 42px;
      height: 42px;
      margin-bottom: 10px;
    }

    .stat-icon svg {
      width: 42px;
      height: 42px;
    }

    .stat-title {
      font-size: 13px;
    }

    .stat-text {
      font-size: 12px;
    }
  }
  
  .form-field {
    height: 58px;
    border: 1px solid #D1D5DB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    background: white;
    transition: 0.25s ease;
  }
  
  .form-field:focus-within {
    border-color: #093B74;
    box-shadow: 0 0 0 4px rgba(242, 198, 107, 0.14);
  }
  
  .form-field i {
    color: #374151;
    font-size: 15px;
    flex-shrink: 0;
  }
  
  .form-field input,
  .form-field select {
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
    background: transparent;
    color: #111827;
    font-size: 15px;
  }
  
  .form-field input::placeholder {
    color: #94A3B8;
  }

  /* Custom select dropdown */
  .form-field--select {
    position: relative;
    cursor: pointer;
    padding-right: 44px;
  }

  .form-field--select select {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
  }

  .custom-select-trigger {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 15px;
    color: #111827;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
  }

  .custom-select-trigger.is-placeholder {
    color: #94A3B8;
  }

  .form-field--select::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #64748B;
    border-bottom: 1.5px solid #64748B;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
    pointer-events: none;
  }

  .form-field--select.is-open::after {
    transform: translateY(-20%) rotate(-135deg);
    border-color: #093B74;
  }

  .form-field--select.is-open {
    border-color: #093B74;
    box-shadow: 0 0 0 4px rgba(242, 198, 107, 0.14);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 60;
  }

  .custom-select-menu {
    position: absolute;
    left: -1px;
    right: -1px;
    top: calc(100% + 1px);
    bottom: auto;
    z-index: 70;
    max-height: min(280px, 50vh);
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #093B74;
    border-top: 1px solid #E5E7EB;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 32px -12px rgba(17, 24, 39, 0.18);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
  }

  .form-field--select.is-open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Open upward when near bottom of viewport / contact bar */
  .form-field--select.opens-up.is-open {
    border-radius: 0 0 12px 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .form-field--select.opens-up .custom-select-menu {
    top: auto;
    bottom: calc(100% + 1px);
    border-radius: 12px 12px 0 0;
    border-top: 1px solid #093B74;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 -16px 32px -12px rgba(17, 24, 39, 0.18);
    transform: translateY(4px);
  }

  .form-field--select.opens-up.is-open .custom-select-menu {
    transform: translateY(0);
  }

  .custom-select-option {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #111827;
    font-size: 15px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .custom-select-option:hover,
  .custom-select-option:focus {
    background: rgba(242, 198, 107, 0.14);
    color: #3D7044;
    outline: none;
  }

  .custom-select-option.is-selected {
    background: #3D7044;
    color: #ffffff;
  }

  .custom-select-option.is-selected:hover,
  .custom-select-option.is-selected:focus {
    background: #093B74;
    color: #ffffff;
  }

  .custom-select-option.is-placeholder {
    color: #94A3B8;
  }

  .custom-select-option.is-placeholder:hover,
  .custom-select-option.is-placeholder:focus {
    color: #64748B;
    background: #F8FAFC;
  }

  /* Custom date picker */
  .form-field--date {
    position: relative;
    cursor: pointer;
  }

  .form-field--date input[type="date"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
  }

  .form-field--date.is-open {
    border-color: #093B74;
    box-shadow: 0 0 0 4px rgba(242, 198, 107, 0.14);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 60;
  }

  .custom-date-menu {
    position: absolute;
    left: -1px;
    right: -1px;
    top: calc(100% + 1px);
    bottom: auto;
    z-index: 70;
    background: #ffffff;
    border: 1px solid #093B74;
    border-top: 1px solid #E5E7EB;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 32px -12px rgba(17, 24, 39, 0.18);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
  }

  .form-field--date.is-open .custom-date-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .form-field--date.opens-up.is-open {
    border-radius: 0 0 12px 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .form-field--date.opens-up .custom-date-menu {
    top: auto;
    bottom: calc(100% + 1px);
    border-radius: 12px 12px 0 0;
    border-top: 1px solid #093B74;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 -16px 32px -12px rgba(17, 24, 39, 0.18);
    transform: translateY(4px);
  }

  .form-field--date.opens-up.is-open .custom-date-menu {
    transform: translateY(0);
  }

  .custom-date-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
  }

  .custom-date-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.01em;
  }

  .custom-date-nav {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .custom-date-nav:hover,
  .custom-date-nav:focus {
    background: rgba(242, 198, 107, 0.14);
    color: #093B74;
    outline: none;
  }

  .custom-date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
  }

  .custom-date-grid--labels {
    margin-bottom: 4px;
  }

  .custom-date-grid--labels span {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94A3B8;
    padding: 6px 0;
  }

  .custom-date-day {
    aspect-ratio: 1;
    min-height: 34px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .custom-date-day:hover:not(:disabled),
  .custom-date-day:focus:not(:disabled) {
    background: rgba(217, 164, 65, 0.14);
    color: #3D7044;
    outline: none;
  }

  .custom-date-day.is-outside {
    color: #CBD5E1;
  }

  .custom-date-day.is-today {
    box-shadow: inset 0 0 0 1.5px rgba(9, 59, 116, 0.45);
    color: #093B74;
    font-weight: 700;
  }

  .custom-date-day.is-selected,
  .custom-date-day.is-selected:hover,
  .custom-date-day.is-selected:focus {
    background: #3D7044;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 14px -6px rgba(61, 112, 68, 0.55);
  }

  .custom-date-day:disabled {
    color: #E2E8F0;
    cursor: default;
  }

  .custom-date-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
  }

  .custom-date-action {
    border: none;
    background: transparent;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
    color: #64748B;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .custom-date-action:hover,
  .custom-date-action:focus {
    background: #F8FAFC;
    color: #111827;
    outline: none;
  }

  .custom-date-action--today {
    color: #093B74;
  }

  .custom-date-action--today:hover,
  .custom-date-action--today:focus {
    background: rgba(242, 198, 107, 0.14);
    color: #3D7044;
  }

  /* Shared lead modal */
  .lead-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .lead-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .lead-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .lead-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    margin: auto;
    overflow: visible;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px 24px;
    box-shadow: 0 28px 60px -20px rgba(17, 24, 39, 0.35);
    transform: translateY(18px) scale(0.97);
    transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .lead-modal.is-open .lead-modal-dialog {
    transform: translateY(0) scale(1);
  }

  /* Keep unit dropdown above modal content / submit button */
  .lead-modal .form-field--select.is-open,
  .lead-modal .form-field--date.is-open {
    z-index: 80;
  }

  .lead-modal .custom-select-menu,
  .lead-modal .custom-date-menu {
    z-index: 90;
    max-height: none;
  }

  .lead-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #F8FAFC;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .lead-modal-close:hover,
  .lead-modal-close:focus {
    background: rgba(242, 198, 107, 0.16);
    color: #3D7044;
    outline: none;
  }

  body.lead-modal-open {
    overflow: hidden;
  }

  @media (min-width: 640px) {
    .lead-modal-dialog {
      padding: 32px;
    }
  }

  /* ---- Redesigned enquiry modal ("Receive complete details") ---- */
  .lead-modal-dialog {
    max-width: 440px;
    border-radius: 22px;
  }

  .lead-modal-close {
    border: 1px solid #E5E7EB;
    background: #ffffff;
    color: #B42318;
  }

  .hero-lead-card {
    border-radius: 16px;
    padding: 32px;
  }

  .hero-lead-heading {
    margin-bottom: 24px;
    text-align: center;
  }

  .hero-lead-heading h2 {
    color: #111827;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
  }

  .hero-lead-heading > span {
    display: block;
    width: 48px;
    height: 2px;
    margin: 12px auto 16px;
    background: #1684c4;
  }

  .hero-lead-heading p {
    color: #64748B;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .hero-form-field {
    height: 58px;
    border-radius: 12px;
    padding: 0 18px;
  }

  .hero-form-field:focus-within {
    border-color: #1684c4;
    box-shadow: 0 0 0 3px rgba(22, 132, 196, 0.14);
  }

  .hero-form-field i {
    color: #334155;
  }

  .hero-form-field input,
  .hero-form-field .custom-select-trigger {
    color: #111827;
    font-size: 15px;
  }

  .hero-form-field input::placeholder,
  .hero-form-field .custom-select-trigger.is-placeholder {
    color: #94A3B8;
  }

  .hero-form-field.form-field--select {
    padding-right: 44px;
  }

  .hero-form-field.form-field--select::after {
    border-color: #64748B;
  }

  .hero-lead-consent {
    font-size: 10px;
    line-height: 1.4;
  }

  .hero-lead-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 9px;
    background: #1684c4;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 16px -8px rgba(22, 132, 196, 0.55);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .hero-lead-submit:hover {
    background: #0f70aa;
    transform: translateY(-1px);
    box-shadow: 0 12px 20px -10px rgba(22, 132, 196, 0.65);
  }

  .hero-lead-submit:disabled {
    opacity: 0.85;
    cursor: wait;
    transform: none;
  }

  .hero-lead-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748B;
    font-size: 12px;
  }

  .hero-lead-note i {
    color: #111827;
    font-size: 11px;
  }

  @media (max-width: 639px) {
    .hero-lead-card {
      padding: 24px;
    }

    .hero-lead-heading h2 {
      font-size: 25px;
    }
  }

  .lm-eyebrow {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1F5A48;
    margin-bottom: 8px;
  }

  .lm-title {
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    color: #12271F;
    letter-spacing: -0.01em;
  }

  .lm-subtitle {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #6B7280;
  }

  .lm-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .lm-group {
    min-width: 0;
  }

  .lm-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #12271F;
    margin-bottom: 6px;
  }

  .lm-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #E2E5E9;
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    color: #12271F;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .lm-input::placeholder,
  .lm-phone input::placeholder {
    color: #9CA3AF;
  }

  .lm-input:focus,
  .lm-phone:focus-within {
    border-color: #1F5A48;
    box-shadow: 0 0 0 3px rgba(31, 90, 72, 0.14);
  }

  .lm-phone {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .lm-phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
  }

  /* CSS-only Indian flag */
  .lm-flag {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    background:
      radial-gradient(circle at center, #1E3A8A 0 1.4px, transparent 1.6px),
      linear-gradient(#FF9933 0 33.33%, #ffffff 33.33% 66.66%, #138808 66.66% 100%);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15);
  }

  .lm-code {
    font-size: 14px;
    color: #12271F;
  }

  .lm-phone input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #12271F;
  }

  .lm-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 10.5px;
    line-height: 1.55;
    color: #6B7280;
    cursor: pointer;
  }

  .lm-consent input {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    border: 1.5px solid #9CA3AF;
    border-radius: 3px;
    background: #ffffff;
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
  }

  .lm-consent input::after {
    content: "";
    width: 8px;
    height: 4px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) translate(1px, -1px);
    opacity: 0;
  }

  .lm-consent input:checked {
    background: #173D33;
    border-color: #173D33;
  }

  .lm-consent input:checked::after {
    opacity: 1;
  }

  .lm-consent input:focus-visible {
    outline: 2px solid rgba(31, 90, 72, 0.35);
    outline-offset: 2px;
  }

  .lm-link {
    color: #12271F;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .lm-submit {
    width: 100%;
    height: 48px;
    margin-top: 2px;
    border: 0;
    border-radius: 999px;
    background: #173D33;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px -10px rgba(23, 61, 51, 0.6);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .lm-submit:hover {
    background: #1F5A48;
    transform: translateY(-1px);
    box-shadow: 0 14px 26px -12px rgba(23, 61, 51, 0.7);
  }

  .lm-submit:disabled {
    opacity: 0.85;
    cursor: wait;
    transform: none;
  }

  .lm-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11px;
    color: #6B7280;
  }

  @media (min-width: 640px) {
    .lm-title {
      font-size: 30px;
    }
  }

  @media (max-width: 1023px) {
    .floor-plan-cards {
      position: relative;
    }

    .floor-plan-card {
      width: 100%;
    }
  }

  /* Amenities walkthrough video — stable cursor follow */
  @media (min-width: 1024px) {
    .amenities-section {
      overflow: visible;
    }

    .amenities-video-wrap {
      transform-origin: right top;
      will-change: transform;
      backface-visibility: hidden;
    }
  }

  .amenities-video-wrap.is-playing {
    cursor: none;
  }

  .amenities-video-wrap.is-playing .amenities-play-idle {
    opacity: 0;
    pointer-events: none;
  }

  .amenities-video-wrap.is-playing.is-hovering .amenities-play-cursor {
    opacity: 1;
    pointer-events: auto;
  }

  .amenities-play-cursor {
    transition: opacity 0.2s ease;
  }

  .amenities-video-wrap video::-webkit-media-controls {
    display: none !important;
  }
  
  .trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
  }
  
  .trust-icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(217, 164, 65, 0.14);
    color: #3D7044;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  
  .trust-item h3 {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.3;
  }
  
  .trust-item p {
    color: #64748B;
    font-size: 12px;
    line-height: 1.55;
  }
  
  @media (max-width: 640px) {
    .hero-stat:not(:last-child)::after {
      content: "";
      position: absolute;
      right: 0;
      top: 12%;
      height: 76%;
      width: 1px;
      background: #E5E7EB00;
    }
    .trust-item {
      padding: 12px 8px;
    }
  }

  /* Keep the site-visit form controls consistent with the shared lead form. */
  #siteVisitForm .sitevisit-form-control {
    height: 46px;
    min-width: 0;
    gap: 0;
    padding: 0 14px;
    border-color: #E2E5E9;
    border-radius: 10px;
    box-shadow: none;
  }

  #siteVisitForm .sitevisit-form-control:focus-within,
  #siteVisitForm .sitevisit-form-control.is-open {
    border-color: #1F5A48;
    box-shadow: 0 0 0 3px rgba(31, 90, 72, 0.14);
  }

  #siteVisitForm .sitevisit-form-control select,
  #siteVisitForm .sitevisit-form-control input,
  #siteVisitForm .sitevisit-form-control .custom-select-trigger {
    font-size: 14px;
    color: #12271F;
  }

  #siteVisitForm .sitevisit-form-control .custom-select-trigger.is-placeholder {
    color: #9CA3AF;
  }

  #siteVisitForm .sitevisit-form-control.form-field--select {
    padding-right: 42px;
  }