/* ============================================
   GLOBAL HOUSE ESTATES — Master Stylesheet
   Premium Independent Estate Agency
   ============================================ */

/* Jost is loaded via <link rel="stylesheet"> + preconnect in each page's head.
   An @import here would serialise it behind this file — HTML → CSS → font CSS
   → font — which was the largest single contributor to mobile LCP. */

/* ---------- CSS Custom Properties ---------- */
:root {
  --navy: #160C39;
  --navy-light: #1e1250;
  --navy-dark: #0e0826;
  --lime: #ACBC15;
  --lime-hover: #c5d61a;
  --lime-dark: #8fa010;
  --lime-text: #667000;
  --grey-body: #575757;
  --grey-light: #E6E7E8;
  --grey-mid: #6b6b6b;
  --white: #ffffff;
  --off-white: #f7f7f8;
  --black: #1a1a1a;

  --font-heading: 'Jost', 'Futura', 'Futura Light', 'Nunito Sans', sans-serif;
  --font-body: 'Calibri', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --header-h: 80px;
  --max-w: 1280px;
  --gap: 2rem;
  --radius: 4px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 6px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23160C39' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--grey-body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  /* "clip" prevents horizontal overflow without creating a scroll container,
     which would break position:sticky on descendants like the property sidebar. */
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  line-height: 1.2;
}

/* ---------- Typography ---------- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
/* Base heading rhythm — inline styles and component rules override. */
h1, h2, h3, h4 { margin-bottom: 0.75rem; }
h1:last-child, h2:last-child, h3:last-child, h4:last-child { margin-bottom: 0; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; color: var(--lime-text); }
strong { font-weight: 600; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lime-text);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--grey-body);
  max-width: 640px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section--navy { background: var(--off-white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--navy); }
.section--grey { background: var(--grey-light); }
.section--alt { background: rgba(172,188,21,0.03); }
.section--dark { background: var(--grey-light); }
.section--dark h2, .section--dark h3 { color: var(--navy); }
.text-center { text-align: center; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
/* On the narrowest screens let long button labels wrap instead of forcing the
   page min-width past the viewport (WCAG 1.4.10 reflow). */
@media (max-width: 480px) {
  .btn { white-space: normal; }
}
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(172,188,21,0.3); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--outline { border: 1.5px solid var(--lime); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--lime); color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(172,188,21,0.25); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--grey-light); transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.4rem; font-size: 0.78rem; }
.btn--gold { background: var(--lime); color: var(--navy); }
.btn--gold:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(172,188,21,0.3); }
.btn svg { width: 16px; height: 16px; }
.btn svg,
.header__whatsapp svg,
.footer__social svg,
.mobile-action-bar__btn svg,
.whatsapp-widget__btn svg,
.property-card__meta svg,
.office-card__detail svg,
.profile-contact svg,
.about-service svg {
  display: block;
  flex: 0 0 auto;
}

/* Focus styles for accessibility */
.btn:focus-visible,
.tile:focus-visible,
.header__nav-link:focus-visible,
.property-card:focus-visible,
.news-card:focus-visible,
.service-card:focus-visible,
.footer__social:focus-visible,
.footer__link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--lime);
}
/* Navy ring reads on light surfaces (18:1), the lime halo reads on navy
   surfaces (8.7:1) — so the indicator meets WCAG 1.4.11 on both. */
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 4px var(--lime); }

/* Form inputs — clear keyboard focus ring without a default browser blue glow */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--lime);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--lime);
}

/* ---------- Sticky Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: var(--transition);
  background: transparent;
}
.header--scrolled,
body.solid-header .header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
  height: 68px;
}
.header--scrolled .header__nav-link,
body.solid-header .header__nav-link { color: var(--navy); }
.header--scrolled .header__nav-link:hover,
.header--scrolled .header__nav-link--active,
body.solid-header .header__nav-link:hover,
body.solid-header .header__nav-link--active { color: var(--lime-text); }
.header--scrolled .header__burger span,
body.solid-header .header__burger span,
.header__burger.active span { background: var(--navy); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.header__logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}
.header--scrolled .header__logo img { height: 40px; }
.header--menu-open {
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.header__nav-link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 0.5rem 0.9rem;
  position: relative;
  transition: var(--transition);
}
.header__nav-link:hover, .header__nav-link--active { color: var(--lime); }
.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--lime);
  transition: var(--transition);
  transform: translateX(-50%);
}
.header__nav-link:hover::after, .header__nav-link--active::after { width: 60%; }

/* Dropdown */
.header__dropdown { position: relative; }
.header__dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  border: 1px solid var(--grey-light);
}
.header__dropdown:hover .header__dropdown-menu,
.header__dropdown:focus-within .header__dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.header__dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-body);
  transition: var(--transition);
}
.header__dropdown-menu a:hover { color: var(--lime); background: var(--off-white); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  transition: var(--transition);
}
.header__whatsapp:hover { transform: scale(1.1); box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.header__whatsapp svg { width: 22px; height: 22px; }

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.header__burger span {
  display: block; width: 100%; height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 1rem) 1rem calc(6rem + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 0.25rem;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.mobile-nav > * { flex-shrink: 0; }
.mobile-nav.active { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  padding: 0.6rem 1rem;
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--lime); }
.mobile-nav__actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
/* Action buttons inside the mobile nav must not inherit the nav link colour,
   otherwise .btn--navy becomes navy text on a navy background (invisible). */
.mobile-nav__actions .btn--lime { color: var(--navy); }
.mobile-nav__actions .btn--navy { color: var(--white); }
@media (max-height: 740px) {
  .mobile-nav a { font-size: 1rem; padding: 0.5rem 1rem; }
  .mobile-nav__actions { margin-top: 1rem; }
}
/* If the user opens the mobile overlay then widens the window to desktop,
   force the overlay closed — otherwise it stays covering the page even though
   the burger button is hidden. */
@media (min-width: 1025px) {
  .mobile-nav,
  .mobile-nav.active {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  /* On iOS Safari `vh` includes the dynamic browser chrome; `svh`/`dvh`
     give a steadier number when the chrome shows or hides. */
  min-height: 90svh;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--off-white);
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,6,30,0.65) 0%, rgba(11,6,30,0.55) 50%, rgba(11,6,30,0.8) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  min-width: 0;
  max-width: 800px;
  padding: 0 1.5rem;
}
.hero__logo { margin-bottom: 2rem; }
.hero__logo img { height: 80px; margin: 0 auto; }
.hero__tagline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--lime-hover);
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}
.hero__title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.55), 0 4px 24px rgba(0,0,0,0.6);
}
.hero__title em { color: var(--lime-hover); font-style: normal; }
.hero__subtitle {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll-text {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}
.hero__scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--lime), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hero inner pages */
.hero--inner {
  min-height: 40vh;
  padding-top: var(--header-h);
  background: var(--off-white);
}
.hero--inner .hero__overlay {
  background: linear-gradient(180deg, rgba(11,6,30,0.78) 0%, rgba(11,6,30,0.62) 50%, rgba(11,6,30,0.82) 100%);
}
.hero--inner .hero__content {
  text-shadow: none;
  color: var(--white);
}
.hero--inner .hero__title {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55);
}
.hero--inner .hero__title em { color: var(--lime); font-style: normal; }

/* Property detail hero — two-tier title so long addresses don't crush */
.hero__title--property {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}
.hero__title-type {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--white);
}
.hero__title-address {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  max-width: 38ch;
}
.hero--inner .hero__subtitle { margin-bottom: 0; font-size: 1.05rem; color: rgba(255,255,255,0.92); text-shadow: 0 1px 2px rgba(0,0,0,0.45); }

/* Property detail hero — prominent price layout */
.hero--inner .hero__subtitle.hero-property {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1rem;
}
.hero-property__status {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--lime);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 4px;
  text-shadow: none;
}
.hero-property__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
/* Safety net: any heading inside an inner hero defaults to white if a class was missed */
.hero--inner h1, .hero--inner h2, .hero--inner h3 {
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.7), 0 1px 6px rgba(0,0,0,0.5);
}
.hero--inner h1 em, .hero--inner h2 em, .hero--inner h3 em { color: var(--lime); font-style: normal; }

