/* ============================================================
   Battersea Surveyors – Main Stylesheet
   batterseasurveyors.com
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #1a3a5c;   /* deep navy */
  --primary-light: #234b75;
  --accent:        #c89b4f;   /* gold */
  --accent-light:  #e0b96a;
  --text:          #1e2a35;
  --text-muted:    #5a6772;
  --bg:            #f9f7f4;
  --bg-alt:        #f0ede8;
  --white:         #ffffff;
  --border:        #ddd8d0;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:     0 12px 40px rgba(0,0,0,.18);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    0.3s ease;
  --font-head:     'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --max-w:         1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--primary);
  color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.text-center { text-align: center; }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title { margin-bottom: 1rem; }
.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

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

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: 16px 0;
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg { width: 24px; height: 24px; fill: var(--primary); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.logo-tagline {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
}

.navbar.scrolled .logo-name { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--white);
  transition: all var(--transition);
}

.navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { background: rgba(255,255,255,.15); color: var(--white); }
.navbar.scrolled .nav-links a:hover { background: var(--bg-alt); color: var(--primary); }

.nav-links a.active {
  background: var(--accent);
  color: var(--primary) !important;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-light) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--primary); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* ---------- Hero Image Slider ---------- */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: sliderZoom 8s ease-in-out infinite alternate;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
}

/* Each slide gets a slightly offset zoom direction for variety */
.hero-slide:nth-child(1) { animation-name: sliderZoomA; }
.hero-slide:nth-child(2) { animation-name: sliderZoomB; }
.hero-slide:nth-child(3) { animation-name: sliderZoomC; }
.hero-slide:nth-child(4) { animation-name: sliderZoomA; }
.hero-slide:nth-child(5) { animation-name: sliderZoomB; }

@keyframes sliderZoomA {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.1) translate(-1%, -1%); }
}
@keyframes sliderZoomB {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(1%, -0.5%); }
}
@keyframes sliderZoomC {
  from { transform: scale(1.05) translate(-0.5%, 0); }
  to   { transform: scale(1) translate(0.5%, 1%); }
}

/* Slider progress dots */
.hero-slider-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.hero-slider-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

/* Mobile: pause heavy animation on small screens */
@media (max-width: 600px) {
  .hero-slide { animation: none; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,58,92,.88) 0%,
    rgba(26,58,92,.65) 50%,
    rgba(26,58,92,.40) 100%
  );
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(200,155,79,.5);
  border-radius: 50%;
  animation: float linear infinite;
}

@keyframes float {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: flex-start;
}

.hero-content { max-width: 580px; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,155,79,.2);
  border: 1px solid rgba(200,155,79,.5);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.4); opacity: .7; }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero p.lead {
  color: rgba(255,255,255,.88);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat { color: var(--white); }
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--accent-light);
  line-height: 1;
}
.hero-stat span { font-size: .85rem; opacity: .8; }

.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  backdrop-filter: blur(4px);
}

/* ---------- Contact Form Box (Hero) ---------- */
.hero-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.form-box-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: .5rem;
}
.form-box-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* HubSpot form overrides */
.hs-form fieldset { max-width: 100% !important; }
.hs-form .input { width: 100% !important; }
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="phone"],
.hs-form textarea,
.hs-form select {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-size: .95rem !important;
  color: var(--text) !important;
  background: var(--bg) !important;
  transition: border-color var(--transition) !important;
}
.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  background: var(--white) !important;
}
.hs-form .hs-button {
  background: var(--accent) !important;
  color: var(--primary) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background var(--transition) !important;
}
.hs-form .hs-button:hover { background: var(--accent-light) !important; }
.hs-form label { font-weight: 500; font-size: .9rem; color: var(--text); margin-bottom: 4px; display: block; }
.hs-form .hs-error-msg { color: #c0392b; font-size: .8rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--primary);
  padding: 18px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.2);
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.card-body { padding: 28px; }
.card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .5rem;
}
.card-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: .75rem;
  line-height: 1.3;
}
.card-text { color: var(--text-muted); font-size: .93rem; }

/* Service card icon */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--accent); }
.service-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card p { font-size: .92rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--border);
}

