/* ============================================================
   Dunearn House — Premium Brand Stylesheet
   Palette: near-black #0A0908 | gold #B5975C | cream #F5EFE6
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:        #0A0908;
  --black-soft:   #141210;
  --gold:         #B5975C;
  --gold-light:   #D4B483;
  --gold-muted:   rgba(181,151,92,0.25);
  --cream:        #F5EFE6;
  --cream-dark:   #EDE4D7;
  --white:        #FFFFFF;
  --text:         #2C2820;
  --text-muted:   #8C7B6C;
  --border:       rgba(181,151,92,0.2);
  --nav-h:        80px;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Montserrat', 'Helvetica Neue', sans-serif;

  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

html { font-size: 16px; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ────────────────────────────────────────────── */
.serif { font-family: var(--serif); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
}

.display {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
}

.label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.body-text {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ─── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--black);
  color: var(--cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--cream);
}

.section--cream { background: var(--cream); }
.section--white { background: var(--white); }

.gold-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-line--center { margin: 1.5rem auto; }

.section-header {
  margin-bottom: 60px;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* ─── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.nav--scrolled {
  background: rgba(10, 9, 8, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__logo {
  flex: 0 0 auto;
}

.nav__logo img {
  height: 52px;
  width: auto;
  transition: opacity 0.3s, filter 0.4s;
  /* transparent nav: gold PNG → white */
  filter: brightness(0) invert(1);
}

.nav--scrolled .nav__logo img {
  /* dark nav: show real gold PNG */
  filter: none;
}

.nav__logo:hover img { opacity: 0.75; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: auto;
}

.nav__link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  transition: color 0.3s;
  position: relative;
}

.nav--scrolled .nav__link {
  color: rgba(245,239,230,0.82);
  text-shadow: none;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__link:hover,
.nav__link--active {
  color: var(--cream);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 1rem;
  padding: 0.55rem 1.5rem;
  background: var(--gold);
  color: var(--black) !important;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s, opacity 0.3s;
}

.nav__cta:hover { background: var(--gold-light); }
.nav__cta::after { display: none !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}

.nav--scrolled .nav__hamburger span {
  background: var(--cream);
}

/* ─── Mobile Nav ────────────────────────────────────────────── */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  padding: calc(var(--nav-h) + 2rem) 2rem 3rem;
  flex-direction: column;
  gap: 2rem;
}

.nav__mobile--open { display: flex; }

.nav__mobile .nav__link {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(245,239,230,0.75);
}

.nav__mobile .nav__cta {
  display: inline-block;
  margin-left: 0;
  text-align: center;
}

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: scale(1.05);
  will-change: transform;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,9,8,0.85) 0%,
    rgba(10,9,8,0.4) 50%,
    rgba(10,9,8,0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem 6rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero__subtitle {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245,239,230,0.7);
  letter-spacing: 0.05em;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.hero__scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.5);
  writing-mode: vertical-lr;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Intro Split ───────────────────────────────────────────── */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-split__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.intro-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Two-col tables (site plan etc.) ───────────────────────── */
.two-col-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ─── Stats Strip ───────────────────────────────────────────── */
.stats {
  background: var(--black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  divide-y: none;
}

.stat {
  padding: 2rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}

.stat:last-child { border-right: none; }

.stats__trust {
  text-align: center;
  padding: 1rem 2rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.4);
  border-top: 1px solid var(--border);
}

.stat__number {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.5);
}

/* ─── Cards Grid ────────────────────────────────────────────── */
.cards {
  display: grid;
  gap: 1.5rem;
}

.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--gold);
}

.card--dark {
  background: var(--black-soft);
  border-color: var(--border);
}

.card--dark:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.card__number {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.card__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.card__text {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Image-Text Split ──────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  position: relative;
  overflow: hidden;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.split:hover .split__image img { transform: scale(1.04); }

.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  background: var(--black);
}

.split__content--light { background: var(--cream); }

/* ─── Tables ────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

thead th {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1rem 1.5rem;
  background: var(--black);
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid rgba(181,151,92,0.12);
  transition: background 0.2s;
}

tbody tr:last-child { border-bottom: none; }

tbody tr:hover { background: rgba(181,151,92,0.04); }

tbody td {
  padding: 1rem 1.5rem;
  font-weight: 300;
  color: var(--text);
  vertical-align: top;
  line-height: 1.6;
}

tbody td:first-child {
  font-weight: 500;
  color: var(--black);
  white-space: nowrap;
}

.table--dark tbody td {
  color: rgba(245,239,230,0.8);
}

.table--dark tbody td:first-child {
  color: var(--cream);
}

.table--dark tbody tr {
  border-color: var(--border);
}

.table--dark tbody tr:hover {
  background: rgba(181,151,92,0.06);
}

/* ─── FAQ Accordion ─────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 0;
  cursor: pointer;
  text-align: left;
  gap: 1.5rem;
}

.faq-question__text {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.4;
}

.faq-question__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}

.faq-question__icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.3s var(--ease);
}

.faq-item--open .faq-question__icon {
  background: var(--gold);
  border-color: var(--gold);
}

.faq-item--open .faq-question__icon svg {
  stroke: var(--black);
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}

.faq-answer__inner {
  padding-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-answer__inner p + p { margin-top: 0.75rem; }

/* ─── Page Hero (Sub-pages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,9,8,0.9) 0%,
    rgba(10,9,8,0.5) 60%,
    rgba(10,9,8,0.2) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem 4rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.4);
  margin-bottom: 1.25rem;
}

.page-hero__breadcrumb a {
  color: rgba(245,239,230,0.4);
  transition: color 0.3s;
}

.page-hero__breadcrumb a:hover { color: var(--gold); }

.page-hero__breadcrumb .sep { color: rgba(245,239,230,0.2); }

.page-hero__breadcrumb .current { color: var(--gold); }

/* ─── Selling Points ────────────────────────────────────────── */
.selling-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.selling-point {
  padding: 3rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.selling-point:nth-child(3n) { border-right: none; }
.selling-point:nth-child(n+7) { border-bottom: none; }

.selling-point::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}

.selling-point:hover::before { width: 100%; }

.selling-point__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.selling-point__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.selling-point__text {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(10,9,8,0.55);
  line-height: 1.7;
}

/* ─── Page Nav Links ────────────────────────────────────────── */
.page-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.page-nav__item {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
  position: relative;
}

.page-nav__item:last-child { border-right: none; }

.page-nav__item:hover { background: rgba(181,151,92,0.05); }

.page-nav__item::after {
  content: '→';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s, right 0.3s var(--ease);
}

.page-nav__item:hover::after {
  opacity: 1;
  right: 1.25rem;
}

.page-nav__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
}

.page-nav__title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.75);
}

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.cta-banner__content {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--black);
}

.btn--gold:hover {
  background: var(--gold-light);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gold);
}

.btn--outline-dark:hover {
  background: var(--gold);
  color: var(--black);
}

.btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── Facility Icon Grid ─────────────────────────────────────── */
.fac-icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem 2rem;
  margin-top: 4rem;
}

.fac-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
}

.fac-icon__wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(181,151,92,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}

.fac-icon:hover .fac-icon__wrap {
  border-color: var(--gold);
  background: rgba(181,151,92,0.08);
}

.fac-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fac-icon__label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .fac-icons { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 600px) {
  .fac-icons { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
}

/* ─── Form ──────────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 0.85rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.section--dark .form-group input,
.section--dark .form-group select,
.section--dark .form-group textarea {
  background: rgba(181,151,92,0.04);
  border-color: var(--border);
  color: var(--cream);
}

.section--dark .form-group input::placeholder,
.section--dark .form-group textarea::placeholder {
  color: rgba(245,239,230,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* ─── Developer Cards ───────────────────────────────────────── */
.dev-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  margin-bottom: 1.25rem;
}

.dev-card__logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
}

/* Frasers logo has white text — show on dark pill */
.dev-card__logo--dark {
  background: var(--black);
  border-radius: 6px;
  padding: 1rem 1.5rem;
}

/* ─── Developer Logos ────────────────────────────────────────── */
.dev-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.dev-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.dev-logo:hover { opacity: 1; }

.dev-logo__mark {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dev-logo__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.06em;
}

/* ─── PDF Modal ─────────────────────────────────────────────── */
.pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.pdf-modal--open { display: flex; }

.pdf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.88);
  backdrop-filter: blur(6px);
}

.pdf-modal__box {
  position: relative;
  z-index: 1;
  width: min(92vw, 1000px);
  height: min(88vh, 800px);
  background: var(--black-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.pdf-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.pdf-modal__title {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.pdf-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  color: rgba(245,239,230,0.5);
  font-size: 1.5rem;
  transition: color 0.2s;
}

.pdf-modal__close:hover { color: var(--cream); }

.pdf-modal__body {
  flex: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

.pdf-modal__frame {
  flex: 1;
  width: 100%;
  min-height: 100%;
  border: none;
  display: block;
}

/* ─── Location Highlights ────────────────────────────────────── */
.location-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.location-highlight {
  border-left: 2px solid var(--gold);
  padding: 1.25rem 1.5rem;
  background: var(--cream-dark);
}

.location-highlight__label {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.2;
}

.location-highlight__text {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.6;
}

/* ─── Unit Collection Cards ──────────────────────────────────── */
.unit-collection__tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1.25rem;
}

.unit-collection__subtitle {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.unit-collection__list {
  list-style: none;
  border-top: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.unit-collection__list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.unit-collection__list li span {
  color: var(--text-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ─── Float Actions ──────────────────────────────────────────── */
/* ─── FAB (Floating Action Button) ──────────────────────────── */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.fab__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  pointer-events: none;
}

.fab__action {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.75rem 0 0.6rem;
  height: 44px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  opacity: 0;
  transform: translateY(10px) scale(0.92);
}

.fab__action svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.fab__action--enquiry {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 14px rgba(181,151,92,0.4);
}
.fab__action--enquiry:hover { box-shadow: 0 8px 22px rgba(181,151,92,0.6); transform: translateY(-2px) scale(1); }

.fab__action--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.fab__action--wa svg { fill: #fff; }
.fab__action--wa:hover { box-shadow: 0 8px 22px rgba(37,211,102,0.5); transform: translateY(-2px) scale(1); color: #fff; }

.fab__action--call {
  background: var(--black);
  color: var(--cream);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.fab__action--call svg { stroke: var(--cream); fill: none; }
.fab__action--call:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.4); transform: translateY(-2px) scale(1); }

.fab__trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(181,151,92,0.5);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
  flex-shrink: 0;
}

.fab__trigger:hover {
  box-shadow: 0 8px 28px rgba(181,151,92,0.65);
  transform: scale(1.07);
}

.fab__trigger svg {
  width: 22px;
  height: 22px;
  fill: var(--black);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

.fab__trigger .fab__icon-close {
  fill: none;
  stroke: var(--black);
  stroke-width: 2.5;
  stroke-linecap: round;
}

.fab--open .fab__trigger .fab__icon-close {
  stroke: var(--cream);
}

.fab__trigger .fab__icon-open  { opacity: 1; transform: rotate(0deg); position: absolute; }
.fab__trigger .fab__icon-close { opacity: 0; transform: rotate(-90deg); position: absolute; }

/* Open state */
.fab--open .fab__menu { pointer-events: auto; }

.fab--open .fab__action {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fab--open .fab__action:nth-child(1) { transition-delay: 0.08s; }
.fab--open .fab__action:nth-child(2) { transition-delay: 0.05s; }
.fab--open .fab__action:nth-child(3) { transition-delay: 0.02s; }

.fab--open .fab__trigger { background: var(--black); box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.fab--open .fab__trigger svg { fill: var(--cream); }
.fab--open .fab__trigger .fab__icon-open  { opacity: 0; transform: rotate(90deg); }
.fab--open .fab__trigger .fab__icon-close { opacity: 1; transform: rotate(0deg); }

/* ─── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer__tagline {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(245,239,230,0.4);
  line-height: 1.6;
}

.footer__heading {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245,239,230,0.5);
  transition: color 0.3s;
}

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(245,239,230,0.3);
}

.footer__disclaimer {
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(245,239,230,0.25);
  max-width: 600px;
  line-height: 1.6;
  text-align: right;
}

/* ─── Unit Type Cards ───────────────────────────────────────── */
.unit-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.unit-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.unit-card__header {
  background: var(--black);
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}

.unit-card__type {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  display: block;
  margin-bottom: 0.25rem;
}

.unit-card__size {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.unit-card__body {
  background: var(--white);
  padding: 1.5rem 2rem;
}

.unit-card__detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(181,151,92,0.1);
  font-size: 0.8rem;
}

.unit-card__detail:last-child { border-bottom: none; }

.unit-card__detail-label {
  font-weight: 400;
  color: var(--text-muted);
}

.unit-card__detail-value {
  font-weight: 500;
  color: var(--text);
}

/* ─── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Facilities Grid ───────────────────────────────────────── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.facility-item {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: background 0.3s;
}

.facility-item:hover { background: rgba(181,151,92,0.04); }

.facility-item:nth-child(3n) { border-right: none; }

.facility-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.facility-item__name {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
}

/* ─── Spacers ───────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mt-6 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats__inner { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3n) { border-right: none; }
  .stat:nth-child(3) { border-right: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .selling-points { grid-template-columns: repeat(2, 1fr); }
  .selling-point:nth-child(3n) { border-right: 1px solid var(--border); }
  .selling-point:nth-child(2n) { border-right: none; }
  .selling-point:nth-child(n+7) { border-bottom: 1px solid var(--border); }
  .selling-point:nth-child(n+9) { border-bottom: none; }
  .page-nav { grid-template-columns: repeat(3, 1fr); flex-wrap: wrap; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-item:nth-child(3n) { border-right: 1px solid var(--border); }
  .facility-item:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav { padding: 0 1.25rem; }

  .section { padding: 70px 0; }

  .pdf-modal__box {
    width: 100%;
    height: 100dvh;
    height: 100vh;
    border: none;
  }
  .pdf-modal__header { padding: 0.75rem 1rem; }
  .pdf-modal__body { -webkit-overflow-scrolling: touch; }
  .pdf-modal__frame { min-height: 500px; }
  .container { padding: 0 1.25rem; }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .intro-split__image {
    order: -1;
    aspect-ratio: 4/3;
  }

  .two-col-tables { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Section CTAs — full-width block on mobile */
  .container .btn,
  .container--narrow .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .hero__content { padding: 0 1.25rem 5rem; }
  .page-hero__content { padding: 0 1.25rem 3rem; }

  .split { grid-template-columns: 1fr; }
  .split__image { height: 300px; }
  .split__content { padding: 3rem 1.5rem; }

  .cards--2,
  .cards--3 { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: 1fr; }

  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3n) { border-right: 1px solid var(--border); }
  .stat:nth-child(2n) { border-right: none; }
  .location-highlights { grid-template-columns: 1fr; }

  .selling-points { grid-template-columns: 1fr; }
  .selling-point { border-right: none; }
  .selling-point:nth-child(n) { border-bottom: 1px solid var(--border); }
  .selling-point:last-child { border-bottom: none; }

  .page-nav { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__disclaimer { text-align: center; max-width: 100%; }

  .form-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .facility-item:nth-child(n) { border-right: none; }

  /* Tables — stacked card layout on mobile, no horizontal scroll */
  .table-wrap { overflow-x: visible; font-size: 0.85rem; }
  table { min-width: 0; width: 100%; }
  thead { display: none; }
  tbody tr {
    display: block;
    border: 1px solid var(--border);
    margin-bottom: 0.75rem;
    padding: 0.25rem 0;
  }
  tbody tr:last-child { border-bottom: 1px solid var(--border); margin-bottom: 0; }
  tbody tr:hover { background: inherit; }
  tbody td {
    display: block;
    padding: 0.5rem 1rem 0.35rem;
    white-space: normal;
    border-bottom: 1px solid rgba(181,151,92,0.08);
  }
  tbody td:last-child { border-bottom: none; padding-bottom: 0.6rem; }
  tbody td:first-child { white-space: normal; }
  tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2rem;
  }
  .table--dark tbody tr { border-color: rgba(181,151,92,0.25); }
  .table--dark tbody td { border-bottom-color: rgba(181,151,92,0.1); }

  /* Larger readable text on mobile */
  .body-text { font-size: 1rem; line-height: 1.8; }
  .selling-point__title { font-size: 1.05rem; }
  .selling-point__text { font-size: 0.88rem; }
  .page-nav__title { font-size: 0.72rem; }
  .page-nav__num { font-size: 0.95rem; }
  .page-nav { grid-template-columns: 1fr 1fr; }
  thead th { padding: 0.75rem 1rem; }
}