/* ---------- Hero Search Bar ---------- */
.hero-search {
  margin-top: 2.5rem;
  width: 100%;
  min-width: 0;
  max-width: min(740px, 100%);
  position: relative;
  z-index: 3;
}
.hero-search__label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-align: left;
  text-shadow: 0 1px 5px rgba(0,0,0,0.6);
  text-transform: uppercase;
}
.hero-search__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
  min-width: 0;
}
.hero-search__tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom: none;
  border-radius: 0;
  transition: color 0.1s ease, background 0.1s ease, border-color 0.1s ease;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.hero-search__tab:first-child { border-radius: var(--radius) 0 0 0; }
.hero-search__tab:last-child { border-radius: 0 var(--radius) 0 0; }
.hero-search__tab:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.hero-search__tab--active,
.hero-search__tab--active:hover {
  color: var(--navy);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-color: rgba(255,255,255,0.5);
  cursor: default;
}
.hero-search__bar {
  display: flex;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-search__field {
  position: relative;
  border-right: 1px solid var(--grey-light);
}
.hero-search__field--grow { flex: 1; }
.hero-search__select {
  appearance: none;
  -webkit-appearance: none;
  padding: 1rem 2.5rem 1rem 1.25rem;
  border: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--grey-body);
  background-color: var(--white);
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  cursor: pointer;
  min-width: 120px;
}
.hero-search__select:focus { outline: none; }
.hero-search__select:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}
.hero-search__input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--grey-body);
  background: var(--white);
}
.hero-search__input::placeholder { color: var(--grey-mid); }
.hero-search__input:focus { outline: none; }
.hero-search__input:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}
.hero-search__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  background: var(--lime);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.hero-search__btn:hover { background: var(--lime-hover); }
.hero-search__btn svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .hero-search__tabs {
    overflow: visible;
  }
  .hero-search__tab {
    min-width: 0;
    font-size: 0.62rem;
    line-height: 1.2;
    padding: 0.6rem 0.45rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .hero-search__bar { flex-direction: column; border-radius: var(--radius); }
  .hero-search__field { border-right: none; border-bottom: 1px solid var(--grey-light); }
  .hero-search__select { width: 100%; }
  .hero-search__btn { justify-content: center; }
}

@media (max-width: 600px) {
  .hero:not(.hero--inner) .hero__logo { display: none; }
}

/* ---------- Quick Access Tiles ---------- */
.tiles {
  padding: 4rem 0;
  background: var(--white);
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}
.tiles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.tile:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(172,188,21,0.12);
  background: var(--white);
}
.tile__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--lime);
  background: rgba(172,188,21,0.08);
  border-radius: 50%;
  transition: var(--transition);
}
.tile:hover .tile__icon {
  background: var(--lime);
  color: var(--white);
}
.tile__icon svg { width: 24px; height: 24px; }
.tile__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

/* ---------- Placeholder Overlay ---------- */
.placeholder-img {
  position: relative;
  overflow: hidden;
}

/* ---------- Stats Bar ---------- */
.stats {
  padding: 4rem 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(172,188,21,0.06);
  pointer-events: none;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
  overflow: visible;
}
.stats__grid > * {
  min-width: 0;
  overflow-wrap: break-word;
}
.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lime);
  margin-bottom: 0.35rem;
  white-space: normal;
  word-break: keep-all;
}
.stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}

/* ---------- Services Strip ---------- */
.services-strip { padding: 5rem 0; }
.services-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
  text-decoration: none;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.service-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(172,188,21,0.12);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--lime);
  background: rgba(172,188,21,0.08);
  border-radius: 50%;
  transition: var(--transition);
}
.service-card:hover .service-card__icon {
  background: var(--lime);
  color: var(--white);
}
.service-card__icon svg { width: 28px; height: 28px; }
.service-card__title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* ---------- Property Filters ---------- */
.property-filters-advanced {
  --filter-control-height: 52px;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--grey-light);
  border-radius: var(--radius-lg);
}
.property-filters-advanced__row {
  display: grid;
  grid-template-columns: minmax(250px, 1.2fr) repeat(3, minmax(110px, 0.65fr)) minmax(190px, 1fr) minmax(180px, 1fr) minmax(126px, 0.7fr);
  gap: 0.75rem;
  align-items: end;
}
.property-filters-advanced__field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.property-filters-advanced__field--type {
  min-width: 0;
}
.property-filters-advanced__field--action {
  min-width: auto;
}
.property-filters-advanced__field .form__label {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
}
.form__label--invisible {
  visibility: hidden;
  pointer-events: none;
}
.property-filters-advanced__field .form__input,
.property-filters-advanced__field .form__select {
  height: var(--filter-control-height);
  min-height: var(--filter-control-height);
  padding-block: 0;
  font-size: 0.88rem;
  line-height: 1.2;
}

/* Type filter — segmented control sized to match selects */
.property-filter-tabs {
  display: inline-flex;
  min-height: var(--filter-control-height);
  height: var(--filter-control-height);
  padding: 4px;
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  gap: 2px;
  width: 100%;
}
.property-filter-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  padding: 0 0.9rem;
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 2px);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.property-filter-tab:hover { background: rgba(22, 12, 57, 0.06); }
.property-filter-tab.is-active {
  background: var(--lime);
  color: var(--navy);
}
/* Navy ring + lime halo, as everywhere else. A lime-only outline is 2.1:1 on
   the white filter bar. The button:focus-visible rule above is equally specific,
   so this has to come after it to win. */
.property-filter-tab:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--lime);
}

/* Reset button — matches input height, neutral by default */
.property-filter-reset {
  height: var(--filter-control-height);
  min-height: var(--filter-control-height);
  padding: 0 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.property-filter-reset:hover {
  border-color: var(--lime);
  color: var(--lime-text);
}
.property-filter-reset:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--lime);
}
.property-section-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.property-section-heading em {
  font-style: italic;
  color: var(--lime-text);
}
.property-no-results {
  text-align: center;
  color: var(--grey-body);
  padding: 2.5rem 1rem;
  grid-column: 1 / -1;
  font-size: 0.95rem;
}
@media (max-width: 640px) {
  .property-filters-advanced {
    padding: 1rem;
  }
  .property-filters-advanced__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.65rem;
  }
  .property-filters-advanced__field {
    min-width: 0;
  }
  .property-filters-advanced__field .form__label {
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
  }
  .property-filters-advanced__field--type,
  .property-filters-advanced__field:has(#filterLocation) {
    grid-column: 1 / -1;
  }
  .property-filters-advanced__field--action .form__label--invisible {
    display: none;
  }
  .property-filters-advanced__field--action {
    align-self: end;
  }
  .property-filter-reset {
    width: 100%;
  }
  .property-filter-tab {
    padding: 0 0.45rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }
}
@media (min-width: 641px) and (max-width: 1220px) {
  .property-filters-advanced__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .property-filters-advanced__field--type {
    grid-column: 1 / -1;
  }
  .property-filters-advanced__field--action {
    align-self: end;
  }
  .property-filter-reset {
    width: 100%;
  }
}

/* ---------- Property Cards ---------- */
/* Six tracks so the first two cards can run at half-width (span 3) and the rest
   at a third (span 2) — a 2-up feature row above a 3-up grid. */
