/* Built by ArpitKM */
/* ==========================================================================
   MY HOME ANANDAM - Whitefield Annex, Bengaluru
   --------------------------------------------------------------------------
   RE-COLOUR FOR A NEW BRAND: change the values in "1. BRAND" below
   (and the banner text colours in "6. BANNER" if needed).
   Everything on the page (buttons, headings, icons, forms) follows them.

   Mobile first: the base styles are the phone layout. Bigger screens are
   added in the @media blocks inside each section:
     768px  = tablet
     1024px = desktop
     1200px = full menu in the header

   CONTENTS
     1. Brand (colours + fonts)        10. Amenities
     2. Base + swipe rows              11. Plans
     3. Buttons, icons, badges         12. Gallery
     4. Forms                          13. Location
     5. Header + menu                  14. Brochure, FAQs, Site Visit (contact)
     6. Banner (hero)                  15. Footer
     7. Overview     16. Sticky bar, WhatsApp, Pop-up, Viewer
     8. Residences & price                 17. Animations
     9. Highlights                     18. Thank-you + Privacy pages
                                       19. Form extras
   ========================================================================== */


/* ==================== 1. BRAND ==================== */
:root {
  /* Brand colours (theme: #AE2D33) */
  --forest: #5a1a20;          /* deep maroon: headings, dark buttons, active tabs, icons */
  --forest-deep: #2c0d10;     /* footer background */
  --sage: #c47a80;            /* timeline, small details (a lighter shade of the brand red) */
  --sage-soft: #f7e7e6;       /* light rose tint (icon circles, chips, brochure band) */
  --accent: #ae2d33;          /* brand red: main buttons, prices, labels */
  --accent-dark: #8a2227;     /* button hover + red text on light backgrounds */
  --accent-light: #efc9a0;    /* champagne text on the footer / banner photo */
  --on-accent: #ffffff;       /* text on red buttons */

  /* Neutrals */
  --cream: #fbf6f1;           /* light sections, header, menu */
  --sand: #f4e9e1;            /* warm sections (banner panel, residences, amenities, gallery, FAQs) */
  --white: #ffffff;           /* cards and forms */
  --text: #2b1d1e;            /* body text */
  --muted: #6b5b5c;           /* secondary text */
  --line: #e9dcd4;            /* borders */
  --line-strong: #d6c2b8;     /* stronger borders (tabs, inputs) */
  --on-dark: #f9eeea;         /* text on the footer maroon */
  --on-dark-muted: #d9c4c1;   /* secondary text on the footer maroon */
  --error: #b3261e;
  --whatsapp: #25d366;

  /* Fonts (also update the Google Fonts link in the 3 HTML files) */
  --font-display: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Mulish', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --bar-h: 62px; /* mobile sticky bar */
}


/* ==================== 2. BASE + SWIPE ROWS ==================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); /* room for the mobile sticky bar */
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.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;
}

.section { padding: 46px 0; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }

.section-head { margin-bottom: 22px; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head__note { font-size: 14px; color: var(--muted); }

.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50% 0; background: var(--sage); transform: rotate(-45deg); flex-shrink: 0; }

.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.55rem, 5vw, 2.4rem); line-height: 1.2; letter-spacing: -0.01em;
  color: var(--forest);
}

.note { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* Grid / flex columns may shrink below their content (stops swipe rows / tabs
   from stretching the page wider than the phone screen) */
.hero__inner > *, .hero__content > *, .highlights__grid > *, .overview__grid > *, .amenities__grid > *, .amenities__info > *,
.plans__panel > *, .location__grid > *, .location__info > *, .faqs__grid > *, .contact__card > * { min-width: 0; }

/* Swipe row (phones): cards side by side, swipe left / right, the next card peeks in.
   Each section turns it into a grid on bigger screens. */
.swipe {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
}
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { flex: 0 0 80%; max-width: 360px; min-width: 0; scroll-snap-align: start; }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 32px; }
  .swipe > * { flex-basis: 46%; }
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; font-size: 16px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head__note { font-size: 15px; }
}


/* ==================== 3. BUTTONS, ICONS, BADGES ==================== */
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font-family: var(--font-body); font-size: 14px; font-weight: 800; letter-spacing: .03em;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 999px;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark:hover { background: var(--forest-deep); }
.btn--ghost { border-color: var(--forest); color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .75; cursor: wait; }

.btn-spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); box-shadow: 0 0 0 3px rgba(239, 201, 160, .3); }


/* ==================== 4. FORMS ==================== */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  color: var(--text);
  box-shadow: 0 18px 48px rgba(60, 14, 18, .12);
}
.form-card__eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; }
.form-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.25; color: var(--forest); margin-bottom: 16px; }

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

.field { position: relative; display: flex; align-items: stretch; }
.field input {
  width: 100%; min-width: 0; height: 54px; padding: 0 16px;
  font: inherit; font-size: 16px; /* 16px stops iPhone zooming in */
  color: var(--text); background: var(--cream);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus { outline: none; border-color: var(--forest); background: var(--white); }

/* Fixed +91 in front of the phone box */
.field__prefix {
  display: flex; align-items: center; padding: 0 12px 0 16px;
  font-size: 16px; font-weight: 800; color: var(--forest);
  background: var(--sage-soft);
  border: 1.5px solid var(--line-strong); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.field--phone input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding-left: 12px; }
.field--phone:focus-within .field__prefix { border-color: var(--forest); }

/* Turnstile box: must stay display:block (lead-guard.js only renders it once it has a width).
   It stays invisible unless Cloudflare asks the visitor to click. */
.lead-turnstile { width: 100%; margin: 0; min-height: 0; }

.form-error { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--error); }
.form-error:empty { display: none; }

