/* =========================================================================
   FIVE TOWNS - GLOBAL STYLESHEET
   Design language: The Potteries. Fired clay, stoneware, kiln warmth,
   and the cobalt/oxide glazes historically associated with Staffordshire
   ceramics (Wedgwood jasperware blue) - used sparingly as the single
   accent, against a warm stone and near-black palette. Plot-line hairline
   rules stand in for the property boundaries at the heart of the business.
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Colour */
  --ink: #1b1a18;              /* near-black, warmed not blued */
  --ink-soft: #35322d;
  --paper: #faf7f2;            /* warm white */
  --stone: #e9e2d5;            /* stone/beige */
  --stone-deep: #d9cfba;
  --grey: #837c70;             /* soft grey, warmed */
  --grey-line: #ded6c6;
  --glaze: #3c5a63;            /* Wedgwood/oxide blue - the one accent */
  --glaze-deep: #28414a;
  --glaze-tint: #e4ebec;
  --white: #ffffff;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

  /* Scale (1.25 ratio, 18px base) */
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.9rem + 2.4vw, 3.6rem);
  --step-5: clamp(3rem, 2.2rem + 3.8vw, 5rem);

  /* Layout */
  --content-max: 1200px;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px; /* near-zero: architectural, not soft-SaaS */
}

/* ---- Reset --------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
ul, ol { padding-left: 1.2em; }
button { font-family: inherit; }

/* Visible focus states everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--glaze);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper);
  padding: 0.75em 1.25em; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---- Layout helpers ------------------------------------------------------*/