.property-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
}
.property-grid > .property-card { grid-column: span 2; }
.property-grid > .property-card--feature { grid-column: span 3; }
.property-card--feature .property-card__img { height: 340px; }
.property-card--feature .property-card__price { font-size: 2rem; }
.property-card--feature .property-card__snippet { -webkit-line-clamp: 3; }
/* Between tablet and desktop the feature row stops earning its width — go 2-up flat. */
@media (max-width: 1100px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .property-grid > .property-card,
  .property-grid > .property-card--feature { grid-column: span 1; }
  .property-card--feature .property-card__img { height: 240px; }
  .property-card--feature .property-card__price { font-size: 1.7rem; }
}
.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
.property-card__img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.property-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: var(--transition);
}
.property-card:hover .property-card__img img { transform: scale(1.05); }
.property-card__img::after {
  content: 'View Details';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(22,12,57,0.8));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
}
.property-card:hover .property-card__img::after { opacity: 1; }
.property-card__badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: var(--lime);
  border-radius: 4px;
}
.property-card__badge--sold { background: #e74c3c; }
.property-card__badge--let { background: #e67e22; }
/* Waiting state for a lazy card. Reads as "loading", not "broken" — the
   "Image unavailable" graphic is reserved for genuine failures. */
.property-card__img--pending {
  background: linear-gradient(100deg, #eeeeee 30%, #f7f7f7 50%, #eeeeee 70%);
  background-size: 220% 100%;
  animation: cardShimmer 1.4s ease-in-out infinite;
}
@keyframes cardShimmer {
  from { background-position: 180% 0; }
  to { background-position: -40% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .property-card__img--pending { animation: none; }
}
.property-card__count {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(22,12,57,0.72);
  color: var(--white);
  font-size: 0.72rem;
  line-height: 1;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.property-card__count svg { width: 13px; height: 13px; flex: 0 0 auto; }
.property-card__body { padding: 1.5rem 1.5rem 1.65rem; }
.property-card__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 0.6rem;
  border-left: 3px solid var(--lime);
  padding-left: 0.85rem;
  line-height: 1.05;
}
.property-card__address {
  font-size: 0.9rem;
  color: var(--grey-body);
  margin-bottom: 1.1rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.property-card__snippet {
  font-size: 0.82rem;
  color: var(--grey-mid);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.property-card__meta {
  display: flex;
  gap: 1.6rem;
  font-size: 0.86rem;
  color: var(--grey-mid);
  padding-top: 0.85rem;
  border-top: 1px solid rgba(22,12,57,0.08);
}
.property-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.property-card__meta svg { width: 18px; height: 18px; color: var(--lime); }
@media (max-width: 600px) {
  .property-card__price { font-size: 1.7rem; }
}

/* ---------- Property Detail ---------- */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* Gallery scales proportionally to viewport width up to a sensible ceiling,
     rather than being capped at a fixed 500px (which looked short on wide screens). */
  aspect-ratio: 16 / 9;
  max-height: 640px;
}
.property-gallery__main { grid-row: 1 / 3; }
.property-gallery__thumbs {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
}
.property-gallery__main img, .property-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Swiper variant: drop the 2-col grid, stack main carousel + thumb strip */
.property-gallery.property-gallery--swiper {
  display: block;
  aspect-ratio: auto;
  max-height: none;
  overflow: visible;
  background: transparent;
}
.property-swiper {
  width: 100%;
  height: clamp(320px, 56vw, 640px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-light);
}
.property-swiper .swiper-wrapper { height: 100%; }
.property-swiper .swiper-slide {
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.property-swiper .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
  display: block;
}
.property-swiper .swiper-button-prev,
.property-swiper .swiper-button-next {
  color: #fff;
  background: rgba(22,12,57,0.55);
  width: 44px; height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition);
}
.property-swiper .swiper-button-prev:hover,
.property-swiper .swiper-button-next:hover { background: var(--navy); }
.property-swiper .swiper-button-prev::after,
.property-swiper .swiper-button-next::after { font-size: 18px; font-weight: 700; }
.property-swiper .swiper-pagination-bullet { background: #fff; opacity: 0.55; }
.property-swiper .swiper-pagination-bullet-active { background: var(--lime); opacity: 1; }

.property-swiper-thumbs {
  margin-top: 0.6rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.property-swiper-thumbs .swiper-slide {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
  background: var(--grey-light);
}
.property-swiper-thumbs .swiper-slide:hover { opacity: 0.85; }
.property-swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}
.property-swiper-thumbs .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .property-swiper { aspect-ratio: 4 / 3; }
}
.property-detail__sidebar {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  /* Stick the agent/price/CTA column in view while the user scrolls the description */
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.property-detail__sidebar > .property-detail__card + .property-detail__card {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(22,12,57,0.08);
}
/* Drop the sticky behaviour on narrow viewports where the sidebar stacks below */
@media (max-width: 900px) {
  .property-detail__sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
.property-detail__info {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  margin-top: 3rem;
}

/* ---------- Why GHE / Comparison ---------- */
.compare-table {
  margin-top: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.compare-table th {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem;
  text-align: left;
}
.compare-table th:first-child { width: 40%; }
.compare-table th:nth-child(2) {
  background: var(--lime);
  color: var(--navy);
  border-radius: var(--radius) var(--radius) 0 0;
  text-align: center;
}
.compare-table th:nth-child(3) { text-align: center; color: var(--grey-mid); }
.compare-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--grey-light);
}
.compare-table td:nth-child(2) {
  background: rgba(22,12,57,0.03);
  text-align: center;
  color: var(--lime-text);
  font-weight: 600;
}
.compare-table td:nth-child(3) { text-align: center; color: var(--grey-mid); }
.check { color: var(--lime-text); font-weight: 700; margin-right: 0.3rem; }
.cross { color: #c0392b; font-weight: 700; margin-right: 0.3rem; }
@media (max-width: 768px) {
  .compare-table th, .compare-table td { padding: 0.6rem 0.5rem; font-size: 0.82rem; }
  .compare-table th:first-child { width: 35%; }
}

/* ---------- Story Content ---------- */
.story-content {
  max-width: 800px;
  margin: 2rem auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
}
.story-content p {
  margin-bottom: 1.2rem;
  color: var(--grey-body);
}

/* ---------- Awards Grid (Why GHE) ---------- */
.awards-grid:has(.awards-grid__item) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: stretch;
}
.awards-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--grey-light);
  border: 1px solid rgba(22,12,57,0.06);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  height: 100%;
}
.awards-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.awards-grid__icon {
  color: var(--lime);
  margin-bottom: 1rem;
}
.awards-grid__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.awards-grid__desc {
  font-size: 0.88rem;
  color: var(--grey-body);
  line-height: 1.5;
}
@media (max-width: 800px) {
  .awards-grid:has(.awards-grid__item) { grid-template-columns: 1fr; }
}

/* ---------- Awards (About page) ---------- */
.awards-section {
  position: relative;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(172,188,21,0.08), transparent 55%),
    linear-gradient(180deg, #fafaf7 0%, #f3f3ef 100%);
}
.awards-section__lede {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-style: italic;
  color: var(--grey-body);
}

.awards-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 0 auto 4rem;
  max-width: 1000px;
}
.award-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 2.25rem 2.75rem;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid rgba(22,12,57,0.06);
  box-shadow: 0 30px 60px -28px rgba(22,12,57,0.18), 0 1px 2px rgba(22,12,57,0.04);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}
.award-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -28px rgba(22,12,57,0.22), 0 2px 4px rgba(22,12,57,0.06);
}
/* Lime corner accent */
.award-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 4px;
  background: var(--lime);
  border-radius: 0 0 4px 4px;
}
/* Big year watermark behind the badge */
.award-feature__year-mark {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(22,12,57,0.04);
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}
/* Circular badge frame holding the awarding-body logo */
.award-feature__badge {
  position: relative;
  width: 168px;
  height: 168px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.award-feature__badge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,1) 0%, rgba(248,247,242,1) 70%, rgba(232,229,218,1) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(22,12,57,0.06),
    inset 0 -8px 18px rgba(22,12,57,0.04),
    0 6px 24px rgba(22,12,57,0.06);
}
.award-feature__badge::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(172,188,21,0.4);
  pointer-events: none;
}
.award-feature__badge img {
  position: relative;
  width: 78%;
  height: 78%;
  object-fit: contain;
  z-index: 1;
}
.award-feature__year {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime-dark, #8aa315);
  margin-bottom: 0.85rem;
  position: relative;
  padding: 0 1rem;
}
.award-feature__year::before,
.award-feature__year::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1px;
  background: rgba(172,188,21,0.5);
}
.award-feature__year::before { right: 100%; }
.award-feature__year::after { left: 100%; }
.award-feature__title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 0.65rem;
}
.award-feature__org {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin: 0 0 1.25rem;
  position: relative;
  padding-bottom: 1.25rem;
}
.award-feature__org::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 32px;
  height: 1px;
  background: rgba(22,12,57,0.15);
}
.award-feature__note {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--grey-body);
  margin: 0;
  max-width: 28ch;
  font-style: italic;
}

