/*
 Theme Name:   Starter Child
 Theme URI:    https://dossisdigital.com.au
 Description:  Dossis Digital master template for GeneratePress.
 Author:       Dossis Digital
 Author URI:   https://dossisdigital.com.au
 Template:     generatepress
 Version:      2.0.0
 Text Domain:  starter-child
*/

/* ===========================================
   FONTS — self-hosted WOFF2 (no external requests)
   Download client fonts to fonts/ directory.
   Use https://gwfh.mranftl.com/fonts for Google Fonts WOFF2 files.
   =========================================== */
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/satoshi-400.woff2) format('woff2');
}
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/satoshi-500.woff2) format('woff2');
}
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/satoshi-700.woff2) format('woff2');
}

/* ===========================================
   TABLE OF CONTENTS
   ===========================================
   1.  Design Tokens (CSS Custom Properties)
   2.  Base / Reset / GP Overrides
   3.  Typography & Shared Components
   4.  Buttons
   5.  Header & Desktop Navigation
   6.  Mobile Menu
   7.  Hero Section
   8.  Trust Bar
   9.  Services Section
   10. Why Choose Section
   11. Process Section
   12. Reviews Section
   13. Gallery Section
   14. CTA Banner Section
   15. FAQ Section
   16. Areas Section
   17. Contact Section
   18. Quote Form
   19. Footer
   20. Sticky Mobile CTA
   21. Blog Template
   22. WPForms Overrides
   23. Utilities
   24. Animations & Transitions
   25. Reduced Motion
   =========================================== */


/* ===========================================
   1. DESIGN TOKENS
   =========================================== */
:root {
  /* ── Colours ── */
  --temp-primary: #2563eb;
  --temp-primary-light: #dbeafe;
  --temp-primary-hover: #1d4ed8;
  --temp-secondary: #059669;
  --temp-accent: #f59e0b;
  --temp-dark: #111827;
  --temp-body: #374151;
  --temp-muted: #6b7280;
  --temp-light: #f3f4f6;
  --temp-white: #ffffff;
  --temp-border: #e5e7eb;

  /* Opacity variants (no raw rgba) */
  --temp-primary-10: color-mix(in srgb, var(--temp-primary) 10%, transparent);
  --temp-primary-15: color-mix(in srgb, var(--temp-primary) 15%, transparent);
  --temp-dark-60: color-mix(in srgb, var(--temp-dark) 60%, transparent);
  --temp-dark-70: color-mix(in srgb, var(--temp-dark) 70%, transparent);
  --temp-white-10: color-mix(in srgb, var(--temp-white) 10%, transparent);
  --temp-white-15: color-mix(in srgb, var(--temp-white) 15%, transparent);
  --temp-white-40: color-mix(in srgb, var(--temp-white) 40%, transparent);
  --temp-black-5: color-mix(in srgb, #000 5%, transparent);
  --temp-black-8: color-mix(in srgb, #000 8%, transparent);
  --temp-black-10: color-mix(in srgb, #000 10%, transparent);
  --temp-black-12: color-mix(in srgb, #000 12%, transparent);
  --temp-black-15: color-mix(in srgb, #000 15%, transparent);
  --temp-black-60: rgba(0, 0, 0, 0.6);

  /* ── Typography ── */
  --temp-heading: 'Urbanist', Georgia, serif;
  --temp-body-font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --temp-fs-xs: 0.75rem;
  --temp-fs-sm: 0.875rem;
  --temp-fs-base: 18px;
  --temp-fs-md: 1.125rem;
  --temp-fs-lg: 1.25rem;
  --temp-fs-xl: 1.5rem;
  --temp-fs-2xl: 2rem;
  --temp-fs-3xl: 2.5rem;
  --temp-fs-4xl: 3.5rem;

  /* ── Spacing ── */
  --temp-space-xs: 0.25rem;
  --temp-space-sm: 0.5rem;
  --temp-space-md: 1rem;
  --temp-space-lg: 1.5rem;
  --temp-space-xl: 2rem;
  --temp-space-2xl: 3rem;
  --temp-space-3xl: 5rem;
  --temp-section-pad: clamp(3rem, 6vw, 5rem);

  /* ── Radius ── */
  --temp-radius-sm: 4px;
  --temp-radius-md: 8px;
  --temp-radius-lg: 16px;
  --temp-radius-full: 9999px;

  /* ── Shadows ── */
  --temp-shadow-sm: 0 1px 2px var(--temp-black-5);
  --temp-shadow-md: 0 4px 12px var(--temp-black-8);
  --temp-shadow-lg: 0 10px 30px var(--temp-black-12);
  --temp-shadow-xl: 0 20px 50px var(--temp-black-15);

  /* ── Transitions ── */
  --temp-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --temp-transition-fast: 0.15s var(--temp-ease);
  --temp-transition-base: 0.3s var(--temp-ease);
  --temp-transition-slow: 0.9s var(--temp-ease);

  /* ── Breakpoints (reference only, used in media queries) ──
     --temp-bp-xs:  480px;
     --temp-bp-sm:  768px;
     --temp-bp-md:  1024px;
     --temp-bp-lg:  1280px;
  */

  /* ── Layout ── */
  --temp-header-height: 72px;
  --temp-container: 1200px;
}


/* ===========================================
   2. BASE / RESET / GP OVERRIDES
   =========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--temp-body-font);
  color: var(--temp-body);
  font-size: var(--temp-fs-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: #fff;
}

/* Ensure list items and inline spans always inherit body size/line-height */
ul, ol, li, span, p {
  font-size: inherit;
  line-height: inherit;
}

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

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

/* Hide GeneratePress default header — we render our own */
.site-header { display: none !important; }

/* Remove GP padding/margin on pages */
.page .entry-content,
.page .site-content .entry-content {
  padding: 0;
  margin: 0;
}
.page .inside-article,
.page .entry-content,
.blog .inside-article,
.blog .entry-content {
  max-width: 100%;
}
.separate-containers .inside-article {
  padding: 20px;
}
body.page .site-content .content-area,
body.blog .site-content .content-area {
  padding: 0;
}
body.blog .grid-container {
  max-width: 100%;
  padding: 0;
}
.page-header { display: none; }
/* Hide GP default 404 content — we use our own */
.error404 .site-content .inside-article { display: none; }

/* Container */
.temp-container {
  margin-inline: auto;
  padding-inline: 0;
}



/* ===========================================
   3. TYPOGRAPHY & SHARED COMPONENTS
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--temp-heading);
  color: var(--temp-dark);
  line-height: 1.2;
  margin: 0;
}

/* Eyebrow */
.temp-eyebrow {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--temp-primary);
  margin-bottom: var(--temp-space-sm);
}
.temp-eyebrow--light {
  color: var(--temp-white-40);
}

/* Section Header */
.temp-section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--temp-space-2xl);
}
.temp-section-heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  color: var(--temp-dark);
  line-height: 1.2;
  margin-bottom: var(--temp-space-md);
}
.temp-section-desc {
  font-size: var(--temp-fs-md);
  color: var(--dd-body-text);
  line-height: 1.6;
  max-width: 600px;
  margin-inline: auto;
}

/* Accent mark on heading text */
.temp-mark {
  color: var(--temp-primary);
  position: relative;
}

/* Body text */
.temp-body-text {
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  line-height: 1.5;
}

/* Visually hidden */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  .temp-section-heading {
    font-size: var(--temp-fs-2xl);
  }
}


/* ===========================================
   4. BUTTONS
   =========================================== */

/* Button reset utility */
.temp-btn-reset {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  line-height: 1;
}
.temp-btn-reset:hover,
.temp-btn-reset:focus,
.temp-btn-reset:active {
  background: transparent;
  outline: none;
  box-shadow: none;
}

/* Base button */
.temp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--temp-space-sm);
  padding: var(--temp-space-md) var(--temp-space-xl);
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  font-weight: 600;
  border-radius: var(--temp-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  transition: transform var(--temp-transition-fast),
              box-shadow var(--temp-transition-fast),
              background-color var(--temp-transition-fast),
              border-color var(--temp-transition-fast),
              color var(--temp-transition-fast);
}
.temp-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--temp-shadow-md);
}
.temp-btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
}

/* Primary */
.temp-btn--primary {
  background: var(--temp-primary);
  color: var(--temp-white);
  border-color: var(--temp-primary);
}
.temp-btn--primary:hover {
  background: var(--temp-primary-hover);
  border-color: var(--temp-primary-hover);
}

/* Outline */
.temp-btn--outline {
  background: transparent;
  color: var(--temp-primary);
  border-color: var(--temp-primary);
}
.temp-btn--outline:hover {
  background: var(--temp-primary);
  color: var(--temp-white);
}

/* Ghost */
.temp-btn--ghost {
  background: transparent;
  color: var(--temp-body);
  border-color: var(--temp-border);
}
.temp-btn--ghost:hover {
  background: var(--temp-light);
  border-color: var(--temp-muted);
}

/* Small */
.temp-btn--sm {
  padding: var(--temp-space-sm) var(--temp-space-md);
  font-size: var(--temp-fs-sm);
}


/* ===========================================
   5. HEADER & DESKTOP NAVIGATION
   =========================================== */
.temp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--temp-white);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--temp-transition-base);
}
.temp-header.scrolled {
  box-shadow: var(--temp-shadow-md);
}

.temp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--temp-container);
  margin-inline: auto;
  padding-inline: var(--temp-space-lg);
  height: var(--temp-header-height);
}

.temp-header__logo {
  font-family: var(--temp-heading);
  font-weight: 700;
  font-size: var(--temp-fs-xl);
  color: var(--temp-dark);
  text-decoration: none;
}

/* Desktop nav */
.temp-nav-desktop {
  display: flex;
  align-items: center;
}
.temp-nav__links {
  display: flex;
  align-items: center;
  gap: var(--temp-space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}
.temp-nav__links > li > a {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-sm);
  font-weight: 500;
  color: var(--temp-body);
  text-decoration: none;
  padding: var(--temp-space-sm) 0;
  transition: color var(--temp-transition-fast);
}
.temp-nav__links > li > a:hover {
  color: var(--dd-primary);
}

/* Dropdown */
.temp-nav__dropdown {
  position: relative;
}
.temp-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--temp-white);
  border-radius: var(--temp-radius-md);
  box-shadow: var(--temp-shadow-lg);
  padding: var(--temp-space-sm) 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--temp-transition-fast), visibility var(--temp-transition-fast);
  z-index: 2001;
}
.temp-nav__dropdown:hover .temp-nav__dropdown-menu,
.temp-nav__dropdown:focus-within .temp-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.temp-nav__dropdown-menu li a {
  display: block;
  padding: var(--temp-space-sm) var(--temp-space-lg);
  font-size: var(--temp-fs-sm);
  color: var(--temp-body);
  transition: background var(--temp-transition-fast), color var(--temp-transition-fast);
}
.temp-nav__dropdown-menu li a:hover {
  background: var(--temp-light);
  color: var(--temp-primary);
}

/* Header CTA */
.temp-header__cta {
  display: flex;
  align-items: center;
  gap: var(--temp-space-md);
}

/* Mobile toggle — hidden on desktop */
.temp-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--temp-space-sm);
  z-index: 2001;
}
.temp-mobile-toggle svg {
  width: 28px;
  height: 28px;
  color: var(--temp-dark);
}
.temp-mobile-toggle .temp-icon--x { display: none; }
.temp-mobile-toggle[aria-expanded="true"] .temp-icon--menu { display: none; }
.temp-mobile-toggle[aria-expanded="true"] .temp-icon--x { display: block; }

@media (max-width: 768px) {
  .temp-mobile-toggle {
    display: flex;
  }
  .temp-nav-desktop {
    display: none;
  }
  .temp-header__cta {
    display: none;
  }
}


/* ===========================================
   6. MOBILE MENU
   =========================================== */
.temp-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: var(--temp-dark);
  z-index: 2000;
  padding: 0 var(--temp-space-lg);
  display: flex;
  flex-direction: column;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.temp-mobile-menu.is-open {
  max-height: 800px;
  padding: var(--temp-space-lg);
}
.temp-mobile-menu .dd-btn-white {
  margin-top: 20px;
}

.temp-mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 8px;
  padding: 14px 24px;
  background: var(--temp-primary);
  color: #fff !important;
  border-radius: 9999px;
  font-family: var(--temp-body-font);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.temp-mobile-menu-cta:hover {
  opacity: 0.9;
  color: #fff !important;
}

.temp-mobile-close {
  align-self: flex-end;
  padding: var(--temp-space-md);
  font-size: var(--temp-fs-xl);
  color: var(--temp-white);
}
.temp-mobile-close:hover,
.temp-mobile-close:focus,
.temp-mobile-close:active {
  background: transparent;
  outline: none;
  box-shadow: none;
  color: var(--temp-white);
}

.temp-mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.temp-mobile-nav-links li {
  margin-bottom: 0;
}
.temp-mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--temp-space-md) 0;
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  color: var(--temp-white);
  text-decoration: none;
  border-bottom: 1px solid var(--temp-white-10);
}

/* Chevron for dropdown toggles */
.temp-mobile-nav-link .chevron {
  width: 24px;
  height: 24px;
  transition: transform var(--temp-transition-fast);
}
.temp-mobile-dropdown-toggle.is-open .chevron {
  transform: rotate(180deg);
}

/* Sub-menu */
.temp-mobile-dropdown {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--temp-space-md);
  background: var(--temp-white-10);
}
.temp-mobile-dropdown.is-open {
  display: block;
}
.temp-mobile-dropdown a {
  display: block;
  padding: var(--temp-space-md) var(--temp-space-md);
  font-size: var(--temp-fs-sm);
  color: var(--temp-white);
  text-decoration: none;
  transition: background var(--temp-transition-fast);
}
.temp-mobile-dropdown a:hover {
  background: var(--temp-white-10);
}

/* CTA inside mobile menu */
.temp-mobile-menu .temp-btn {
  margin-top: var(--temp-space-lg);
  text-align: center;
}

/* Lock body scroll */
body.temp-menu-open {
  overflow: hidden;
}
body.temp-menu-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99;
}


/* ===========================================
   7. HERO SECTION
   =========================================== */
.temp-hero {
  padding: var(--temp-section-pad) 0;
  position: relative;
  overflow: hidden;
}

/* Variants */
.temp-hero--home {
  padding-top: calc(var(--temp-header-height) + var(--temp-space-2xl));
}
.temp-hero--service {
  background: var(--temp-light);
}
.temp-hero--location {
  background: var(--temp-light);
}
.temp-hero--generic {
  padding-top: calc(var(--temp-header-height) + var(--temp-space-xl));
  padding-bottom: var(--temp-space-2xl);
}

.temp-hero__container {
  /* uses .temp-container via double class */
}

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

.temp-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}

.temp-hero__heading {
  font-family: var(--temp-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--temp-dark);
  line-height: 1.15;
}

.temp-hero__sub {
  font-size: var(--temp-fs-md);
  color: var(--dd-body-text);
  line-height: 1.6;
  max-width: 520px;
}

.temp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-sm);
}

.temp-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-md);
}
.temp-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--temp-space-xs);
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
}
.temp-hero__trust-item svg {
  color: var(--temp-primary);
  flex-shrink: 0;
}

/* Hero media */
.temp-hero__media {
  position: relative;
}
.temp-hero__img {
  width: 100%;
  height: auto;
  border-radius: var(--temp-radius-lg);
  object-fit: cover;
}

/* Hero form wrap */
.temp-hero__form-wrap {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-xl);
  box-shadow: var(--temp-shadow-lg);
}

/* Review pill */
.temp-review-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--temp-space-sm);
  background: var(--temp-light);
  padding: var(--temp-space-xs) var(--temp-space-md);
  border-radius: var(--temp-radius-full);
  font-size: var(--temp-fs-sm);
  color: var(--temp-body);
}
.temp-review-pill__stars {
  display: flex;
  align-items: center;
  color: var(--temp-accent);
}
.temp-review-pill__text {
  font-weight: 500;
}

@media (max-width: 768px) {
  .temp-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--temp-space-xl);
  }
  .temp-hero__content {
    text-align: center;
    align-items: center;
  }
  .temp-hero__ctas {
    justify-content: center;
  }
  .temp-hero__trust {
    justify-content: center;
  }
  .temp-hero__sub {
    max-width: 100%;
  }
}


/* ===========================================
   8. TRUST BAR (DD 3.0 — Figma 4073:5614)
   =========================================== */
.dd-trust-bar {
  background: #fff;
  padding: 20px var(--dd-section-pad);
}
.dd-trust-bar__container {
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dd-trust-bar__card {
  background: var(--dd-navy);
  border-radius: 50px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.dd-trust-bar__icon-cube {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dd-primary);
}
.dd-trust-bar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dd-trust-bar__value {
  font-family: var(--dd-heading-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.dd-trust-bar__label {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Light variant — #f2f2f2 cards with dark text */
.dd-trust-bar--light .dd-trust-bar__card {
  background: #f2f2f2;
}
.dd-trust-bar--light .dd-trust-bar__icon-cube {
  background: #fff;
}
.dd-trust-bar--light .dd-trust-bar__value {
  color: #060f27;
}
.dd-trust-bar--light .dd-trust-bar__label {
  color: #060f27;
}

@media (max-width: 1024px) {
  .dd-trust-bar__container { grid-template-columns: repeat(2, 1fr); }
  .dd-trust-bar__value { font-size: 24px; }
}
@media (max-width: 600px) {
  .dd-trust-bar { padding: 10px 10px !important; }
  .dd-trust-bar__container { grid-template-columns: 1fr; gap: 12px; }
  .dd-trust-bar__card { border-radius: 28px; }
}


/* ===========================================
   9. SERVICES SECTION
   =========================================== */
.temp-services {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.temp-services__grid {
  display: grid;
  grid-template-columns: repeat(var(--temp-cols, 3), 1fr);
  gap: var(--temp-space-lg);
}

.temp-service-card {
  display: flex;
  flex-direction: column;
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  box-shadow: var(--temp-shadow-sm);
  transition: transform var(--temp-transition-fast), box-shadow var(--temp-transition-fast);
  text-decoration: none;
  color: inherit;
}
.temp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--temp-shadow-lg);
}

.temp-service-card__img {
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 10;
}

.temp-service-card__body {
  padding: var(--temp-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-sm);
  flex: 1;
}

.temp-service-card__icon {
  color: var(--temp-primary);
  margin-bottom: var(--temp-space-xs);
}

.temp-service-card__title {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-lg);
  font-weight: 700;
  color: var(--temp-dark);
}

.temp-service-card__desc {
  font-size: 1rem;
  color: var(--dd-body-text);
  line-height: 1.6;
}

.temp-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--temp-space-xs);
  font-size: var(--temp-fs-sm);
  font-weight: 600;
  color: var(--temp-primary);
  margin-top: auto;
  padding-top: var(--temp-space-sm);
}

