/*
 Theme Name:   TACT Bio Recovery Child
 Theme URI:    https://dossisdigital.com.au
 Description:  TACT Bio Recovery child theme for GeneratePress
 Author:       Dossis Digital
 Author URI:   https://dossisdigital.com.au
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  tact-biorecovery-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.
   =========================================== */
/* Plus Jakarta Sans — heading font (Light 300, Medium 500, SemiBold 600, Bold 700) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-v8-latin-300.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-v8-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-v8-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-v8-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans — body font (Light 300, Regular 400, SemiBold 600) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/dm-sans-v15-latin-300.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-sans-v15-latin-regular.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/dm-sans-v15-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===========================================
   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 — TACT Bio Recovery (Figma source of truth) ── */
  --tact-primary: #F3BF22;
  --tact-primary-light: rgba(243, 191, 34, 0.08);
  --tact-primary-hover: #D9AB1E;
  --tact-secondary: #1E293B;          /* Background 2 */
  --tact-accent: #F3BF22;
  --tact-dark: #0F172A;               /* Background 1 */
  --tact-heading-color: #20324C;      /* Heading text navy */
  --tact-body: rgba(0, 0, 0, 0.8);   /* Body text */
  --tact-muted: rgba(0, 0, 0, 0.5);  /* Body text muted */
  --tact-light: #F8FAFC;
  --tact-almost-white: #f2f2f2;
  --tact-white: #FFFFFF;
  --tact-border: #E2E8F0;

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

  /* ── Typography — Figma ── */
  --tact-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --tact-body-font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --tact-fs-xs: 0.75rem;       /* 12px */
  --tact-fs-sm: 0.875rem;      /* 14px */
  --tact-fs-base: 1rem;        /* 16px — text regular */
  --tact-fs-md: 1.125rem;      /* 18px — body text / buttons */
  --tact-fs-lg: 1.25rem;       /* 20px — tag/label */
  --tact-fs-xl: 1.375rem;      /* 22px — H4 */
  --tact-fs-2xl: 1.75rem;      /* 28px — H3 */
  --tact-fs-3xl: 2.625rem;     /* 42px — H2 */
  --tact-fs-4xl: 3.5rem;       /* 56px — H1 */

  /* ── Spacing — Figma ── */
  --tact-space-xs: 0.25rem;    /* 4px */
  --tact-space-sm: 0.5rem;     /* 8px */
  --tact-space-md: 1rem;       /* 16px — actions gap */
  --tact-space-lg: 1.5rem;     /* 24px — content gap / card padding */
  --tact-space-xl: 2rem;       /* 32px */
  --tact-space-2xl: 3rem;      /* 48px */
  --tact-space-3xl: 5rem;      /* 80px */
  --tact-space-4xl: 5.25rem;   /* 84px — layout gap (split sections) */
  --tact-section-pad: clamp(2.5rem, 6vw, 5rem); /* 80px desktop, 40px mobile */

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

  /* ── Shadows — Figma ── */
  --tact-shadow-sm: 0 1px 2px var(--tact-black-5);
  --tact-shadow-card: 0 2px 4px rgba(40, 41, 61, 0.04), 0 8px 16px rgba(96, 97, 112, 0.16);
  --tact-shadow-accordion: 3px 3px 20px rgba(97, 72, 86, 0.3);
  --tact-shadow-md: 0 4px 12px var(--tact-black-8);
  --tact-shadow-lg: 0 10px 30px var(--tact-black-12);
  --tact-shadow-xl: 0 20px 50px var(--tact-black-15);

  /* ── Transitions ── */
  --tact-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tact-transition-fast: 0.15s var(--tact-ease);
  --tact-transition-base: 0.3s var(--tact-ease);
  --tact-transition-slow: 0.6s var(--tact-ease);

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

  /* ── Layout ── */
  --tact-header-height: 72px;
  --tact-container: 1280px;
}


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

body {
  font-family: var(--tact-body-font);
  color: var(--tact-body);
  font-size: var(--tact-fs-md);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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, blog index, and single posts so our
   full-width theme sections render edge-to-edge (not in GP's narrow card) */
.page .entry-content,
.page .site-content .entry-content,
.blog .entry-content,
.single .entry-content,
.single .site-content .entry-content {
  padding: 0;
  margin: 0;
}
.page .inside-article,
.page .entry-content,
.blog .inside-article,
.single .inside-article,
.single .entry-content {
  max-width: 100%;
}
body.page .site-content .content-area,
body.blog .site-content .content-area,
body.single .site-content .content-area {
  padding: 0;
}
body.blog .grid-container,
body.single .grid-container {
  max-width: 100%;
  padding: 0;
}
.single .inside-article {
  border: 0;
  box-shadow: none;
  background: transparent;
}
.page-header { display: none; }
/* Hide GP default 404 content — we use our own */
.error404 .site-content .inside-article { display: none; }

/* Container */
.tact-container {
  max-width: var(--tact-container);
  margin-inline: auto;
  padding-inline: var(--tact-space-lg);
}
@media (max-width: 768px) {
  .tact-container {
    padding-inline: 20px;
  }
}


/* ===========================================
   3. TYPOGRAPHY & SHARED COMPONENTS
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--tact-heading);
  color: var(--tact-heading-color);
  margin: 0;
}
h1 {
  font-weight: 300;
  font-size: var(--tact-fs-4xl);
  line-height: 1.2;
}
h2 {
  font-weight: 300;
  font-size: var(--tact-fs-3xl);
  line-height: 1.2;
}
h3 {
  font-weight: 700;
  font-size: var(--tact-fs-2xl);
  line-height: 1.3;
}
h4 {
  font-weight: 700;
  font-size: var(--tact-fs-xl);
  line-height: 1.3;
}

/* Eyebrow / Tag — yellow triangle marker + heading text */
.tact-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tact-heading);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--tact-heading-color);
  line-height: 1.4;
  margin-bottom: var(--tact-space-sm);
}
.tact-eyebrow::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 20px;
  background: var(--tact-primary);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex-shrink: 0;
}
/* On dark backgrounds */
.tact-eyebrow--light {
  color: var(--tact-white);
}

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

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

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

/* 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) {
  h1 {
    font-weight: 700;
    font-size: 2.5rem;
  }
  h2 {
    font-weight: 700;
    font-size: 2.25rem;
  }
  .tact-section-heading {
    font-weight: 500;
    font-size: 2.25rem;
  }
}


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

/* Button reset utility */
.tact-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;
}
.tact-btn-reset:hover,
.tact-btn-reset:focus,
.tact-btn-reset:active {
  background: transparent;
  outline: none;
  box-shadow: none;
}

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

/* Primary — Figma Colour 1: bg #F3BF22, text #20324C */
.tact-btn--primary {
  background: var(--tact-primary);
  color: var(--tact-heading-color);
  border-color: var(--tact-primary);
}
.tact-btn--primary:hover {
  background: var(--tact-primary-hover);
  border-color: var(--tact-primary-hover);
  color: var(--tact-heading-color);
}

/* Border variant — Figma: bg white, border 1px solid #20324C, hover inverts */
.tact-btn--outline {
  background: var(--tact-white);
  color: var(--tact-heading-color);
  border: 1px solid var(--tact-heading-color);
}
.tact-btn--outline:hover {
  background: var(--tact-heading-color);
  color: var(--tact-white);
}

/* Buttons stack full-width on mobile */
@media (max-width: 768px) {
  .tact-hero__ctas,
  .tact-split__ctas,
  .tact-dotpoints__ctas,
  .tact-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  .tact-hero__ctas .tact-btn,
  .tact-split__ctas .tact-btn,
  .tact-dotpoints__ctas .tact-btn,
  .tact-cta__actions .tact-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

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

/* Lead-form Back button — match the outline button's base appearance on hover */
.tact-form-prev:hover {
  background: var(--tact-white);
  color: var(--tact-heading-color);
  border-color: var(--tact-heading-color);
}

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


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

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

.tact-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.tact-logo {
  height: 48px;
  width: auto;
}

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

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

/* Wide dropdown for Service Areas — 2 columns */
.tact-nav__dropdown-menu--two-col {
  min-width: 420px;
  padding: var(--tact-space-md) var(--tact-space-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--tact-space-md);
  row-gap: 2px;
}
.tact-nav__dropdown-menu--two-col .tact-nav__dropdown-heading {
  grid-column: 1 / -1;
  font-family: var(--tact-body-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tact-primary);
  padding: var(--tact-space-xs) var(--tact-space-lg) 4px;
  margin-top: 8px;
  list-style: none;
}
.tact-nav__dropdown-menu--two-col .tact-nav__dropdown-heading:first-child {
  margin-top: 0;
}
.tact-nav__dropdown-menu--two-col li a {
  padding: 6px var(--tact-space-lg);
  font-size: 14px;
}

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

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

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


/* ===========================================
   6. MOBILE MENU
   =========================================== */
.tact-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: var(--tact-dark);
  z-index: 2000;
  padding: 0 var(--tact-space-lg);
  display: flex;
  flex-direction: column;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.tact-mobile-menu.is-open {
  max-height: 85vh;
  overflow-y: auto;
  padding: var(--tact-space-lg);
}


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

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

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

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

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


/* ===========================================
   7. HERO SECTION
   =========================================== */
.tact-hero {
  padding: var(--tact-section-pad) 0;
  padding-top: calc(var(--tact-header-height) + var(--tact-space-2xl));
  position: relative;
  overflow: hidden;
  background: var(--tact-almost-white, #f8fafc);
}

/* Diagonal navy shape on right — home variant */
.tact-hero--home::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: var(--tact-dark);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}

/* Variants */
.tact-hero--home {
  padding-top: 160px;
  padding-bottom: 80px;
}
.tact-hero--service {
  padding-top: 120px;
  padding-bottom: 50px;
}
.tact-hero--service::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: var(--tact-dark);
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.tact-hero--location {
  padding-top: 160px;
  padding-bottom: 80px;
}
.tact-hero--location::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background: var(--tact-dark);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 0;
}
.tact-hero--generic {
  padding-top: calc(var(--tact-header-height) + var(--tact-space-xl));
  padding-bottom: var(--tact-space-2xl);
}

