/* ==========================================================================
   The Palatial Japanese Edition by Hero Homes — Google Ads High-Converting Styles
   Mobile-first, responsive, zero-build vanilla CSS.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design Tokens ---------- */
:root {
  --clr-p: #C9A15B;          /* Palatial Gold (logo emblem): buttons, badges, accents */
  --clr-p-hover: #B48A45;    /* Deeper Gold Hover */
  --clr-p-ink: #8E6B2F;      /* Gold for text on white (AA 4.9:1): prices, links */
  --clr-on-p: #141414;       /* Text on gold surfaces (8.7:1) */
  --clr-p-tint: #F5EEDF;     /* Soft Gold Tint: focus rings, soft backgrounds */
  --clr-s: #141414;          /* Near Black: header, footer, dark bands */
  --clr-dark: #1A1A1A;       /* Deep Black Text */
  --clr-muted: #5A5A5A;      /* Secondary Muted Text */
  --clr-border: #E5E7EB;     /* Subtle Border */
  --clr-border-strong: #D1D5DB;
  --clr-page: #F8F5EF;       /* Warm Ivory Page Tint */
  --clr-surface: #FFFFFF;    /* Pure White */
  --clr-wa: #25D366;         /* WhatsApp Green */

  --ff-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-height: 64px;
  --rail-width: 320px;
  --ribbon-width: 36px;
  --actionbar-height: 58px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* ---------- CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-base);
  font-size: 15px;
  line-height: 1.6;
  color: var(--clr-dark);
  background-color: var(--clr-page);
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }

img, svg, iframe { vertical-align: middle; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 0.5rem; line-height: 1.25; font-weight: 700; color: var(--clr-dark); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.is-hidden { display: none !important; }

/* ---------- Layout Structure ---------- */
.content-measure {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-main {
  padding-top: var(--nav-height);
  padding-bottom: var(--actionbar-height);
}

@media (min-width: 1024px) {
  .site-main {
    padding-left: var(--ribbon-width);
    padding-right: var(--rail-width);
    padding-bottom: 0;
  }
}

/* ---------- Buttons & CTAs ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--clr-p);
  color: var(--clr-on-p);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(201, 161, 91, 0.3);
  text-align: center;
}
.btn-primary:hover {
  background-color: var(--clr-p-hover);
  box-shadow: 0 4px 8px rgba(180, 138, 69, 0.4);
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary.btn-block { width: 100%; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--clr-p);
  color: var(--clr-on-p);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(201, 161, 91, 0.35);
  transition: all 0.2s;
}
.btn-cta:hover {
  background-color: var(--clr-p-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(180, 138, 69, 0.45);
}

/* ---------- Section Container & Headings ---------- */
.section {
  padding: 50px 0;
}
.section.tone-light { background-color: var(--clr-surface); }
.section.tone-tint { background-color: var(--clr-page); }

.section-heading-wrap {
  text-align: center;
  margin-bottom: 36px;
}
.section-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--clr-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background-color: var(--clr-p);
  border-radius: var(--radius-pill);
}

.section-subheading {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 15px;
  color: var(--clr-muted);
}

@media (min-width: 768px) {
  .section { padding: 64px 0; }
  .section-heading { font-size: 32px; }
}

/* ---------- Header Navigation ---------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--clr-s);
  z-index: 50;
  border-bottom: 1px solid rgba(201, 161, 91, 0.35);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.header-brand-nav {
  display: flex;
  align-items: center;
  flex: 1;
  height: 100%;
  padding-left: 16px;
  padding-right: 16px;
}
.brand-logo img {
  height: 46px;
  width: auto;
}

.nav-menu {
  display: none;
  align-items: center;
  margin-left: auto;
}
.nav-menu a {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #E6E6E6;
  transition: color 0.15s;
  position: relative;
}
.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--clr-p);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  background-color: var(--clr-p);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
}

.header-brochure-btn {
  margin-left: 12px;
}

.navbar-toggler {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
}

/* Top-Right Contact Rail (Desktop Only) */
.header-contact-strip {
  display: none;
  width: var(--rail-width);
  height: 100%;
  background-color: var(--clr-p);
  color: var(--clr-on-p);
  align-items: stretch;
  flex-shrink: 0;
}
.header-contact-strip a,
.header-contact-strip button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-on-p);
  transition: background-color 0.2s;
}
.header-contact-strip a:hover,
.header-contact-strip button:hover {
  background-color: rgba(0, 0, 0, 0.08);
}
.header-contact-divider {
  width: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 12px 0;
}

