/* ===========================================================
   TMH Quality Construction — Styles
   Mobile-first. Edit tokens at the top to retheme.
   =========================================================== */

:root {
  /* === Brand Colours (official TMH guidelines) === */
  --orange: #E8600A;            /* Construction Orange - primary */
  --orange-dark: #c44f00;       /* Darker tint for hover/pressed */
  --orange-soft: #fdebdc;       /* 8% tint for icon backgrounds */
  --orange-tint: #fbd2b0;       /* 25% tint for highlights */

  /* === Neutrals === */
  --bg: #ffffff;                /* Clean White - main background */
  --bg-alt: #f5f5f5;            /* Light Grey - section dividers */
  --surface: #ffffff;           /* Card backgrounds */
  --ink: #1a1a1a;               /* Charcoal Black - headings */
  --ink-soft: #333333;           /* Slightly softer than ink for sub-headings */
  --muted: #555555;              /* Body Grey - body text */
  --line: #e0e0e0;               /* Mid Grey - borders */
  --line-strong: #cccccc;        /* Stronger border for emphasis */

  --dark: #1a1a1a;

  --font-display: 'Archivo Black', 'Impact', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 20, 20, 0.04), 0 2px 6px rgba(20, 20, 20, 0.04);
  --shadow-md: 0 6px 18px rgba(20, 20, 20, 0.06), 0 2px 4px rgba(20, 20, 20, 0.04);
  --shadow-lg: 0 18px 40px rgba(20, 20, 20, 0.08), 0 4px 10px rgba(20, 20, 20, 0.05);
  --shadow-orange: 0 10px 24px rgba(232, 96, 10, 0.28);

  /* Sticky header offset for anchor links — accounts for header height
     plus a bit of breathing room so headings aren't flush against it. */
  --header-offset: 110px;
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-offset);
  overflow-x: hidden; /* fallback for older browsers */
  overflow-x: clip;    /* modern - preserves sticky positioning */
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: 0; }

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

/* Apply scroll-margin to every section with an id (belt + braces) */
section[id], main[id] { scroll-margin-top: var(--header-offset); }

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  max-width: 100%;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 15px 28px; font-size: 1rem; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--orange-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--orange-soft); color: var(--orange-dark); }
.btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-text-orange {
  color: var(--orange);
  font-weight: 600;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.92rem;
}
.btn-text-orange:hover { color: var(--orange-dark); }

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-icon:hover {
  color: var(--ink);
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}
.btn-icon-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--bg);
}
.btn-icon-ico-fb { background: #1877f2; color: #fff; }

/* Secondary CTA line (replaces second button) */
.cta-secondary {
  margin: 12px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.cta-secondary a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}
.cta-secondary a:hover { color: var(--orange); border-color: var(--orange); }
.cta-secondary-light { color: rgba(255,255,255,0.7); }
.cta-secondary-light a { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-secondary-light a:hover { color: var(--orange-tint); border-color: var(--orange-tint); }

/* Send button on quiz — never overflow mobile */
.btn-send {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding: 14px 22px;
}
.btn-send span { word-break: keep-all; }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.eyebrow-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--orange-soft);
  flex-shrink: 0;
}
.eyebrow-light { color: rgba(255,255,255,0.7); }
.eyebrow-light .eyebrow-dot { box-shadow: 0 0 0 4px rgba(232,96,10,0.3); }