.tact-hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--tact-container);
  margin-inline: auto;
  padding-inline: var(--tact-space-lg);
}

.tact-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.tact-hero__heading {
  font-family: var(--tact-heading);
  font-size: clamp(2.5rem, 5vw, var(--tact-fs-4xl));
  font-weight: 500;
  color: var(--tact-heading-color);
  line-height: 1.2;
}

.tact-hero__sub {
  font-family: var(--tact-body-font);
  font-weight: 300;
  font-size: var(--tact-fs-md);
  color: var(--tact-muted);
  line-height: 1.5;
  max-width: 520px;
}

.tact-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: var(--tact-space-sm);
}

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

/* Hero media */
.tact-hero__media {
  position: relative;
}
.tact-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 593 / 500;
  border-radius: 4px;
  object-fit: cover;
}

/* Hero form wrap */
.tact-hero__form-wrap {
  position: relative;
  z-index: 1;
}

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

@media (max-width: 768px) {
  .tact-hero--home::before {
    width: 100%;
    height: 55%;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  }
  .tact-hero--home {
    padding-top: calc(var(--tact-header-height) + 40px);
    padding-bottom: 40px;
  }
  .tact-hero__container {
    padding-inline: 20px;
  }
  .tact-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--tact-space-xl);
  }
  .tact-hero__content {
    text-align: center;
    align-items: center;
  }
  .tact-hero__ctas {
    justify-content: center;
  }
  .tact-hero__trust {
    justify-content: center;
  }
  .tact-hero__sub {
    max-width: 100%;
  }
  .tact-hero__form-wrap {
    max-width: 100%;
    overflow: hidden;
  }
  .tact-hero--service,
  .tact-hero--location {
    padding-top: calc(var(--tact-header-height) + 40px);
    padding-bottom: 40px;
  }
  .tact-hero--service::before,
  .tact-hero--location::before {
    width: 100%;
    height: 55%;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  }
}

/* Tablet — service hero collapses to single column, shorter dark band */
@media (min-width: 769px) and (max-width: 1024px) {
  .tact-hero--service .tact-hero__grid {
    grid-template-columns: 1fr;
    gap: var(--tact-space-xl);
  }
  .tact-hero--service::before {
    width: 100%;
    height: 35%;
    top: auto;
    bottom: 0;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
  }
}


/* ===========================================
   7b. IMAGE FRAME — decorative yellow triangles
   Two yellow triangles behind the image on opposing corners.
   Usage: <div class="tact-image-frame tact-image-frame--bl">
   Variants: --tr, --bl
   =========================================== */
.tact-image-frame {
  position: relative;
  display: block;
  padding: 20px;
}
.tact-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.tact-image-frame::before,
.tact-image-frame::after {
  content: '';
  position: absolute;
  background: var(--tact-primary);
  z-index: 0;
  width: 50%;
  height: 50%;
}

/* Variant --bl: triangle bottom-left + triangle top-right */
.tact-image-frame--bl::before {
  bottom: 6px;
  left: 6px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.tact-image-frame--bl::after {
  top: 6px;
  right: 6px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* Variant --tr: triangle top-right + triangle bottom-left (same shapes, swapped) */
.tact-image-frame--tr::before {
  top: 6px;
  right: 6px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.tact-image-frame--tr::after {
  bottom: 6px;
  left: 6px;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}


/* ===========================================
   8. TRUST BAR
   =========================================== */
.tact-trust-bar {
  background: #1e293b;
  color: var(--tact-white);
  padding: 40px 0;
}
.tact-trust-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.tact-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tact-trust-bar__icon-cube {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  flex-shrink: 0;
}
.tact-trust-bar__icon-cube svg {
  color: var(--tact-primary);
  width: 28px;
  height: 28px;
}
.tact-trust-bar__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tact-trust-bar__value {
  font-family: var(--tact-heading);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--tact-white);
}
.tact-trust-bar__label {
  font-family: var(--tact-body-font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.2;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .tact-trust-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .tact-trust-bar__inner {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   9. SERVICES SECTION
   =========================================== */
.tact-services {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--tact-almost-white, #f8fafc);
}
/* Navy diagonal — bottom-anchored, slants to top-right */
.tact-services::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 40%;
  height: 100%;
  background: #1e293b;
  transform: skewX(44deg);
  transform-origin: bottom left;
}

/* Regional Victoria variant — same diagonal, flipped vertically (anchored top) */
.tact-services--regional::before {
  bottom: auto;
  top: 0;
  transform: skewX(-44deg);
  transform-origin: top left;
}
/* Header text sits over the navy diagonal — switch to white on desktop */
@media (min-width: 769px) {
  .tact-services--regional .tact-services__header-left .tact-eyebrow,
  .tact-services--regional .tact-services__header-left .tact-section-heading {
    color: var(--tact-white);
  }
}

/* ─────────────────────────────────────────
   Homepage About section — flipped variant
   Reuses .tact-services::before geometry,
   mirrored across the horizontal axis.
   ───────────────────────────────────────── */
.tact-split--home-about {
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 120px;
  min-height: 720px;
}
.tact-split--home-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 40%;
  height: 100%;
  background: #1e293b;
  transform: skewX(-35deg);
  transform-origin: top left;
}
.tact-split--home-about > .tact-split__container {
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .tact-split--home-about {
    padding-top: 64px;
    padding-bottom: 64px;
    min-height: 0;
  }
  .tact-split--home-about::before {
    display: none;
  }
}
.tact-services > .tact-container {
  position: relative;
  z-index: 1;
}

/* Split section header — eyebrow+heading left, desc right */
.tact-services__header {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.tact-services__header-left {
  flex: 1;
}
.tact-services__header-left .tact-eyebrow {
  margin-bottom: 16px;
}
.tact-services__header-left .tact-section-heading {
  text-align: left;
}
.tact-services__header-right {
  flex: 1;
  padding-top: 8px;
}
.tact-services__header-right p {
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
}

/* 4-col grid */
.tact-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Icon card — no image variant */
.tact-service-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--tact-white);
  border-radius: 4px;
  padding: 24px;
  box-shadow: var(--tact-shadow-card);
  transition: transform var(--tact-transition-fast), box-shadow var(--tact-transition-fast);
  text-decoration: none;
  color: inherit;
}
.tact-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tact-shadow-lg);
  color: inherit;
}

.tact-service-card__img {
  background-size: cover;
  background-position: center;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
}

.tact-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.tact-service-card__icon {
  color: var(--tact-primary);
}
.tact-service-card__icon svg {
  width: 32px;
  height: 32px;
}

.tact-service-card__title {
  font-family: var(--tact-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tact-heading-color);
}

.tact-service-card__desc {
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
}

.tact-service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--tact-body-font);
  font-size: 18px;
  font-weight: 400;
  color: var(--tact-primary);
  margin-top: auto;
}
.tact-service-card__cta svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .tact-services__header {
    flex-direction: column;
    gap: 24px;
  }
  .tact-services__grid {
    grid-template-columns: 1fr;
  }
  .tact-services::before {
    display: none;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .tact-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===========================================
   10. WHY CHOOSE SECTION
   =========================================== */
.tact-why {
  padding: var(--tact-section-pad) 0;
  background: var(--tact-light);
}

.tact-why__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--tact-space-xl);
  margin-bottom: var(--tact-space-2xl);
}
.tact-why__header .tact-section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 0;
}

.tact-why__content {
  display: flex;
  gap: var(--tact-space-2xl);
  align-items: flex-start;
}
.tact-why__image {
  flex-shrink: 0;
  max-width: 380px;
}
.tact-why__image img {
  border-radius: var(--tact-radius-lg);
  width: 100%;
  height: auto;
}

.tact-why__grid {
  display: grid;
  grid-template-columns: repeat(var(--tact-cols, 3), 1fr);
  gap: var(--tact-space-lg);
  flex: 1;
}

.tact-why__card {
  padding: var(--tact-space-lg);
  background: var(--tact-white);
  border-radius: var(--tact-radius-md);
  box-shadow: var(--tact-shadow-card);
}