/* Subdued secondary list — for less-prominent recognition */
.awards-secondary {
  list-style: none;
  margin: 0 auto 4rem;
  padding: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(22,12,57,0.08);
}
.award-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(22,12,57,0.08);
  text-align: left;
}
.award-row__year {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-dark, #8aa315);
}
.award-row__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy);
}
.award-row__org {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--grey-mid);
  text-transform: uppercase;
}

/* Banner of historic award badges as social proof */
.awards-banner {
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 20px 50px -20px rgba(22,12,57,0.12), 0 1px 2px rgba(22,12,57,0.04);
}
.awards-banner__caption {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--grey-mid);
  margin-bottom: 1.25rem;
}
.awards-banner img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 760px) {
  .awards-section { padding: 3.5rem 0 4rem; }
  .awards-featured { grid-template-columns: 1fr; gap: 1.5rem; max-width: 480px; }
  .award-feature { padding: 2.5rem 1.75rem 2rem; }
  .award-feature__year-mark { font-size: 5rem; }
  .award-feature__badge { width: 132px; height: 132px; }
  .award-feature__title { font-size: 1.6rem; }
  .award-row { grid-template-columns: 70px 1fr; gap: 1rem; }
  .award-row__org { grid-column: 2; font-size: 0.68rem; padding-top: 0.25rem; }
  .awards-banner { padding: 1.25rem; }
}

/* ---------- Testimonials ---------- */
.testimonials-carousel { position: relative; overflow: hidden; }
.testimonials__track { display: flex; transition: transform 0.5s ease; }
.testimonial { flex: 0 0 100%; }
.testimonial__inner { max-width: 700px; margin: 0 auto; position: relative; padding-top: 2rem; }
.testimonial__inner::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--lime);
  opacity: 0.3;
  pointer-events: none;
}
.testimonial__stars {
  font-size: 1.2rem;
  color: #f5a623;
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
}
.testimonial__text {
  font-size: 1.15rem;
  line-height: 1.8;
  font-style: italic;
  color: var(--grey-body);
  margin-bottom: 1.5rem;
}
.testimonial__author {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.testimonial__source {
  font-size: 0.78rem;
  color: var(--grey-mid);
}
.testimonial__source a { color: var(--lime-text); text-decoration: underline; }
.testimonial__source a:hover { color: var(--navy); }
.testimonials__dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.testimonials__dot {
  width: 8px; height: 8px;
  padding: 8px;                 /* 8px dot + 8px×2 padding = 24px hit target */
  box-sizing: content-box;
  border: none;
  border-radius: 50%;
  background: var(--grey-mid);
  background-clip: content-box; /* paint only the inner 8px, keep the hit area invisible */
  transition: var(--transition);
  cursor: pointer;
}
.testimonials__dot.active {
  background: var(--lime);
  background-clip: content-box;
  width: 24px;
  border-radius: 999px;
}
.testimonials__playpause {
  width: 24px; height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--grey-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
}
.testimonials__playpause::before {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;      /* ▶ play triangle */
  border-color: transparent transparent transparent currentColor;
}
.testimonials__playpause:not(.is-paused)::before {
  width: 8px; height: 10px;
  border: none;
  /* ▮▮ pause bars via a left+right border */
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.testimonials__playpause:hover { color: var(--navy); }

/* ---------- News Cards ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 2rem;
}
.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card__img {
  height: 200px;
  overflow: hidden;
}
.news-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.news-card__img img[src*="rania-karyda-nov2026"] { object-position: center 20%; }
.news-card:hover .news-card__img img { transform: scale(1.04); }
.news-card__body { padding: 1.5rem; }
.news-card__category {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime-text);
  margin-bottom: 0.5rem;
}
.news-card__title {
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 0.5rem;
}
.news-card__excerpt {
  font-size: 0.88rem;
  color: var(--grey-mid);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__date { font-size: 0.75rem; color: var(--grey-mid); }

/* ---------- News Filters ---------- */
.news-filters {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--grey-light);
  background: var(--white);
  position: sticky;
  top: var(--header-h);
  z-index: 8;
}
.news-filters__strip {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.news-filters__strip::-webkit-scrollbar { display: none; }
.news-filters__link {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
  min-height: 44px;
  color: var(--grey-body);
  background: var(--white);
  border: 1px solid var(--grey-light);
  transition: var(--transition);
  cursor: pointer;
}
.news-filters__link:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.news-filters__link--active {
  background: var(--lime);
  color: var(--navy);
  border-color: var(--lime);
}

/* ---------- News Load More ---------- */
.news-load-more {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- Portal Logos ---------- */
.portals {
  padding: 1.75rem 0;
  background: var(--grey-light);
}
.portals__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 1rem;
}
.portals__logo {
  height: 38px;
  width: auto;
  opacity: 1;
  transition: var(--transition);
}
.portals__logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ---------- Affiliations — single white card, flat row ---------- */
.affiliations {
  padding: 0;
  background: transparent;
  border: 0;
  margin-top: 2rem;
}
.affiliations .section-label {
  display: block;
  text-align: center;
  margin-bottom: 1.25rem;
}
.affiliations__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  justify-items: center;
  gap: 1.75rem 1rem;
  margin: 0 auto;
  max-width: 1232px;
  padding: 2.25rem 1.5rem;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid rgba(22,12,57,0.06);
  box-shadow: 0 1px 2px rgba(22,12,57,0.03);
}
.affiliations__item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0.5rem 0.25rem;
  box-shadow: none;
  transition: none;
  width: 100%;
}
.affiliations__item:hover { transform: none; box-shadow: none; }
.affiliations__art {
  position: relative;
  display: block;
  width: 100%;
  max-width: 176px;
  aspect-ratio: 2;
  overflow: hidden;
}
.affiliations__logo {
  position: absolute;
  max-width: none;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.affiliations__item:hover .affiliations__logo {
  filter: grayscale(0%);
  opacity: 1;
}
.affiliations__name { display: none; }
.affiliations__detail { display: none; }
@media (max-width: 900px) {
  .affiliations__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
    padding: 1.75rem 1.25rem;
  }
  .affiliations__art { max-width: 170px; }
}
@media (max-width: 480px) {
  .affiliations__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
    padding: 1.5rem 1rem;
  }
  .affiliations__art { max-width: 150px; }
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--grey-light);
}
.faq-item__question {
  display: block;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--lime-text);
  font-weight: 300;
  transition: var(--transition);
}
details[open] .faq-item__question::after {
  content: '\2212';
  transform: rotate(180deg);
}
.faq-item__question::after {
  transition: transform 0.3s ease;
}
.faq-item__answer {
  padding: 0 0 1.25rem;
  color: var(--grey-body);
  line-height: 1.7;
  animation: faqSlideDown 0.3s ease;
}
@keyframes faqSlideDown {
  from { opacity: 0; transform: translateY(-8px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 500px; }
}
.faq-item__answer p { margin-bottom: 0.75rem; }

/* ---------- Audience Shortcuts ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.audience-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
}
.audience-card:hover {
  border-color: var(--lime);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.audience-card__icon {
  width: 40px;
  height: 40px;
  color: var(--lime);
}
.audience-card__icon svg {
  width: 100%;
  height: 100%;
}
.audience-card__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  text-align: center;
}
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: var(--navy);
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.cta-section__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Newsletter ---------- */
.newsletter {
  padding: 4rem 0;
  text-align: center;
  background: var(--off-white);
  border-top: 3px solid var(--lime);
}
.newsletter h2 { color: var(--navy); margin-bottom: 0.5rem; }
.newsletter p { color: var(--grey-body); margin-bottom: 2rem; }
.newsletter .newsletter__privacy { margin: 1rem 0 0; font-size: 0.875rem; }
.newsletter__privacy a { color: inherit; text-decoration: underline; }
.newsletter__form {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}
.newsletter__input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--white);
}
.newsletter__input::placeholder { color: var(--grey-mid); }
.newsletter__input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(172,188,21,0.1); }
.newsletter__input:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }

/* ---------- Forms ---------- */
.form { max-width: 640px; margin: 0 auto; }
.form--wide { max-width: 100%; }
.form__group { margin-bottom: 1.5rem; }
.form__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form__input, .form__select, .form__textarea {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--grey-body);
  background: var(--white);
  transition: var(--transition);
}
.form__input, .form__select {
  min-height: 52px;
}
.form__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: var(--select-chevron);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 16px;
  cursor: pointer;
}
.hero-search__select::-ms-expand,
.form__select::-ms-expand {
  display: none;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(172,188,21,0.1);
}
/* Keyboard focus needs a ≥3:1 indicator, which the lime border alone isn't. */
.form__input:focus-visible, .form__select:focus-visible, .form__textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}
.form__textarea { min-height: 140px; resize: vertical; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__file {
  position: relative;
  padding: 2rem;
  border: 2px dashed var(--grey-light);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.form__file:hover { border-color: var(--lime); }
.form__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form__file-text { font-size: 0.85rem; color: var(--grey-mid); }
.form__file-text strong { color: var(--lime-text); }
.form-status {
  display: none;
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status--pending {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  color: var(--grey-body);
}
.form-status--success {
  background: rgba(172,188,21,0.12);
  border: 1px solid rgba(172,188,21,0.35);
  color: var(--navy);
}
.form-status--error {
  background: #fff4f4;
  border: 1px solid #d66;
  color: #8a1f1f;
}

/* ---------- Contact / Offices ---------- */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.office-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.office-card__city {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--lime);
}
.office-card__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}
/* Long unbroken email strings must be allowed to wrap or they push the contact
   page past a 320px viewport (WCAG 1.4.10 reflow). */
.office-card__detail a { overflow-wrap: anywhere; }
.office-card__detail svg {
  width: 18px; height: 18px;
  color: var(--lime);
  flex-shrink: 0;
  margin-top: 2px;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  background: var(--grey-light);
  margin-top: auto;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* ---------- Service Detail Blocks ---------- */
.service-block {
  padding: 4rem 0;
  border-bottom: 1px solid var(--grey-light);
}
.service-block:last-child { border-bottom: none; }
.service-block__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.service-block:nth-child(even) .service-block__inner { direction: rtl; }
.service-block:nth-child(even) .service-block__inner > * { direction: ltr; }
.service-block__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 350px;
  background: var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-block__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-block__icon {
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(172,188,21,0.1);
  color: var(--lime);
  margin-bottom: 1.5rem;
}
.service-block__icon svg { width: 28px; height: 28px; }
.service-block__list { margin-top: 1.25rem; }
.service-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.92rem;
}
.service-block__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ---------- Services Sub-Nav ---------- */
.services-nav {
  background: var(--navy);
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  border-bottom: 2px solid var(--lime);
}
.services-nav__track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.services-nav__track::-webkit-scrollbar { display: none; }
.services-nav__link {
  padding: 0.85rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  outline: none;
}
.services-nav__link:focus-visible {
  color: #fff;
  outline: 2px solid var(--lime);
  outline-offset: -4px;
}
.services-nav__link:hover {
  color: #fff;
}
.services-nav__link--active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
@media (max-width: 768px) {
  .services-nav .container {
    padding: 0;
  }
  .services-nav__track {
    padding: 0 1rem;
    mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2rem), transparent);
  }
  .services-nav__link {
    flex: 0 0 auto;
    padding: 0.7rem 0.9rem;
    font-size: 0.72rem;
  }
  .services-nav__link:last-child {
    margin-right: 1.5rem;
  }
}

/* ---------- Blog Article ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article__meta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--grey-mid);
}
.article__category {
  color: var(--lime-text);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}
.article__featured-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  max-height: 420px;
}
.article__featured-img img { width: 100%; height: 100%; object-fit: cover; }
.article__content h2, .article__content h3 {
  text-transform: none;
  letter-spacing: 0;
  margin: 2rem 0 0.75rem;
}
.article__content p { margin-bottom: 1.25rem; line-height: 1.8; }
.article__content ul, .article__content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; line-height: 1.8; }
.article__content li { margin-bottom: 0.4rem; }
.article__content a { color: var(--lime-text); text-decoration: underline; text-underline-offset: 2px; }
.article__content a:hover { color: var(--navy); }
.article__content strong { font-weight: 600; }
.article__updated { font-size: 0.85rem; color: var(--grey-mid); margin-bottom: 2rem; }
.article__content h2:first-child { margin-top: 0; }

/* Article body (news-article.html — WP content) */
.article-body h2, .article-body h3 {
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 2rem 0 0.75rem;
}
.article-body p { margin-bottom: 1.25rem; line-height: 1.8; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; padding-left: 1.5rem; line-height: 1.8; }
.article-body li { margin-bottom: 0.4rem; }
.article-body a { color: var(--lime-text); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover { color: var(--navy); }
.article-body strong { font-weight: 600; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; }
.article-body figure { margin: 1.5rem 0; }
.article-body figcaption { font-size: 0.85rem; color: var(--grey-mid); margin-top: 0.5rem; }
.article-body .wp-block-columns { display: flex; gap: 1.5rem; margin: 1.5rem 0; }
.article-body .wp-block-column { flex: 1; }
@media (max-width: 640px) {
  .article-body .wp-block-columns { flex-direction: column; }
}

/* ---------- Fees ---------- */
.fees-table {
  width: 100%;
  border-collapse: collapse;
}
.fees-table th, .fees-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--grey-light);
}
.fees-table th {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: rgba(172,188,21,0.06);
  font-size: 0.85rem;
}
.fees-table td { font-size: 0.92rem; }

/* ---------- Fee Tier Cards ---------- */
.fee-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.fee-tier {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.fee-tier__name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime-text);
  margin-bottom: 0.4rem;
  font-weight: 400;
}
.fee-tier__tagline {
  font-size: 0.85rem;
  color: var(--grey-mid);
  margin-bottom: 1.5rem;
  min-height: 2.6em;
  line-height: 1.4;
}
.fee-tier__price {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.3rem;
  letter-spacing: 0;
}
.fee-tier__price-suffix {
  font-size: 0.8rem;
  color: var(--grey-mid);
  line-height: 1.4;
  margin-bottom: 0;
}
.fee-tier__divider {
  height: 1px;
  background: var(--grey-light);
  margin: 1.5rem 0;
}
.fee-tier__lead {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.fee-tier__features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--grey-body);
  line-height: 1.55;
  flex: 1;
}
.fee-tier__features li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
}
.fee-tier__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23acbc15' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
@media (max-width: 1100px) {
  .fee-tier-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 560px) {
  .fee-tier-grid { grid-template-columns: 1fr; }
}

/* ---------- Key Points ---------- */
.key-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.key-point {
  background: var(--grey-light);
  border-left: 3px solid var(--lime);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.key-point__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.key-point__body {
  font-size: 0.92rem;
  color: var(--grey-body);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .key-points-grid { grid-template-columns: 1fr; }
}

/* ---------- Important Notice Callout ---------- */
.important-notice {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-top: 3rem;
  border-left: 4px solid var(--lime);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.important-notice__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(172,188,21,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}
.important-notice__icon svg { width: 22px; height: 22px; }
.important-notice__body { flex: 1; }
.important-notice h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}
.important-notice p {
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.7;
}
.important-notice em { color: var(--lime); font-style: normal; }
@media (max-width: 640px) {
  .important-notice { flex-direction: column; padding: 1.75rem; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer a:hover { color: var(--lime); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__tagline {
  font-size: 0.88rem;
  margin: 1.25rem 0;
  max-width: 260px;
}
.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer__social {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.footer__social:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(172,188,21,0.1);
}
.footer__social svg { width: 16px; height: 16px; }
.footer__heading {
  font-size: 0.8rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}
.footer__link {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
}
.footer__legal { display: flex; gap: 1.5rem; font-size: 0.78rem; align-items: center; flex-wrap: wrap; }
.footer__credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 0 1.75rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
}
.footer__credit a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer__credit a:hover { color: var(--lime); }

/* ---------- WhatsApp Widget ---------- */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
}
.whatsapp-widget__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-widget__btn:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.5); }
.whatsapp-widget__btn svg { width: 28px; height: 28px; }
.whatsapp-widget__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1100;
  background: var(--white);
  color: var(--grey-body);
  padding: 1.25rem 1.5rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  transform: translateY(100%);
  visibility: hidden;          /* keep the buttons out of the tab order until shown */
  transition: transform var(--transition-time, 0.3s), visibility 0s linear 0.3s;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  border-top: 1px solid var(--grey-light);
}
.cookie-banner.show { visibility: visible; transition-delay: 0s; }
/* Keep page content clear of the banner while it is on screen */
body.cookies-active { padding-bottom: 96px; }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 0.85rem;
  flex: 1;
  min-width: 200px;
}
.cookie-banner__text a { color: var(--lime-text); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.75rem; }

