/* ===================================================================
   ASHIANA ADVIK — STYLESHEET
   Palette derived from the Ashiana / Advik logo:
   - Ashiana crimson (primary brand red)
   - Advik rose/mauve (secondary senior-living accent)
   - Warm sand/taupe backgrounds (brochure paper tone)
   - Charcoal ink for body copy

   UPDATED: mobile fixes for
   1) Location map size + distance chart mobile scroll
   2) "At a Glance" fact table -> stacked cards on mobile
   3) Sitemap master-plan image sizing note (see HTML <picture>)
   4) Location & Connectivity image object-fit fix
   5) WhatsApp button added to mobile sticky bar
   =================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand colours (from logo) */
  --color-primary: #c1122e;        /* Ashiana crimson */
  --color-primary-dark: #8c0c22;
  --color-primary-light: #fbecee;
  --color-secondary: #9c3061;      /* Advik rose/mauve */
  --color-secondary-dark: #74234a;

  /* Neutrals */
  --color-ink: #2a2422;
  --color-ink-soft: #4d4440;
  --color-ink-muted: #7c7169;
  --color-white: #ffffff;
  --color-sand: #e4d2c2;           /* brochure paper tone */
  --color-sand-light: #f6efe7;
  --color-sand-dark: #cdb49f;
  --color-border: #e3d7cb;
  --color-dark-bg: #201a18;
  --color-whatsapp: #25D366;

  /* Type */
  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 940px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --shadow-soft: 0 10px 34px rgba(42, 24, 20, 0.1);
  --shadow-strong: 0 18px 48px rgba(42, 24, 20, 0.22);
  --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.2;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.6rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: 5.5rem 0;
}

.section.alt-bg {
  background: var(--color-sand-light);
}

.text-center {
  text-align: center;
}

.text-center .section-body {
  margin: 0 auto;
  max-width: 720px;
}

.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title.light {
  color: var(--color-white);
}

.section-body {
  font-size: 1rem;
  color: var(--color-ink-soft);
  max-width: 720px;
}

.gold-line {
  display: block;
  width: 52px;
  height: 3px;
  margin: 1.1rem 0 1.75rem;
  background: var(--color-primary);
}