.tact-why__icon {
  color: var(--tact-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--tact-space-md);
}

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

.tact-why__desc {
  font-size: var(--tact-fs-sm);
  color: var(--tact-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .tact-why__header {
    flex-direction: column;
    text-align: center;
  }
  .tact-why__header .tact-section-header {
    text-align: center;
  }
  .tact-why__content {
    flex-direction: column;
  }
  .tact-why__image {
    max-width: 100%;
  }
  .tact-why__grid {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   11. PROCESS SECTION
   =========================================== */
.tact-process {
  padding: 80px 0;
  background: var(--tact-almost-white, #f8fafc);
}

/* Centered header with 60px gap to steps */
.tact-process .tact-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.tact-process .tact-section-header .tact-eyebrow {
  justify-content: center;
}

.tact-process__steps {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

/* Yellow connector line — centered at 32px (middle of 64px box) */
.tact-process__steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 13%;
  right: 13%;
  height: 2px;
  background: var(--tact-primary);
  z-index: 0;
}

.tact-process__step {
  flex: 1;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 13px;
}

/* Number box — 64x64, navy, 4px radius */
.tact-process__number {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background: #1e293b;
  color: var(--tact-white);
  font-family: var(--tact-heading);
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.tact-process__title {
  font-family: var(--tact-heading);
  font-size: 19px;
  font-weight: 700;
  color: #1b3a4b;
  line-height: 1.3;
}

.tact-process__desc {
  font-family: var(--tact-body-font);
  font-size: 15px;
  color: rgba(0,0,0,0.6);
  line-height: 1.6;
  max-width: 320px;
}

@media (max-width: 768px) {
  .tact-process {
    padding: 40px 0;
  }
  .tact-process .tact-section-header {
    margin-bottom: 40px;
  }
  .tact-process__steps {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .tact-process__steps::before {
    display: none;
  }
  .tact-process__step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 16px;
    text-align: left;
    max-width: 100%;
    align-items: start;
  }
  .tact-process__number {
    grid-row: 1 / 3;
    align-self: start;
  }
  .tact-process__title {
    align-self: end;
  }
  .tact-process__desc {
    max-width: 100%;
    grid-column: 2;
  }
  /* Alternate: even steps flip number to right */
  .tact-process__step:nth-child(even) {
    grid-template-columns: 1fr auto;
    text-align: right;
  }
  .tact-process__step:nth-child(even) .tact-process__number {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .tact-process__step:nth-child(even) .tact-process__title {
    grid-column: 1;
    grid-row: 1;
  }
  .tact-process__step:nth-child(even) .tact-process__desc {
    grid-column: 1;
    grid-row: 2;
  }
}


/* ===========================================
   12. REVIEWS SECTION
   =========================================== */
.tact-reviews {
  padding: 80px 0;
  background: var(--tact-almost-white, #f8fafc);
  position: relative;
  overflow: hidden;
}
/* Dark navy header background — covers top portion */
.tact-reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 47%;
  background: var(--tact-dark);
  z-index: 0;
}
.tact-reviews > .tact-container {
  position: relative;
  z-index: 1;
}

/* Centered header — white text on dark */
.tact-reviews .tact-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.tact-reviews .tact-section-header .tact-eyebrow {
  justify-content: center;
  color: var(--tact-white);
}
.tact-reviews .tact-section-header .tact-section-heading {
  color: var(--tact-white);
}
.tact-reviews .tact-section-header .tact-section-desc {
  color: var(--tact-white);
}

/* Cards wrapper — relative for next arrow */
.tact-reviews__cards-wrap {
  position: relative;
}

.tact-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Next arrow button */
.tact-reviews__next {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: var(--tact-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  border: none;
  padding: 0;
}
.tact-reviews__next svg {
  width: 24px;
  height: 24px;
  color: var(--tact-heading-color);
}

/* Slider dots */
.tact-reviews__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.tact-reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tact-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--tact-transition-fast);
}
.tact-reviews__dot.active {
  background: var(--tact-dark);
}

.tact-reviews__widget {
  margin-bottom: var(--tact-space-xl);
}

/* Review card */
.tact-review-card {
  background: var(--tact-white);
  padding: 32px;
  border: none;
  border-radius: 4px;
  box-shadow: var(--tact-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}

.tact-review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tact-review-card__stars {
  display: flex;
  gap: 4px;
  color: var(--tact-primary);
}
.tact-review-card__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--tact-primary);
}

.tact-review-card__google {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.tact-review-card__text {
  font-family: var(--tact-body-font);
  font-weight: 300;
  font-size: 18px;
  color: black;
  line-height: 1.5;
  font-style: normal;
}

.tact-review-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tact-review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tact-border);
  flex-shrink: 0;
  overflow: hidden;
}
.tact-review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tact-review-card__name {
  font-family: var(--tact-body-font);
  font-weight: 600;
  font-size: 18px;
  color: black;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tact-reviews {
    padding: 40px 0;
  }
  .tact-reviews__grid {
    grid-template-columns: 1fr;
  }
  .tact-reviews__next {
    display: none;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .tact-reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


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

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

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

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

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


/* ===========================================
   13b. SPLIT SECTION (50/50 image + text)
   =========================================== */
.tact-split {
  padding: 80px 0;
  background: var(--tact-almost-white, #f8fafc);
}
.tact-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}
/* Image-right: swap column order */
.tact-split--image-right .tact-split__media {
  order: 2;
}
.tact-split--image-right .tact-split__content {
  order: 1;
}
.tact-split__img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  border-radius: 4px;
  object-fit: cover;
}
.tact-split__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tact-split__content .tact-eyebrow {
  margin-bottom: 8px;
}
.tact-split__content .tact-section-heading {
  text-align: left;
  margin-bottom: 24px;
}
.tact-split__content .tact-body-text {
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
  margin-bottom: 8px;
}
.tact-split__list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tact-split__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
}
.tact-split__list .tact-icon {
  color: var(--tact-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.tact-split__ctas {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}
/* Alternating background on consecutive splits */
.tact-split + .tact-split {
  background: var(--tact-white);
}
@media (max-width: 768px) {
  .tact-split {
    padding: 40px 0;
  }
  .tact-split__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* Reset order on mobile — image always first */
  .tact-split--image-right .tact-split__media { order: 0; }
  .tact-split--image-right .tact-split__content { order: 0; }
}


/* ===========================================
   13c. DOT POINTS SECTION
   Split header + 3-col bullet grid below
   =========================================== */
.tact-dotpoints {
  padding: 80px 0;
  background: var(--tact-almost-white, #f8fafc);
}

/* Header — eyebrow+heading+CTAs left, body right, aligned bottom */
.tact-dotpoints__header {
  display: flex;
  gap: 84px;
  align-items: flex-end;
  margin-bottom: 60px;
}
.tact-dotpoints__header-left {
  flex: 1;
}
.tact-dotpoints__header-left .tact-eyebrow {
  margin-bottom: 16px;
}
.tact-dotpoints__header-left .tact-section-heading {
  text-align: left;
  margin-bottom: 32px;
}
.tact-dotpoints__ctas {
  display: flex;
  gap: 16px;
}
.tact-dotpoints__header-right {
  flex: 1;
}
.tact-dotpoints__header-right p {
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
  margin: 0;
}

/* 3-col bullet grid */
.tact-dotpoints__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tact-dotpoints__col {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tact-dotpoints__col li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
}
.tact-dotpoints__col li svg {
  color: var(--tact-primary);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .tact-dotpoints {
    padding: 40px 0;
  }
  .tact-dotpoints__header {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  .tact-dotpoints__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ===========================================
   14. CTA BANNER SECTION — 3 variants
   =========================================== */

/* --- Shared CTA base --- */
.tact-cta {
  position: relative;
  padding: var(--tact-section-pad) 0;
  overflow: hidden;
}
.tact-cta__container {
  position: relative;
  z-index: 2;
}
.tact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tact-space-md);
  margin-top: var(--tact-space-lg);
}
.tact-cta__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tact-cta__overlay {
  position: absolute;
  inset: 0;
  background: var(--tact-dark-40);
  z-index: 1;
}

/* --- Variant 1: card-bg (dark card over background image) --- */
.tact-cta--card-bg {
  padding: 80px 0;
}
.tact-cta--card-bg .tact-cta__card {
  background: #0F172A;
  border-radius: 4px;
  padding: 48px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  color: var(--tact-white);
  position: relative;
  z-index: 2;
}
.tact-cta--card-bg .tact-cta__content {
  flex: 1;
}
.tact-cta--card-bg .tact-section-heading {
  color: var(--tact-white);
  text-align: left;
  font-weight: 300;
  margin-bottom: 12px;
}
.tact-cta--card-bg .tact-body-text {
  color: var(--tact-white);
  font-size: 18px;
  line-height: 1.5;
  max-width: 600px;
}
.tact-cta--card-bg .tact-cta__actions {
  flex-shrink: 0;
  gap: 16px;
  margin-top: 0;
}
.tact-cta--card-bg .tact-cta__actions .tact-btn {
  white-space: nowrap;
}
.tact-cta--card-bg .tact-btn--outline {
  background: transparent;
  border-color: var(--tact-white);
  color: var(--tact-white);
}
.tact-cta--card-bg .tact-btn--outline:hover {
  background: var(--tact-white);
  color: var(--tact-dark);
}
@media (max-width: 768px) {
  .tact-cta--card-bg .tact-cta__card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .tact-cta--card-bg .tact-section-heading {
    text-align: center;
  }
  .tact-cta--card-bg .tact-cta__actions {
    align-items: center;
    width: 100%;
  }
}

/* --- Variant 2: card-image (text left + image right in a card) --- */
.tact-cta--card-image {
  background: var(--tact-almost-white, #f8fafc);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
/* Diagonal accent behind right side */
.tact-cta--card-image::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: #e7eef6;
  transform: skewX(-5deg);
  transform-origin: top right;
  z-index: 0;
}
.tact-cta--card-image .tact-cta__container {
  position: relative;
  z-index: 1;
}
.tact-cta--card-image .tact-cta__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 4px;
  color: var(--tact-white);
}
.tact-cta--card-image .tact-cta__content {
  background: var(--tact-dark);
  padding: 80px 40px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  border-radius: 4px 0 0 4px;
}
.tact-cta--card-image .tact-cta__content-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.tact-cta--card-image .tact-section-heading {
  color: var(--tact-white);
  text-align: left;
  font-weight: 300;
  margin-bottom: 0;
}
.tact-cta--card-image .tact-body-text {
  color: var(--tact-white);
  font-size: 18px;
  line-height: 1.5;
}
.tact-cta--card-image .tact-cta__actions {
  justify-content: flex-start;
}
.tact-cta--card-image .tact-btn--outline {
  border-color: var(--tact-white);
  color: var(--tact-white);
}
.tact-cta--card-image .tact-btn--outline:hover {
  background: var(--tact-white);
  color: var(--tact-dark);
}
.tact-cta--card-image .tact-cta__image {
  position: relative;
  min-height: 300px;
}
.tact-cta--card-image .tact-cta__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 4px 4px 0;
}
@media (max-width: 768px) {
  .tact-cta--card-image {
    padding: 40px 0;
  }
  .tact-cta--card-image::before {
    display: none;
  }
  .tact-cta--card-image .tact-cta__card {
    grid-template-columns: 1fr;
  }
  .tact-cta--card-image .tact-cta__image {
    min-height: 220px;
    order: -1;
  }
  .tact-cta--card-image .tact-cta__image img {
    border-radius: 4px 4px 0 0;
  }
  .tact-cta--card-image .tact-cta__content {
    padding: 32px 24px;
    text-align: center;
    border-radius: 0 0 4px 4px;
  }
  .tact-cta--card-image .tact-section-heading {
    text-align: center;
  }
  .tact-cta--card-image .tact-cta__actions {
    justify-content: center;
  }
}

/* --- Variant 3: fullwidth (centered text, dark background) --- */
.tact-cta--fullwidth {
  background: var(--tact-dark);
  color: var(--tact-white);
}
.tact-cta--fullwidth .tact-cta__card {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.tact-cta--fullwidth .tact-section-heading {
  color: var(--tact-white);
}
.tact-cta--fullwidth .tact-body-text {
  color: var(--tact-white-70);
}
.tact-cta--fullwidth .tact-cta__actions {
  justify-content: center;
}
.tact-cta--fullwidth .tact-btn--outline {
  background: transparent;
  border-color: var(--tact-white);
  color: var(--tact-white);
}
.tact-cta--fullwidth .tact-btn--outline:hover {
  background: var(--tact-white);
  color: var(--tact-dark);
}


/* ===========================================
   14c. PRICING SECTION
   =========================================== */
.tact-pricing { padding: var(--tact-section-pad) 0; }
.tact-pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--tact-space-lg);
  margin-top: var(--tact-space-xl);
}
.tact-pricing__card {
  background: var(--tact-white);
  border: 1px solid var(--tact-border);
  border-radius: var(--tact-radius-lg);
  padding: var(--tact-space-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--tact-transition-base);
}
.tact-pricing__card:hover {
  box-shadow: var(--tact-shadow-lg);
}
.tact-pricing__card--featured {
  border-color: var(--tact-primary);
  box-shadow: var(--tact-shadow-md);
}
.tact-pricing__badge {
  position: absolute;
  top: calc(var(--tact-space-md) * -1);
  left: 50%;
  transform: translateX(-50%);
  background: var(--tact-primary);
  color: var(--tact-white);
  font-size: var(--tact-font-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--tact-space-xs) var(--tact-space-md);
  border-radius: var(--tact-radius-full);
  white-space: nowrap;
}
.tact-pricing__title {
  font-family: var(--tact-heading);
  font-size: var(--tact-font-xl);
  color: var(--tact-heading-color);
  margin-bottom: var(--tact-space-sm);
}
.tact-pricing__price {
  margin-bottom: var(--tact-space-lg);
}
.tact-pricing__from {
  font-family: var(--tact-heading);
  font-size: var(--tact-font-3xl);
  font-weight: 700;
  color: var(--tact-heading-color);
}
.tact-pricing__to {
  font-family: var(--tact-heading);
  font-size: var(--tact-font-3xl);
  font-weight: 700;
  color: var(--tact-heading-color);
}
.tact-pricing__unit {
  display: block;
  font-size: var(--tact-font-sm);
  color: var(--tact-muted);
  margin-top: var(--tact-space-xs);
}
.tact-pricing__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--tact-space-xl) 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--tact-space-sm);
}
.tact-pricing__features li {
  display: flex;
  align-items: center;
  gap: var(--tact-space-xs);
  font-size: var(--tact-font-sm);
  color: var(--tact-body);
}
.tact-pricing__features .tact-icon {
  color: var(--tact-primary);
  flex-shrink: 0;
}
.tact-pricing__card .tact-btn {
  width: 100%;
  text-align: center;
}
.tact-pricing__footnote {
  text-align: center;
  font-size: var(--tact-font-sm);
  color: var(--tact-muted);
  margin-top: var(--tact-space-lg);
  font-style: italic;
}


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


/* ===========================================
   14e. EMERGENCY / TIME-OF-DAY BANNER
   =========================================== */
.tact-emergency-banner {
  background: var(--tact-primary);
  color: var(--tact-heading-color);
  padding: 14px 0;
  position: relative;
  z-index: 1;
  margin-top: var(--tact-header-height);
}
/* When banner is present, hero doesn't need its own header offset */
.tact-emergency-banner + .tact-hero--service {
  padding-top: 80px;
}
.tact-emergency-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--tact-body-font);
  font-size: 16px;
  font-weight: 500;
}
.tact-tod-message {
  color: var(--tact-heading-color);
}
.tact-emergency-banner__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 24px;
  background: #fff;
  color: var(--tact-dark);
  border-radius: 4px;
  transition: var(--tact-transition-fast);
}
.tact-emergency-banner__phone:hover {
  background: var(--tact-dark);
  color: #fff;
}