/* ---------- Filter reset confirmation ---------- */
.filter-reset--confirmed {
  background: var(--lime) !important;
  color: var(--navy) !important;
  border-color: var(--lime) !important;
}

/* ---------- Scroll Reveal ---------- */
/* Fail-open: only hide reveal elements when JS sets `.js-reveal` on <html>.
   If JS fails to load (or the observer never fires), content stays visible. */
.reveal {
  transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html.js-reveal .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(24px);
}
.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; }

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal:not(.visible) { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Team Grid (about.html) ---------- */
.team-group { margin-bottom: 3.5rem; }
.team-group:last-child { margin-bottom: 0; }
.team-group__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--lime-text);
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--grey-light);
}
/* Three across, not four: the client's reference (grantjbates.com) leads on large
   portrait photography, so the picture has to be the dominant element rather than
   a thumbnail in a staff directory. */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(22,12,57,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.team-tile:hover {
  transform: translateY(-4px);
  border-color: var(--lime);
  box-shadow: 0 12px 32px rgba(22,12,57,0.12);
}
/* 2:3 portrait — the aspect the new headshots should be shot to. */
.team-tile__photo {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--grey-light);
}
.team-tile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.team-tile:hover .team-tile__photo img { transform: scale(1.04); }
.team-tile__body {
  padding: 1.15rem 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}
.team-tile__name {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  color: var(--navy);
}
.team-tile__role {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--lime-text);
}
.team-tile__cta {
  margin-top: auto;
  padding-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--lime-text);
}
.team-tile__cta svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.team-tile:hover .team-tile__cta svg { transform: translateX(3px); }

/* ---------- Team Profile (team-member.html) ---------- */
.profile-hero {
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
  background: var(--grey-bg, #f7f7f5);
  border-bottom: 1px solid var(--grey-light);
}
.profile-crumb { font-size: 0.82rem; color: var(--grey-mid); margin-bottom: 2rem; }
.profile-crumb a { color: var(--grey-mid); }
.profile-crumb span { color: var(--navy); }
.profile-hero__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.profile-hero__body { min-width: 0; }
.profile-hero__photo {
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile-hero__initials {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--lime);
  letter-spacing: 0.05em;
}
.profile-hero__dept {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--lime-text);
  margin-bottom: 0.85rem;
}
.profile-hero__name {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.profile-hero__role {
  font-size: 1.05rem;
  color: var(--grey-mid);
  margin-bottom: 2rem;
}
.profile-contacts {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
  max-width: 420px;
}
.profile-contact {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 1px solid rgba(22,12,57,0.08);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--navy);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.profile-contact:hover { border-color: var(--lime); transform: translateX(3px); }
.profile-contact svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--lime-text); }
.profile-contact > span { min-width: 0; }
.profile-contact__label {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  color: var(--grey-mid);
}
.profile-contact__value { display: block; font-size: 0.9rem; overflow-wrap: anywhere; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.profile-body { padding-top: 3.5rem; }
.profile-story { max-width: 720px; margin: 0 auto 4rem; }
.profile-story p { margin-bottom: 1.15rem; line-height: 1.75; }
.profile-story__title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin-bottom: 1.5rem;
}
.profile-story__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--lime-text);
}
.profile-story__more svg { width: 15px; height: 15px; transition: transform 0.3s ease; }
.profile-story__more:hover svg { transform: translateX(3px); }
.profile-more { border-top: 1px solid var(--grey-light); padding-top: 3rem; }

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-hero__grid { grid-template-columns: 300px 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .profile-hero__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .profile-hero__photo { max-width: 260px; }
  .profile-contacts { max-width: none; }
}
@media (max-width: 420px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .team-tile__body { padding: 0.9rem 0.9rem 1.1rem; }
  .team-tile__name { font-size: 0.85rem; }
  .team-tile__role { font-size: 0.78rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
  .header__actions .btn { display: none; }
  .header__whatsapp { display: none; }
  .header__actions { gap: 0.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .service-block__inner { grid-template-columns: 1fr; gap: 2rem; }
  .service-block:nth-child(even) .service-block__inner { direction: ltr; }
  .offices-grid { grid-template-columns: 1fr 1fr; }
  .property-detail__info { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .section { padding: 3.5rem 0; }
  .hero { min-height: 90vh; }
  .hero--inner { min-height: 35vh; }
  .tiles { margin-top: 0; }
  .tiles__grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .tile { padding: 1.25rem 0.75rem; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .stat__value { font-size: 1.1rem; white-space: normal; word-break: keep-all; overflow-wrap: break-word; }
  .stat__label { font-size: 0.75rem; }
  /* Span must reset with the track count, or a span-2 item forces an implicit column. */
  .property-grid { grid-template-columns: 1fr; }
  .property-grid > .property-card,
  .property-grid > .property-card--feature { grid-column: span 1; }
  .property-card__img,
  .property-card--feature .property-card__img { height: 200px; }
  .property-card--feature .property-card__price { font-size: 1.7rem; }
  .property-card__meta { flex-wrap: wrap; gap: 1rem; }
  .property-gallery { grid-template-columns: 1fr; max-height: none; }
  .news-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .footer__legal { justify-content: center; flex-wrap: wrap; }
  .form__row { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .offices-grid { grid-template-columns: 1fr; }
  .map-embed { height: 260px; }
  .reviews-carousel {
    margin: 0;
    padding: 0;
  }
  .reviews-carousel__track {
    padding-right: 0;
  }
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(22,12,57,0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 32px rgba(0,0,0,0.18);
    transform: translateY(calc(100% + 1.5rem));
  }
  .cookie-banner.show { transform: translateY(0); }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0.65rem;
  }
  .cookie-banner__text {
    min-width: 0;
    font-size: 0.73rem;
    line-height: 1.35;
  }
  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .cookie-banner__actions .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 0.55rem 0.75rem;
  }
  body.cookies-active { padding-bottom: 130px; }
  .portals__grid { gap: 1.5rem; }
  .portals__logo { height: 28px; }
  .services-nav { top: var(--header-h); }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .tiles__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat__value { font-size: 1rem; }
  .stat__label { font-size: 0.7rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }
  .property-card__img { height: 180px; }
  .portals__grid { gap: 1rem; }
  .portals__logo { height: 24px; }
  .map-embed { height: 220px; }
  .footer__tagline { max-width: 100%; }
}
@media (max-width: 380px) {
  .stats__grid { gap: 0.5rem; }
}

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ---------- Mobile Action Bar ---------- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--navy);
  padding: 0.5rem 0.75rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0));
  box-shadow: 0 -2px 16px rgba(0,0,0,0.15);
}
.mobile-action-bar__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
}
.mobile-action-bar__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.65rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: var(--transition);
  min-width: 60px;
}
.mobile-action-bar__btn svg {
  width: 22px;
  height: 22px;
}
.mobile-action-bar__btn--lime {
  background: var(--lime);
  color: var(--navy);
}
.mobile-action-bar__btn:active {
  opacity: 0.8;
}
@media (max-width: 600px) {
  .section:has(#propertyFilters) {
    padding-top: 1.75rem;
  }
  .mobile-action-bar { display: block; }
  body { padding-bottom: 70px; }
  .whatsapp-widget { display: none; }
  /* Cookie banner + action bar stack on phones — give content room and
     hide the action bar while the banner is up so they don't double-up. */
  body.cookies-active .mobile-action-bar { display: none; }
  body.cookies-active { padding-bottom: 130px; }
}