.text-center .gold-line {
  margin: 1.1rem auto 1.75rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary,
.btn-submit {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-submit:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: var(--color-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-dark {
  background: var(--color-ink);
  color: var(--color-white);
}

.btn-dark:hover {
  background: #000;
}

.btn-block {
  width: 100%;
  text-align: center;
  margin-top: 1.1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 18px rgba(42, 24, 20, 0.08);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-text {
  font-size: 1.2rem;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}

.logo-text em {
  font-style: normal;
  color: var(--color-secondary);
  margin-left: 0.25rem;
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
}

.main-nav ul {
  display: flex;
  gap: 1.6rem;
}

.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  border-bottom: 2px solid transparent;
  padding: 0.3rem 0;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a.active-link {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.header-call {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 0.65rem 1.3rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background var(--transition);
}

.header-call:hover {
  background: var(--color-primary-dark);
}

.mobile-call-btn {
  display: none;
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-ink);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-call-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--color-white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 5.5rem;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to bottom, rgba(32, 20, 18, 0.55) 0%, rgba(32, 20, 18, 0.72) 100%),
    url('../img/b1.webp') center/cover no-repeat;
  background-color: #1c1310;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3.2rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-sand);
  margin-bottom: 0.9rem;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  color: var(--color-white);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero-text h1 span {
  display: block;
  font-size: 0.55em;
  color: var(--color-sand);
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
}

.hero-tagline {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1.6rem;
}

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===========================
   HERO STARTING PRICE
=========================== */

.hero-price{
    display:inline-block;
    margin:0 0 2rem;
    padding:14px 22px;
    background:rgba(32,26,24,.65);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    border-left:4px solid #d4af37;
    border-radius:8px;
}

.hero-price .price-label{
    display:block;
    margin-bottom:6px;
    font-size:12px;
    font-weight:600;
    letter-spacing:2px;
    text-transform:uppercase;
    color:rgba(255,255,255,.85);
}

.hero-price .price-value{
    display:flex;
    align-items:baseline;
    gap:8px;
    flex-wrap:nowrap;
    white-space:nowrap;
    line-height:1;
    font-size:2.3rem;
    font-weight:700;
    color:#fff;
}

.hero-price .price-value span{
    color:#d4af37;
}

.hero-price .price-value small{
    font-size:1.5rem;
    font-weight:600;
    color:#fff;
    white-space:nowrap;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width:860px){

    .hero-price{
        width:auto;
        max-width:100%;
        padding:12px 16px;
        margin:0 0 1.5rem;
    }

    .hero-price .price-label{
        font-size:10px;
        letter-spacing:1.8px;
        margin-bottom:5px;
    }

    .hero-price .price-value{
        display:flex;
        align-items:center;
        gap:5px;
        flex-wrap:nowrap;
        white-space:nowrap;
        font-size:1.75rem;
    }

    .hero-price .price-value span{
        color:#d4af37;
    }

    .hero-price .price-value small{
        display:inline;
        font-size:1rem;
        margin:0;
        white-space:nowrap;
    }
}

@media (max-width:420px){

    .hero-price{
        padding:10px 14px;
    }

    .hero-price .price-value{
        font-size:1.5rem;
        gap:4px;
    }

    .hero-price .price-value small{
        font-size:.9rem;
    }
}

.hl-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  flex-shrink: 0;
}

.hero-btns {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

/* Hero form */
.hero-form {
  background: var(--color-white);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-strong);
}

.hero-form-title {
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.3rem;
}

.hero-form-sub {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  text-align: center;
  margin-bottom: 1.4rem;
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  border: 1px solid var(--color-border);
  padding: 0.85rem 0.95rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  transition: border-color var(--transition);
}

.form-group input:focus {
  border-color: var(--color-primary);
}

.consent {
  font-size: 0.68rem;
  color: var(--color-ink-muted);
  margin-top: 0.7rem;
  line-height: 1.55;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--color-dark-bg);
  color: var(--color-white);
  padding: 2.75rem 0;
}

.stat-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-grid li {
  text-align: center;
  padding: 0.8rem 2.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-grid li:last-child {
  border-right: none;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Project highlights ---------- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
}

.hl-card {
  border: 1px solid var(--color-border);
  padding: 2.1rem 1.4rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hl-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.hl-card-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  display: block;
}

.hl-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
}

.hl-card p {
  font-size: 0.83rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.2rem;
  align-items: center;
}

.about-figure {
  position: relative;
  max-width: 100%;
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-img-sub {
  position: absolute;
  bottom: -1.4rem;
  right: -1.4rem;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-soft);
}

.about-text p {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.chip {
  border: 1px solid var(--color-border);
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
}

/* ---------- Fact table ("At a Glance") ---------- */
.fact-table {
  margin-top: 2.5rem;
}

.fact-table tr:nth-child(even) {
  background: var(--color-sand-light);
}

.fact-table tr:hover {
  background: var(--color-primary-light);
}

.fact-table th,
.fact-table td {
  text-align: left;
  padding: 0.95rem 1.3rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink-soft);
}

.fact-table th {
  font-weight: 700;
  color: var(--color-ink);
  width: 38%;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Price list ---------- */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.price-card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.price-card-head {
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.95rem 1rem;
}

.price-card-head span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.2rem;
}

.price-card-body {
  padding: 1.6rem 1.7rem 1.8rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.price-row:last-of-type {
  border-bottom: none;
}

.price-row dt {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

.price-row dd {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-ink);
  text-align: right;
}

.price-card .btn-block {
  margin-top: 1.4rem;
}

.price-note {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  text-align: center;
}

/* ---------- Floor plans ---------- */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.floor-card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.floor-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.floor-card-img {
  position: relative;
  background: var(--color-sand-light);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.floor-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.05);
  transition: filter var(--transition);
}

.floor-card-img:hover img {
  filter: blur(1.5px);
}

.floor-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 20, 18, 0.32);
  border: none;
  width: 100%;
  padding: 0;
}

.floor-overlay span {
  color: var(--color-white);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.4rem;
  transition: background var(--transition);
}

