/* =========================================================================
   Prestige Bangalore - Shared stylesheet
   Mobile-first. No CSS framework. One stylesheet for the whole site.

   Contents
   1.  Design tokens
   2.  Reset & base
   3.  Layout helpers
   4.  Typography
   5.  Buttons & CTAs
   6.  Header / navigation
   7.  Breadcrumbs
   8.  Hero & slider
   9.  Cards, grids, media
   10. Tables
   11. Forms
   12. Accordion / FAQ / tabs
   13. Gallery & lightbox
   14. Notes, callouts, badges
   15. Footer
   16. Sticky mobile CTA bar
   17. Utilities
   18. Reduced motion & print
   ========================================================================= */

/* ---------------------------------------------------------------- 1. Tokens */
:root {
  /* Minimal, light, neutral premium palette.
     Hierarchy comes from size, weight and whitespace - not from colour.
     One restrained accent (deep green) carries interaction and emphasis. */
  --ink:        #1a1a17;   /* near-black, slightly warm */
  --ink-2:      #34342e;   /* dark secondary */
  --body:       #52524b;   /* body text      */
  --muted:      #7a7a72;   /* secondary text */
  --line:       #e6e4de;   /* hairlines      */
  --bg:         #ffffff;
  --bg-soft:    #f7f6f2;   /* warm off-white */
  --bg-tint:    #efedE6;

  /* Single accent. --gold* names are kept as aliases so the whole
     stylesheet keeps working; the values are the green accent. */
  --accent:      #2f5d4a;
  --accent-deep: #24483a;
  --accent-soft: #eaf0ec;
  --gold:       var(--accent);
  --gold-deep:  var(--accent-deep);
  --gold-soft:  var(--accent-soft);

  --ok:         #1c6b4b;
  --err:        #a5342a;

  /* Type - one contemporary sans, hierarchy by weight and size */
  --f-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --s1: .25rem; --s2: .5rem;  --s3: .75rem; --s4: 1rem;
  --s5: 1.5rem; --s6: 2rem;   --s7: 3rem;   --s8: 4rem;  --s9: 6rem;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(26,26,23,.04), 0 2px 10px rgba(26,26,23,.04);
  --shadow-md: 0 6px 28px rgba(26,26,23,.09);

  --wrap: 1200px;
  --header-h: 70px;
}

/* ------------------------------------------------------- 2. Reset & base */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  /* Guards against accidental horizontal overflow on small screens */
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--bg-tint); }

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

/* Visible focus on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: 0; top: -100px; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* --------------------------------------------------- 3. Layout helpers */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s5); }

section { padding-block: var(--s7); }
section.tight { padding-block: var(--s6); }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }
.bg-ink  { background: var(--ink); color: rgba(255,255,255,.76); }
.bg-ink h2, .bg-ink h3, .bg-ink h4, .bg-ink strong { color: #fff; }
.bg-ink a { color: #b6d5c7; }
.bg-ink .eyebrow { color: rgba(255,255,255,.72); }
.bg-ink .eyebrow::before { background: rgba(255,255,255,.55); }
.bg-ink ul.ticks li::before { background: #8fc0ab; }

@media (min-width: 768px) {
  section { padding-block: var(--s8); }
  section.tight { padding-block: var(--s7); }
}

/* ----------------------------------------------------- 4. Typography */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--s3);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 700; letter-spacing: -.032em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.1rem, 2.1vw, 1.3rem); letter-spacing: -.015em; }
h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0 0 var(--s4); }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.08rem; color: var(--body); max-width: 70ch; }
.measure { max-width: 72ch; }

