/* ========================================
   DM Electrical — Shared Stylesheet
   ======================================== */

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

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- CSS Variables --- */
:root {
  /* Primary */
  --charcoal: #0E0E0E;
  --slate: #1A1A1A;
  --off-white: #FAF8F4;
  --white: #FFFFFF;

  /* Accent */
  --electric: #FD651E;
  --electric-hover: #E5550A;
  --electric-light: #FFF0E8;
  --copper: #2A9D8F;
  --copper-hover: #238A7E;

  /* Text */
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #94A3B8;

  /* Borders */
  --border-light: rgba(15,23,36,0.07);
  --border-dark: rgba(255,255,255,0.08);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Layout */
  --max-width: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.2s;

  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #FD651E, #FF8A4C);
  --gradient-dark: linear-gradient(135deg, #0E0E0E, #1A1A1A);
  --gradient-accent: linear-gradient(135deg, #FD651E, #2A9D8F);
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: 'Oswald', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.text-lg {
  font-size: 18px;
}

.text-sm {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

section {
  padding: var(--space-2xl) 0;
}

/* --- Section Label --- */
.section-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--electric);
  margin-bottom: var(--space-md);
}

/* --- Buttons --- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--electric);
  color: var(--white);
  border-color: var(--electric);
}

.btn-primary:hover {
  background: var(--electric-hover);
  border-color: var(--electric-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253, 101, 30, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--electric);
  color: var(--electric);
  transform: translateY(-2px);
}

/* Buttons on dark backgrounds */
.dark-section .btn-primary {
  color: var(--white);
}

.dark-section .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.dark-section .btn-secondary:hover {
  border-color: var(--electric);
  color: var(--electric);
}

.btn-primary svg,
.btn-secondary svg {
  width: 18px;
  height: 18px;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--electric);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:nth-child(even) {
  border-top-color: var(--copper);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Cards on dark bg */
.dark-section .card {
  background: var(--slate);
  border-color: var(--border-dark);
  border-top-color: var(--electric);
  color: var(--white);
}

.dark-section .card:nth-child(even) {
  border-top-color: var(--copper);
}

.dark-section .card p {
  color: rgba(255,255,255,0.7);
}

/* --- Card Icon --- */
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--electric-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: transform 0.3s var(--ease);
}

.card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--electric);
}

.card h3 {
  margin-bottom: var(--space-sm);
}

.card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   Top Info Bar
   ======================================== */
.top-bar {
  background: var(--charcoal);
  padding: 10px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--border-dark);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.top-bar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar a {
  color: rgba(255,255,255,0.85);
  transition: color var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--electric);
}

.top-bar svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.top-bar-center {
  display: none;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--charcoal);
  transition: top 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.scrolled {
  top: 0;
  background: rgba(14, 14, 14, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-lg);
  padding: 12px 0;
}

.nav-logo { justify-self: start; }
.nav-cta  { justify-self: end; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--duration) var(--ease);
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--electric);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--slate);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(8px);
  transition: all 0.25s var(--ease);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: all var(--duration) var(--ease);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  color: var(--white);
  background: rgba(253, 101, 30, 0.1);
  padding-left: 24px;
}

/* Logo (in flow between link groups) */
.nav-logo {
  display: flex;
  align-items: center;
  margin: 0 var(--space-lg);
}

.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  /* Logo is black-on-transparent; site nav is dark — invert to white */
  filter: brightness(0) invert(1);
}

/* CTA button (far right) */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  background: var(--electric);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all var(--duration) var(--ease);
}

.nav-cta:hover {
  background: var(--electric-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(253, 101, 30, 0.4);
  color: var(--white);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav — full-screen overlay */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--charcoal);
  padding: 100px var(--space-lg) var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  z-index: 998;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease),
              transform 0.3s var(--ease),
              visibility 0.3s var(--ease);
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mobile a {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--duration) var(--ease);
}

.nav-mobile a:hover {
  color: var(--electric);
}

.nav-mobile .nav-cta {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: var(--space-lg);
}

/* Lock background scroll while the mobile overlay is open */
body.nav-open {
  overflow: hidden;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  padding: 120px 0 var(--space-2xl);
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
}

/* Subtle dot-grid pattern (circuit board feel) */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Warm orange glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 101, 30, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero h1 span {
  color: var(--electric);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-top: calc(-1 * var(--space-sm));
  margin-bottom: var(--space-md);
}