.review-card::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 6rem;
  color: var(--accent);
  opacity: .15;
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  pointer-events: none;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 1rem;
}
.star {
  width: 18px;
  height: 18px;
  fill: #f59e0b;
}

.review-text {
  font-size: .94rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.review-name { font-weight: 600; font-size: .9rem; }
.review-location { font-size: .8rem; color: var(--text-muted); }
.review-property { font-size: .8rem; color: var(--accent); font-weight: 500; }

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.team-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}

.team-body { padding: 24px; }
.team-name {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.team-role {
  font-size: .85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .75rem;
}
.team-bio { font-size: .9rem; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg-alt); }
.faq-question.open { background: var(--primary); color: var(--white); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question.open .faq-icon { transform: rotate(45deg); fill: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  background: var(--bg-alt);
}
.faq-answer.open { max-height: 600px; }
.faq-answer-inner { padding: 20px 24px; font-size: .95rem; color: var(--text-muted); line-height: 1.75; }

/* ---------- Process Steps ---------- */
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h4 { margin-bottom: .5rem; }
.step-content p { font-size: .92rem; color: var(--text-muted); }

/* ---------- CTA Section ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(200,155,79,.08);
  top: -200px;
  right: -100px;
}

.cta-section h2 { color: var(--white); }

/* ---------- Footer ---------- */
.footer {
  background: #0e1f2f;
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: color var(--transition);
  display: inline-block;
}
.footer-links a:hover { color: var(--accent); }

.footer-about {
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.footer-accred {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.accred-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: .82rem; margin: 0; }

.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-legal a:hover { color: var(--accent); }

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/battersea-victorian-houses.jpg') center/cover no-repeat;
  opacity: .08;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; }

/* ---------- Blog Specific ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-date { font-size: .8rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  margin-top: .75rem;
}
.blog-read-more svg { width: 16px; height: 16px; fill: var(--accent); transition: transform var(--transition); }
.blog-read-more:hover svg { transform: translateX(4px); }

/* ---------- Article / Blog Post ---------- */
.article-content {
  max-width: 760px;
  margin: 0 auto;
}
.article-content h2 { margin: 2rem 0 1rem; }
.article-content h3 { margin: 1.5rem 0 .75rem; }
.article-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content ul li { margin-bottom: .5rem; font-size: .96rem; color: var(--text-muted); }
.article-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content ol li { margin-bottom: .5rem; font-size: .96rem; color: var(--text-muted); }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 1.5rem 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-content img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  width: 100%;
  height: auto;
}

/* ---------- Areas Map Grid ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.area-chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: center;
  font-size: .9rem;
  font-weight: 500;
  color: var(--primary);
  transition: all var(--transition);
  cursor: default;
}

.area-chip:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ---------- Contact Form Section ---------- */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
}

.contact-info-box {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: var(--white);
}

.contact-info-box h3 { color: var(--white); margin-bottom: 1.5rem; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(200,155,79,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 18px; height: 18px; fill: var(--accent); }

/* ---------- Map Placeholder ---------- */
.map-placeholder {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
}

/* ---------- Sticky CTA Bar (mobile) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary);
  padding: 12px 20px;
  display: none;
  gap: 12px;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.sticky-cta .btn { flex: 1; padding: 12px; font-size: .9rem; }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 70px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 800;
  border: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; fill: var(--primary); }

/* ---------- Utility: Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: var(--primary);
  padding: 8px 16px;
  font-weight: 700;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* ---------- Print ---------- */
@media print {
  .navbar, .hero-bg, .particles, .back-to-top, .sticky-cta { display: none; }
  body { color: #000; }
}

/* ---------- Loading Spinner (for async) ---------- */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   COMPREHENSIVE RESPONSIVE DESIGN
   Breakpoints: 480 | 600 | 768 | 968 | 1200 | 1400+
   ============================================================ */

/* ---------- Global mobile fixes ---------- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
* { -webkit-tap-highlight-color: transparent; }

/* ---------- XXL – Large Desktops (1400px+) ---------- */
@media (min-width: 1400px) {
  :root { --max-w: 1320px; }
  .hero-grid { grid-template-columns: 1fr 480px; gap: 80px; }
  .hero h1 { font-size: 3.8rem; }
}

/* ---------- XL – Laptops (max 1200px) ---------- */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1fr 400px; gap: 48px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 28px; }
}