.wrap {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section[id] { scroll-margin-top: 96px; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2, .section--ink h3 { color: var(--paper); }
.section--stone { background: var(--stone); }
.section--glaze { background: var(--glaze-deep); color: var(--paper); }
.section--glaze h2, .section--glaze h3 { color: var(--paper); }

.eyebrow {
  font-size: var(--step--1);
  color: var(--glaze-deep);
  font-weight: 600;
  margin-bottom: 0.9em;
}
.section--ink .eyebrow, .section--glaze .eyebrow { color: #b9cdd1; }

.rule { border: none; border-top: 1px solid var(--grey-line); margin: 0; }
.section--ink .rule, .section--glaze .rule { border-top-color: rgba(255,255,255,0.18); }

.grid-2 { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1fr; }
.grid-4 { display: grid; gap: 1px; background: var(--grey-line); }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 560px) and (max-width: 759px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Buttons ------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn-primary { background: var(--glaze); color: var(--white); }
.btn-primary:hover { background: var(--glaze-deep); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.section--ink .btn-outline, .section--glaze .btn-outline { color: var(--paper); }
.section--ink .btn-outline:hover, .section--glaze .btn-outline:hover { background: var(--paper); color: var(--ink); }
.btn-text { background: none; border: none; padding: 0; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 0.15em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* ---- Header / nav ---------------------------------------------------------*/
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--grey-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; text-decoration: none; color: var(--ink); letter-spacing: -0.01em; display: inline-flex; align-items: center; }
.logo span { color: var(--glaze); }
.logo-img { height: 42px; width: auto; display: block; }
.logo-img-footer { height: 38px; width: auto; display: block; }

.nav-primary { display: none; }
.nav-primary ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-primary a { text-decoration: none; font-size: var(--step--1); font-weight: 600; padding: 0.4em 0; border-bottom: 2px solid transparent; }
.nav-primary a:hover, .nav-primary a[aria-current="page"] { border-bottom-color: var(--glaze); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 0.5em; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

.nav-mobile {
  display: none;
  position: fixed; top: 76px; right: 0; bottom: 0; left: 0;
  height: calc(100vh - 76px); height: calc(100dvh - 76px);
  background: var(--paper); z-index: 99; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 2rem var(--gutter) 3rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-mobile li { border-bottom: 1px solid var(--grey-line); }
.nav-mobile a { display: block; padding: 1.1em 0; text-decoration: none; font-size: var(--step-1); font-family: var(--font-display); color: var(--ink); }
.nav-mobile .header-cta { display: block; margin-top: 2rem; }

@media (min-width: 1140px) {
  .nav-toggle { display: none; }
  .nav-primary { display: block; }
  .header-cta { display: inline-flex; }
  .nav-mobile { display: none !important; }
}

/* ---- Hero ---------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex; align-items: flex-end;
  color: var(--white);
  background-color: var(--ink);
  background-image: linear-gradient(180deg, rgba(27,26,24,0.35) 0%, rgba(27,26,24,0.82) 100%), var(--hero-img, none);
  background-size: cover;
  background-position: center;
}
.hero-page {
  min-height: min(52vh, 420px);
}
.hero-inner { padding-block: clamp(3rem, 9vw, 6rem); }
.hero-kicker { font-size: var(--step--1); letter-spacing: 0.02em; color: var(--stone); margin-bottom: 1em; font-weight: 600; }
.hero h1 { font-size: var(--step-5); color: var(--white); max-width: 14ch; }
.hero p.lede { font-size: var(--step-1); max-width: 44ch; color: var(--stone); margin-top: 0.6em; }
.hero .cta-row { margin-top: 2rem; }
.hero .btn-outline { color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--ink); }

/* ---- Pathway cards (Who We Help) -----------------------------------------*/
.pathway {
  background: var(--paper);
  padding: 2.5rem 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: background-color 160ms ease;
}
.pathway:hover { background: var(--stone); }
.pathway h3 { font-size: var(--step-1); }
.pathway .btn-text { align-self: flex-start; }

/* ---- Feature list (checked benefits) --------------------------------------*/
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 0.9rem; }
.feature-list li { display: flex; gap: 0.75em; align-items: flex-start; }
.feature-list li::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-top: 0.5em;
  background: var(--glaze); border-radius: 1px; transform: rotate(45deg);
}

/* ---- Stats strip ----------------------------------------------------------*/
.stat { padding: 2rem 1.75rem; background: var(--paper); }
.stat b { display: block; font-family: var(--font-display); font-size: var(--step-3); color: var(--glaze-deep); font-weight: 500; }
.stat span { color: var(--grey); font-size: var(--step--1); }

/* ---- Cards (services / articles / areas) ----------------------------------*/
.card-grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  border-top: 1px solid var(--ink);
  padding-top: 1.4rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.card h3 { font-size: var(--step-1); }
.card .card-meta { font-size: var(--step--1); color: var(--grey); }
.card a.card-link { text-decoration: none; color: inherit; }
.card a.card-link h3 { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color 160ms ease; }
.card a.card-link:hover h3 { text-decoration-color: var(--glaze); }

/* ---- Testimonial ----------------------------------------------------------*/
.testimonial { border-left: 3px solid var(--glaze); padding-left: 1.5rem; }
.testimonial p { font-family: var(--font-display); font-size: var(--step-1); font-style: normal; }
.testimonial cite { display: block; margin-top: 0.8em; font-style: normal; font-size: var(--step--1); color: var(--grey); }

/* ---- FAQ ------------------------------------------------------------------*/
.faq-item { border-bottom: 1px solid var(--grey-line); }
.faq-item summary {
  cursor: pointer; padding: 1.3em 0; font-family: var(--font-display); font-size: var(--step-1);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4em; color: var(--glaze); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 1.3em; color: var(--ink-soft); }

/* ---- Forms ------------------------------------------------------------------*/
.form-field { display: flex; flex-direction: column; gap: 0.4em; margin-bottom: 1.3em; }
.form-field label { font-size: var(--step--1); font-weight: 600; }
.form-field .hint { font-size: var(--step--1); color: var(--grey); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: 0.8em 0.9em; border: 1px solid var(--grey-line); background: var(--white);
  border-radius: var(--radius); color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--glaze); }
.form-row { display: grid; gap: 1rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-consent { font-size: var(--step--1); color: var(--grey); display: flex; gap: 0.6em; align-items: flex-start; }
fieldset { border: none; padding: 0; margin: 0 0 1.5rem; }
legend { font-family: var(--font-display); font-size: var(--step-2); padding: 0 0 0.6em; }

/* ---- Property listing cards -------------------------------------------------*/
.property-filters {
  display: grid; gap: 0.9rem; grid-template-columns: 1fr;
  background: var(--stone); padding: 1.5rem; margin-bottom: 2.5rem;
}
@media (min-width: 760px) { .property-filters { grid-template-columns: repeat(5, 1fr); align-items: end; } }
.property-filters .form-field { margin-bottom: 0; }

.property-card { text-decoration: none; color: inherit; display: block; border: 1px solid var(--grey-line); }
.property-card figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--stone-deep); }
.property-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.property-card:hover img { transform: scale(1.04); }
.property-card .pc-body { padding: 1.2rem 1.3rem 1.4rem; }
.property-card .pc-status { display: inline-block; font-size: var(--step--1); font-weight: 700; color: var(--glaze-deep); margin-bottom: 0.5em; }
.property-card .pc-price { font-family: var(--font-display); font-size: var(--step-2); margin: 0 0 0.15em; }
.property-card .pc-address { color: var(--grey); font-size: var(--step--1); margin-bottom: 0.7em; }
.property-card .pc-meta { display: flex; gap: 1rem; font-size: var(--step--1); color: var(--ink-soft); }

/* ---- Content imagery ------------------------------------------------------*/
.feature-image {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; margin: 0 0 2.5rem;
}
.feature-image--wide { aspect-ratio: 21/9; }
.inline-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-caption { font-size: var(--step--1); color: var(--grey); margin-top: 0.6em; }
.grid-2 img.inline-photo { align-self: start; }

/* Image nested at the top of one column in a two-column text section */
.col-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: 0 0 1.25rem; }

/* Image floated within a single running block of prose, text wraps around it */
.aside-photo {
  float: right; width: 42%; max-width: 320px; aspect-ratio: 4/3; object-fit: cover;
  margin: 0.3rem 0 1.25rem 1.75rem;
}
@media (max-width: 640px) {
  .aside-photo { float: none; width: 100%; max-width: none; margin: 0 0 1.5rem; }
}

/* ---- Rental yield calculator -----------------------------------------------*/
.yield-calculator {
  background: var(--stone);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 3px solid var(--glaze);
}
.yield-calculator .yc-intro { margin-bottom: 1.5rem; }
.yield-calculator .yc-intro h3 { font-size: var(--step-2); margin-bottom: 0.3em; }
.yield-calculator .yc-intro p { color: var(--ink-soft); margin: 0; max-width: 60ch; }
.yc-results {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--grey-line);
  margin: 1.75rem 0;
}
.yc-results .stat { background: var(--paper); }
.yc-disclaimer { font-size: var(--step--1); color: var(--grey); margin: 0; max-width: 60ch; }
.yc-slider-row { display: flex; align-items: center; gap: 1rem; }
.yc-slider-row input[type="range"] {
  flex: 1 1 auto; -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
  height: 4px !important; padding: 0 !important; margin: 0 !important; border: none !important; box-sizing: border-box !important;
  background: var(--grey-line) !important; border-radius: 2px !important; outline: none; cursor: pointer;
  min-height: 0; max-height: 4px;
}
.yc-slider-row input[type="range"]::-webkit-slider-runnable-track {
  height: 4px !important; background: var(--grey-line) !important; border-radius: 2px !important; border: none !important;
}
.yc-slider-row input[type="range"]::-moz-range-track {
  height: 4px !important; background: var(--grey-line) !important; border-radius: 2px !important; border: none !important;
}
.yc-slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none !important; appearance: none !important; width: 26px !important; height: 26px !important; border-radius: 50% !important;
  background: var(--glaze) !important; border: 3px solid var(--paper) !important; box-shadow: 0 0 0 1px var(--glaze); cursor: pointer;
  margin-top: -11px !important;
}
.yc-slider-row input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--glaze);
  border: 3px solid var(--paper); box-shadow: 0 0 0 1px var(--glaze); cursor: pointer;
}
.yc-slider-value {
  font-family: var(--font-display); font-weight: 600; color: var(--glaze-deep);
  min-width: 3.6em; text-align: right; font-size: var(--step-0);
}