.hero-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.hero-check-icon {
  width: 24px;
  height: 24px;
  background: var(--electric);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-check-icon svg {
  width: 14px;
  height: 14px;
  color: var(--white);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-google-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-google-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-google-logo .g-blue { color: #4285F4; }
.hero-google-logo .g-red { color: #EA4335; }
.hero-google-logo .g-yellow { color: #FBBC05; }
.hero-google-logo .g-green { color: #34A853; }

.hero-stars {
  display: flex;
  gap: 2px;
}

.hero-stars svg {
  width: 18px;
  height: 18px;
  fill: #FBBC05;
}

.hero-rating-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* ========================================
   Go-To Section (split layout)
   ======================================== */
.go-to-section {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.go-to-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.go-to-text h2 {
  margin-bottom: var(--space-lg);
}

.go-to-text .accent-bar {
  width: 60px;
  height: 4px;
  background: var(--electric);
  border-radius: 2px;
  margin-bottom: var(--space-lg);
}

.go-to-text p {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

/* ========================================
   About Snippet Section
   ======================================== */
.about-snippet {
  background: var(--off-white);
  padding: 96px 0;
}

.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.about-snippet h2 {
  margin-bottom: var(--space-lg);
}

.about-snippet p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.experience-section {
  background: var(--white);
  padding: 96px 0;
}

.experience-section h2 {
  margin-bottom: var(--space-lg);
}

.experience-section p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
}

/* ========================================
   Photo Placeholder
   ======================================== */
.photo-placeholder {
  background: var(--slate);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

/* Subtle grid pattern inside placeholder */
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.photo-placeholder svg {
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,0.15);
  position: relative;
  z-index: 1;
}

/* ========================================
   Services Grid
   ======================================== */
.services-section {
  background: var(--off-white);
  padding: 96px 0;
}

.services-section.dark-section {
  background: var(--charcoal);
  color: var(--white);
}

.services-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

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

.services-section > .container > p {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.services-section.dark-section > .container > p {
  color: rgba(255, 255, 255, 0.88);
}

/* Drop the dark border on service-image cards when the surrounding section
   is dark — the photos already provide contrast, no outline needed. */
.services-section.dark-section .card.card-image {
  border: none;
}

.cards-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

/* ========================================
   Core Values
   ======================================== */
.values-section {
  background: var(--white);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}


.values-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.values-section .section-intro {
  text-align: center;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  font-size: 16px;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 101, 30, 0.3);
  box-shadow: var(--shadow-md);
}

.value-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(253, 101, 30, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.value-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--electric);
}

.value-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 20px;
  color: var(--text-primary);
}

.value-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   Reviews
   ======================================== */
.reviews-section {
  background: var(--off-white);
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.reviews-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.review-avatar.avatar-1 { background: #C05621; }
.review-avatar.avatar-2 { background: #2A9D8F; }
.review-avatar.avatar-3 { background: #3B82F6; }
.review-avatar.avatar-4 { background: #7C3AED; }
.review-avatar.avatar-5 { background: #0CA678; }
.review-avatar.avatar-6 { background: #4263EB; }
.review-avatar.avatar-7 { background: #E64980; }
.review-avatar.avatar-8 { background: #1098AD; }
.review-avatar.avatar-9 { background: #F76707; }

.review-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.review-name svg {
  width: 16px;
  height: 16px;
}

.review-date {
  font-size: 13px;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: #FBBC05;
}

.review-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   Contact Section (on homepage)
   ======================================== */
.contact-section {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

/* ===== Native contact form (posts to JotForm endpoint) ===== */
.dm-form { width: 100%; }
.dm-form .dm-row { margin-bottom: var(--space-md); }
.dm-form .dm-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
@media (max-width: 560px) {
  .dm-form .dm-row--split { grid-template-columns: 1fr; }
}
.dm-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
}
.dm-form label span { color: var(--electric); }
.dm-form input,
.dm-form textarea {
  width: 100%;
  background: #1A1A1A;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dm-form input::placeholder,
.dm-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.dm-form input:focus,
.dm-form textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(253,101,30,0.25);
}
.dm-form textarea { resize: vertical; min-height: 130px; }
.dm-form .dm-submit { margin-top: var(--space-sm); }
.dm-form .dm-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.dm-form .dm-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Inline success message (replaces the form after AJAX submit) */
.dm-form-success {
  background: #1A1A1A;
  border: 1px solid rgba(253,101,30,0.4);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}
.dm-form-success h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.dm-form-success p {
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.7;
}
.dm-form-success a { color: var(--electric); font-weight: 600; }

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info > p {
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-xl);
  font-size: 17px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background: rgba(253, 101, 30, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
  color: var(--electric);
}

.contact-method-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}

.contact-method a {
  color: var(--electric);
  font-size: 17px;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.contact-method a:hover {
  color: var(--electric-hover);
}

/* Form placeholder */
.form-placeholder {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
}

.form-placeholder-text {
  color: var(--text-muted);
  font-size: 15px;
}

.form-placeholder-icon svg {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,0.15);
}

/* ========================================
   CTA Banner
   ======================================== */
.cta-section {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  max-width: 550px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 2px solid;
  border-image: linear-gradient(to right, #FD651E, #2A9D8F) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  line-height: 1.7;
  margin-top: var(--space-md);
  max-width: 320px;
}

.footer-logo {
  display: block;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  /* Logo is black-on-transparent; footer is dark — invert to white */
  filter: brightness(0) invert(1);
}

@media (max-width: 640px) {
  .nav-logo-img { height: 48px; }
  .footer-logo-img { height: 48px; }
}

.footer h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-lg);
  row-gap: var(--space-sm);
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--duration) var(--ease);
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--electric);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--electric);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  transition: color var(--duration) var(--ease);
}

.footer-contact-item a:hover {
  color: var(--electric);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  transition: background var(--duration) var(--ease);
}

.footer-social a:hover {
  background: var(--electric);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-dark);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ========================================
   Page Hero (inner pages)
   ======================================== */
.page-hero {
  min-height: 320px;
  padding: 88px var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: var(--space-md);
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: color var(--duration) var(--ease);
}

.breadcrumb a:hover {
  color: var(--electric);
}

.breadcrumb span {
  color: var(--white);
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger.revealed > *:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger.revealed > *:nth-child(10) { transition-delay: 0.72s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   Responsive — Tablet (640px+)
   ======================================== */
@media (min-width: 640px) {
  .hero-checklist {
    grid-template-columns: 1fr 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-bar-center {
    display: flex;
  }
}

/* ========================================
   Responsive — Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  section {
    padding: var(--space-3xl) 0;
  }

  .hero {
    padding: 130px 0 var(--space-2xl);
  }

  .hero-sub {
    max-width: none;
    white-space: nowrap;
  }

  .hero-checklist {
    grid-template-columns: 1fr 1fr;
    max-width: 600px;
  }

  .go-to-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-snippet-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .cards-grid .card:nth-child(n+6) {
    /* Second row of 5 */
  }

  /* 3-up tile grid (used by home services + projects). Tiles enlarged. */
  .cards-grid--three {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards-grid--three .card.card-image {
    min-height: 380px;
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-grid {
    grid-template-columns: 0.9fr 1.4fr 1fr;
  }

  .nav-toggle {
    display: none !important;
  }
}

/* ========================================
   Responsive — Mobile (<1024px)
   ======================================== */
@media (max-width: 1023px) {
  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .nav-logo {
    position: static;
    transform: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 120px 0 var(--space-xl);
  }

  .page-hero {
    min-height: 280px;
    padding: 84px var(--space-lg) var(--space-lg);
  }

  .go-to-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Utilities
   ======================================== */
/* ========================================
   5-Step Process
   ======================================== */
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.process-step {
  text-align: center;
  padding: var(--space-lg);
}

.process-step-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-warm);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .steps-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ========================================
   Service Area Page
   ======================================== */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.area-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.area-card h3 {
  font-size: 18px;
  margin-bottom: var(--space-sm);
  color: var(--electric);
}

.area-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Projects Page
   ======================================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.project-card .photo-placeholder {
  min-height: 240px;
  border-radius: 0;
}

.project-card-body {
  background: var(--white);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.project-card-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--electric);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
}

.project-card-body h3 {
  font-size: 20px;
  margin-bottom: var(--space-sm);
}

.project-card-body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-electric { color: var(--electric); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }


/* ================================================================
   Service detail + suburb landing pages (programmatic templates)
   ================================================================ */

.service-detail,
.suburb-section {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.service-detail-grid,
.suburb-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-xl);
  align-items: start;
}

.service-detail-main,
.suburb-main {
  min-width: 0;
}

.service-detail-main h2,
.suburb-main h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 14px;
}
.service-detail-main h2::after,
.suburb-main h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--electric);
  border-radius: 2px;
}

.lead-paragraph {
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  font-weight: 500;
  padding-left: var(--space-md);
  border-left: 3px solid var(--electric);
}

.suburb-main p,
.service-detail-main p,
.project-main p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

/* Check list */
.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0 var(--space-lg);
  display: grid;
  gap: var(--space-md);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
}

.check-list li svg {
  flex-shrink: 0;
  color: var(--electric);
  margin-top: 3px;
}

/* FAQ accordion */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: var(--space-md);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.faq-item[open] {
  border-color: var(--electric);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  text-transform: none;
  color: var(--text-primary);
}

.faq-chevron {
  color: var(--electric);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease);
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Aside (sidebar) cards */
.service-detail-aside,
.suburb-aside {
  display: grid;
  gap: var(--space-md);
  position: sticky;
  top: 100px;
}

.aside-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--electric);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 12px;
}

.aside-card:nth-child(2) { border-top-color: var(--copper); }

.aside-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.aside-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.aside-card .btn-primary,
.aside-card .btn-secondary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.aside-card .footer-links {
  display: grid;
  gap: 8px;
}

.aside-card .footer-links a {
  font-size: 14px;
  color: var(--text-primary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--duration) var(--ease);
}

.aside-card .footer-links a:hover { color: var(--electric); }

/* Region list inside service-area aside-card */
.aside-card .region-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-sm);
  display: grid;
  gap: 4px;
}
.aside-card .region-list a {
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-light);
  transition: all var(--duration) var(--ease);
}
.aside-card .region-list a:hover {
  color: var(--white);
  background: var(--electric);
  border-color: var(--electric);
}

/* ================================================================
   Service-page body components — visual upgrade
   Converts the previous wall-of-text into card grids, stepped flows
   and tighter visual hierarchy without touching any service-page HTML.
   ================================================================ */

/* "What we do" check-list → 2-column card grid on desktop */
.check-list--detailed {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 14px;
  margin: var(--space-lg) 0 var(--space-xl);
}
@media (min-width: 720px) {
  .check-list--detailed { grid-template-columns: 1fr 1fr; }
}
.check-list--detailed li {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  line-height: 1.55;
  font-size: 15.5px;
  color: var(--text-secondary);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.check-list--detailed li:hover {
  border-color: rgba(253, 101, 30, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.check-list--detailed li svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  background: rgba(253, 101, 30, 0.12);
  border-radius: 50%;
  color: var(--electric);
  margin-top: 2px;
}
.check-list--detailed li > div { display: block; }
.check-list--detailed li strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
}

/* Process steps → numbered cards with connecting rail */
.process-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 var(--space-xl);
  display: grid;
  gap: 0;
  position: relative;
  counter-reset: step;
}
.process-list::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--electric) 0%, rgba(253, 101, 30, 0.25) 100%);
  z-index: 0;
}
.process-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.6;
  padding: 14px 0;
  position: relative;
  z-index: 1;
}
.process-list li > div {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.process-list li strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 4px;
}
.process-num {
  background: var(--electric);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--off-white), 0 2px 8px rgba(253, 101, 30, 0.3);
}