/* ---------- Large – Small Laptops (max 968px) ---------- */
@media (max-width: 968px) {
  /* Hero: collapse to single column */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-content { max-width: 100%; text-align: center; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead { font-size: 1rem; }
  .hero-label { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-form-box {
    width: 100%;
    max-width: 520px;
    margin: 2rem auto 0;
  }

  /* Grids */
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Blog */
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  /* Areas */
  .areas-grid { grid-template-columns: repeat(3, 1fr); }

  /* Feature grid */
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Medium – Tablets (max 768px) ---------- */
@media (max-width: 768px) {
  /* Base font */
  html { font-size: 15px; }

  /* Section spacing */
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }

  /* Typography */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  /* ── Navigation ── */
  .hamburger {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .hamburger span { width: 26px; height: 2.5px; }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 100px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  /* Nav overlay (injected by JS) */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 998;
    backdrop-filter: blur(2px);
  }
  .nav-overlay.visible { display: block; }

  .nav-links a {
    color: var(--text) !important;
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius);
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-links a:hover { background: var(--bg-alt); }
  .nav-cta {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
  }

  /* Animated hamburger */
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* ── Hero ── */
  .hero-inner { padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(1.6rem, 5vw, 2rem); }
  .hero p.lead { font-size: 1rem; }
  .hero-stats { gap: 20px; justify-content: center; }

  /* ── Grids ── */
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; gap: 24px; }

  /* ── Trust bar ── */
  .trust-inner { gap: 20px; }
  .trust-divider { display: none; }

  /* ── Blog ── */
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }

  /* ── Areas ── */
  .areas-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .footer-accred { justify-content: flex-start; }

  /* ── Contact ── */
  .contact-form-wrap { padding: 32px 24px; }
  .contact-info-box { padding: 32px 24px; }

  /* ── Sticky CTA ── */
  .sticky-cta { display: flex; }

  /* ── Feature grid ── */
  .feature-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── CTA section ── */
  .cta-section { padding: 56px 0; }

  /* ── Page hero ── */
  .page-hero { padding: 100px 0 48px; }
  .page-hero p { font-size: 1rem; }

  /* ── Article ── */
  .article-header h1 { font-size: 1.75rem; }
}