.form-consent { font-size: 12px; line-height: 1.55; color: var(--muted); }
.form-consent a { color: var(--accent-dark); font-weight: 700; }

@media (min-width: 768px) {
  .form-card { padding: 30px; }
}


/* ==================== 5. HEADER + MENU ==================== */
/* Full-width bar. No backdrop-filter / filter / transform here: it would trap
   the full-screen phone menu inside the header bar. */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s;
}
.header.is-solid { box-shadow: 0 6px 24px rgba(60, 14, 18, .1); }

.header__bar { height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__logo { margin-right: auto; flex-shrink: 0; }
.header__logo img { width: auto; }
.header__actions { display: flex; align-items: center; gap: 8px; }

.header__call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-soft); color: var(--forest); text-decoration: none;
  font-weight: 800; font-size: 14.5px;
}
.header__call .icon { width: 20px; height: 20px; }
.header__call span { display: none; }
.header__enquire { display: none; }

.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 50%; }
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--forest); transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Phone / tablet menu: full screen under the header */
.nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column;
  padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--cream); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav a {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.3;
  color: var(--forest); text-decoration: none;
}
.nav__cta { margin-top: 28px; }
body.menu-open { overflow: hidden; }

@media (min-width: 768px) {
  .header__enquire { display: inline-flex; min-height: 44px; padding: 0 20px; margin-left: 4px; }
}
@media (min-width: 1024px) {
  .header__bar { padding: 0 40px; }
}
/* Full menu in the header from 1200px (below that: menu button) */
@media (min-width: 1200px) {
  .menu-toggle { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 24px; margin-right: 20px;
    padding: 0; background: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav a {
    padding: 6px 0; border: 0;
    font-family: var(--font-body); font-size: 14px; font-weight: 700;
    color: var(--forest); transition: color .2s;
  }
  .nav a:hover { color: var(--accent-dark); }
  .nav__cta { display: none; }
}
@media (min-width: 1440px) {
  .nav { gap: 32px; }
  .header__call { width: auto; height: 46px; padding: 0 18px; border-radius: 999px; }
  .header__call span { display: inline; }
}


/* ==================== 6. BANNER (HERO) ====================
   Phone: photo on top with badge + name + location on it; pointers, price and ONE
   button below on the sand panel (no form: the pop-up is the only form on phones).
   Tablet / desktop (768px+): full-screen photo with a deep maroon fade on the left,
   headline + price + buttons + key facts at the left edge, and a slim glass enquiry
   bar along the bottom (the form never covers the photo). */
.hero {
  --hero-photo-h: clamp(400px, 60svh, 640px); /* phone photo height (price + button stay on the first screen) */
  --hero-ink: 38, 8, 12;                      /* colour of the soft darkening (r, g, b) - deep maroon-black */
  --hero-text: #ffffff;                       /* banner text on the photo */
  --hero-accent: #f3d3ae;                     /* price + icons on the photo (champagne) */
  --hero-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 20px rgba(0, 0, 0, .45);
  position: relative; background: var(--sand); color: var(--text);
}

.hero__media { display: block; position: absolute; top: 0; left: 0; right: 0; height: var(--hero-photo-h); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { /* soft darkening at the bottom only, where the text sits */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(var(--hero-ink), 0) 50%, rgba(var(--hero-ink), .4) 76%, rgba(var(--hero-ink), .66) 100%);
}

.hero__inner { position: relative; padding: 0 var(--gutter) 28px; display: grid; gap: 20px; }

.hero__content { display: flex; flex-direction: column; align-items: flex-start; }

.hero__intro {
  width: 100%; min-height: var(--hero-photo-h);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: calc(var(--header-h) + 16px) 0 20px;
  color: var(--hero-text); text-shadow: var(--hero-shadow);
}
.hero__intro .badge {
  background: rgba(var(--hero-ink), .45); border: 1px solid rgba(255, 255, 255, .55);
  color: var(--hero-text); text-shadow: none;
}

.hero__title {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.06; letter-spacing: -0.015em;
  color: var(--hero-text);
}
.hero__location { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--hero-text); }
.hero__location .icon { width: 17px; height: 17px; color: var(--hero-accent); filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)); }

.hero__lead { display: none; } /* tablet + desktop only */

/* Short vertical pointers with small icons (phones; tablet / desktop use the facts strip) */
.hero__points { width: 100%; margin-top: 14px; display: grid; gap: 7px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--forest); }
.hero__points .icon { width: 18px; height: 18px; color: var(--accent); }

.hero__price {
  width: 100%; margin-top: 14px; padding-left: 12px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; border-left: 3px solid var(--accent);
}
.hero__price-label { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.45; }
.hero__price-value { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--accent-dark); white-space: nowrap; }
.hero__price-value sup { font-size: .5em; }

.hero__buy { width: 100%; }
.hero__ctas { width: 100%; margin-top: 14px; display: flex; gap: 12px; }
.hero__ctas .btn { width: 100%; }
.hero__ctas .hero__call { display: none; }

