/*
Theme Name: 3 Property NE
Theme URI: https://3propertyne.co.uk
Author: RyanDesign
Author URI: https://ryandesign.co.uk
Description: Bespoke investment and lettings platform for 3 Property NE. Dark luxury aesthetic with custom portfolio, deals pipeline, area pages and landlord sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: 3propertyne
*/

/* -- VARIABLES --------------------------------------------- */
:root {
  --black:     #0b0e0a;
  --nav:       #222222;
  --off-white: #f0f5ee;
  --lime:      #7fdd55;
  --lime-l:    #9aee72;
  --dark:      #111510;
  --mid:       #1a2217;
  --green:     #578a40;
  --gdeep:     #2e4a22;
  --muted:     #7a8f74;
  --wa:        #25D366;
  --border:    rgba(255,255,255,0.06);
}

/* -- RESET ------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--black);
  color: var(--off-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* -- NAV --------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 3.5rem;
  background: var(--nav);
  border-bottom: 1px solid rgba(127,221,85,0.12);
}
.nav-logo img { height: 40px; display: block; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--off-white); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.72; transition: all 0.2s;
}
.nav-links a:hover,
.nav-links a.current-menu-item { opacity: 1; color: var(--lime); }
.nav-pill {
  background: var(--lime); color: #222 !important; opacity: 1 !important;
  padding: 0.45rem 1.1rem; border-radius: 3px; font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-pill:hover { background: var(--lime-l) !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--off-white); border-radius: 2px; transition: all 0.3s;
}

/* -- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.9rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px; border: none; cursor: pointer;
  transition: all 0.2s; font-family: inherit; text-decoration: none;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.7rem; }

.btn-lime { background: var(--lime); color: #222; }
.btn-lime:hover { background: var(--lime-l); transform: translateY(-2px); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe59; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(240,245,238,0.22);
  color: var(--off-white);
}
.btn-ghost:hover { border-color: var(--lime); background: rgba(127,221,85,0.06); }

.btn-lime-out {
  background: transparent; border: 1px solid var(--lime); color: var(--lime);
}
.btn-lime-out:hover { background: rgba(127,221,85,0.09); }

/* -- SECTION COMMON ---------------------------------------- */
.site-main { padding-top: 62px; } /* offset for fixed nav */
section { padding: 6rem 4rem; }
.inner { max-width: 1240px; margin: 0 auto; }

.sec-tag {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 0.8rem;
}
.sec-tag::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--lime);
}
.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1.2rem;
}
.sec-title em { font-style: italic; color: var(--lime); }

/* Lifted intro paragraph - used under hero h1s and section h2s across the site */
.sec-intro {
  color: rgba(240, 245, 238, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 900px;
  margin: 0 0 1.5rem;
}
.sec-intro--wide { max-width: 1040px; }
.sec-intro--narrow { max-width: 680px; }
.deals-header { margin-bottom: 2.5rem; }

/* Unified page hero - applied to every top-of-page section across the site */
.page-hero {
  background: var(--dark);
  padding: 8rem 4rem 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: url('https://3property.co.uk/wp-content/uploads/2026/03/hero.avif') center/cover;
  filter: brightness(0.15);
  z-index: 1;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,14,10,0.8) 0%, rgba(46,74,34,0.2) 100%);
  z-index: 1;
}
.page-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero h1.sec-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 1.2rem;
  line-height: 1.1;
}
.page-hero .sec-intro { margin-bottom: 2rem; }
.page-hero .sec-tag { margin-bottom: 1rem; }
.page-hero-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Form selects - site-wide styling */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--lime) 50%),
    linear-gradient(135deg, var(--lime) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) center,
    calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem !important;
  color-scheme: dark;
}
select option {
  background-color: #14181a;
  color: var(--off-white);
  padding: 0.5rem;
}
select option:checked {
  background-color: rgba(127, 221, 85, 0.15);
  color: var(--lime);
  font-weight: 600;
}
/* Placeholder option - visible but subdued */
select option[value=""] {
  color: rgba(240, 245, 238, 0.6);
  font-style: italic;
  background-color: #14181a;
}

/* Fade animations */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.vis { opacity: 1; transform: none; }

/* -- HERO --------------------------------------------------- */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  filter: brightness(0.25); transform: scale(1.07);
  animation: kz 24s ease-in-out infinite alternate;
}
@keyframes kz {
  from { transform: scale(1.07); }
  to   { transform: scale(1.14); }
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,14,10,0.65) 0%, rgba(46,74,34,0.08) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 0 4rem; max-width: 860px;
  animation: fup 1.1s ease both;
}
@keyframes fup {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}
.eyebrow {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--lime); margin-bottom: 1.3rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.eyebrow::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--lime);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 900; line-height: 1.04; margin-bottom: 1.2rem;
}
.hero h1 em { font-style: italic; color: var(--lime); }
.hero-sub {
  font-size: 1rem; line-height: 1.8;
  color: rgba(240,245,238,0.68); max-width: 520px;
  margin-bottom: 2.2rem; font-weight: 300;
}
.hero-btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-trust {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: auto; max-width: calc(100% - 6rem);
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  background: rgba(15, 18, 14, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(127, 221, 85, 0.18);
  border-top: 1px solid rgba(127, 221, 85, 0.45);
  border-radius: 4px;
  padding: 1.1rem 0.5rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45),
              inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}
.hero-stats::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  border-radius: 2px;
}
.hero-stats > div {
  text-align: center;
  padding: 0.2rem 3rem;
  position: relative;
  min-width: 140px;
}
.hero-stats > div + div::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom,
              transparent,
              rgba(127, 221, 85, 0.28) 30%,
              rgba(127, 221, 85, 0.28) 70%,
              transparent);
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(127, 221, 85, 0.15);
}
.stat-lbl {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 245, 238, 0.7);
  margin-top: 0.55rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.stat-lbl::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0.7;
}
.hero-team-faces { display: flex; align-items: center; gap: 0.3rem; }
.hero-team-faces span {
  font-size: 0.72rem; color: rgba(240,245,238,0.55);
  margin-left: 0.6rem; font-style: italic;
}
.face {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--nav); background: var(--mid);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-size: 0.85rem;
  font-weight: 700; color: var(--lime); margin-left: -8px;
}
.face:first-child { margin-left: 0; }

/* -- TICKER ------------------------------------------------- */
.ticker-bar {
  background: var(--gdeep);
  border-bottom: 1px solid rgba(127,221,85,0.12);
  overflow: hidden; position: relative; height: 38px;
}
.ticker-lbl {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 10;
  background: var(--lime); color: #222;
  display: flex; align-items: center; padding: 0 1.3rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; white-space: nowrap;
}
.ticker-track {
  display: flex; align-items: center; padding: 0 0 0 185px;
  animation: scrollx 25s linear infinite; white-space: nowrap; height: 38px;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes scrollx {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ti {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-right: 3rem; font-size: 0.76rem; color: var(--off-white);
  cursor: pointer; transition: color 0.2s;
}
.ti:hover { color: var(--lime); }
.ti-badge {
  background: var(--lime); color: #222; font-size: 0.58rem;
  font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 2px;
  text-transform: uppercase;
}
.ti-roi { color: var(--lime); font-weight: 700; }
.ti-sep { color: var(--muted); margin-right: 3rem; font-size: 0.8rem; }

/* -- TRUST BAND --------------------------------------------- */
.trust-band {
  background: var(--nav);
  border-top: 1px solid rgba(127,221,85,0.08);
  border-bottom: 1px solid rgba(127,221,85,0.08);
  padding: 2rem 4rem;
}
.trust-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: nowrap;
}
.trust-item { display: flex; align-items: center; gap: 0.8rem; }
.trust-icon { font-size: 1.4rem; }
.trust-item strong { display: block; font-size: 0.88rem; font-weight: 600; color: var(--off-white); }
.trust-item span { font-size: 0.72rem; color: var(--muted); }
.trust-divider { width: 1px; height: 36px; background: var(--border); }

/* -- PORTFOLIO --------------------------------------------- */
.portfolio-section { background: var(--dark); }
.portfolio-header {
  display: block;
  margin-bottom: 2.5rem;
}
.portfolio-header > div:first-child {
  margin-bottom: 1.25rem;
}
.portfolio-header-right {
  text-align: left;
  max-width: 720px;
}
.portfolio-header-right p {
  color: rgba(240, 245, 238, 0.78);
  font-size: 1.02rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

/* Status legend */
.status-legend { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.sl-item {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; color: var(--muted);
}
.sl-dot { width: 8px; height: 8px; border-radius: 50%; }

/* Area tabs removed */

/* -- STATUS FILTERS ---------------------------------------- */
.portfolio-filters {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
}
.pf-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  padding: 0.5rem 1rem; font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
  white-space: nowrap; text-decoration: none;
}
.pf-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  opacity: 0.7; transition: opacity 0.2s;
}
.pf-btn:hover {
  color: var(--off-white);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.07);
}
.pf-btn:hover .pf-dot { opacity: 1; }