@media (min-width: 1024px) {
  .navbar-toggler { display: none; }
  .nav-menu { display: flex; }
  .header-contact-strip { display: flex; }
}

/* Mobile Nav Drawer */
@media (max-width: 1023px) {
  .main-header.is-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--clr-s);
    padding: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-header.is-open .nav-menu a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .main-header.is-open .header-brochure-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
}

/* ---------- Left Quick Call Ribbon ---------- */
.quick-call-ribbon {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--ribbon-width);
  align-items: center;
  justify-content: center;
  z-index: 40;
}
.quick-call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--clr-p);
  color: var(--clr-on-p);
  font-size: 12.5px;
  font-weight: 600;
  padding: 0 16px;
  height: var(--ribbon-width);
  transform: rotate(-90deg);
  white-space: nowrap;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s;
}
.quick-call-btn:hover { background-color: var(--clr-p-hover); }

@media (min-width: 1024px) {
  .quick-call-ribbon { display: flex; }
}

/* ---------- Desktop Sticky Enquiry Rail ---------- */
.enquiry-rail {
  display: none;
  position: fixed;
  top: var(--nav-height);
  right: 0;
  width: var(--rail-width);
  height: calc(100vh - var(--nav-height));
  background-color: var(--clr-surface);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
  border-left: 1px solid var(--clr-border);
  z-index: 40;
  flex-direction: column;
}
.enquiry-rail-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}
.rail-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background-color: var(--clr-s);
}
.rail-logo {
  display: block;
  height: 58px;
  width: auto;
}
.rail-bottom {
  padding: 12px 20px;
  border-top: 1px solid var(--clr-border);
  background: #fafafa;
}

@media (min-width: 1024px) {
  .enquiry-rail { display: flex; }
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  background-color: #222;
}
@media (min-width: 1024px) {
  .hero-section {
    margin-left: calc(-1 * var(--ribbon-width));
  }
}
.hero-slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  min-height: 380px;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero-slider-wrap {
    min-height: 600px;
    aspect-ratio: 16 / 9;
  }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Portrait mobile banner */
@media (max-width: 767px) {
  .hero-slider-wrap {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background-color 0.2s, transform 0.2s;
}
.hero-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

/* Hero Offer Card */
.hero-offer-card {
  position: relative;
  background-color: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--clr-border);
  z-index: 15;
}
@media (min-width: 1024px) {
  .hero-offer-card {
    position: absolute;
    top: 24px;
    left: calc(var(--ribbon-width) + 20px);
    width: 310px;
    margin: 0;
  }
}

.status-badge {
  display: inline-block;
  background-color: var(--clr-p);
  color: var(--clr-on-p);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-project-title {
  font-size: 19px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 2px;
  line-height: 1.2;
}
.hero-title-sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-p-ink);
}
.hero-project-loc {
  font-size: 13px;
  color: var(--clr-muted);
}
.hero-project-dev {
  font-size: 12px;
  color: var(--clr-muted);
  margin-bottom: 12px;
}

.hero-stats-table {
  background-color: var(--clr-page);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  margin-bottom: 12px;
}
.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px solid #e0e0e0;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--clr-muted); }
.stat-val { font-weight: 700; color: var(--clr-dark); }

.hero-offer-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.hero-offer-line {
  background-color: var(--clr-s);
  border: 1px dashed var(--clr-p);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
}

.hero-pricing-badge {
  text-align: center;
  padding-top: 4px;
}
.pricing-headline { font-size: 13px; font-weight: 600; }
.pricing-start { font-size: 11px; color: var(--clr-muted); margin-top: 2px; }
.pricing-val { font-size: 24px; font-weight: 800; color: var(--clr-p-ink); line-height: 1.1; margin: 2px 0; }
.pricing-suffix { font-size: 12.5px; font-weight: 500; color: var(--clr-muted); margin-bottom: 10px; }

/* Inline Mobile Enquiry Box */
.hero-inline-form-box {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  margin: 16px;
}
@media (min-width: 1024px) {
  .hero-inline-form-box { display: none; }
}