@media (max-width: 768px) {
  .temp-services__grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .temp-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===========================================
   10. WHY CHOOSE SECTION
   =========================================== */
/* .temp-why — removed; component merged into dd_render_problems */


/* ===========================================
   11. PROCESS SECTION
   =========================================== */
.temp-process {
  padding: 60px var(--dd-section-pad);
}

.temp-process__steps {
  display: flex;
  gap: var(--temp-space-xl);
  align-items: flex-start;
  position: relative;
}

.temp-process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Connector line between steps on desktop */
.temp-process__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: var(--temp-border);
}

.temp-process__number {
  width: 48px;
  height: 48px;
  border-radius: var(--temp-radius-full);
  background: var(--temp-primary);
  color: var(--temp-white);
  font-family: var(--temp-heading);
  font-weight: 700;
  font-size: var(--temp-fs-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--temp-space-md);
  position: relative;
  z-index: 1;
}

.temp-process__title {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-lg);
  font-weight: 700;
  color: var(--temp-dark);
  margin-bottom: var(--temp-space-sm);
}

.temp-process__desc {
  font-size: 1rem;
  color: var(--dd-body-text);
  line-height: 1.6;
  max-width: 240px;
}

@media (max-width: 768px) {
  .temp-process__steps {
    flex-direction: column;
    gap: var(--temp-space-xl);
  }
  .temp-process__step:not(:last-child)::after {
    display: none;
  }
  .temp-process__step {
    flex-direction: row;
    text-align: left;
    gap: var(--temp-space-md);
  }
  .temp-process__number {
    flex-shrink: 0;
    margin-bottom: 0;
  }
  .temp-process__desc {
    max-width: 100%;
  }
}


/* ===========================================
   12. REVIEWS SECTION
   =========================================== */
/* .temp-reviews — removed; component merged into dd_render_reviews */


/* ===========================================
   13. GALLERY SECTION
   =========================================== */
.temp-gallery {
  padding: var(--temp-section-pad) 0;
}

.temp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--temp-space-md);
}

.temp-gallery__img {
  border-radius: var(--temp-radius-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.temp-gallery__cta {
  text-align: center;
  margin-top: var(--temp-space-xl);
}

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


/* ===========================================
   13b. SPLIT SECTION (50/50 image + text)
   =========================================== */
.temp-split {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.temp-split__container {
  max-width: 1280px;
  margin: 0 auto;
}
.temp-split__grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
/* image-left: image first, content second */
.temp-split--image-left .temp-split__media  { order: 1; }
.temp-split--image-left .temp-split__content { order: 2; }
/* image-right: content first, image second */
.temp-split--image-right .temp-split__content { order: 1; }
.temp-split--image-right .temp-split__media  { order: 2; }

/* Content card */
.temp-split__content {
  flex: 0 0 66%;
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.temp-split__content h2 {
  font-family: var(--dd-heading-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--dd-navy);
  margin: 0;
  text-align: left;
}
.temp-split__content .temp-body-text {
  font-size: var(--temp-fs-base);
  line-height: 1.5;
  color: var(--dd-body-text);
  margin: 0;
}
.temp-split__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.temp-split__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--temp-fs-base);
  line-height: 1.5;
  color: var(--dd-body-text);
}
.temp-split__list .temp-icon {
  color: var(--dd-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.temp-split__list--cross .temp-icon {
  color: #C62828;
}
.temp-split__ctas {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* Image panel */
.temp-split__media {
  flex: 1;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  min-height: 360px;
}
.temp-split__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .temp-split__content { padding: 40px 32px; }
  .temp-split__content h2 { font-size: 32px; }
}
@media (max-width: 768px) {
  .temp-split__grid { flex-direction: column; }
  .temp-split--image-left .temp-split__media,
  .temp-split--image-right .temp-split__media  { order: 1; min-height: 260px; }
  .temp-split--image-left .temp-split__content,
  .temp-split--image-right .temp-split__content { order: 2; flex: none; padding: 32px 24px; }
}

/* temp-cta removed — use dd_render_guarantee / .dd-guarantee */

/* ===========================================
   14c. PRICING SECTION
   =========================================== */
.dd-pricing {
  padding: 60px var(--dd-section-pad);
}
.dd-pricing__outer {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1280px;
  margin-inline: auto;
  width: 100%;
}

/* Header */
.dd-pricing__header {
  display: flex;
  gap: 64px;
  align-items: center;
}
.dd-pricing__header-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dd-pricing__header-left h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dd-navy);
  margin: 0;
}
.dd-pricing__header-right {
  flex: 1;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.5;
}
.dd-pricing__header-right p { margin: 0; }

/* Cards */
.dd-pricing__cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dd-pricing__grid {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.dd-pricing__slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.dd-pricing__slot--featured {
  align-items: center;
  margin-top: -18px; /* lift col 2 so the Most Popular badge clears the top, cards stay top-aligned */
}
.dd-pricing__badge {
  background: #f8e5dc;
  color: #ef5813;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  margin-bottom: -16px;
}
.dd-pricing__card {
  background: #fff;
  border-radius: 50px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
}
.dd-pricing__card--featured {
  background: var(--dd-navy);
}

/* Card body */
.dd-pricing__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.dd-pricing__plan-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-pricing__plan-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--dd-primary);
  margin: 0;
}
.dd-pricing__card--featured .dd-pricing__plan-name {
  color: #fff;
}
.dd-pricing__price {
  font-size: 0;
  margin: 0;
  line-height: 1.2;
}
.dd-pricing__price-amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--dd-navy);
  line-height: 1.2;
}
.dd-pricing__card--featured .dd-pricing__price-amount {
  color: #fff;
}
.dd-pricing__price-unit {
  font-size: 22px;
  font-weight: 500;
  color: var(--dd-navy);
  line-height: 1.2;
}
.dd-pricing__card--featured .dd-pricing__price-unit {
  color: #fff;
}

/* Features */
.dd-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-pricing__feature-intro {
  font-size: 18px;
  line-height: 1.5;
  color: #060f27;
}
.dd-pricing__card--featured .dd-pricing__feature-intro {
  color: #fff;
}
.dd-pricing__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  line-height: 1.5;
  color: #060f27;
}
.dd-pricing__card--featured .dd-pricing__feature-item {
  color: #fff;
}
.dd-pricing__feature-item .temp-icon {
  color: var(--dd-primary);
  flex-shrink: 0;
  margin-top: 6px;
}
.dd-pricing__card--featured .dd-pricing__feature-item .temp-icon {
  color: #fff;
}

/* CTA button — standard .temp-btn .temp-btn--primary */
.dd-pricing__btn {
  width: 100%;
  justify-content: space-between;
}
/* Featured card: invert to white bg + dark text */
.dd-pricing__card--featured .dd-pricing__btn {
  background: #fff;
  color: var(--dd-navy);
}
.dd-pricing__card--featured .dd-pricing__btn:hover {
  background: var(--dd-almost-white);
  color: var(--dd-navy);
}

/* Footnote */
.dd-pricing__footnote {
  text-align: center;
  font-size: 18px;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .dd-pricing__outer {
    padding: 40px 20px;
    gap: 40px;
  }
  .dd-pricing__header {
    flex-direction: column;
    gap: 16px;
  }
  .dd-pricing__header-left h2 { font-size: 32px; }
  .dd-pricing__grid {
    flex-direction: column;
    align-items: stretch;
  }
  .dd-pricing__slot--featured { align-items: stretch; }
  .dd-pricing__badge { align-self: center; }
  .dd-pricing__card { padding: 40px 24px; }
}


/* ===========================================
   14d. BEFORE/AFTER SLIDER
   =========================================== */
.temp-before-after { padding: var(--temp-section-pad) 0; }
.temp-ba__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--temp-space-lg);
  margin-top: var(--temp-space-xl);
}
.temp-ba__card {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  box-shadow: var(--temp-shadow-sm);
  transition: var(--temp-transition-base);
}
.temp-ba__card:hover {
  box-shadow: var(--temp-shadow-md);
}
.temp-ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  aspect-ratio: 4/3;
}
.temp-ba-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}
.temp-ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.temp-ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.temp-ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--temp-white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
}
.temp-ba-handle__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--temp-white);
  border-radius: var(--temp-radius-full);
  box-shadow: var(--temp-shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--temp-dark);
}
.temp-ba-handle__grip svg {
  width: 14px;
  height: 14px;
}
.temp-ba-label {
  position: absolute;
  bottom: var(--temp-space-sm);
  background: var(--temp-dark-70);
  color: var(--temp-white);
  font-size: var(--temp-font-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--temp-space-xs) var(--temp-space-sm);
  border-radius: var(--temp-radius-sm);
  z-index: 3;
}
.temp-ba-label--before { left: var(--temp-space-sm); }
.temp-ba-label--after { right: var(--temp-space-sm); }
.temp-ba__caption {
  padding: var(--temp-space-md) var(--temp-space-lg);
}
.temp-ba__caption p {
  margin: 0;
  font-size: var(--temp-font-sm);
  color: var(--temp-muted);
}


/* ===========================================
   14e. EMERGENCY / TIME-OF-DAY BANNER
   =========================================== */
.temp-emergency-banner {
  background: var(--temp-primary);
  color: var(--temp-white);
  padding: var(--temp-space-sm) 0;
}
.temp-emergency-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--temp-space-lg);
  flex-wrap: wrap;
  font-size: var(--temp-font-sm);
  font-weight: 600;
}
.temp-tod-message.is-open {
  color: var(--temp-white);
}
.temp-tod-message.is-closed {
  color: var(--temp-white);
}
.temp-emergency-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--temp-space-xs);
  color: var(--temp-white);
  text-decoration: none;
  font-weight: 700;
  padding: var(--temp-space-xs) var(--temp-space-md);
  background: var(--temp-white);
  color: var(--temp-primary);
  border-radius: var(--temp-radius-full);
  transition: var(--temp-transition-fast);
}
.temp-emergency-banner__phone:hover {
  opacity: 0.9;
}


/* ===========================================
   14f. STATS COUNTER STRIP
   =========================================== */
/* dd-stats / temp-stats removed */


/* ===========================================
   14g. LOGO / ACCREDITATION BAR
   =========================================== */
.temp-logo-bar {
  background: var(--temp-white);
  padding: var(--temp-space-lg) 0;
  overflow: hidden;
  position: relative;
}
.temp-logo-bar::before,
.temp-logo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.temp-logo-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--temp-white) 20%, transparent);
}
.temp-logo-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--temp-white) 20%, transparent);
}
.temp-logo-bar__label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--temp-dark);
  font-weight: 600;
  margin-bottom: var(--temp-space-lg);
  padding: 0 60px;

}
.temp-logo-bar__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: temp-marquee 60s linear infinite;
}
.temp-logo-bar__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 120px;
}
.temp-logo-bar__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: var(--temp-transition-base);
}
.temp-logo-bar__item:hover img {
  filter: grayscale(0);
}
.temp-logo-bar__item span {
  font-size: var(--temp-font-sm);
  font-weight: 600;
  color: var(--temp-muted);
  white-space: nowrap;
}
@keyframes temp-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .temp-logo-bar__track {
    gap: 10px;
  }
  .temp-logo-bar__item {
    height: 32px;
    width: 96px;
  }
}


/* ===========================================
   14h. TEAM SECTION
   =========================================== */
.temp-team { padding: var(--temp-section-pad) 0; }
.temp-team__grid {
  display: grid;
  grid-template-columns: repeat(var(--temp-cols, 3), 1fr);
  gap: var(--temp-space-lg);
  margin-top: var(--temp-space-xl);
}
.temp-team__card {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  box-shadow: var(--temp-shadow-sm);
  transition: var(--temp-transition-base);
  text-align: center;
}
.temp-team__card:hover {
  box-shadow: var(--temp-shadow-md);
}
.temp-team__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.temp-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--temp-transition-slow);
}
.temp-team__card:hover .temp-team__photo img {
  transform: scale(1.03);
}
.temp-team__info {
  padding: var(--temp-space-lg);
}
.temp-team__name {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-lg);
  color: var(--temp-dark);
  margin-bottom: var(--temp-space-xs);
}
.temp-team__role {
  font-size: var(--temp-font-sm);
  color: var(--temp-primary);
  font-weight: 600;
  margin-bottom: var(--temp-space-sm);
}
.temp-team__bio {
  font-size: var(--temp-font-sm);
  color: var(--dd-body-text);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .temp-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .temp-team__grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   14i. EXIT INTENT POPUP
   =========================================== */
.temp-exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--temp-black-60, rgba(0,0,0,0.6));
  align-items: center;
  justify-content: center;
  padding: var(--temp-space-md);
}
.temp-exit-popup.open {
  display: flex;
}
.temp-exit-popup__inner {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-2xl);
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--temp-shadow-xl);
  text-align: center;
}
.temp-exit-popup-close {
  position: absolute;
  top: var(--temp-space-sm);
  right: var(--temp-space-sm);
  font-size: var(--temp-font-2xl);
  color: var(--temp-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.temp-exit-popup__img {
  max-width: 200px;
  margin: 0 auto var(--temp-space-lg);
  display: block;
}
.temp-exit-popup__heading {
  font-family: var(--temp-heading);
  font-size: var(--temp-font-xl);
  color: var(--temp-dark);
  margin-bottom: var(--temp-space-sm);
}
.temp-exit-popup__body {
  font-size: var(--temp-font-base);
  color: var(--dd-body-text);
  margin-bottom: var(--temp-space-lg);
  line-height: 1.6;
}
.temp-exit-popup .temp-btn {
  width: 100%;
}


/* ===========================================
   14j. SOCIAL PROOF STRIP
   =========================================== */
.temp-social-proof {
  background: var(--temp-light);
  padding: var(--temp-space-md) 0;
}
.temp-social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--temp-space-sm);
  flex-wrap: wrap;
  font-size: var(--temp-font-sm);
}
.temp-social-proof__stars {
  display: flex;
  gap: 2px;
  color: var(--temp-primary);
}
.temp-social-proof__text {
  color: var(--temp-body);
  font-weight: 500;
}
.temp-social-proof__count {
  color: var(--temp-muted);
}


/* ===========================================
   15. FAQ SECTION
   =========================================== */
.temp-faqs {
  padding: 60px var(--dd-section-pad);
}

.temp-faqs__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--temp-space-2xl);
  align-items: flex-start;
}

.temp-faqs__header {
  position: sticky;
  top: calc(var(--temp-header-height) + var(--temp-space-lg));
}

.temp-faqs__header .temp-section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 0;
}

.temp-faqs__list {
  /* scrolling list */
}

.temp-faq-item {
  border-bottom: 1px solid var(--temp-border);
}

.temp-faq-question {
  width: 100%;
  padding: var(--temp-space-lg) 0;
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-md);
  font-weight: 600;
  color: var(--temp-dark);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--temp-space-md);
  cursor: pointer;
}
.temp-faq-question:hover,
.temp-faq-question:focus,
.temp-faq-question:active {
  background: transparent;
  outline: none;
  box-shadow: none;
  color: var(--temp-dark);
}

.temp-faq-icon {
  flex-shrink: 0;
  transition: transform var(--temp-transition-base);
}
.temp-faq-item.open .temp-faq-icon {
  transform: rotate(180deg);
}

.temp-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--temp-transition-base), padding var(--temp-transition-base);
}
.temp-faq-item.open .temp-faq-answer {
  max-height: 600px;
  padding-bottom: var(--temp-space-lg);
}
.temp-faq-answer p {
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .temp-faqs__layout {
    grid-template-columns: 1fr;
    gap: var(--temp-space-xl);
  }
  .temp-faqs__header {
    position: static;
    text-align: center;
  }
  .temp-faqs__header .temp-section-header {
    text-align: center;
  }
}


/* ===========================================
   16. AREAS SECTION
   =========================================== */
.temp-areas {
  padding: var(--temp-section-pad) 0;
  background: var(--temp-light);
}

.temp-areas__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--temp-space-xl);
}

.temp-areas__column {
  /* wrapper per region */
}

.temp-areas__region {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-lg);
  font-weight: 700;
  color: var(--temp-dark);
  margin-bottom: var(--temp-space-md);
}

.temp-areas__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.temp-areas__list li {
  margin-bottom: var(--temp-space-xs);
}

.temp-areas__link {
  font-size: var(--temp-fs-sm);
  color: var(--temp-body);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}
.temp-areas__link:hover {
  color: var(--temp-primary);
}

@media (max-width: 768px) {
  .temp-areas__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--temp-space-lg);
  }
}
@media (max-width: 480px) {
  .temp-areas__grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   17. CONTACT SECTION
   =========================================== */
.temp-contact {
  padding: 60px var(--temp-section-pad);
}

.temp-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--temp-space-2xl);
  align-items: flex-start;
}

.temp-contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}
.temp-contact__info .temp-section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: var(--temp-space-md);
}

.temp-contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
  margin-top: var(--temp-space-md);
}

.temp-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--temp-space-md);
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
}
.temp-contact__detail svg {
  flex-shrink: 0;
  color: var(--temp-primary);
  margin-top: var(--temp-space-xs);
}

.temp-contact__form-wrap {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-xl);
  box-shadow: var(--temp-shadow-md);
}

/* Grey card wrapper */
.temp-contact__card {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 60px;
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
}

@media (max-width: 768px) {
  .temp-contact {
    padding: 40px 10px;
  }
  
  .temp-contact__card {
    padding: 40px 20px;
    border-radius: 20px;
  }
}

/* Calendly embed column */
.temp-contact__calendly {
  min-width: 0;
}
.temp-contact__calendly .calendly-inline-widget {
  width: 100%;
  height: 700px;
  border: none;
}

/* Remove bottom margin on contact desc paragraph */
.temp-contact__desc {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .temp-contact__grid {
    grid-template-columns: 1fr;
    gap: var(--temp-space-xl);
  }
  .temp-contact__info {
    text-align: center;
    align-items: center;
  }
  .temp-contact__info .temp-section-header {
    text-align: center;
  }
  .temp-contact__details {
    align-items: center;
  }
}