/* ---------- Loading Skeletons ---------- */
@keyframes skeleton-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.skeleton-pulse {
  background: linear-gradient(90deg, var(--grey-light) 0%, #e8e8e8 50%, var(--grey-light) 100%);
  background-size: 200px 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--radius);
}
.skeleton-card {
  pointer-events: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}
.skeleton-card__img {
  height: 240px;
}
/* Match the taller feature cards so the skeleton→grid swap doesn't reflow. */
.property-card--feature .skeleton-card__img { height: 340px; }
@media (max-width: 1100px) {
  .property-card--feature .skeleton-card__img { height: 240px; }
}
@media (max-width: 768px) {
  .property-card--feature .skeleton-card__img { height: 200px; }
}
.skeleton-card__body {
  padding: 1.5rem;
}
.skeleton-line {
  border-radius: 4px;
}
.property-gallery__thumb--active {
  outline: 2px solid var(--lime);
  outline-offset: -2px;
}
.property-gallery__main { cursor: pointer; }
.property-gallery__thumb { cursor: pointer; }

/* ---------- Property Detail (editorial) ---------- */

/* Highlights strip — bold stat tiles above the description */
.property-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 3rem;
  padding: 1.5rem;
  background: var(--off-white, #f8f7f3);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22,12,57,0.06);
}
.property-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 0.5rem;
}
.property-highlight__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}
.property-highlight__icon svg { width: 100%; height: 100%; }
.property-highlight__value {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.property-highlight__label {
  font-size: 0.78rem;
  font-family: var(--font-heading);
  color: var(--grey-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .property-highlights { grid-template-columns: repeat(2, 1fr); padding: 1.25rem; gap: 0.75rem; }
  .property-highlight__value { font-size: 1.15rem; }
}

/* Section spacing */
.property-detail__section { margin-bottom: 3rem; }

/* Editorial-style headings */
.property-detail__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 1.5rem;
  line-height: 1.15;
}
.property-detail__heading em {
  color: var(--lime-text);
  font-style: normal;
}
.property-detail__heading--sub {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.005em;
}
.property-detail__heading::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  background: var(--lime);
  margin-top: 0.85rem;
  border-radius: 2px;
}

/* Lead paragraph — first paragraph of description */
.property-description__lead {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 1.6rem;
  max-width: 720px;
  letter-spacing: -0.005em;
}
.property-description__body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-body);
  margin: 0 0 1.25rem;
  max-width: 680px;
}
.property-description__body:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .property-description__lead { font-size: 1.1rem; }
}

/* Features grid — pill tiles with check icons */
.property-features-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1.25rem;
}
.property-features-grid .property-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--off-white, #f8f7f3);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.3;
}
.property-feature__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.property-feature__icon svg {
  width: 14px;
  height: 14px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.5;
}
@media (max-width: 600px) {
  .property-features-grid { grid-template-columns: 1fr; }
}

/* Fade-in animation for detail page content */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.detail-fade-in {
  animation: fadeInUp 0.6s ease both;
}
.detail-fade-in:nth-child(1) { animation-delay: 0s; }
.detail-fade-in:nth-child(2) { animation-delay: 0.1s; }
.detail-fade-in:nth-child(3) { animation-delay: 0.2s; }
.property-detail__features:not(.property-features-grid) li {
  padding: 0.5rem 0;
  line-height: 1.5;
}

/* ---------- Photo Lightbox ---------- */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.photo-lightbox.active { opacity: 1; }
.photo-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  user-select: none;
}
.photo-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.photo-lightbox__close:hover { background: rgba(255,255,255,0.3); }
.photo-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.photo-lightbox__nav:hover { background: rgba(255,255,255,0.3); }
.photo-lightbox__nav--prev { left: 1.5rem; }
.photo-lightbox__nav--next { right: 1.5rem; }
.photo-lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
}

/* ==================== GHE MAGAZINE FEATURE (homepage) ==================== */
.section--grey.magazine-feature { padding: 3rem 0; }
/* Base layout so browsers without :has() support still get a sane card and the
   cover image can't balloon to full width. :has()-supporting browsers refine
   this below. */
.magazine-feature__card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
}
.magazine-feature__cover { max-width: 130px; }
.magazine-feature__card:has(.magazine-feature__cover) {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.75rem;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.magazine-feature__card:has(.magazine-feature__cover):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.magazine-feature__cover {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(22,12,57,0.18);
  aspect-ratio: 1000 / 1416;
  background: var(--navy);
}
.magazine-feature__cover img,
.magazine-feature__cover svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body { display: flex; flex-direction: column; gap: 0.4rem; }
.magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body .section-title { font-size: 1.5rem; margin-bottom: 0.2rem; }
.magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body .section-subtitle { font-size: 0.92rem; margin-bottom: 0.85rem; max-width: 46ch; }
.magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body .btn { align-self: flex-start; }
@media (max-width: 600px) {
  .magazine-feature__card:has(.magazine-feature__cover) {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 1rem;
    gap: 0.9rem;
  }
  .magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body {
    min-width: 0;
  }
  .magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body .section-label {
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    overflow-wrap: anywhere;
  }
  .magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body .section-title {
    font-size: 1.15rem;
  }
  .magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body .section-subtitle {
    font-size: 0.84rem;
  }
  .magazine-feature__card:has(.magazine-feature__cover) .magazine-feature__body .btn {
    max-width: 100%;
    padding-inline: 0.75rem;
    white-space: normal;
  }
}

/* ==================== MAGAZINE FEATURE (News page) ==================== */
.section.magazine-feature:not(.section--grey) { padding: 3rem 0 1rem; }
.magazine-feature__card:has(.magazine-feature__visual) {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 3rem;
  background: var(--off-white, #f8f7f3);
  border: 1px solid rgba(22,12,57,0.06);
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.magazine-feature__card:has(.magazine-feature__visual)::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: var(--lime);
}
.magazine-feature__card:has(.magazine-feature__visual):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22,12,57,0.08);
}
.magazine-feature__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
  color: var(--navy);
}
.magazine-feature__title em { color: var(--lime-text); font-style: normal; }
.magazine-feature__lede {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey-body);
  margin-bottom: 1.25rem;
  max-width: 50ch;
}
.magazine-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy);
  border-bottom: 1px solid var(--lime);
  padding-bottom: 0.25rem;
  transition: var(--transition);
}
.magazine-feature__cta svg { width: 16px; height: 16px; }
.magazine-feature__card:has(.magazine-feature__visual):hover .magazine-feature__cta {
  color: var(--lime-text);
  gap: 0.85rem;
}
.magazine-feature__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.magazine-feature__visual svg,
.magazine-feature__visual img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 4px;
  filter: drop-shadow(0 12px 28px rgba(22,12,57,0.18));
  transition: transform 0.3s ease;
}
.magazine-feature__card:has(.magazine-feature__visual):hover .magazine-feature__visual svg,
.magazine-feature__card:has(.magazine-feature__visual):hover .magazine-feature__visual img {
  transform: rotate(-2deg) translateY(-4px);
}
@media (max-width: 768px) {
  .magazine-feature__card:has(.magazine-feature__visual) { grid-template-columns: 1fr; padding: 2rem 1.5rem; gap: 1.5rem; }
  .magazine-feature__card:has(.magazine-feature__visual) .magazine-feature__visual { order: -1; }
  .magazine-feature__card:has(.magazine-feature__visual) .magazine-feature__visual svg,
  .magazine-feature__card:has(.magazine-feature__visual) .magazine-feature__visual img { max-width: 160px; }
}

/* ==================== ABOUT PAGE (rebuilt) ==================== */

/* About hero — inherits .hero--inner sizing */
.about-hero .hero__title { max-width: 18ch; margin-left: auto; margin-right: auto; }
.about-hero .hero__subtitle { max-width: 56ch; margin-left: auto; margin-right: auto; }

/* Team section follows the hero with a normal section padding rhythm. */
.about-team-section { padding-top: 4rem; }