.floor-overlay:hover span {
  background: var(--color-primary-dark);
}

.floor-card-body {
  padding: 1.5rem 1.5rem 1.7rem;
}

.floor-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.floor-card-title {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
}

.floor-card-area {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--color-border);
  padding-top: 0.9rem;
  font-size: 0.85rem;
}

.floor-card-area dt {
  color: var(--color-ink-muted);
}

.floor-card-area dd {
  font-weight: 700;
  color: var(--color-ink);
}

/* ---------- Amenities tabs ---------- */
.amenity-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  flex-wrap: wrap;
}

.amenity-tab {
  padding: 0.95rem 1.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.amenity-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.amenity-panel {
  margin-top: 2.4rem;
}

.amenity-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.amenity-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.05rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.af-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.amenity-features strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 0.25rem;
}

.amenity-features span {
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  line-height: 1.55;
}

/* ---------- Master plan image ---------- */


@media (min-width: 861px) {
  .masterplan-img {
    max-width: 820px;
    margin: 0 auto;
    display: block;
  }
}

/* ---------- Site plan ---------- */
.siteplan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 3rem;
}

.siteplan-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.5rem 1.4rem;
}

.siteplan-item h3 {
  font-size: 0.94rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.siteplan-item p {
  font-size: 0.83rem;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

.phase-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  color: var(--color-ink-soft);
}

.phase-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-swatch {
  width: 22px;
  height: 6px;
  display: inline-block;
}

.legend-phase1 { background: #cf9b34; }
.legend-phase2 { background: #b3122f; }
.legend-phase3 { background: #3a6ea5; }
.legend-future {
  background: repeating-linear-gradient(90deg, var(--color-ink) 0 6px, transparent 6px 12px);
}

/* ---------- Specifications ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.spec-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 1.9rem;
}

.spec-block-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-body);
}

.spec-row {
  margin-bottom: 0.95rem;
}

.spec-row dt {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.15rem;
}

.spec-row dd {
  font-size: 0.83rem;
  color: var(--color-ink-muted);
  line-height: 1.6;
}

.specs-note {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  text-align: center;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

/* ---------- Location ---------- */
.location-map-figure {
  margin-top: 3rem;
}

.location-map-img {
  width: 100%;
  aspect-ratio: 15 / 7;
  object-fit: cover;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
  align-items: start;
}

.location-subhead {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.location-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.loc-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.loc-text {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  flex: 1;
}

.loc-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

/* Distance chart wrapped in .table-scroll for mobile — see below */
.distance-table th,
.distance-table td {
  text-align: left;
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.distance-table thead th {
  background: var(--color-dark-bg);
  color: var(--color-white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-group-head {
  background: var(--color-sand);
  color: var(--color-ink);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.table-source {
  font-size: 0.74rem;
  color: var(--color-ink-muted);
  margin-top: 0.7rem;
}

/* .table-scroll now used to wrap BOTH the fact-table and distance-table
   on mobile — gives it a card border so it reads intentionally, not
   like an overflow bug */
.table-scroll {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.table-scroll table {
  border: none;
  margin-top: 0;
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.why-card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  padding: 2rem 1.7rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 0.9rem;
  display: block;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  line-height: 1.65;
}

/* ---------- Developer / Consultants ---------- */
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.dev-grid p {
  font-size: 0.95rem;
  color: var(--color-ink-soft);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.consultant-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.consultant-card {
  background: var(--color-sand-light);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
}

.consultant-role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.consultant-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.consultant-body {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: 1rem;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 0;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ink);
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-ink-soft);
  font-size: 1.2rem;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.faq-item.open .faq-toggle {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.faq-a {
  display: none;
  padding: 0 0 1.3rem;
  max-width: 100%;
}

.faq-a p {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  line-height: 1.8;
}

.faq-item.open .faq-a {
  display: block;
}

/* ---------- CTA / contact ---------- */
.cta-section {
  padding: 6rem 0;
  background:
    linear-gradient(to bottom, rgba(32, 20, 18, 0.82), rgba(32, 20, 18, 0.9)),
    linear-gradient(135deg, #3b2420, #1c1310);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 2.5rem;
  align-items: start;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 1.2rem;
}

.contact-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.contact-checklist li {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding-left: 1.5rem;
}

.contact-checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

.contact-address {
  font-style: normal;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 1.1rem 0 0.4rem;
}

.contact-phone,
.contact-email {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
  word-break: break-word;
}

.contact-address p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2.2rem;
}

.contact-form .form-group input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
}

.contact-form .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.contact-form .consent {
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark-bg);
  color: var(--color-white);
  padding: 3.5rem 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 0.9rem;
}

.footer-brand span {
  color: var(--color-secondary);
}

.footer-address {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 0.9rem;
  display: block;
}

.footer-contact a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.4rem;
}

.footer-meta {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.footer-meta div {
  display: flex;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.footer-meta dt {
  color: rgba(255, 255, 255, 0.4);
  min-width: 105px;
}

.footer-meta dd {
  color: rgba(255, 255, 255, 0.7);
}

.footer-col-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.1rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-secondary);
}

.footer-offices p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.32);
  line-height: 1.75;
  max-width: 1040px;
  padding: 1.8rem 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-copy {
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.28);
}

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
}

.mob-bar-btn {
  flex: 1;
  padding: 1rem 0.4rem;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.mob-bar-btn.enquire {
  background: var(--color-primary);
  color: var(--color-white);
}

.mob-bar-btn.call {
  background: var(--color-ink);
  color: var(--color-white);
}

.mob-bar-btn.whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
}

.mob-bar-btn svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(32, 20, 18, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--color-white);
  width: 100%;
  max-width: 480px;
  padding: 2.6rem 2.3rem;
  position: relative;
  box-shadow: var(--shadow-strong);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #888;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-ink);
}

.modal-title {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.modal-sub {
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.6rem;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1080px) {
  .about-grid,
  .dev-grid,
  .contact-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .floor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .siteplan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-call {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-call-btn {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 2.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floor-grid,
  .siteplan-grid,
  .why-grid,
  .amenity-features,
  .price-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .consultant-cards {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .stat-grid li {
    padding: 0.7rem 1.1rem;
  }

  .mobile-bar {
    display: flex;
  }

  .site-footer {
    padding-bottom: 4.5rem;
  }

  /* first row of hero form on top of clamped image on small screens */
  .about-img-sub {
    right: 0;
    bottom: -1rem;
    width: 42%;
  }

  /* #3 Sitemap image: shrink aspect ratio for mobile; pair with the
     <picture> mobile source in HTML (img/mp-mobile.webp, 900x700) so
     an actual smaller file is served, not just a smaller box. */
  .masterplan-img {
    aspect-ratio: 4 / 3;
  }

  /* #4 Location & Connectivity map: switch cover -> contain so the
     map isn't cropped and labels/pins stay visible on narrow screens */
  .location-map-img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: var(--color-sand-light);
    padding: 0.5rem;
  }

  /* #1 Distance chart: scrollable card container instead of raw
     overflow, plus a subtle shadow hinting there's more to scroll */
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: inset -12px 0 12px -12px rgba(42, 24, 20, 0.15);
  }
}

@media (max-width: 600px) {
  /* #2 "Ashiana Advik at a Glance" fact table -> stacked cards */
  .fact-table,
  .fact-table tbody,
  .fact-table tr,
  .fact-table th,
  .fact-table td {
    display: block;
    width: 100%;
  }

  .fact-table {
    min-width: 0;
  }

  .fact-table tr {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    padding: 0.9rem 1rem;
    background: var(--color-white);
  }

  .fact-table tr:nth-child(even) {
    background: var(--color-white);
  }

  .fact-table th {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    padding: 0 0 0.3rem;
    border-bottom: none;
    width: 100%;
  }

  .fact-table td {
    padding: 0;
    font-size: 0.95rem;
    color: var(--color-ink);
    border-bottom: none;
  }

  /* .table-scroll wrapping the fact-table doesn't need horizontal
     scroll once stacked, but keep the rule harmless if still applied */
  #factsheet .table-scroll {
    overflow-x: visible;
    border: none;
    box-shadow: none;
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-img-sub {
    width: 40%;
    right: 0.5rem;
    bottom: -0.8rem;
  }
}

/* Mobile nav open state */
.main-nav.mobile-open {
  display: flex;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--color-white);
  padding: 1.4rem 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
  z-index: 998;
}

.main-nav.mobile-open ul {
  flex-direction: column;
  gap: 0;
}

.main-nav.mobile-open a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* ===================================================================
   MOBILE HORIZONTAL-SCROLL FIX
   The page was scrolling sideways on phones. Root causes were: (1)
   the negative-offset second image in the About section pushing past
   the viewport edge, (2) the fact / distance tables having no
   scroll container of their own, and (3) a few flex/grid children
   without a width ceiling. This block closes all three off without
   touching layout on desktop.
   =================================================================== */
html,
body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.container,
.hero-content,
.hero-form,
.footer-inner {
  max-width: 100%;
}

.fact-table,
.distance-table {
  min-width: 480px;
}

@media (max-width: 860px) {
  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .about-figure {
    overflow: visible;
  }

  .price-card-body,
  .floor-card-body {
    padding-left: 1.3rem;
    padding-right: 1.3rem;
  }
}

@media (max-width: 600px) {
  /* fact-table no longer needs the 480px floor once it's stacked */
  .fact-table {
    min-width: 0;
  }
}

.location-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

.location-caption {
  font-size: 0.85rem;
  color: var(--color-ink-muted);
  margin-bottom: 1.4rem;
}

.location-top-grid .location-map-img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--color-sand-light);
  padding: 0.5rem;
}

.location-grid {
  grid-template-columns: 1fr;   /* was 1fr 1fr — now just the table */
  margin-top: 3.5rem;
}

@media (max-width: 1080px) {
  .location-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* ---------- Distance chart: mobile fix — km column was pushed off-screen ---------- */
@media (max-width: 860px) {
  /* stop forcing a wide table that needs horizontal scroll */
  .distance-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .distance-table th,
  .distance-table td {
    white-space: normal;      /* allow text to wrap instead of pushing right */
    word-break: break-word;
    padding: 0.6rem 0.7rem;
    font-size: 0.8rem;
  }

  /* Connectivity column gets more room, Distance column stays compact */
  .distance-table th:first-child,
  .distance-table td:first-child {
    width: 68%;
  }

  .distance-table th:last-child,
  .distance-table td:last-child {
    width: 32%;
    text-align: left;
    font-weight: 600;
    color: var(--color-primary);
  }

  /* no horizontal scroll needed anymore once table fits */
  #location .table-scroll {
    overflow-x: visible;
    box-shadow: none;
  }
}

@media (max-width: 400px) {
  .distance-table th,
  .distance-table td {
    font-size: 0.76rem;
    padding: 0.55rem 0.5rem;
  }
}
/* ---------- Master Plan: side-by-side layout — DESKTOP ONLY ---------- *//* ---------- Master Plan: side-by-side layout — DESKTOP ONLY ---------- */
@media (min-width: 861px) {
  .masterplan-top-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2rem;
    align-items: stretch;      /* list stretches to match image height */
    margin-top: 3rem;
  }

  .masterplan-top-grid .masterplan-figure {
    margin-top: 0;
  }

  .masterplan-top-grid .masterplan-img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  /* list fills the same height as the image, no scroll */
  .masterplan-top-grid .siteplan-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-template-columns: none;
    gap: 0.5rem;
    margin-top: 0;
    height: 100%;
    max-height: none;
    overflow: visible;
  }

  .masterplan-top-grid .siteplan-item {
    padding: 0.7rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .masterplan-top-grid .siteplan-item h3 {
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
  }

  .masterplan-top-grid .siteplan-item p {
    font-size: 0.74rem;
    line-height: 1.45;
  }
}

/* if 11 items still feel tight at smaller desktop widths, shrink further */
@media (min-width: 861px) and (max-width: 1180px) {
  .masterplan-top-grid .siteplan-item h3 {
    font-size: 0.76rem;
  }

  .masterplan-top-grid .siteplan-item p {
    font-size: 0.7rem;
    line-height: 1.35;
  }
}