/* ===========================================
   18. QUOTE FORM (Multi-Step)
   =========================================== */

/* Outer card */
/* Wrapper keeps card + footer stacked regardless of parent flex direction */
.temp-quote-form-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.temp-quote-form {
  background: var(--dd-almost-white);
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Navy header */
.temp-quote-form__header {
  background: var(--dd-navy);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.temp-quote-form__header-text h3 {
  font-family: var(--dd-heading-font);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.2;
}
.temp-quote-form__header-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.temp-quote-form__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: var(--dd-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 9999px;
  white-space: nowrap;
}
.temp-quote-form__badge .temp-icon { color: var(--dd-navy); }

/* Form body */
.temp-quote-form__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Step indicator */
.temp-quote-form__step-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}
.temp-quote-form__step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--dd-primary);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.temp-form-progress-segs {
  display: flex;
  gap: 6px;
  flex: 1;
}
.temp-form-progress-seg {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #c9ccd0;
  transition: background 0.3s ease;
}
.temp-form-progress-seg.active {
  background: var(--dd-primary);
}

/* Steps */
.temp-form-steps { margin: 0; }
.temp-form-step { display: none; }
.temp-form-step.active {
  display: block;
  animation: temp-step-fadein 0.3s ease forwards;
}
.temp-form-step__label {
  font-size: 17px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 0 0 14px;
}

/* 3×3 industry grid */
.temp-form-options--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.temp-form-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 14px 8px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-family: var(--temp-body-font);
  border: 1.5px solid var(--temp-primary);
}
.temp-form-option__emoji {
  font-size: 18px;
  line-height: 1;
}
.temp-form-option__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dd-navy);
  text-align: center;
  line-height: 1.3;
}
.temp-form-option:hover  { background: #E7EEF6; }
.temp-form-option.selected {
  border-color: var(--dd-primary);
  background: rgba(251, 100, 31, 0.06);
}
.temp-form-option.selected .temp-form-option__label { color: var(--dd-primary); }

/* Form inputs */
.temp-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dde3e8;
  border-radius: 20px !important;
  font-family: var(--temp-body-font);
  font-size: 15px;
  color: var(--dd-navy);
  background: var(--dd-almost-white);
  transition: border-color 0.2s ease;
  margin-bottom: 10px;
  box-sizing: border-box;
}
/* Step 3 inputs — white background */
.temp-form-step[data-step="3"] .temp-input { background: #fff; }
.temp-input:focus {
  outline: none;
  border-color: var(--dd-primary);
  background: #fff;
}
.temp-input::placeholder { color: #9aabba; }
textarea.temp-input { resize: vertical; min-height: 100px; }

/* Step 2 subtitle */
.temp-form-step__sub {
  font-size: 13px;
  color: var(--dd-slate);
  margin: -8px 0 14px;
}

/* Checkbox list */
.temp-form-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.temp-form-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #fff;
  border: 1.5px solid var(--dd-light-blue);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.temp-form-check:hover { border-color: var(--dd-primary); }
.temp-form-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.temp-form-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--dd-muted);
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.temp-form-check__box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.temp-form-check input[type="checkbox"]:checked ~ .temp-form-check__box {
  background: var(--dd-primary);
  border-color: var(--dd-primary);
}
.temp-form-check input[type="checkbox"]:checked ~ .temp-form-check__box::after {
  opacity: 1;
}
.temp-form-check.checked {
  border-color: var(--dd-primary);
}
.temp-form-check__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dd-navy);
  line-height: 1.3;
}

/* Back button — see override after .temp-btn redesign block (~line 3407) */

/* Form navigation */
.temp-form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

/* Success state */
.temp-form-success {
  text-align: center;
  padding: 32px 0;
}
.temp-form-success__icon { color: var(--dd-primary); margin-bottom: 16px; }
.temp-form-success h3 {
  font-family: var(--dd-heading-font);
  font-size: 20px;
  color: var(--dd-navy);
}

/* Trust footer — outside the card, 12px below */
.temp-quote-form__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  padding: 0 8px;
  font-size: 12px;
  color: var(--dd-slate);
}
.temp-quote-form__footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.temp-quote-form__footer .temp-icon { flex-shrink: 0; }

@media (max-width: 768px) {
  /* Form card rounding */
  .temp-quote-form { border-radius: 30px; }

  /* 3-col option grid drops to 2 columns */
  .temp-form-options--3col { grid-template-columns: repeat(2, 1fr); }

  /* Step 3 nav: stack vertically, submit on top, hug width */
  .temp-form-step[data-step="3"] .temp-form-nav {
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
  }
  .temp-form-step[data-step="3"] .temp-form-nav .temp-btn {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .temp-quote-form__header { padding: 20px 20px; }
  .temp-quote-form__header-text h3 { font-size: 20px; }
  .temp-quote-form__body { padding: 20px 16px 20px; }
  .temp-quote-form__footer { gap: 12px; flex-wrap: wrap; font-size: 11px; }
}


/* ===========================================
   19. FOOTER
   =========================================== */
.temp-footer {
  background: var(--temp-dark);
  color: var(--temp-white);
  padding: var(--temp-section-pad) 0 var(--temp-space-xl);
}

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

.temp-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}

.temp-footer__logo {
  font-family: var(--temp-heading);
  font-weight: 700;
  font-size: var(--temp-fs-xl);
  color: var(--temp-white);
}

.temp-footer__desc {
  font-size: var(--temp-fs-sm);
  color: var(--temp-white-40);
  line-height: 1.7;
  max-width: 300px;
}

.temp-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--temp-space-md);
}

.temp-footer__heading {
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--temp-white);
  margin-bottom: var(--temp-space-sm);
}

.temp-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.temp-footer__links li {
  margin-bottom: var(--temp-space-sm);
}
.temp-footer__links a {
  font-size: var(--temp-fs-sm);
  color: var(--temp-white-40);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}
.temp-footer__links a:hover {
  color: var(--temp-white);
}

.temp-footer__bottom {
  border-top: 1px solid var(--temp-white-10);
  padding-top: var(--temp-space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--temp-space-md);
}
.temp-footer__bottom p {
  font-size: var(--temp-fs-sm);
  color: var(--temp-white-40);
}
.temp-footer__bottom a {
  color: var(--temp-white-40);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}
.temp-footer__bottom a:hover {
  color: var(--temp-white);
}

@media (max-width: 768px) {
  .temp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--temp-space-xl);
  }
  .temp-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .temp-footer__grid {
    grid-template-columns: 1fr;
  }
  .temp-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ===========================================
   20. STICKY MOBILE CTA
   =========================================== */
.temp-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--temp-transition-base), transform var(--temp-transition-base);
  pointer-events: none;
}
.temp-mobile-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.temp-mobile-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--temp-space-sm);
  padding: var(--temp-space-md);
  font-family: var(--temp-body-font);
  font-weight: 600;
  font-size: var(--temp-fs-base);
  text-decoration: none;
  min-height: 56px;
  transition: background var(--temp-transition-fast);
}
.temp-mobile-cta__btn--call {
  background: var(--temp-primary);
  color: var(--temp-white);
}
.temp-mobile-cta__btn--call:hover {
  background: var(--temp-primary-hover);
}
.temp-mobile-cta__btn--text {
  background: var(--temp-secondary);
  color: var(--temp-white);
}

@media (min-width: 769px) {
  .temp-mobile-cta {
    display: none;
  }
}


/* ===========================================
   21. BLOG TEMPLATE
   =========================================== */

/* Progress bar */
.temp-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--temp-primary);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Breadcrumbs */
.temp-breadcrumbs {
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  padding: var(--temp-space-md) 0;
}
.temp-breadcrumbs a {
  color: var(--temp-primary);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
}
.temp-breadcrumbs a:hover {
  color: var(--temp-primary-hover);
}
.temp-breadcrumbs__sep {
  margin-inline: var(--temp-space-sm);
  color: var(--temp-muted);
}

/* Article header */
.temp-article-header {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 20px;
}
.temp-article-header__text {
  flex: 1;
  min-width: 0;
}
.temp-article-header__cat {
  display: inline-block;
  font-size: var(--temp-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--temp-primary);
  background: var(--temp-primary-light);
  padding: var(--temp-space-xs) var(--temp-space-md);
  border-radius: var(--temp-radius-full);
  margin-bottom: var(--temp-space-md);
}
.temp-article-header__title {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-3xl);
  font-weight: 700;
  color: var(--temp-dark);
  line-height: 1.2;
  margin-bottom: var(--temp-space-md);
}
.temp-article-header__meta {
  display: flex;
  gap: var(--temp-space-md);
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
}
.temp-article-header__img {
  flex: 0 0 400px;
  margin-top: 8px;
}
.temp-article-header__img img {
  width: 100%;
  border-radius: var(--temp-radius-lg);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Article layout — 2 col */
.temp-article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--temp-space-2xl);
  align-items: flex-start;
}

/* TOC sidebar */
.temp-toc-sidebar {
  position: sticky;
  top: calc(var(--temp-header-height) + var(--temp-space-lg));
}
.temp-toc {
  background: var(--temp-light);
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-lg);
}
.temp-toc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-sm);
  font-weight: 700;
  color: var(--temp-dark);
  margin-bottom: var(--temp-space-md);
}
.temp-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.temp-toc__list li {
  margin-bottom: var(--temp-space-sm);
}
.temp-toc__link {
  font-size: var(--temp-fs-sm);
  color: var(--temp-muted);
  text-decoration: none;
  transition: color var(--temp-transition-fast);
  display: block;
  padding: var(--temp-space-xs) 0;
}
.temp-toc__link:hover,
.temp-toc__link.active {
  color: var(--temp-primary);
}

/* Article body — prose styles */
.temp-article-body {
  max-width: 720px;
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  line-height: 1.8;
  overflow-x: hidden;
}
.temp-article-body p {
  margin-bottom: var(--temp-space-lg);
}
.temp-article-body h2 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-2xl);
  font-weight: 700;
  color: var(--temp-dark);
  margin-top: var(--temp-space-2xl);
  margin-bottom: var(--temp-space-md);
}
.temp-article-body h3 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-xl);
  font-weight: 700;
  color: var(--temp-dark);
  margin-top: var(--temp-space-xl);
  margin-bottom: var(--temp-space-md);
}
.temp-article-body ul,
.temp-article-body ol {
  margin-bottom: var(--temp-space-lg);
  padding-left: var(--temp-space-xl);
}
.temp-article-body li {
  margin-bottom: var(--temp-space-sm);
}
.temp-article-body blockquote {
  border-left: 4px solid var(--temp-primary);
  padding-left: var(--temp-space-lg);
  margin: var(--temp-space-xl) 0;
  font-style: italic;
  color: var(--dd-body-text);
}
.temp-article-body code {
  background: var(--temp-light);
  padding: var(--temp-space-xs) var(--temp-space-sm);
  border-radius: var(--temp-radius-sm);
  font-size: var(--temp-fs-sm);
}
.temp-article-body pre {
  background: var(--temp-dark);
  color: var(--temp-white);
  padding: var(--temp-space-lg);
  border-radius: var(--temp-radius-md);
  overflow-x: auto;
  margin-bottom: var(--temp-space-lg);
}
.temp-article-body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}
/* Table scroll wrapper — proper mobile overflow (set in PHP via the_content filter) */
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin-bottom: var(--temp-space-lg);
}
.temp-article-body table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
.temp-article-body th,
.temp-article-body td {
  padding: var(--temp-space-md);
  border-bottom: 1px solid var(--temp-border);
  text-align: left;
  font-size: var(--temp-fs-sm);
}
.temp-article-body th {
  font-weight: 700;
  color: var(--temp-dark);
}
.temp-article-body img {
  border-radius: var(--temp-radius-md);
  margin: var(--temp-space-lg) 0;
}
.temp-article-body a:not(.temp-btn):not(.temp-inline-cta__btn) {
  color: var(--temp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--temp-transition-fast);
}
.temp-article-body a:not(.temp-btn):not(.temp-inline-cta__btn):hover {
  color: var(--temp-primary-hover);
}

/* Inline CTA (mid-article) */
.temp-inline-cta {
  background: var(--temp-dark);
  border: none;
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-xl);
  margin: var(--temp-space-2xl) 0;
  text-align: center;
}
.temp-inline-cta h3 {
  font-family: var(--temp-heading);
  font-size: var(--temp-fs-xl);
  color: var(--temp-white);
  margin-bottom: var(--temp-space-sm);
}
.temp-inline-cta p {
  font-size: calc(var(--temp-fs-base) + 2px);
  color: var(--temp-white);
  margin-bottom: var(--temp-space-md);
}
.temp-inline-cta .temp-btn {
  color: var(--temp-white);
  text-decoration: none;
}
.temp-inline-cta .temp-btn:hover {
  color: var(--temp-white);
  text-decoration: none;
}

/* ===========================================
   Blog archive grid
   =========================================== */

/* Hide default GP loop on blog archive */
.blog .site-main > article,
.blog .site-main > nav.navigation,
.blog .site-main > .paginav { display: none; }

/* Section wrapper */
.dd-blog-grid {
  padding: 20px var(--dd-section-pad);
}
.dd-blog-grid__outer {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1280px;
  width: 100%;
  margin-inline: auto;
}

/* Card grid */
.dd-blog-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Card */
.dd-blog-card {
  background: #fff;
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.dd-blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

/* Image */
.dd-blog-card__img-wrap {
  height: 196px;
  overflow: hidden;
  flex-shrink: 0;
}
.dd-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.dd-blog-card:hover .dd-blog-card__img { transform: scale(1.03); }
.dd-blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dd-light-blue);
}

/* Content */
.dd-blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
}
.dd-blog-card__tag {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 216, 198, 0.5);
  color: #ef5813;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  align-self: flex-start;
}
.dd-blog-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #060f27;
  margin: 0;
}
.dd-blog-card__excerpt {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Pagination */
.dd-blog-grid__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dd-blog-grid__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: var(--dd-navy);
  background: #fff;
  transition: background .2s, color .2s;
}
.dd-blog-grid__pagination .page-numbers:hover,
.dd-blog-grid__pagination .page-numbers.current {
  background: var(--dd-primary);
  color: #fff;
}

/* Mobile */
@media (max-width: 768px) {
  .dd-blog-grid { padding: 40px 10px; }
  .dd-blog-grid__outer {
    padding: 40px 20px;
    border-radius: 24px;
    gap: 24px;
  }
  .dd-blog-grid__cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .temp-article-layout {
    grid-template-columns: 1fr;
  }
  .temp-toc-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .temp-article-header {
    flex-direction: column;
    gap: var(--temp-space-lg);
  }
  .temp-article-header__img {
    flex: none;
    width: 100%;
  }
  .temp-article-body .dd-faqs__list {
    padding: 32px 24px;
    border-radius: 32px;
  }
  .temp-article-header__title {
    font-size: var(--temp-fs-2xl);
  }
}


/* ===========================================
   22. WPFORMS OVERRIDES
   =========================================== */
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form input[type="url"],
.wpforms-container .wpforms-form input[type="number"],
.wpforms-container .wpforms-form textarea,
.wpforms-container .wpforms-form select {
  border: 1px solid var(--temp-border);
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-md);
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  color: var(--temp-body);
  background: var(--temp-white);
  transition: border-color var(--temp-transition-fast), box-shadow var(--temp-transition-fast);
}
.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus,
.wpforms-container .wpforms-form select:focus {
  border-color: var(--temp-primary);
  box-shadow: 0 0 0 3px var(--temp-primary-15);
  outline: none;
}
.wpforms-container .wpforms-form .wpforms-field-label {
  font-family: var(--temp-body-font);
  font-weight: 600;
  color: var(--temp-dark);
  margin-bottom: var(--temp-space-xs);
}
.wpforms-container .wpforms-form .wpforms-field-sublabel {
  font-size: var(--temp-fs-xs);
  color: var(--temp-muted);
}
.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-submit {
  background: var(--temp-primary);
  color: var(--temp-white);
  border: none;
  border-radius: var(--temp-radius-md);
  padding: var(--temp-space-md) var(--temp-space-xl);
  font-family: var(--temp-body-font);
  font-size: var(--temp-fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--temp-transition-fast), transform var(--temp-transition-fast), box-shadow var(--temp-transition-fast);
}
.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form .wpforms-submit:hover {
  background: var(--temp-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--temp-shadow-sm);
}
.wpforms-container .wpforms-form ::placeholder {
  color: var(--temp-muted);
  opacity: 0.7;
}


/* ===========================================
   23. UTILITIES
   =========================================== */

/* Before/After Slider */
.temp-ba-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  max-width: 100%;
  border-radius: var(--temp-radius-md);
}
.temp-ba-slider img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.temp-ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
}
.temp-ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.temp-ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--temp-white);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
}
.temp-ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--temp-white);
  border-radius: var(--temp-radius-full);
  box-shadow: var(--temp-shadow-lg);
}

/* Time-of-Day Message */
.temp-tod-message.is-open { color: var(--temp-secondary); }
.temp-tod-message.is-closed { color: var(--temp-accent); }