/* Brand story — heading-left / copy-right asymmetric grid */
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4rem;
  align-items: start;
}
.about-story__grid p { margin-bottom: 1rem; line-height: 1.7; }
.about-story__grid p:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .about-story__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Approach pillars — three columns, text only */
.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
}
.about-pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}
.about-pillar p { color: var(--grey-body); line-height: 1.65; }
@media (max-width: 800px) {
  .about-pillars__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Numbered culture grid */
.about-culture__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 3rem;
  margin-top: 2.5rem;
}
.about-culture__item h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.about-culture__item p { color: var(--grey-body); line-height: 1.6; font-size: 0.95rem; }
.about-culture__num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lime-text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
@media (max-width: 900px) {
  .about-culture__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (max-width: 560px) {
  .about-culture__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-culture__num { font-size: 2.6rem; }
}

/* Services icon row */
.about-services__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.about-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.5rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  border: 1px solid rgba(22,12,57,0.06);
}
.about-service svg { width: 30px; height: 30px; color: var(--lime); }
.about-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(22,12,57,0.08);
  border-color: rgba(22,12,57,0.12);
}
@media (max-width: 1000px) { .about-services__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .about-services__grid { grid-template-columns: repeat(2, 1fr); } }

/* Bring the Manchester portraits closer to the existing team photography. */
.team-tile__photo img[src*="karen-tsang-nov2026"],
.team-tile__photo img[src*="ivan-yu-nov2026"],
.profile-hero__photo img[src*="karen-tsang-nov2026"],
.profile-hero__photo img[src*="ivan-yu-nov2026"] {
  filter: brightness(.88) contrast(1.06) saturate(.92);
}

/* Our patch — neighbourhood pill cloud */
.about-patch__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.about-patch__pill {
  padding: 0.6rem 1.1rem;
  background: var(--white);
  border: 1px solid rgba(22,12,57,0.1);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}

/* Dual CTA */
.about-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.about-cta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--off-white, #f8f7f3);
  text-decoration: none;
  color: var(--navy);
  transition: var(--transition);
}
.about-cta__card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 0.6rem 0 0.5rem;
  letter-spacing: -0.01em;
}
.about-cta__card p { color: var(--grey-body); margin: 0; }
.about-cta__card--primary {
  background: var(--navy);
  color: #fff;
}
.about-cta__card--primary h3 { color: #fff; }
.about-cta__card--primary p  { color: rgba(255,255,255,0.75); }
.about-cta__arrow {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--lime-text);
  transition: transform 0.2s ease;
}
/* The accessible lime is too dark on the navy card — full lime reads there. */
.about-cta__card--primary .about-cta__arrow { color: var(--lime); }
.about-cta__card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.10); }
.about-cta__card:hover .about-cta__arrow { transform: translateX(6px); }
@media (max-width: 760px) {
  .about-cta__grid { grid-template-columns: 1fr; }
  .about-cta__card { padding: 2rem; }
}

/* ==================== REVIEWS ==================== */
.reviews-section { padding: 4rem 0 5rem; }
.reviews-carousel {
  position: relative;
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
  overflow: hidden;
}
.reviews-carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1rem 1.5rem 2rem 0;
  cursor: grab;
}
.reviews-carousel__track::-webkit-scrollbar { display: none; }
.reviews-carousel__track--grabbing { cursor: grabbing; }

/* Soft fade on the right edge to hint at scrollable content */
.reviews-carousel::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--white));
  opacity: 0.85;
}

.review-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22,12,57,0.06);
}
@media (max-width: 600px) {
  .review-card { flex-basis: 280px; padding: 1.5rem; }
  .reviews-carousel {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .reviews-carousel__track {
    padding-right: 0;
  }
}
.review-card__stars {
  display: inline-flex;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  line-height: 1;
}
.review-card__stars-full { color: var(--lime-text); }
.review-card__stars-empty { color: var(--grey-mid); }
.review-card__quote {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--navy);
  margin: 0;
  font-style: italic;
  font-weight: 400;
}
.review-card__meta {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-mid);
  margin-top: auto;
}
.review-card__source {
  color: var(--grey-mid);
  text-decoration: none;
  border-bottom: 1px dotted var(--grey-light);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.review-card__source:hover {
  color: var(--lime-text);
  border-bottom-color: var(--lime);
}

/* ==================== PROPERTY DETAIL — DOCUMENTS, LOCATION, SHARE ==================== */
.property-detail__documents {
  margin-top: 2rem;
  padding: 2.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  text-align: center;
}
.property-detail__documents-icon { margin-bottom: 1rem; }
.property-detail__documents-heading {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.property-detail__documents-text {
  color: var(--grey-body);
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}
.property-detail__documents--list {
  text-align: left;
  padding: 1.75rem;
}
.property-detail__documents--list .property-detail__documents-heading {
  margin-bottom: 1rem;
}
.property-documents {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.property-documents__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.property-documents__item:hover {
  border-color: var(--lime);
  transform: translateY(-1px);
}
.property-documents__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--lime);
}
.property-documents__icon svg { width: 100%; height: 100%; display: block; }
.property-documents__label {
  flex: 1;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.property-documents__cta {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime-text);
  white-space: nowrap;
}

/* Location & transport */
.property-location {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.5rem;
}
.property-location__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-light);
  background: var(--grey-light);
}
.property-location__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
.property-location__map-link {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  text-decoration: none;
  border-top: 1px solid var(--grey-light);
  background: var(--white);
  transition: color 0.15s ease;
}
.property-location__map-link:hover { color: var(--lime-text); }
.property-location__stations { display: flex; flex-direction: column; gap: 1.25rem; }
.property-stations__title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.property-stations__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.property-stations__list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.92rem;
  color: var(--grey-body);
}
.property-stations__list li:last-child { border-bottom: 0; }
.property-stations__distance {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  white-space: nowrap;
}
@media (max-width: 768px) {
  .property-location { grid-template-columns: 1fr; }
  .property-location__map iframe { height: 260px; }
}

/* Share button */
.property-share-btn {
  width: 100%;
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
}
.property-share-btn--confirmed {
  background: var(--lime) !important;
  color: var(--navy) !important;
  border-color: var(--lime) !important;
}

/* Listing/detail error states */
.property-no-results--error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
}
.property-no-results--error a { color: var(--lime-text); text-decoration: underline; }
.property-detail__error {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.property-detail__error h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}
.property-detail__error p {
  color: var(--grey-body);
  margin: 0 0 2rem;
  line-height: 1.6;
}
.property-detail__error-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

/* ==================== A11Y & CONSENT ADDITIONS ==================== */

/* Point-of-collection privacy notice under form submit buttons. */
.form__privacy {
  font-size: 0.82rem;
  color: var(--grey-body);
  margin: 0 0 1rem;
  max-width: 640px;
}
.form__privacy a { color: var(--lime-text); text-decoration: underline; }

/* Honeypot — a field real users never see or focus, but naive bots fill in.
   The Worker rejects any submission where it is non-empty. Kept out of the
   accessibility tree and tab order (aria-hidden + tabindex=-1 on the input). */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Skip link — first focusable element, visually hidden until focused. */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--lime); outline-offset: 2px; }

/* iOS Safari zooms the page when a focused control's font-size is < 16px.
   Force 16px on every form control at mobile widths so focusing a field never
   triggers an unwanted zoom. */
@media (max-width: 768px) {
  .form__input, .form__select, .form__textarea,
  .newsletter__input,
  .hero-search__select, .hero-search__input,
  .property-filters-advanced__field .form__input,
  .property-filters-advanced__field .form__select {
    font-size: 16px;
  }
}

/* Consent-gated third-party embeds (Google Maps). The iframe stays empty until
   the visitor loads it; this placeholder occupies the same space (no CLS). */
.consent-embed { position: relative; }
.consent-embed__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: 200px;
  padding: 1.5rem;
  text-align: center;
  background: var(--grey-light);
  color: var(--grey-body);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.consent-embed--loaded .consent-embed__placeholder { display: none; }
/* An iframe with no src still reserves its height, which would stack an empty
   box under the placeholder wherever the container isn't a fixed height. */
.consent-embed iframe:not([src]) { display: none; }
/* Match the property-detail map's iframe height so accepting doesn't shift the page. */
.property-location__map .consent-embed__placeholder { min-height: 320px; }