/* "Why DM Electrical" → 3-column icon card grid */
.why-list {
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .why-list { grid-template-columns: repeat(3, 1fr); }
}
.why-list li {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--electric);
  border-radius: var(--radius);
  padding: 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.why-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-list li strong {
  display: block;
  color: var(--text-primary);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: var(--space-md) 0 var(--space-lg);
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all var(--duration) var(--ease);
}
.related-card h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 15px;
  margin: 0 0 6px;
  color: var(--text-primary);
}
.related-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.related-card .related-arrow {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--electric);
  font-size: 18px;
  transition: transform var(--duration) var(--ease);
}
.related-card:hover {
  border-color: var(--electric);
  transform: translateY(-2px);
}
.related-card:hover .related-arrow { transform: translateX(3px); }

.last-updated {
  font-size: 12px;
  color: var(--text-tertiary, #888);
  margin-top: 8px;
  font-style: italic;
}

/* Suburb services grid */
.suburb-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: var(--space-md) 0 var(--space-lg);
}

.suburb-service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--electric);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 8px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.suburb-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

.suburb-service-card:nth-child(even) { border-top-color: var(--copper); }

.suburb-service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-primary);
}

.suburb-service-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* JotForm embed wrapper */
.jotform-embed {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 400px;
}

.jotform-embed iframe { max-width: 100%; }