/* ===== Sections ===== */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-header .eyebrow { justify-content: center; }
.section-sub { font-size: 1.1rem; color: var(--muted); margin: 18px 0 0; }
.section-header-light { color: #fff; }
.h2-light { color: #fff; }
.section-sub-light { color: rgba(255,255,255,0.75); }
.section-sub-light a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .2s ease;
}
/* Header colour stays consistent across scroll states */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  flex-shrink: 0;
}
.brand:hover { color: #fff; }
.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  flex-shrink: 0;
}
.brand-mark {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mix-blend-mode: lighten; /* hides white edges against dark header */
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text-top {
  font-family: var(--font-display);
  font-size: 1.37rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.brand-text-bottom {
  font-size: 0.81rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.site-nav ul { display: flex; gap: 24px; }
.site-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover { color: var(--orange); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }

  .site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
    animation: slideDown .25s ease;
  }
  .site-nav.is-open ul { flex-direction: column; gap: 0; }
  .site-nav.is-open a {
    display: block;
    padding: 16px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
  }
  .site-nav.is-open a:last-child { border-bottom: none; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .brand-text-bottom { display: none; }
  .header-cta .btn { padding: 8px 14px; font-size: 0.8rem; }
  .header-cta .btn svg { width: 14px; height: 14px; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 10vw, 130px);
  min-height: 580px;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* Hero background image: construction projects and outdoor work by TMH Quality Construction in Mansfield */
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("images/construction-projects-mansfield-tmh-quality-construction.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Dark gradient overlay with brand orange wash - text reads clearly, image keeps warmth */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0.4) 50%, rgba(20, 20, 20, 0.75) 100%),
    linear-gradient(135deg, rgba(232, 96, 10, 0.5) 0%, rgba(232, 96, 10, 0.2) 45%, rgba(20, 20, 20, 0.55) 100%);
}
.hero-bg-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,96,10,0.3) 0%, transparent 60%);
  filter: blur(20px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}
.hero-copy {
  max-width: 720px;
  margin: 0 auto;
}
.hero-copy .eyebrow { justify-content: center; }
.hero-trust { justify-content: center; }
.hero-ctas { align-items: center; text-align: center; }
.hero-ctas .cta-secondary { text-align: center; }

@media (max-width: 900px) {
  .hero {
    min-height: 540px;
    padding: clamp(50px, 9vw, 80px) 0 clamp(70px, 10vw, 110px);
  }
  .hero-bg-image { background-position: center; }
  .hero-bg-overlay {
    background:
      linear-gradient(to bottom,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.82) 30%,
        rgba(0, 0, 0, 0.72) 55%,
        rgba(0, 0, 0, 0.82) 80%,
        rgba(0, 0, 0, 0.95) 100%);
  }
  .hero-copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-ctas { align-items: center; text-align: center; }
  .hero-ctas .cta-secondary { text-align: center; }
  .about-ctas { align-items: center; text-align: center; }
  .about-ctas .cta-secondary { text-align: center; }
  .cta-banner-actions { align-items: center; text-align: center; }
  .cta-banner-actions .cta-secondary { text-align: center; }
}

.hero-title {
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  margin-bottom: 22px;
  line-height: 1.15;
}
.hero-title .accent {
  color: var(--orange);
  white-space: nowrap;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 540px;
}
@media (max-width: 900px) {
  .hero-sub { margin-left: auto; margin-right: auto; }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 auto 32px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
  justify-content: center;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { color: var(--orange); flex-shrink: 0; }

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Hero image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-wrap {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
  isolation: isolate;
}
.hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: calc(var(--radius-lg) + 10px);
  background: conic-gradient(from 180deg, var(--orange), transparent 35%, transparent 60%, var(--orange) 100%);
  filter: blur(8px);
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 8px 14px 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  max-width: calc(100% - 28px);
}
.hero-image-badge img {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.hero-image-badge strong { display: block; font-size: 0.85rem; line-height: 1.2; white-space: nowrap; }
.hero-image-badge span { display: block; font-size: 0.72rem; color: var(--muted); white-space: nowrap; }

/* 5-star overlay top-right */
.hero-stars {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 8px 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.hero-stars-icons {
  display: inline-flex;
  gap: 2px;
  color: #f5b50a;
  line-height: 0;
}
.hero-stars span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 520px) {
  .hero-image-wrap { width: min(80vw, 320px); margin: 0 auto; }
}

/* Scroll prompt */
.scroll-prompt {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}
.scroll-prompt:hover { color: var(--orange-dark); }
.scroll-prompt-arrow {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-soft);
  align-items: center;
  justify-content: center;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-prompt-arrow { animation: none; }
}
@media (max-width: 900px) {
  .scroll-prompt {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 12px auto 0;
  }
}