/* ---- Testimonial carousel --------------------------------------------------*/
.testimonial-carousel { max-width: 640px; }
.tc-track { position: relative; min-height: 11rem; }
.tc-slide { display: none; border-left: 3px solid var(--glaze); padding-left: 1.5rem; }
.tc-slide.is-active { display: block; animation: tc-fade 260ms ease; }
@keyframes tc-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tc-slide.is-active { animation: none; } }
.tc-slide p { font-family: var(--font-display); font-size: var(--step-1); font-style: normal; margin: 0 0 0.6em; }
.tc-slide cite { font-style: normal; font-size: var(--step--1); color: var(--grey); }
.tc-controls { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.75rem; }
.tc-arrow {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--grey-line); border-radius: var(--radius);
  cursor: pointer; font-size: 1rem; color: var(--ink); transition: border-color 160ms ease, color 160ms ease;
}
.tc-arrow:hover { border-color: var(--glaze); color: var(--glaze); }
.tc-dots { display: flex; gap: 0.6rem; }
.tc-dot {
  width: 9px; height: 9px; background: var(--grey-line); border: none; padding: 0;
  cursor: pointer; transform: rotate(45deg); transition: background-color 160ms ease;
}
.tc-dot.is-active { background: var(--glaze); }
.section--ink .tc-arrow, .section--glaze .tc-arrow { border-color: rgba(255,255,255,0.3); color: var(--paper); }
.section--ink .tc-slide cite, .section--glaze .tc-slide cite { color: var(--stone); }

/* ---- WhatsApp floating button ------------------------------------------*/
.whatsapp-fab {
  position: fixed;
  right: calc(1.25rem + env(safe-area-inset-right));
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  z-index: 150;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(0,0,0,0.32);
}
.whatsapp-fab svg { width: 30px; height: 30px; display: block; }
@media (max-width: 480px) {
  .whatsapp-fab { width: 52px; height: 52px; right: calc(1rem + env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .whatsapp-fab svg { width: 27px; height: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { transition: none; }
}

/* ---- Breadcrumbs --------------------------------------------------------------*/
.breadcrumbs { font-size: var(--step--1); color: var(--grey); padding-top: 1.6rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4em; padding: 0; margin: 0; }
.breadcrumbs a { text-decoration: none; color: var(--grey); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4em; color: var(--grey-line); }

/* ---- Footer ----------------------------------------------------------------*/
.site-footer { background: var(--ink); color: var(--stone); padding-block: 4rem 2rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); } }
.footer-grid h2 { font-family: var(--font-body); font-size: var(--step--1); font-weight: 700; color: var(--white); text-transform: none; margin-bottom: 1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6em; }
.footer-grid a { color: var(--stone); text-decoration: none; font-size: var(--step--1); }
.footer-grid a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { color: #b7b0a2; font-size: var(--step--1); max-width: 34ch; }
.footer-bottom {
  margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: var(--step--1); color: #a49c8c;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.2em; padding: 0; margin: 0; }
.footer-bottom a { color: #a49c8c; text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ---- Utility ------------------------------------------------------------------*/
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.wide { max-width: 62rem; }
img.lazy { background: var(--stone); }


/* =========================================================================
   Additions - September 2026 update
   ========================================================================= */

/* Header phone number */
.header-phone { display: none; font-weight: 700; font-size: var(--step--1); text-decoration: none; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--glaze); }
@media (min-width: 760px) { .header-phone { display: inline-block; margin-left: auto; margin-right: 1rem; } }
@media (min-width: 1140px) { .header-phone { margin-left: 1.5rem; } .nav-primary { margin-left: auto; } }
.nav-mobile .mobile-call { display: block; margin-top: 2rem; text-align: center; }
.nav-mobile .mobile-call + .header-cta { margin-top: 0.75rem; }

/* Footer */
.footer-contact a { color: var(--white); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-grid h2 + ul + h2 { margin-top: 1.8rem; }
.footer-bottom p { margin: 0; font-size: var(--step--1); max-width: 80ch; }

/* Trust strip */
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--grey-line); border: 1px solid var(--grey-line); margin-top: 2.5rem; }
.trust-strip > div { background: var(--paper); padding: 1.2rem 1.25rem; }
.trust-strip b { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); color: var(--glaze-deep); line-height: 1.1; }
.trust-strip span { font-size: var(--step--1); color: var(--grey); }
@media (min-width: 760px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.hero .trust-strip { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.18); }
.hero .trust-strip > div { background: rgba(27,26,24,0.55); }
.hero .trust-strip b { color: var(--white); }
.hero .trust-strip span { color: var(--stone); }

/* Service comparison table */
.compare { overflow-x: auto; margin-top: 2rem; border: 1px solid var(--grey-line); background: var(--white); }
.compare:focus-visible { outline: 3px solid var(--glaze); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--step--1); }
.compare-table th, .compare-table td { padding: 0.85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--grey-line); }
.compare-table thead th { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; background: var(--paper); }
.compare-table tbody th { font-weight: 500; color: var(--ink-soft); width: 44%; }
.compare-table .is-featured { background: var(--glaze-tint); }
.compare-table thead .is-featured { background: var(--glaze); color: var(--white); }
.compare-table .hint, .form-field .hint { color: var(--grey); font-size: 0.9em; font-weight: 400; }
.compare-note { font-size: var(--step--1); color: var(--grey); margin-top: 1rem; }

/* Fee cards */
.fee-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 760px) { .fee-grid { grid-template-columns: repeat(2, 1fr); } }
.fee-card { background: var(--white); border: 1px solid var(--grey-line); padding: 1.75rem; }
.fee-card h3 { margin-top: 0; }
.fee-card .fee-price { font-family: var(--font-display); font-size: var(--step-3); color: var(--glaze-deep); line-height: 1.1; margin: 0.2em 0; }
.fee-card .fee-sub { color: var(--grey); font-size: var(--step--1); margin: 0 0 1rem; }
.fee-table { width: 100%; border-collapse: collapse; margin-top: 1rem; background: var(--white); border: 1px solid var(--grey-line); }
.fee-table th, .fee-table td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--grey-line); }
.fee-table td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }

/* Testimonials (static grid replaces carousel) */
.testimonial-grid { display: grid; gap: 2rem 3rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 860px) { .testimonial-grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial-grid .testimonial { margin: 0; }
.testimonial-grid .testimonial p { font-size: var(--step-0); line-height: 1.6; }
.testimonial-more { margin-top: 2rem; }

/* Team (no photos) */
.team-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; margin-top: 1.5rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-member { border-top: 2px solid var(--glaze); padding-top: 1rem; }
.team-member h3 { margin: 0 0 0.25em; }
.team-member p { margin: 0; color: var(--grey); font-size: var(--step--1); }

/* Company facts */
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--grey-line); }
.facts > div { display: grid; grid-template-columns: 1fr; gap: 0.2rem; padding: 0.8rem 0; border-bottom: 1px solid var(--grey-line); }
@media (min-width: 640px) { .facts > div { grid-template-columns: 14rem 1fr; gap: 1.5rem; } }
.facts dt { font-weight: 700; font-size: var(--step--1); }
.facts dd { margin: 0; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--glaze); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: var(--step--1); }
.steps strong { display: block; }