/* Mobile */
@media (max-width: 1024px) {
  .service-detail-grid,
  .suburb-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-aside,
  .suburb-aside {
    position: static;
  }
}


/* ================================================================
   Blog hub + blog article + projects + service-area hub + thank-you
   ================================================================ */

/* Blog hub grid */
.blog-hub-section {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.blog-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--electric);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 10px;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.blog-card:nth-child(even) { border-top-color: var(--copper); }

.blog-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

.blog-card-meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
  color: var(--text-primary);
}

.blog-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.blog-card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--electric);
  margin-top: 4px;
}

/* Blog article body */
.blog-article {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.blog-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  max-width: 100%;
  min-width: 0;
}

.blog-content .blog-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}

.blog-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 32px 0 16px;
  line-height: 1.2;
}

.blog-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px;
}

.blog-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.blog-content ul, .blog-content ol {
  margin: 16px 0 24px;
  padding-left: 24px;
}

.blog-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.blog-content a {
  color: var(--electric);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-content a:hover { color: var(--electric-hover); }

.blog-content strong { font-weight: 700; color: var(--text-primary); }

.blog-aside {
  display: grid;
  gap: var(--space-md);
  position: sticky;
  top: 100px;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-aside { position: static; }
  .blog-content { padding: 32px 24px; }
}

/* Project detail */
.project-detail {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-xl);
  align-items: start;
}

.project-tag {
  display: inline-block;
  background: var(--electric-light);
  color: var(--electric);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.project-main h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin: var(--space-xl) 0 var(--space-md);
}

.project-main h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
  margin: var(--space-lg) 0 var(--space-sm);
}

/* Project fact block (Location / Client / Scope / Delivery / Outcome) */
.project-meta {
  list-style: none;
  padding: 0 0 0 var(--space-md);
  margin: 0 0 var(--space-lg);
  border-left: 3px solid var(--electric);
}
.project-meta li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.project-meta li strong {
  color: var(--charcoal);
  font-weight: 600;
  margin-right: 6px;
}

.project-aside {
  position: sticky;
  top: 100px;
}

@media (max-width: 1024px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-aside { position: static; }
}

/* Service-area hub (region blocks) */
.service-area-section {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.region-block {
  margin-bottom: var(--space-2xl);
}

.region-block h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 var(--space-md);
  border-left: 4px solid var(--electric);
  padding-left: 16px;
}

