/* Built by ArpitKM */
/* ==========================================================================
   TEMPLATE 02 - LUXURY (luxury apartments / premium residences)
   Godrej River Royale: black and white, with a small champagne-gold accent
   --------------------------------------------------------------------------
   RE-COLOUR FOR A NEW BRAND: change the values in "1. BRAND" below
   (and "6. BANNER" for the banner panel only).
   Colours: ink (black, the brand colour) + champagne gold (accent, used sparingly) + white / light grey
   (neutral). Everything on the page (buttons, headings, lines, 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)        9.  Amenities (photo cards)
     2. Base + swipe rows              10. Plans
     3. Buttons, icons, badges         11. Gallery
     4. Forms                          12. Location
     5. Header + menu                  13. Brochure, FAQs, Contact
     6. Banner (split screen)          14. Footer
     7. Overview + Highlights          15. Sticky bar, WhatsApp, Pop-up, Viewer
     8. Price                          16. Animations
                                       17. Thank-you + Privacy pages
                                       18. Form extras
   ========================================================================== */


/* ==================== 1. BRAND ==================== */
:root {
  /* Brand colours */
  --ink: #111111;            /* main brand colour (black): buttons and headings on light backgrounds */
  --ink-deep: #0a0a0a;       /* header, footer */
  --ink-panel: #151515;      /* banner panel */
  --paper: #f3f3f1;          /* light grey tint: Highlights, Gallery, Site Visit panel */
  --gold: #cc942c;           /* gold accent, the same gold as the logo (use sparingly) */
  --gold-hover: #dba84a;
  --brass: #8f6616;          /* accent text on light backgrounds (readable on white) */
  --gold-soft: #f7efdf;      /* faint gold tint (notes) */
  --gold-deep: #a97a1c;      /* deeper gold for large text on light backgrounds */
  --on-gold: #111111;        /* text on gold buttons */

  /* Neutrals */
  --ivory: #f8f8f6;          /* light section background */
  --sand: #e6e6e2;          /* borders / chips on light backgrounds */
  --white: #ffffff;
  --text: #171717;           /* body text */
  --muted: #5a5a57;          /* secondary text */
  --on-dark: #f5f5f3;        /* text on black */
  --on-dark-muted: #b8b8b4;  /* secondary text on black */
  --line: #e4e4e0;           /* borders on white / light grey */
  --line-dark: #2c2c2c;      /* borders on black */
  --error: #b3261e;
  --whatsapp: #25d366;

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

  /* Layout */
  --container: 1240px;
  --gutter: 20px;
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 64px;
  --bar-h: 60px; /* mobile sticky bar */
}


/* ==================== 2. BASE ==================== */
*, *::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.6;
  color: var(--text);
  background: var(--white);
  -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; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.hero :focus-visible, .footer :focus-visible { outline-color: var(--gold); }

.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: 52px 0; }
.section--ivory { background: var(--ivory); }
.section--tint { background: var(--paper); }

.section-head { margin-bottom: 24px; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
.section-head--center { text-align: center; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 28px; height: 2px; background: currentColor; }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.01em;
}

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

/* Swipe rows (phones): cards slide sideways with snap; the row runs to the screen edges.
   Bigger screens turn them into grids in each section below. */
.swipe {
  display: flex; gap: 14px;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.swipe::-webkit-scrollbar { display: none; }
.swipe > * { flex: 0 0 80%; scroll-snap-align: start; min-width: 0; }

/* Grid columns may shrink below their content (stops swipe rows / tabs
   from stretching the page wider than the phone screen) */
.hero > *, .plans__grid > *, .location__grid > *, .contact__grid > *,
.overview__media > *, .bento > * { min-width: 0; }

@media (max-width: 767px) {
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 20px; }
}

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

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  body { padding-bottom: 0; font-size: 16px; }
  .section { padding: 84px 0; }
}


/* ==================== 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: 700;
  letter-spacing: .04em; text-decoration: none;
  border: 1.5px 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--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: #2b2b2b; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--line-light { border-color: rgba(245, 245, 243, .7); color: var(--on-dark); }
.btn--line-light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.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 12px; border: 1px solid var(--gold); border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--gold);
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(204, 148, 44, .24); }


/* ==================== 4. FORMS ==================== */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
  padding: 22px 18px;
  color: var(--text);
}
.form-card__eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.form-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.2; margin-bottom: 16px; color: var(--ink); }

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

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