/* Exit Intent Popup */
.temp-exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--temp-dark-60);
  align-items: center;
  justify-content: center;
  padding: var(--temp-space-md);
}
.temp-exit-popup.open {
  display: flex;
  animation: temp-backdrop-in 0.3s ease forwards;
}
.temp-exit-popup-inner {
  background: var(--temp-white);
  border-radius: var(--temp-radius-lg);
  padding: var(--temp-space-2xl);
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--temp-shadow-xl);
  animation: temp-popup-in 0.3s ease forwards;
}
.temp-exit-popup-close {
  position: absolute;
  top: var(--temp-space-md);
  right: var(--temp-space-md);
  background: none;
  border: none;
  font-size: var(--temp-fs-xl);
  cursor: pointer;
  color: var(--temp-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Map */
.temp-map {
  border-radius: var(--temp-radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}
/* Kill GP default 20px margin-bottom on all direct site-main children */
.site-main > * {
  margin-bottom: 0;
}
/* Kill GP bottom margin on last element before footer */
.site-main > *:last-child,
.entry-content > *:last-child {
  margin-bottom: 0;
}
.temp-map iframe {
  width: 100%;
  border: 0;
}


/* ===========================================
   24. ANIMATIONS & TRANSITIONS
   =========================================== */

/* --- Scroll Reveal --- */
.temp-reveal {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--temp-transition-slow),
              transform var(--temp-transition-slow);
  transition-delay: var(--temp-delay, 0s);
}
.temp-reveal.temp-visible {
  opacity: 1;
  transform: translateY(0);
}
.temp-reveal--left {
  transform: translateX(-24px);
}
.temp-reveal--left.temp-visible {
  transform: translateX(0);
}
.temp-reveal--right {
  transform: translateX(24px);
}
.temp-reveal--right.temp-visible {
  transform: translateX(0);
}
.temp-reveal--scale {
  transform: scale(0.95);
  opacity: 0;
}
.temp-reveal--scale.temp-visible {
  transform: scale(1);
  opacity: 1;
}

/* --- Hero Entrance --- */
.temp-hero-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--temp-ease),
              transform 0.7s var(--temp-ease);
}
.temp-hero-animate:nth-child(1) { transition-delay: 0s; }
.temp-hero-animate:nth-child(2) { transition-delay: 0.15s; }
.temp-hero-animate:nth-child(3) { transition-delay: 0.3s; }
.temp-hero-animate:nth-child(4) { transition-delay: 0.45s; }
.temp-hero-animate:nth-child(5) { transition-delay: 0.6s; }
.temp-hero-animate:nth-child(6) { transition-delay: 0.75s; }

.temp-hero-entered {
  opacity: 1;
  transform: translateY(0);
}

.temp-hero-animate--image {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.8s var(--temp-ease),
              transform 0.8s var(--temp-ease);
  transition-delay: 0.2s;
}
.temp-hero-animate--image.temp-hero-entered {
  transform: scale(1);
}

/* Page hero entrance (non-homepage) */
.temp-page-hero-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--temp-transition-slow),
              transform var(--temp-transition-slow);
}
.temp-page-hero-animate:nth-child(1) { transition-delay: 0s; }
.temp-page-hero-animate:nth-child(2) { transition-delay: 0.12s; }
.temp-page-hero-animate:nth-child(3) { transition-delay: 0.24s; }
.temp-page-hero-animate:nth-child(4) { transition-delay: 0.36s; }
.temp-page-hero-animate.temp-hero-entered {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hover Lift --- */
.temp-hover-lift {
  transition: transform var(--temp-transition-fast);
}
.temp-hover-lift:hover {
  transform: translateY(-3px);
}

/* --- Image Zoom on Hover --- */
.temp-hover-zoom {
  overflow: hidden;
}
.temp-hover-zoom img {
  transition: transform 0.4s var(--temp-ease);
}
.temp-hover-zoom:hover img {
  transform: scale(1.03);
}

/* --- Link Underline (grows from left) --- */
.temp-link-underline {
  position: relative;
  text-decoration: none;
}
.temp-link-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width var(--temp-transition-base);
}
.temp-link-underline:hover::after {
  width: 100%;
}

/* --- Keyframes --- */
@keyframes temp-step-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes temp-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--temp-primary-15); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes temp-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes temp-popup-in {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}


/* ===========================================
   25. REDUCED MOTION
   =========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .temp-reveal,
  .temp-hero-animate,
  .temp-hero-animate--image,
  .temp-page-hero-animate {
    opacity: 1 !important;
    transform: none !important;
  }
  .temp-btn:hover,
  .temp-hover-lift:hover {
    transform: none !important;
  }
  .temp-hover-zoom:hover img {
    transform: none !important;
  }
}


/* =====================================================================
   DD 3.0 — DESIGN TOKEN OVERRIDES & COMPONENT REBUILDS
   Source: Figma "Dossis Digital 3.0" — node 4031:5015
   Font: Satoshi (fontshare.com) — TODO self-host before go-live
   ===================================================================== */

/* ── 1. Token overrides: remap --temp- vars + define --dd- ── */
:root {
  /* Override core template vars */
  --temp-primary:       #fb641f;
  --temp-primary-light: rgba(251, 100, 31, 0.12);
  --temp-primary-hover: #ef5813;
  --temp-dark:          #16253e;
  --temp-body:          #060f27;
  --temp-muted:         #6b7280;
  --temp-light:         #f2f2f2;
  --temp-heading:       'Satoshi', system-ui, -apple-system, sans-serif;
  --temp-body-font:     'Satoshi', system-ui, -apple-system, sans-serif;

  /* DD-specific tokens */
  --dd-heading-font:    'Satoshi', system-ui, -apple-system, sans-serif;
  --dd-primary:         #fb641f;
  --dd-primary-hover:   #ef5813;
  --dd-navy:            #16253e;
  --dd-heading-text:    #060f27;
  --dd-body-text:       #060f27;
  --dd-muted:           #6b7280;
  --dd-almost-white:    #f2f2f2;
  --dd-bg-3:            #e7eef6;
  --dd-tag-bg:          rgba(255, 216, 198, 0.5);
  --dd-tag-text:        #ef5813;
  --dd-radius-pill:     50px;
  --dd-header-height:   76px;
  --dd-section-pad:     80px;
  --dd-btn-arrow:       url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");

}

/* ── 2. Eyebrow / tag pill (replaces .temp-eyebrow) ── */
.temp-eyebrow,
.temp-section-header .temp-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: var(--dd-tag-bg);
  color: var(--dd-tag-text);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  border: none;
}

/* ── 3. Button redesign: pill with orange circle arrow ── */
.temp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 6px 6px 6px 22px;
  border-radius: var(--dd-radius-pill);
  border: none;
  font-family: var(--temp-body-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.temp-btn::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-left: 24px;
  background-color: var(--dd-primary);
  background-image: var(--dd-btn-arrow);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px;
  border-radius: 9999px;
  transition: transform 0.2s ease;
}
.temp-btn:hover,
.temp-btn:active {
  transform: none;
  box-shadow: none;
}
.temp-btn--primary {
  background: var(--dd-navy);
  color: #fff;
}
.temp-btn--primary:hover {
  background: #060f27;
  color: #fff;
}
.temp-btn--primary:hover::after {
  transform: translateX(8px);
}
.temp-btn--outline {
  background: #fff;
  color: #c94a0e; /* darkened — 4.70:1 on white (AA) */
  border: 1.5px solid var(--dd-primary);
}
.temp-btn--outline::after {
  /* arrow stays orange */
}
.temp-btn--outline:hover {
  background: var(--dd-almost-white);
  color: var(--dd-primary);
}
.temp-btn--outline:hover::after {
  transform: translateX(8px);
}
/* Remove small variant sizing conflicts */
.temp-btn--sm {
  font-size: 16px;
  padding: 4px 4px 4px 16px;
}
.temp-btn--sm::after {
  width: 36px;
  height: 36px;
  margin-left: 16px;
  background-size: 16px;
}

/* Back button — must live after .temp-btn redesign to win the cascade */
.temp-btn--back {
  background: #fff;
  color: #456F88;
  border: 1.5px solid #C9DCE5;
  flex-direction: row-reverse;   /* icon left, text right */
  padding: 6px 22px 6px 6px;    /* flip: text gets right padding, icon gets left */
  gap: 20px;
}
.temp-btn--back::after {
  background-color: transparent;
  border: 1.5px solid #C9DCE5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23456F88' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
  background-size: 18px;
  margin-left: 0;
  margin-right: 0;
}
.temp-btn--back:hover {
  background: var(--dd-almost-white);
  color: #456F88;
}
.temp-btn--back:hover::after {
  transform: translateX(-4px);
  border-color: #9ab8c8;
}
/* Back button — mobile override (double class beats .temp-btn mobile rule) */
@media (max-width: 768px) {
  .temp-btn.temp-btn--back {
    justify-content: flex-end;
    padding: 6px 20px 6px 6px;
    width: auto;
  }
  .temp-btn.temp-btn--back::after { margin-left: 0; }
}

/* Full-width buttons on mobile — Figma 4009:3292 */
@media (max-width: 768px) {
  .temp-btn {
    width: 100%;
    justify-content: space-between;
    padding: 6px 6px 6px 20px;
  }
  .temp-btn::after {
    width: 40px;
    height: 40px;
    margin-left: 12px;
    background-size: 16px;
  }
}

/* ── 4. Header ── */
.dd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
}
.dd-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--dd-section-pad);
  max-width: 1440px;
  margin: 0 auto;
}
.dd-header__logo {
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.dd-logo__img {
  height: 36px;
  width: auto;
  display: block;
}
.dd-logo__wordmark {
  font-family: var(--temp-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dd-navy);
  letter-spacing: -0.3px;
}

/* Desktop nav pill */
.dd-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.dd-nav__pill {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--dd-almost-white);
  border-radius: var(--dd-radius-pill);
  padding: 10px 28px;
}
.dd-nav__item {
  position: relative;
}
.dd-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dd-heading-text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
  padding: 4px 0;
}
.dd-nav__link:hover {
  color: var(--dd-primary);
}
.dd-nav__link svg {
  transition: transform 0.2s ease;
}
.dd-nav__item--has-dropdown:hover .dd-nav__link svg {
  transform: rotate(180deg);
}
/* Dropdown — visibility/opacity instead of display:none so ::before bridge works */
.dd-nav__dropdown {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(6, 15, 39, 0.12);
  padding: 8px;
  list-style: none;
  margin: 0;
  min-width: 200px;
  z-index: 10;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
/* Invisible bridge fills the 8px gap so cursor stays "inside" the hover zone */
.dd-nav__dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.dd-nav__item--has-dropdown:hover .dd-nav__dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.dd-nav__dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dd-heading-text);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}
.dd-nav__dropdown li a:hover {
  background: var(--dd-almost-white);
  color: var(--dd-primary);
}

/* Nested service flyout (level 2) */
.dd-nav__has-flyout { position: relative; }
.dd-nav__dropdown li.dd-nav__has-flyout > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dd-nav__dropdown li.dd-nav__has-flyout > a::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.5;
  flex-shrink: 0;
}
.dd-nav__flyout {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: -8px;
  left: 100%;
  margin-left: 6px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(6, 15, 39, 0.12);
  padding: 8px;
  list-style: none;
  min-width: 210px;
  z-index: 11;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.dd-nav__flyout::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  width: 14px;
  height: 100%;
}
.dd-nav__has-flyout:hover > .dd-nav__flyout {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.dd-nav__flyout li a {
  display: block;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dd-heading-text);
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.dd-nav__flyout li a:hover {
  background: var(--dd-almost-white);
  color: var(--dd-primary);
}

/* Mobile nested service sub-items */
.temp-mobile-dropdown .dd-m-head { font-weight: 700; }
.temp-mobile-dropdown .dd-m-sub {
  padding-left: 28px;
  font-size: 14px;
  opacity: 0.85;
}

/* Desktop CTA nav button */
.dd-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 6px 6px 6px 22px;
  background: var(--dd-navy);       /* #16253e default */
  color: #fff;
  border-radius: var(--dd-radius-pill);
  font-family: var(--temp-body-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.dd-btn-nav::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-left: 24px;
  background-color: var(--dd-primary);
  background-image: var(--dd-btn-arrow);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 20px;
  border-radius: 9999px;
  transition: background-position 0.2s ease;
}
/* Hover: bg deepens to #060f27, arrow icon slides right within the circle */
.dd-btn-nav:hover {
  background: #060f27;
  box-shadow: none;
  outline: none;
}
.dd-btn-nav:hover::after {
  background-position: calc(50% + 3px) center;
}

/* White solid variant — used on dark (navy) section backgrounds */
.dd-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 6px 6px 6px 22px;
  background: #fff;
  color: var(--dd-heading-text);
  border-radius: var(--dd-radius-pill);
  font-family: var(--temp-body-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.dd-btn-white::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-left: 24px;
  background-color: var(--dd-primary);
  background-image: var(--dd-btn-arrow);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  border-radius: 9999px;
  transition: transform 0.2s ease;
}
.dd-btn-white:hover { background: var(--dd-almost-white); color: var(--dd-heading-text); }
.dd-btn-white:hover::after { transform: translateX(8px); }

/* Ghost variant — white outline, used as secondary on dark backgrounds */
.dd-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 6px 6px 6px 22px;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: var(--dd-radius-pill);
  font-family: var(--temp-body-font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 217px;
  transition: background 0.2s ease;
  white-space: nowrap;
  justify-content: space-between;
}
.dd-btn-ghost::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-left: 24px;
  background-color: var(--dd-primary);
  background-image: var(--dd-btn-arrow);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  border-radius: 9999px;
  transition: transform 0.2s ease;
}
.dd-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.dd-btn-ghost:hover::after { transform: translateX(8px); }

/* Tag on-dark variant — white bg pill (replaces orange-tinted bg) */
.dd-tag--on-dark {
  background: #fff;
}

/* ── 5. DD Hero ── */
.dd-hero {
  background: #fff;
  padding: 40px var(--dd-section-pad);
}
.dd-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}
.dd-hero__card {
  background: var(--dd-almost-white);
  border-radius: var(--dd-radius-pill);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.dd-hero__review-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: #fff;
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dd-heading-text);
}
.dd-hero__stars {
  color: #f59e0b;
  font-size: 13px;
  letter-spacing: 2px;
}
/* ── DD 3.0 Hero entrance animation ── */
/* Heading + card stay visible for LCP; other elements fade in */
@keyframes dd-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes dd-slide-up {
  from { transform: translateY(12px); }
  to   { transform: translateY(0); }
}
.dd-hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* LCP-critical elements: visible immediately, subtle slide only */
.dd-hero__heading {
  animation: dd-slide-up 0.4s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
}
/* Non-LCP elements: keep fade-up */
.dd-hero__review-pill {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0s;
}
.dd-hero__sub {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.15s;
}
.dd-hero__actions {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.25s;
}
.dd-hero__trust {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.35s;
}
.dd-hero__img-wrap:first-child {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.45s;
}
.dd-hero__img-wrap:last-child {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.6s;
}
.dd-hero__heading {
  font-family: var(--temp-heading);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-hero__mark {
  color: #e8560f; /* darkened orange — 3.25:1 on #f2f2f2 (AA large text) */
}
.dd-hero__sub {
  font-size: 18px;
  line-height: 1.5;
  color: #636b77; /* darkened muted — 4.81:1 on #f2f2f2 (AA normal text) */
  margin: 0;
}
.dd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.dd-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.dd-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #636b77; /* 4.81:1 on #f2f2f2 — AA compliant */
}
.dd-hero__trust-item svg {
  color: var(--dd-primary);
  flex-shrink: 0;
}
.dd-hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dd-hero__proof-avatars {
  display: flex;
}
.dd-hero__proof-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--dd-almost-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}
.dd-hero__proof-avatars span + span { margin-left: -10px; }
.dd-hero__proof-text {
  font-size: 14px;
  color: var(--dd-muted);
  line-height: 1.4;
}
.dd-hero__proof-text strong { color: var(--dd-navy); font-weight: 700; }
.dd-hero__images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-hero__img-wrap {
  flex: 1;
  border-radius: var(--dd-radius-pill);
  overflow: hidden;
  min-height: 220px;
  position: relative;
}
.dd-hero__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dd-hero__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: var(--dd-bg-3);
  border-radius: var(--dd-radius-pill);
}

/* ── 6. Responsive overrides ── */
@media (max-width: 1024px) {
  .dd-header__inner { padding: 14px 32px; }
  .dd-nav { display: none; }
  .dd-btn-nav { display: none; }
  .dd-header .temp-btn { display: none; }
  .temp-mobile-toggle { display: flex !important; }
  .dd-hero__inner {
    grid-template-columns: 1fr;
  }
  .dd-hero__images { display: none; }
  .dd-hero__heading { font-size: 40px; }
}
@media (max-width: 768px) {
  .dd-hero__card { padding: 40px 20px; }
  .dd-hero__heading { font-size: 32px; }
  :root { --dd-section-pad: 10px; }

  .dd-hero {
    padding: 20px 10px;
  }

.dd-about, .dd-problems, .dd-services, .temp-services {
  padding: 40px 10px !important;
}  

}

/* ── DD Page Hero (secondary pages) ── */
.dd-page-hero {
  background: #fff;
  padding: 40px;
}
@media (max-width: 768px) {
  .dd-page-hero { padding: 40px 10px; }
}
.dd-page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.dd-page-hero__card {
  flex: 0 0 63%;
  background: var(--dd-almost-white);
  border-radius: var(--dd-radius-pill);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
/* Rating pill above the H1 — left-aligned, links down to #reviews */
.dd-page-hero__review-link {
  align-self: flex-start;
  width: fit-content;
  margin-bottom: -18px;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.dd-page-hero__review-link:hover { transform: translateY(-1px); }
.dd-page-hero__review-link .dd-hero__review-pill { animation: none; }
.dd-page-hero__heading {
  font-family: var(--dd-heading-font);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dd-navy);
  margin: 0;
}
.dd-page-hero__sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--dd-body-text);
  font-weight: 500;
  margin: 0;
}
.dd-page-hero__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-page-hero__bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--dd-body-text);
  line-height: 1.4;
}
.dd-page-hero__bullets li .temp-icon {
  flex-shrink: 0;
  color: var(--dd-primary);
}
.dd-page-hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.dd-page-hero__img-wrap {
  flex: 1;
  border-radius: var(--dd-radius-pill);
  overflow: hidden;
  position: relative;
  min-height: 360px;
}
.dd-page-hero__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 65%;
}
@media (max-width: 1024px) {
  .dd-page-hero__heading { font-size: 36px; }
  .dd-page-hero__card { padding: 40px 32px; }
}
/* Page hero entrance animation (CSS-only — above the fold, no scroll observer) */
.dd-page-hero__heading {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0s;
}
.dd-page-hero__sub {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.1s;
}
.dd-page-hero__bullets {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.2s;
}
.dd-page-hero__btns {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.3s;
}
.dd-page-hero__img-wrap,
.dd-page-hero__form-wrap {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: 0.2s;
}

@media (max-width: 768px) {
  .dd-page-hero__inner { flex-direction: column; }
  .dd-page-hero__img-wrap { min-height: 260px; flex: none; }
  .dd-page-hero__heading { font-size: 30px; }
  .dd-page-hero__card { padding: 42px 24px; }
  .dd-page-hero__btns .temp-btn { width: 100%; }
}