/* ===========================================
   14f. STATS COUNTER STRIP
   =========================================== */
.tact-stats {
  padding: var(--tact-space-2xl) 0;
  background: var(--tact-light);
}
.tact-stats__grid {
  display: flex;
  justify-content: center;
  gap: var(--tact-space-2xl);
  flex-wrap: wrap;
  text-align: center;
}
.tact-stats__item {
  min-width: 140px;
}
.tact-stats__value {
  font-family: var(--tact-heading);
  font-size: var(--tact-font-4xl);
  font-weight: 700;
  color: var(--tact-primary);
  line-height: 1;
  margin-bottom: var(--tact-space-xs);
}
.tact-stats__label {
  font-size: var(--tact-font-sm);
  color: var(--tact-muted);
  font-weight: 500;
}
@media (max-width: 480px) {
  .tact-stats__grid {
    gap: var(--tact-space-lg);
  }
  .tact-stats__value {
    font-size: var(--tact-font-3xl);
  }
}


/* ===========================================
   14g. LOGO / ACCREDITATION BAR
   =========================================== */
.tact-logo-bar {
  background: var(--tact-white);
  padding: var(--tact-space-lg) 0;
  overflow: hidden;
  position: relative;
}
.tact-logo-bar::before,
.tact-logo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.tact-logo-bar::before {
  left: 0;
  background: linear-gradient(to right, var(--tact-white) 20%, transparent);
}
.tact-logo-bar::after {
  right: 0;
  background: linear-gradient(to left, var(--tact-white) 20%, transparent);
}
.tact-logo-bar__label {
  text-align: center;
  font-size: var(--tact-font-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tact-muted);
  font-weight: 600;
  margin-bottom: var(--tact-space-md);
}
.tact-logo-bar__track {
  display: flex;
  align-items: center;
  gap: var(--tact-space-2xl);
  width: max-content;
  animation: tact-marquee 30s linear infinite;
}
.tact-logo-bar__item {
  flex-shrink: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tact-logo-bar__item img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.45;
  transition: var(--tact-transition-base);
}
.tact-logo-bar:hover .tact-logo-bar__item img {
  opacity: 0.6;
}
.tact-logo-bar__item:hover img {
  opacity: 1;
  filter: grayscale(0);
}
.tact-logo-bar__item span {
  font-size: var(--tact-font-sm);
  font-weight: 600;
  color: var(--tact-muted);
  white-space: nowrap;
}
@keyframes tact-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .tact-logo-bar__track {
    gap: var(--tact-space-lg);
  }
  .tact-logo-bar__item {
    height: 32px;
  }
  .tact-logo-bar__item img {
    max-height: 28px;
  }
}


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


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


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