/* Fixed +91 in front of the phone box */
.field__prefix {
  display: flex; align-items: center; padding: 0 10px 0 16px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  background: var(--ivory);
  border: 1.5px solid var(--line); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
}
.field--phone input { border-radius: 0 var(--radius) var(--radius) 0; padding-left: 10px; }
.field--phone:focus-within .field__prefix { border-color: var(--ink); background: var(--white); }

/* 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: 13px; 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(--ink); font-weight: 700; }

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


/* ==================== 5. HEADER + MENU ==================== */
/* Solid white bar (the logo is gold + black, made for a light background). No backdrop-filter / filter /
   transform on .header: any of them 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(--white); color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header.is-solid { box-shadow: 0 6px 24px rgba(0, 0, 0, .10); }

.header__bar { height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header__logo { margin-right: auto; flex-shrink: 0; }
.header__logo img { width: 134px; height: 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%;
  border: 1.5px solid var(--line); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 14px;
}
.header__call span { display: none; }
.header__enquire { display: none; }

.menu-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile / tablet menu: full screen below the header */
.nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--white); overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav a {
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; color: var(--ink); text-decoration: none;
}
.nav__cta { margin-top: 24px; }
body.menu-open { overflow: hidden; }

@media (min-width: 768px) {
  .header__enquire { display: inline-flex; min-height: 44px; margin-left: 4px; }
  .header__logo img { width: 150px; }
}
@media (min-width: 1024px) {
  .header__bar { padding: 0 40px; } /* logo 40px from the left edge */
  .header__logo img { width: 170px; }
}
/* 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: 22px; margin-right: 20px;
    padding: 0; background: none; overflow: visible;
    opacity: 1; visibility: visible;
  }
  .nav a {
    padding: 6px 0; border: 0;
    font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: .02em;
    color: var(--ink); transition: color .2s;
  }
  .nav a:hover { color: var(--brass); }
  .nav__cta { display: none; }
  .header__call { width: auto; height: auto; border: 0; border-radius: 0; color: var(--ink); }
  .header__call .icon { color: var(--brass); }
}
@media (min-width: 1360px) {
  .nav { gap: 30px; }
}
@media (min-width: 1480px) {
  .header__call span { display: inline; }
}


/* ==================== 6. BANNER (SPLIT SCREEN) ====================
   The photo is never covered by a shade: a compact text panel sits beside it
   (desktop) or below it (phones / tablets). Light panel on every screen size.
   Phone:   photo -> short panel with text + 2 buttons (no form: the pop-up is the form)
   Tablet:  photo -> panel with text | compact form
   Desktop: panel with text (left 34%) | photo (right 66%), the compact form
            floats on the right edge of the photo. */
.hero {
  --hero-panel: var(--paper);        /* banner panel background (light, same on every screen size) */
  --hero-text: var(--ink);           /* banner text */
  --hero-muted: var(--muted);
  --hero-accent: var(--gold-deep);   /* "Royale", price, icons */
  --hero-photo-h: clamp(240px, 42svh, 420px); /* phone / tablet photo height */
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "media" "panel";
  padding-top: var(--header-h);
  background: linear-gradient(180deg, #f8f8f5 0%, #eeede8 100%); color: var(--hero-text);
}

.hero__media { grid-area: media; position: relative; display: block; height: var(--hero-photo-h); overflow: hidden; border-bottom: 3px solid var(--gold); } /* gold line under the photo (phones / tablets) */
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.hero__panel {
  grid-area: panel; position: relative; padding: 22px var(--gutter) 24px;
  display: flex; flex-direction: column; align-items: flex-start;
}

.hero .badge { border-color: var(--gold-deep); color: var(--brass); }

.hero__title {
  margin-top: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em;
}
.hero__title span { display: inline; color: var(--hero-accent); }
.hero__location { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 500; }
.hero__location .icon { color: var(--hero-accent); }

/* Key facts: white tiles, big figure on top, small label below (2 columns).
   The RERA number is a black bar across the full width. */
.hero__facts {
  width: 100%; margin-top: 14px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.hero__facts li {
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  padding: 12px 14px 11px;
  background: var(--white); border: 1px solid rgba(0, 0, 0, .07); border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.3; color: var(--hero-muted);
}
.hero__facts strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.12; letter-spacing: 0; text-transform: none; color: var(--hero-text); }
.hero__facts small { font-family: var(--font-body); font-size: .52em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hero-muted); }
.hero__facts li.hero__facts-rera {
  grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; background: var(--ink); border-color: var(--ink); box-shadow: none;
}
.hero__facts li.hero__facts-rera span { color: var(--on-dark-muted); }
.hero__facts li.hero__facts-rera strong { font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--on-dark); }