/* ── Audit form (hero right slot) ── */
.dd-page-hero__form-wrap {
  flex: 1;
  display: flex;
  align-items: stretch;
}
.dd-audit-form {
  background: #fff;
  border-radius: var(--dd-radius-pill);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 8px 40px rgba(14, 42, 57, 0.10);
  width: 100%;
}
.dd-audit-form__title {
  font-family: var(--dd-heading-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 0;
}
.dd-audit-form__sub {
  font-size: 15px;
  color: var(--dd-body-text, #4a5568);
  margin: 0;
  line-height: 1.5;
}
.dd-audit-form__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.dd-audit-form__input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #dde3e8;
  border-radius: 12px;
  font-family: var(--temp-body-font);
  font-size: 15px;
  color: var(--dd-navy);
  background: var(--dd-almost-white);
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.dd-audit-form__input:focus {
  border-color: var(--dd-primary);
  background: #fff;
}
.dd-audit-form__input::placeholder {
  color: #9aabba;
}
.dd-audit-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.dd-audit-form__privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9aabba;
  margin: 0;
}
.dd-audit-form__privacy .temp-icon { flex-shrink: 0; }

@media (max-width: 768px) {
  .dd-page-hero__form-wrap { flex: none; width: 100%; }
  .dd-audit-form { padding: 28px 24px; border-radius: 40px; }
}

/* ── DD 3.0 Shared utilities ── */
/* Orange inline span used inside headings */
.dd-orange {
  color: var(--dd-primary);
}

/* Tag pill (eyebrow) used across sections */
.dd-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start; /* hug content — prevent parent flex-col from stretching it */
  width: fit-content;
  padding: 6px 14px;
  background: var(--dd-tag-bg);
  color: var(--dd-tag-text);
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

/* ── DD 3.0 About Us section (Figma 4031:5406) ── */
.dd-about {
  background: #fff;
  padding: 80px var(--dd-section-pad);
}
.dd-about__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* Split row: left 462px fixed | right flex-1 */
.dd-about__split {
  display: flex;
  align-items: center;
  gap: 32px;
}
.dd-about__left {
  flex: 0 0 410px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-about__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-about__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
.dd-about__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dd-about__body p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-about__body p + p {
  margin-top: 18px;
}
.dd-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* All sections — swap temp-reveal transition for dd-fade-up animation */
.dd-about .temp-reveal,
.dd-problems .temp-reveal,
.dd-services .temp-reveal,
.dd-process .temp-reveal,
.dd-reviews .temp-reveal,
.dd-case-study .temp-reveal,
.dd-guarantee .temp-reveal,
.dd-faqs .temp-reveal,
.temp-split .temp-reveal,
.dd-pricing .temp-reveal,
.dd-trust-bar .temp-reveal { transition: none; }
.dd-about .temp-reveal.temp-visible,
.dd-problems .temp-reveal.temp-visible,
.dd-services .temp-reveal.temp-visible,
.dd-process .temp-reveal.temp-visible,
.dd-reviews .temp-reveal.temp-visible,
.dd-case-study .temp-reveal.temp-visible,
.dd-guarantee .temp-reveal.temp-visible,
.dd-faqs .temp-reveal.temp-visible,
.temp-split .temp-reveal.temp-visible,
.dd-pricing .temp-reveal.temp-visible,
.dd-trust-bar .temp-reveal.temp-visible {
  animation: dd-fade-up 0.5s cubic-bezier(0.53, 0.02, 0.51, 0.99) both;
  animation-delay: var(--temp-delay, 0s);
}

/* Money sections are NEVER hidden behind the scroll-reveal. Prices, proof
   stats, case-study numbers and the guarantee copy paint immediately: a
   fast-scrolling visitor landing on a blank pricing card or an empty
   guarantee band reads it as broken (2026-08-10 adversarial LP review).
   Other sections keep the fade-up. */
.dd-pricing .temp-reveal,
.dd-trust-bar .temp-reveal,
.dd-guarantee .temp-reveal,
.dd-case-study .temp-reveal,
.dd-about .dd-stat-card.temp-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.dd-pricing .temp-reveal.temp-visible,
.dd-trust-bar .temp-reveal.temp-visible,
.dd-guarantee .temp-reveal.temp-visible,
.dd-case-study .temp-reveal.temp-visible,
.dd-about .dd-stat-card.temp-reveal.temp-visible {
  animation: none;
}

/* Stats grid: 4 equal pill cards */
.dd-about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dd-stat-card {
  background: var(--dd-almost-white);
  border-radius: var(--dd-radius-pill);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.dd-stat-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--dd-bg-3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dd-navy);
}
.dd-stat-card__icon svg {
  width: 24px;
  height: 24px;
}
.dd-stat-card__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.dd-stat-card__value {
  font-family: var(--temp-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dd-heading-text);
}
.dd-stat-card__label {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dd-heading-text);
}

/* Responsive */
@media (max-width: 1024px) {
  .dd-about__left { flex: 0 0 320px; }
  .dd-about__heading { font-size: 38px; }
  .dd-about__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dd-about__split { flex-direction: column; }
  .dd-about__left { flex: none; }
  .dd-about__heading { font-size: 32px; }
  .dd-about__stats { grid-template-columns: 1fr; gap: 12px; }
  .dd-stat-card { padding: 16px; gap: 16px; }
  .dd-stat-card__value { font-size: 24px; }
  .dd-stat-card__label { font-size: 15px; }
}

/* ── DD 3.0 Problem Agitation (Figma 4031:5456) ── */
.dd-problems {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-problems__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Centered header — max 600px */
.dd-problems__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}
/* Any centred section header resets the tag's flex-start default */
[class*="__header"][style*="center"] .dd-tag,
.dd-problems__header .dd-tag,
.dd-process__header .dd-tag,
.dd-services__header-left .dd-tag,
.dd-guarantee__col .dd-tag { align-self: center; }
.dd-problems__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-problems__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dd-heading-text);
  margin: 0;
}

/* 2×2 card grid */
.dd-problems__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Base card */
.dd-problem-card {
  border-radius: 50px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Icon cube */
.dd-problem-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dd-problem-card__icon svg {
  width: 24px;
  height: 24px;
}

/* Content */
.dd-problem-card__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dd-problem-card__title {
  font-family: var(--temp-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.dd-problem-card__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* Dark variant (card 1) */
.dd-problem-card--dark {
  background: var(--dd-navy);
}
.dd-problem-card--dark .dd-problem-card__icon {
  background: #fff;
  color: var(--dd-navy);
}
.dd-problem-card--dark .dd-problem-card__title,
.dd-problem-card--dark .dd-problem-card__desc {
  color: #fff;
}

/* Light variant (cards 2–4) */
.dd-problem-card--light {
  background: var(--dd-almost-white);
}
.dd-problem-card--light .dd-problem-card__icon {
  background: var(--dd-navy);
  color: #fff;
}
.dd-problem-card--light .dd-problem-card__title,
.dd-problem-card--light .dd-problem-card__desc {
  color: var(--dd-heading-text);
}

/* Responsive */
@media (max-width: 768px) {
  .dd-problems__heading { font-size: 32px; }
  .dd-problems__grid { grid-template-columns: 1fr; }
  .dd-problem-card { border-radius: 50px; padding: 24px; }
  .dd-problem-card__title { font-size: 24px; }
}

/* ── DD 3.0 Services Grid (Figma 4031:5478) ── */
.dd-services {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-services__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Header row: equal cols, 64px gap */
.dd-services__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.dd-services__header-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.dd-services__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-services__header-right {
  flex: 1;

  padding-bottom: 4px;
}
.dd-services__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dd-heading-text);
  margin: 0;
}

/* 3-col grid: cards | images | cards, 40px gap */
.dd-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.dd-services__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Centre images column */
.dd-services__images {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.dd-services__img-wrap {
  flex: 1;
  border-radius: 50px;
  overflow: hidden;
  min-height: 240px;
}
.dd-services__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dd-services__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: var(--dd-bg-3);
  border-radius: 50px;
}

/* Service card base */
.dd-svc-card {
  flex: 1;
  border-radius: 50px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dd-svc-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dd-svc-card__title {
  font-family: var(--dd-heading-font);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}
.dd-svc-card__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}
.dd-svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: gap 0.15s ease;
}
.dd-svc-card__link:hover { gap: 12px; }

/* Inner wrapper: number stacked above content, pushes link to bottom */
.dd-svc-card__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  flex: 1;
}