/* Active states per status */
.pf-btn.pf-all.active       { border-color:var(--lime); color:var(--lime); background:rgba(127,221,85,0.08); }
.pf-btn.pf-identified.active{ border-color:#3b82f6; color:#3b82f6; background:rgba(59,130,246,0.08); }
.pf-btn.pf-transformed.active{ border-color:#f59e0b; color:#f59e0b; background:rgba(245,158,11,0.08); }
.pf-btn.pf-managed.active   { border-color:#8b5cf6; color:#8b5cf6; background:rgba(139,92,246,0.08); }
.pf-btn.pf-tenanted.active  { border-color:#10b981; color:#10b981; background:rgba(16,185,129,0.08); }
.pf-btn.pf-available.active { border-color:var(--lime); color:var(--lime); background:rgba(127,221,85,0.08); }

.pf-btn.active .pf-dot { opacity: 1; }

@media (max-width: 768px) {
  .portfolio-filters { gap: 0.4rem; padding: 0.8rem; }
  .pf-btn { font-size: 0.68rem; padding: 0.45rem 0.8rem; }
  .area-tabs { gap: 0.3rem; }
  .at-btn { padding: 0.45rem 0.9rem; font-size: 0.68rem; }
}

/* Property grid */
.prop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.03);
}
/* Wrapper lets us layer a separate Zoopla link beside the card anchor */
.prop-card-wrap {
  position: relative; background: var(--black); display: flex;
}
.prop-card-wrap .prop-card { flex: 1; }
.prop-card {
  background: var(--black); overflow: hidden;
  position: relative; transition: background 0.25s;
  display: block;
}
.prop-card:hover { background: #0d120e; }
.prop-card-imglink { display: block; text-decoration: none; color: inherit; }
.prop-card-img-wrap { overflow: hidden; position: relative; cursor: pointer; }
.prop-card-img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  filter: brightness(0.78); transition: filter 0.4s, transform 0.6s;
}
.prop-card-no-img {
  width: 100%; height: 220px; display: flex; align-items: center;
  justify-content: center; font-size: 3rem; background: var(--mid);
}
.prop-card:hover .prop-card-img { filter: brightness(0.5); transform: scale(1.05); }

/* Hover overlay */
.prop-card-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: rgba(11,14,10,0.45);
  color: var(--lime); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s; z-index: 3;
}
.prop-card:hover .prop-card-overlay { opacity: 1; }

/* Status badges -- colours match legend dots exactly */
.prop-status-badges {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; flex-wrap: wrap; gap: 0.35rem; z-index: 2;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6));
}
.psb {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 2px;
}
/* All badges unified - lime at 55% opacity, white text */
.psb-identified, .psb-transformed, .psb-managed,
.psb-tenanted, .psb-available, .psb-available_from,
.psb { background: rgba(127,221,85,0.55); color: #fff; }

.prop-card-body { padding: 1.3rem 1.4rem 1.5rem; }

/* Unified row: left content, right content, justified
   NOTE: flex space-between right-aligns the 2nd child automatically.
   Do NOT add float:right to children - it removes them from flex flow
   and collapses the row gaps. */
.prop-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.prop-row > :last-child { text-align: right; }

/* Row 1: badges - strategy left, let badge right, same size */
.prop-row-badges { min-height: 22px; margin-bottom: 1.1rem; }

/* Row 2: title left, rent right - same font family, same size */
.prop-row-title { margin-bottom: 0.9rem; }

/* Row 3: location left, zoopla right - same size */
.prop-row-loc { margin-bottom: 1.3rem; }

/* Let badges - available/from/occupied */
.prop-let-badge {
  flex-shrink: 0;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 2px;
  line-height: 1; display: inline-flex; align-items: center;
}
.prop-let-occupied  { background: #7c3aed; color: #fff; }
.prop-let-from      { background: rgba(127,221,85,0.55); color: #fff; }
.prop-let-available { background: rgba(127,221,85,0.55); color: #fff; }

/* Strategy pill - matched to let-badge size exactly */
.prop-strategy {
  display: inline-flex; align-items: center;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--lime);
  background: rgba(127,221,85,0.08); border: 1px solid rgba(127,221,85,0.2);
  padding: 0.2rem 0.55rem; border-radius: 2px; line-height: 1;
}

/* Title - also a link, inherits styling */
.prop-title {
  font-family: 'Playfair Display', serif; font-size: 0.98rem;
  font-weight: 700; line-height: 1.3;
  color: inherit; text-decoration: none;
  transition: color 0.2s;
}
.prop-title:hover { color: var(--lime); }

/* Rent pcm - matched to prop-title font-family and size */
.prop-let-rent {
  font-family: 'Playfair Display', serif; font-size: 0.98rem;
  font-weight: 700; color: #fff; line-height: 1.3;
  white-space: nowrap;
}

/* Location - Playfair, muted */
.prop-location {
  font-family: 'Playfair Display', serif; font-size: 0.88rem;
  color: var(--muted); line-height: 1.4;
}

/* View on Zoopla - matched to prop-location size */
.prop-zoopla-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.6rem; border-radius: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(127,221,85,0.18);
  color: #c8d3cc; text-decoration: none;
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.prop-zoopla-link:hover {
  background: rgba(127,221,85,0.12);
  border-color: rgba(127,221,85,0.5);
  color: var(--lime); transform: translateY(-1px);
}
.prop-zoopla-link svg { display: block; }

/* Filter-bar Zoopla button (lettings page) - matches .btn-sm height */
.letting-zoopla-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 3px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(127,221,85,0.22);
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.letting-zoopla-btn:hover {
  background: rgba(127,221,85,0.1);
  border-color: rgba(127,221,85,0.5);
  color: var(--lime);
  transform: translateY(-1px);
}
.letting-zoopla-btn svg { display: block; flex-shrink: 0; }
.letting-zoopla-label { letter-spacing: 0.1em; }

/* Contact form - WhatsApp opt-in card */
.contact-wa-optin {
  background: linear-gradient(135deg, rgba(37,211,102,0.06) 0%, rgba(37,211,102,0.02) 100%);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: 3px;
  padding: 1rem 1.1rem;
  transition: border-color 0.2s, background 0.2s;
}
.contact-wa-optin:hover {
  border-color: rgba(37,211,102,0.5);
  background: linear-gradient(135deg, rgba(37,211,102,0.1) 0%, rgba(37,211,102,0.04) 100%);
}
.contact-wa-optin label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin: 0;
}
.contact-wa-optin input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: #25D366;
  cursor: pointer;
}
.contact-wa-optin-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-wa-optin-text strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--off-white);
  line-height: 1.3;
}
.contact-wa-optin-sub {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}

.prop-financials { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; margin-bottom: 1rem; }
.pf-item {
  background: rgba(255,255,255,0.04); padding: 0.5rem 0.65rem;
  border-radius: 2px; border-left: 2px solid transparent; transition: border-color 0.2s;
}
.prop-card:hover .pf-item { border-left-color: rgba(127,221,85,0.3); }
.pf-lbl { font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pf-val { font-size: 0.88rem; font-weight: 600; color: var(--off-white); margin-top: 0.1rem; }

.prop-metrics {
  display: flex; gap: 0; padding-top: 0.9rem; border-top: 1px solid var(--border);
}
.prop-metrics > div {
  flex: 1; text-align: center; padding: 0 0.4rem;
  border-right: 1px solid var(--border);
}
.prop-metrics > div:last-child { border-right: none; }
.pm-val { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--lime); line-height: 1; }
.pm-lbl { font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem; }

/* Portfolio footer */
.portfolio-footer {
  margin-top: 2rem; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.pf-count { display: flex; align-items: center; gap: 0.8rem; }
.pf-count-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--lime); line-height: 1; }
.pf-count-text { font-size: 0.8rem; color: var(--muted); line-height: 1.5; max-width: 200px; }
.pf-ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.portfolio-pagination { display: flex; align-items: center; }
.portfolio-pagination .page-numbers { margin: 0; padding: 0; }

/* -- AREA CARDS --------------------------------------------- */
.areas-section {
  background:
    linear-gradient(180deg, rgba(10,12,9,0.88) 0%, rgba(10,12,9,0.78) 50%, rgba(10,12,9,0.92) 100%),
    url('/wp-content/uploads/2026/04/durham-scaled.jpg') center center / cover no-repeat,
    var(--black);
  position: relative;
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.45rem;
  margin-top: 3rem;
}
.area-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.25rem;
  min-height: 62px;
  padding: 0.6rem 0.8rem;
  background: rgba(127,221,85,0.06);
  border: 1px solid rgba(127,221,85,0.22);
  border-radius: 3px;
  text-decoration: none;
  color: var(--off-white);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.area-tile:hover {
  background: rgba(127,221,85,0.12);
  border-color: rgba(127,221,85,0.45);
  transform: translateY(-1px);
}
.area-tile-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--off-white);
}
.area-tile-pc {
  font-size: 0.54rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
}
.area-seo-note {
  margin-top: 2rem; padding: 1.2rem 1.5rem;
  background: rgba(127,221,85,0.05); border: 1px solid rgba(127,221,85,0.15);
  border-radius: 3px; font-size: 0.8rem; color: var(--muted); line-height: 1.6;
}
.area-seo-note strong { color: var(--lime); }