.suburb-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.suburb-tile {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--electric);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-height: 64px;
  text-decoration: none;
  color: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transform-origin: center;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

a.suburb-tile:hover {
  transform: scale(1.05);
  border-left-color: var(--electric);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  z-index: 2;
  position: relative;
}

.suburb-tile:not(a) {
  cursor: default;
  opacity: 0.85;
}

.suburb-tile h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  text-transform: none;
}

.suburb-tile span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.service-area-cta {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 48px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: var(--space-xl);
}

.service-area-cta h2 {
  color: var(--white);
  margin: 0 0 12px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  text-transform: uppercase;
}

.service-area-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
  font-size: 17px;
}

/* Thank-you page */
.thank-you-hero {
  background: var(--gradient-dark);
  color: var(--white);
  padding: var(--space-3xl) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  text-transform: uppercase;
  margin: 16px 0 24px;
}

.thank-you-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.thank-you-content a {
  color: var(--electric);
  text-decoration: underline;
}

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

/* Legal/privacy content */
.legal-section {
  padding: var(--space-3xl) 0;
  background: var(--off-white);
}

.legal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin: var(--space-xl) 0 var(--space-md);
}

.legal-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-primary);
}

.legal-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content a { color: var(--electric); text-decoration: underline; }

@media (max-width: 768px) {
  .legal-content { padding: 32px 24px; }
}


/* ================================================================
   Homepage hero with full-bleed image + dark gradient overlay
   ================================================================ */

.hero.hero-image {
  position: relative;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  overflow: hidden;
  isolation: isolate;
  filter: saturate(1.10) contrast(1.04);
}

.hero.hero-image .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(14, 14, 14, 0.85) 0%,
      rgba(14, 14, 14, 0.62) 38%,
      rgba(14, 14, 14, 0.30) 70%,
      rgba(14, 14, 14, 0.10) 100%
    );
  z-index: 0;
}

.hero.hero-image .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero.hero-image {
    background-position: 70% center;
  }
  .hero.hero-image .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(14, 14, 14, 0.84) 0%,
        rgba(14, 14, 14, 0.90) 45%,
        rgba(14, 14, 14, 0.97) 100%
      );
  }
}

/* About-snippet portrait photo */
.about-photo {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 3 / 4;
  object-position: center;
}

/* ================================================================
   Homepage service cards: image background + dark overlay + white text.
   All cards have orange tops (overrides the .card:nth-child(even) teal alt
   rule that applies to .card on every other page).
   ================================================================ */

.card.card-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(1.08) saturate(1.22) contrast(1.05);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--electric);
  color: var(--white);
  text-decoration: none;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

/* Override the .card:nth-child(even) teal alt — every card-image stays orange */
.cards-grid .card.card-image:nth-child(even) {
  border-top-color: var(--electric);
}

/* Dark gradient overlay for text legibility */
.card.card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.05) 0%,
    rgba(14, 14, 14, 0.30) 45%,
    rgba(14, 14, 14, 0.88) 100%
  );
  z-index: 0;
  transition: background 0.3s var(--ease);
}

.card.card-image:hover::before {
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.30) 0%,
    rgba(14, 14, 14, 0.65) 50%,
    rgba(253, 101, 30, 0.50) 100%
  );
}

.card.card-image > * {
  position: relative;
  z-index: 1;
}

.card.card-image .card-icon {
  background: rgba(253, 101, 30, 0.95);
  color: var(--white);
  margin: 24px 24px auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card.card-image .card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.card.card-image h3 {
  color: var(--white);
  margin: 12px 24px 20px;
  margin-top: auto;
  min-height: calc(3 * 1.25em);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* When a CTA pill follows the heading, tighten the gap. */
.card.card-image:has(.card-cta) h3 {
  margin-bottom: 8px;
}

/* Service tiles are heading-only on every page that uses them */
.services-section .card.card-image p {
  display: none;
}

/* About page only: Core Values block sits between two white-ish blocks,
   so swap to off-white to give the rhythm a clean step. */
.values-section.dark-section {
  background: var(--off-white);
}

.card.card-image p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 24px 24px;
  font-size: 14px;
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.card.card-image:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

@media (max-width: 640px) {
  .card.card-image {
    min-height: 240px;
  }
}

/* Detail variant — used on the All Services page. Tightened now that
   tiles are heading-only. */
.cards-grid--detail .card.card-image {
  min-height: 320px;
}

@media (max-width: 640px) {
  .cards-grid--detail .card.card-image {
    min-height: 240px;
  }
}

/* Three-up variant (Projects + home services): tiles are wider so give
   them more vertical presence too. */
.cards-grid--three .card.card-image {
  min-height: 440px;
}

/* All-Services page uses --three + --detail. Slightly shorter than the
   home/projects 3-up so the full 6-tile grid fits the viewport better. */
.cards-grid--detail.cards-grid--three .card.card-image {
  min-height: 340px;
}

@media (max-width: 640px) {
  .cards-grid--three .card.card-image {
    min-height: 280px;
  }
}

/* Go-To section excavator photo */
.goto-photo {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  aspect-ratio: 3 / 4;
  object-position: center;
  filter: saturate(1.10) contrast(1.04);
}

/* ========================================
   Compact Google Reviews Strip (homepage carousel under hero)
   ======================================== */
.reviews-strip {
  background: var(--white);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.reviews-strip > .container {
  padding-left: 16px;
  padding-right: 16px;
  max-width: 1400px;
}

.reviews-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-md);
}

.reviews-strip-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.reviews-strip-chip .g-logo {
  flex-shrink: 0;
}

.reviews-strip-rating {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.reviews-strip-stars {
  display: inline-flex;
  gap: 1px;
}

.reviews-strip-stars svg {
  width: 14px;
  height: 14px;
  fill: #FBBC05;
}

.reviews-strip-count {
  font-size: 13px;
  color: var(--text-muted);
}

.reviews-strip-viewport {
  overflow: hidden;
  min-width: 0;
}

.reviews-strip-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md);
  transition: transform 0.5s var(--ease);
  will-change: transform;
}