/* Price card with a gold edge */
.hero__price {
  width: 100%; margin-top: 16px; padding: 14px 16px;
  background: var(--white); border: 1px solid rgba(0, 0, 0, .07); border-left: 4px solid var(--gold); border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 14px;
}
.hero__price-label { grid-column: 1; grid-row: 1; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-muted); }
.hero__price-value { grid-column: 2; grid-row: 1 / span 2; justify-self: end; font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1; color: var(--hero-accent); white-space: nowrap; }
.hero__price-value sup { font-size: .5em; }
.hero__price-note { grid-column: 1; grid-row: 2; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--text); }

.hero__ctas { width: 100%; margin-top: 16px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; }
.hero__ctas .btn { padding: 0 10px; }
.hero .btn--line-light { border-color: var(--ink); color: var(--ink); }
.hero .btn--line-light:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Phones: title, place, price and buttons come first; the facts follow below the first screen */
@media (max-width: 767px) {
  .hero__panel > * { order: 0; }
  .hero__price { order: 1; }
  .hero__ctas { order: 2; }
  .hero__facts { order: 3; margin-top: 16px; }
}
@media (max-width: 767px) {
  .hero { --hero-photo-h: clamp(280px, 47svh, 460px); }
  .hero__media img { object-position: 50% 28%; }   /* keep the tops of the towers */
}
@media (max-width: 767px) and (max-height: 700px) {
  .hero { --hero-photo-h: clamp(220px, 38svh, 290px); }
}
/* very small phones (e.g. 320 x 568): shorter photo and a one-line title so the buttons stay above the bottom bar */
@media (max-width: 767px) and (max-height: 600px) {
  .hero { --hero-photo-h: clamp(150px, 27svh, 210px); }
  .hero__panel { padding-top: 14px; }
  .hero__price { margin-top: 10px; padding: 10px 14px; }
  .hero__ctas { margin-top: 12px; }
}
@media (max-width: 359px) {
  .hero__title { font-size: 1.65rem; }
}

/* Banner form: hidden on phones (the pop-up is the only form there) */
.hero__form { display: none; }

@media (min-width: 768px) {
  .hero {
    --hero-photo-h: clamp(380px, 52svh, 540px);
    grid-template-columns: minmax(0, 1fr) 330px;
    grid-template-areas: "media media" "panel form";
  }
  .hero__panel { padding: 28px 12px 34px var(--gutter); }
  .hero__form { display: block; grid-area: form; margin: 28px var(--gutter) 34px 12px; align-self: start; padding: 18px 18px 16px; }
  .hero__form .form-card__title { font-size: 1.15rem; margin-bottom: 12px; }
  .hero__form .lead-form { gap: 9px; }
  .hero__form .btn { min-height: 44px; }
  .hero__ctas { display: flex; flex-wrap: wrap; width: auto; }
  .hero__ctas .btn { padding: 0 18px; }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: minmax(300px, 34%) 1fr;
    grid-template-areas: "panel media";
    min-height: max(600px, 94svh);
  }
  .hero__media { height: auto; min-height: 100%; border-bottom: 0; }

  /* Compact banner form: on the right edge of the photo, bottom aligned */
  .hero__form {
    grid-area: media; z-index: 2; align-self: end; justify-self: end;
    width: 296px; margin: 24px 24px 96px 0; padding: 18px 18px 14px; /* bottom space keeps it clear of the WhatsApp button */
  }
  .hero__form .form-card__eyebrow { margin-bottom: 4px; }
  .hero__form .form-card__title { font-size: 1.1rem; margin-bottom: 10px; }
  .hero__form .lead-form { gap: 8px; }
  .hero__form .field input { height: 44px; font-size: 16px; }
  .hero__form .btn { min-height: 44px; }
  .hero__form .form-consent { font-size: 11px; line-height: 1.45; }
}
@media (min-width: 1280px) {
  .hero__form { width: 308px; margin: 40px 40px 96px 0; }
}
/* Short desktop screens: form centred vertically so it never runs off the photo */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero__form { align-self: center; }
}