/* Glass button (white outline on the photo) */
.btn--glass {
  color: #fff; border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  text-shadow: none;
}
.btn--glass:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }

/* Banner form + facts: tablet + desktop only */
.hero__form, .hero__facts { display: none; }

@media (min-width: 768px) {
  .hero { min-height: max(660px, 100svh); display: flex; }
  .hero__media { inset: 0; height: auto; }
  .hero__media::after { /* deep maroon fade on the left (behind the text) + the bottom (behind the bar) */
    background:
      linear-gradient(90deg, rgba(var(--hero-ink), .8) 0, rgba(var(--hero-ink), .56) 34%, rgba(var(--hero-ink), .12) 62%, rgba(var(--hero-ink), 0) 80%),
      linear-gradient(to top, rgba(var(--hero-ink), .74) 0, rgba(var(--hero-ink), .2) 34%, rgba(var(--hero-ink), 0) 52%),
      linear-gradient(to bottom, rgba(var(--hero-ink), .3) 0, rgba(var(--hero-ink), 0) 20%);
  }

  /* Text at the left edge (lined up with the logo), enquiry bar underneath */
  .hero__inner {
    width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 30px;
    padding: calc(var(--header-h) + 36px) var(--gutter) calc(var(--bar-h) + 28px); /* clear of the sticky bar */
  }
  .hero__content { color: var(--hero-text); text-shadow: var(--hero-shadow); }
  .hero__intro { min-height: 0; padding: 0; }
  .hero__title { font-size: clamp(2.5rem, 6.4vw, 3.6rem); margin-top: 14px; }
  .hero__location { margin-top: 10px; font-size: 15px; }

  .hero__lead {
    display: block; max-width: 540px; margin-top: 16px;
    font-size: 16px; font-weight: 600; line-height: 1.55; color: rgba(255, 255, 255, .92);
  }
  .hero__points { display: none; }

  /* Price + buttons on one row */
  .hero__buy { width: auto; margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .hero__price {
    width: auto; margin-top: 0; padding: 12px 20px 12px 16px;
    border-left: 3px solid var(--hero-accent); border-radius: 0 12px 12px 0;
    background: rgba(var(--hero-ink), .4);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .hero__price-label { color: rgba(255, 255, 255, .92); }
  .hero__price-value { font-size: 2.3rem; color: var(--hero-accent); }

  .hero__ctas { width: auto; margin-top: 0; flex-wrap: wrap; }
  .hero__ctas .btn { width: auto; padding: 0 28px; min-height: 52px; text-shadow: none; }
  .hero__ctas .hero__call { display: inline-flex; }

  /* Key facts: one light row under the buttons */
  .hero__facts {
    display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 44px; max-width: 880px;
    margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .24);
    text-shadow: none;
  }
  .hero__facts li { display: flex; align-items: center; gap: 11px; min-width: 0; }
  .fact-ico {
    width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
    border-radius: 50%; background: rgba(243, 211, 174, .16); border: 1px solid rgba(243, 211, 174, .35); color: var(--hero-accent);
  }
  .fact-ico .icon { width: 19px; height: 19px; }
  .fact-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .fact-txt strong { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; }
  .fact-txt > span { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }

  /* Enquiry bar: frosted glass, slim. Tablet: title on top, fields 2 x 2 */
  .hero__form {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
    padding: 16px 18px 14px; color: #fff;
    border-radius: 18px; border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(var(--hero-ink), .56);
    -webkit-backdrop-filter: blur(16px) saturate(1.15); backdrop-filter: blur(16px) saturate(1.15);
    box-shadow: 0 22px 54px rgba(26, 6, 8, .4);
  }
  .hero__form .form-card__eyebrow { margin-bottom: 3px; font-size: 10.5px; color: var(--hero-accent); }
  .hero__form .form-card__title { margin: 0; font-size: 1.15rem; line-height: 1.2; color: #fff; }

  .hero__form .lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 8px; }
  .hero__form .field input { height: 48px; }
  .hero__form .field input:focus { border-color: var(--hero-accent); }
  .hero__form .lead-form .btn { grid-column: 2; grid-row: 2; min-height: 48px; }
  .hero__form .lead-turnstile { grid-column: 1 / -1; grid-row: 3; }
  .hero__form .form-consent { grid-column: 1 / -1; grid-row: 4; margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .78); }
  .hero__form .form-consent a { color: var(--hero-accent); }
}