/* Number — right-aligned, full opacity */
.dd-svc-card__num {
  font-family: var(--dd-heading-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  text-align: right;
  color: var(--dd-navy);
  opacity: 1;
}


@media (max-width: 600px) {
  .dd-svc-card__inner {
  gap: 24px;
  }

  .dd-svc-card__num {
    font-size: 40px;
  }
}

/* Dark card */
.dd-svc-card--dark {
  background: #16253e;
}
.dd-svc-card--dark .dd-svc-card__num { color: #fff; opacity: 1; }
.dd-svc-card--dark .dd-svc-card__title,
.dd-svc-card--dark .dd-svc-card__desc { color: #fff; }
.dd-svc-card--dark .dd-svc-card__link { color: #fff; }

/* Light card */
.dd-svc-card--light {
  background: var(--dd-almost-white);
}
.dd-svc-card--light .dd-svc-card__title,
.dd-svc-card--light .dd-svc-card__desc { color: var(--dd-heading-text); }
.dd-svc-card--light .dd-svc-card__link { color: var(--dd-primary); }

/* Flat 3×N grid — used by temp_render_services (inner pages, no image col) */
.dd-services__flat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  .dd-services__grid { grid-template-columns: 1fr; }
  .dd-services__images { flex-direction: row; height: 300px; }
  .dd-services__img-wrap { min-height: unset; }
  .dd-services__flat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dd-services__header { gap: 12px; }
  .dd-services__heading { font-size: 32px; }
  .dd-services__images { flex-direction: column; height: auto; }
  .dd-services__img-wrap { min-height: 200px; }
  .dd-svc-card { border-radius: 50px; padding: 32px; }
  .dd-svc-card__title { font-size: 24px; }
  .dd-services__flat-grid { grid-template-columns: 1fr; }
}

/* ── DD 3.0 How It Works (Figma 4031:5596) ── */

/* White outer section — inner rounded card sits inside */
.dd-process {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-process__container {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Centered header */
.dd-process__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}
.dd-process__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-process__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dd-heading-text);
  margin: 0;
}

/* Steps row with connecting line */
.dd-process__steps {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  width: 100%;
}

/* Horizontal connecting line — sits at circle midpoint (top: 32px = 64px/2) */
.dd-process__divider {
  position: absolute;
  top: 32px;
  left: 15%;
  right: 16%;
  height: 2px;
  background: #d4dee3;
  pointer-events: none;
}

/* Individual step */
.dd-process__step {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  min-width: 0;
  text-align: center;
}

/* Number circle — z-index sits above the line */
.dd-process__step-num {
  width: 64px;
  height: 64px;
  border-radius: 32px;
  background: var(--dd-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--temp-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.dd-process__step-title {
  font-family: var(--temp-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-process__step-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .dd-process { padding: 24px var(--dd-section-pad); }
  .dd-process__container { padding: 48px 24px; border-radius: 50px; gap: 40px; }
  .dd-process__heading { font-size: 32px; }
  .dd-process__steps { flex-direction: column; gap: 32px; align-items: flex-start; }
  .dd-process__divider { display: none; }
  .dd-process__step { align-items: flex-start; text-align: left; flex: none; width: 100%; }
}

/* ── DD 3.0 FAQs (Figma 4031:5609) ── */

/* White outer → rounded #f2f2f2 container, horizontal split */
.dd-faqs {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-faqs__container {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 80px 40px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
}

/* Left column — fixed 400px, tag + H2. Sticks while list scrolls. */
.dd-faqs__left {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: calc(var(--dd-header-height) + 24px);
}
.dd-faqs__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  margin: 0;
}

/* Right column — flexible accordion list */
.dd-faqs__list {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

/* Individual accordion card */
.dd-faq {
  background: #fff;
  border-radius: 30px;
  padding: 0 24px;
  list-style: none;
}

/* Remove default <details> marker in all browsers */
.dd-faq summary { list-style: none; }
.dd-faq summary::-webkit-details-marker { display: none; }

/* Question row */
.dd-faq__question {
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--temp-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  user-select: none;
  list-style: none;
}
/* Tighten bottom padding when open to give answer breathing room */
details[open] > .dd-faq__question {
  padding-bottom: 10px;
}

/* Chevron — orange keyboard_arrow_up SVG, rotated 180° when closed */
.dd-faq__question::after {
  content: '';
  display: inline-flex;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6 1.41 1.41z' fill='%23fb641f'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
  transform: rotate(180deg); /* default: closed → points down */
  transition: transform 0.2s ease;
}
details[open] > .dd-faq__question::after {
  transform: rotate(0deg); /* open → points up */
}

/* Answer body */
.dd-faq__answer {
  padding-bottom: 24px;
}
.dd-faq__answer p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

/* Responsive — stack left col above accordion on mobile */
@media (max-width: 768px) {
  .dd-faqs { padding: 24px var(--dd-section-pad); }
  .dd-faqs__container { flex-direction: column; padding: 48px 24px; border-radius: 50px; gap: 40px; }
  .dd-faqs__left { width: 100%; position: static; }
  .dd-faqs__heading { font-size: 36px; }
}

/* ── Article FAQ card (dd-faqs__list used inline in blog posts) ── */
.temp-article-body .dd-faqs__list {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 40px 20px;
  margin: 48px 0 0;
  flex: none;
  gap: 20px;
}
.temp-article-body .dd-faqs__list > h2 {
  font-family: var(--temp-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 0 0 32px;
}
.temp-article-body .dd-faq-item {
  padding: 24px 0;
  border-top: 1px solid var(--dd-light-blue);
}
.temp-article-body .dd-faq-item:last-child {
  padding-bottom: 0;
}
.temp-article-body .dd-faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--dd-navy);
  margin: 0 0 10px;
  line-height: 1.4;
}
.temp-article-body .dd-faq-item p {
  font-size: 15px;
  color: var(--dd-slate);
  margin: 0;
  line-height: 1.7;
}

/* ── Article inline CTA (dd-inline-cta used mid-post in blog content) ── */
.temp-article-body .dd-inline-cta {
  background: var(--dd-almost-white);
  border-radius: 24px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.temp-article-body .dd-inline-cta__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dd-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  flex: none;
}
.temp-article-body .dd-inline-cta__icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
  stroke: #fff;
}
.temp-article-body .dd-inline-cta__title {
  font-family: var(--temp-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}
.temp-article-body .dd-inline-cta__desc {
  font-size: 16px;
  color: var(--dd-body-text);
  margin: 0 0 24px;
  line-height: 1.6;
  max-width: 520px;
}
.temp-article-body .dd-inline-cta__btn {
  display: inline-flex;
  align-items: center;
  background: var(--dd-primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--dd-radius-pill);
  transition: background 0.2s ease;
}
.temp-article-body .dd-inline-cta__btn:hover {
  background: var(--dd-primary-hover);
  color: #fff;
}

/* ── Article related posts (replaces GP entry-meta + post-nav) ── */
.temp-related {
  max-width: 1280px;
  margin: 56px auto 0;
  padding: 0 var(--dd-section-pad);
}
.temp-related__heading {
  font-family: var(--temp-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 0 0 28px;
}
.temp-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.temp-related__card {
  display: flex;
  flex-direction: column;
  background: var(--dd-almost-white);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.temp-related__card:hover { transform: translateY(-4px); }
.temp-related__card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.temp-related__card-body { padding: 20px 24px 24px; }
.temp-related__card-cat {
  font-size: 13px;
  font-weight: 600;
  color: var(--dd-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.temp-related__card-title {
  font-family: var(--temp-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 8px 0 0;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .temp-related__grid { grid-template-columns: 1fr; }
}

/* Hide GP entry-meta (cat-links) + post-navigation on single posts —
   replaced by the Related Articles block. */
body.single .entry-meta,
body.single .post-navigation {
  display: none !important;
}

/* ── Marketing Budget Calculator (free tool) ── */
.dd-calc {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-calc__container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}
.dd-calc__form {
  background: var(--dd-navy);
  border-radius: 32px;
  padding: 36px 32px;
}
.dd-calc__form-title {
  font-family: var(--temp-heading);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px;
}
.dd-calc__field { display: block; margin: 0 0 20px; }
.dd-calc__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin: 0 0 8px;
}
.dd-calc__select,
.dd-calc__input {
  width: 100%;
  font-size: 15px;
  font-family: var(--temp-body-font);
  color: var(--dd-navy);
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 13px 14px;
  box-sizing: border-box;
}
.dd-calc__btn {
  width: 100%;
  margin-top: 8px;
  background: var(--dd-primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: var(--dd-radius-pill);
  padding: 15px 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.dd-calc__btn:hover { background: var(--dd-primary-hover); }
.dd-calc__result {
  background: var(--dd-almost-white);
  border-radius: 32px;
  padding: 40px 36px;
}
.dd-calc__result-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--dd-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dd-calc__result-figure {
  font-family: var(--temp-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 8px 0 6px;
  line-height: 1.15;
}
.dd-calc__result-sub {
  font-size: 15px;
  color: var(--dd-body-text);
  margin: 0 0 24px;
  line-height: 1.6;
}
.dd-calc__gap {
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 28px;
}
.dd-calc__gap--under   { background: #fde8e8; color: #8a1f1f; }
.dd-calc__gap--over    { background: #fff3e0; color: #8a5200; }
.dd-calc__gap--ontrack { background: #e6f4ea; color: #1d5631; }
.dd-calc__breakdown-title {
  font-family: var(--temp-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 28px 0 12px;
}
.dd-calc__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.dd-calc__table th {
  text-align: left;
  font-weight: 600;
  color: var(--dd-muted);
  border-bottom: 1px solid var(--dd-bg-3);
  padding: 8px 0;
}
.dd-calc__table td {
  color: var(--dd-body-text);
  border-bottom: 1px solid var(--dd-bg-3);
  padding: 10px 0;
}
.dd-calc__priority {
  margin: 12px 0 0;
  padding: 0 0 0 20px;
  color: var(--dd-body-text);
  font-size: 15px;
  line-height: 1.7;
}
.dd-calc__priority li { margin: 0 0 8px; }
.dd-calc__cta {
  margin: 32px 0 0;
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  text-align: center;
}
.dd-calc__cta-text {
  font-size: 16px;
  color: var(--dd-navy);
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 1.5;
}
.dd-calc__cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--dd-primary);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: var(--dd-radius-pill);
}
.dd-calc__cta-btn:hover { background: var(--dd-primary-hover); color: #fff; }
.dd-calc__cta-sub {
  font-size: 14px;
  color: var(--dd-muted);
  margin: 16px 0 0;
}
.dd-calc__cta-sub a { color: var(--dd-primary); }
@media (max-width: 900px) {
  .dd-calc__container { grid-template-columns: 1fr; }
  .dd-calc__result-figure { font-size: 28px; }
}

/* Hide GP page-header featured image on single posts (article header renders it) */
body.single .page-header-image-single {
  display: none !important;
}

/* ── DD 3.0 Guarantee CTA (Figma 4031:5598) ── */

.dd-guarantee {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
/* Full-width navy rounded card */
.dd-guarantee__container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  background: var(--dd-navy);
  border-radius: 50px;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Centered content column — max 800px */
.dd-guarantee__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 800px;
  width: 100%;
  text-align: center;
}
/* H2 — white, two-line, "Free" handled via .dd-orange */
.dd-guarantee__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}
/* Body paragraphs — white, with natural paragraph spacing */
.dd-guarantee__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dd-guarantee__body p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 1em;
}
.dd-guarantee__body p:last-child { margin-bottom: 0; }
/* Button row */
.dd-guarantee__actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* .dd-orange on dark bg — keeps orange text working on navy */
.dd-guarantee__heading .dd-orange { color: var(--dd-primary); }

/* When guarantee is rendered inside an article (appended via the_content filter) */
.inside-article .dd-guarantee {
  padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .dd-guarantee { padding: 24px var(--dd-section-pad); }
  .dd-guarantee__container { padding: 48px 24px; border-radius: 50px; }
  .dd-guarantee__heading { font-size: 32px; }
  .dd-guarantee__actions { flex-direction: column; align-items: stretch; }
  .dd-btn-white,
  .dd-btn-ghost { justify-content: space-between; min-width: 0; width: 100%; }
}

/* ── DD 3.0 Reviews (Figma 4031:5597) ── */

/* Same outer/container pattern as How It Works */
.dd-reviews {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-reviews__container {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Top tier: intro (tag + heading + choice quote) | featured review card */
.dd-reviews__top {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  width: 100%;
}
.dd-reviews__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}
/* Rating pill in place of the eyebrow tag — entrance handled by temp-reveal */
.dd-reviews__pill .dd-hero__review-pill { animation: none; }
.dd-reviews__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dd-heading-text);
  margin: 0;
}

/* Choice quote — big highlighted excerpt with hanging orange quote marks */
.dd-reviews__quote {
  position: relative;
  margin: 12px 0 0;
  padding-left: 44px;
}
.dd-reviews__quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--dd-primary);
}
.dd-reviews__quote-mark--open {
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 72px;
  line-height: 0.9;
}
.dd-reviews__quote-mark--close {
  font-size: 64px;
  line-height: 0;
  vertical-align: -22px;
  margin-left: 6px;
}
.dd-reviews__quote-text {
  font-family: var(--temp-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-reviews__quote-cite {
  display: block;
  margin-top: 20px;
  font-family: var(--temp-body-font);
  font-size: 16px;
  font-weight: 600;
  font-style: normal;
  color: var(--dd-navy);
}

/* Featured card stretches to the intro height */
.dd-reviews__featured {
  display: flex;
}
.dd-reviews__featured > .dd-review-card { width: 100%; }

/* Bottom tier: 3-up review grid */
.dd-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

/* Individual review card */
.dd-review-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dd-review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dd-review-card__stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}
.dd-review-card__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
/* Quote body: weight 300 (light) exactly as Figma; clamp so cards stay even */
.dd-review-card__quote {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #000;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dd-review-card--featured .dd-review-card__quote {
  -webkit-line-clamp: 9;
}
.dd-review-card__quote.is-expanded {
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}
/* Read more — orange underlined text link with a chevron (shown only on overflow) */
.dd-review-card__readmore {
  display: none;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--dd-primary);
  font-family: var(--temp-body-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.dd-review-card__readmore.is-visible { display: inline-flex; }
.dd-review-card__readmore:hover,
.dd-review-card__readmore:focus { background: none; color: var(--dd-primary); }
.dd-review-card__readmore-label { text-decoration: underline; text-underline-offset: 2px; }
.dd-review-card__readmore:hover .dd-review-card__readmore-label { text-decoration: none; }
.dd-review-card__readmore-chev { flex-shrink: 0; transition: transform 0.2s ease; }
.dd-review-card__readmore.is-open .dd-review-card__readmore-chev { transform: rotate(180deg); }
.dd-review-card__avatar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.dd-review-card__avatar-img,
.dd-review-card__avatar-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
}
.dd-review-card__avatar-img { object-fit: cover; }
.dd-review-card__avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
}
.dd-review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dd-review-card__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}
.dd-review-card__time {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280;
}
.dd-review-card__location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280;
}
.dd-review-card__location svg {
  flex-shrink: 0;
  color: var(--dd-orange, #ED894F);
}

/* CTA — centered navy pill (reuses .dd-btn-nav) */
.dd-reviews__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .dd-reviews__heading { font-size: 36px; }
  .dd-reviews__top { grid-template-columns: 1fr; gap: 28px; }
  .dd-reviews__quote-text { font-size: 22px; }
}
@media (max-width: 768px) {
  .dd-reviews { padding: 24px var(--dd-section-pad); }
  .dd-reviews__container { padding: 40px 24px; border-radius: 28px; gap: 28px; }
  .dd-reviews__heading { font-size: 28px; }
  .dd-reviews__grid { grid-template-columns: 1fr; }
  .dd-review-card__quote,
  .dd-review-card--featured .dd-review-card__quote { -webkit-line-clamp: 6; }
}

/* ── DD 3.0 Case Study (Figma 4031:5501) ── */

/* White tag variant — used on dark navy card */
.dd-tag--white {
  background: #fff;
  color: var(--dd-primary);
}

.dd-case-study {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-case-study__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top row */
.dd-case-study__top {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

/* Dark card: 844px fixed */
.dd-cs-card {
  flex: 0 0 844px;
  background: var(--dd-navy);
  border-radius: 50px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dd-cs-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dd-cs-card__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  object-position: right center;
}
.dd-cs-card__logo-placeholder {
  height: 40px;
  width: 160px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}
.dd-cs-card__heading {
  font-family: var(--temp-heading);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.dd-cs-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dd-cs-card__body p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.dd-cs-card__body p + p { margin-top: 16px; }

/* Right col: flex-1 — image + full-width buttons */
.dd-case-study__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.dd-case-study__img-wrap {
  flex: 1;
  border-radius: 50px;
  overflow: hidden;
  min-height: 240px;
  position: relative;
}
.dd-case-study__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dd-case-study__img--top {
  object-position: top;
}
.dd-case-study__img-placeholder {
  flex: 1;
  min-height: 280px;
  background: var(--dd-almost-white);
  border-radius: 50px;
}

/* Full-width stacked buttons */
.dd-case-study__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Make global temp-btn fill the column width in this context */
.dd-case-study__btns .temp-btn { width: 100%; justify-content: space-between; }

/* Bottom rows */
.dd-case-study__bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sub-row 1: 402px heading + 2 stat cards */
.dd-case-study__sub-row1 {
  display: flex;
  gap: 20px;
  align-items: center;
}
.dd-cs-sub-heading {
  flex: 0 0 402px;
  font-family: var(--temp-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-cs-stats-2 {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Sub-row 2: 3-col stat grid */
.dd-cs-stats-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Shared stat card */
.dd-cs-stat-card {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dd-cs-stat-card__value {
  font-family: var(--temp-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--dd-heading-text);
}
.dd-cs-stat-card__label {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--dd-muted);
}

/* Responsive */
@media (max-width: 1200px) {
  .dd-cs-card { flex: 0 0 560px; }
  .dd-cs-card__heading { font-size: 36px; }
}
@media (max-width: 1024px) {
  .dd-case-study__top { flex-direction: column; }
  .dd-cs-card { flex: none; }
  .dd-case-study__sub-row1 { flex-direction: column; align-items: flex-start; }
  .dd-cs-sub-heading { flex: none; }
  .dd-cs-stats-2 { width: 100%; }
}
@media (max-width: 768px) {
  .dd-cs-card { padding: 32px 24px; border-radius: 28px; }
  .dd-cs-card__heading { font-size: 28px; }
  .dd-cs-btn { font-size: 16px; padding: 16px 20px; }
  .dd-cs-sub-heading { font-size: 28px; }
  .dd-cs-stat-card { border-radius: 28px; padding: 24px; }
  .dd-cs-stat-card__value { font-size: 28px; }
  .dd-cs-stats-2 { grid-template-columns: 1fr; }
  .dd-cs-stats-3 { grid-template-columns: 1fr; }
}

/* ── DD 3.0 Portfolio Grid (Figma 4080:6395) ── */
.dd-portfolio {
  background: #fff;
  padding: 60px var(--dd-section-pad);
}
.dd-portfolio__container {
  max-width: 1280px;
  margin-inline: auto;
}
.dd-portfolio__card {
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.dd-portfolio__header {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.dd-portfolio__header-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-portfolio__header-left h2 {
  font-family: var(--dd-heading-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dd-heading-text);
  margin: 0;
}
.dd-portfolio__desc {
  flex: 1;
  font-size: var(--temp-fs-base);
  line-height: 1.5;
  color: var(--dd-body-text);
  margin: 0;
  align-self: center;
}

/* Grid */
.dd-portfolio__grid {
  display: flex;
  gap: 30px;
  height: 800px;
}
.dd-portfolio__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dd-portfolio__col--sides {
  gap: 30px;
}
.dd-portfolio__col--middle {
  gap: 20px;
}

/* Screenshot cards */
.dd-portfolio__screenshot {
  flex: 1;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dd-almost-white);
  box-shadow: 0 0px 15px rgba(14, 42, 57, 0.2);
}
.dd-portfolio__screenshot--empty {
  background: linear-gradient(135deg, #1e4a6a 0%, #16253e 100%);
}
.dd-portfolio__screenshot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Whole card is a link — reset anchor styles */
a.dd-portfolio__screenshot {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
/* Hover footer — slides up from bottom with name + orange arrow */
.dd-portfolio__screenshot--linked {
  position: relative;
}
.dd-portfolio__screenshot-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--dd-navy, #0E2A39);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.dd-portfolio__screenshot--linked:hover .dd-portfolio__screenshot-footer {
  transform: translateY(0);
}
.dd-portfolio__screenshot-name {
  font-family: var(--temp-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.dd-portfolio__screenshot-arrow {
  width: 48px;
  height: 48px;
  background: var(--dd-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* CTA card */
.dd-portfolio__cta {
  flex-shrink: 0;
  background: var(--dd-navy);
  border-radius: 50px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.dd-portfolio__cta-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dd-portfolio__cta-content h3 {
  font-family: var(--dd-heading-font);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.dd-portfolio__cta-content p {
  font-size: var(--temp-fs-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.dd-portfolio__cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dd-primary);
  font-size: var(--temp-fs-base);
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.dd-portfolio__cta-link:hover {
  gap: 14px;
  color: var(--dd-primary);
  text-decoration: none;
}
.dd-portfolio__cta-link .temp-icon {
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .dd-portfolio__grid { height: auto; }
  .dd-portfolio__col--sides .dd-portfolio__screenshot { height: 240px; flex: none; }
  .dd-portfolio__col--middle .dd-portfolio__screenshot { height: 300px; flex: none; }
}
@media (max-width: 768px) {
  .dd-portfolio { padding: 10px 10px !important; }
  .dd-portfolio__card { padding: 40px 24px; border-radius: 32px; }
  .dd-portfolio__header { flex-direction: column; gap: 16px; }
  .dd-portfolio__grid { flex-direction: column; height: auto; gap: 16px; }
  .dd-portfolio__col--sides { display: none; }
  .dd-portfolio__col--middle { gap: 16px; }
  .dd-portfolio__col--middle .dd-portfolio__screenshot { height: 260px; flex: none; }
  .dd-portfolio__cta { border-radius: 28px; padding: 28px 24px; }
  .dd-portfolio__cta-content h3 { font-size: 22px; }
}


/* View All Our Work button — inside dd-portfolio__card */
.dd-portfolio__view-all {
  text-align: center;
  padding: 32px 0 8px;
}

/* Overflow grid: sites beyond the 5 hero slots in dd_render_portfolio */
.dd-portfolio__overflow {
  margin-top: 24px;
}

/* DD Portfolio Full Grid — /portfolio page */
.dd-portfolio-full {
  padding: var(--temp-section-py, 80px) var(--temp-section-px, 10px);
  background: #fff;
}
.dd-portfolio-full__container {
  max-width: var(--temp-max-w, 1280px);
  margin: 0 auto;
}
.dd-portfolio-full__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dd-portfolio-full__grid .dd-portfolio__screenshot {
  height: 360px;
  flex: none;
}
@media (max-width: 768px) {
  .dd-portfolio-full__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .dd-portfolio-full__grid .dd-portfolio__screenshot { height: 220px; }
}
@media (max-width: 480px) {
  .dd-portfolio-full__grid { grid-template-columns: 1fr; }
  .dd-portfolio-full__grid .dd-portfolio__screenshot { height: 240px; }
}


/* ── DD 3.0 Footer (Figma 4031:5610) ── */

/* White outer wrapper — reduced vertical padding vs sections */
.dd-footer {
  background: #fff;
  padding: 20px var(--dd-section-pad);
}

/* Dark almost-black card */
.dd-footer__container {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--dd-navy);
  border-radius: 50px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top row — brand | services | company | social */
.dd-footer__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 48px 32px;
  width: 100%;
}

/* Brand column — first cell of the 4-col grid */
.dd-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Logo — wordmark styled white, Avenir-like weight */
.dd-footer__logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.dd-footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.dd-footer__logo-text {
  font-family: var(--temp-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tagline — light weight, slightly dimmed white */
.dd-footer__tagline {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Contact rows — icon + text, white */
.dd-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dd-footer__contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
}
a.dd-footer__contact-row:hover { color: var(--dd-primary)}

/* Nav columns */
.dd-footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}
.dd-footer__col-heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}
.dd-footer__col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-footer__col-links li a {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.dd-footer__col-links li a:hover { color: var(--dd-primary) }

/* Social icons — 40×40 white SVGs */
.dd-footer__social {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-shrink: 0;
}
.dd-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: color 0.2s ease;
}
.dd-footer__social-link:hover { color: var(--dd-primary); }

/* Bottom copyright + legal links */
.dd-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
/* Stripped footer for paid-landing pages — tighter card, no nav columns */
.dd-footer--minimal .dd-footer__container { padding: 32px 40px; }
.dd-footer__legal {
  display: flex;
  gap: 24px;
}
.dd-footer__legal a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}
.dd-footer__legal a:hover { color: #fff; }
.dd-footer__copyright {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .dd-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
  .dd-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .dd-footer { padding: 16px var(--dd-section-pad); }
  .dd-footer__container { padding: 48px 24px; border-radius: 28px; gap: 32px; }
  .dd-footer__top { gap: 32px; }
  .dd-footer__logo-text { font-size: 22px; }
}
@media (max-width: 460px) {
  .dd-footer__top { grid-template-columns: 1fr; }
  .dd-footer__brand { grid-column: auto; }
}

/* =====================================================================
   DD 3.0 — Hover Micro-interactions
   ===================================================================== */

/* Review cards — lift on hover */
.dd-review-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Problem cards — light variant lifts, dark is static anchor */
.dd-problem-card--light {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Service cards — light variants lift */
.dd-svc-card--light {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dd-svc-card--light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14, 42, 57, 0.08);
}

/* Stat cards — subtle scale */
.dd-stat-card {
  transition: transform 0.2s ease;
}
.dd-stat-card:hover {
  transform: scale(1.02);
}
a.dd-stat-card {
  text-decoration: none;
  cursor: pointer;
}

/* Case study stat cards — lift */
.dd-cs-stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dd-cs-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(14, 42, 57, 0.08);
}

/* FAQ items — subtle shadow on hover */
.dd-faq {
  transition: box-shadow 0.2s ease;
}
.dd-faq:hover {
  box-shadow: 0 4px 16px rgba(14, 42, 57, 0.08);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dd-hero__content,
  .dd-hero__img-wrap:first-child,
  .dd-hero__img-wrap:last-child {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .dd-review-card,
  .dd-problem-card--light,
  .dd-svc-card--light,
  .dd-stat-card,
  .dd-cs-stat-card,
  .dd-faq {
    transition: none;
  }
  .dd-review-card:hover,
  .dd-problem-card--light:hover,
  .dd-svc-card--light:hover,
  .dd-stat-card:hover,
  .dd-cs-stat-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ── GeneratePress button:focus override ─────────────────────────────────
   GP outputs button:focus { background-color: #3f4047 } via its customizer.
   Reset it here, then restore colours for our specific buttons. */
button:focus { background-color: unset; }
.dd-reviews__arrow:focus                { background-color: var(--dd-primary); }
.temp-btn--primary:focus                { background-color: var(--dd-navy); }
.temp-btn--outline:focus                { background-color: transparent; }
.dd-btn-ghost:focus                     { background-color: transparent; }

/* ── Reveal transition override ──────────────────────────────────────────
   Component CSS (e.g. .temp-btn, .dd-stat-card) sets its own `transition`
   shorthand which wipes out the opacity + transform from temp-reveal.
   This block must stay LAST in the file to win the cascade. */
.temp-reveal:not(.temp-visible) {
  transition: opacity var(--temp-transition-slow),
              transform var(--temp-transition-slow) !important;
}

/* ── Global mobile heading sizes — must stay last to override component rules ── */
@media (max-width: 768px) {
  h1 { font-size: 42px !important; }
  h2 { font-size: 36px !important; }
}

/* ── Mobile border radius — all cards & images capped at 40px ── */
@media (max-width: 768px) {
  :root { --dd-radius-pill: 40px; }

  .dd-trust-bar__card,
  .temp-split__content,
  .temp-split__media,
  .dd-pricing__outer,
  .dd-pricing__card,
  .temp-contact__card,
  .dd-blog-grid__outer,
  .dd-blog-card,
  .dd-problem-card,
  .dd-services__img-wrap,
  .dd-services__img-placeholder,
  .dd-svc-card,
  .dd-process__container,
  .dd-faqs__container,
  .dd-guarantee__container,
  .dd-reviews__container,
  .dd-cs-card,
  .dd-case-study__img-wrap,
  .dd-case-study__img-placeholder,
  .dd-cs-stat-card,
  .dd-portfolio__card,
  .dd-portfolio__screenshot,
  .dd-portfolio__cta,
  .dd-footer__container {
    border-radius: 40px !important;
  }
}

/* =====================================================================
   SPARKY LEAD FORM + AUDIT SAMPLE + AUDIT TOC
   /electrician-audit/ landing page components.
   ===================================================================== */

/* ── Lead form ───────────────────────────────────────────────────── */
.dd-sparky-form {
  background: #0e2a39;
  border-radius: 50px;
  overflow: hidden;
  width: 100%;
  margin-left: auto;
}
.dd-sparky-form__head {
  background: linear-gradient(135deg, #ed894f 0%, #d9763d 100%);
  padding: 22px 28px;
  text-align: center;
  color: #fff;
}
.dd-sparky-form__title {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.dd-sparky-form__sub {
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
  color: #fff;
}
.dd-sparky-form__form {
  padding: 24px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dd-sparky-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.dd-sparky-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dd-sparky-form__row {
  display: flex;
  gap: 12px;
}
.dd-sparky-form__row .dd-sparky-form__field {
  flex: 1;
}
.dd-sparky-form__label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.dd-sparky-form__form input[type="text"],
.dd-sparky-form__form input[type="email"],
.dd-sparky-form__form input[type="tel"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 16px;
  background: #fff;
  color: #0e2a39;
  box-sizing: border-box;
  font-family: inherit;
}
.dd-sparky-form__form input:focus {
  outline: 2px solid #ed894f;
  outline-offset: 1px;
}
.dd-sparky-form__btn {
  background: #ed894f;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s ease;
  font-family: inherit;
}
.dd-sparky-form__btn:hover { background: #d9763d; }
.dd-sparky-form__btn:disabled { opacity: 0.6; cursor: not-allowed; }
.dd-sparky-form__meta {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  padding: 4px 0 8px;
  flex-wrap: wrap;
}
.dd-sparky-form__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}
.dd-sparky-form__success {
  padding: 36px 28px;
  text-align: center;
  color: #fff;
}
.dd-sparky-form__success h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #fff;
}
.dd-sparky-form__success p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.5;
}
.dd-sparky-form__cal a {
  color: #ed894f;
  font-weight: 700;
  text-decoration: none;
}
.dd-sparky-form__cal a:hover { text-decoration: underline; }
@media (max-width: 600px) {
  .dd-sparky-form__row { flex-direction: column; }
}

/* ── Audit sample (thumbnail strip) ──────────────────────────────── */
.dd-audit-sample {
  padding: 96px 24px;
  background: #f2f8fb;
}
.dd-audit-sample__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.dd-audit-sample__header {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.dd-audit-sample__header h2 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #0e2a39;
}
.dd-audit-sample__desc {
  font-size: 17px;
  line-height: 1.6;
  color: #3b5566;
  margin: 0;
}
.dd-audit-sample__strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.dd-audit-sample__thumb {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px -12px rgba(14, 42, 57, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dd-audit-sample__thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px -12px rgba(14, 42, 57, 0.35);
}
.dd-audit-sample__thumb img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
}
.dd-audit-sample__thumb figcaption {
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #0e2a39;
  text-align: center;
  border-top: 1px solid #e5edf2;
}
.dd-audit-sample__cta {
  text-align: center;
}
@media (max-width: 1000px) {
  .dd-audit-sample__strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .dd-audit-sample__thumb:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  .dd-audit-sample { padding: 64px 20px; }
  .dd-audit-sample__strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .dd-audit-sample__thumb:nth-child(n+3) { display: none; }
}

/* ── Audit table of contents ─────────────────────────────────────── */
.dd-audit-toc {
  padding: 96px 24px;
  background: #fff;
}
.dd-audit-toc__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.dd-audit-toc__header {
  text-align: center;
  margin-bottom: 56px;
}
.dd-audit-toc__header h2 {
  margin: 16px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #0e2a39;
}
.dd-audit-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dd-audit-toc__item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #f2f8fb;
  border-radius: 16px;
  border-left: 4px solid #ed894f;
}
.dd-audit-toc__num {
  font-family: Merriweather, Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #ed894f;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.dd-audit-toc__text { flex: 1; }
.dd-audit-toc__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #0e2a39;
  line-height: 1.3;
}
.dd-audit-toc__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #3b5566;
}
@media (max-width: 800px) {
  .dd-audit-toc { padding: 64px 20px; }
  .dd-audit-toc__list { grid-template-columns: 1fr; gap: 16px; }
}


/* =====================================================================
   DD 3.0: Booking card (dd_render_booking_card)
   ===================================================================== */
.dd-booking {
  background: var(--dd-almost-white);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dd-booking__badge {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dd-primary);
  background: color-mix(in srgb, var(--dd-primary) 10%, #fff);
  padding: 6px 14px;
  border-radius: var(--dd-radius-pill);
}
.dd-booking__title {
  font-family: var(--dd-heading-font);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--dd-navy);
  margin: 6px 0 0;
  line-height: 1.15;
}
.dd-booking__sub {
  font-size: 1rem;
  color: var(--dd-body-text);
  margin: 0;
  line-height: 1.5;
}
.dd-booking__list {
  list-style: none;
  margin: 4px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dd-booking__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: var(--dd-body-text);
  line-height: 1.4;
}
.dd-booking__list li svg {
  color: var(--dd-primary);
  flex: 0 0 auto;
  margin-top: 2px;
}
.dd-booking__btn {
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
}
.dd-booking__call {
  text-align: center;
  color: var(--dd-muted);
  text-decoration: none;
  font-weight: 600;
}
.dd-booking__call:hover { color: var(--dd-primary); }
.dd-booking__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dd-booking .dd-booking__input {
  width: 100%;
  padding: 14px 22px;
  border: 1px solid color-mix(in srgb, var(--dd-navy) 12%, transparent);
  border-radius: 99px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--dd-body-text);
  background-color: #fff;
  box-sizing: border-box;
}
.dd-booking .dd-booking__input:focus {
  outline: none;
  border-color: var(--dd-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dd-primary) 18%, transparent);
}
.dd-booking .dd-booking__input::placeholder { color: var(--dd-muted); }
.dd-booking__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dd-navy);
}
.dd-booking__days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dd-booking__day {
  border: 1px solid color-mix(in srgb, var(--dd-navy) 15%, transparent);
  background: #fff;
  color: var(--dd-navy);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.dd-booking__day:hover {
  border-color: var(--dd-primary);
  background: color-mix(in srgb, var(--dd-primary) 8%, #fff);
  color: var(--dd-primary);
}
.dd-booking__alltimes {
  background: none;
  border: none;
  color: var(--dd-primary);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  padding: 2px 0;
  align-self: flex-start;
}
.dd-booking__alltimes:hover {
  background: none;
  color: var(--dd-primary-hover);
  text-decoration: none;
}
.dd-page-hero__cta-note {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dd-muted);
}
.dd-page-hero__cta-link {
  color: var(--dd-primary);
  font-weight: 700;
  text-decoration: none;
}
.dd-page-hero__cta-link:hover { color: var(--dd-primary-hover); }
.dd-header--bare .dd-header__inner { justify-content: space-between; }
.dd-header__phone {
  font-weight: 700;
  color: var(--dd-navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dd-header__phone:hover { color: var(--dd-primary); }
.dd-header__phone-icon { display: none; }
.dd-header__phone-short { display: none; }
@media (max-width: 768px) {
  .dd-booking { padding: 32px 20px; }
  .dd-header--bare .dd-logo__img { height: 32px; width: auto; }
  .dd-header__phone-full { display: none; }
  .dd-header__phone-icon { display: inline-flex; }
  .dd-header__phone-short { display: inline; }
}
.dd-booking__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--dd-navy) 10%, transparent);
}
.dd-booking__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.dd-booking__foot-txt { display: flex; flex-direction: column; gap: 2px; }
.dd-booking__foot-name { font-weight: 700; color: var(--dd-navy); font-size: 0.95rem; }
.dd-booking__foot-meta { font-size: 0.85rem; color: var(--dd-muted); }
.dd-booking__stars { color: var(--dd-primary); letter-spacing: 1px; }
/* NextGen case-study hero: show the top of the homepage screenshot, not the middle */
.page-id-58 .dd-page-hero__img-wrap img { object-position: top; }
/* Portfolio hero: browser-mockup on navy — image aspect matches the frame so cover fills edge-to-edge (texture reaches all edges); window centered with margin so it's never clipped */
.page-id-55 .dd-page-hero__img-wrap { background: #0E2A39; }
.page-id-55 .dd-page-hero__img-wrap img { object-fit: cover; object-position: center; }
/* Electricians LP: GSC proof graph shown whole (contain), letterbox filled #F0F4F9 */
.page-id-110 .dd-services__img-wrap:first-child,
.page-id-111 .dd-services__img-wrap:first-child { background: #F0F4F9; }
.page-id-110 .dd-services__img-wrap:first-child img,
.page-id-111 .dd-services__img-wrap:first-child img { object-fit: contain; }
/* Pricing on landing pages: centred header, top-aligned cards, badge offset fix */
.page-id-110 .dd-pricing__header,
.page-id-111 .dd-pricing__header {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.page-id-110 .dd-pricing__header-left,
.page-id-111 .dd-pricing__header-left { flex: none; align-items: center; }
.page-id-110 .dd-pricing__header-right,
.page-id-111 .dd-pricing__header-right { flex: none; max-width: 640px; }
.page-id-110 .dd-pricing__grid,
.page-id-111 .dd-pricing__grid { align-items: flex-start; }
.page-id-110 .dd-pricing__slot--featured,
.page-id-111 .dd-pricing__slot--featured { position: relative; }
.page-id-110 .dd-pricing__slot--featured .dd-pricing__badge,
.page-id-111 .dd-pricing__slot--featured .dd-pricing__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
/* Comparison instance: bad/good, no badge/buttons */
.dd-pricing--compare .dd-pricing__badge { display: none; }
.dd-pricing--compare .dd-pricing__btn { display: none; }
.dd-pricing--compare .dd-pricing__x { color: var(--dd-muted); flex: 0 0 auto; }

/* === Batch tweaks === */
:root { --dd-almost-white: #ededed; }

/* Booking card type + day group */
.dd-booking__label { font-size: 1rem; }
.dd-booking__alltimes,
.dd-booking__foot-name,
.dd-booking__badge { font-size: 1rem; }
.dd-booking__title { font-size: 2rem; margin: 0; }
.dd-booking__daygroup { display: flex; flex-direction: column; gap: 12px; }

/* Pricing/comparison header pill centred */
.page-id-110 .dd-pricing__header-left .dd-tag,
.page-id-111 .dd-pricing__header-left .dd-tag { align-self: center; }

/* Comparison: centred rows, red crosses, green ticks */
.dd-pricing--compare .dd-pricing__feature-item { align-items: center; }
.dd-pricing--compare .dd-pricing__x { color: #dc2626; }
.dd-pricing--compare .dd-pricing__feature-item svg:not(.dd-pricing__x) { color: #16a34a; }

/* Section header widths + services centring (landing pages) */
.page-id-110 .dd-problems__header, .page-id-111 .dd-problems__header,
.page-id-110 .dd-process__header,  .page-id-111 .dd-process__header,
.page-id-110 .dd-services__header, .page-id-111 .dd-services__header { max-width: 640px; }
.page-id-110 .dd-services__inner, .page-id-111 .dd-services__inner { align-items: center; }

/* token + booking radius */
:root { --dd-almost-white: #f0f0f0; }
.dd-booking { border-radius: var(--dd-radius-pill); }

/* External-link icon on linked stat tiles (e.g. Google reviews) */
.dd-stat-card__ext {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 6px;
  color: var(--dd-primary);
}

/* /pricing/ page (id 17): top-align cards + badge offset fix (keep its 2-col header) */
.page-id-17 .dd-pricing__grid { align-items: flex-start; }
.page-id-17 .dd-pricing__slot--featured { position: relative; }
.page-id-17 .dd-pricing__slot--featured .dd-pricing__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* =====================================================================
   TRADIE MARKETING SCORECARD (lead magnet + exit-intent)
   ===================================================================== */
body.dd-sc-lock { overflow: hidden; }

/* Exit-intent teaser — centered overlay for attention */
.dd-sc-teaser {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(6, 15, 39, .6);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.dd-sc-teaser[hidden] { display: none; }
.dd-sc-teaser--in { opacity: 1; pointer-events: auto; }
.dd-sc-teaser__card {
  position: relative;
  background: var(--dd-navy);
  color: #fff;
  border-radius: 18px;
  padding: 44px 44px 36px;
  width: 100%; max-width: 500px;
  box-shadow: 0 30px 80px rgba(6, 15, 39, .45);
  transform: translateY(14px) scale(.98);
  transition: transform .3s ease;
}
.dd-sc-teaser--in .dd-sc-teaser__card { transform: none; }
.dd-sc-teaser .dd-tag { margin-bottom: 16px; color: #fff; background: rgba(255, 255, 255, .15); }
.dd-sc-teaser__close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0; color: rgba(255,255,255,.6);
  font-size: 28px; line-height: 1; cursor: pointer; padding: 4px;
}
.dd-sc-teaser__close:hover { color: #fff; }
.dd-sc-teaser__heading {
  font-family: var(--dd-heading-font);
  font-size: 1.6rem; line-height: 1.25; margin: 0 0 12px; color: #fff;
}
.dd-sc-teaser__body { font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,.85); margin: 0 0 22px; }
.dd-sc-teaser__cta { width: 100%; }
.dd-sc-teaser__sub { font-size: .82rem; color: rgba(255,255,255,.6); margin: 12px 0 0; text-align: center; }

/* Scorecard modal */
.dd-sc {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.dd-sc[hidden] { display: none; }
.dd-sc__backdrop { position: absolute; inset: 0; background: rgba(6, 15, 39, .6); }
.dd-sc__modal {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto;
  padding: 40px 38px 36px;
  box-shadow: 0 30px 80px rgba(6, 15, 39, .4);
}
.dd-sc__close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: 0; color: var(--dd-muted);
  font-size: 30px; line-height: 1; cursor: pointer; padding: 4px;
}
.dd-sc__close:hover { color: var(--dd-navy); }

/* Progress */
.dd-sc__progress { height: 6px; background: var(--dd-bg-3); border-radius: 50px; overflow: hidden; margin-bottom: 14px; }
.dd-sc__progress-bar { display: block; height: 100%; width: 0; background: var(--dd-primary); border-radius: 50px; transition: width .3s ease; }
.dd-sc__step-label { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dd-muted); margin: 0 0 18px; }

/* Question */
.dd-sc__q { font-family: var(--dd-heading-font); font-size: 1.3rem; line-height: 1.3; color: var(--dd-heading-text); margin: 0 0 20px; }
.dd-sc__options { display: flex; flex-direction: column; gap: 10px; }
.dd-sc__option {
  text-align: left; width: 100%;
  background: #fff; border: 1.5px solid var(--dd-border, #e5e7eb);
  border-radius: 12px; padding: 15px 18px;
  font-size: .98rem; color: var(--dd-body-text); cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .05s ease;
}
.dd-sc__option:hover,
.dd-sc__option:focus,
.dd-sc__option:active { border-color: var(--dd-primary); background: var(--dd-tag-bg); color: var(--dd-body-text); }
.dd-sc__option:active { transform: scale(.99); }

/* Result + gate */
.dd-sc__score-label { text-align: center; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dd-muted); margin: 0 0 10px; }
.dd-sc__grade { text-align: center; margin: 4px 0 18px; }
.dd-sc__grade-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--dd-navy); color: #fff;
  font-family: var(--dd-heading-font); font-size: 3rem; font-weight: 700;
}
.dd-sc__headline { font-family: var(--dd-heading-font); font-size: 1.5rem; line-height: 1.25; text-align: center; color: var(--dd-heading-text); margin: 0 0 12px; }
.dd-sc__teaser-text { font-size: 1rem; line-height: 1.55; color: var(--dd-body-text); text-align: center; margin: 0 0 24px; }
.dd-sc__label { display: block; font-weight: 600; color: var(--dd-heading-text); margin-bottom: 10px; }
.dd-sc__form-row { display: flex; flex-direction: column; gap: 12px; }
.dd-sc input.dd-sc__input {
  width: 100%; min-width: 0;
  border: 1.5px solid var(--dd-navy); border-radius: 30px;
  padding: 14px 20px; font-size: 1rem; color: var(--dd-body-text); background: #fff;
}
.dd-sc input.dd-sc__input:focus { outline: none; border-color: var(--dd-primary); }
.dd-sc__submit { width: 100%; white-space: nowrap; }
.dd-sc__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dd-sc__error { color: #c0392b; font-size: .88rem; margin: 10px 0 0; }
.dd-sc__finesub { font-size: .82rem; color: var(--dd-muted); margin: 12px 0 0; text-align: center; }

/* Unlocked breakdown */
.dd-sc__breakdown { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 14px; }
.dd-sc__breakdown li {
  position: relative; padding-left: 30px;
  font-size: .98rem; line-height: 1.5; color: var(--dd-body-text);
}
.dd-sc__breakdown li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--dd-primary) var(--dd-btn-arrow) center / 12px no-repeat;
}
.dd-sc__actions { display: flex; flex-direction: column; gap: 10px; }
.dd-sc__actions .temp-btn { width: 100%; }

@media (max-width: 600px) {
  /* Teaser becomes a subtle bottom slide-up sheet, not a full-screen interstitial */
  .dd-sc-teaser { align-items: flex-end; padding: 0; background: rgba(6, 15, 39, .45); }
  .dd-sc-teaser__card {
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 28px 22px calc(24px + env(safe-area-inset-bottom));
    transform: translateY(100%);
  }
  .dd-sc-teaser--in .dd-sc-teaser__card { transform: translateY(0); }
  .dd-sc-teaser__heading { font-size: 1.3rem; }
  /* Quiz modal stays centered + full (opted-in) */
  .dd-sc__modal { padding: 34px 22px 28px; }
  .dd-sc__grade-letter { width: 74px; height: 74px; font-size: 2.5rem; }
}

/* ============================================================
   DATA TABLE — responsive comparison table (dd_render_data_table)
   Used on research / authority pages. Token-driven, on-brand.
   ============================================================ */
.dd-data-table { padding: var(--temp-section-pad) 0; background: var(--temp-white); }
.dd-data-table__inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--temp-space-xl); }
.dd-data-table__header { max-width: 760px; margin: 0 auto var(--temp-space-2xl); text-align: center; }
.dd-data-table__heading { font-family: var(--temp-heading); font-size: 48px; font-weight: 700; color: var(--temp-dark); margin: var(--temp-space-md) 0 var(--temp-space-sm); line-height: 1.15; }
.dd-data-table__desc { color: var(--dd-body-text); font-size: var(--temp-fs-md); margin: 0; }
.dd-data-table__scroll {
  overflow-x: auto;
  border: 1px solid var(--temp-border);
  border-radius: var(--temp-radius-lg);
  box-shadow: var(--temp-shadow-md);
  -webkit-overflow-scrolling: touch;
}
.dd-data-table__scroll:focus-visible { outline: 2px solid var(--temp-primary); outline-offset: 2px; }
.dd-data-table__table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 680px; margin: 0; }
.dd-data-table__table thead th {
  background: var(--temp-dark);
  color: var(--temp-white);
  font-family: var(--temp-body-font);
  font-weight: 600;
  text-align: left;
  padding: var(--temp-space-md) var(--temp-space-lg);
  white-space: nowrap;
}
.dd-data-table__table tbody th,
.dd-data-table__table tbody td {
  padding: var(--temp-space-md) var(--temp-space-lg);
  border-top: 1px solid var(--temp-border);
  color: var(--temp-body);
  vertical-align: top;
  text-align: left;
  line-height: 1.45;
}
.dd-data-table__table tbody th[scope="row"] { font-weight: 700; color: var(--temp-dark); white-space: nowrap; }
.dd-data-table__table tbody tr:nth-child(even) { background: var(--temp-light); }
.dd-data-table__row--highlight { background: var(--temp-primary-10) !important; }
.dd-data-table__row--highlight th[scope="row"] { color: var(--temp-primary); box-shadow: inset 3px 0 0 var(--temp-primary); }
.dd-data-table__table tbody td.dd-data-table__col--highlight { background: var(--temp-primary-10); font-weight: 600; color: var(--temp-dark); }
.dd-data-table__table thead th.dd-data-table__col--highlight { box-shadow: inset 0 3px 0 var(--temp-primary); }
.dd-data-table .dd-dt-soft { color: var(--temp-muted); font-style: italic; }
.dd-data-table__note { margin: var(--temp-space-md) auto 0; max-width: 760px; font-size: var(--temp-fs-sm); color: var(--temp-muted); text-align: center; }
@media (max-width: 600px) {
  .dd-data-table__inner { padding: 0 var(--temp-space-md); }
  .dd-data-table__heading { font-size: 36px; }
}


/* ===== Lead magnet landing (dd_render_lead_magnet) ===== */
.dd-lm { padding: 64px 0 84px; background: #fff; }
.dd-lm__container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.dd-lm__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.dd-lm__copy { background: var(--dd-almost-white, #f2f2f2); border-radius: var(--dd-radius-pill, 50px); padding: 56px; }
.dd-lm__heading { font-size: 56px; font-weight: 500; line-height: 1.2; color: var(--dd-heading-text, #060f27); margin: 16px 0 0; }
.dd-lm__sub { font-size: 1.15rem; line-height: 1.5; color: var(--dd-muted, #6b7280); margin: 18px 0 0; }
.dd-lm__bullets { list-style: none; margin: 28px 0 0; padding: 0; }
.dd-lm__bullets li { position: relative; padding-left: 38px; margin: 14px 0; color: var(--dd-navy, #16253e); font-size: 1.05rem; line-height: 1.45; }
.dd-lm__bullets li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: var(--dd-tag-bg, rgba(255,216,198,0.5)); color: var(--dd-primary, #fb641f); font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.dd-lm__form { margin: 32px 0 0; position: relative; }
.dd-lm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dd-lm__row { display: flex; gap: 12px; flex-wrap: nowrap; align-items: stretch; }
.dd-lm input[type="email"].dd-lm__input { flex: 1 1 auto; min-width: 0; padding: 16px 24px; font-size: 1rem; border: 1.5px solid #dde3e8; border-radius: 50px !important; color: var(--dd-navy, #16253e); background: #fff !important; box-sizing: border-box; }
.dd-lm input[type="email"].dd-lm__input:focus { outline: none; border-color: var(--dd-primary, #fb641f); box-shadow: 0 0 0 3px rgba(251,100,31,0.18); }
.dd-lm__submit { flex: 0 0 auto; white-space: nowrap; }
.dd-lm__error { color: #C0392B; font-size: 0.95rem; margin: 10px 0 0; }
.dd-lm__fine { color: #8595A0; font-size: 0.85rem; margin: 12px 0 0; }
.dd-lm__success { background: #fff; border: 1.5px solid #E4E7E9; border-radius: 28px; padding: 28px; }
.dd-lm__success-heading { color: var(--dd-heading-text, #060f27); margin: 0; font-size: 1.4rem; }
.dd-lm__success-body { color: var(--dd-muted, #6b7280); margin: 10px 0 18px; }
.dd-lm__visual { text-align: center; }
.dd-lm__visual img { max-width: 100%; height: auto; border-radius: var(--dd-radius-pill, 50px); box-shadow: 0 18px 50px rgba(14,42,57,0.16); }
@media (max-width: 860px) {
  .dd-lm__grid { grid-template-columns: 1fr; gap: 28px; }
  .dd-lm__copy { padding: 36px 28px; }
  .dd-lm__row { flex-wrap: wrap; }
  .dd-lm__visual { order: -1; }
  .dd-lm__visual img { max-width: 360px; }
}

/* ── /built-by/ hero: match the case-study split below it (fixed 844px text
   card + flex image), so the hero and case-study cards align edge-to-edge. ── */
.dd-page-hero--wide .dd-page-hero__card { flex: 0 0 844px; }
.dd-page-hero--wide .dd-page-hero__img-wrap img { object-position: center 10%; }

/* ── Mockup hero (e.g. /portfolio/): the right-hand image is a full browser
   mockup, not a photo, so `cover` crops the browser frame top and bottom.
   Show it whole with `contain` and fill the letterbox with the brand navy. ── */
.dd-page-hero--mockup .dd-page-hero__img-wrap { background: #0E2A39; }
.dd-page-hero--mockup .dd-page-hero__img-wrap img {
  object-fit: contain;
  object-position: center;
  padding: 24px;
}

/* Keep links their own colour on keyboard focus. GeneratePress core forces
   a:focus { color: var(--contrast) }, which turns white links dark on dark
   sections. inherit = the link stays its normal colour (white on dark). */
a:focus { color: inherit; }

/* Offer form in hero: hug content (don't stretch to full column height) so the
   card sits naturally and its shadow reads, instead of leaving dead navy space. */
.dd-page-hero__form-wrap { align-self: flex-start; }

/* Offer form trust + scarcity (CRO) */
.dd-sparky-form__scarcity {
  margin: 12px 0 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #f0a268;
}
.dd-sparky-form__trust {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}
.dd-sparky-form__trust-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

/* Trades offer landing pages: flat (no shadows) + hero/form tuning. */
.dd-offer-lp *, .dd-offer-lp *::before, .dd-offer-lp *::after { box-shadow: none !important; }
.dd-offer-lp .dd-page-hero__card { flex: 0 0 63%; }
.dd-offer-lp .dd-sparky-form { border-radius: 50px; }
.dd-offer-lp .dd-sparky-form__head { padding: 32px 28px 24px; }
.dd-offer-lp .dd-sparky-form__form { padding: 32px 28px 32px; }
.dd-offer-lp .dd-sparky-form__row { margin-bottom: 12px; }
@media (max-width: 768px) {
  .dd-offer-lp .dd-page-hero { padding: 0 10px 40px; }
  .dd-offer-lp .dd-sparky-form__form { padding: 32px 24px 32px; }
}

/* ============================================================
   Offer LP additions (used on /electricians-v2/)
   ============================================================ */
/* First services image on the offer LP shows in full (chart screenshot), not cropped */
.dd-services--contain-first .dd-services__images .dd-services__img-wrap:first-child img {
  object-fit: contain;
  background: #f0f0f0;
}

/* Tighter hero card padding on mobile */
@media (max-width: 768px) {
  .dd-page-hero__card { padding: 42px 20px; }
}

/* =====================================================================
   AREAS GRID — grouped location/links block (Figma node 4184-5126)
   ===================================================================== */
.dd-areas-grid { padding: 60px var(--dd-section-pad); background: #fff; }
.dd-areas-grid__inner {
  max-width: 1280px; margin: 0 auto;
  background: var(--dd-almost-white);
  border-radius: 50px;
  padding: 64px 56px;
}
.dd-areas-grid__header { text-align: center; margin-bottom: 52px; }
.dd-areas-grid__eyebrow {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 9999px;
  background: var(--dd-tag-bg); color: var(--dd-tag-text);
  font-size: 16px; font-weight: 500; line-height: 1.5;
  margin-bottom: 16px;
}
.dd-areas-grid__heading {
  font-family: var(--dd-heading-font);
  font-size: 40px; font-weight: 700; line-height: 1.15;
  color: var(--dd-heading-text); margin: 0;
}
.dd-areas-grid__cols {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 36px 56px;
}
.dd-areas-grid__col { flex: 0 0 190px; }
.dd-areas-grid__col-heading {
  font-size: 17px; font-weight: 700; color: var(--dd-heading-text);
  margin: 0 0 18px;
}
.dd-areas-grid__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.dd-areas-grid__list a, .dd-areas-grid__list span {
  font-size: 16px; font-weight: 400; line-height: 1.4;
  color: var(--dd-muted); text-decoration: none;
}
.dd-areas-grid__list a { transition: color .15s ease; }
.dd-areas-grid__list a:hover { color: var(--dd-primary); }
@media (max-width: 1024px) {
  .dd-areas-grid__cols { gap: 36px 40px; }
}
@media (max-width: 768px) {
  .dd-areas-grid { padding: 40px var(--dd-section-pad); }
  .dd-areas-grid__inner { padding: 40px 24px; border-radius: 28px; }
  .dd-areas-grid__header { margin-bottom: 36px; }
  .dd-areas-grid__heading { font-size: 30px; }
  .dd-areas-grid__cols { gap: 28px 32px; }
  .dd-areas-grid__col { flex: 0 0 42%; }
}

/* ── Results proof board: month-over-month enquiries chart ── */
.dd-proof-chart { padding: 48px 0; }
.dd-proof-chart__inner { max-width: 880px; margin: 0 auto; padding: 0 20px; text-align: center; }
.dd-proof-chart__heading { font-size: 2rem; margin: 10px 0 6px; }
.dd-proof-chart__desc { color: #5b7180; margin: 0 0 22px; }
.dd-proof-chart__svg { background: #fff; border: 1px solid #e6edf1; border-radius: 16px; padding: 20px; box-shadow: 0 1px 3px rgba(14,42,57,0.04); }
.dd-proof-chart__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 16px; }
.dd-pf-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5b7180; }
.dd-pf-sw { width: 11px; height: 11px; border-radius: 2px; display: inline-block; flex-shrink: 0; }
.dd-proof-chart__note { font-size: 12px; color: #8194a0; margin: 20px auto 0; max-width: 780px; line-height: 1.55; }

/* ── DS: nuke GeneratePress #3f4047 default button hover/focus/active (2026-06-26) ──
   GP injects `…:hover{color:#fff;background-color:#3f4047}` on native buttons/inputs
   via its customizer default. `html` prefix + late load beats it. Component button
   hovers (higher specificity) still win. */
html button:hover, html button:focus, html button:active,
html input[type="button"]:hover, html input[type="button"]:focus, html input[type="button"]:active,
html input[type="submit"]:hover, html input[type="submit"]:focus, html input[type="submit"]:active,
html input[type="reset"]:hover, html input[type="reset"]:focus, html input[type="reset"]:active,
html .button:hover, html .button:focus,
html .wp-block-button__link:hover, html .wp-block-button__link:focus {
  background-color: transparent;
  color: inherit;
}

/* ── Video testimonial player (dd_video_player_html) ──────────────────
   Portrait 9:16 click-to-play card. Native controls once playing; the brand
   play button is a CSS overlay hidden via .is-playing (set in main.js). */
.dd-video {
  position: relative;
  margin-inline: auto;
  background: #0E2A39;
  border-radius: 50px;
  overflow: hidden;
}
.dd-video__el {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.dd-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #ED894F;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.dd-video__play svg { margin-left: 3px; }
.dd-video__play:hover { transform: translate(-50%, -50%) scale(1.06); background: #e07b3c; }
.dd-video.is-playing .dd-video__play { opacity: 0; pointer-events: none; }
/* Reviews featured slot: video sits raw (no card chrome) in place of the review card.
   The video variant gives the portrait clip a narrower right column than the card layout. */
.dd-reviews__featured--video { padding: 0; background: transparent; border: none; box-shadow: none; }
/* Two-column (quote + portrait video) only on desktop; min-width so it can't
   override the mobile single-column collapse below (equal-specificity source order). */
@media (min-width: 1025px) {
  .dd-reviews--has-video .dd-reviews__top { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
}

/* ── Testimonial thumbnail trigger + modal lightbox (dd_video_thumb_html) ─── */
.dd-page-hero__vthumb { margin-top: 22px; }
/* Ad heroes: thumbnail + "Prefer to talk now?" call line share one row */
.dd-page-hero__proof-row { display: flex; align-items: center; gap: 24px 22px; flex-wrap: wrap; margin-top: 22px; }
.dd-page-hero__proof-row .dd-page-hero__vthumb { margin-top: 0; }
.dd-page-hero__cta-note--inline { margin: 0; }
.dd-vthumb {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #E4E9EE;
  border-radius: 14px;
  padding: 10px 18px 10px 10px;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(14, 42, 57, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.dd-vthumb:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 42, 57, 0.15); }
.dd-vthumb__media { position: relative; width: 80px; height: 120px; border-radius: 14px; overflow: hidden; flex-shrink: 0; background: #0E2A39; }
.dd-vthumb__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dd-vthumb__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.dd-vthumb__play svg { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55)); }
.dd-vthumb__text { display: flex; flex-direction: column; gap: 6px; }
.dd-vthumb__stars { color: #ED894F; font-size: 14px; letter-spacing: 1px; line-height: 1; }
.dd-vthumb__label { font-weight: 700; color: #0E2A39; font-size: 16px; line-height: 1.25; }
.dd-vthumb__author { color: #5E7C8C; font-size: 13px; }
.dd-vmodal { border: none; padding: 0; background: transparent; }
.dd-vmodal[open] {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dd-vmodal::backdrop { background: rgba(8, 20, 28, 0.82); }
.dd-vmodal__video {
  display: block;
  width: auto;
  height: auto;
  max-height: 86vh;
  max-width: 92vw;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.dd-vmodal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #0E2A39;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

/* ─── LEGAL PAGES (dd_render_legal_page) ─── */
.dd-legal { padding: 56px var(--dd-section-pad) 72px; background: #fff; }
.dd-legal__container { max-width: 820px; margin: 0 auto; }
.dd-legal__header { padding-bottom: 20px; margin-bottom: 26px; border-bottom: 3px solid var(--dd-primary); }
.dd-legal__title { font-family: var(--dd-heading-font); color: var(--dd-navy); font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 10px 0 6px; }
.dd-legal__updated { color: var(--temp-muted); font-size: 14px; margin: 0; }
.dd-legal__intro { color: var(--dd-body-text); line-height: 1.7; margin: 0 0 14px; }
.dd-legal__sections { }
.dd-legal--numbered .dd-legal__sections { counter-reset: dd-legal-clause; }
.dd-legal__section { margin-top: 30px; }
.dd-legal__heading { font-family: var(--dd-heading-font); color: var(--dd-navy); font-size: 21px; line-height: 1.25; margin: 0 0 10px; }
.dd-legal--numbered .dd-legal__heading::before { counter-increment: dd-legal-clause; content: counter(dd-legal-clause) ". "; }
.dd-legal p, .dd-legal li { color: var(--dd-body-text); line-height: 1.7; }
.dd-legal p { margin: 0 0 12px; }
.dd-legal ul { margin: 0 0 12px; padding-left: 22px; }
.dd-legal li { margin: 6px 0; }
.dd-legal a { color: var(--dd-primary); }
@media (max-width: 600px) { .dd-legal { padding: 36px 18px 52px; } }

/* Article tables ride the dd-data-table skin (auto-wrapped in functions.php, 2026-08-20) */
.temp-article-body .dd-article-table { margin: var(--temp-space-xl) 0 var(--temp-space-2xl); }
.temp-article-body .dd-data-table__table { font-size: var(--temp-fs-sm); min-width: 640px; }
.temp-article-body .dd-data-table__table td { vertical-align: top; }
.dd-data-table__row--highlight td:first-child { font-weight: 700; color: var(--temp-primary); box-shadow: inset 3px 0 0 var(--temp-primary); }


/* =====================================================================
   TRADE LP: above-the-fold CTA + tap targets  (2026-08-31)
   Google scores post_click_quality_score BELOW AVERAGE on all nine keywords
   pointing at these pages. Measured on a 375px viewport: the first tappable
   CTA sat at 1036px against a 1035px viewport, so a paid click landed on a
   headline, a paragraph and a video with nothing to press. The offer form is
   the real CTA and on desktop it already sits beside the heading, so this
   button is mobile-only and just jumps to it.
   ===================================================================== */
.dd-page-hero--mobile-cta .dd-page-hero__btns { display: none; }

@media (max-width: 768px) {
  .dd-page-hero--mobile-cta .dd-page-hero__btns { display: flex; margin-top: 20px; }
  .dd-page-hero--mobile-cta .dd-page-hero__btns .temp-btn { width: 100%; min-height: 52px; }

  /* Tap targets: eight controls measured under the 44px minimum, including the
     header call link at 96x27 and the hero call link at 132x19. */
  .dd-offer-lp .dd-page-hero__cta-link,
  .dd-offer-lp .dd-header__phone,
  .dd-offer-lp .dd-page-hero__review-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