/* Desktop banner text panel (1024px and wider): the same light design as phones / tablets, bigger, with the
   gold line down the left edge, and spread over the full height of the banner. */
@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(360px, 37%) 1fr; }

  .hero__panel { justify-content: flex-start; align-items: stretch; padding: 46px 40px 42px 44px; }
  .hero__panel { background: linear-gradient(180deg, #f8f8f5 0%, #eeede8 100%); }
  .hero__panel::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); } /* gold line down the left edge */

  .hero .badge { align-self: flex-start; }
  .hero__title { margin-top: 16px; font-size: clamp(2.7rem, 4vw, 4.5rem); line-height: 1.02; }
  .hero__location { margin-top: 12px; font-size: 15px; font-weight: 600; }

  /* the free space of the banner is shared above and below the fact tiles */
  .hero__facts { margin: auto 0; padding: 30px 0; gap: 12px; }
  .hero__facts li { gap: 5px; padding: 16px 18px 15px; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .05); font-size: 11.5px; letter-spacing: .1em; }
  .hero__facts strong { font-size: clamp(1.3rem, 1.85vw, 1.85rem); line-height: 1.1; }
  .hero__facts li.hero__facts-rera { gap: 14px; padding: 13px 18px; box-shadow: none; }
  .hero__facts li.hero__facts-rera strong { font-size: 15px; }

  .hero__price { margin-top: 0; padding: 20px 22px; border-radius: 14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .05); }
  .hero__price-label { font-size: 11.5px; }
  .hero__price-note { font-size: 14px; }
  .hero__price-value { font-size: clamp(2.3rem, 3.1vw, 3.2rem); }

  .hero__ctas { display: grid; grid-template-columns: 1.3fr 1fr; width: 100%; margin-top: 18px; gap: 10px; }
  .hero__ctas .btn { min-height: 54px; padding: 0 22px; font-size: 15px; }
}


/* Desktop banner on shorter / narrower screens (laptops): tighter, so the buttons stay above the fold */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero__panel { padding-left: 34px; padding-right: 28px; }
  .hero__facts li { padding: 14px 14px 13px; }
  .hero__facts strong { font-size: 1.3rem; }
  .hero__facts small { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-height: 860px) {
  .hero__panel { padding-top: 28px; padding-bottom: 26px; }
  .hero__title { margin-top: 12px; font-size: clamp(2.3rem, 3.4vw, 3.4rem); }
  .hero__location { margin-top: 8px; font-size: 14px; }
  .hero__facts { padding: 18px 0; gap: 10px; }
  .hero__facts li { padding: 11px 15px 10px; gap: 3px; border-radius: 12px; }
  .hero__facts li.hero__facts-rera { padding: 10px 15px; }
  .hero__price { padding: 13px 18px; border-radius: 12px; }
  .hero__price-value { font-size: clamp(2rem, 2.6vw, 2.6rem); }
  .hero__ctas { margin-top: 12px; }
  .hero__ctas .btn { min-height: 48px; }
}

/* ==================== 7. OVERVIEW + HIGHLIGHTS ==================== */
.overview__head { max-width: 800px; margin: 0 auto; text-align: center; }
.overview__text { margin-top: 14px; color: var(--muted); }