@media (min-width: 1024px) {
  .hero__inner { padding: calc(var(--header-h) + 44px) 40px 40px; gap: 34px; }  /* 40px: same left edge as the logo */
  .hero__title { font-size: clamp(3.2rem, 5.2vw, 4.7rem); }
  .hero__lead { font-size: 17.5px; max-width: 580px; }
  .hero__facts { display: flex; flex-wrap: wrap; gap: 14px 38px; }
  .fact-txt strong { font-size: 1.2rem; }
  .fact-txt > span { font-size: 11.5px; }

  /* Bar: title on the left, name | mobile | email | button on one row */
  .hero__form {
    grid-template-columns: clamp(140px, 13vw, 185px) minmax(0, 1fr); align-items: center; column-gap: 22px;
    max-width: 1240px; margin-right: 60px; /* stays clear of the floating WhatsApp button */
    padding: 16px 20px 14px;
  }
  .hero__form .lead-form { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; }
  .hero__form .lead-form .btn { grid-column: 4; grid-row: 1; padding: 0 28px; white-space: nowrap; }
  .hero__form .lead-turnstile { grid-row: 2; }
  .hero__form .form-consent { grid-row: 3; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .hero__form { grid-template-columns: minmax(0, 1fr); margin-right: 56px; }
  .hero__form-head { display: none; } /* the form keeps its name through aria-labelledby */
}

/* Short desktop screens (laptops): drop the intro line so headline, price, facts and bar fit one screen */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero__inner { padding-top: calc(var(--header-h) + 18px); padding-bottom: 28px; gap: 22px; }
  .hero__title { font-size: clamp(2.8rem, 4.6vw, 4rem); }
  .hero__lead { display: none; }
  .hero__buy { margin-top: 18px; }
  .hero__price { padding-block: 9px; }
  .hero__price-value { font-size: 2rem; }
  .hero__facts { margin-top: 20px; padding-top: 16px; }
}


/* ==================== 7. OVERVIEW ==================== */
.overview__grid { display: grid; gap: 28px; }
.overview__text { margin-top: 16px; display: grid; gap: 12px; color: var(--muted); }
.overview__text p:last-child { font-weight: 700; color: var(--forest); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats li { padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 14px; display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.1; color: var(--forest); }
.stats span { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); }

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .overview__text { font-size: 15.5px; }
}
@media (min-width: 1024px) {
  .overview__grid { grid-template-columns: 1.15fr 1fr; align-items: center; column-gap: 72px; }
  .overview__text { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 24px 26px; }
  .stats strong { font-size: 2.2rem; }
}


/* ==================== 8. RESIDENCES & PRICE ==================== */
.home-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(60, 14, 18, .06);
}
.home-card > img { width: 100%; aspect-ratio: 640 / 460; object-fit: cover; }
.home-card__body { flex: 1; display: flex; flex-direction: column; padding: 18px 18px 20px; }
.home-card__tag { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.home-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.2; color: var(--forest); margin: 2px 0 14px; }

.home-card__specs { display: grid; gap: 6px; margin-bottom: 16px; }
.home-card__specs div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 14px; background: var(--cream); border-radius: var(--radius-sm);
}
.home-card__specs dt { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.home-card__specs dd { font-size: 15px; font-weight: 800; color: var(--text); text-align: right; }

.home-card__foot { margin-top: auto; display: grid; gap: 12px; }
.home-card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.1; color: var(--accent-dark); }
.home-card__price span { font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.home-card__price sup { font-size: .5em; }
.home-card__price strong { font: inherit; white-space: nowrap; }
.home-card__foot .btn { width: 100%; }

@media (min-width: 1024px) {
  .residences__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; overflow: visible; }
  .residences__grid > * { max-width: none; }
  .home-card__body { padding: 22px 24px 24px; }
  .home-card__name { font-size: 1.5rem; }
}


/* ==================== 9. HIGHLIGHTS ====================
   10 compact tiles: 2 columns on phones, 2 (icon beside text) on tablet, 5 x 2 on desktop. */
.highlights__grid { display: grid; gap: 24px; }
.highlights__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.highlights__head .btn { display: none; } /* phones: the sticky bar already has Enquire Now */

.highlights__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.highlights__list li {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
  padding: 16px 10px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.highlights__icon {
  width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--sage-soft); color: var(--forest);
}
.highlights__icon .icon { width: 20px; height: 20px; }
.highlights__list h3 { font-family: var(--font-body); font-weight: 700; font-size: 13.5px; line-height: 1.4; color: var(--forest); }

@media (min-width: 768px) {
  .highlights__head .btn { display: inline-flex; }
  .highlights__list { gap: 12px; }
  .highlights__list li { flex-direction: row; text-align: left; gap: 14px; padding: 14px 16px; }
  .highlights__list h3 { font-size: 14.5px; }
}
@media (min-width: 1024px) {
  .highlights__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .highlights__list li { flex-direction: column; text-align: center; gap: 12px; padding: 22px 12px; }
}


/* ==================== 10. AMENITIES ==================== */
.amenities__grid { display: grid; gap: 28px; }

.amenities__photo { position: relative; border-radius: var(--radius); overflow: hidden; }
.amenities__photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.amenities__photo figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .94);
  font-size: 13px; font-weight: 800; color: var(--forest);
}

.amenities__info { display: flex; flex-direction: column; align-items: flex-start; order: -1; } /* phones: heading + list first, photos after */
.amenities__info > .reveal { margin-bottom: 20px; }
.amenities__tabs { width: calc(100% + var(--gutter) * 2); }

.amen-groups { width: 100%; margin-bottom: 28px; }
.amen-group__title { display: none; }
.amen-group ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.amen-group li {
  display: flex; align-items: center; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 700; line-height: 1.35;
}
.amen-group li::before { content: ''; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--sage); }

@media (min-width: 768px) {
  .amenities__collage {
    display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(3, 150px); gap: 12px;
    margin: 0; padding: 0; overflow: visible;
  }
  .amenities__collage > * { max-width: none; }
  .amenities__photo--main { grid-row: 1 / span 3; }
  .amenities__photo img { aspect-ratio: auto; }
  .amenities__tabs { width: 100%; }
  .amen-group ul { grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
}
@media (min-width: 1024px) {
  .amenities__grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .amenities__info { order: 0; }
  .amenities__collage { grid-template-rows: repeat(3, 176px); gap: 14px; }
  /* Desktop: all three groups side by side, no tabs */
  .tabs.amenities__tabs { display: none; } /* .tabs (below) would otherwise show them again */
  .amen-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .amen-groups .amen-group[hidden] { display: block; }
  .amen-group__title {
    display: block; padding-bottom: 8px; border-bottom: 2px solid var(--forest);
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--forest);
  }
  .amen-group ul { grid-template-columns: 1fr; }
  .amen-group li { font-size: 14.5px; }
}


/* ==================== 11. PLANS ==================== */
.tabs {
  display: flex; gap: 8px; margin: 0 calc(var(--gutter) * -1) 20px; padding: 2px var(--gutter);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn {
  flex-shrink: 0; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--white);
  font-size: 14px; font-weight: 800; color: var(--forest); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tabs__btn:hover { border-color: var(--forest); }
.tabs__btn.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }

.plans__panel { display: grid; gap: 14px; }
.plans__panel[hidden] { display: none; }

.plans__image {
  position: relative; display: block; width: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.plans__image img { width: 100%; filter: blur(4px); transform: scale(1.04); }
.plans__unlock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  background: var(--accent); color: var(--white); border-radius: 999px;
  font-size: 14px; font-weight: 800; white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: background-color .2s;
}
.plans__image:hover .plans__unlock { background: var(--accent-dark); }

.plans__info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plans__info div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.plans__info dt { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plans__info dd { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--forest); }

@media (min-width: 768px) {
  .tabs { margin-inline: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  .plans__info { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .plans__panel { grid-template-columns: 2.2fr 1fr; gap: 24px; align-items: stretch; }
  .plans__info { grid-template-columns: 1fr; gap: 12px; }
  .plans__info div { padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; }
  .plans__info dd { font-size: 1.3rem; }
}


/* ==================== 12. GALLERY ====================
   Phone: swipe row of large rounded photo cards, caption on the photo (auto-slides, see js/main.js).
   Tablet: 2-column grid, first photo full width.
   Desktop (1024px+): 4-column mosaic - one big feature photo, one tall, one wide.
   Tap / click opens the full-screen viewer. */
.gallery__grid > * { flex: 0 0 84%; max-width: 380px; }

.gallery__item {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 5 / 6; border-radius: 20px; background: var(--sage-soft);
  box-shadow: 0 14px 34px rgba(60, 14, 18, .18);
}
.gallery__item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.gallery__item::after { /* soft maroon fade under the caption */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(32, 6, 9, .82) 0, rgba(32, 6, 9, .3) 32%, rgba(32, 6, 9, 0) 58%);
}
.gallery__cap {
  display: block; position: absolute; z-index: 2; left: 20px; right: 68px; bottom: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.gallery__cap::before { content: ''; display: block; width: 30px; height: 2px; margin-bottom: 9px; background: var(--accent-light); }
.gallery__item .icon {
  position: absolute; z-index: 2; right: 16px; bottom: 16px; width: 40px; height: 40px; padding: 10px;
  border-radius: 50%; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .5); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s, border-color .3s, transform .3s;
}
.gallery__item:hover .icon, .gallery__item:focus-visible .icon { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.06); }
}

@media (min-width: 768px) {
  .gallery__grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
    margin: 0; padding: 0; overflow: visible; scroll-snap-type: none;
  }
  .gallery__grid > .gallery__item { max-width: none; aspect-ratio: 4 / 3; }
  .gallery__grid > .gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .gallery__grid > .gallery__item:first-child .gallery__cap { font-size: 1.35rem; }
}
@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 16vw, 240px); gap: 18px; }
  .gallery__grid > .gallery__item { aspect-ratio: auto; border-radius: 22px; }
  .gallery__grid > .gallery__item:nth-child(1) { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; }
  .gallery__grid > .gallery__item:nth-child(2) { grid-column: 4; grid-row: 1 / span 2; }
  .gallery__grid > .gallery__item:nth-child(3) { grid-column: 3; grid-row: 1; }
  .gallery__grid > .gallery__item:nth-child(4) { grid-column: 3; grid-row: 2; }
  .gallery__grid > .gallery__item:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery__grid > .gallery__item:nth-child(6) { grid-column: 2 / span 2; grid-row: 3; }
  .gallery__grid > .gallery__item:nth-child(7) { grid-column: 4; grid-row: 3; }
  .gallery__grid > .gallery__item:nth-child(1) .gallery__cap { font-size: 1.5rem; left: 26px; bottom: 24px; }
  .gallery__cap { left: 22px; bottom: 20px; }
}


/* ==================== 13. LOCATION ==================== */
.location__grid { display: grid; gap: 28px; }
.location__info { display: flex; flex-direction: column; align-items: flex-start; }
.location__info > .reveal { margin-bottom: 20px; }
.location__info .tabs { width: calc(100% + var(--gutter) * 2); }

.location__map { position: relative; border-radius: var(--radius); overflow: hidden; }
.location__map img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.location__map-card {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 14px;
  background: var(--white); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.location__map-card p { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; line-height: 1.3; color: var(--forest); }
.location__map-card p span { display: flex; flex-direction: column; min-width: 0; }
.location__map-card small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.location__map-card .icon { width: 22px; height: 22px; color: var(--accent); }
.location__map-card .btn { flex-shrink: 0; }

/* Distance timeline: vertical line with dots */
.timeline { position: relative; width: 100%; padding-left: 30px; }
.timeline[hidden] { display: none; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 22px; bottom: 22px; width: 2px; background: var(--sage); opacity: .45; }
.timeline li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.timeline li::before {
  content: ''; position: absolute; left: -30px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: var(--cream); border: 3px solid var(--sage);
}
.timeline li:first-child::before { background: var(--sage); }
.timeline strong {
  flex-shrink: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--sage-soft); font-size: 13.5px; font-weight: 800; color: var(--forest); white-space: nowrap;
}

@media (min-width: 768px) {
  .location__info .tabs { width: 100%; }
}
@media (min-width: 1024px) {
  .location__grid { grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
  .location__map img { aspect-ratio: 4 / 4.2; }
  .location__map-card { left: 20px; right: auto; bottom: 20px; gap: 28px; padding: 14px 14px 14px 18px; }
  .timeline li { padding: 13px 0; font-size: 15.5px; }
}


/* ==================== 14. BROCHURE, FAQs, CONTACT ==================== */
.faqs + .contact { padding-top: 0; } /* both sand: no double gap */
/* Brochure band: light rose tint */
.brochure { background: var(--sage-soft); color: var(--text); padding: 34px 0; }
.brochure__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.brochure__icon {
  width: 60px; height: 60px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--white); color: var(--accent);
}
.brochure__icon .icon { width: 28px; height: 28px; }
.brochure__text h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 4.6vw, 1.7rem); line-height: 1.25; color: var(--forest); margin-bottom: 6px; }
.brochure__text p { font-size: 15px; color: var(--muted); }

@media (min-width: 768px) {
  .brochure__inner { flex-direction: row; text-align: left; gap: 32px; }
  .brochure__text { flex: 1; }
}

.faqs__grid { display: grid; gap: 24px; }
.help-card { display: none; } /* phones already have Call in the sticky bar */
.help-card { margin-top: 24px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.help-card p { margin-bottom: 14px; color: var(--muted); }

.faq-list { display: grid; gap: 10px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 16px 16px 18px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: var(--sage-soft);
  font-family: var(--font-body); font-size: 18px; font-weight: 700; color: var(--forest); transition: transform .3s;
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--forest); color: var(--white); }
.faq p { padding: 0 18px 18px; color: var(--muted); }

@media (min-width: 1024px) {
  .help-card { display: block; }
  .faqs__grid { grid-template-columns: 1fr 1.7fr; gap: 72px; align-items: start; }
  .faqs__side { position: sticky; top: calc(var(--header-h) + 32px); }
  .faq summary { padding: 18px 20px 18px 24px; font-size: 1.1rem; }
  .faq p { padding: 0 24px 22px; }
}

/* Site Visit: one white card on the sand section. Details on the left, form on the right (tablet + desktop).
   Phones: no form - Call, WhatsApp and a "Book Site Visit" button that opens the pop-up. */
.contact__card {
  display: grid; gap: 0; padding: 26px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 20px 50px rgba(60, 14, 18, .1);
}
.contact__text > p:not(.section-sub) { margin-top: 12px; color: var(--muted); }
.contact__links { margin-top: 18px; display: grid; gap: 10px; }
.contact__links a, .contact__links span {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-size: 14px; font-weight: 700; color: var(--forest);
}
.contact__links a { min-height: 46px; padding: 0 16px; border: 1.5px solid var(--forest); border-radius: 999px; }
.contact__links span { color: var(--muted); font-weight: 600; font-size: 13.5px; }
.contact__links .icon { width: 19px; height: 19px; color: var(--accent); }
.contact__book { margin-top: 16px; }
.contact__form { display: none; }

@media (min-width: 768px) {
  .contact__card { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 36px; border-radius: 26px; }
  .contact__links { gap: 0; }
  .contact__links a, .contact__links span { justify-content: flex-start; gap: 12px; padding: 10px 0; min-height: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .contact__links span { font-size: 14px; font-weight: 700; color: var(--forest); }
  .contact__book { display: none; }
  .contact__form { display: block; background: var(--cream); border: 1px solid var(--line); box-shadow: none; }
  .contact__form .form-card__title { font-size: 1.15rem; margin-bottom: 12px; }
  .contact__form .lead-form { gap: 10px; }
}
@media (min-width: 1024px) {
  .contact__card { grid-template-columns: 1fr 430px; gap: 64px; padding: 56px 56px; }
}


/* ==================== 15. FOOTER ==================== */
.footer { background: var(--forest-deep); color: var(--on-dark-muted); padding: 48px 0 24px; font-size: 14px; }
.footer__top { display: flex; flex-direction: column; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__top > img { width: 170px; }
.rera { display: flex; align-items: center; gap: 16px; min-width: 0; }
.rera__label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); }
.rera__number { color: var(--white); font-weight: 700; word-break: break-all; }
.rera a { color: var(--on-dark-muted); }
.footer__disclaimer { padding: 24px 0; font-size: 13px; line-height: 1.7; }
.footer__disclaimer strong { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.footer__bottom a { color: var(--accent-light); font-weight: 700; }

@media (min-width: 768px) {
  .footer__top { flex-direction: row; align-items: center; justify-content: space-between; }
}


/* ==================== 16. STICKY BAR, WHATSAPP, POP-UP, VIEWER ==================== */

/* Mobile sticky bar (phones + tablets) */
.mobile-bar {
  position: fixed; inset: auto 0 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 1px;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--line); box-shadow: 0 -6px 20px rgba(60, 14, 18, .12);
}
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--white); color: var(--forest); text-decoration: none;
  font-size: 13.5px; font-weight: 800;
}
.mobile-bar__btn .icon { width: 21px; height: 21px; color: var(--sage); }
.mobile-bar__btn--wa .icon { color: var(--whatsapp); }
.mobile-bar__btn--primary { background: var(--accent); color: var(--on-accent); }

.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 58px; height: 58px; display: none; place-items: center;
  border-radius: 50%; background: var(--whatsapp); color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transition: transform .2s;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.06); }

@media (min-width: 1024px) {
  .mobile-bar { display: none; }
  .wa-float { display: grid; }
}

/* Enquiry pop-up: compact card floating in the centre of the screen (phones too) */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(32, 8, 10, .6); animation: fade .25s; }
.modal__dialog {
  position: relative; width: 100%; max-width: 420px;
  max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; /* scrolls inside on short screens / open keyboard */
  background: var(--white); color: var(--text);
  border-radius: var(--radius); border-top: 5px solid var(--forest);
  box-shadow: 0 24px 60px rgba(26, 6, 8, .35);
  animation: zoom-in .25s ease-out;
}
.modal__close {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  background: var(--sage-soft); color: var(--forest);
}
.modal__close .icon { width: 20px; height: 20px; }
.modal__body { padding: 22px 20px 20px; }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; color: var(--forest); margin: 2px 44px 16px 0; }
body.modal-open { overflow: hidden; }

@media (min-width: 768px) {
  .modal { padding: 24px; }
  .modal__body { padding: 28px 28px 24px; }
  .modal__title { font-size: 1.5rem; }
}

/* Full-screen gallery viewer */
.lightbox { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; background: rgba(20, 6, 8, .95); animation: fade .25s; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 76svh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--white);
}
.lightbox__close .icon, .lightbox__nav .icon { width: 24px; height: 24px; }
.lightbox__close { right: 14px; top: 14px; }
.lightbox__nav { bottom: 24px; }
.lightbox__nav--prev { left: calc(50% - 66px); }
.lightbox__nav--next { right: calc(50% - 66px); }
.lightbox__count { position: absolute; top: 26px; left: 0; right: 0; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--on-dark-muted); pointer-events: none; }

@media (min-width: 768px) {
  .lightbox__img { max-width: 86vw; max-height: 84vh; border-radius: 8px; }
  .lightbox__nav { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
}


/* ==================== 17. ANIMATIONS ==================== */
@keyframes fade { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }

/* Content fades in while scrolling (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* ==================== 18. THANK-YOU + PRIVACY PAGES ==================== */
.simple-page { padding-bottom: 0; background: var(--sand); color: var(--text); }
.simple-page--light { background: var(--cream); }

.thanks {
  min-height: 100svh; max-width: 560px; margin: 0 auto; padding: 48px var(--gutter);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.thanks__logo { width: 176px; margin-bottom: 40px; }
.thanks__check {
  width: 80px; height: 80px; display: grid; place-items: center; margin-bottom: 24px;
  border-radius: 50%; background: var(--forest); color: var(--white);
}
.thanks__check svg { width: 36px; height: 36px; }
.thanks h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.15; color: var(--forest); margin-bottom: 8px; }
.thanks__lead { font-size: 17px; font-weight: 800; color: var(--accent-dark); margin-bottom: 12px; }
.thanks p { color: var(--muted); }
.thanks__actions { width: 100%; margin-top: 32px; display: grid; gap: 10px; }
.thanks__home { margin-top: 28px; font-size: 15px; font-weight: 700; color: var(--forest); }
@media (min-width: 560px) {
  .thanks__actions { width: auto; grid-template-columns: auto auto; }
}

.policy__header { background: var(--cream); border-bottom: 1px solid var(--line); }
.policy__bar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.policy__bar img { width: 150px; }
.policy { max-width: 780px; padding-top: 48px; padding-bottom: 64px; }
.policy h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 5.5vw, 2.1rem); line-height: 1.2; color: var(--forest); margin-bottom: 20px; }
.policy h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--forest); margin: 32px 0 8px; }
.policy p { color: var(--muted); margin-bottom: 12px; }
.policy__intro { font-size: 16px; color: var(--text) !important; }
.policy a { color: var(--accent-dark); font-weight: 700; }
.policy__footer { padding: 24px 0; background: var(--forest-deep); font-size: 13.5px; color: var(--on-dark-muted); }


/* ==================== 19. FORM EXTRAS ==================== */
/* Bot-trap fields: off-screen (not display:none, so bots still fill them) */
.hp-field { position: absolute; left: -99999px; top: -99999px; width: 1px; height: 1px; opacity: 0; }

/* Button while the form is being sent (added by lead-guard.js) */
.btn.is-submitting { gap: 10px; opacity: .85; }


/* ==================== SECTION HEADINGS ====================
   Every section: the section NAME is the big heading (h2.section-title, e.g. "Overview"),
   the descriptive line sits below it, smaller (p.section-sub). */