/* Small uppercase label above a heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-body);
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px; background: var(--accent); flex: 0 0 1.6rem;
}

.section-head { margin-bottom: var(--s6); max-width: 72ch; }

ul.ticks { list-style: none; padding: 0; margin: 0 0 var(--s4); }
ul.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: var(--s2); }
ul.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold);
}
ul.ticks li:last-child { margin-bottom: 0; }

hr.rule { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }

/* ------------------------------------------------- 5. Buttons & CTAs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--f-body); font-size: .93rem; font-weight: 700;
  line-height: 1.2; text-align: center; text-decoration: none; letter-spacing: -.005em;
  padding: .9rem 1.6rem; min-height: 48px;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
/* Primary is near-black on light - contrast, not colour, carries emphasis */
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-dark { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: #cdcbc3; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Keyword links are bolded with <strong>. Inside a table header (600) the
   UA's `bolder` would resolve to 900, so pin them all to the same weight. */
a > strong { font-weight: 700; }

.link-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; font-size: .92rem; color: var(--gold-deep); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.link-more:hover { color: var(--ink); }

/* --------------------------------------------- 6. Header / navigation */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  /* NO backdrop-filter here. A non-none backdrop-filter makes this element a
     containing block for its position:fixed descendants, which would size the
     mobile nav panel against the 70px header instead of the viewport and
     collapse it to a sliver. It is re-applied at the desktop breakpoint
     below, where the nav is position:static and unaffected. */
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: var(--f-display); font-size: 1rem; letter-spacing: .02em;
}
.brand-name {
  font-family: var(--f-display); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); line-height: 1.15; letter-spacing: -.02em;
}
.brand-name small {
  display: block; font-family: var(--f-body); font-size: .62rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted); font-weight: 700;
}

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: .5rem .7rem; font: inherit; font-size: .85rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
}
.nav-toggle .bars { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { top: 0; transform: rotate(-45deg); }

/* Mobile panel */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: var(--s4) var(--s5) var(--s8);
  overflow-y: auto; display: none;
}
.site-nav.is-open { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
/* Scoped to `ul a`, not `.site-nav a`. The nav also holds the .nav-cta button,
   and `.site-nav a` (0,1,1) outranks `.btn-primary` (0,1,0) — it was painting
   the CTA's label in --ink on its --ink background, so the button rendered as
   a blank black bar. Keeping this off the button also means .btn's own padding
   and border survive, so no reset rule is needed afterwards. */
.site-nav ul a {
  display: block; padding: .85rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem;
}
.site-nav ul a[aria-current="page"] { color: var(--gold-deep); font-weight: 700; }
.site-nav .nav-cta { margin-top: var(--s5); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-cta { display: none; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  /* Safe here: the nav is no longer fixed, so the containing-block side
     effect of backdrop-filter cannot reach it. */
  .site-header { backdrop-filter: saturate(150%) blur(8px); }
  .site-nav {
    position: static; display: block; inset: auto;
    background: none; border: 0; padding: 0; overflow: visible;
  }
  .site-nav ul { display: flex; align-items: center; gap: var(--s4); }
  .site-nav ul a {
    padding: .35rem 0; border: 0; font-size: .9rem; font-weight: 500;
    border-bottom: 2px solid transparent; white-space: nowrap;
  }
  .site-nav ul a:hover { border-bottom-color: var(--gold); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--gold); }
  .site-nav .nav-cta { display: none; }
}
/* The header CTA joins only once there is room for it beside nine nav links */
@media (min-width: 1200px) {
  .site-nav ul { gap: var(--s5); }
  .site-nav ul a { font-size: .93rem; }
  .header-cta { display: inline-flex; }
}

/* ------------------------------------------------------ 7. Breadcrumbs */
.breadcrumbs { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .35rem;
  margin: 0; padding: .7rem 0; font-size: .82rem; color: var(--muted);
}
.breadcrumbs li::after { content: "/"; margin-left: .35rem; color: #bfbcb2; }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-deep); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------- 8. Hero & slider */
/* padding-block:0 overrides the generic `section` rule. The slide sets its own
   height and the image only covers the slide, so any section padding here
   renders as a bare --ink band above and below the hero image. It also let the
   factbar's negative margin lift over that band instead of over the render. */
.hero { position: relative; background: var(--ink); color: #fff; padding-block: 0; }
.hero-slider { position: relative; }

/* The track is a native scroll-snap carousel: it swipes and works with zero JS. */
.hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hero-track::-webkit-scrollbar { display: none; }

.hero-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start;
  min-height: 78vh; display: grid; align-items: end; background: var(--ink-2);
}
.hero-slide > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82;
}
/* Two scrims: a vertical one that anchors the copy, and a left-hand one that
   guarantees white-text contrast over a bright render without dimming the
   whole image. Slides still holding a placeholder graphic get a heavier veil
   so the "IMAGE PLACEHOLDER" wording never fights the headline. */
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,20,17,.85) 0%, rgba(20,20,17,.6) 40%, rgba(20,20,17,.08) 72%),
    linear-gradient(180deg, rgba(20,20,17,.14) 0%, rgba(20,20,17,.14) 45%, rgba(20,20,17,.72) 100%);
}
.hero-slide > img[src$=".svg"] { opacity: .3; }
/* Bottom padding leaves room for the slider controls, which overlay the slide */
.hero-copy { position: relative; z-index: 2; padding: var(--s7) 0 7.5rem; max-width: 46rem; }
.hero-copy .eyebrow { color: rgba(255,255,255,.82); }
.hero-copy .eyebrow::before { background: rgba(255,255,255,.6); }
/* A soft shadow keeps the copy legible wherever the photograph runs light,
   without darkening the image the way a heavier scrim would. */