/* ---------- Form Styles ---------- */
.form-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.form-subtitle {
  font-size: 12.5px;
  color: var(--clr-muted);
  text-align: center;
  margin-bottom: 16px;
}
.form-group {
  margin-bottom: 12px;
}
.input-text {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  background-color: #fff;
  color: var(--clr-dark);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-text:focus {
  border-color: var(--clr-p);
  box-shadow: 0 0 0 2px var(--clr-p-tint);
}

.phone-input-group {
  display: flex;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s;
}
.phone-input-group:focus-within {
  border-color: var(--clr-p);
  box-shadow: 0 0 0 2px var(--clr-p-tint);
}
.js-country-select {
  width: 90px;
  border: none;
  border-right: 1px solid var(--clr-border);
  background-color: #fafafa;
  padding: 0 8px;
  font-size: 13px;
  color: #333;
  outline: none;
  cursor: pointer;
}
.phone-input-group .input-text {
  border: none;
  border-radius: 0;
}
.phone-input-group .input-text:focus {
  box-shadow: none;
}

.form-error {
  color: #c9182b;
  font-size: 12.5px;
  margin-top: 6px;
  padding: 6px 10px;
  background-color: #fff0f1;
  border-radius: var(--radius-sm);
}
.form-success {
  text-align: center;
  padding: 24px 12px;
}
.form-success-title {
  color: var(--clr-p-ink);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.form-success-text {
  font-size: 14px;
  color: var(--clr-muted);
}

/* ---------- Overview / About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
  }
}
.about-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.about-text p {
  color: #333;
  line-height: 1.7;
}
.about-details summary {
  list-style: none;
  cursor: pointer;
}
.about-details summary::-webkit-details-marker { display: none; }
.read-more-toggle {
  color: var(--clr-p-ink);
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}
.about-details[open] .read-more-text { display: none; }
.about-details:not([open]) .read-less-text { display: none; }

.about-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Smart features strip (Overview) */
.smart-features {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--clr-border);
  text-align: center;
}
.smart-features-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--clr-p-ink);
  margin-bottom: 20px;
}
.smart-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 600px) {
  .smart-features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .smart-features-grid { grid-template-columns: repeat(5, 1fr); }
}
.smart-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  background: var(--clr-page);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.smart-feature img {
  width: 48px;
  height: 48px;
}

/* ---------- Pricing Section ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.pricing-grid--2 { max-width: 720px; }
@media (min-width: 768px) {
  .pricing-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
.pricing-card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-p);
}
.card-type {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-dark);
}
.card-area {
  font-size: 14px;
  color: var(--clr-muted);
  margin-top: 4px;
  margin-bottom: 16px;
}
.card-price-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 2px;
}
.card-price-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--clr-p-ink);
  margin-bottom: 2px;
}
.card-price-suffix {
  font-size: 13px;
  color: var(--clr-muted);
  margin-bottom: 24px;
}
.pricing-card .btn-cta {
  margin-top: auto;
  width: 100%;
}

/* ---------- Floor Plans Section ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
.plan-card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  padding-bottom: 24px;
}
.plan-title {
  font-size: 20px;
  font-weight: 700;
  padding: 16px;
  background-color: #fafafa;
  border-bottom: 1px solid var(--clr-border);
}
.plan-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
}
.plan-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.plan-img-wrap.is-blurred img {
  filter: blur(6px) saturate(0.6);
}
.plan-img-wrap:hover img {
  transform: scale(1.03);
}
.plan-overlay-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
}
.plan-overlay-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--clr-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.plan-card .btn-cta {
  margin-top: 20px;
}

/* ---------- Amenities Section ---------- */
.amenities-slider-container {
  position: relative;
}
.amenities-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}
.amenities-track::-webkit-scrollbar {
  height: 6px;
}
.amenities-track::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.amenity-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .amenity-card { flex: 0 0 340px; }
}
.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.amenity-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--clr-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.artistic-chip {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-dark);
  transition: all 0.2s;
}
.slider-arrow-btn:hover {
  background: var(--clr-p);
  color: var(--clr-on-p);
  border-color: var(--clr-p);
}

/* ---------- Gallery Section ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Location Section ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 992px) {
  .location-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
  }
}
.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.connectivity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.connectivity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.connectivity-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.connectivity-name {
  flex: 1;
  line-height: 1.35;
}
.connectivity-dist {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-on-p);
  background-color: var(--clr-p-tint);
  border: 1px solid var(--clr-p);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* ---------- Virtual Site Visit Section ---------- */