/* ===========================================
   14k. PROOF STRIP (credential chips + gated Google reviews)
   =========================================== */
.tact-proof-strip {
  background: var(--tact-secondary);
  color: var(--tact-white);
  padding: 20px 0;
}
.tact-proof-strip__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tact-space-md);
}
.tact-proof-strip__chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--tact-space-sm) var(--tact-space-xl);
}
.tact-proof-strip__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tact-body-font);
  font-size: var(--tact-fs-base);
  font-weight: 500;
  line-height: 1.3;
  color: var(--tact-white);
}
.tact-proof-strip__chip svg {
  color: var(--tact-primary);
  flex-shrink: 0;
}

/* Review layer: markup only exists once real GBP data is set (TACT_GBP_RATING) */
.tact-proof-strip__reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tact-space-md);
  width: 100%;
}
.tact-proof-strip__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tact-proof-strip__stars {
  display: flex;
  gap: 2px;
  color: var(--tact-primary);
}
.tact-proof-strip__rating-value {
  font-family: var(--tact-heading);
  font-weight: 700;
  font-size: var(--tact-fs-md);
  color: var(--tact-white);
}
.tact-proof-strip__rating-count {
  font-size: var(--tact-fs-sm);
  color: var(--tact-white-70);
}
.tact-proof-strip__quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tact-space-md);
  width: 100%;
  max-width: 880px;
}
.tact-proof-strip__quote {
  margin: 0;
  padding: var(--tact-space-md) var(--tact-space-lg);
  background: var(--tact-white-10);
  border: 1px solid var(--tact-white-15);
  border-radius: var(--tact-radius-md);
}
.tact-proof-strip__quote p {
  margin: 0 0 var(--tact-space-sm);
  font-size: var(--tact-fs-base);
  line-height: 1.5;
  color: var(--tact-white);
}
.tact-proof-strip__quote cite {
  font-style: normal;
  font-size: var(--tact-fs-sm);
  color: var(--tact-white-70);
}
@media (max-width: 768px) {
  .tact-proof-strip__chips {
    /* 2x2 grid, not the centred flex-wrap. Measured on the rendered component
       2026-08-26: four chips wrapped 3+1 at 768 and 1+2+1 at 390, leaving an
       orphan chip on its own row at both widths (same shape as the orphan-card
       hard fail). A fixed 2-col grid is even at every width below the desktop
       single row; justify-items:start lines the two columns' labels up. */
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    justify-items: start;
    gap: var(--tact-space-sm) var(--tact-space-lg);
  }
  .tact-proof-strip__quotes {
    grid-template-columns: 1fr;
  }
}


/* ===========================================
   15. FAQ SECTION
   =========================================== */
.tact-faqs {
  padding: 80px 0;
  background: var(--tact-almost-white, #f8fafc);
  position: relative;
  overflow: hidden;
}
/* Navy diagonal — top-right corner */
.tact-faqs::before {
  content: '';
  position: absolute;
  bottom: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--tact-dark);
    transform: skewX(-55deg);
    transform-origin: bottom left;
  z-index: 0;
}
.tact-faqs > .tact-container {
  position: relative;
  z-index: 1;
}

.tact-faqs__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: flex-start;
}

.tact-faqs__header {
  /* sticky positioning removed — was causing offset issues */
}

.tact-faqs__header .tact-section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 0;
}
.tact-faqs__header .tact-section-heading {
  text-align: left;
  margin-bottom: 24px;
}
.tact-faqs__header .tact-body-text {
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
  margin-bottom: 8px;
}

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

/* Accordion item — white card, Shadow 3, 4px radius */
.tact-faq-item {
  background: var(--tact-white);
  padding: 0 24px;
  border-radius: 4px;
  box-shadow: var(--tact-shadow-card);
  margin-bottom: var(--tact-space-md);
}

/* Question row */
.tact-faq-question {
  width: 100%;
  padding: 16px 0 16px 0;
  font-family: var(--tact-heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--tact-heading-color);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  cursor: pointer;
}
.tact-faq-question:hover,
.tact-faq-question:focus,
.tact-faq-question:active {
  background: transparent;
  outline: none;
  box-shadow: none;
  color: var(--tact-heading-color);
}

/* Chevron — 32x32, yellow, rotates on open */
.tact-faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--tact-primary);
  transition: transform var(--tact-transition-base);
}
.tact-faq-item.open .tact-faq-icon {
  transform: rotate(180deg);
}

/* Answer — slides open with max-height */
.tact-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tact-transition-base), padding var(--tact-transition-base);
}
.tact-faq-item.open .tact-faq-answer {
  max-height: 600px;
  padding: 0 0 24px 0;
}
/* DM Sans Regular 18px, body text */
.tact-faq-answer p {
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .tact-faqs {
    padding: 40px 0;
  }
  .tact-faqs::before {
    display: none;
  }
  .tact-faqs__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tact-faqs__header {
    position: static;
    text-align: center;
  }
  .tact-faqs__header .tact-section-header {
    text-align: center;
  }
  .tact-faqs__header .tact-section-heading {
    text-align: center;
  }
  .tact-faqs__header .tact-eyebrow {
    justify-content: center;
  }
}


/* ===========================================
   16. AREAS SECTION
   =========================================== */
.tact-areas {
  padding: 80px 0;
  background: var(--tact-almost-white, #f8fafc);
}

/* Centered header */
.tact-areas .tact-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}
.tact-areas .tact-section-header .tact-eyebrow {
  justify-content: center;
}

/* 5-up max, centre-aligns gracefully when fewer than 5 groups */
.tact-areas__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 40px;
}

.tact-areas__column {
  /* width for exactly 5 per row, accounting for 4 column-gaps of 40px */
  flex: 0 1 calc((100% - 4 * 40px) / 5);
  min-width: 150px;
  max-width: 260px;
}

.tact-areas__region {
  font-family: var(--tact-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--tact-body);
  line-height: 1.4;
  padding: 6px 0;
}

.tact-areas__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tact-areas__list li {
  padding: 6px 0;
}

.tact-areas__link {
  font-family: var(--tact-body-font);
  font-weight: 300;
  font-size: 16px;
  color: var(--tact-body);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--tact-transition-fast);
}
.tact-areas__link:hover {
  color: var(--tact-primary);
}

/* CTA button centered below grid */
.tact-areas__cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Tablet — 3 per row */
@media (max-width: 1024px) {
  .tact-areas__column {
    flex-basis: calc((100% - 2 * 40px) / 3);
  }
}
/* Mobile — 2 per row */
@media (max-width: 768px) {
  .tact-areas {
    padding: 40px 0;
  }
  .tact-areas__grid {
    gap: 24px 16px;
  }
  .tact-areas__column {
    flex-basis: calc((100% - 16px) / 2);
    max-width: none;
  }
}
/* Small mobile — single column */
@media (max-width: 480px) {
  .tact-areas__column {
    flex-basis: 100%;
  }
}


/* ===========================================
   16b. AUTHOR BIO / LAST UPDATED (E-E-A-T)
   =========================================== */
.tact-author-bio {
  background: var(--tact-white);
  border-top: 1px solid var(--tact-border);
  padding: 32px 0;
}
.tact-author-bio__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.tact-author-bio__avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tact-almost-white, #f2f2f2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tact-primary);
}
.tact-author-bio__content {
  flex: 1;
}
.tact-author-bio__name {
  font-family: var(--tact-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--tact-heading-color);
  margin: 0 0 4px;
  line-height: 1.3;
}
.tact-author-bio__meta {
  font-family: var(--tact-body-font);
  font-size: 14px;
  color: var(--tact-body);
  line-height: 1.5;
  margin: 0;
}
.tact-author-bio__updated {
  display: inline-block;
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid var(--tact-border);
  color: rgba(0,0,0,0.5);
}
@media (max-width: 600px) {
  .tact-author-bio__inner {
    flex-direction: column;
    text-align: center;
  }
  .tact-author-bio__updated {
    display: block;
    margin: 6px 0 0;
    padding: 0;
    border: none;
  }
}


/* ===========================================
   17. CONTACT SECTION
   =========================================== */
.tact-contact {
  padding: 80px 0;
  background: var(--tact-dark);
  color: var(--tact-white);
}

.tact-contact__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 120px;
  align-items: center;
}

.tact-contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tact-contact__info .tact-section-header {
  text-align: left;
  margin-inline: 0;
  margin-bottom: 16px;
}
.tact-contact__info .tact-eyebrow {
  color: var(--tact-white);
}
.tact-contact__info .tact-section-heading {
  color: var(--tact-white);
  text-align: left;
  margin-bottom: 24px;
}
.tact-contact__info .tact-body-text {
  color: var(--tact-white);
  font-size: 18px;
  line-height: 1.5;
}