.overview__media { position: relative; margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.overview__media img { width: 100%; aspect-ratio: 900 / 1100; object-fit: cover; border-radius: var(--radius-lg); }
.overview__media img:last-of-type { margin-top: 32px; }
.overview__tag {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.overview__tag .icon { color: var(--gold); }
.overview__cta { margin-top: 28px; text-align: center; }

@media (min-width: 768px) {
  .overview__media { margin-top: 44px; gap: 20px; }
  .overview__media img:last-of-type { margin-top: 56px; }
  .overview__tag { left: 20px; top: 20px; }
}
@media (min-width: 1024px) {
  .overview__media { max-width: 900px; margin-left: auto; margin-right: auto; }
  .overview__media img { aspect-ratio: 4 / 3.8; }
  .overview__cta { margin-top: 40px; }
}

/* Highlights: 12 identical compact tiles. Phone 2 columns, tablet 4, desktop 6 x 2 */
.highlights__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.highlight {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 10px 14px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
}
.highlight__icon {
  width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--paper); color: var(--ink);
}
.highlight__icon .icon { width: 20px; height: 20px; }
.highlight h3 { font-family: var(--font-body); font-weight: 700; font-size: 13.5px; line-height: 1.3; color: var(--ink); }

@media (min-width: 768px) {
  .highlights__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .highlight { padding: 18px 10px 16px; }
}
@media (min-width: 1024px) {
  .highlights__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .highlight h3 { font-size: 14px; }
}


/* ==================== 8. PRICE ==================== */
.price-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .07);
}
.price-card img { width: 100%; aspect-ratio: 640 / 440; object-fit: cover; }
.price-card__body { flex: 1; display: flex; flex-direction: column; padding: 16px 16px 18px; }
.price-card__type { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: var(--ink); }
.price-card__size { margin-top: 2px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.price-card__price {
  margin: auto 0 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--brass);
}
.price-card__price span { display: block; margin-bottom: 4px; font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.price-card__price sup { font-size: .5em; }
.price-card--featured { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.price-card--featured .price-card__type { color: var(--on-dark); }
.price-card--featured .price-card__size, .price-card--featured .price-card__price span { color: var(--on-dark-muted); }
.price-card--featured .price-card__price { color: var(--gold); border-color: var(--line-dark); }

@media (min-width: 768px) {
  .price-cards.swipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; overflow: visible; }
}
@media (min-width: 1024px) {
  .price-cards.swipe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* ==================== 9. AMENITIES (PHOTO CARDS) ==================== */
/* Photo cards only: every image has the same height, the name sits in an equal-height row below it. */
.amenities__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.amenity { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); border: 1px solid var(--sand); }
.amenity img { width: 100%; height: 120px; object-fit: cover; transition: transform .6s ease; }
.amenity figcaption {
  display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 10px;
  font-size: 13.5px; font-weight: 700; line-height: 1.3; text-align: center; color: var(--ink);
}
.amenity:hover img { transform: scale(1.04); }

@media (min-width: 768px) {
  .amenities__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .amenity img { height: 170px; }
  .amenity figcaption { min-height: 52px; font-size: 14.5px; }
}
@media (min-width: 1024px) {
  .amenity img { height: 190px; }
}


/* ==================== 10. PLANS ==================== */
/* Phone: tabs scroll sideways above the plan. Desktop: tabs on the left, plan on the right. */
.plans__grid { display: grid; gap: 22px; }

.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tabs__btn {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start;
  padding: 8px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--ink); background: var(--white);
  transition: background-color .2s, border-color .2s, color .2s;
}
.tabs__btn small { font-size: 12px; font-weight: 500; color: var(--muted); }
.tabs__btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.tabs__btn.is-active small { color: var(--on-dark-muted); }
.plans__tabs { margin-top: 22px; }

.plans__image {
  position: relative; display: block; width: 100%; max-width: 520px; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--ivory);
}
.plans__image img { width: 100%; filter: blur(5px); transform: scale(1.05); opacity: .85; }
.plans__unlock {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark);
  font-size: 13.5px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  transition: background-color .2s;
}
.plans__unlock .icon { color: var(--gold); }
.plans__image:hover .plans__unlock { background: var(--ink-deep); }

.plans__info { max-width: 520px; margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plans__info div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.plans__info div { padding: 9px 12px; border-radius: var(--radius); background: var(--ivory); }
.plans__info dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plans__info dd { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }

@media (min-width: 768px) {
  .plans__info { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); max-width: 560px; }
  .plans__info div:last-child:nth-child(odd) { grid-column: auto; }
  .plans__image { max-width: 560px; }
}
@media (min-width: 1024px) {
  .plans__grid { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
  .plans__tabs { flex-direction: column; overflow: visible; margin: 32px 0 0; padding: 0; gap: 10px; }
  .tabs__btn { width: 100%; padding: 12px 20px; font-size: 15px; position: relative; }
  .tabs__btn.is-active::after { content: ''; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); }
}