.reviews-strip-card {
  flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 96px;
}

.reviews-strip-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.reviews-strip-head .review-avatar {
  width: 32px;
  height: 32px;
  font-size: 14px;
}

.reviews-strip-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.2;
}

.reviews-strip-date {
  font-size: 12px;
  color: var(--text-muted);
}

.reviews-strip-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews-strip-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.reviews-strip-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--electric);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.reviews-strip-cta:hover {
  background: var(--electric-dark, #e85a14);
  transform: translateY(-1px);
}

.reviews-strip-next {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--white);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  flex-shrink: 0;
}

.reviews-strip-next:hover {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--white);
  transform: translateY(-1px);
}

@media (max-width: 1024px) {
  .reviews-strip-card {
    flex: 0 0 calc((100% - var(--space-md)) / 2);
  }
}

@media (max-width: 720px) {
  .reviews-strip-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "chip   actions"
      "viewport viewport";
    gap: 12px;
  }
  .reviews-strip-chip { grid-area: chip; }
  .reviews-strip-actions { grid-area: actions; }
  .reviews-strip-viewport { grid-area: viewport; }
  .reviews-strip-card {
    flex: 0 0 100%;
  }
  .reviews-strip-cta {
    display: none;
  }
}

/* Contact-section CTA button under call/email block */
.contact-info .contact-methods-cta {
  display: flex;
  width: fit-content;
  margin-top: var(--space-xl);
}

/* Page hero with background image (Projects page) */
.page-hero--image {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
}

.page-hero--image::before {
  background-image: none;
  background: linear-gradient(180deg, rgba(14,14,14,0.55) 0%, rgba(14,14,14,0.78) 100%);
}

/* Project tiles: same look as service card-image tiles, plus a subtle
   pinned "View Project" pill so the call-to-action is obvious. */
.card.card-image .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 24px;
  padding: 10px 16px;
  background: rgba(253, 101, 30, 0.95);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  width: fit-content;
  transition: background var(--duration) var(--ease);
}

.card.card-image:hover .card-cta {
  background: var(--electric);
}

.card.card-image .card-cta svg {
  width: 14px;
  height: 14px;
}

/* ================================================================
   Colour-block project tiles (no photo). Reuse the .card-image
   layout (icon top, heading pinned to bottom, "View Project" pill)
   but source the background from CSS instead of a photograph. Used
   on the Projects page until real project photos are supplied.
   ================================================================ */
.card.card-image.card-block {
  background-image:
    radial-gradient(circle at 78% 16%, rgba(253,101,30,0.30) 0%, rgba(253,101,30,0) 46%),
    linear-gradient(155deg, var(--slate) 0%, var(--charcoal) 72%);
  filter: none;
}

/* Vary the accent glow so the tiles do not read as identical. */
.cards-grid .card.card-image.card-block:nth-child(3n+2) {
  background-image:
    radial-gradient(circle at 22% 20%, rgba(253,101,30,0.26) 0%, rgba(253,101,30,0) 48%),
    linear-gradient(200deg, var(--slate) 0%, var(--charcoal) 74%);
}
.cards-grid .card.card-image.card-block:nth-child(3n+3) {
  background-image:
    radial-gradient(circle at 50% 118%, rgba(253,101,30,0.32) 0%, rgba(253,101,30,0) 52%),
    linear-gradient(135deg, #16181c 0%, var(--charcoal) 76%);
}

/* The base ::before overlay is tuned for photos; lighten it over the
   flat backgrounds, keep the orange hover wash. */
.card.card-image.card-block::before {
  background: linear-gradient(180deg, rgba(14,14,14,0) 0%, rgba(14,14,14,0.12) 55%, rgba(14,14,14,0.42) 100%);
}
.card.card-image.card-block:hover::before {
  background: linear-gradient(180deg, rgba(14,14,14,0) 0%, rgba(14,14,14,0.18) 50%, rgba(253,101,30,0.28) 100%);
}

/* Heading sits tighter and a scope subtitle shows (service tiles hide <p>). */
.card.card-image.card-block h3 {
  min-height: 0;
  margin-bottom: 6px;
}
.services-section .card.card-image.card-block p {
  display: block;
  margin: 0 24px 18px;
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* ================================================================
   About page lists + ASP capability blocks
   ================================================================ */

.about-bullets,
.asp-capabilities {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  display: grid;
  gap: 10px;
}

.about-bullets li,
.asp-capabilities li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.6;
  color: inherit;
}

.about-bullets li::before,
.asp-capabilities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--electric);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.track-record-list {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .track-record-list {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-xl);
  }
}