.site-visit-section {
  background-color: var(--clr-s);
  padding: 60px 0;
}
.site-visit-card {
  background-color: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 992px) {
  .site-visit-card {
    grid-template-columns: 1.1fr 1fr;
  }
}
.site-visit-form-side {
  padding: 36px 28px;
}
.site-visit-img-side {
  position: relative;
  min-height: 280px;
}
.site-visit-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Developer Section ---------- */
.developer-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.developer-desc {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* ---------- Footer ---------- */
.main-footer {
  background-color: var(--clr-s);
  color: #fff;
  padding: 48px 16px calc(var(--actionbar-height) + 24px);
  font-size: 13px;
  text-align: center;
}
@media (min-width: 1024px) {
  .main-footer {
    padding-left: var(--ribbon-width);
    padding-right: var(--rail-width);
    padding-bottom: 24px;
  }
}
.footer-dev-logo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 32px;
}
.rera-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}
.rera-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.rera-qr-box {
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
}
.rera-qr-box img {
  width: 84px;
  height: 84px;
  display: block;
}
.rera-title { font-weight: 600; color: #fff; font-size: 13.5px; }
.rera-num { color: #ccc; font-size: 12px; }

.footer-disclaimer {
  max-width: 860px;
  margin: 0 auto 24px;
  color: #bbb;
  font-size: 12px;
  line-height: 1.6;
}
.footer-disclaimer a {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  color: #999;
  font-size: 12px;
}

/* ---------- Sticky Mobile Bottom Bar ---------- */
.mobile-action-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--actionbar-height);
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  z-index: 45;
  padding: 4px;
  gap: 4px;
}
.mobile-act-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background-color: var(--clr-p);
  color: var(--clr-on-p);
  font-size: 11.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
}
.mobile-act-btn:hover { background-color: var(--clr-p-hover); }
.mobile-act-btn.btn-wa { background-color: var(--clr-wa); color: #fff; }

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

/* ---------- Modal Dialog ---------- */
dialog.modal-dialog {
  border: none;
  background: transparent;
  padding: 16px;
  max-width: 520px;
  width: 100%;
}
dialog.modal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}
.modal-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  position: relative;
}
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #444;
  cursor: pointer;
}
.modal-close-btn:hover {
  background: #e2e2e2;
}

/* Lightbox Modal */
dialog.lightbox-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 900px;
  width: 95%;
}
dialog.lightbox-dialog::backdrop {
  background: rgba(0, 0, 0, 0.85);
}
.lightbox-box {
  position: relative;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
}
.lightbox-box img {
  max-height: 80vh;
  width: auto;
  margin: 0 auto;
}
.lightbox-caption {
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  background: #111;
}

/* ---------- Single-screen sections (desktop) ----------
   Floor Plans, Amenities and Location fit one viewport on 14" laptops
   (~1280–1536px wide, ~600px visible below the fixed header). */
@media (min-width: 1024px) {
  .section--fit { padding: 36px 0; }
  .section--fit .section-heading-wrap { margin-bottom: 22px; }
  .section--fit .section-heading { font-size: 28px; padding-bottom: 10px; }

  /* Floor plans: shorter preview images, tighter card chrome */
  .section--fit .plans-grid { gap: 24px; }
  .section--fit .plan-card { padding-bottom: 16px; }
  .section--fit .plan-title { font-size: 17px; padding: 10px 16px; }
  .section--fit .plan-img-wrap { aspect-ratio: 2 / 1; }
  .section--fit .plan-card .btn-cta { margin-top: 14px; }

  /* Amenities: smaller cards, arrows + CTA closer together */
  .section--fit .amenity-card { flex-basis: 300px; }
  .section--fit .slider-controls { margin-top: 12px; }
  .section--fit .slider-arrow-btn { width: 38px; height: 38px; }
  .section--fit .text-center.mt-6 { margin-top: 14px; }

  /* Location: map stretches to the list height instead of a fixed 16:10 box */
  .section--fit .location-grid { align-items: stretch; gap: 28px; }
  .section--fit .map-frame { aspect-ratio: auto; min-height: 300px; }
  .section--fit .connectivity-list { gap: 8px; }
  .section--fit .connectivity-item { padding: 7px 14px; font-size: 14px; }
  .section--fit .connectivity-icon { width: 30px; height: 30px; }
  .section--fit .location-grid .mt-6 { margin-top: 16px; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }



