/* ============================================================
   EXTRA MILE PROPERTY — PREMIUM CSS
   Author: Award-Winning Digital Agency
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colours */
  --colour-gold: #b8973a;
  --colour-gold-light: #d4af5a;
  --colour-gold-dark: #8b6e28;
  --colour-navy: #0d1b2a;
  --colour-navy-mid: #162234;
  --colour-navy-light: #1e2f45;
  --colour-slate: #2c3e50;
  --colour-white: #ffffff;
  --colour-off-white: #f8f6f1;
  --colour-cream: #f2ede4;
  --colour-grey-100: #f5f5f5;
  --colour-grey-200: #e8e8e8;
  --colour-grey-400: #9ca3af;
  --colour-grey-600: #6b7280;
  --colour-grey-800: #374151;
  --colour-text: #1a1a2e;
  --colour-text-muted: #6b7280;

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", -apple-system, sans-serif;
  --font-accent: "DM Sans", sans-serif;

  /* Sizing */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --transition-fast: 0.15s var(--ease-smooth);
  --transition-base: 0.3s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.2);
  --shadow-gold: 0 8px 32px rgba(184, 151, 58, 0.25);

  /* Spacing */
  --section-pad-y: 100px;
  --section-pad-x: 40px;

  /* Z-index */
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* overflow-x:hidden on html, NOT body.
     On iOS/mobile WebKit, overflow-x:hidden on body creates a new
     containing block which breaks position:fixed — nav stops sticking. */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--colour-text);
  background: var(--colour-white);
  line-height: 1.6;
  /* NO overflow-x:hidden here — that breaks fixed nav on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}
ul {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}

/* ============================================================
   3. SCROLL PROGRESS INDICATOR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--colour-gold),
    var(--colour-gold-light)
  );
  z-index: calc(var(--z-nav) + 10);
  transition: width 0.1s linear;
}

/* ============================================================
   4. PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--colour-navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition:
    opacity 0.6s var(--ease-smooth),
    visibility 0.6s;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--colour-white);
  letter-spacing: 0.1em;
}

.loader-logo span {
  color: var(--colour-gold);
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.loader-bar::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--colour-gold),
    transparent
  );
  animation: loader-sweep 1.2s var(--ease-smooth) infinite;
}

@keyframes loader-sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ============================================================
   5. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  /* Explicit -webkit- for older iOS Safari */
  -webkit-position: sticky; /* fallback hint */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999; /* high explicit value — avoids var() stacking issues on mobile */
  padding: 20px var(--section-pad-x);
  transition:
    background 0.4s var(--ease-smooth),
    padding 0.4s var(--ease-smooth),
    box-shadow 0.4s var(--ease-smooth);
  /* Force GPU layer — prevents nav from disappearing on iOS scroll */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.nav.is-scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px var(--section-pad-x);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

/* ---- LOGO ---- */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
  text-decoration: none;
}

/* Key image logo — show in its ORIGINAL colours (navy/blue brand) */
.nav__logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  /* White pill background so the dark-blue logo is always legible
     whether the nav is transparent over the hero or solid on scroll */
  background: rgba(255, 255, 255, 0.92);
  padding: 5px 10px;
  border-radius: 4px;
  transition:
    height 0.4s var(--ease-smooth),
    padding 0.4s var(--ease-smooth);
  /* NO colour filter — preserve original brand blue */
  filter: none;
}

/* Slightly smaller when nav is compact */
.nav.is-scrolled .nav__logo-img {
  height: 36px;
  padding: 4px 8px;
  filter: none;
}

/* Text fallback alongside / instead of image */
.nav__logo-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--colour-white);
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav__logo-mark span {
  color: var(--colour-gold);
}

.nav__logo-tagline {
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 14px;
  line-height: 1.4;
}

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

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  transition: color var(--transition-base);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--colour-gold);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--colour-gold);
}

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

/* Dropdown */
.nav__dropdown {
  position: relative;
}

/* Invisible bridge fills the gap between trigger and menu
   so the mouse never "leaves" the hover zone */
.nav__dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px; /* covers the gap */
  background: transparent;
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 10px); /* reduced from 16px */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--colour-navy);
  border: 1px solid rgba(184, 151, 58, 0.2);
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth),
    visibility 0.2s;
  pointer-events: none;
  /* Small shadow for depth */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.nav__dropdown-menu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--colour-navy);
  border-top: 1px solid rgba(184, 151, 58, 0.2);
  border-left: 1px solid rgba(184, 151, 58, 0.2);
  transform: translateX(-50%) rotate(45deg);
}

/* Keep menu open when hovering either the trigger OR the menu itself */
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav__dropdown-link {
  display: block;
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__dropdown-link:hover {
  color: var(--colour-gold);
  background: rgba(184, 151, 58, 0.05);
  padding-left: 28px;
}

.nav__dropdown-link:last-child {
  border-bottom: none;
}

/* CTA Button in Nav */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--colour-gold);
  color: var(--colour-navy) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all var(--transition-base) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--colour-gold-light) !important;
  color: var(--colour-navy) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 4px;
  z-index: 2;
}

.nav__toggle-line {
  height: 1.5px;
  background: var(--colour-white);
  transition: all 0.35s var(--ease-smooth);
  transform-origin: center;
}

.nav__toggle.is-open .nav__toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle.is-open .nav__toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle.is-open .nav__toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--colour-navy);
  z-index: 998; /* just below nav bar (999) so hamburger icon stays on top */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: clipPath;
  clip-path: circle(0% at 95% 5%);
  transition: all 0.6s var(--ease-smooth);
}

.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: circle(150% at 95% 5%);
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
  text-align: center;
}

.nav__mobile-link:hover {
  color: var(--colour-gold);
}

.nav__mobile-sub {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav__mobile-sub-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition-base);
}

.nav__mobile-sub-link:hover {
  color: var(--colour-gold);
}

.nav__mobile-contact {
  font-size: 0.875rem;
  color: var(--colour-gold);
  text-align: center;
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   6. HERO — HOME PAGE
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--colour-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s ease-out;
}

.hero__bg.is-loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 27, 42, 0.7) 0%,
    rgba(13, 27, 42, 0.4) 40%,
    rgba(13, 27, 42, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* padding-top pushes content below the fixed nav (~90px);
     padding-bottom creates clearance above the stats bar (~160px) */
  padding: 120px var(--section-pad-x) 180px;
  max-width: 1400px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--colour-gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.7s var(--ease-smooth) 0.8s forwards;
}

.hero__eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--colour-gold);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  color: var(--colour-white);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-up 0.9s var(--ease-smooth) 1s forwards;
}

.hero__headline em {
  font-style: italic;
  color: var(--colour-gold);
}

.hero__body {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.7s var(--ease-smooth) 1.2s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-smooth) 1.4s forwards;
}

.hero__scroll {
  position: absolute;
  right: var(--section-pad-x);
  bottom: 200px; /* above stats bar */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-smooth) 1.8s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--colour-gold);
  animation: scroll-line 1.8s var(--ease-smooth) infinite;
}

@keyframes scroll-line {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

.hero__scroll-text {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
}

/* Hero Stats Bar */
.hero__stats {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(184, 151, 58, 0.2);
  z-index: 2;
  flex-shrink: 0;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-smooth) 1.6s forwards;
}

.hero__stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px var(--section-pad-x);
  display: flex;
  align-items: center;
  gap: 0;
}

.hero__stat {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--colour-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============================================================
   7. SECTION BASE STYLES
   ============================================================ */
.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section--dark {
  background: var(--colour-navy);
  color: var(--colour-white);
}

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

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

.section__container {
  max-width: 1400px;
  margin: 0 auto;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--colour-gold);
  margin-bottom: 16px;
}

.section__eyebrow::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--colour-gold);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section__title em {
  font-style: italic;
  color: var(--colour-gold);
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--colour-text-muted);
  line-height: 1.75;
  max-width: 600px;
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 32px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  border: 1.5px solid transparent;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-smooth);
}

.btn:hover::before {
  transform: translateX(0);
}

/* Primary */
.btn--primary {
  background: var(--colour-gold);
  color: var(--colour-navy);
  border-color: var(--colour-gold);
}

.btn--primary:hover {
  background: var(--colour-gold-light);
  border-color: var(--colour-gold-light);
  color: var(--colour-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Outline Light (on dark) */
.btn--outline-light {
  background: transparent;
  color: var(--colour-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  border-color: var(--colour-gold);
  color: var(--colour-gold);
  transform: translateY(-2px);
}

/* Outline Dark (on light) */
.btn--outline-dark {
  background: transparent;
  color: var(--colour-navy);
  border-color: var(--colour-navy);
}

.btn--outline-dark:hover {
  background: var(--colour-navy);
  color: var(--colour-white);
  transform: translateY(-2px);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--colour-gold);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.btn--ghost::after {
  content: "→";
  display: inline-block;
  transition: transform var(--transition-base);
}

.btn--ghost:hover {
  color: var(--colour-gold-dark);
}
.btn--ghost:hover::after {
  transform: translateX(6px);
}
.btn--ghost::before {
  display: none;
}

/* Icon */
.btn__icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

/* ============================================================
   9. PROPERTY CARDS
   ============================================================ */
.property-card {
  background: var(--colour-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.property-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.property-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-smooth);
}

.property-card:hover .property-card__img {
  transform: scale(1.08);
}

.property-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--colour-gold);
  color: var(--colour-navy);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 5px 12px;
}

.property-card__favourite {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0;
  transform: scale(0.8);
}

.property-card:hover .property-card__favourite {
  opacity: 1;
  transform: scale(1);
}

.property-card__favourite:hover {
  background: var(--colour-gold);
  color: white;
}

.property-card__body {
  padding: 24px;
}

.property-card__address {
  font-size: 0.75rem;
  color: var(--colour-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 8px;
}

.property-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--colour-navy);
  margin-bottom: 16px;
  line-height: 1.25;
}

.property-card__details {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--colour-grey-200);
}

.property-card__detail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--colour-text-muted);
}

.property-card__detail svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.property-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.property-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--colour-navy);
  line-height: 1;
}

.property-card__price-period {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--colour-text-muted);
}

.property-card__cta {
  width: 40px;
  height: 40px;
  background: var(--colour-navy);
  color: var(--colour-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-base);
}

.property-card__cta:hover {
  background: var(--colour-gold);
  transform: scale(1.1);
}

/* ============================================================
   10. SERVICE CARDS
   ============================================================ */
.service-card {
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-smooth);
  background: var(--colour-white);
  border: 1px solid var(--colour-grey-200);
}

.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--colour-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--colour-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: background var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--colour-gold);
}

.service-card:hover .service-card__icon svg {
  stroke: var(--colour-navy);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--colour-gold);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition-base);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--colour-navy);
  margin-bottom: 12px;
}

.service-card__body {
  font-size: 0.9375rem;
  color: var(--colour-text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--colour-white);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--colour-gold);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--colour-gold);
  opacity: 0.3;
  margin-bottom: 8px;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--colour-text);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--colour-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--colour-navy);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--colour-navy);
  margin-bottom: 2px;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--colour-text-muted);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}

.testimonial-card__stars span {
  color: var(--colour-gold);
  font-size: 0.875rem;
}

/* ============================================================
   12. TRUST BADGES / PARTNERS
   ============================================================ */
.trust-bar {
  background: var(--colour-navy);
  padding: 48px var(--section-pad-x);
  border-top: 1px solid rgba(184, 151, 58, 0.15);
  border-bottom: 1px solid rgba(184, 151, 58, 0.15);
}

.trust-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-bar__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

.trust-bar__logos {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-bar__logo:hover {
  color: var(--colour-gold);
}

.trust-bar__logo svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  opacity: 0.7;
}

/* ============================================================
   13. CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--colour-navy);
  padding: 100px var(--section-pad-x);
  text-align: center;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/home-background-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    var(--colour-navy) 70%
  );
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  color: var(--colour-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.cta-banner__title strong {
  color: var(--colour-gold);
  font-weight: 600;
}

.cta-banner__body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   14. NEWSLETTER STRIP
   ============================================================ */
.newsletter {
  background: var(--colour-gold);
  padding: 60px var(--section-pad-x);
}

.newsletter__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter__text h3 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--colour-navy);
  margin-bottom: 6px;
}

.newsletter__text p {
  font-size: 0.9375rem;
  color: rgba(13, 27, 42, 0.7);
}

.newsletter__form {
  display: flex;
  gap: 0;
  min-width: 380px;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(13, 27, 42, 0.12);
  border: 1px solid rgba(13, 27, 42, 0.2);
  color: var(--colour-navy);
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--transition-base);
}

.newsletter__input::placeholder {
  color: rgba(13, 27, 42, 0.5);
}
.newsletter__input:focus {
  background: rgba(13, 27, 42, 0.18);
}

.newsletter__submit {
  padding: 14px 28px;
  background: var(--colour-navy);
  color: var(--colour-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid var(--colour-navy);
  font-family: var(--font-body);
}

.newsletter__submit:hover {
  background: var(--colour-navy-mid);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  background: var(--colour-navy);
  color: var(--colour-white);
  padding: 80px var(--section-pad-x) 40px;
  border-top: 1px solid rgba(184, 151, 58, 0.15);
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 40px;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--colour-white);
  margin-bottom: 4px;
}

.footer__brand-name span {
  color: var(--colour-gold);
}

.footer__tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.footer__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  margin-bottom: 28px;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  transition: all var(--transition-base);
}

.footer__social:hover {
  border-color: var(--colour-gold);
  color: var(--colour-gold);
  background: rgba(184, 151, 58, 0.08);
}

.footer__col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--colour-gold);
  margin-bottom: 24px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col-link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__col-link::before {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: var(--colour-gold);
  transition: width var(--transition-base);
}

.footer__col-link:hover {
  color: var(--colour-gold);
  padding-left: 8px;
}

.footer__col-link:hover::before {
  width: 16px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer__contact-icon {
  width: 16px;
  height: 16px;
  color: var(--colour-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.footer__contact-text a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-base);
}

.footer__contact-text a:hover {
  color: var(--colour-gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal-links {
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition-base);
}

.footer__legal-link:hover {
  color: var(--colour-gold);
}

.footer__reg {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 8px;
}

/* ============================================================
   16. PAGE HERO (INNER PAGES)
   ============================================================ */
.page-hero {
  padding: 160px var(--section-pad-x) 80px;
  background: var(--colour-navy);
  position: relative;
  overflow: hidden;
}

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

.page-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(184, 151, 58, 0.06) 79px,
      rgba(184, 151, 58, 0.06) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(184, 151, 58, 0.06) 79px,
      rgba(184, 151, 58, 0.06) 80px
    );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

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

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

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--colour-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.page-hero__title em {
  font-style: italic;
  color: var(--colour-gold);
}

.page-hero__body {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================================
   17. ABOUT PAGE
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.about-img-stack {
  position: relative;
  height: 520px;
}

.about-img-stack__main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

.about-img-stack__accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 280px;
  object-fit: cover;
  border: 6px solid var(--colour-white);
  box-shadow: var(--shadow-lg);
}

.about-img-stack__badge {
  position: absolute;
  bottom: 40px;
  left: 0;
  background: var(--colour-gold);
  color: var(--colour-navy);
  padding: 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-img-stack__badge-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-img-stack__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  padding: 24px;
  border-left: 2px solid var(--colour-gold);
  background: var(--colour-off-white);
}

.value-item__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--colour-navy);
  margin-bottom: 8px;
}

.value-item__body {
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  line-height: 1.65;
}

/* ============================================================
   18. PROPERTIES FILTER
   ============================================================ */
.filter-bar {
  background: var(--colour-white);
  padding: 32px 40px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 80px;
  z-index: 10;
  border-bottom: 1px solid var(--colour-grey-200);
}

.filter-bar__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-select {
  appearance: none;
  padding: 10px 36px 10px 16px;
  border: 1px solid var(--colour-grey-200);
  background: var(--colour-white);
  color: var(--colour-text);
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23B8973A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all var(--transition-base);
  outline: none;
  min-width: 140px;
}

.filter-select:focus {
  border-color: var(--colour-gold);
  box-shadow: 0 0 0 3px rgba(184, 151, 58, 0.1);
}

.filter-btn-group {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.filter-toggle {
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--colour-grey-200);
  background: var(--colour-white);
  color: var(--colour-text-muted);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
}

.filter-toggle.is-active,
.filter-toggle:hover {
  background: var(--colour-navy);
  color: var(--colour-white);
  border-color: var(--colour-navy);
}

/* ============================================================
   19. CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 36px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: var(--colour-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-base);
}

.contact-info__item:hover .contact-info__icon {
  background: var(--colour-gold);
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--colour-gold);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--transition-base);
}

.contact-info__item:hover .contact-info__icon svg {
  stroke: var(--colour-navy);
}

.contact-info__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--colour-gold);
  margin-bottom: 4px;
}

.contact-info__value {
  font-size: 1rem;
  color: var(--colour-navy);
  font-weight: 500;
  line-height: 1.5;
}

/* Form Styles */
.form-field {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--colour-text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--colour-off-white);
  border: 1px solid var(--colour-grey-200);
  color: var(--colour-text);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  transition: all var(--transition-base);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--colour-gold);
  background: var(--colour-white);
  box-shadow: 0 0 0 3px rgba(184, 151, 58, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.map-placeholder {
  height: 400px;
  background: var(--colour-grey-100);
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) contrast(1.1);
}

/* ============================================================
   20. BLOG
   ============================================================ */
.blog-card {
  overflow: hidden;
  background: var(--colour-white);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-smooth);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

.blog-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--colour-gold);
  color: var(--colour-navy);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 4px 12px;
}

.blog-card__body {
  padding: 28px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--colour-text-muted);
  margin-bottom: 12px;
}

.blog-card__meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--colour-grey-400);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--colour-navy);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color var(--transition-base);
}

.blog-card:hover .blog-card__title {
  color: var(--colour-gold);
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--colour-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Blog Detail */
.blog-detail__header {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.blog-detail__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--colour-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.blog-detail__featured-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  margin-bottom: 60px;
}

.blog-detail__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--colour-text);
}

.blog-detail__content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--colour-navy);
  margin: 48px 0 20px;
}

.blog-detail__content p {
  margin-bottom: 24px;
}

.blog-detail__content blockquote {
  border-left: 3px solid var(--colour-gold);
  padding: 20px 32px;
  background: var(--colour-off-white);
  margin: 40px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--colour-navy);
}

/* ============================================================
   21. SERVICES PAGE
   ============================================================ */
.service-hero-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-item {
  padding: 56px 48px;
  border: 1px solid var(--colour-grey-200);
  position: relative;
  transition: all 0.4s var(--ease-smooth);
  background: var(--colour-white);
}

.service-item:hover {
  background: var(--colour-navy);
  border-color: var(--colour-navy);
}

.service-item:hover * {
  color: rgba(255, 255, 255, 0.8);
}
.service-item:hover .service-item__number {
  color: var(--colour-gold);
}
.service-item:hover .service-item__title {
  color: var(--colour-white);
}

.service-item__number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--colour-grey-200);
  line-height: 1;
  margin-bottom: 20px;
  transition: color var(--transition-base);
}

.service-item__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--colour-navy);
  margin-bottom: 12px;
  transition: color var(--transition-base);
}

.service-item__body {
  font-size: 0.9375rem;
  color: var(--colour-text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  transition: color var(--transition-base);
}

/* Benefits List */
.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-item__check {
  width: 28px;
  height: 28px;
  background: var(--colour-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-item__check svg {
  width: 14px;
  height: 14px;
  stroke: var(--colour-navy);
  fill: none;
  stroke-width: 2.5;
}

.benefit-item__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--colour-navy);
  margin-bottom: 4px;
}

.benefit-item__body {
  font-size: 0.875rem;
  color: var(--colour-text-muted);
  line-height: 1.6;
}

/* ============================================================
   22. SCROLL ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transition:
    opacity 0.7s var(--ease-smooth),
    transform 0.7s var(--ease-smooth);
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}
[data-animate="fade-down"] {
  transform: translateY(-40px);
}
[data-animate="fade-left"] {
  transform: translateX(-40px);
}
[data-animate="fade-right"] {
  transform: translateX(40px);
}
[data-animate="scale-up"] {
  transform: scale(0.9);
}
[data-animate="fade"] {
  transform: none;
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-delay="100"] {
  transition-delay: 0.1s;
}
[data-delay="200"] {
  transition-delay: 0.2s;
}
[data-delay="300"] {
  transition-delay: 0.3s;
}
[data-delay="400"] {
  transition-delay: 0.4s;
}
[data-delay="500"] {
  transition-delay: 0.5s;
}
[data-delay="600"] {
  transition-delay: 0.6s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   23. DIVIDERS & DECORATIVE ELEMENTS
   ============================================================ */
.divider {
  width: 60px;
  height: 2px;
  background: var(--colour-gold);
  margin: 24px 0;
}

.divider--center {
  margin: 24px auto;
}

.gold-line {
  display: block;
  width: 1px;
  height: 80px;
  background: var(--colour-gold);
  margin: 0 auto;
  opacity: 0.4;
}

/* Number decorative */
.dec-number {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 300;
  color: var(--colour-grey-100);
  position: absolute;
  top: -20px;
  right: -10px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   24. STATS SECTION
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-block {
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

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

.stat-block::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 40px;
  height: 2px;
  background: var(--colour-gold);
  transition: transform 0.4s var(--ease-smooth);
}

.stat-block:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.stat-block__number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--colour-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-block__label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============================================================
   25. FEATURED PROPERTY HIGHLIGHT
   ============================================================ */
.featured-property {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 600px;
  overflow: hidden;
}

.featured-property__media {
  position: relative;
  overflow: hidden;
}

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

.featured-property:hover .featured-property__img {
  transform: scale(1.04);
}

.featured-property__label {
  position: absolute;
  top: 32px;
  left: 32px;
  background: var(--colour-gold);
  color: var(--colour-navy);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 14px;
}

.featured-property__body {
  background: var(--colour-navy);
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--colour-white);
}

.featured-property__type {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--colour-gold);
  margin-bottom: 16px;
}

.featured-property__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 8px;
}

.featured-property__address {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
}

.featured-property__specs {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-property__spec {
  text-align: center;
}

.featured-property__spec-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--colour-gold);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.featured-property__spec-label {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.featured-property__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--colour-white);
  line-height: 1;
  margin-bottom: 4px;
}

.featured-property__period {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 32px;
}

/* ============================================================
   26. RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1199px) {
  :root {
    --section-pad-x: 28px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-split--reverse {
    direction: ltr;
  }

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

  .stat-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .featured-property {
    grid-template-columns: 1fr;
  }

  .featured-property__media {
    height: 360px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ============================================================
   27. RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-pad-y: 64px;
    --section-pad-x: 20px;
  }

  .nav__links {
    display: none;
  }
  .nav__cta-desktop {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }

  .nav {
    padding: 20px var(--section-pad-x);
  }
  .nav.is-scrolled {
    padding: 14px var(--section-pad-x);
  }

  .hero__stats-inner {
    flex-direction: column;
    gap: 0;
  }
  .hero__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 0;
  }
  .hero__stat:last-child {
    border-bottom: none;
  }

  .hero__scroll {
    display: none;
  }

  .service-hero-list,
  .values-grid,
  .benefits-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter__inner {
    flex-direction: column;
  }
  .newsletter__form {
    min-width: unset;
    width: 100%;
  }

  .trust-bar__inner {
    flex-direction: column;
    gap: 24px;
  }
  .trust-bar__logos {
    gap: 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .filter-bar {
    position: static;
  }
  .filter-bar__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-select {
    min-width: unset;
  }

  .hero__stat-number {
    font-size: 1.75rem;
  }
}

/* ============================================================
   28. UTILITY CLASSES
   ============================================================ */
.text-gold {
  color: var(--colour-gold);
}
.text-navy {
  color: var(--colour-navy);
}
.text-muted {
  color: var(--colour-text-muted);
}
.text-white {
  color: var(--colour-white);
}
.bg-navy {
  background: var(--colour-navy);
}
.bg-cream {
  background: var(--colour-cream);
}
.bg-gold {
  background: var(--colour-gold);
}
.font-display {
  font-family: var(--font-display);
}
.mt-auto {
  margin-top: auto;
}
.gap-sm {
  gap: 8px;
}
.gap-md {
  gap: 16px;
}
.gap-lg {
  gap: 32px;
}

/* Visually hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   29. BLOG FEATURED ARTICLE — RESPONSIVE
   ============================================================ */
@media (max-width: 899px) {
  .blog-card[style*="grid"] {
    display: block !important;
  }
  .blog-card[style*="grid"] .blog-card__media {
    aspect-ratio: 16/9 !important;
    height: auto !important;
  }
  .blog-card[style*="grid"] .blog-card__body {
    padding: 28px !important;
  }
}

/* ============================================================
   30. ABOUT SPLIT — RESPONSIVE FIX
   ============================================================ */
@media (max-width: 1199px) {
  .about-img-stack {
    height: 400px;
  }
  .about-img-stack__main {
    width: 80%;
    height: 320px;
  }
  .about-img-stack__accent {
    width: 55%;
    height: 240px;
  }
}

@media (max-width: 767px) {
  .about-img-stack {
    height: 320px;
  }
  .about-img-stack__main {
    width: 85%;
    height: 260px;
  }
  .about-img-stack__accent {
    width: 60%;
    height: 200px;
  }
  .about-img-stack__badge {
    bottom: 20px;
    padding: 14px 20px;
  }
}

/* ============================================================
   31. SERVICE HERO LIST — RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .service-hero-list {
    grid-template-columns: 1fr;
  }
  .service-item {
    padding: 40px 28px;
  }
}

/* ============================================================
   32. FEATURED PROPERTY — RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .featured-property {
    grid-template-columns: 1fr;
  }
  .featured-property__media {
    height: 320px;
  }
  .featured-property__body {
    padding: 40px 32px;
  }
}

/* ============================================================
   33. CONTACT GRID — RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ============================================================
   34. PAGE HERO — RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .page-hero {
    padding: 130px 20px 60px;
  }
  .page-hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ============================================================
   35. NAV RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links {
    gap: 1.5rem;
  }
  .nav__link {
    font-size: 0.75rem;
  }
}

@media (max-width: 920px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
}

/* ============================================================
   36. STATS GRID — RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-block {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 20px;
  }
  .stat-block:nth-child(2n) {
    border-right: none;
  }
  .stat-block:nth-last-child(-n + 2) {
    border-bottom: none;
  }
  .stat-block__number {
    font-size: 2.5rem;
  }
}

/* ============================================================
   37. FOOTER — RESPONSIVE EXTRAS
   ============================================================ */
@media (max-width: 991px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer {
    padding: 60px 20px 32px;
  }
}

/* ============================================================
   38. HERO STATS BAR — RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .hero__stats-inner {
    flex-direction: column;
    gap: 0;
  }
  .hero__stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 0;
    text-align: center;
  }
  .hero__stat:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   39. GLOBAL PRINT HELPERS
   ============================================================ */
@media print {
  .nav,
  .page-loader,
  .scroll-progress,
  .hero__scroll,
  .cta-banner,
  .newsletter,
  .trust-bar {
    display: none !important;
  }
  body {
    color: #000;
  }
}

/* ============================================================
   40. FOCUS STATES — ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--colour-gold);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--colour-gold);
  outline-offset: 3px;
}

/* ============================================================
   41. CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--colour-off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--colour-gold);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--colour-gold-dark);
}

/* ============================================================
   42. SELECTION COLOUR
   ============================================================ */
::selection {
  background: var(--colour-gold);
  color: var(--colour-navy);
}

/* ============================================================
   43. SMOOTH IMAGE LOADING
   ============================================================ */
img {
  transition: opacity 0.4s ease;
}
img[loading="lazy"] {
  opacity: 0;
}
img[loading="lazy"].is-loaded,
img:not([loading="lazy"]) {
  opacity: 1;
}

/* ============================================================
   44. BLOG DETAIL — RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  .blog-detail__content {
    padding: 0;
  }
  .blog-detail__content h2 {
    font-size: 1.5rem;
  }
  .blog-detail__featured-img {
    aspect-ratio: 4/3;
  }
}

/* ============================================================
   45. CLEANING STATS GRID — RESPONSIVE FIX
   ============================================================ */
.stats-grid[style*="grid-template-columns:1fr 1fr"] {
  grid-template-columns: 1fr 1fr !important;
}

@media (max-width: 767px) {
  .stats-grid[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* ============================================================
   46. BENEFITS LIST — DARK BACKGROUND OVERRIDE
   ============================================================ */
.section--dark .benefit-item__body {
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   47. PROPERTY CARD — VIEW MODE (list vs grid)
   ============================================================ */
[data-properties-grid][data-view="list"] .col-md-6,
[data-properties-grid][data-view="list"] .col-lg-4 {
  flex: 0 0 100%;
  max-width: 100%;
}

[data-properties-grid][data-view="list"] .property-card {
  display: grid;
  grid-template-columns: 320px 1fr;
}

[data-properties-grid][data-view="list"] .property-card__media {
  aspect-ratio: unset;
  height: 100%;
}

@media (max-width: 767px) {
  [data-properties-grid][data-view="list"] .property-card {
    grid-template-columns: 1fr;
  }
  [data-properties-grid][data-view="list"] .property-card__media {
    height: 220px;
  }
}

/* ============================================================
   48. LAZY IMAGE JS HOOK
   ============================================================ */

/* ============================================================
   49. LOGO IMAGE — VISIBILITY FIXES
   ============================================================ */

/* Tagline stays subtle on both states */
.nav__logo-tagline {
  transition: opacity 0.4s var(--ease-smooth);
}

/* ============================================================
   50. HERO CONTENT — BUTTON CLEARANCE FIX (mobile)
   ============================================================ */
@media (max-width: 767px) {
  .hero__content {
    padding: 100px 20px 160px;
  }
  .hero__scroll {
    display: none;
  }
  .hero__stats-inner {
    padding: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero__content {
    padding: 110px 28px 170px;
  }
  .hero__scroll {
    bottom: 180px;
  }
}

/* ============================================================
   51. MOBILE NAV STICKY FIX
   ============================================================ */

/* The primary cause of nav not sticking on iOS is overflow-x:hidden
   on <body> — that's fixed above (moved to <html>).
   These rules add extra insurance for all mobile browsers. */

@media (max-width: 1023px) {
  .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
    /* Ensure nav always has a background on mobile so content below
       doesn't show through when scrolling */
    background: rgba(13, 27, 42, 0.97) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    padding: 14px 20px !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
  }

  /* On mobile the nav is always solid — no transparent hero state needed */
  .nav:not(.is-scrolled) {
    background: rgba(13, 27, 42, 0.97) !important;
  }
}

@media (max-width: 767px) {
  /* Extra hero top-padding so headline clears the fixed nav */
  .hero__content {
    padding-top: 110px !important;
    padding-bottom: 160px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