.hero-copy h1, .hero-copy h2 {
  color: #fff; margin-bottom: var(--s4);
  text-shadow: 0 2px 18px rgba(10,10,8,.5);
}
.hero-copy h2 { font-size: clamp(1.7rem, 4.6vw, 3rem); }
.hero-copy p {
  color: #fff; font-size: 1.05rem; max-width: 50ch;
  text-shadow: 0 1px 12px rgba(10,10,8,.55);
}
.hero-copy .eyebrow { text-shadow: 0 1px 10px rgba(10,10,8,.5); }

/* Status chips, as used on the reference-style hero */
.hero-meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0 0 var(--s5); padding: 0; font-size: .78rem;
}
.hero-meta li {
  display: flex; align-items: center; gap: .45rem;
  padding: .35rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-weight: 600; letter-spacing: .01em;
  backdrop-filter: blur(4px);
}
.hero-meta li::before { content: ""; width: 6px; height: 6px; background: #8fc0ab; border-radius: 50%; flex: 0 0 6px; }

/* Sits high enough to clear the stat cards that lift over the hero below */
.slider-controls { position: absolute; left: 0; right: 0; bottom: 3.5rem; z-index: 3; }
@media (min-width: 768px) { .slider-controls { bottom: 4.75rem; } }
.slider-controls .wrap { display: flex; align-items: center; gap: var(--s3); }
.slider-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.45);
  color: #fff; border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1;
}
.slider-btn:hover { background: #fff; color: var(--ink); }
.slider-dots { display: flex; gap: .45rem; margin-left: auto; }
.slider-dots button {
  width: 30px; height: 4px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255,255,255,.35); border-radius: 2px;
}
.slider-dots button[aria-current="true"] { background: var(--gold); }
/* Controls are a JS-only enhancement: hidden until scripting is confirmed on. */
.no-js .slider-controls { display: none; }

@media (min-width: 768px) {
  .hero-slide { min-height: 72vh; }
  .hero-copy { padding-block: var(--s8) 9rem; }
}

/* Compact hero for interior pages */
.page-hero { position: relative; background: var(--ink); color: #fff; padding-block: var(--s7); }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,20,17,.86) 0%, rgba(20,20,17,.62) 45%, rgba(20,20,17,.24) 80%);
}
.page-hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 32%; opacity: .9;
}
.page-hero .wrap { position: relative; z-index: 2; }
/* Same approach as the homepage hero: light scrim plus a soft text shadow */
.page-hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(10,10,8,.55); }
.page-hero p {
  color: #fff; max-width: 62ch; margin-bottom: 0;
  text-shadow: 0 1px 12px rgba(10,10,8,.6);
}
.page-hero .eyebrow { color: rgba(255,255,255,.88); text-shadow: 0 1px 10px rgba(10,10,8,.5); }

/* The project-name self-link that opens each page. Inherits the white hero
   text rather than the site link colour, which would be unreadable here. */
