.error-name, .error-email, .error-phone, .error-email-valid, .error-phone-valid {
    color: red;
    float: left;
    margin-bottom: 10px;
    display: none;
}

#loading_bottom_1, #loading_bottom_2, #loading_bottom_3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

#contactForm {
    position: relative;
}



:root {
  --bg: #031f38;
  --surface: rgba(255, 255, 255, 0.08);
  --card: #0c2c55;
  --text: #eef3fb;
  --muted: #9cb5d8;
  --accent: #ffbfa6;
  --accent-dark: #d88f76;
  --border: rgba(255, 191, 166, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, rgba(3, 31, 56, 0.88), #020d1e 55%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
}

.header-inner,
.hero-grid,
.info-grid,
.location-grid,
.footer-grid {
  display: grid;
  gap: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 31, 56, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px 0;
}

.brand {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  transition: max-height 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.footer-links a:hover,
.site-footer a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 12px;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-bar {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open .menu-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .menu-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links.open {
  max-height: 320px;
  opacity: 1;
  visibility: visible;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 64px 0 40px;
  background-image: url('../images/slider/slider-01.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 31, 56, 0.3) 0%, rgba(2, 13, 30, 0.95) 80%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  grid-template-columns: minmax(280px, 1.2fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: 32px;
}

.hero-copy {
  max-width: 560px;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 191, 166, 0.14);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(3rem, 4vw, 4.4rem);
  line-height: 1.02;
  margin: 0 0 20px;
  letter-spacing: -0.04em;
}

.hero-text,
.section-meta,
.form-note,
.form-privacy,
.feature-card p,
.amenities article p,
.location-copy p,
.developer-copy p,
.footer-brand,
.site-footer p {
  color: var(--muted);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 32px;
}

.hero-badges span {
  display: inline-flex;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #3d73ff, #56a1ff);
  color: #fff;
  box-shadow: 0 18px 40px rgba(61, 115, 255, 0.28);
}

.btn-secondary {
  background: rgba(255, 191, 166, 0.14);
  color: var(--text);
  border: 1px solid rgba(255, 191, 166, 0.25);
}

.btn-full {
  width: 100%;
}

.lead-form-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 32px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  width: 100%;
  max-width: 420px;
  min-width: auto;
}

.lead-header {
  margin-bottom: 28px;
}

.lead-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 10px;
  display: inline-block;
}

h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  margin: 0;
}

.lead-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form select {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.96rem;
}

.lead-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.96rem;
}

.lead-form input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.form-privacy,
.form-note {
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 14px 0 0;
}

.form-privacy a {
  color: var(--accent);
  text-decoration: none;
}

.section-header {
  padding: 80px 0 24px;
}

.section-meta {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-grid,
.amenities-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.amenities-grid article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px;
}

.feature-number {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-card h3,
.amenities-grid article h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.feature-card p,
.amenities-grid article p {
  margin: 0;
  line-height: 1.8;
}

.info-section {
  padding: 60px 0;
}

.info-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.price-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
}

.price-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.price-card p {
  margin: 0;
  color: var(--muted);
}

.price-value {
  margin-top: 24px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
}

.amenities {
  padding-bottom: 80px;
}

.location-section {
  padding: 0 0 80px;
}

.location-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px;
}

.location-copy ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.location-copy li {
  position: relative;
  padding-left: 26px;
}

.location-copy li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.location-map {
  border-radius: 32px;
  overflow: hidden;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 1.1rem;
}

.cta-section {
  padding: 80px 0;
}

.final-cta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.developer-section {
  padding: 0 0 100px;
}