/* -- DEALS -------------------------------------------------- */
.deals-section { background: var(--mid); }
.deals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.04); }
.deal-card {
  background: var(--dark); padding: 1.8rem;
  border-top: 3px solid transparent; transition: border-color 0.3s, background 0.3s;
  position: relative; cursor: pointer;
}
.deal-card:hover,
.deal-card.hot { border-top-color: var(--lime); }
.deal-card.hot { background: rgba(127,221,85,0.02); }
.hot-tag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  background: var(--lime); color: #222; font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 0.18rem 0.55rem; border-radius: 2px;
}
.deal-num { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.deal-type-badge {
  display: inline-block; background: rgba(127,221,85,0.08);
  border: 1px solid rgba(127,221,85,0.2); color: var(--lime);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.18rem 0.55rem; border-radius: 2px; margin-bottom: 0.9rem;
}
.deal-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.deal-loc { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.deal-features { list-style: none; margin-bottom: 1.2rem; }
.deal-features li { font-size: 0.8rem; color: rgba(240,245,238,0.7); padding: 0.2rem 0; display: flex; gap: 0.5rem; }
.deal-features li::before { content: '\2713'; color: var(--lime); font-size: 0.72rem; flex-shrink: 0; }
.deal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; border-top: 1px solid var(--border); padding-top: 1.1rem; }
.deal-metrics-4 { grid-template-columns: repeat(4, 1fr); gap: 0.3rem; }
.deal-metrics-4 .dm-val { font-size: 0.95rem; }
.deal-metrics-4 .dm-lbl { font-size: 0.54rem; }
.dm-val { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--lime); line-height: 1; }
.dm-lbl { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.deal-yield {
  margin-top: 0.9rem; padding: 0.55rem 0.7rem;
  background: rgba(127,221,85,0.06); border: 1px solid rgba(127,221,85,0.18);
  border-radius: 4px; font-size: 0.78rem; font-weight: 600; color: var(--lime);
  text-align: center; letter-spacing: 0.02em;
}
.deal-yield-note { font-weight: 400; color: var(--muted); font-size: 0.7rem; margin-left: 0.2rem; }

/* Hero yield: featured headline metric, sits above the 4-up grid.
   Uses the same .dm-val / .dm-lbl primitives as the metrics row so
   the font family and weight stay consistent across the card. */
.deal-yield-hero {
  text-align: center;
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.1rem;
}
.deal-yield-hero .dm-val {
  font-size: 2.2rem;
  letter-spacing: -0.01em;
}
.deal-yield-hero .dm-lbl {
  font-size: 0.62rem;
  margin-top: 0.35rem;
}
/* When yield-hero is present, the 4-up grid below it shouldn't carry
   its own top border (the hero block already provides separation). */
.deal-yield-hero + .deal-metrics { border-top: 0; padding-top: 0; }

/* SOLD badge - sits where the urgent badge sits, but red/dim. */
.sold-tag {
  position: absolute; top: 1.4rem; right: 1.4rem;
  background: #c62828; color: #fff; font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.22em; padding: 0.22rem 0.65rem; border-radius: 2px;
}

/* SOLD card state - dim the whole card so it reads as "past deal /
   social proof" rather than an active opportunity. */
.deal-card.sold {
  opacity: 0.62;
  border-top-color: #c62828;
}
.deal-card.sold:hover {
  opacity: 0.88;
  border-top-color: #c62828;
}
.deal-card.sold .dm-val { color: rgba(127,221,85,0.55); }
.deal-card.sold .deal-type-badge {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--muted);
}
.deal-cta-sold {
  grid-template-columns: 1fr !important;
}
.deal-cta-row {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
.deal-cta-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(127,221,85,0.28);
  color: var(--lime);
  padding: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  font-family: inherit;
  text-align: center;
  text-decoration: none;
}
.deal-cta-btn:hover { background: rgba(127,221,85,0.08); border-color: var(--lime); }
.deal-cta-wa {
  background: rgba(37,211,102,0.08);
  border-color: rgba(37,211,102,0.4);
  color: #25D366;
}
.deal-cta-wa:hover { background: rgba(37,211,102,0.18); border-color: #25D366; }

/* -- WA BANNER ---------------------------------------------- */
.wa-banner {
  background: linear-gradient(135deg, #182a18 0%, #0e1c0e 100%);
  border: 1px solid rgba(37,211,102,0.18); border-radius: 4px;
  padding: 2rem 2.5rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; margin-top: 2.5rem;
}
.wa-banner h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.35rem; }
.wa-banner h3 span { color: var(--wa); }
.wa-banner p { color: var(--muted); font-size: 0.83rem; font-weight: 300; line-height: 1.65; max-width: 480px; }
.wa-note { font-size: 0.7rem; color: var(--wa); font-weight: 600; margin-top: 0.4rem; }

/* -- STRATEGIES --------------------------------------------- */
.strategies-section { background: var(--black); }
.strat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.04); margin-top: 3rem; }
.strat-card { background: var(--dark); padding: 2.3rem; border-top: 3px solid transparent; transition: border-color 0.3s, background 0.3s; }
.strat-card:hover { border-top-color: var(--lime); background: rgba(127,221,85,0.02); }
.strat-icon { font-size: 1.9rem; margin-bottom: 0.9rem; display: block; }
.strat-lbl { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.4rem; }
.strat-card h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.8rem; }
.strat-card p { color: rgba(240,245,238,0.58); font-size: 0.86rem; line-height: 1.75; font-weight: 300; margin-bottom: 1.1rem; }
.strat-benefits { list-style: none; }
.strat-benefits li { font-size: 0.8rem; color: rgba(240,245,238,0.72); padding: 0.28rem 0; display: flex; gap: 0.55rem; border-bottom: 1px solid rgba(255,255,255,0.04); }
.strat-benefits li:last-child { border-bottom: none; }
.strat-benefits li::before { content: '\2192'; color: var(--lime); font-size: 0.72rem; flex-shrink: 0; margin-top: 0.04rem; }
.strat-yield { margin-top: 1.2rem; padding: 0.7rem 0.9rem; background: rgba(127,221,85,0.06); border-left: 3px solid var(--lime); border-radius: 0 2px 2px 0; }
.strat-yield span { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.strat-yield strong { display: block; font-size: 1rem; color: var(--lime); font-weight: 700; margin-top: 0.08rem; }

/* -- TEAM --------------------------------------------------- */
.team-section { background: var(--mid); }
.team-intro { max-width: 620px; margin-bottom: 3.5rem; }
.team-intro p { color: rgba(240,245,238,0.62); font-size: 0.95rem; line-height: 1.8; font-weight: 300; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,0.04); }
.team-card { background: var(--dark); overflow: hidden; transition: background 0.25s; }
.team-card:hover { background: #0f1410; }
.team-img-wrap { position: relative; overflow: hidden; }
.team-img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; display: block; filter: grayscale(20%) brightness(0.82); transition: filter 0.4s, transform 0.5s; }
.team-card:hover .team-img { filter: grayscale(0%) brightness(0.9); transform: scale(1.04); }
.team-card-body { padding: 1rem 1rem 1.3rem; }
.team-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.team-role { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lime); margin-bottom: 0.5rem; }
.team-bio { font-size: 0.77rem; color: var(--muted); line-height: 1.6; font-weight: 300; }
.team-investor-badge {
  display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.5rem;
  background: rgba(127,221,85,0.08); border: 1px solid rgba(127,221,85,0.2);
  padding: 0.15rem 0.5rem; border-radius: 2px; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime);
}
.team-family-quote {
  margin-top: 3rem; padding: 2rem 2.5rem;
  background: rgba(127,221,85,0.04); border: 1px solid rgba(127,221,85,0.12);
  border-radius: 3px; display: flex; gap: 2rem; align-items: flex-start;
}
.tfq-mark { font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--lime); line-height: 0.8; flex-shrink: 0; opacity: 0.4; margin-top: 0.3rem; }
.tfq-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-style: italic; line-height: 1.65; color: var(--off-white); }
.tfq-attribution { margin-top: 0.7rem; font-size: 0.72rem; color: var(--muted); font-style: normal; font-family: 'DM Sans', sans-serif; }