.page-hero p a,
.hero-copy p a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.55);
}
.page-hero p a:hover,
.hero-copy p a:hover { color: #fff; text-decoration-color: #fff; }
.page-hero .eyebrow::before { background: rgba(255,255,255,.6); }

@media (min-width: 768px) { .page-hero { padding-block: var(--s8); } }

/* Extra room at the foot of a page hero that has stat cards lifting over it */
.page-hero.with-stats { padding-bottom: calc(var(--s7) + 2.5rem); }
@media (min-width: 768px) { .page-hero.with-stats { padding-bottom: calc(var(--s8) + 2.5rem); } }

/* Quick-facts: light stat cards that lift over the section above them */
.factbar { background: transparent; border: 0; position: relative; z-index: 5; }
.factbar .wrap { padding-block: 0; }
.factbar ul {
  list-style: none; margin: -2.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.factbar li { background: #fff; text-align: center; padding: var(--s5) var(--s3); }
.factbar .n {
  display: block; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--ink);
  line-height: 1.1; letter-spacing: -.03em;
}
.factbar .l {
  display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-top: .4rem;
}
@media (min-width: 768px) { .factbar ul { grid-template-columns: repeat(4, 1fr); margin-top: -3.25rem; } }
/* Section that follows the lifted stat cards needs a little extra room */
.factbar + section { padding-top: var(--s6); }

/* ------------------------------------------- 9. Cards, grids & media */
/* Grid and flex children default to min-width:auto, so a wide element inside
   one (a min-width table, a long unbroken string) inflates its track and
   overflows the container. Pinning it to 0 lets .table-wrap scroll internally
   instead, which is what keeps narrow screens free of horizontal overflow. */
.grid > *, .split > *, .cta-split > *, .footer-grid > *, .gallery-grid > * { min-width: 0; }

.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .split.media-first > :first-child { order: 2; }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s5); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--s2); }
.card p:last-child { margin-bottom: 0; }
.card .price-line {
  font-family: var(--f-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: -.03em; color: var(--ink); margin: var(--s2) 0 var(--s1);
}
.card .size-line { font-size: .88rem; color: var(--muted); margin-bottom: var(--s4); }
.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media .card-body { padding: var(--s5); }

.card-link { text-decoration: none; color: inherit; display: block; transition: box-shadow .18s ease; }
.card-link:hover { box-shadow: var(--shadow-md); color: inherit; }

.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s4); display: flex; gap: var(--s3); align-items: flex-start;
}
.tile .dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: .55em; background: var(--gold); border-radius: 50%; }
.tile h3 { font-family: var(--f-body); font-size: .98rem; font-weight: 600; margin-bottom: .15rem; }
.tile p { font-size: .88rem; color: var(--muted); margin: 0; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.steps li { counter-increment: step; padding-left: 3.25rem; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-deep);
  font-family: var(--f-display); border-radius: 50%;
}
.steps h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 600; margin-bottom: .1rem; }

/* Image placeholder frame (used wherever no verified asset exists) */
figure { margin: 0; }
figure.framed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
figure.framed img { width: 100%; }
figure.framed figcaption {
  padding: .7rem var(--s4); font-size: .8rem; color: var(--muted);
  border-top: 1px solid var(--line); background: #fff;
}

/* ----------------------------------------------------------- 10. Tables */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  /* min-width:0 keeps the wrapper itself from being widened by its table */
  min-width: 0; max-width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 34rem; }
caption { text-align: left; padding: var(--s4) var(--s4) 0; font-size: .85rem; color: var(--muted); }
th, td { padding: .8rem var(--s4); text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  background: var(--bg-soft); color: var(--ink); font-size: .76rem;
  letter-spacing: .09em; text-transform: uppercase; font-weight: 700; white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
td .muted { color: var(--muted); font-size: .85rem; }

/* ------------------------------------------------------------ 11. Forms */
.form-panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s5); box-shadow: var(--shadow-sm);
}
.form-panel h2, .form-panel h3 { margin-bottom: var(--s2); }
.form-intro { font-size: .92rem; color: var(--muted); margin-bottom: var(--s5); }