/* ==================== 11. GALLERY ==================== */
/* Phone / tablet: swipe row of smaller cards. Desktop: one large image + thumbnail strip below (both centred, max 820px). */
.gallery__hint { font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.gallery__stage { display: none; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.gallery__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__strip.swipe > * { flex-basis: 72%; }

@media (min-width: 768px) {
  .gallery__strip.swipe > * { flex-basis: 42%; }
}
@media (min-width: 1024px) {
  .gallery__stage {
    position: relative; display: block; width: 100%; max-width: 820px; margin: 0 auto; overflow: hidden; border-radius: var(--radius-lg);
  }
  .gallery__stage img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
  .gallery__zoom {
    position: absolute; right: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px; background: rgba(10, 10, 10, .85); color: var(--on-dark);
    font-size: 13px; font-weight: 700;
  }
  .gallery__zoom .icon { color: var(--gold); }
  .gallery__strip.swipe {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px;
    width: 100%; max-width: 820px; margin: 12px auto 0; padding: 0; overflow: visible;
  }
  .gallery__item { border-radius: 8px; opacity: .65; outline: 2px solid transparent; outline-offset: 0; transition: opacity .2s, outline-color .2s; }
  .gallery__item:hover { opacity: .9; }
  .gallery__item.is-active { opacity: 1; outline-color: var(--ink); }
}


/* ==================== 12. LOCATION ==================== */
/* Phone: heading -> map -> groups (tap to open). Desktop: groups left, map card right. */
.location__grid { display: grid; gap: 22px; }

.location__map { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.location__map img { width: 100%; aspect-ratio: 4 / 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: 10px 10px 10px 16px; border-radius: 999px; background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.location__map-card p { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: 14px; min-width: 0; }
.location__map-card .icon { color: var(--brass); }
.location__map-card .btn { min-height: 42px; flex-shrink: 0; }

.location__groups { display: grid; gap: 10px; align-content: start; }
.loc-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.loc-group summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.loc-group summary::-webkit-details-marker { display: none; }
.loc-group summary .icon { color: var(--brass); transition: transform .25s; }
.loc-group[open] summary .icon { transform: rotate(180deg); }
.loc-group ul { padding: 0 16px 10px; }
.loc-group li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.loc-group li strong { color: var(--brass); white-space: nowrap; }

@media (min-width: 768px) {
  .location__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .location__map-card { left: 20px; right: auto; bottom: 20px; gap: 20px; }
}
@media (min-width: 1024px) {
  .location__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px;
    grid-template-areas: "head map" "groups map";
    align-items: start;
  }
  .location__head { grid-area: head; }
  .location__map { grid-area: map; position: sticky; top: calc(var(--header-h) + 24px); }
  .location__map img { aspect-ratio: 4 / 4.4; }
  .location__groups { grid-area: groups; }
  /* Desktop: every group is opened by js/main.js, so they read as a grouped list */
  .loc-group summary { cursor: default; }
  .loc-group summary .icon { display: none; }
}


/* ==================== ABOUT THE DEVELOPER ==================== */
.developer { background: var(--ink-deep); color: var(--on-dark); }
.developer__grid { display: grid; gap: 26px; align-items: center; }
.developer .section-sub { color: var(--on-dark-muted); opacity: 1; }
.developer__copy { margin-top: 16px; max-width: 640px; color: var(--on-dark-muted); }
.developer .readmore__btn { color: var(--gold); }
.developer__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.developer__stats li { padding: 18px 8px 16px; text-align: center; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.developer__stats strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 6.5vw, 2.1rem); line-height: 1.1; color: var(--gold); }
.developer__stats span { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.3; color: var(--on-dark-muted); }

@media (min-width: 1024px) {
  .developer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; }
  .developer__stats { grid-template-columns: 1fr; gap: 12px; }
  .developer__stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 24px; text-align: left; }
  .developer__stats strong { font-size: 2rem; }
  .developer__stats span { margin: 0; font-size: 14px; }
}


/* ==================== 13. BROCHURE, FAQs, CONTACT ==================== */
.brochure { background: var(--paper); padding: 44px 0; }
.brochure__inner { display: grid; gap: 22px; justify-items: start; }
.brochure__book {
  width: 120px; height: 150px; padding: 16px 12px; border-radius: 4px 10px 10px 4px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--ink); color: var(--gold); box-shadow: 8px 10px 0 rgba(0, 0, 0, .15);
  border-left: 6px solid var(--ink-deep);
}
.brochure__book-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.15; }
.brochure__book-sub { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--on-dark); }
.brochure__text h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 4.4vw, 1.8rem); line-height: 1.2; color: var(--ink); }
.brochure__text p { margin-top: 6px; color: var(--muted); }

@media (min-width: 768px) {
  .brochure { padding: 56px 0; }
  .brochure__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
}

/* FAQs: one centred column */
.faqs__inner { max-width: 880px; }
.faq-list { display: grid; gap: 10px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  position: relative; padding: 18px 56px 18px 18px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15px; line-height: 1.4; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 16px; height: 2px; background: var(--brass);
  transition: transform .25s;
}
.faq summary::after { transform: rotate(90deg); }
.faq[open] summary::after { transform: rotate(0); }
.faq p { padding: 0 18px 18px; color: var(--muted); }
.faqs__help { margin-top: 24px; text-align: center; color: var(--muted); }
.faqs__help a { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; font-weight: 700; color: var(--ink); text-decoration: none; }
.faqs__help .icon { color: var(--brass); }

@media (min-width: 768px) {
  .faq summary { padding: 20px 64px 20px 24px; font-size: 16px; }
  .faq p { padding: 0 24px 20px; }
}

/* Site Visit: rounded light-grey panel; the form card overlaps the panel edge.
   Phone: panel only (text, round call / WhatsApp / hours buttons, "Book Site Visit" button). */
.contact__grid { display: grid; }
.contact__text {
  position: relative; overflow: hidden; padding: 36px 22px 30px;
  border-radius: 28px; background: var(--paper); color: var(--text);
}
.contact__text .section-title { color: var(--ink); }
.contact__lead { margin-top: 12px; max-width: 460px; color: var(--muted); }
.contact__links { margin-top: 20px; display: grid; gap: 10px; justify-items: start; }
.contact__links a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 14.5px; font-weight: 700; color: var(--ink); text-decoration: none;
}
.contact__round {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: var(--gold); transition: background-color .2s;
}
.contact__round--wa { background: var(--whatsapp); color: var(--white); }
.contact__round .icon { width: 20px; height: 20px; }
.contact__links a:hover .contact__round { background: var(--ink-deep); }
.contact__links a:hover .contact__round--wa { background: #1fb558; }
.contact__book { margin-top: 22px; }
.contact__form { display: none; }

@media (min-width: 768px) {
  .contact__text { padding: 52px 40px 100px 56px; }
  .contact__form { display: block; position: relative; z-index: 2; width: 100%; max-width: 480px; margin: -64px auto 0; }
  .contact__book { display: none; }
  .contact__links { grid-template-columns: repeat(2, auto); gap: 12px 28px; justify-content: start; }
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: center; }
  .contact__text { margin: 44px -72px 44px 0; padding: 64px 120px 64px 64px; }
  .contact__form { max-width: none; margin: 0; }
  .contact__links { grid-template-columns: none; }
}


/* ==================== 14. FOOTER ==================== */
.footer { background: var(--ink-deep); color: var(--on-dark-muted); padding: 44px 0 24px; font-size: 14px; }
.footer__top { display: flex; flex-direction: column; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.footer__top > img { width: 170px; padding: 8px 14px; border-radius: 10px; background: var(--white); }
.rera { display: flex; align-items: center; gap: 16px; }
.rera > div { min-width: 0; }
.rera__label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.rera__number { color: var(--on-dark); 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(--on-dark); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer__bottom a { color: var(--gold); }

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


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

/* Mobile sticky bar (phones + tablets, hidden on desktop) */
.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(0, 0, 0, .14);
}
.mobile-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--white); color: var(--ink); text-decoration: none;
  font-size: 14px; font-weight: 700;
}
.mobile-bar__btn .icon { width: 20px; height: 20px; color: var(--ink); }
.mobile-bar__btn--wa .icon { color: #128c4b; }
.mobile-bar__btn--primary { background: var(--ink); color: var(--on-dark); }

.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(0, 0, 0, .62); 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-lg); border-top: 5px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  animation: zoom-in .25s ease-out;
}
.modal__close {
  position: absolute; right: 10px; top: 10px; z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ivory); color: var(--ink);
}
.modal__close .icon { width: 20px; height: 20px; }
.modal__body { padding: 22px 20px 20px; }
.modal__title { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; margin: 2px 40px 14px 0; color: var(--ink); }
body.modal-open { overflow: hidden; }