/* -- LANDLORDS ---------------------------------------------- */
.landlord-section { background: var(--dark); }
.landlord-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.04); margin-top: 3rem; }
.ll-card { background: var(--black); padding: 2.5rem; }
.ll-card.featured { background: var(--gdeep); border: 1px solid rgba(127,221,85,0.2); }
.ll-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.ll-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.7rem; }
.ll-card p { color: rgba(240,245,238,0.58); font-size: 0.86rem; line-height: 1.75; font-weight: 300; margin-bottom: 1.2rem; }
.ll-benefits { list-style: none; }
.ll-benefits li { font-size: 0.82rem; color: rgba(240,245,238,0.72); padding: 0.3rem 0; display: flex; gap: 0.55rem; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ll-benefits li:last-child { border-bottom: none; }
.ll-benefits li::before { content: '\2713'; color: var(--lime); font-size: 0.72rem; flex-shrink: 0; margin-top: 0.05rem; }

/* -- TESTIMONIALS ------------------------------------------- */
.testimonials-section { background: var(--black); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: transparent;
  margin-top: 3rem;
}
.testi {
  background: var(--dark);
  border: 1px solid #303030;
  padding: 2.3rem;
  transition: background 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.testi:hover {
  background: rgba(127,221,85,0.02);
  border-color: rgba(127,221,85,0.25);
}
.testi-stars { color: var(--lime); font-size: 0.95rem; letter-spacing: 0.12em; margin-bottom: 1rem; }
.testi-star-off { color: rgba(127,221,85,0.18); }
.testi blockquote { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-style: italic; line-height: 1.7; margin-bottom: 1.1rem; color: var(--off-white); }
.testi-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.25rem;
}
.testi-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 3px;
  line-height: 1;
}
.testi-pill-prop {
  background: rgba(127,221,85,0.08);
  border: 1px solid rgba(127,221,85,0.22);
  color: var(--lime);
}
.testi-pill-strat {
  background: rgba(240,245,238,0.04);
  border: 1px solid rgba(240,245,238,0.12);
  color: rgba(240,245,238,0.78);
}
.testi-pill-icon { font-size: 0.75rem; }
.testi-author { display: flex; align-items: center; gap: 0.65rem; margin-top: auto; }
.ta-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--mid); border: 1px solid rgba(127,221,85,0.3); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 0.92rem; color: var(--lime); font-weight: 700; flex-shrink: 0; }
.ta-name { display: block; font-size: 0.88rem; font-weight: 600; color: var(--off-white); }
.ta-role { font-size: 0.7rem; color: var(--muted); }
.testi-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 2rem; }

/* -- CTA ---------------------------------------------------- */
.cta-section {
  background:
    linear-gradient(180deg, rgba(10,12,9,0.82) 0%, rgba(10,12,9,0.72) 50%, rgba(10,12,9,0.9) 100%),
    url('/wp-content/uploads/2026/04/sunderland-scaled.jpg') center center / cover no-repeat,
    var(--gdeep);
  padding: 6rem 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 4vw, 3.3rem); font-weight: 900; margin-bottom: 0.8rem; }
.cta-section p { color: rgba(240,245,238,0.58); font-size: 1rem; font-weight: 300; margin-bottom: 2.2rem; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.cta-options { margin-top: 2.5rem; display: flex; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.cta-opt { text-align: center; }
.cta-opt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  color: var(--off-white);
  transition: color 0.2s;
}
.cta-opt:hover .cta-opt-icon { color: var(--lime); }
.cta-opt-title { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.15rem; color: var(--off-white); }
.cta-opt-sub { font-size: 0.72rem; color: var(--muted); }

/* -- FOOTER ------------------------------------------------- */
.site-footer {
  background: var(--nav);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 0;
}
.footer-grid {
  max-width: 1240px; margin: 0 auto;
  padding: 4rem 4rem 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand { padding-top: 0; }
.site-footer .custom-logo-link img,
.site-footer .custom-logo,
.footer-logo {
  height: 70px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 1.2rem !important;
  display: block !important;
}
.footer-desc {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
  margin: 0 0 1rem;
  max-width: 380px;
}
.footer-ig-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-ig-inline:hover { color: #E4405F; }
.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0.6rem 0 1.2rem;
  line-height: 1.2;
}
/* Secondary heading inside a footer column (e.g. Policies under Properties) */
.footer-col-subhead {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 1.8rem 0 1.2rem !important;
  line-height: 1.2;
  font-weight: 600;
  opacity: 0.7;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--off-white); }
.footer-col-ig {
  display: inline-flex !important;
  align-items: center;
  margin-top: 0.5rem;
}
.footer-col-ig:hover { color: #E4405F !important; }

/* Brand-column inline contact (address + phone in one row) */
.footer-contact-inline {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(240,245,238,0.55);
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-contact-icon {
  color: var(--lime);
  flex-shrink: 0;
  opacity: 0.7;
}
.footer-contact-item a {
  color: rgba(240,245,238,0.55);
  text-decoration: none;
}
.footer-contact-item a:hover { color: var(--lime); }

/* Inline secondary-legal strip */
.footer-legal-strip {
  background: var(--nav);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 0.9rem 0;
}
.footer-legal-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4rem;
  text-align: center;
  font-size: 0.82rem;
}
.footer-legal-strip-inner a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-strip-inner a:hover { color: var(--off-white); }
.footer-legal-strip-sep {
  margin: 0 0.7rem;
  color: rgba(240,245,238,0.25);
}

/* Compliance bar (TPO, CMP) */
.footer-compliance {
  border-top: 1px solid var(--border);
  padding: 1.4rem 0;
}
.footer-compliance-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
}
.footer-compliance-item {
  min-width: 0;
}
@media (max-width: 600px) {
  .footer-compliance-inner {
    grid-template-columns: 1fr;
  }
}
.footer-compliance-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.footer-compliance-value {
  font-size: 0.78rem;
  color: rgba(240,245,238,0.7);
}
.footer-compliance-value strong { color: var(--off-white); font-weight: 600; }
.footer-compliance-value a { color: var(--lime); text-decoration: none; }
.footer-compliance-value a:hover { text-decoration: underline; }
/* Variant: link styled to match the surrounding text colour (e.g. phone number) */
.footer-compliance-value-plain a { color: rgba(240,245,238,0.7); }
.footer-compliance-value-plain a:hover { color: var(--lime); text-decoration: none; }
/* Variant: inline list of links separated by dot bullets */
.footer-compliance-value-links a { color: rgba(240,245,238,0.7); }
.footer-compliance-value-links a:hover { color: var(--lime); text-decoration: none; }
.footer-compliance-sep { margin: 0 0.4rem; color: rgba(240,245,238,0.25); }

/* Brand-column office address row */
.footer-brand-addr {
  margin: 1.1rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(240,245,238,0.6);
}
.footer-brand-addr svg {
  color: var(--lime);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-brand-addr a {
  color: inherit;
  text-decoration: none;
}
.footer-brand-addr a:hover { color: var(--lime); }

/* SEO areas bar */
.footer-areas-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
  background: var(--nav);
}
.footer-areas-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4rem;
}
.footer-areas-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.footer-areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}
.footer-areas-list a {
  color: rgba(240,245,238,0.5);
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-areas-list a:hover { color: var(--lime); }

/* Bottom row - simple 2-zone: left (copyright), right (credit) */
.footer-bottom {
  background: rgba(0,0,0,0.5);
  padding: 1.4rem 0;
}
.footer-bottom-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted); font-size: 0.72rem; margin: 0; }
.footer-bottom-left  { text-align: left; }
.footer-bottom-right { text-align: right; }
.footer-bottom-right a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted rgba(127,221,85,0.3);
  transition: color 0.2s, border-color 0.2s;
}
.footer-bottom-right a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

/* -- MODAL -------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 2rem;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--dark); border: 1px solid rgba(127,221,85,0.18);
  border-radius: 4px; padding: 2.2rem; max-width: 480px; width: 100%;
  transform: translateY(18px); transition: transform 0.3s; max-height: 88vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: none; }
.modal-close { float: right; background: none; border: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--off-white); }
.modal h3 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 0.4rem; clear: both; }
.modal-sub { font-size: 0.68rem; color: var(--lime); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.modal-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin: 1.3rem 0; }
.mm { text-align: center; background: rgba(127,221,85,0.05); border: 1px solid rgba(127,221,85,0.12); padding: 0.7rem 0.4rem; border-radius: 2px; }
.mm-val { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--lime); font-weight: 700; }
.mm-lbl { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 0.15rem; }
.modal-fins { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-bottom: 1rem; }
.mf { background: rgba(255,255,255,0.03); padding: 0.6rem 0.7rem; border-radius: 2px; }
.mf-lbl { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mf-val { font-size: 0.9rem; font-weight: 600; color: var(--off-white); margin-top: 0.12rem; }
.modal-disc { font-size: 0.7rem; color: var(--muted); line-height: 1.6; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.modal-feats { list-style: none; margin: 0.7rem 0 1rem; }
.modal-feats li { font-size: 0.82rem; color: rgba(240,245,238,0.72); padding: 0.25rem 0; display: flex; gap: 0.55rem; }
.modal-feats li::before { content: '\2713'; color: var(--lime); flex-shrink: 0; }

/* WA join modal */
.wa-join-modal { max-width: 420px; }
.wa-join-form { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.2rem; }
.wa-join-form input,
.wa-join-form select {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--off-white); padding: 0.7rem 0.9rem; border-radius: 3px;
  font-family: inherit; font-size: 0.85rem; width: 100%;
  transition: border-color 0.2s;
}
.wa-join-form input:focus,
.wa-join-form select:focus { outline: none; border-color: var(--lime); }
.wa-join-form select option { background: var(--dark); }