/* ===========================================================
   TRUST STRIP — properly aligned on mobile
   =========================================================== */
.trust-strip {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 36px 0;
}

/* Two-column grid on mobile keeps icons + text aligned;
   collapses to a centred row on desktop. */
.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin-bottom: 22px;
}
.trust-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.35;
}
.trust-ico {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 8px;
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .trust-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 28px;
  }
  .trust-points li { font-size: 0.92rem; }
}

/* ===========================================================
   SOCIAL MARQUEE — replaces static trust badges
   =========================================================== */
.social-marquee {
  margin-top: 0;
  padding-top: 0;
  position: relative;
  overflow: hidden;
  /* Fade edges so chips don't pop in/out abruptly */
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.social-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.social-marquee:hover .social-marquee-track {
  animation-play-state: paused;
}
.social-marquee-group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .social-marquee-track { animation: none; }
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: 0.85;
}
.social-chip:hover {
  opacity: 1;
  transform: translateY(-1px);
  color: #fff;
}
.social-chip-ico {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-chip-ico svg { width: 26px; height: 26px; }
.social-chip-ico-trust {
  background: rgba(255,255,255,0.08);
  color: var(--orange);
}
.social-chip strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: #fff;
}
.social-chip em {
  display: block;
  font-style: normal;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* ===========================================================
   SERVICES
   =========================================================== */
.services { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: auto -50% -60% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--orange-soft) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-tint);
}
.service-card:hover::before { opacity: 1; }

/* Animated underline that draws from left to right on hover */
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #E8600A 0%, #ff8a3d 60%, #E8600A 100%);
  transition: width .55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.service-card:hover::after { width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .service-card::after { transition: none; }
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.service-card h3,
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.25;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
  flex: 1;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 4px 0;
  margin-top: 8px;
  align-self: flex-start;
  transition: gap .15s ease, color .15s ease;
}
.service-cta:hover { gap: 12px; color: var(--orange-dark); }

/* ===========================================================
   PROJECTS — real photos
   =========================================================== */
.projects { background: var(--bg-alt); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.project-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-alt);
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.project-card:hover .project-img img { transform: scale(1.04); }
.project-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

.project-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
  margin-bottom: 4px;
}
.project-card h3,
.project-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.25;
}
.project-area {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-area::before { content: "📍"; font-size: 0.85rem; }
.project-result {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 8px 0 12px;
  flex: 1;
}

/* ===========================================================
   ABOUT
   =========================================================== */
.about {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Subtle grid pattern */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(26,26,26,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(26,26,26,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
/* Orange glow accent top-left */
.about::after {
  content: "";
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,96,10,0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.about > .container { position: relative; z-index: 1; }
/* Optional decorative orange shape on the right side */
.about-decor {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.04;
  z-index: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
.about-copy h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: 20px;
}
.about-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 18px;
}
.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin: 28px 0 32px;
}
.about-points li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 4px;
  transform: rotate(45deg);
}
.about-points strong { color: var(--ink); font-weight: 700; }
.about-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.about-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(232,96,10,0.4), transparent 70%);
}
.about-card-stat { position: relative; margin-bottom: 24px; }
.stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 8px;
}
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.7); }
.about-card hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 0 0 18px;
}
.about-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.about-card-row:last-child { border-bottom: none; }
.about-card-row span { color: rgba(255,255,255,0.65); }
.about-card-row strong { font-weight: 600; }

/* ===========================================================
   QUOTE QUIZ
   =========================================================== */
.quiz {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.quiz::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,96,10,0.10), transparent 60%);
  pointer-events: none;
}
.quiz::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,96,10,0.08), transparent 60%);
  pointer-events: none;
}
/* Re-style the "light" variants for the new light background */
.quiz .eyebrow-light { color: var(--muted); }

.quiz .h2-light { color: var(--ink); }
.quiz .section-sub-light { color: var(--muted); }
.quiz .section-sub-light a {
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
}