.tact-contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
  margin-top: 24px;
}

.tact-contact__detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-white);
}
.tact-contact__detail svg {
  flex-shrink: 0;
  color: var(--tact-primary);
}
.tact-contact__detail a {
  color: var(--tact-white);
  text-decoration: none;
}
.tact-contact__detail a:hover {
  color: var(--tact-primary);
}

/* Form on dark bg — inputs with yellow focus border */
.tact-contact__form-wrap {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.tact-contact__form-wrap .tact-input {
  background: var(--tact-white);
  border: 2px solid transparent;
  border-radius: 4px;
}
.tact-contact__form-wrap .tact-input:focus {
  border-color: var(--tact-primary);
  box-shadow: none;
}
.tact-contact__form-wrap label {
  font-family: var(--tact-body-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--tact-dark);
  margin-bottom: 0px;
  display: block;
}

/* Stacked CTA buttons — right side */
.tact-contact__ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  min-width: 280px;
}
.tact-contact__ctas .tact-btn {
  text-align: center;
  justify-content: center;
}
.tact-contact__ctas .tact-btn--outline {
  background: transparent;
  border-color: var(--tact-white);
  color: var(--tact-white);
}
.tact-contact__ctas .tact-btn--outline:hover {
  background: var(--tact-white);
  color: var(--tact-dark);
}

@media (max-width: 768px) {
  .tact-contact {
    padding: 40px 0;
  }
  .tact-contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tact-contact__info {
    text-align: center;
    align-items: center;
  }
  .tact-contact__info .tact-section-heading {
    text-align: center;
  }
  .tact-contact__details {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .tact-contact__ctas {
    align-items: center;
    min-width: auto;
    width: 100%;
  }
}


/* ===========================================
   18. QUOTE FORM (Multi-Step)
   =========================================== */
.tact-quote-form {
  background: var(--tact-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(40,41,61,0.08), 0 20px 32px rgba(96,97,112,0.24);
  max-width: 100%;
}

.tact-quote-form__header {
  background: #32435c;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.tact-quote-form__header h3 {
  font-family: var(--tact-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--tact-white);
  line-height: 1.2;
}
.tact-quote-form__header p {
  font-family: var(--tact-body-font);
  font-size: var(--tact-fs-base);
  color: var(--tact-white);
  margin: 8px 0 0;
}
.tact-quote-form__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--tact-white);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--tact-dark);
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tact-quote-form__badge svg {
  width: 13px;
  height: 13px;
}

.tact-quote-form__body {
  padding: 20px 24px 32px;
}

/* Progress indicator */
.tact-form-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.tact-form-step-label {
  font-family: var(--tact-body-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--tact-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.tact-form-progress {
  display: flex;
  gap: 6px;
  flex: 1;
}
.tact-form-progress__segment {
  height: 4px;
  flex: 1;
  border-radius: 4px;
  background: #e7eef6;
  transition: background var(--tact-transition-base);
}
.tact-form-progress__segment.active {
  background: var(--tact-primary);
}

/* Validation error states */
.tact-input--error {
  border-color: #dc2626 !important;
  background-color: #fef2f2 !important;
}
.tact-input--error:focus {
  outline-color: #dc2626 !important;
}
.tact-form-options--error {
  outline: 2px solid #dc2626;
  outline-offset: 4px;
  border-radius: 6px;
}

/* Steps */
.tact-form-steps {
  position: relative;
}
.tact-form-step {
  display: none;
}
.tact-form-step.active {
  display: block;
  animation: tact-step-fadein 0.3s ease forwards;
}
.tact-form-step__label {
  font-size: var(--tact-fs-md);
  font-weight: 600;
  color: var(--tact-heading-color);
  margin-bottom: var(--tact-space-md);
}

/* Option buttons (3-col grid) */
.tact-form-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px 7px;
}

.tact-form-option {
  border: none;
  border-radius: 0;
  padding: 16px 12px;
  cursor: pointer;
  text-align: center;
  font-family: var(--tact-body-font);
  font-size: var(--tact-fs-base);
  font-weight: 600;
  color: #1b4257;
  background: var(--tact-almost-white, #f2f2f2);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tact-transition-fast), color var(--tact-transition-fast);
}
.tact-form-option:hover {
  background: #e7eef6;
  color: #1b4257;
}
.tact-form-option.selected {
  background: var(--tact-primary);
  color: var(--tact-heading-color);
}

/* Form inputs */
.tact-input {
  width: 100%;
  padding: var(--tact-space-md) var(--tact-space-md);
  border: 1px solid #a4a4a4;
  border-radius: var(--tact-radius-md);
  font-family: var(--tact-body-font);
  font-size: var(--tact-fs-base);
  color: var(--tact-body);
  background-color: #e7e9eb;
  transition: border-color var(--tact-transition-fast), box-shadow var(--tact-transition-fast);
  margin-bottom: var(--tact-space-md);
}
.tact-input:focus {
  outline: none;
  border-color: var(--tact-primary);
  box-shadow: 0 0 0 3px var(--tact-primary-15);
}
.tact-input::placeholder {
  color: var(--tact-muted);
}
textarea.tact-input {
  resize: vertical;
  min-height: 100px;
}

/* Form navigation */
.tact-form-nav {
  display: flex;
  justify-content: space-between;
  gap: var(--tact-space-md);
  margin-top: var(--tact-space-lg);
}

/* Success state */
.tact-form-success {
  text-align: center;
  padding: var(--tact-space-xl) 0;
}
.tact-form-success__icon {
  color: var(--tact-secondary);
  margin-bottom: var(--tact-space-md);
}
.tact-form-success h3 {
  font-family: var(--tact-heading);
  font-size: var(--tact-fs-xl);
  color: var(--tact-heading-color);
  margin-bottom: var(--tact-space-sm);
}
.tact-form-success p {
  font-size: var(--tact-fs-base);
  color: var(--tact-muted);
}

.tact-quote-form__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--tact-white);
}
.tact-quote-form__footer-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.tact-quote-form__footer-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Form extras: framing note + optional photo upload */
.tact-form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--tact-body);
  background: var(--tact-primary-10);
  border: 1px solid var(--tact-primary-15);
  border-radius: var(--tact-radius-md);
  padding: 10px 12px;
  margin-bottom: var(--tact-space-md);
}
.tact-form-note svg {
  flex-shrink: 0;
  color: var(--tact-primary-hover);
  margin-top: 1px;
}
.tact-form-field--file {
  margin-bottom: var(--tact-space-md);
}
.tact-form-file {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.tact-form-file__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 16px;
  border: 1px dashed #a4a4a4;
  border-radius: var(--tact-radius-md);
  background: #e7e9eb;
  font-family: var(--tact-body-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--tact-body);
  transition: border-color var(--tact-transition-fast), background var(--tact-transition-fast);
}
.tact-form-file:hover .tact-form-file__btn {
  border-color: var(--tact-primary);
}
.tact-form-file:focus-within .tact-form-file__btn {
  border-color: var(--tact-primary);
  box-shadow: 0 0 0 3px var(--tact-primary-15);
}
.tact-form-field--file.has-files .tact-form-file__btn {
  border-style: solid;
  border-color: var(--tact-primary);
}
/* Native input visually hidden but still focusable/tabbable */
.tact-form-file__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.tact-form-file__hint {
  font-size: 13px;
  color: var(--tact-muted);
  line-height: 1.4;
}
.tact-form-file__list {
  display: block;
  font-size: 13px;
  color: var(--tact-body);
  margin-top: 6px;
}

@media (max-width: 480px) {
  .tact-form-options {
    grid-template-columns: 1fr 1fr;
  }
  .tact-quote-form__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
  }
  .tact-quote-form__header h3 {
    font-size: 22px;
  }
  .tact-quote-form__body {
    padding: 16px 16px 24px;
  }
  .tact-quote-form__footer {
    flex-direction: column;
    gap: 8px;
  }
}


/* ===========================================
   19. FOOTER
   =========================================== */
/* Dark navy footer */
.tact-footer {
  background: var(--tact-dark);
  color: var(--tact-white);
  padding: 72px 64px 28px;
}

/* 4-column grid */
.tact-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.9fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.tact-footer__col {
  min-width: 0;
}

.tact-footer__col--brand {
  padding-right: 16px;
}

/* Logo */
.tact-footer__logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  display: block;
}

/* Tagline under logo */
.tact-footer__tagline {
  font-family: var(--tact-body-font);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 24px;
}

/* Contact block in brand column */
.tact-footer__contact-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tact-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--tact-body-font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--tact-transition-fast);
}
.tact-footer__contact-link svg {
  flex-shrink: 0;
  color: var(--tact-primary);
}
a.tact-footer__contact-link:hover {
  color: var(--tact-primary);
}

/* Column heading */
.tact-footer__heading {
  font-family: var(--tact-heading-font);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tact-white);
  margin: 0 0 20px;
}

/* Sub-heading (within Service Areas column) */
.tact-footer__subheading {
  font-family: var(--tact-body-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tact-primary);
  margin: 0 0 10px;
}
.tact-footer__subheading:not(:first-of-type) {
  margin-top: 20px;
}

/* Link list */
.tact-footer__links {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tact-footer__links a {
  font-family: var(--tact-body-font);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color var(--tact-transition-fast);
}
.tact-footer__links a:hover {
  color: var(--tact-primary);
}

/* Service Areas column — split long link lists into 2 columns on desktop
   so the column doesn't run excessively tall */
@media (min-width: 1025px) {
  .tact-footer__col--areas .tact-footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 9px;
  }
}

/* Trust strip */
.tact-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}
.tact-footer__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tact-body-font);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
}
.tact-footer__trust-item svg {
  color: var(--tact-primary);
  flex-shrink: 0;
}

/* Bottom strip — copyright, legal links, credit */
.tact-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.tact-footer__copyright {
  font-family: var(--tact-body-font);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.tact-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
.tact-footer__legal a {
  font-family: var(--tact-body-font);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--tact-transition-fast);
}
.tact-footer__legal a:hover {
  color: var(--tact-white);
}
.tact-footer__credit {
  font-family: var(--tact-body-font);
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.tact-footer__credit a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--tact-transition-fast);
}
.tact-footer__credit a:hover {
  color: var(--tact-primary);
}

/* Tablet: 2-col grid */
@media (max-width: 1024px) {
  .tact-footer {
    padding: 56px 32px 24px;
  }
  .tact-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    margin-bottom: 40px;
  }
  .tact-footer__col--brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }
  .tact-footer__contact-block {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 28px;
  }
}

/* Mobile: single column */
@media (max-width: 640px) {
  .tact-footer {
    padding: 48px 20px 24px;
  }
  .tact-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }
  .tact-footer__contact-block {
    flex-direction: column;
    gap: 12px;
  }
  .tact-footer__trust {
    gap: 14px 24px;
    padding: 20px 0;
  }
  .tact-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .tact-footer__legal {
    gap: 20px;
  }
}


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

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

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


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

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

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

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

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

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

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

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

/* Contextual service link — routes ranking articles to their money page */
.tact-service-callout {
  background: var(--tact-primary-light);
  border-left: 3px solid var(--tact-primary);
  border-radius: var(--tact-radius-md);
  padding: var(--tact-space-md) var(--tact-space-lg);
  margin: var(--tact-space-xl) 0;
}
.tact-service-callout p {
  font-size: var(--tact-fs-base);
  color: var(--tact-body);
  margin: 0;
}
.tact-service-callout a {
  font-weight: 600;
  color: var(--tact-heading-color);
}

/* Archive hero */
.tact-archive-hero {
  background: var(--tact-dark);
  color: var(--tact-white);
  /* Start the dark block BELOW the fixed header so the (dark-text) nav sits
     over the light page background, not on top of the dark hero. */
  margin-top: var(--tact-header-height);
  padding: var(--tact-space-2xl) 0;
  text-align: center;
}
.tact-archive-hero__title {
  font-family: var(--tact-heading);
  font-size: var(--tact-fs-3xl);
  font-weight: 300;
  color: var(--tact-white);
  margin-bottom: var(--tact-space-sm);
}
.tact-archive-hero__desc {
  font-size: var(--tact-fs-md);
  color: var(--tact-white-40);
}

@media (max-width: 1024px) {
  .tact-article-layout {
    grid-template-columns: 1fr;
  }
  .tact-toc-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .tact-article-header__title {
    font-size: var(--tact-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(--tact-border);
  border-radius: var(--tact-radius-md);
  padding: var(--tact-space-md);
  font-family: var(--tact-body-font);
  font-size: var(--tact-fs-base);
  color: var(--tact-body);
  background: var(--tact-white);
  transition: border-color var(--tact-transition-fast), box-shadow var(--tact-transition-fast);
}
.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form textarea:focus,
.wpforms-container .wpforms-form select:focus {
  border-color: var(--tact-primary);
  box-shadow: 0 0 0 3px var(--tact-primary-15);
  outline: none;
}
.wpforms-container .wpforms-form .wpforms-field-label {
  font-family: var(--tact-body-font);
  font-weight: 600;
  color: var(--tact-heading-color);
  margin-bottom: var(--tact-space-xs);
}
.wpforms-container .wpforms-form .wpforms-field-sublabel {
  font-size: var(--tact-fs-xs);
  color: var(--tact-muted);
}
.wpforms-container .wpforms-form button[type="submit"],
.wpforms-container .wpforms-form .wpforms-submit {
  background: var(--tact-primary);
  color: var(--tact-heading-color);
  border: none;
  border-radius: 0;
  padding: var(--tact-space-md) var(--tact-space-xl);
  font-family: var(--tact-body-font);
  font-size: var(--tact-fs-base);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--tact-transition-fast), transform var(--tact-transition-fast), box-shadow var(--tact-transition-fast);
}
.wpforms-container .wpforms-form button[type="submit"]:hover,
.wpforms-container .wpforms-form .wpforms-submit:hover {
  background: var(--tact-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--tact-shadow-sm);
}
.wpforms-container .wpforms-form ::placeholder {
  color: var(--tact-muted);
  opacity: 0.7;
}


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

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

/* Time-of-Day Message — colour intentionally inherited from base
   .tact-tod-message rule (dark). Earlier yellow overrides were producing
   yellow text on a yellow banner — illegible. */

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

/* Map */
.tact-map {
  border-radius: var(--tact-radius-lg);
  overflow: hidden;
  margin-bottom: 0;
}
/* Kill GP default margins */
.site-main > * {
  margin-bottom: 0;
}
.entry-content > *:last-child {
  margin-bottom: 0;
}
.tact-map iframe {
  display: block;
  width: 100%;
  border: 0;
}


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

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

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

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

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

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

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

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

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

/* --- Keyframes --- */
@keyframes tact-step-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tact-glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--tact-primary-15); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes tact-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tact-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;
  }
  .tact-reveal,
  .tact-hero-animate,
  .tact-hero-animate--image,
  .tact-page-hero-animate {
    opacity: 1 !important;
    transform: none !important;
  }
  .tact-btn:hover,
  .tact-hover-lift:hover {
    transform: none !important;
  }
  .tact-hover-zoom:hover img {
    transform: none !important;
  }
}

/* ===========================================
   RELATED SERVICES (internal linking)
   =========================================== */
.tact-related-services {
  padding: 80px 0;
  background: var(--tact-almost-white, #f8fafc);
}
/* Centered header */
.tact-related-services .tact-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.tact-related-services .tact-section-header .tact-eyebrow {
  justify-content: center;
}
.tact-related-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
  gap: 24px;
}
.tact-related-services__card {
  background: var(--tact-white);
  border: 1px solid var(--tact-border);
  border-radius: 4px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--tact-transition-fast), border-color var(--tact-transition-fast), transform var(--tact-transition-fast);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tact-related-services__card:hover {
  box-shadow: var(--tact-shadow-card);
  border-color: var(--tact-primary);
  transform: translateY(-4px);
  color: inherit;
}
.tact-related-services__card h3 {
  font-family: var(--tact-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tact-heading-color);
}
.tact-related-services__card p {
  font-family: var(--tact-body-font);
  font-size: 18px;
  color: var(--tact-body);
  line-height: 1.5;
  flex: 1;
}
.tact-related-services__link {
  font-family: var(--tact-body-font);
  font-size: 18px;
  font-weight: 400;
  color: var(--tact-primary);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.tact-related-services__link svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .tact-related-services {
    padding: 40px 0;
  }
  .tact-related-services__grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .tact-related-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===========================================
   PPC / AD-TRAFFIC MODE (body.tact-ppc, ?lp=1)
   Strips distractions, keeps content depth for
   Quality Score. Only two actions: call or form.
   =========================================== */
/* Remove site navigation — no exit points */
.tact-ppc .tact-nav-desktop,
.tact-ppc .tact-mobile-toggle,
.tact-ppc .tact-mobile-menu {
  display: none !important;
}
/* Keep the header Call button visible at ALL widths (click-to-call above fold) */
.tact-ppc .tact-header__cta {
  display: flex !important;
}
/* Footer: keep brand/contact only, drop the link columns */
.tact-ppc .tact-footer__col:not(.tact-footer__col--brand) {
  display: none;
}
.tact-ppc .tact-footer__grid {
  grid-template-columns: 1fr;
  max-width: 480px;
}
/* Remove internal cross-links that pull paid clicks away */
.tact-ppc .tact-related-services {
  display: none;
}

/* Trust bar directly under the hero — dark, matches base bar */
.tact-trust-bar--ppc {
  padding-top: 24px;
  padding-bottom: 24px;
  background: #1e293b;
}
.tact-trust-bar--ppc .tact-trust-bar__value {
  font-size: 22px;
}
/* Two rows of 3 (6 proof points) instead of an uneven 4 + 2 */
.tact-trust-bar--ppc .tact-trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: stretch;
  row-gap: 24px;
}
@media (max-width: 768px) {
  .tact-trust-bar__inner {
    gap: 20px;
  }
  .tact-trust-bar--ppc .tact-trust-bar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* No duplication: hero already-condensed inline trust is hidden in PPC,
   the dedicated trust bar carries the signals instead */
.tact-ppc .tact-hero__trust {
  display: none;
}

/* Header click-to-call: icon + text, text collapses on phones */
.tact-header__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tact-header__call-icon {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 768px) {
  .tact-ppc .tact-header__call {
    padding: 10px 16px;
    font-size: 18px;
  }
}

/* Fast callback form */
.tact-quote-form--callback .tact-form-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tact-form-submit--block {
  width: 100%;
  justify-content: center;
}
.tact-quote-form--callback .tact-quote-form__badge {
  white-space: nowrap;
}


/* ===========================================
   BLOG ARCHIVE GRID (Dossis layout, TACT tokens)
   =========================================== */
/* Hide GeneratePress default loop on the blog index */
.blog .site-main > article,
.blog .site-main > nav.navigation,
.blog .site-main > .paginav,
.blog .page-header { display: none; }

.tact-blog-grid {
  padding: var(--tact-space-2xl) 0 var(--tact-section-pad);
  background: var(--tact-almost-white);
}
.tact-blog-grid__outer {
  display: flex;
  flex-direction: column;
  gap: var(--tact-space-2xl);
}
.tact-blog-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tact-space-xl);
}
.tact-blog-card {
  background: var(--tact-white);
  border: 1px solid var(--tact-border);
  border-radius: var(--tact-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.tact-blog-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  transform: translateY(-3px);
  border-color: var(--tact-primary);
}
.tact-blog-card__img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tact-dark);
}
.tact-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.tact-blog-card:hover .tact-blog-card__img { transform: scale(1.04); }
.tact-blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--tact-dark), var(--tact-heading-color));
}
.tact-blog-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--tact-space-sm);
  padding: var(--tact-space-xl);
}
.tact-blog-card__tag {
  align-self: flex-start;
  font-family: var(--tact-heading);
  font-size: var(--tact-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tact-primary-hover);
  background: var(--tact-primary-light);
  padding: var(--tact-space-xs) var(--tact-space-md);
  border-radius: var(--tact-radius-full);
}
.tact-blog-card__title {
  font-family: var(--tact-heading);
  font-size: var(--tact-fs-xl);
  font-weight: 700;
  line-height: 1.3;
  color: var(--tact-heading-color);
  margin: 4px 0 0;
}
.tact-blog-card__excerpt {
  font-size: var(--tact-fs-base);
  line-height: 1.6;
  color: var(--tact-body);
  margin: 0;
}
.tact-blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--tact-space-sm);
  font-family: var(--tact-heading);
  font-weight: 600;
  font-size: var(--tact-fs-sm);
  color: var(--tact-heading-color);
}
.tact-blog-card:hover .tact-blog-card__more { color: var(--tact-primary-hover); }
.tact-blog-card__more svg { transition: transform .2s ease; }
.tact-blog-card:hover .tact-blog-card__more svg { transform: translateX(3px); }