/* ---------- Small – Mobile Landscape (max 600px) ---------- */
@media (max-width: 600px) {
  /* Section spacing */
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* ── Hero ── */
  .hero-inner { padding: 90px 0 48px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p.lead { font-size: .9rem; }
  .hero-form-box { padding: 1.25rem; margin: 1.5rem auto 0; }
  .form-box-title { font-size: 1.15rem; }
  .hero-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
  }
  .hero-badge { font-size: .75rem; padding: .4rem .8rem; }
  .hero-stat strong { font-size: 1.6rem; }

  /* ── HubSpot form ── */
  .hs-form-field { margin-bottom: .75rem !important; }
  .hs-form input[type="text"],
  .hs-form input[type="email"],
  .hs-form input[type="phone"],
  .hs-form textarea,
  .hs-form select {
    padding: .65rem .75rem !important;
    font-size: 16px !important; /* prevents iOS zoom */
  }
  .hs-form .hs-button {
    width: 100% !important;
    padding: .75rem !important;
    font-size: 1rem !important;
  }
  .hs-form label { font-size: .9rem !important; }

  /* ── Buttons ── */
  .btn {
    min-height: 44px;
    font-size: .9rem;
    padding: .75rem 1.5rem;
  }
  .hero .btn { display: block; width: 100%; margin: .5rem 0; text-align: center; }

  /* ── Grids ── */
  .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-4 { grid-template-columns: 1fr; gap: 1rem; }

  /* ── Service card ── */
  .service-card { padding: 1.25rem; }
  .service-icon { width: 50px; height: 50px; font-size: 2rem; }
  .service-card h3 { font-size: 1.1rem; }

  /* ── Review / testimonial ── */
  .review-card { padding: 20px; }

  /* ── Blog ── */
  .blog-grid { grid-template-columns: 1fr; }
  .card-title { font-size: 1.1rem; }
  .card-body { padding: 20px; }

  /* ── Blog article ── */
  .article-header h1 { font-size: 1.5rem; }
  .article-content h2 { font-size: 1.25rem; }
  .article-content h3 { font-size: 1.1rem; }

  /* ── FAQ ── */
  .faq-item { margin-bottom: .75rem; }
  .faq-question { padding: 1rem 1.1rem; font-size: .95rem; line-height: 1.4; }
  .faq-answer-inner { padding: .75rem 1.1rem; }
  .faq-icon { width: 20px; height: 20px; }

  /* ── Section headers ── */
  .section-title { font-size: 1.5rem; }
  .section-intro { font-size: .95rem; margin-bottom: 1.75rem; }
  .section-header { margin-bottom: 2rem; }

  /* ── CTA ── */
  .cta-section { padding: 2.5rem 0; }
  .cta-section h2 { font-size: 1.3rem; }
  .cta-section p { font-size: 1rem; margin-bottom: 1.5rem; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-accred { justify-content: flex-start; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; gap: 10px; flex-wrap: wrap; }

  /* ── Contact ── */
  .contact-form-wrap { padding: 1.25rem; }
  .contact-info-box { padding: 1.25rem; }

  /* ── Feature items ── */
  .feature-grid { grid-template-columns: 1fr; }

  /* ── Tables ── */
  table { display: block; overflow-x: auto; white-space: nowrap; }

  /* ── Areas chip ── */
  .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .area-chip { padding: 10px 12px; font-size: .85rem; }

  /* ── Process steps ── */
  .process-step { gap: 16px; }
  .step-number { width: 44px; height: 44px; font-size: 1.1rem; }

  /* ── Trust bar ── */
  .trust-item { font-size: .82rem; }
  .trust-inner { gap: 14px; justify-content: flex-start; }

  /* ── Page hero ── */
  .page-hero { padding: 90px 0 40px; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero p { font-size: .95rem; }
}

/* ---------- XS – Mobile Portrait (max 480px) ---------- */
@media (max-width: 480px) {
  /* Base font */
  html { font-size: 14px; }

  .container { padding: 0 14px; }
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 1.75rem; }

  /* ── Typography ── */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  p { font-size: .95rem; line-height: 1.65; }

  /* ── Hero ── */
  .hero-inner { padding: 80px 0 40px; }
  .hero h1 { font-size: 1.25rem; }
  .hero p.lead { font-size: .88rem; }
  .hero-form-box { padding: 1rem; }
  .form-box-title { font-size: 1.1rem; }
  .hero-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
  .hero-badge { font-size: .7rem; padding: .35rem .7rem; }
  .hero-stats { gap: 16px; }
  .hero-stat strong { font-size: 1.4rem; }
  .hero-stat span { font-size: .8rem; }

  /* ── HubSpot inputs ── */
  .hs-form input[type="text"],
  .hs-form input[type="email"],
  .hs-form input[type="phone"],
  .hs-form textarea,
  .hs-form select { padding: .6rem !important; font-size: 16px !important; }
  .hs-form .hs-button { padding: .7rem 1rem !important; }

  /* ── Navigation ── */
  .nav-links { width: 100%; }

  /* ── Areas grid ── */
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .area-chip { padding: 8px 10px; font-size: .82rem; }

  /* ── Footer ── */
  .footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .accred-badge { font-size: .72rem; padding: 4px 10px; }

  /* ── Blog card ── */
  .card-body { padding: 16px; }
  .card-title { font-size: 1rem; }
  .card-text { font-size: .88rem; }

  /* ── Team card ── */
  .team-body { padding: 16px; }
  .team-name { font-size: 1.1rem; }

  /* ── Review card ── */
  .review-card { padding: 16px; }
  .review-text { font-size: .9rem; }

  /* ── Sticky CTA buttons ── */
  .sticky-cta .btn { font-size: .82rem; padding: 10px; }

  /* ── Back to top ── */
  .back-to-top { bottom: 76px; right: 16px; width: 40px; height: 40px; }

  /* ── Contact ── */
  .contact-form-wrap,
  .contact-info-box { padding: 1rem; }
  .contact-info-item { gap: 12px; }
  .contact-info-icon { width: 36px; height: 36px; }

  /* ── Map ── */
  .map-placeholder { height: 260px; }
}