.quiz-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 520px) {
  .quiz-card { padding: 24px 18px; }
}

.quiz-progress {
  height: 6px;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 10px;
}
.quiz-progress-bar {
  height: 100%;
  width: 16.66%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: var(--radius-pill);
  transition: width .35s ease;
}
.quiz-step-count {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.quiz-step { display: none; animation: fadeIn .3s ease; }
.quiz-step.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.quiz-q {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 22px;
  color: var(--ink);
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.quiz-option {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 16px 20px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
  position: relative;
}
.quiz-option:hover { border-color: var(--orange); background: var(--orange-soft); }
.quiz-option::after {
  content: "";
  width: 18px; height: 18px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  margin-left: auto;
  transition: border-color .15s ease, background .15s ease;
  flex-shrink: 0;
}
.quiz-option.is-selected {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.quiz-option.is-selected::after {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: inset 0 0 0 4px #fff;
}

.quiz-input,
.quiz-fields input,
.quiz-fields textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.quiz-input:focus,
.quiz-fields input:focus,
.quiz-fields textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.quiz-hint { font-size: 0.85rem; color: var(--muted); margin: 10px 4px 0; }
.quiz-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quiz-field { display: flex; flex-direction: column; gap: 6px; }
.quiz-field:nth-child(3),
.quiz-field:nth-child(4) { grid-column: 1 / -1; }
.quiz-field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.quiz-field .optional { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
@media (max-width: 520px) {
  .quiz-fields { grid-template-columns: 1fr; }
  .quiz-field:nth-child(3), .quiz-field:nth-child(4) { grid-column: auto; }
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
}
/* Next button = orange outline, so users can clearly distinguish it from
   the final "Send to WhatsApp" filled button. */
#quizNext {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
  box-shadow: none;
}
#quizNext:hover {
  background: var(--orange-soft);
  color: var(--orange-dark);
}
#quizSend {
  /* Make the final action button look like the real Submit */
  background: var(--orange);
  color: #fff;
}
@media (max-width: 480px) {
  .quiz-nav {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .quiz-nav .btn { width: 100%; }
}

/* ===========================================================
   REVIEWS — real
   =========================================================== */
.reviews { background: var(--bg); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 32px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-stars { color: #f5b50a; display: inline-flex; gap: 2px; }
.review-text {
  color: var(--ink);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 0.95rem; }
.review-meta { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

.reviews-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===========================================================
   CTA BANNER
   =========================================================== */
.cta-banner {
  background: var(--ink);
  color: #fff;
  padding: clamp(50px, 7vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,96,10,0.25), transparent 60%);
}
.cta-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .cta-banner-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-banner-actions { align-items: center; }
}
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin: 0;
}
.cta-banner-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/* ===========================================================
   AREAS COVERED — map + list
   =========================================================== */
.areas { background: var(--bg-alt); }
.areas-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr; gap: 32px; }
}
.areas-map {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
.areas-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 900px) {
  .areas-map { aspect-ratio: 16 / 12; min-height: 280px; }
}
.areas-list-wrap h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 20px;
}
.areas-list li {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.areas-note { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ===========================================================
   FAQ
   =========================================================== */
.faq { background: var(--bg); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: var(--orange-tint);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange); }
.faq-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-content {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  animation: fadeIn .25s ease;
}
.faq-content p { margin: 0; }
.faq-content a {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid var(--orange-tint);
}
.faq-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
@media (max-width: 520px) {
  .faq-item summary { padding: 18px 18px; font-size: 0.98rem; }
  .faq-content { padding: 0 18px 20px; }
}

/* ===========================================================
   CONTACT
   =========================================================== */
.contact { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.contact-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.contact-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-tint);
  color: var(--ink);
}
.contact-tile-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--orange-soft);
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.contact-tile-ico-plain { background: transparent; padding: 0; }
.contact-tile-ico-plain img { width: 26px; height: 26px; }
.contact-tile strong { font-size: 0.98rem; }
.contact-tile span {
  font-size: 0.88rem;
  color: var(--muted);
  word-break: break-word;
}
.contact-tile-accent {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.contact-tile-accent:hover { color: #fff; }
.contact-tile-accent strong,
.contact-tile-accent span { color: #fff; }
.contact-tile-accent span { opacity: 0.9; }
.contact-tile-accent .contact-tile-ico {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.footer-brand-row img { border-radius: 8px; }
.footer-brand-row strong {
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  display: block;
  font-weight: 400;
}
.footer-brand-row span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-tagline {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
  line-height: 1.55;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.footer-socials a:hover {
  background: #1877f2;
  color: #fff;
  transform: translateY(-2px);
}
.footer-socials svg { display: block; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li {
  font-size: 0.9rem;
  padding: 4px 0;
}
.footer-col a { color: rgba(255,255,255,0.7); transition: color .15s ease; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom p { margin: 0; }
.footer-privacy { max-width: 460px; text-align: right; }
.footer-privacy a {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 1px;
}
.footer-privacy a:hover {
  color: var(--orange);
  border-color: var(--orange);
}
.footer-privacy-sep {
  margin: 0 8px;
  color: rgba(255,255,255,0.3);
}
@media (max-width: 600px) {
  .footer-privacy { text-align: left; }
}

/* ===========================================================
   FLOATING WHATSAPP
   =========================================================== */
.whatsapp-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 14px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-orange), 0 4px 14px rgba(0,0,0,0.15);
  transition: transform .2s ease, background .2s ease;
}
.whatsapp-floating:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
}
.whatsapp-floating svg {
  flex-shrink: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  padding: 4px;
  width: 34px;
  height: 34px;
}
.whatsapp-floating::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: var(--orange);
  opacity: 0.25;
  z-index: -1;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.25; }
  50% { transform: scale(1.08); opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-floating-text { display: none; }
  .whatsapp-floating { padding: 12px; }
  .whatsapp-floating svg { width: 28px; height: 28px; padding: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-floating::before { animation: none; }
}

/* ===========================================================
   FOCUS — accessibility
   =========================================================== */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ===========================================================
   v3 UPDATES — Brand-aligned changes
   =========================================================== */

/* H1 styled like an eyebrow — Mansfield · Nottinghamshire is the page H1 for SEO,
   but visually it should look like the small contextual line, not a giant heading. */
.eyebrow-h1 {
  display: inline-flex;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
  line-height: 1.2;
}

/* Header offset must include the SEO bar too */
:root { --header-offset: 120px; }

/* Hero image — ensure it's visible above any pseudo-glow and properly contained on mobile */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  isolation: isolate; /* creates stacking context so ::before glow stays behind */
  width: 100%;
  max-width: 100%;
  overflow: visible;
}
.hero-image-wrap {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

/* Centred service grid - now uses proper 3/2/1 column layout above */
.services-grid .service-card {
  width: 100%;
}

/* Centred reviews grid */
.reviews-grid {
  justify-content: center;
}
.reviews-grid .review-card {
  max-width: 420px;
  width: 100%;
}

/* Hero CTAs - centred on mobile */
@media (max-width: 900px) {
  .hero-ctas,
  .about-ctas,
  .cta-banner-actions {
    align-items: center !important;
    text-align: center !important;
  }
  .hero-ctas .btn,
  .about-ctas .btn,
  .cta-banner-actions .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas .cta-secondary,
  .about-ctas .cta-secondary,
  .cta-banner-actions .cta-secondary {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Animated underline on "local homeowners" in reviews heading */
.underline-accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}
.underline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: var(--orange);
  border-radius: 2px;
  transform-origin: left;
  animation: underlineDraw 2.4s ease-in-out infinite;
}
@keyframes underlineDraw {
  0%   { transform: scaleX(0); opacity: 0.6; }
  50%  { transform: scaleX(1); opacity: 1;   }
  100% { transform: scaleX(0); transform-origin: right; opacity: 0.6; }
}
@media (prefers-reduced-motion: reduce) {
  .underline-accent::after { animation: none; transform: scaleX(1); }
}

/* About section - new layout (no grid, single column) */
.about { padding-top: clamp(40px, 6vw, 70px); }
.about .container { max-width: 920px; }
.about-copy {
  text-align: center;
  margin: 0 auto 40px;
}
.about-copy .eyebrow { justify-content: center; }
.about-copy h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-bottom: 20px;
  font-style: italic;
}
.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto 18px;
  max-width: 640px;
}
.about-closer {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  color: var(--ink) !important;
  margin-top: 24px !important;
}
.about-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 28px;
}

/* ===========================================================
   PROCESS SECTION — dark bg, punchy contrast
   =========================================================== */
.process {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 35%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.process::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,96,10,0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.process > .container { position: relative; z-index: 1; }
.process h2 { color: #fff; }
.process .section-sub { color: rgba(255,255,255,0.7); }
.process .eyebrow { color: rgba(255,255,255,0.65); }


/* Old how-it-works wrapper container (used elsewhere) */
.how-it-works {
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  position: relative;
  overflow: visible;
}
.how-it-works > * { position: relative; z-index: 1; }
.how-it-works .eyebrow { justify-content: flex-start; }
.how-it-works-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 40px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}
/* Animated progress line that fills in as user scrolls */
.how-steps::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  height: 2px;
  width: 0;
  background: var(--orange);
  z-index: 0;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.2s;
}
.how-steps.is-in-view::after { width: 84%; }

.how-step {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.how-steps.is-in-view .how-step { opacity: 1; transform: translateY(0); }
.how-steps.is-in-view .how-step:nth-child(1) { transition-delay: 0.10s; }
.how-steps.is-in-view .how-step:nth-child(2) { transition-delay: 0.30s; }
.how-steps.is-in-view .how-step:nth-child(3) { transition-delay: 0.50s; }
.how-steps.is-in-view .how-step:nth-child(4) { transition-delay: 0.70s; }

.how-step-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--orange);
  color: #fff;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 12px 30px rgba(232, 96, 10, 0.35);
}
.how-step-num svg { width: 28px; height: 28px; }
.how-step-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border: 2px solid var(--ink);
}
.how-step h4,
.how-step .how-step-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}
.how-step > p,
.how-step .how-step-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}
@media (prefers-reduced-motion: reduce) {
  .how-step { opacity: 1; transform: none; transition: none; }
  .how-steps::after { width: 84%; transition: none; }
}
@media (max-width: 768px) {
  /* Switch to a vertical timeline on mobile */
  .how-steps {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 420px;
    margin: 0 auto;
    padding-left: 0;
    position: relative;
  }
  /* Vertical timeline line down the left side */
  .how-steps::before {
    display: block;
    top: 36px;
    bottom: 36px;
    left: 36px;
    right: auto;
    width: 2px;
    height: auto;
    background: rgba(255,255,255,0.15);
    z-index: 0;
  }
  /* Vertical orange fill that animates as section scrolls in */
  .how-steps::after {
    display: block;
    top: 36px;
    left: 36px;
    width: 2px;
    height: 0;
    background: var(--orange);
    transition: height 2s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.2s;
  }
  .how-steps.is-in-view::after {
    width: 2px;
    height: calc(100% - 72px);
  }

  /* Each step is laid out as icon-on-left, text-on-right */
  .how-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto;
    column-gap: 18px;
    row-gap: 4px;
    align-items: start;
    text-align: left;
    transform: translateX(-15px);
  }
  .how-steps.is-in-view .how-step { transform: translateX(0); }
  .how-step-num {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    grid-row: 1 / span 2;
    grid-column: 1;
    align-self: start;
  }
  .how-step h4,
  .how-step .how-step-title {
    grid-column: 2;
    grid-row: 1;
    padding-top: 12px;
    margin-bottom: 4px;
  }
  .how-step > p,
  .how-step .how-step-desc {
    grid-column: 2;
    grid-row: 2;
  }
}
@media (max-width: 480px) {
  .how-steps { padding-left: 6px; }
}