.section-sub {
  margin-top: 10px; max-width: 680px;
  font-family: var(--font-body); font-weight: 500; font-style: normal;
  font-size: clamp(.95rem, 2.4vw, 1.1rem); line-height: 1.45;
  letter-spacing: 0; text-transform: none;
  color: inherit; opacity: .8;
}
.section-title--center, .section-title--center + .section-sub { text-align: center; }
.section-title--center + .section-sub, .section-head--center .section-sub { margin-left: auto; margin-right: auto; }


/* ==================== LOCATION MAP (Google Maps embed) ====================
   Live map on top, the address card ("Open in Maps") attached below it,
   so the card never covers Google's own map controls.
   The map loads only when the visitor scrolls near it (loading="lazy").
   On phones: one finger scrolls the page, two fingers move the map (Google default). */
.location__map { display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.location__map-frame { position: relative; width: 100%; height: clamp(300px, 80vw, 380px); background: #e8e6e1; }
.location__map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.location__map .location__map-card {
  position: static; inset: auto; margin: 0; width: auto; max-width: none;
  border-radius: 0; box-shadow: none; transform: none;
}
@media (min-width: 768px) {
  .location__map-frame { height: 400px; }
}
@media (min-width: 1024px) {
  .location__map-frame { height: 460px; }
}

/* ==================== READ MORE (phones only) ====================
   Add class "readmore" to any long text block (a paragraph, or a <div> holding several paragraphs).
   On phones (under 768px) a block longer than 4 lines is cut to 4 lines with a soft fade and a
   "Read More" button (js/main.js adds the button, only when the text is really longer).
   Tablet / desktop show everything. Change the lines with data-lines="5" on the block. */
.readmore { scroll-margin-top: calc(var(--header-h, 60px) + 12px); }
.readmore.is-clamped {
  overflow: hidden; max-height: var(--rm-max);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 30px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 30px), transparent);
}
.readmore.is-clamped.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.readmore__btn {
  display: flex; width: fit-content; align-items: center; gap: 6px; min-height: 44px; margin-top: 2px; padding: 0;
  font-size: 14px; font-weight: 700; color: var(--accent-dark);
}
.readmore__btn[hidden] { display: none; }
.readmore__btn svg { width: 18px; height: 18px; transition: transform .25s; }
.readmore__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (min-width: 768px) { .readmore__btn { display: none; } }


/* ==================== MY HOME ANANDAM ADDITIONS ==================== */

/* Overview: developer note */
.developer {
  margin-top: 28px; display: grid; gap: 10px;
  padding: 22px 22px 22px 20px;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(60, 14, 18, .06);
}
.developer__eyebrow { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.developer__title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; color: var(--forest); margin-top: 2px; }
.developer__text { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
@media (min-width: 768px) {
  .developer { margin-top: 36px; grid-template-columns: 240px 1fr; gap: 12px 40px; align-items: center; padding: 28px 32px; }
  .developer__title { font-size: 1.4rem; }
  .developer__text { font-size: 15.5px; }
}
@media (min-width: 1024px) {
  .developer { margin-top: 40px; grid-template-columns: 300px 1fr; gap: 12px 56px; padding: 28px 40px; }
}

/* Footer: location line instead of RERA */
.footer__loc { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--on-dark); }
.footer__loc .icon { width: 18px; height: 18px; color: var(--accent-light); }

/* Timeline: long place names wrap cleanly on small phones */
.timeline li span { min-width: 0; }

/* Very small phones: keep the 3 sticky-bar labels inside their boxes */
@media (max-width: 360px) {
  .mobile-bar { grid-template-columns: 1fr 1.3fr 1.2fr; }
  .mobile-bar__btn { gap: 5px; font-size: 12.5px; }
  .mobile-bar__btn .icon { width: 18px; height: 18px; }
}


/* ==================== LOGO ====================
   logo.webp is the supplied logo with its white margins trimmed and a transparent background.
   Sized by height so it never grows taller than the header. In the dark footer it sits on a small white card. */
.header__logo img { height: 46px; width: auto; }
.policy__bar img { height: 46px; width: auto; }
.thanks__logo { height: 72px; width: auto; }
.footer__top > img { height: 62px; width: auto; padding: 7px 16px; background: #fff; border-radius: 12px; box-sizing: content-box; }
@media (min-width: 1024px) {
  .header__logo img { height: 56px; }
}


/* ==================== BANNER SLIDES (2 images) ====================
   The photos are stacked. js/main.js marks one "is-active" (fades in on top); the one it replaces
   stays visible underneath ("is-prev") until the fade has finished, so the photo never dips.
   Without JavaScript the first photo simply stays. Banner changes by itself and on swipe / drag. */
.hero__slide { position: absolute; inset: 0; display: block; opacity: 0; z-index: 0; transition: opacity 1s ease; }
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.hero__slide--2 img { object-position: 28% 50%; }
.hero__media { isolation: isolate; }          /* slides stay behind the text */
.hero__media::after { z-index: 3; }           /* dark fade stays above every slide */
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }

/* Let a sideways swipe on the banner belong to the page script (vertical scrolling and pinch-zoom stay normal) */
.hero { touch-action: pan-y pinch-zoom; }
.hero.is-dragging { -webkit-user-select: none; user-select: none; cursor: grabbing; }