/* Phones: a smaller card (about 40% of the screen instead of 58%) so the page stays visible behind it */
@media (max-width: 767px) {
  .modal { padding: 12px; }
  .modal__dialog { max-width: 360px; max-height: calc(100svh - 24px); border-top-width: 3px; }
  .modal__close { right: 6px; top: 6px; width: 34px; height: 34px; }
  .modal__close .icon { width: 18px; height: 18px; }
  .modal__body { padding: 16px 16px 14px; }
  .modal__body .form-card__eyebrow { display: none; }
  .modal__title { font-size: 1.25rem; margin: 0 38px 12px 0; }
  .modal .lead-form { gap: 9px; }
  .modal .field input { height: 44px; }  /* text stays 16px: smaller text makes iPhones zoom in */
  .modal .btn { min-height: 46px; }
  .modal .form-consent { font-size: 11px; line-height: 1.45; }
}

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

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

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


/* ==================== 16. 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; }
}


/* ==================== 17. THANK-YOU + PRIVACY PAGES ==================== */
.simple-page { padding-bottom: 0; background: var(--ink); color: var(--on-dark); }
.simple-page--light { background: var(--ivory); color: var(--text); }

/* Thank-you page: light, same look as the website (soft grey-white background, white card with a gold top line) */
.simple-page--thanks { background: linear-gradient(180deg, #f8f8f5 0%, #eeede8 100%); color: var(--text); }

.thanks {
  min-height: 100svh; max-width: 560px; margin: 0 auto; padding: 32px var(--gutter);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.thanks__card {
  width: 100%; padding: 36px 22px 32px;
  display: flex; flex-direction: column; align-items: center;
  background: var(--white); border: 1px solid rgba(0, 0, 0, .07); border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0, 0, 0, .08);
}
.thanks__logo { width: 190px; margin-bottom: 28px; }
.thanks__check {
  width: 80px; height: 80px; display: grid; place-items: center; margin-bottom: 22px;
  border-radius: 50%; background: var(--gold); color: var(--on-gold);
}
.thanks__check svg { width: 36px; height: 36px; }
.thanks h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1.1; margin-bottom: 8px; color: var(--ink); }
.thanks__lead { font-size: 19px; font-weight: 700; color: var(--gold-deep); margin-bottom: 12px; }
.thanks p { color: var(--muted); }
.thanks__actions { width: 100%; margin-top: 28px; display: grid; gap: 10px; }
.thanks__home { margin-top: 28px; font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); }
.thanks__home:hover { color: var(--brass); }
@media (min-width: 560px) {
  .thanks__card { padding: 44px 40px 38px; }
  .thanks__actions { width: auto; grid-template-columns: auto auto; }
}

.policy__header { background: var(--white); 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: 140px; }
.policy { max-width: 800px; padding-top: 48px; padding-bottom: 64px; }
.policy h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.15; margin-bottom: 20px; color: var(--ink); }
.policy h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 32px 0 8px; color: var(--ink); }
.policy p { color: var(--muted); margin-bottom: 12px; }
.policy__intro { font-size: 18px; color: var(--text) !important; }
.policy a { color: var(--ink); font-weight: 700; }
.policy__footer { padding: 24px 0; background: var(--ink-deep); font-size: 14px; color: var(--on-dark-muted); }


/* ==================== 18. FORM EXTRAS ==================== */
/* Bot-trap fields: a normal field placed far off-screen (NOT display:none / visibility:hidden / opacity:0),
   so people never see it but bots that fill every field do. */
.hp-field { position: absolute; left: -99999px; top: -99999px; }

/* Shown inside each form only when the page runs without PHP (e.g. VS Code Live Server) */
.form-preview-note {
  margin: 0; padding: 8px 12px; border-radius: var(--radius);
  background: var(--gold-soft); border: 1px dashed var(--brass);
  font-size: 13px; line-height: 1.45; color: var(--brass);
}

/* Submit button while the lead is being sent */
.is-submitting { pointer-events: none; }


/* ==================== 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, .overview__head .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(--ink);
}
.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; } }