/* -- CONTACT FORM ------------------------------------------- */
.contact-form-wrap { max-width: 600px; margin: 2rem auto 0; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--off-white); padding: 0.8rem 1rem; border-radius: 3px;
  font-family: inherit; font-size: 0.9rem; width: 100%;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--lime); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* -- AREA PAGE ---------------------------------------------- */
.area-hero { background: var(--dark); padding: 6rem 4rem 4rem; }
.area-hero-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.area-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.06); margin-top: 2rem; }
.area-stat { background: var(--black); padding: 1.2rem; text-align: center; }
.area-stat-val { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--lime); }
.area-stat-lbl { font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.area-hero-strat {
  color: rgba(240,245,238,0.78);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 2rem;
}

.area-content-section { background: var(--dark); padding: 5rem 4rem; }
.area-content-inner { max-width: 1100px; }
.area-content-block { margin-bottom: 2.5rem; }
.area-content-block p {
  color: rgba(240,245,238,0.78);
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 300;
  margin: 0;
}
.area-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(127,221,85,0.12);
}
.area-content-grid .area-content-block { margin-bottom: 0; }
.area-block-h {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--off-white);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.sec-title-sm {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  line-height: 1.2;
}
.sec-title-sm em { font-style: italic; color: var(--lime); }

/* Breadcrumbs */
.area-breadcrumbs {
  background: var(--dark);
  border-top: 1px solid rgba(127,221,85,0.12);
  border-bottom: 1px solid rgba(127,221,85,0.08);
}
.area-breadcrumbs-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.75rem 4rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(240,245,238,0.55);
  display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
}
.area-breadcrumbs a {
  color: rgba(240,245,238,0.65);
  text-decoration: none;
  transition: color 0.18s;
}
.area-breadcrumbs a:hover { color: var(--lime); }
.bc-sep { color: rgba(127,221,85,0.28); }
.bc-current { color: var(--lime); }

/* FAQ section */
.area-faq-section { background: var(--black); padding: 5rem 4rem; border-top: 1px solid rgba(127,221,85,0.08); }
.area-faq-inner { max-width: 900px; }
.area-faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.area-faq-item {
  background: rgba(127,221,85,0.04);
  border: 1px solid rgba(127,221,85,0.14);
  border-radius: 4px;
  transition: border-color 0.18s, background 0.18s;
}
.area-faq-item[open] {
  background: rgba(127,221,85,0.07);
  border-color: rgba(127,221,85,0.3);
}
.area-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--off-white);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative;
}
.area-faq-item summary::-webkit-details-marker { display: none; }
.area-faq-item summary::after {
  content: '+';
  font-family: sans-serif;
  font-size: 1.4rem;
  color: var(--lime);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}
.area-faq-item[open] summary::after { content: '\2212'; }
.area-faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: rgba(240,245,238,0.78);
  font-size: 0.93rem;
  line-height: 1.8;
  font-weight: 300;
}

/* Nearby areas */
.area-nearby-section { background: var(--dark); padding: 5rem 4rem; border-top: 1px solid rgba(127,221,85,0.08); }
.area-nearby-intro {
  color: rgba(240,245,238,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 720px;
  margin: 0 0 2.5rem;
}
.area-nearby-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-top: 0;
}
.area-nearby-card {
  display: block;
  background: rgba(127,221,85,0.06);
  border: 1px solid rgba(127,221,85,0.22);
  border-radius: 4px;
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: var(--off-white);
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.area-nearby-card:hover {
  background: rgba(127,221,85,0.12);
  border-color: rgba(127,221,85,0.45);
  transform: translateY(-2px);
}
.area-nearby-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 0.25rem;
}
.area-nearby-pc {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.area-nearby-yield {
  font-size: 0.78rem;
  color: rgba(240,245,238,0.6);
}

/* Why NE - region-grouped area block */
.why-areas-regions {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.why-areas-region {
  padding: 1.8rem;
  background: rgba(127,221,85,0.025);
  border: 1px solid rgba(127,221,85,0.1);
  border-left: 3px solid var(--lime);
  border-radius: 4px;
}
.why-areas-region-head { margin-bottom: 1.2rem; }
.why-areas-region-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--off-white);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.why-areas-count {
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--lime);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-left: 0.3rem;
}
.why-areas-region-intro {
  color: rgba(240,245,238,0.7);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
  margin: 0;
  max-width: 720px;
}
.why-areas-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
}

/* -- RESPONSIVE --------------------------------------------- */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .prop-grid  { grid-template-columns: repeat(2, 1fr); }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.7rem 1rem 0.7rem 1.25rem;
    align-items: center;
  }
  .nav-logo img { height: 32px; }
  .nav-toggle {
    display: flex;
    margin-right: 0;
    margin-left: auto;
    padding: 8px;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--nav);
    padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid rgba(127,221,85,0.12);
  }

  section { padding: 4.5rem 1.5rem; }
  .page-hero { padding: 5.5rem 1.5rem 3rem; }
  .page-hero h1.sec-title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .ticker-track { animation-duration: 12s !important; }

  /* Hero trust: force out of absolute positioning on mobile so it doesn't
     overlap buttons or clip off-screen. !important used to beat any
     specificity conflicts from higher up the file. */
  .hero {
    min-height: auto !important;
    padding: 7.5rem 0 2.5rem !important;
    align-items: flex-start;
    display: block;
  }
  .hero-content {
    padding: 0 1.5rem !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-trust {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    left: auto !important; right: auto !important;
    max-width: 100% !important;
    margin: 2rem 1.5rem 0 !important;
    padding: 1.5rem 0 0 !important;
    border-top: 1px solid rgba(127,221,85,0.15);
    width: auto !important;
    display: block !important;
  }
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.8rem !important;
    width: 100%;
    justify-content: stretch !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-top: 1px solid rgba(127,221,85,0.15) !important;
    border-radius: 0 !important;
    padding: 1.5rem 0 0 !important;
    box-shadow: none !important;
  }
  .hero-stats::before { display: none !important; }
  .hero-stats > div {
    text-align: center;
    min-width: 0;
    padding: 0 !important;
  }
  .hero-stats > div + div::before { display: none !important; }
  .stat-num { font-size: 1.5rem !important; text-shadow: none !important; }
  .stat-lbl {
    font-size: 0.52rem !important;
    letter-spacing: 0.08em !important;
    margin-top: 0.2rem !important;
  }
  .stat-lbl::before { display: none !important; }

  .prop-grid    { grid-template-columns: 1fr; }
  .deals-grid   { grid-template-columns: 1fr; }
  .strat-grid   { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .areas-grid   { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
  .area-content-grid { grid-template-columns: 1fr; gap: 2rem; }
  .area-content-section { padding: 3rem 1.5rem; }
  .area-hero { padding: 4rem 1.5rem 3rem; }
  .area-breadcrumbs-inner { padding: 0.8rem 1.5rem; font-size: 0.7rem; }
  .area-faq-section { padding: 3rem 1.5rem; }
  .area-faq-item summary { font-size: 0.95rem; padding: 0.9rem 1.1rem; }
  .area-faq-answer { padding: 0 1.1rem 1.1rem; font-size: 0.88rem; }
  .area-nearby-section { padding: 3rem 1.5rem; }
  .area-nearby-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .why-areas-tiles { grid-template-columns: repeat(3, 1fr); }
  .why-areas-region { padding: 1.3rem; }
  .landlord-grid { grid-template-columns: 1fr; }
  .testi-grid   { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .site-footer { padding: 3rem 1.5rem 1.5rem; }
  .site-footer .custom-logo-link img,
  .site-footer .custom-logo,
  .footer-logo { height: 56px !important; }
  .footer-areas-bar { padding: 1.2rem 1.5rem; }
  .footer-areas-inner { padding: 0 1.5rem; }
  .footer-compliance { padding: 1.2rem 1.5rem; }
  .footer-compliance-inner { padding: 0 1.5rem; flex-direction: column; gap: 1rem; }
  .footer-legal-strip { padding: 0.7rem 1.5rem; }
  .footer-legal-strip-inner { line-height: 1.9; }
  .footer-legal-strip-sep { margin: 0 0.5rem; }
  .footer-bottom { padding: 1.2rem 0; }
  .footer-bottom-inner { padding: 0 1.5rem; flex-direction: column; gap: 0.7rem; text-align: center; }
  .footer-bottom-left,
  .footer-bottom-right { text-align: center; }
  .form-row     { grid-template-columns: 1fr; }

  .wa-banner { flex-direction: column; }

  /* Trust band - 2x2 grid on mobile with proper cards */
  .trust-band { padding: 1.5rem 1rem; }
  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 0.6rem;
  }
  .trust-divider { display: none; }
  .trust-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.9rem;
    background: rgba(127,221,85,0.03);
    border: 1px solid rgba(127,221,85,0.12);
    border-radius: 6px;
    height: 100%;
    box-sizing: border-box;
  }
  .trust-icon {
    font-size: 1.4rem;
    line-height: 1;
  }
  .trust-item strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }
  .trust-item span {
    font-size: 0.7rem;
    line-height: 1.45;
    color: rgba(240,245,238,0.6);
  }

  /* Portfolio header - stack title then tagline on mobile, left-aligned */
  .portfolio-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .portfolio-header-right {
    text-align: left;
    max-width: 100%;
  }

  .area-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }

  /* Very narrow phones: tighten stat sizing further */
  .hero-stats { gap: 0.5rem !important; }
  .stat-num   { font-size: 1.3rem !important; }
  .stat-lbl   { font-size: 0.48rem !important; letter-spacing: 0.06em !important; }

  /* Drop area tiles to 2 cols on very small phones */
  .areas-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .why-areas-tiles { grid-template-columns: repeat(2, 1fr) !important; }
}