/* WhatsApp icon — official green */
.whatsapp-floating {
  background: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28), 0 4px 14px rgba(0,0,0,0.15);
}
.whatsapp-floating:hover { background: #1ebe5d; }
.whatsapp-floating::before { background: #25d366; }

/* WhatsApp contact tile icon - keep brand neutral but show whatsapp green */
.contact-tile-ico-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
}

/* Footer brand logo — transparent (no white card behind it) */
.footer-brand-row img {
  border-radius: 50%;
  background: transparent;
  mix-blend-mode: lighten;
}

/* Footer Facebook hover - keep correct blue */
.footer-socials a:hover { background: #1877f2; }

/* Mobile horizontal-scroll safety net for any wide elements */
.hero,
.section,
.cta-banner,
.site-footer { overflow-x: clip; }

/* Tighten hero on mobile */
@media (max-width: 520px) {
  .hero-visual { padding: 0 8px; }
}

/* On mobile, all .container has guaranteed padding */
@media (max-width: 720px) {
  .container { padding-left: 18px; padding-right: 18px; }
}

/* ===========================================================
   v4 UPDATES
   =========================================================== */

/* Tighter section padding overall — sections closer together */
.section { padding: clamp(48px, 7vw, 90px) 0; }

/* Hero - larger headline on mobile */
@media (max-width: 600px) {
  .hero-title { font-size: clamp(1.85rem, 7vw, 2.4rem); line-height: 1.15; }
}

/* Service cards - scroll reveal + click pulse */
.service-card,
.review-card,
.project-card {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(4px);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s ease,
    box-shadow .2s ease,
    border-color .2s ease;
  will-change: opacity, transform, filter;
}
.service-card.is-in-view,
.review-card.is-in-view,
.project-card.is-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger reveal for grids - longer gaps for clearer one-after-the-other feel */
.services-grid .service-card:nth-child(1).is-in-view,
.projects-grid .project-card:nth-child(1).is-in-view { transition-delay: 0.05s; }
.services-grid .service-card:nth-child(2).is-in-view,
.projects-grid .project-card:nth-child(2).is-in-view { transition-delay: 0.20s; }
.services-grid .service-card:nth-child(3).is-in-view,
.projects-grid .project-card:nth-child(3).is-in-view { transition-delay: 0.35s; }
.services-grid .service-card:nth-child(4).is-in-view,
.projects-grid .project-card:nth-child(4).is-in-view { transition-delay: 0.50s; }
.services-grid .service-card:nth-child(5).is-in-view { transition-delay: 0.65s; }
.services-grid .service-card:nth-child(6).is-in-view { transition-delay: 0.80s; }

/* Click animation on service cards */
.service-card { cursor: default; transform-origin: center; }
.service-card.is-pulsing {
  animation: cardPulse 0.4s ease;
}
@keyframes cardPulse {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 40px rgba(232,96,10,0.18); }
  100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .review-card, .project-card {
    opacity: 1; transform: none; transition: none;
  }
  .service-card.is-pulsing { animation: none; }
}

/* Tighter social marquee */
.social-marquee {
  margin-top: 14px;
  padding-top: 14px;
}
.social-marquee-track { animation-duration: 38s; }
.social-marquee-group { gap: 32px; padding-right: 32px; }

/* No borders on dark bg */
.social-marquee {
  position: relative;
  padding: 8px 0;
}

/* Reviews — horizontal scrolling carousel */
.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 16px;
}
.reviews-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px 12px;
  outline: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track .review-card {
  flex: 0 0 calc(50% - 9px);
  min-width: 0;
  scroll-snap-align: start;
}
@media (max-width: 760px) {
  .reviews-track .review-card { flex: 0 0 calc(100% - 8px); }
}
.reviews-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  align-self: center;
  cursor: pointer;
}
.reviews-nav:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: scale(1.04);
}
.reviews-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.reviews-nav:disabled:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
@media (max-width: 520px) {
  .reviews-carousel { grid-template-columns: 1fr; gap: 8px; }
  .reviews-nav { display: none; }
}