.asp-section {
  padding: var(--space-2xl) 0;
}

.asp-capabilities-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 20px;
  margin-bottom: var(--space-sm);
}

/* ================================================================
   Services page: ASP comparison, Sectors, Licences/Insurance grid
   ================================================================ */

.asp-explainer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) {
  .asp-explainer-cols { grid-template-columns: 1fr 1fr; }
}

.asp-explainer-card {
  background: var(--charcoal-soft, #1a1a1a);
  border: 1px solid var(--border-dark, rgba(255,255,255,0.1));
  border-top: 3px solid var(--electric);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.asp-explainer-card h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 22px;
  margin-bottom: var(--space-sm);
}

.sectors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 768px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(4, 1fr); }
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--border, rgba(0,0,0,0.08));
  border-top: 3px solid var(--electric);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.sector-card h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 20px;
  margin-bottom: var(--space-sm);
}
.dark-section .sector-card {
  background: var(--charcoal-soft, #1a1a1a);
  border-color: var(--border-dark, rgba(255,255,255,0.1));
  color: var(--white);
}

.licences-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 1024px) {
  .licences-grid { grid-template-columns: repeat(3, 1fr); }
}

.licences-card {
  background: var(--white);
  border: 1px solid var(--border, rgba(0,0,0,0.08));
  border-top: 3px solid var(--electric);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}
.licences-card h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 18px;
  margin-bottom: var(--space-sm);
}
.licences-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
}
.licences-card .licences-meta {
  font-size: 13px;
  color: var(--text-secondary, #666);
  margin-bottom: var(--space-sm);
}

/* Generic dark-section background for new sections that don't define their own
   (asp-section, sqe-section, licences-section, sectors-section variants).
   Excludes .values-section.dark-section which intentionally uses an off-white bg. */
section.dark-section:not(.values-section) {
  background-color: var(--charcoal, #0E0E0E);
}
/* Default: all prose inside a dark section is white. */
section.dark-section:not(.values-section),
section.dark-section:not(.values-section) h1,
section.dark-section:not(.values-section) h2,
section.dark-section:not(.values-section) h3,
section.dark-section:not(.values-section) h4,
section.dark-section:not(.values-section) p,
section.dark-section:not(.values-section) li,
section.dark-section:not(.values-section) strong {
  color: var(--white, #ffffff);
}
section.dark-section:not(.values-section) .section-label {
  color: var(--electric, #FD651E);
}

/* Cards with WHITE backgrounds inside dark sections need their own dark text. */
section.dark-section .licences-card,
section.dark-section .licences-card h3,
section.dark-section .licences-card p,
section.dark-section .licences-card li,
section.dark-section .licences-card strong,
section.dark-section .sector-card,
section.dark-section .sector-card h3,
section.dark-section .sector-card p,
section.dark-section .value-card,
section.dark-section .value-card h3,
section.dark-section .value-card p {
  color: var(--text-primary, #1a1a1a);
}
section.dark-section .licences-card .licences-meta {
  color: var(--text-secondary, #666);
}

/* The ASP explainer cards have a DARK background by design, so keep text light. */
section.dark-section .asp-explainer-card,
section.dark-section .asp-explainer-card h3,
section.dark-section .asp-explainer-card p,
section.dark-section .asp-explainer-card li {
  color: var(--white, #ffffff);
}

/* Trim the gap above the services tile grid */
.services-intro { padding: var(--space-2xl) 0 0; }
.services-intro + .services-section { padding-top: var(--space-lg); }
.services-section > .container > p.text-center { margin-bottom: var(--space-lg); }

/* ================================================================
   Trust strip — services page Licences/Accreditations/Insurance
   Replaces the previous 3-card grid with a tighter stat-strip +
   single meta block, designed for a dark section background.
   ================================================================ */

.trust-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
@media (min-width: 640px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
}

.trust-stat {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 3px solid var(--electric);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.trust-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(253, 101, 30, 0.4);
}

.trust-stat-value {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 10px;
}
.trust-stat-value span {
  color: var(--electric);
  font-weight: 600;
}
.trust-stat-label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.trust-meta {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.trust-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  margin-bottom: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.80);
}
.trust-meta-row span { white-space: normal; }
.trust-meta-row strong {
  color: var(--electric);
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
  margin-right: 6px;
}
.trust-meta-note {
  margin-top: var(--space-md);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

/* ================================================================
   Typography rhythm — give headings and section labels breathing room
   so section-label / H2 / lead paragraph don't crowd each other.
   ================================================================ */
h1 { margin-bottom: var(--space-md); }
h2 { margin-bottom: var(--space-md); }
h3 { margin-bottom: var(--space-sm); }

.section-label { margin-bottom: var(--space-md); }

/* Paragraph rhythm — body paragraphs space themselves apart, with the
   final one having no trailing margin so adjacent buttons sit tight. */
section p { margin-bottom: var(--space-sm); }
section p:last-child { margin-bottom: 0; }

/* Lead paragraph after the section heading gets a little more space below */
.section-intro { margin-bottom: var(--space-lg); }

/* Inside the about-snippet-grid columns, the section-label + H2 + body
   stack needs explicit spacing because the columns shrink line-height. */
.about-snippet-grid .reveal .section-label,
.asp-section .reveal .section-label,
.asp-explainer .section-label {
  margin-bottom: var(--space-sm);
}
.about-snippet-grid .reveal h2,
.asp-section .reveal h2 {
  margin-bottom: var(--space-md);
}
.about-snippet-grid .reveal p,
.asp-section .reveal p {
  margin-bottom: var(--space-md);
}
.about-snippet-grid .reveal p:last-of-type,
.asp-section .reveal p:last-of-type {
  margin-bottom: var(--space-lg);
}

/* ASP capabilities title needs its own breathing room */
.asp-capabilities-title { margin-bottom: var(--space-md); }
.asp-capabilities { margin-top: 0; }

/* ============================================================
   PAID LANDING PAGES (/lp/<slug>/) — phone-first conversion shell
   ============================================================ */

/* Focused header: logo + one click-to-call, no menu */
.lp-header {
  background: var(--charcoal);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.lp-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: 12px;
  padding-bottom: 12px;
}
.lp-header .nav-logo-img { height: 40px; width: auto; display: block; }
.lp-header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: var(--electric);
  white-space: nowrap;
  transition: background var(--duration) var(--ease);
}
.lp-header-call:hover { background: var(--electric-hover); }
.lp-header-call svg { stroke: var(--white); }

/* Hero */
.lp-hero {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}
.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.lp-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(253,101,30,0.10), transparent 70%);
  pointer-events: none;
}
.lp-hero .container { position: relative; z-index: 1; }
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-xl);
  align-items: start;
}
.lp-hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin-bottom: var(--space-md);
}
.lp-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  max-width: 36em;
}