/* -- PROPERTY HIVE FULL WIDTH FIX --------------------------- */
/* Force full width on Property Hive archive and single pages */
.propertyhive-page .site-main,
.post-type-archive-property .site-main,
.single-property .site-main {
  padding-top: 0;
}

/* Kill any default WordPress page container/sidebar */
.propertyhive-page #primary,
.propertyhive-page #main,
.propertyhive-page #content,
.propertyhive-page .entry-content,
.post-type-archive-property #primary,
.post-type-archive-property #content,
.single-property #primary,
.single-property #content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Hide sidebars on property pages */
.propertyhive-page #secondary,
.post-type-archive-property #secondary,
.single-property #secondary,
.propertyhive-page .widget-area,
.post-type-archive-property .widget-area,
.single-property .widget-area {
  display: none !important;
}

/* Property Hive default widget overrides -- hide their search form */
.propertyhive-page .propertyhive {
  background: transparent;
}

/* Full width blank page template */
.page-template-page-fullwidth #primary,
.page-template-page-fullwidth #content,
.page-template-page-fullwidth .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

.page-template-page-fullwidth #secondary,
.page-template-page-fullwidth .widget-area {
  display: none !important;
}

/* Property Hive shortcode page -- target the page container */
.page-id-lettings #primary,
[class*="page-id-"] .ph-page-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

/* Pagination styling for property archive */
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
}
.page-numbers li a,
.page-numbers li span {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  border-radius: 3px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s;
}
.page-numbers li a:hover,
.page-numbers li .current {
  background: rgba(127,221,85,0.1);
  border-color: var(--lime);
  color: var(--lime);
}

/* Responsive -- lettings grid */
@media (max-width: 1024px) {
  .ph-prop-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 640px) {
  .ph-prop-grid { grid-template-columns: 1fr !important; }
  .ph-single-grid { grid-template-columns: 1fr !important; }
  .ph-filter-bar { padding: 1rem 1.5rem !important; }
  .ph-filter-bar form { flex-direction: column !important; }
}

/* -- FULL WIDTH PAGE OVERRIDES ------------------------------ */
.full-width-page .site-main,
.page-template-page-fullwidth .site-main,
.post-type-archive-property .site-main,
.single-property .site-main {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* -- PROPERTY HIVE PLUGIN CSS OVERRIDE ---------------------- */
/* PH injects body max-width:700px on its pages -- kill it */
body.propertyhive-page,
body.post-type-archive-property,
body.single-property,
body.full-width-page {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--black) !important;
}

body.propertyhive-page .ph-full-wrap,
body.post-type-archive-property .ph-full-wrap,
body.single-property .ph-full-wrap,
body.full-width-page .ph-full-wrap {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* -- LETTINGS MOBILE FIXES ----------------------------------- */
@media (max-width: 768px) {
  /* Single column property grid */
  .ph-prop-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Property cards breathe on mobile */
  .ph-prop-card {
    margin-bottom: 0 !important;
  }

  /* Filter bar wraps nicely */
  .ph-filter-form {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }

  .ph-filter-form select {
    width: 100% !important;
  }

  /* Single property -- stack columns */
  .ph-single-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Thumbnail strip scrolls horizontally */
  .ph-thumb-strip {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }
}

/* -- PROPERTY GRID RESPONSIVE ------------------------------- */
.ph-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
@media (max-width: 1024px) {
  .ph-prop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ph-prop-grid { grid-template-columns: 1fr; }
  .ph-filter-bar-inner { flex-direction: column !important; }
  .ph-filter-bar-inner > div { width: 100%; }
  .ph-filter-bar-inner select { width: 100%; }
}

/* Single property responsive */
@media (max-width: 900px) {
  .ph-single-grid { grid-template-columns: 1fr !important; }
  .ph-single-sticky { position: static !important; }
}

/* -- LETTINGS FILTER FORM ---------------------------------- */
.letting-filter-form {
  display: flex; gap: 0.8rem;
  align-items: flex-end; flex-wrap: wrap;
}
.letting-filter-group {
  display: flex; flex-direction: column; gap: 0.3rem;
}
.letting-filter-label {
  font-size: 0.62rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted);
}
.letting-filter-select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--off-white);
  padding: 0.5rem 2rem 0.5rem 0.8rem;
  border-radius: 3px;
  font-family: inherit; font-size: 0.8rem;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1L5 5L9 1' stroke='%237fdd55' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.letting-filter-select:hover,
.letting-filter-select:focus {
  outline: none;
  border-color: rgba(127,221,85,0.5);
  background-color: rgba(255,255,255,0.08);
}
/* Style the dropdown panel. color-scheme forces the native dropdown
   to use dark UA widgets. :checked gets a darker green that doesn't
   clash with white text. Full control isn't possible on native select - 
   for perfect consistency across browsers, swap for a JS dropdown. */
.letting-filter-select {
  color-scheme: dark;
}
.letting-filter-select option {
  background-color: #0b0e0a;
  color: #e8ece6;
  padding: 0.4rem 0.8rem;
}
.letting-filter-select option:checked {
  background: #1a3310 linear-gradient(#1a3310, #1a3310) !important;
  color: #fff !important;
  box-shadow: 0 0 10px 100px #1a3310 inset !important;
}
.letting-filter-select option:hover {
  background: #1a3310 !important;
  color: #fff !important;
}
.letting-filter-actions {
  display: flex; gap: 0.6rem; align-items: flex-end;
}
.letting-filter-count {
  margin-left: auto; font-size: 0.78rem; color: var(--muted);
  align-self: flex-end; padding-bottom: 0.1rem;
}