.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: .3rem; }
.field .req { color: var(--err); }
.field .hint { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; margin-top: .15rem; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; padding: .7rem .85rem; min-height: 46px;
  border: 1px solid #c9c6be; border-radius: var(--radius); appearance: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23414b5a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }

.field-error input, .field-error select, .field-error textarea { border-color: var(--err); background: #fdf6f6; }
.error-msg { display: none; font-size: .8rem; color: var(--err); margin-top: .3rem; font-weight: 600; }
.field-error .error-msg { display: block; }

.field-row { display: grid; gap: var(--s4); }
@media (min-width: 620px) { .field-row.two { grid-template-columns: 1fr 1fr; } }

.consent { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: var(--s4); }
.consent input { margin-top: .3rem; width: 18px; height: 18px; flex: 0 0 18px; }
.consent label { font-size: .84rem; font-weight: 400; color: var(--muted); line-height: 1.5; }
.consent.field-error label { color: var(--err); }

.form-status {
  display: none; padding: .85rem var(--s4); border-radius: var(--radius);
  font-size: .9rem; margin-bottom: var(--s4); border: 1px solid;
}
.form-status.is-visible { display: block; }
.form-status.is-ok   { background: #eef6f2; border-color: #bcdccd; color: var(--ok); }
.form-status.is-err  { background: #fdf2f2; border-color: #ecc9c9; color: var(--err); }
.form-status.is-info { background: var(--accent-soft); border-color: #cfe0d6; color: #2b4438; }

/* Honeypot - off screen and out of the tab order, deliberately not display:none */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------- 12. Accordion / FAQ / tabs */
.accordion { border-top: 1px solid var(--line); }
details.acc-item { border-bottom: 1px solid var(--line); }
details.acc-item > summary {
  list-style: none; cursor: pointer; padding: var(--s4) 0;
  font-weight: 600; color: var(--ink); display: flex; justify-content: space-between;
  gap: var(--s4); align-items: center;
}
details.acc-item > summary::-webkit-details-marker { display: none; }
details.acc-item > summary::after { content: "+"; color: var(--gold); font-size: 1.35rem; line-height: 1; }
details.acc-item[open] > summary::after { content: "\2013"; }
details.acc-item > .acc-panel { padding-bottom: var(--s4); max-width: 75ch; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--line); margin-bottom: var(--s5); }
.tablist button {
  background: none; border: 0; border-bottom: 2px solid transparent;
  font: inherit; font-size: .93rem; font-weight: 600; color: var(--muted);
  padding: .6rem .9rem; cursor: pointer;
}
.tablist button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
[role="tabpanel"][hidden] { display: none; }
/* Without JS every panel is shown in sequence, so the tab strip would be
   inert - hide it and let the panels read as plain stacked sections. */
.no-js .tablist { display: none; }
.no-js [role="tabpanel"] + [role="tabpanel"] { margin-top: var(--s7); }

/* --------------------------------------------------- 13. Gallery & lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s4); } }

.gallery-item {
  margin: 0; position: relative; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Plan drawings must never be cropped - fit them whole inside the tile */
.gallery-grid.plans .gallery-item img {
  aspect-ratio: 7 / 5; object-fit: contain; background: #fff; padding: .5rem;
}
.gallery-item figcaption {
  padding: .55rem .7rem; font-size: .76rem; color: var(--muted);
  background: #fff; border-top: 1px solid var(--line);
}
.gallery-item .zoom { position: absolute; inset: 0; width: 100%; background: none; border: 0; cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10,18,30,.94); padding: var(--s5);
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: 1000px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: var(--radius); }
.lightbox p { color: #d2d9e3; font-size: .88rem; margin-top: var(--s3); }
.lightbox-close {
  position: absolute; top: var(--s4); right: var(--s4);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 1.3rem;
}
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: 1.2rem;
}
.lightbox-nav.prev { left: var(--s4); }
.lightbox-nav.next { right: var(--s4); }

/* --------------------------------------- 14. Notes, callouts & badges */
.note {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  padding: var(--s4) var(--s5); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .89rem; color: #2b4438;
}
.note strong { color: var(--accent-deep); }
.note a { color: var(--accent-deep); }
.note.neutral { background: var(--bg-soft); border-left-color: var(--muted); color: var(--body); }
.note + .note { margin-top: var(--s3); }

/* Editor note - deliberately visible so nothing placeholder ships unnoticed */
.dev-note {
  border: 1px dashed #c6c3b9; background: #fbfaf6;
  padding: var(--s4); border-radius: var(--radius);
  font-size: .84rem; color: #63615a;
}
.dev-note code { background: #eeece4; padding: .1rem .3rem; border-radius: 2px; font-size: .92em; }
.dev-note a { color: var(--accent-deep); }

.badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-deep); border: 1px solid #cfe0d6;
}
.badge.ink { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }

.status-line { font-size: .84rem; color: var(--muted); }

.cta-band { background: var(--ink); color: rgba(255,255,255,.76); }
.cta-band h2, .cta-band h3 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.74); max-width: 60ch; }
.cta-band .eyebrow { color: rgba(255,255,255,.72); }
.cta-band .eyebrow::before { background: rgba(255,255,255,.55); }
.cta-band ul.ticks li::before { background: #8fc0ab; }
/* The form panel stays light so the form itself never sits on a dark field */
.cta-band .form-panel { color: var(--body); }
.cta-band .form-panel h2, .cta-band .form-panel h3 { color: var(--ink); }
.cta-split { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 900px) { .cta-split { grid-template-columns: 1fr 1fr; gap: var(--s7); } }

/* ----------------------------------------------------------- 15. Footer */
/* Light footer: compact, typographic, no dark slab */
.site-footer { background: var(--bg-soft); color: var(--body); font-size: .9rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--body); text-decoration: none; }
.site-footer a:hover { color: var(--accent-deep); text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s6); padding-block: var(--s7); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h3 {
  font-family: var(--f-body); font-size: .72rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink); font-weight: 700; margin-bottom: var(--s3);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: var(--s5) var(--s6); font-size: .79rem; color: var(--muted);
}
.footer-legal a { color: var(--muted); text-decoration: underline; }
.footer-legal p { margin-bottom: var(--s3); max-width: 100ch; }
.footer-legal .legal-links { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* --------------------------------------------- 16. Sticky mobile CTA bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(16,29,49,.10);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta a, .mobile-cta button {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem .5rem; min-height: 52px; font: inherit; font-size: .88rem; font-weight: 600;
  text-decoration: none; border: 0; cursor: pointer;
  background: #fff; color: var(--ink); border-right: 1px solid var(--line);
}
.mobile-cta > :last-child { border-right: 0; }
.mobile-cta .is-primary { background: var(--gold); color: #fff; }
.mobile-cta[data-slots="1"] { grid-template-columns: 1fr; }
.mobile-cta[data-slots="3"] { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1024px) { .mobile-cta { display: none; } }
/* Reserve room so the bar never covers the end of the page on mobile */
@media (max-width: 1023px) { body { padding-bottom: 52px; } }

/* ------------------------------- 16b. Floating desktop actions ------------
   A small, quiet stack in the bottom-right corner on larger screens. It is
   built by main.js, opens only on click, and never auto-opens or nags.
   ------------------------------------------------------------------------- */
.fab-stack {
  position: fixed; right: var(--s5); bottom: var(--s5); z-index: 70;
  display: none; flex-direction: column; gap: .6rem; align-items: flex-end;
}
@media (min-width: 1024px) { .fab-stack { display: flex; } }
.fab {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.15rem; min-height: 46px; border-radius: 999px;
  font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer;
  text-decoration: none; border: 1px solid var(--line);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-md);
  transition: transform .16s ease, background-color .16s ease, color .16s ease;
}
.fab:hover { transform: translateY(-1px); color: var(--ink); }
/* Accent rather than near-black: the stack floats over both light sections
   and the dark hero, and needs to stay visible on each. */
.fab.is-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.fab.is-primary:hover { background: var(--accent-deep); color: #fff; }

/* ----------------------------------- 16c. Enquiry modal ------------------
   Click-triggered only. No timers, no exit intent, no auto-open.
   ------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 210; display: none;
  background: rgba(26,26,23,.55); padding: var(--s4);
  overflow-y: auto;
}
.modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.modal-dialog {
  background: #fff; border-radius: var(--radius-lg);
  width: 100%; max-width: 560px; margin: auto;
  padding: var(--s6) var(--s5) var(--s5);
  position: relative; box-shadow: 0 24px 60px rgba(26,26,23,.28);
}
@media (min-width: 620px) { .modal-dialog { padding: var(--s6); } }
.modal-close {
  position: absolute; top: .75rem; right: .75rem;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); font-size: 1.1rem;
}
.modal-close:hover { background: var(--ink); color: #fff; }
.modal-dialog .form-panel { border: 0; box-shadow: none; padding: 0; }

/* -------------------------------------------------------- 17. Utilities */
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--s3); }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--s4); }
.mb-5 { margin-bottom: var(--s5); }
.mb-6 { margin-bottom: var(--s6); }
.text-center { text-align: center; }
.small { font-size: .85rem; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* --------------------------------------------- 18. Reduced motion & print */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-track { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .site-nav, .mobile-cta, .slider-controls, .cta-band,
  .fab-stack, .modal, form { display: none !important; }
  body { color: #000; padding-bottom: 0; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