/* Reviews dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.reviews-dot:hover { background: var(--orange); }
.reviews-dot.is-active {
  background: var(--orange);
  transform: scale(1.4);
}

/* Footer social icons - branded colours on hover */
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-socials a:hover { transform: translateY(-2px); color: #fff; }
.footer-social-fb:hover { background: #1877f2; }
.footer-social-wa:hover { background: #25d366; }
.footer-socials a:not(.footer-social-fb):not(.footer-social-wa):hover { background: var(--orange); }


/* ===========================================================
   HERO TEXT - colour overrides for image background
   =========================================================== */
.hero .eyebrow-h1 {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero .eyebrow-h1 .eyebrow-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(232,96,10,0.35);
}
.hero .hero-title {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero .hero-trust { color: #fff; }
.hero .hero-trust li {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero .hero-trust li svg { color: var(--orange); }
.hero .cta-secondary {
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.hero .cta-secondary a {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.hero .cta-secondary a:hover {
  color: var(--orange-tint);
  border-color: var(--orange-tint);
}
.hero .scroll-prompt { color: #fff; }
.hero .scroll-prompt-text { color: rgba(255,255,255,0.85); }
.hero .scroll-prompt-arrow {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Footer follow label + Instagram social */
.footer-follow-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 18px 0 10px;
}
.footer-social-ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
}

/* Dark-section eyebrow — keep text readable on dark backgrounds */
.process .eyebrow,
.trust-strip .eyebrow,
.cta-banner .eyebrow {
  color: rgba(255,255,255,0.85);
}
.process .eyebrow .eyebrow-dot,
.trust-strip .eyebrow .eyebrow-dot,
.cta-banner .eyebrow .eyebrow-dot {
  box-shadow: 0 0 0 4px rgba(232,96,10,0.3);
}

/* Facebook 5-star badge in About section */
.about-fb-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 28px;
  padding: 0;
  background: transparent;
  border: 0;
  transition: transform .25s ease, filter .25s ease;
}
.about-fb-badge:hover {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 6px 16px rgba(24,119,242,0.25));
}
.about-fb-badge img {
  width: clamp(160px, 22vw, 200px);
  height: auto;
  display: block;
  background: transparent;
}

/* CTA banner with image overlay */
.cta-banner-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta-banner-image-layer {
  position: absolute;
  inset: 0;
  background-image: url("images/driveway-paving-mansfield-tmh-quality-construction.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.78) 45%, rgba(20,20,20,0.55) 80%, rgba(20,20,20,0.4) 100%),
    linear-gradient(to bottom, rgba(20,20,20,0.3) 0%, rgba(20,20,20,0.1) 50%, rgba(20,20,20,0.55) 100%);
}
.cta-banner-image .container { position: relative; z-index: 1; }
.cta-banner-image h2,
.cta-banner-image p {
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
@media (max-width: 768px) {
  .cta-banner-image-layer { background-position: center right; }
  .cta-banner-overlay {
    background:
      linear-gradient(to bottom,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.85) 35%,
        rgba(0, 0, 0, 0.78) 65%,
        rgba(0, 0, 0, 0.92) 100%);
  }
}

/* Hero coverage line + closer (new layered hero copy) */
.hero-coverage {
  font-size: clamp(0.98rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 6px auto 22px;
  line-height: 1.5;
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
@media (max-width: 900px) {
  .hero-coverage { max-width: 100%; }
}

/* Facebook reviews button — secondary CTA in hero */
.btn-fb-reviews {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.95);
  color: #1877f2;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  margin-top: 10px;
}
.btn-fb-reviews:hover {
  background: #ffffff;
  color: #1877f2;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(24, 119, 242, 0.25);
}
.btn-fb-stars {
  display: inline-flex;
  gap: 1px;
  color: #f5b50a;
  line-height: 0;
  margin: 0 2px;
}