/* Notice box */
.notice { border-left: 3px solid var(--glaze); background: var(--glaze-tint); padding: 1rem 1.25rem; margin: 1.5rem 0; }
.notice p:last-child { margin-bottom: 0; }

/* Enquiry panels */
.form-panel { background: var(--white); border: 1px solid var(--grey-line); padding: clamp(1.25rem, 3vw, 2.25rem); }
.form-panel h2 { margin-top: 0; }
.form-status.is-error { color: #8a2a1a; font-weight: 600; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.contact-list a { font-weight: 600; }

/* CTA band */
.cta-band p { max-width: 60ch; }

/* Property listings */
.property-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-top: 2rem; }
@media (min-width: 640px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .property-grid { grid-template-columns: repeat(3, 1fr); } }
.property-card a { text-decoration: none; color: inherit; display: block; }
.property-empty { background: var(--white); border: 1px solid var(--grey-line); padding: 2rem; margin-top: 2rem; }
.property-detail { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 980px) { .property-detail { grid-template-columns: 1.6fr 1fr; } }
.property-gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.property-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.property-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.key-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--grey-line); margin: 1.5rem 0; }
.key-facts > div { padding: 0.7rem 0; border-bottom: 1px solid var(--grey-line); }
.key-facts dt { font-size: var(--step--1); color: var(--grey); }
.key-facts dd { margin: 0; font-weight: 600; }
.property-price { font-family: var(--font-display); font-size: var(--step-3); color: var(--glaze-deep); margin: 0.2em 0 0; }
.property-card .pc-status--let, .pc-status--let { color: var(--grey); }

/* Article meta */
.article-meta { font-size: var(--step--1); color: var(--grey); }
@media (max-width: 640px) { .fee-table td:last-child { white-space: normal; } .fee-table th, .fee-table td { padding: 0.7rem 0.75rem; } }
/* Header fit on laptop widths */
.site-header .logo { flex: none; margin-right: 1.5rem; }
.nav-primary a { white-space: nowrap; }
.header-cta { white-space: nowrap; }
@media (min-width: 1140px) and (max-width: 1399px) { .header-phone { display: none; } .nav-primary ul { gap: 1.25rem; } }
@media (min-width: 1140px) { .header-cta { margin-left: 1.5rem; } }
/* Comparison table fits small screens without sideways scrolling */
@media (max-width: 640px) {
  .compare-table { min-width: 0; font-size: 0.82rem; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.5rem; }
  .compare-table tbody th { width: 40%; }
  .compare-table thead th { font-size: 1rem; }
}
/* Phone number visible in the header on phones too */
@media (min-width: 360px) and (max-width: 759px) {
  .header-phone { display: inline-block; margin-left: auto; margin-right: 0.5rem; font-size: 0.85rem; }
  .logo-img { height: 36px; }
}
/* Narrow reading columns stay left-aligned with the rest of the page */
.wrap[style*="max-width"] { max-width: var(--content-max) !important; }
.wrap[style*="max-width"] > * { max-width: 76ch; }
.contact-list + h2, .lede + h2 { margin-top: 2rem; }

/* Cookie consent banner (only shown when Google Analytics is switched on) */
.consent-banner { position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 1000; max-width: 42rem; margin-inline: auto; background: var(--white); border: 1px solid var(--grey-line); box-shadow: 0 10px 30px rgba(0,0,0,0.15); padding: 1.1rem 1.25rem; display: grid; gap: 0.9rem; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0; font-size: var(--step--1); }
.consent-actions { display: flex; gap: 0.75rem; justify-content: flex-end; flex-wrap: wrap; }
@media (min-width: 700px) { .consent-banner { grid-template-columns: 1fr auto; align-items: center; } }