.tact-blog-grid__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tact-blog-grid__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--tact-radius-full);
  font-family: var(--tact-heading);
  font-weight: 600;
  font-size: var(--tact-fs-sm);
  text-decoration: none;
  color: var(--tact-heading-color);
  background: var(--tact-white);
  border: 1px solid var(--tact-border);
  transition: background .2s, color .2s, border-color .2s;
}
.tact-blog-grid__pagination .page-numbers:hover,
.tact-blog-grid__pagination .page-numbers.current {
  background: var(--tact-primary);
  border-color: var(--tact-primary);
  color: var(--tact-dark);
}

@media (max-width: 1024px) {
  .tact-blog-grid__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tact-blog-grid__cards { grid-template-columns: 1fr; gap: var(--tact-space-lg); }
  .tact-blog-grid { padding: var(--tact-space-xl) 0 var(--tact-space-2xl); }
}


/* ===========================================
   SINGLE POST FIXES
   =========================================== */
/* Clear the fixed header */
.tact-article-top {
  padding-top: calc(var(--tact-header-height) + var(--tact-space-2xl) + var(--tact-space-xl));
}

/* Kill GeneratePress duplicates on single posts (we render our own header) */
.single .entry-header,
.single .entry-title,
.single .page-header-image,
.single .featured-image,
.single .post-image,
.single .entry-meta,
.single .entry-footer,
.single .inside-article > .post-image { display: none !important; }

/* Article header: title/meta left, featured image right */
.tact-article-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--tact-space-2xl);
  align-items: center;
  margin-bottom: var(--tact-space-2xl);
}
.tact-article-header__text { max-width: none; }
.tact-article-header__img {
  margin: 0;
}
.tact-article-header__img img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--tact-radius-lg);
  display: block;
}
@media (max-width: 768px) {
  .tact-article-header {
    grid-template-columns: 1fr;
    gap: var(--tact-space-lg);
  }
  .tact-article-header__img { order: -1; }
}

/* Constrain + centre the article content.
   NB: needs to out-specify `.single .site-content .entry-content { margin:0 }`
   defined earlier, hence the body.single .site-content prefix + !important. */
body.single .site-content .entry-content {
  max-width: 1000px;
  margin-inline: auto !important;
  padding-inline: var(--tact-space-lg);
}
.tact-article-layout {
  max-width: 1000px;
  margin-inline: auto;
}

/* Tame list indentation */
.tact-article-body ul,
.tact-article-body ol {
  padding-left: 1.25rem;
  margin-left: 0;
}

/* Remove dead space between contact section and the site footer */
body.single .site-main,
body.single .inside-article,
body.single .entry-content,
body.single .site-content .content-area { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.single .tact-contact { margin-bottom: 0; }
body.single .site-footer { margin-top: 0; }

/* Related guides */
.tact-related {
  background: var(--tact-light);
  padding: var(--tact-section-pad) 0;
}
.tact-related__heading {
  font-family: var(--tact-heading);
  font-size: var(--tact-fs-2xl);
  font-weight: 700;
  color: var(--tact-heading-color);
  margin-bottom: var(--tact-space-xl);
  text-align: center;
}
.tact-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tact-space-xl);
}
.tact-related__card {
  background: var(--tact-white);
  border: 1px solid var(--tact-border);
  border-radius: var(--tact-radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.tact-related__card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  transform: translateY(-3px);
  border-color: var(--tact-primary);
}
.tact-related__card-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tact-dark);
}
.tact-related__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tact-related__card-img-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--tact-dark), var(--tact-heading-color));
}
.tact-related__card-body {
  padding: var(--tact-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--tact-space-sm);
}
.tact-related__card-cat {
  align-self: flex-start;
  font-family: var(--tact-heading);
  font-size: var(--tact-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tact-primary-hover);
  background: var(--tact-primary-light);
  padding: var(--tact-space-xs) var(--tact-space-md);
  border-radius: var(--tact-radius-full);
}
.tact-related__card-title {
  font-family: var(--tact-heading);
  font-size: var(--tact-fs-lg);
  font-weight: 700;
  line-height: 1.3;
  color: var(--tact-heading-color);
  margin: 0;
}
@media (max-width: 1024px) {
  .tact-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .tact-related__grid { grid-template-columns: 1fr; }
}

/* Footer trust strip */
.tact-footer__trust {
  justify-content: space-between;
}
@media (min-width: 1025px) {
  .tact-footer__trust {
    column-gap: 4px;
  }
}

/* ===========================================
   LIGHT CONTACT SECTION (contact page)
   =========================================== */
.tact-contact--light {
  background: var(--tact-white);
  color: var(--tact-body);
}
.tact-contact--light .tact-contact__info .tact-section-heading {
  color: var(--tact-heading-color);
}
.tact-contact--light .tact-contact__info .tact-body-text,
.tact-contact--light .tact-contact__detail {
  color: var(--tact-body);
}
.tact-contact--light .tact-contact__detail a {
  color: var(--tact-body);
}
.tact-contact--light .tact-contact__detail a:hover {
  color: var(--tact-primary-hover);
}
.tact-contact--light .tact-contact__detail svg {
  color: var(--tact-primary-hover);
}
/* Inputs need a visible edge on the white section (the dark-bg rule made them
   white-on-white with transparent borders) */
.tact-contact--light .tact-contact__form-wrap .tact-input {
  background-color: #e7e9eb;
  border: 1px solid #a4a4a4;
}
.tact-contact--light .tact-contact__form-wrap .tact-input:focus {
  border-color: var(--tact-primary);
}

/* Header enquire button — icon + label spacing */
.tact-header__enquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tact-header__enquire-icon {
  display: inline-flex;
  align-items: center;
}

/* Simple contact form (Contact page) */
.tact-quote-form--simple .tact-form-steps {
  display: flex;
  flex-direction: column;
}
.tact-form-simple .tact-form-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tact-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tact-form-label {
  font-family: var(--tact-body-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--tact-heading-color);
}
.tact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .tact-form-row { grid-template-columns: 1fr; }
}
.tact-form-simple .tact-input {
  margin-bottom: 0;
}
.tact-form-simple select.tact-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--tact-body) 50%),
                    linear-gradient(135deg, var(--tact-body) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.tact-form-simple textarea.tact-input {
  resize: vertical;
  min-height: 120px;
}