/* -- LETTINGS GRID ------------------------------------------ */
.letting-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
}
.letting-card {
  background: var(--dark);
  overflow: hidden;
  transition: background 0.25s;
}
.letting-card:hover { background: #0f1410; }
.letting-card-imglink { display: block; text-decoration: none; color: inherit; }
.letting-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.letting-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: brightness(0.82);
  transition: transform 0.5s, filter 0.4s;
}
.letting-card:hover .letting-card-img img {
  transform: scale(1.04);
  filter: brightness(0.6);
}
.letting-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 0.2rem 0.6rem; border-radius: 2px;
}
.letting-card-body { padding: 1.3rem; }
.letting-price {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: #fff; margin-bottom: 0.3rem;
  text-decoration: none;
  transition: color 0.2s;
}
.letting-price:hover { color: var(--lime); }
.letting-street {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem; font-weight: 700; margin-bottom: 0.2rem;
  color: #fff; text-decoration: none;
  transition: color 0.2s;
}
.letting-street:hover { color: var(--lime); }
/* Matched to homepage prop-location */
.letting-town {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.4;
  text-transform: none; letter-spacing: 0;
}
/* Town + right-aligned actions (View, View on Zoopla) on same row */
.letting-town-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
}
.letting-town-actions {
  display: flex; align-items: center; gap: 0.9rem;
  flex-shrink: 0;
}
.letting-stats {
  display: flex; gap: 1.2rem; align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.letting-stats span { text-align: center; }
.letting-stats strong { display: block; font-size: 0.95rem; font-weight: 700; }
.letting-stats em { font-style: normal; font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.letting-view {
  font-size: 0.72rem; color: var(--lime);
  font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.letting-view:hover { color: #fff; }

/* Occupied price variant - white so it doesn't clash with the purple badge */
.letting-price-occupied {
  color: #fff; font-style: normal;
}

/* -- SINGLE LETTING ----------------------------------------- */
.letting-single-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}
.letting-enquiry-panel {
  background: var(--dark);
  border: 1px solid rgba(127,221,85,0.15);
  border-radius: 4px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

/* -- RESPONSIVE --------------------------------------------- */
@media (max-width: 1024px) {
  .letting-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .letting-single-grid { grid-template-columns: 1fr; }
  .letting-enquiry-panel { position: static; }
}
@media (max-width: 640px) {
  .letting-grid { grid-template-columns: 1fr; }
}

/* -- LETTINGS PAGE FULL WIDTH ------------------------------- */
/* WordPress adds page-template-page-lettings to body on the lettings page */
body.page-template-page-lettings,
body.page-template-page-lettings #page,
body.page-template-page-lettings #content,
body.page-template-page-lettings #primary,
body.page-template-page-lettings #main,
body.page-template-page-lettings .site-content,
body.page-template-page-lettings .entry-content,
body.page-template-page-lettings .wp-block-group,
body.single-letting,
body.single-letting #page,
body.single-letting #content,
body.single-letting #primary,
body.single-letting #main,
body.single-letting .site-content,
body.single-letting .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.page-template-page-lettings #secondary,
body.page-template-page-lettings .widget-area,
body.single-letting #secondary,
body.single-letting .widget-area {
  display: none !important;
}

/* ph-full-wrap on page templates needs nav offset */
body.page-template-page-lettings .ph-full-wrap {
  margin-top: 62px;
}

/* Kill any default body max-width from themes or plugins on these pages */
body.page-template-page-lettings,
body.single-letting {
  max-width: 100% !important;
}

/* -- FRONT PAGE FULL WIDTH -- */
.tpne-page-wrap {
  width: 100%;
  max-width: 100%;
  background: var(--black);
}
body.home .tpne-page-wrap,
body.front-page .tpne-page-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

/* -- FRONT PAGE FORCE FULL WIDTH -- */
body.home,
body.home #page,
body.home #content,
body.home #primary,
body.home .site-content,
body.home .entry-content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.home #secondary,
body.home .widget-area {
  display: none !important;
}

/* -- PROPERTY GALLERY (single property page) -- */
.tpne-gallery {
  background: #000;
  position: relative;
}
.tpne-gallery-tabs {
  display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 2rem;
}
.tpne-gtab {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--muted); padding: 0.75rem 1.4rem; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
  margin-bottom: -1px;
}
.tpne-gtab:hover { color: var(--off-white); }
.tpne-gtab.active { color: var(--lime); border-bottom-color: var(--lime); }

.tpne-gallery-main {
  position: relative; height: 520px; overflow: hidden;
}
.tpne-gallery-main img {
  width: 100%; height: 100%; object-fit: contain;
  display: block; background: #000;
  transition: opacity 0.25s;
}
.tpne-gallery-badge {
  position: absolute; top: 1.2rem; left: 1.2rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.3rem 0.9rem; border-radius: 2px;
  display: none;
}
.tpne-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.55); color: #fff; border: none;
  font-size: 2rem; line-height: 1; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border-radius: 3px; transition: background 0.2s;
  z-index: 5;
}
.tpne-gallery-nav:hover { background: rgba(127,221,85,0.7); color: #222; }
.tpne-gallery-prev { left: 1rem; }
.tpne-gallery-next { right: 1rem; }
.tpne-gallery-counter {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 0.75rem;
  padding: 0.3rem 0.8rem; border-radius: 2px;
}

/* Thumbnail strip */
.tpne-thumb-strip {
  display: flex; gap: 3px; padding: 3px; background: #000;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--lime) #000;
}
.tpne-thumb {
  position: relative; flex-shrink: 0; width: 120px; height: 80px;
  overflow: hidden; cursor: pointer; opacity: 0.5;
  border: 2px solid transparent; transition: opacity 0.2s, border-color 0.2s;
}
.tpne-thumb:hover { opacity: 0.85; }
.tpne-thumb.active { opacity: 1; border-color: var(--lime); }
.tpne-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpne-thumb-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  text-align: center; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.15rem 0;
}
.tpne-thumb--after  .tpne-thumb-tag { background: #10b981; color: #fff; }
.tpne-thumb--before .tpne-thumb-tag { background: #f59e0b; color: #222; }
.tpne-thumb--general .tpne-thumb-tag { display: none; }

@media (max-width: 768px) {
  .tpne-gallery-main { height: 280px; }
  .tpne-thumb { width: 80px; height: 56px; }
}

/* -- JOIN COMMUNITY PAGE -- */
.join-hero {
  background: var(--dark);
  padding: 5rem 4rem 4rem;
  border-bottom: 1px solid rgba(127,221,85,0.1);
}
.join-hero-inner { max-width: 700px; }
.join-hero-sub {
  font-size: 1.05rem; color: rgba(240,245,238,0.65);
  font-weight: 300; line-height: 1.75; max-width: 560px;
  margin-top: 0.5rem;
}

.join-section { padding: 5rem 4rem; background: var(--black); }

.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* -- Benefits (left) -- */
.join-benefits { display: flex; flex-direction: column; gap: 0; }

.join-benefit-card {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.join-benefit-card:first-child { padding-top: 0; }
.jb-icon {
  font-size: 1.4rem; flex-shrink: 0;
  width: 2.4rem; text-align: center; margin-top: 0.1rem;
}
.join-benefit-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem;
}
.join-benefit-card p {
  font-size: 0.85rem; color: rgba(240,245,238,0.6);
  line-height: 1.7; font-weight: 300;
}

.join-stats {
  display: flex; gap: 0; margin-top: 2rem;
  border: 1px solid rgba(127,221,85,0.15);
  border-radius: 4px; overflow: hidden;
}
.join-stat {
  flex: 1; text-align: center;
  padding: 1.2rem 0.5rem;
  border-right: 1px solid rgba(127,221,85,0.15);
  background: rgba(127,221,85,0.03);
}
.join-stat:last-child { border-right: none; }
.join-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700; color: var(--lime); line-height: 1;
}
.join-stat-lbl {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.3rem;
}

.join-note {
  margin-top: 1.5rem; font-size: 0.78rem; color: var(--muted);
  line-height: 1.65; font-style: italic;
  padding: 0.9rem 1.1rem;
  border-left: 2px solid rgba(127,221,85,0.3);
  background: rgba(127,221,85,0.03);
  border-radius: 0 3px 3px 0;
}

/* -- Form (right) -- */
.join-form-card {
  background: var(--dark);
  border: 1px solid rgba(127,221,85,0.15);
  border-radius: 6px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.join-form-header {
  background: var(--mid);
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid rgba(127,221,85,0.12);
}
.join-form-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; margin-bottom: 0.3rem;
}
.join-form-header p {
  font-size: 0.82rem; color: var(--muted);
  font-weight: 300; line-height: 1.6;
}

.join-form { padding: 1.5rem 1.8rem; display: flex; flex-direction: column; gap: 0; }

.join-form-section {
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.join-form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 1rem; }
.join-form .btn { padding: 1rem 1.5rem; }

.join-form-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lime);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem;
}
.join-required-note {
  font-size: 0.62rem; color: var(--muted); letter-spacing: 0.05em;
  text-transform: none; font-weight: 400;
}

.join-field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.join-field:last-child { margin-bottom: 0; }
.join-field label {
  font-size: 0.78rem; font-weight: 500; color: rgba(240,245,238,0.8);
}
.join-field label span { color: var(--lime); margin-left: 2px; }
.join-field-hint { font-weight: 300; color: var(--muted); font-size: 0.72rem; }

.join-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.9rem;
}

.join-field input,
.join-field select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--off-white);
  padding: 0.7rem 0.9rem;
  border-radius: 4px;
  font-family: inherit; font-size: 0.85rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.join-field input::placeholder { color: rgba(240,245,238,0.3); }
.join-field input:focus,
.join-field select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 2px rgba(127,221,85,0.15);
}
.join-field select option { background: var(--dark); color: var(--off-white); }
.join-field select { cursor: pointer; }

.join-errors {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: 4px;
  padding: 0.8rem 1rem;
  margin: 1rem 1.8rem 0;
}
.join-errors p {
  font-size: 0.8rem; color: #fca5a5; margin: 0; line-height: 1.5;
}

.join-privacy {
  font-size: 0.72rem; color: var(--muted);
  text-align: center; margin-top: 0.8rem; line-height: 1.5;
}

/* Success state */
.join-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--dark);
  border: 1px solid rgba(127,221,85,0.2);
  border-radius: 6px;
}
.join-success-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--lime); color: #222;
  font-size: 1.4rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.join-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; margin-bottom: 0.7rem;
}
.join-success p {
  font-size: 0.9rem; color: rgba(240,245,238,0.7);
  line-height: 1.7; max-width: 380px; margin: 0 auto 0.5rem;
}