.developer-copy {
  display: grid;
  gap: 18px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-badges span {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.mobile-stickymenu {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(2, 13, 30, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
  gap: 12px;
  justify-content: center;
  align-items: center;
  z-index: 30;
}

.mobile-stickymenu a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 14px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.mobile-stickymenu a .icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

@media (max-width: 980px) {
  .header-inner,
  .info-grid,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 70px 0 36px;
  }

  .hero-copy {
    padding: 0 8px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .lead-form-card {
    padding: 24px;
    width: 100%;
    max-width: 100%;
  }

  .feature-grid,
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-stickymenu {
    display: flex;
  }

  body {
    padding-bottom: 86px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .hero-badges {
    flex-direction: column;
  }
}
/* =========================
   LARGE SCREENS (1200px)
========================= */
@media (max-width: 1200px) {
  .container {
    width: calc(100% - 40px);
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================
   TABLETS (992px)
========================= */
@media (max-width: 992px) {
  .site-header {
    width: 100%;
    left: 0;
    right: 0;
  }

  .header-inner,
  .info-grid,
  .location-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-inner {
    position: relative;
    grid-template-columns: auto auto;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 31, 56, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0 24px;
    z-index: 10;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-radius: 16px;
  }

  .nav-links.open {
    max-height: 320px;
    opacity: 1;
    visibility: visible;
    padding: 16px 24px 18px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .lead-form-card {
    margin: 0 auto;
  }

  .feature-grid,
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================
   MOBILE (768px)
========================= */
@media (max-width: 768px) {

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .hero {
    padding: 80px 0 40px;
    text-align: center;
  }

  .hero-copy {
    padding: 0 10px;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .lead-form-card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .feature-grid,
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .final-cta {
    flex-direction: column;
    text-align: center;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .mobile-stickymenu {
    display: flex;
  }

  body {
    padding-bottom: 90px;
  }
}


/* =========================
   SMALL MOBILE (480px)
========================= */
@media (max-width: 480px) {

  .header-inner {
    grid-template-columns: auto auto;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .hero-badges span {
    width: 100%;
    justify-content: center;
  }

  .btn {
    padding: 14px;
    font-size: 0.9rem;
  }

  .lead-form input,
  .lead-form select {
    padding: 14px;
    font-size: 0.9rem;
  }

  .price-value {
    font-size: 1.4rem;
  }

  .final-cta {
    padding: 24px;
  }
}
/* ============================================================
   REAL ESTATE LANDING PAGE — IMPROVED CSS
   Mobile-first, fully responsive, premium UI/UX
   ============================================================ */

/* ── 1. CSS CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --bg:           #031f38;
  --surface:      rgba(255, 255, 255, 0.08);
  --card:         #0c2c55;
  --text:         #eef3fb;
  --muted:        #9cb5d8;
  --accent:       #ffbfa6;
  --accent-dark:  #d88f76;
  --border:       rgba(255, 191, 166, 0.18);
  --shadow:       0 24px 60px rgba(0, 0, 0, 0.25);
  --shadow-btn:   0 18px 40px rgba(61, 115, 255, 0.32);
  --radius-sm:    18px;
  --radius-md:    28px;
  --radius-lg:    34px;
  --radius-pill:  999px;
  --transition:   0.25s ease;
  --font-body:    'DM Sans', 'Inter', sans-serif;
  --font-display: 'Sora', 'Inter', sans-serif;
}


/* ── 2. RESET & BASE ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Kill horizontal scroll at the root */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at top, rgba(3, 31, 56, 0.88), #020d1e 55%);
  color: var(--text);
  min-height: 100dvh;
  /* Belt + suspenders: no horizontal overflow ever */
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  transition: color var(--transition);
}


/* ── 3. LAYOUT HELPERS ────────────────────────────────────── */
.container {
  /* Responsive container with safe horizontal padding */
  width: min(1120px, 100%);
  padding-inline: clamp(16px, 4vw, 48px);
  margin-inline: auto;
}


/* ── 4. TYPOGRAPHY SCALE ──────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.3;
  margin-bottom: 12px;
}

p {
  line-height: 1.75;
  font-size: clamp(0.93rem, 1.2vw, 1rem);
}

.hero-text,
.section-meta,
.form-note,
.form-privacy,
.feature-card p,
.amenities article p,
.location-copy p,
.developer-copy p,
.footer-brand,
.site-footer p {
  color: var(--muted);
}


/* ── 5. STICKY HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  inset-inline: 0;            /* prevents any horizontal overflow */
  z-index: 100;
  background: rgba(3, 31, 56, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
}

/* Brand */
.brand {
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}

/* Underline hover effect */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* CTA pill in nav */
.nav-cta {
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ── Hamburger toggle ── */
.menu-toggle {
  display: none;           /* hidden on desktop */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  transition: background var(--transition);
  /* Place it on the right of the grid */
  justify-self: end;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.32s ease;
  will-change: transform, opacity;
}

/* Animated X state */
.menu-toggle.open .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open .menu-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.open .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ── 17. MOBILE STICKY MENU ───────────────────────────────── */
.mobile-stickymenu {
  display: none;   /* shown via media query below */
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: rgba(2, 13, 30, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px 16px;
  gap: 10px;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.mobile-stickymenu a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.mobile-stickymenu a:hover { background: rgba(255, 255, 255, 0.14); }

.mobile-stickymenu a .icon {
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  color: var(--accent);
}


/* ── 18. SMOOTH SCROLL OFFSET for sticky header ──────────── */
:target { scroll-margin-top: 90px; }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS  (mobile-first → up)
══════════════════════════════════════════════════════════ */

/* ── TABLET ≥ 640px ───────────────────────────────────────── */
@media (min-width: 640px) {

  .feature-grid,
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-actions {
    flex-wrap: nowrap;
  }
}


/* ── TABLET/LAPTOP ≥ 900px ────────────────────────────────── */
@media (min-width: 900px) {

  /* Show desktop nav, hide hamburger */
  .nav-links {
    display: flex !important;   /* override JS-toggled state */
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    max-height: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;
    border: none;
    padding: 0;
    overflow: visible;
  }

  .menu-toggle { display: none; }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    text-align: left;
  }

  /* Hero two-column */
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    text-align: left;
  }

  .hero-copy { margin: 0; }

  .lead-form-card {
    margin: 0;
    max-width: 420px;
  }

  .hero-badges { justify-content: flex-start; }

  .hero-actions { justify-content: flex-start; }

  /* Info two-column */
  .info-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  /* Location two-column */
  .location-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer row */
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}


/* ── DESKTOP ≥ 1024px ─────────────────────────────────────── */
@media (min-width: 1024px) {

  .feature-grid,
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ══════════════════════════════════════════════════════════
   MOBILE-SPECIFIC OVERRIDES  (max-width, for fixes only)
══════════════════════════════════════════════════════════ */

/* ── Tablet ≤ 900px: hamburger menu ──────────────────────── */
@media (max-width: 899px) {

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    position: relative;
  }

  /* Collapsible nav drawer */
  .nav-links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: rgba(3, 31, 56, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding-inline: 20px;
    z-index: 50;
    /* Smooth slide + fade */
    transition:
      max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
      opacity    0.3s ease,
      visibility 0.3s ease,
      padding    0.3s ease;
  }

  .nav-links.open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    padding-block: 16px;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 8px;
    border-radius: 14px;
    font-size: 1rem;
  }

  /* Stagger nav items on open */
  .nav-links.open a:nth-child(1) { animation: slideIn 0.25s 0.05s both; }
  .nav-links.open a:nth-child(2) { animation: slideIn 0.25s 0.10s both; }
  .nav-links.open a:nth-child(3) { animation: slideIn 0.25s 0.15s both; }
  .nav-links.open a:nth-child(4) { animation: slideIn 0.25s 0.20s both; }
  .nav-links.open a:nth-child(5) { animation: slideIn 0.25s 0.25s both; }

  @keyframes slideIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  /* Hero: centre everything */
  .hero-copy {
    margin-inline: auto;
    text-align: center;
  }

  .hero-badges { justify-content: center; }
  .hero-actions { justify-content: center; }

  .lead-form-card {
    margin-inline: auto;
    max-width: 480px;
    width: 100%;
  }
}


/* ── Small mobile ≤ 600px ─────────────────────────────────── */
@media (max-width: 600px) {

  .hero { padding-block: 76px 40px; }

  .final-cta {
    flex-direction: column;
    text-align: center;
  }

  .final-cta .btn { width: 100%; }

  /* Show bottom sticky bar */
  .mobile-stickymenu { display: flex; }

  body { padding-bottom: 88px; }

  .hero-badges {
    flex-direction: column;
    align-items: center;
  }

  .hero-badges span { width: 100%; justify-content: center; }

  .trust-badges { justify-content: center; }
}


/* ── Very small screens ≤ 380px ──────────────────────────── */
@media (max-width: 380px) {

  .header-inner {
    grid-template-columns: auto auto;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .btn {
    padding: 13px 18px;
    font-size: 0.88rem;
  }

  .lead-form input,
  .lead-form select {
    padding: 12px 14px;
    font-size: 0.88rem;
  }
}


/* Custom CAPTCHA Section */
.captcha-section {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 10px;
    margin: 22px 0;
    border: 2px solid #e2e8f0;
    position: relative;
}

.captcha-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary-color);
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.captcha-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    background: var(--white-color);
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--primary-color);
    user-select: none;
    text-align: center;
    flex-grow: 1;
    margin-right: 20px;
    border: 1px dashed #cbd5e1;
}

.captcha-refresh-btn {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(12, 74, 110, 0.2);
}

.captcha-refresh-btn:hover {
    transform: rotate(180deg);
    box-shadow: 0 8px 20px rgba(12, 74, 110, 0.3);
}

.captcha-input-container {
    margin-bottom: 15px;
}

.captcha-input {
    width: 100%;
    padding: 8px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    background-color: var(--white-color);
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.1);
}

.captcha-message {
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
}

.captcha-success {
    background-color: #d1fae5;
    color: #065f46;
    display: flex;
}

.captcha-error {
    background-color: #fee2e2;
    color: #991b1b;
    display: flex;
}