/* Trust row */
.lp-trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 var(--space-xl);
  padding: 0;
}
.lp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}
.lp-trust-item svg { color: var(--electric); flex-shrink: 0; }
.lp-trust-rating .lp-stars { display: inline-flex; gap: 1px; }
.lp-trust-rating .lp-stars svg { width: 15px; height: 15px; fill: #FBBC05; stroke: none; }

/* Hero CTAs */
.lp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.lp-call-btn { font-size: 18px; padding: 16px 32px; }
.lp-call-btn svg { stroke: var(--white); width: 20px; height: 20px; }
.lp-cta-actions .lp-quote-btn {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.lp-cta-actions .lp-quote-btn:hover { border-color: var(--electric); color: var(--electric); }

/* Hero form card */
.lp-form-card {
  background: var(--slate);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 4px solid var(--electric);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.lp-form-title {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 4px;
}
.lp-form-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}
.lp-form-card .dm-submit { width: 100%; }
.lp-form-fineprint {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-align: center;
  margin: var(--space-md) 0 0;
}
.lp-form-fineprint a { color: var(--electric); font-weight: 600; }

/* Body content (single column, readable width) */
.lp-content { background: var(--off-white); padding: var(--space-2xl) 0; }
.lp-content-inner { max-width: 820px; margin: 0 auto; }
.lp-content-inner h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}
.lp-content-inner > h2:first-of-type { margin-top: var(--space-lg); }
.lp-midcta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}
.lp-midcta .btn-secondary svg { width: 18px; height: 18px; }

/* Sticky mobile call/quote bar */
.sticky-cta-bar { display: none; }

@media (max-width: 1023px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .lp-hero-sub { max-width: none; }

  /* Sticky bottom bar appears only on mobile */
  .sticky-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(14,14,14,0.96);
    border-top: 1px solid var(--border-dark);
    backdrop-filter: blur(8px);
  }
  .sticky-cta-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border-radius: var(--radius-full);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .sticky-cta-call { background: var(--electric); color: var(--white); }
  .sticky-cta-call svg { stroke: var(--white); }
  .sticky-cta-quote {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
  }
  /* Keep the footer clear of the fixed bar */
  body:has(.sticky-cta-bar) .footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  .lp-header-call span { display: none; }
  .lp-header-call { padding: 10px 14px; }
  .lp-cta-actions .btn-primary,
  .lp-cta-actions .btn-secondary { width: 100%; }
}