/* -- Responsive -- */
@media (max-width: 900px) {
  .join-grid { grid-template-columns: 1fr; gap: 3rem; }
  .join-form-card { position: static; }
  .join-hero { padding: 4rem 1.5rem 3rem; }
  .join-section { padding: 4rem 1.5rem; }
}
@media (max-width: 600px) {
  .join-field-row { grid-template-columns: 1fr; }
  .join-stats { flex-direction: column; }
  .join-stat { border-right: none; border-bottom: 1px solid rgba(127,221,85,0.15); }
  .join-stat:last-child { border-bottom: none; }
}


/* ------------------------------------------------------------
   WHY NE PAGE - unified sections + mobile fixes
   ------------------------------------------------------------ */
.why-section {
  padding: 6rem 4rem;
}
.why-section--black { background: var(--black); }
.why-section--dark  { background: var(--dark); }
.why-section--mid   { background: var(--mid); }

/* Stats strip (top 4-up) */
.why-stats-strip {
  background: var(--nav);
  padding: 0;
  border-bottom: 1px solid rgba(127,221,85,0.12);
}
.why-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(127,221,85,0.1);
}
.why-stat {
  background: var(--nav);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 3px solid var(--lime);
}
.why-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}
.why-stat-lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--off-white);
  margin-top: 0.5rem;
}
.why-stat-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Yield chart */
.yield-chart {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 900px;
}
.yield-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.yield-row-label {
  width: 200px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
  text-align: right;
  flex-shrink: 0;
}
.yield-row.is-leader .yield-row-label {
  color: var(--off-white);
  font-weight: 600;
}
.yield-row-bar-track {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  height: 28px;
  position: relative;
  overflow: hidden;
}
.yield-row-bar-fill {
  height: 100%;
  background: rgba(127,221,85,0.25);
  border-radius: 2px;
  transition: width 1s ease;
  display: flex;
  align-items: center;
  padding-left: 0.6rem;
}
.yield-row.is-leader .yield-row-bar-fill {
  background: var(--lime);
}
.yield-row-bar-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  white-space: nowrap;
}
.yield-row.is-leader .yield-row-bar-value {
  color: #222;
}

/* 4 reasons */
.why-reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
}
.why-reason-card {
  background: var(--black);
  padding: 2.5rem;
}
.why-reason-card--accent {
  border-top: 3px solid var(--lime);
}

/* Compare grid */
.why-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.06);
}
.why-compare-card {
  background: var(--dark);
  padding: 2.5rem;
}
.why-compare-card--accent {
  background: var(--gdeep);
  border: 1px solid rgba(127,221,85,0.2);
}

@media (max-width: 768px) {
  /* Whole-page horizontal padding reduction - claim the dead space */
  .why-section {
    padding: 3.5rem 1rem;
  }

  /* Stats strip - 2x2 grid */
  .why-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-stat {
    padding: 1.5rem 0.8rem;
  }
  .why-stat-num   { font-size: 1.9rem; }
  .why-stat-lbl   { font-size: 0.72rem; line-height: 1.25; }
  .why-stat-sub   { font-size: 0.62rem; }

  /* Yield chart - narrow label column, tighter bars */
  .yield-row {
    gap: 0.6rem;
  }
  .yield-row-label {
    width: 100px;
    font-size: 0.7rem;
  }
  .yield-row-bar-track { height: 24px; }
  .yield-row-bar-value { font-size: 0.68rem; }

  /* 4 reasons - single column */
  .why-reasons-grid {
    grid-template-columns: 1fr;
  }
  .why-reason-card {
    padding: 1.5rem 1.2rem;
  }
  .why-reasons-grid h3 { font-size: 1.15rem !important; }

  /* Compare - single column, tighter padding */
  .why-compare-grid {
    grid-template-columns: 1fr;
  }
  .why-compare-card {
    padding: 1.5rem 1.2rem;
  }
  .why-compare-grid li {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem;
  }

  /* Areas region inner padding - slimmer on mobile */
  .why-areas-region {
    padding: 1.25rem 1rem !important;
  }

  /* Lettings page - same dead-space treatment */
  .lettings-filter-bar { padding: 1rem 1rem !important; }
  .lettings-grid-section { padding: 1.5rem 1rem 3rem !important; }
  .lettings-cta-section  { padding: 3rem 1rem !important; }
}

@media (min-width: 769px) {
  .lettings-filter-bar { padding: 1.2rem 4rem; }
  .lettings-grid-section { padding: 3rem 4rem 6rem; }
  .lettings-cta-section  { padding: 5rem 4rem; }
}

/* ------------------------------------------------------------
   CONTACT PAGE - structure + mobile fixes
   ------------------------------------------------------------ */
.contact-options-bar {
  background: var(--nav);
  padding: 0;
  border-bottom: 1px solid rgba(127,221,85,0.1);
}
.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background: var(--nav);
}

/* Office Information bar - sits between contact tiles and the form */
.contact-office-info {
  background: var(--black);
  padding: 3rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.office-info-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.office-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.office-info-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(127,221,85,0.08);
  border: 1px solid rgba(127,221,85,0.2);
  border-radius: 3px;
  color: var(--lime);
}
.office-info-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.office-info-value {
  color: rgba(240,245,238,0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}
.office-info-value strong { color: var(--off-white); font-weight: 600; }
.office-info-value a { color: var(--lime); text-decoration: none; }
.office-info-value a:hover { text-decoration: underline; }
.contact-main-section {
  background: var(--black);
  padding: 6rem 4rem;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

@media (max-width: 768px) {
  .contact-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-office-info { padding: 2rem 1.2rem; }
  .office-info-grid { gap: 1.5rem; }
  .contact-main-section {
    padding: 3rem 1rem;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  /* Form selects/inputs already use width:100% inline - no extra rule needed */
}

/* ============================================================
   LAYOUT FIXES - session 2026-05-20
   ============================================================
   1. Header offset for single property/letting pages so content
      starts below the fixed site header.
   2. Override inline padding:6rem 4rem on sections so mobile pages
      do not get a 4rem horizontal gutter.
   3. Single-property/single-letting content centered, not right-shifted.
   4. Footer grid and bottom bar use full mobile width with full-width
      background.
   ============================================================ */

/* --- Single property/letting: header clearance ---------------------
   .ph-full-wrap has inline margin-top:62px to clear the fixed header,
   but `body.single-property .ph-full-wrap { margin: 0 !important }`
   on line 1850 strips it. Restore the offset via padding instead,
   which margin:0 doesn't touch.
   --------------------------------------------------------------------*/
.single-property .ph-full-wrap,
.single-letting  .ph-full-wrap {
    padding-top: 70px;
}

@media (max-width: 768px) {

    /* Mobile header is shorter (logo 32px + padding ~0.7rem). */
    .single-property .ph-full-wrap,
    .single-letting  .ph-full-wrap {
        padding-top: 58px;
    }

    /* --- Section gutter override -------------------------------------
       Many page templates use inline style="padding:6rem 4rem;" which
       beats the global section mobile rule. Force consistent 1.5rem
       horizontal gutter, leaving vertical padding alone.
       -----------------------------------------------------------------*/
    section[style*="4rem"],
    section[style*="3rem 4rem"],
    section[style*="4.5rem 4rem"],
    section[style*="5rem 4rem"],
    section[style*="6rem 4rem"],
    section[style*="8rem 4rem"] {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* Inline-styled wrapper divs on property/letting pages. */
    .ph-full-wrap > div[style*="4rem"] {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* About / legal pages. */
    .about-section-pad,
    .about-team-section,
    .about-why-section,
    .legal-hero,
    .legal-body {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    /* Single property grid: collapse to single column. */
    .letting-single-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* --- Footer full-width background fix ---------------------------
       The mobile rule `.site-footer { padding: 3rem 1.5rem 1.5rem }`
       was constraining the footer-bottom background to less than full
       width. Strip horizontal padding off .site-footer; each child
       block (.footer-grid, .footer-bottom-inner, etc) handles its own
       inner padding.
       -----------------------------------------------------------------*/
    .site-footer {
        padding: 0 !important;
    }
    .footer-grid {
        padding: 3rem 1.5rem 2rem !important;
    }
    .footer-bottom {
        padding: 1.2rem 0;
        width: 100%;
    }
    .footer-bottom-inner {
        padding: 0 1.5rem;
        max-width: 100%;
        gap: 0.6rem;
    }
    /* Stack the two footer-bottom zones vertically on mobile. */
    .footer-bottom-left,
    .footer-bottom-right {
        text-align: center;
        width: 100%;
    }
}

/* Tighter still on phones below 480px -------------------------------- */
@media (max-width: 480px) {
    section[style*="4rem"],
    section[style*="3rem 4rem"],
    section[style*="4.5rem 4rem"],
    section[style*="5rem 4rem"],
    section[style*="6rem 4rem"],
    section[style*="8rem 4rem"],
    .ph-full-wrap > div[style*="4rem"],
    .about-section-pad,
    .about-team-section,
    .about-why-section,
    .legal-hero,
    .legal-body {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .footer-grid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .footer-bottom-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
