/* =============================================================================
   WEST SENECA TREE SERVICE   Main Stylesheet
   Child theme of Twenty Twenty-Four
   ============================================================================= */

/* ─── Custom Fonts ───────────────────────────────────────────────────────────── */
/* Empira Demi Bold — place font files in assets/fonts/                          */
/* Required: Empira-DemiBold.woff2  and  Empira-DemiBold.woff                   */
@font-face {
  font-family: "jsMath-cmmi10";
  src: url("../fonts/jsMath-cmmi10.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Empira";
  src:
    url("../fonts/Empira-DemiBold.woff2") format("woff2"),
    url("../fonts/Empira-DemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */

:root {
  /* ── WEST SENECA TREE SERVICE – Brand Palette ── */
  /* #1c1c1c  Almost Black – text, headings                  */
  /* #DD9300  Burnt Orange – accent: buttons, icons, badges  */
  /* #666b6e  Steel Gray   – secondary text, borders         */
  /* #ffffff  White        – base background                  */

  /* Main brand colors */
  --tbts-primary: #dd9300; /* Orange – CTAs, links, badges */
  --tbts-secondary: #666b6e; /* Steel Gray – hover, borders */
  --tbts-dark-brand: #1c1c1c; /* Almost Black – headings, nav text */
  --tbts-darkest: #1c1c1c; /* Darkest – overlays */
  --tbts-light-bg: #ffffff; /* White – page background */
  --tbts-cream: #fdf8f6; /* Warm off-white – cards, subtle bg */

  /* Button colors */
  --tbts-button: #dd9300; /* Orange – buttons */
  --tbts-button-hover: #9f6a1a; /* Darker orange – button hover */

  /* Legacy color aliases (mapped to new palette) */
  --tbts-green: #dd9300; /* → Orange accent */
  --tbts-green-dark: #1c1c1c; /* → Almost Black */
  --tbts-green-mid: #666b6e; /* → Steel Gray */
  --tbts-green-light: #dd9300; /* → Orange accent */
  --tbts-green-pale: #fdf0eb; /* → Very light orange tint (backgrounds) */
  --tbts-green-faint: #fdf8f6; /* → Warm near-white */
  --tbts-brown: #dd9300; /* → Orange */
  --tbts-gold: #dd9300;
  --tbts-star: #ff9d00; /* → Orange */
  --tbts-gold-dark: #8a3d1f; /* → Darker orange */

  /* Neutrals */
  --tbts-dark: #1c1c1c;
  --tbts-gray-800: #1c1c1c;
  --tbts-gray-600: #666b6e;
  --tbts-gray-400: #9a9fa2;
  --tbts-gray-200: #e1e5e9;
  --tbts-gray-100: #f5f5f5;
  --tbts-white: #ffffff;
  --tbts-bg: #ffffff; /* White page background */

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 64px;
  --container-max: 1280px;
  --container-px: 24px;

  /* Shadows – warm neutral */
  --shadow-xs: 0 1px 3px rgba(28, 28, 28, 0.07);
  --shadow-sm: 0 2px 10px rgba(28, 28, 28, 0.08);
  --shadow-md: 0 4px 24px rgba(28, 28, 28, 0.1);
  --shadow-lg: 0 8px 40px rgba(28, 28, 28, 0.13);
  --shadow-xl: 0 16px 60px rgba(28, 28, 28, 0.17);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transition */
  --ease: all 0.3s ease;
  --ease-fast: all 0.18s ease;

  /* Premium Accents */
  --glass-bg: rgba(169, 79, 42, 0.08);
  --glass-border: rgba(169, 79, 42, 0.15);
  --glass-blur: blur(12px);
}

/* ─── Reset / Base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body,
.site {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tbts-gray-800);
  background-color: var(--tbts-bg);
}

body.admin-bar {
  scroll-padding-top: 92px;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--tbts-green);
  text-decoration: none;
  transition: var(--ease-fast);
}
a:hover {
  color: var(--tbts-green-dark);
}
a:focus-visible {
  outline: 3px solid var(--tbts-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

ul,
ol {
  list-style: none;
}
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

/* WordPress alignment */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}
.aligncenter {
  margin: 0 auto 1rem;
  display: block;
}

/* ─── Container ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
}

/* Header Free Quote button - add 10px gap for icon */
.header-actions .btn {
  gap: 10px;
}

.btn:focus-visible {
  outline: 3px solid var(--tbts-button);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--tbts-green);
  color: var(--tbts-white);
  border-color: var(--tbts-green);
}
.btn-primary:hover {
  background: var(--tbts-green-dark);
  border-color: var(--tbts-green-dark);
  color: var(--tbts-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--tbts-green);
  border-color: var(--tbts-green);
}
.btn-outline:hover {
  background: var(--tbts-green);
  color: var(--tbts-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--tbts-gray-600);
  border: none;
  padding: 0;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--tbts-primary);
  text-underline-offset: 4px;
  box-shadow: none;
}
.btn-ghost:hover {
  background: transparent;
  color: var(--tbts-primary);
  transform: none;
  text-decoration-color: var(--tbts-primary);
}

/* About section outline button - black */
.about-section .btn-outline {
  color: #1c1c1c !important;
  border-color: #1c1c1c !important;
}
.about-section .btn-outline:hover {
  background: #1c1c1c !important;
  color: #ffffff !important;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tbts-white);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--tbts-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--tbts-white);
  color: var(--tbts-green-dark);
  border-color: var(--tbts-white);
}
.btn-white:hover {
  background: var(--tbts-green-pale);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}
.btn-sm {
  padding: 9px 20px;
  font-size: 0.875rem;
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ─── Typography & Base Reversion ────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--tbts-gray-800);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--tbts-dark);
  font-weight: 700;
}
p,
li {
  font-family: var(--font-body);
}

/* ─── Container Fix ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
}

/* ─── Section Shared Styles ─────────────────────────────────────────────────── */
.section-label {
  display: inline-block !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--tbts-green-mid) !important;
  margin-bottom: 12px !important;
}

.section-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.75rem, 3.5vw, 2.625rem) !important;
  margin-bottom: 16px !important;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--tbts-gray-600);
  max-width: 640px;
}

.section-header {
  margin-bottom: 64px;
}
.section-header--center {
  text-align: center;
}
.section-header--light .section-label,
.section-header--light .section-title,
.section-header--light .section-desc,
.section-header--light .rating-text {
  color: var(--tbts-white) !important;
}
.section-header--light .rating-stars svg {
  color: var(--tbts-gold) !important;
}
.section-header--center .section-desc {
  margin-inline: auto;
}

.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-header--light .section-title,
.section-header--light .section-label {
  color: var(--tbts-white);
}
.section-header--light .section-label {
  color: var(--tbts-green-light);
}

/* ─── Reveal Animations ─────────────────────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Wipe Reveal Right - Triggered by parent is-visible */
.reveal-wipe-right {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-v2.is-visible .reveal-wipe-right,
.reveal-section.is-visible .reveal-wipe-right {
  clip-path: inset(0 0 0 0);
}

/* Slide from left animation */
.reveal-from-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-from-left.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Slide from right animation */
.reveal-from-right {
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-from-right.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Drop from top animation */
.reveal-from-top {
  opacity: 0;
  transform: translateY(-40px) scale(0.98);
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-from-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide from bottom animation */
.reveal-from-bottom {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-from-bottom.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Hero-specific stagger delays ── */
/* Left content: fires first */
.hero-left.reveal-from-left {
  transition-delay: 0.1s;
}
/* Form card: fires 0.25s after left content */
.hero-form-card.reveal-from-top {
  transition-delay: 0.35s;
}
/* Info bar: fires last, after both above */
.hero-info-bar-wrap.reveal-from-bottom {
  transition-delay: 0.6s;
}

.reveal-item:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-item:nth-child(3) {
  transition-delay: 0.2s;
}
.tbts-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease;
}
.tbts-header.is-scrolled {
  position: fixed;
  animation: headerSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.header-top-bar {
  display: none; /* Removed for clean pill design */
}
.header-main {
  margin: 0; /* Full width - no side paddings */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0; /* No corner radius */
  transition:
    margin 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  pointer-events: auto;
  display: flex;
  justify-content: stretch;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes items to corners */
  height: 60px; /* Same as scrolled height */
  padding: 0 32px; /* Adjusted padding for corner alignment */
  width: 100%;
  max-width: none; /* Removed max-width to allow full pill span */
  margin: 0;
}

/* Correct Flex Layout for Items */
.site-branding {
  flex: 0 0 auto; /* Natural width */
  display: flex;
  align-items: center;
  margin-left: 10px; /* Move logo slightly toward center */
}
.header-nav {
  position: absolute; /* Center nav independently of corners */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}
.header-actions {
  flex: 0 0 auto; /* Natural width */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-right: 10px; /* Move free quote button slightly toward center */
}

/* Initially white text for transparent state */
.tbts-header:not(.is-scrolled) .nav-menu > li > a {
  color: #ffffff !important;
  font-size: 16px !important;
}
.tbts-header:not(.is-scrolled) .site-name {
  color: var(--tbts-green-dark) !important;
}
.tbts-header:not(.is-scrolled) .site-name-link {
  color: var(--tbts-green-dark) !important;
}
.tbts-header:not(.is-scrolled) .site-tagline {
  color: rgba(255, 255, 255, 0.8) !important;
}
.tbts-header:not(.is-scrolled) .btn-primary {
  background: var(--tbts-green);
  border: none;
  color: #ffffff;
  border-radius: 0;
  padding: 10px 24px;
  font-weight: 600;
}
.tbts-header:not(.is-scrolled) .hamburger-bar {
  background: #ffffff;
}

/* Navbar blur effect in hero section (not scrolled) */
.tbts-header:not(.is-scrolled) .header-main {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none; /* Remove border */
}


/* Remove logo invert effect when mobile nav is open */
.header-nav.is-open ~ .header-inner .site-branding img,
.header-nav.is-open ~ .header-inner .site-branding .custom-logo,
.header-nav.is-open ~ .header-inner .site-branding .site-logo,
.header-nav.is-open + .header-inner .site-branding img,
.header-nav.is-open + .header-inner .site-branding .custom-logo,
.header-nav.is-open + .header-inner .site-branding .site-logo {
  filter: none !important;
}

/* Also target when header has open nav class */
.tbts-header.nav-open .site-branding img,
.tbts-header.nav-open .site-branding .custom-logo,
.tbts-header.nav-open .site-branding .site-logo {
  filter: none !important;
}

/* ─── MOBILE NAVIGATION OVERRIDE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tbts-header {
    top: 0 !important;
    margin-top: 0 !important;
    position: fixed !important;
    pointer-events: auto;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    transform: none !important;
    transition: none !important;
    z-index: 999999 !important; /* Extra high */
  }
  /* Remove Admin Bar offset for now to see if it fixes the gap */
  .admin-bar .tbts-header {
    top: 0 !important;
    margin-top: 0 !important;
  }
  .header-main {
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
  }
  .header-inner {
    height: 60px !important;
    padding: 0 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: none !important;
  }
  .site-branding .custom-logo,
  .site-branding .site-logo {
    max-height: 40px !important;
  }
  .site-branding {
    position: relative !important;
    z-index: 100001 !important;
  }
  .header-actions {
    display: flex !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 100001 !important;
  }
  .header-actions .btn {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 !important;
    width: 28px !important;
    height: 28px !important;
    gap: 4px !important;
  }
  .hamburger-bar {
    background: var(--tbts-green-dark) !important;
    height: 2px !important;
    width: 100% !important;
  }

  /* Full Screen Overlay - Solid White */
  .header-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease !important;
    z-index: 100000 !important;
    transform: none !important;
    pointer-events: none !important;
  }
  .header-nav.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-menu {
    flex-direction: column !important;
    gap: 32px !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
    transform: none !important;
  }
}

/* ─── Admin Bar Support ───────────────────────────────────────────────────── */
.admin-bar .tbts-header {
  top: 32px !important; /* Admin Bar offset when not scrolled */
}
.admin-bar .tbts-header.is-scrolled {
  top: 32px !important; /* Keep admin bar offset when scrolled */
}

@media (max-width: 782px) {
  .admin-bar .tbts-header {
    top: 0 !important; /* Mobile: flush to top, no admin bar offset */
  }
}

/* Scrolled State - Scroll-based animation to top: 0 */
.tbts-header.is-scrolled {
  top: 0 !important; /* Moves to top on scroll */
}
.tbts-header.is-scrolled .header-main {
  margin-top: 0;
  margin: 0; /* Full width - no side paddings */
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 0; /* No corner radius */
}
.tbts-header.is-scrolled .header-inner {
  height: 60px; /* Reduced from 72px */
}
.tbts-header.is-scrolled .nav-menu > li > a {
  color: var(--tbts-gray-800) !important;
  font-size: 16px !important;
}
.tbts-header.is-scrolled .site-name {
  color: var(--tbts-green-dark) !important;
}
.tbts-header.is-scrolled .site-name-link {
  color: var(--tbts-green-dark) !important;
}
.tbts-header.is-scrolled .btn-primary {
  background: var(--tbts-green) !important;
  color: var(--tbts-white) !important;
}

/* Logo back to normal when scrolled */
.tbts-header.is-scrolled .site-branding img,
.tbts-header.is-scrolled .site-branding .custom-logo,
.tbts-header.is-scrolled .site-branding .site-logo {
  filter: none !important;
  transition: filter 0.4s ease !important;
}

@media (max-width: 1024px) {
  .header-main {
    margin: 0 20px;
  }
}
.reveal-item:nth-child(4) {
  transition-delay: 0.3s;
}
.reveal-item:nth-child(5) {
  transition-delay: 0.4s;
}
.reveal-item:nth-child(6) {
  transition-delay: 0.5s;
}

/* ─── Floating Call Button ───────────────────────────────────────────────────── */
.floating-call-btn {
  display: none; /* Hidden - replaced by tbts-floating-actions */
}

/* Site Branding */
.site-branding {
  flex-shrink: 0;
}
.site-name-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-name-icon {
  font-size: 1.75rem;
  line-height: 1;
}
.site-name-text {
  display: flex;
  flex-direction: column;
}
.site-name {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--tbts-green-dark) !important; /* Default color with !important */
  line-height: 1.1;
}
.site-tagline {
  font-size: 0.7rem;
  color: var(--tbts-gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-branding .custom-logo,
.site-branding .site-logo {
  max-height: 45px;
  width: auto;
  display: block;
}

.logo-scrolled {
  display: none !important;
}

.tbts-header.is-scrolled .logo-hero {
  display: none !important;
}

.tbts-header.is-scrolled .logo-scrolled {
  display: block !important;
}

@media (max-width: 1024px) {
  .logo-hero {
    display: none !important;
  }
  .logo-scrolled {
    display: block !important;
  }
}

/* Navigation */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px; /* Increased gap between links */
  list-style: none;
  margin: 0;
  padding: 0 10px;
}
.nav-menu > li > a {
  display: block;
  padding: 8px 4px; /* Reduced side padding slightly for underline fit */
  margin: 0 10px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--tbts-gray-800);
  transition: var(--ease-fast);
  position: relative;
}
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tbts-green-dark);
  transition: width 0.3s ease;
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current_page_item > a::after {
  width: 100%;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: var(--tbts-green-dark);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  padding: 8px;
}
.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tbts-gray-800);
  border-radius: 2px;
  transition: var(--ease-fast);
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--tbts-green-dark);
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--tbts-green-dark);
}

/* Mobile Nav Overlay */
@media (max-width: 768px) {
  .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    transform: scale(1.05);
    pointer-events: none;
  }
  .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
  }
  .nav-menu {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    width: 100%;
  }
  .nav-menu > li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    transition-delay: calc(var(--item-index, 0) * 0.1s);
  }
  .header-nav.is-open .nav-menu > li {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-menu > li > a {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1c1c1c !important;
    font-family: var(--font-heading);
    padding: 10px;
    margin: 0;
  }

  /* Ensure mobile nav links are always visible */
  .header-nav.is-open .nav-menu > li > a {
    color: #1c1c1c !important;
  }
  .nav-menu > li > a::after {
    display: none; /* Hide underline on mobile */
  }
  .mobile-toggle {
    display: flex;
    z-index: 1001; /* Above overlay */
    position: relative;
  }
  .hamburger-bar {
    background: var(--tbts-green-dark) !important;
  }
}

/* Sticky header logic - Simplified for pill */
.tbts-header.is-scrolled .header-main {
  box-shadow: var(--shadow-lg);
}

/* Offset for floating header */
.site-content,
#content,
#main-content,
main {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.site-content {
  padding-top: 0; /* Since it's floating, let the content sit under it or adjust if needed */
}
.tbts-header.is-scrolled {
  transform: translateY(0);
}

/* ─── HERO SECTION (Split Layout) ────────────────────────────────────────────── */

/* ── Prevent Testimonials rating stacking bug ── */
@media (max-width: 768px) {
  .testimonials-rating-summary {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .rating-stars {
    margin-bottom: 8px !important;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-content-col {
    order: 2 !important;
  }
  .about-image-col {
    order: 1 !important;
  }
}

/* ─── Shared Background Wrapper (Hero + About + Trust Bar) ──────────────────── */
.homepage-bg-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevent background elements from causing horizontal overflow */
}

/* Full-height background image layer */
.hbw-bg {
  position: absolute;
  top: -2px; /* Slight offset to prevent sub-pixel gaps at the top */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}
.hbw-bg-img {
  width: 100%;
  height: 125%; /* Increased for more pronounced parallax feel */
  object-fit: cover;
  object-position: center top;
  display: block;
  will-change: transform;
  transform-origin: center top;
  transform: translateY(0); /* Match initial parallax state */
}

/* Unified dark gradient overlay for text readability across all 3 sections */
.hbw-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 0.55) 65%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.homepage-bg-wrap > *:not(.hbw-bg) {
  position: relative;
  z-index: 2;
}

/* Section wrapper */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Increased from 88vh */
  min-height: 100svh;
  background: transparent; /* shared bg from .homepage-bg-wrap */
  overflow: visible;
  padding-bottom: 48px;
}

/* ── Background Image ── */
.hero-bg {
  position: absolute;
  inset: 0;
  bottom: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.35) 75%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

/* Responsive hero overlay - darker on mobile/tablet */
@media (max-width: 1024px) {
  .hero-bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.4) 100%
    );
  }
}

@media (max-width: 768px) {
  .hero-bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.55) 50%,
      rgba(0, 0, 0, 0.45) 100%
    );
  }
}

/* ── Main content row ── */
.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex: 1;
  padding-top: 190px; /* increased to move content down */
  padding-bottom: 44px;
  max-width: 1440px; /* wider than default container */
  margin-inline: auto;
  width: 100%;
  padding-inline: 32px; /* narrow sides = more content width */
}

/* ── Left text column ── */
.hero-left {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.hero-eyebrow {
  font-size: 0.9375rem; /* slightly larger */
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tbts-primary);
  margin-bottom: 18px;
}

.hero-title {
  font-family: "Empira", "Outfit", var(--font-heading), sans-serif;
  font-size: clamp(6rem, 5.5vw, 6.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero-title-accent {
  color: var(--tbts-primary);
  font-family: "Empira", "Outfit", var(--font-heading), sans-serif;
  font-weight: 300;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
  line-height: 1.72;
  margin-bottom: 36px;
  max-width: 600px;
}

/* CTA Buttons & Reviews Row */
.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Push reviews to far right */
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 10px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-dark-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px 16px 36px; /* Increased size */
  border-radius: 0;
  font-weight: 700;
  font-size: 1.0625rem; /* Increased font size */
  text-decoration: none;
  transition: var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Reviews Component */
.hero-reviews {
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-avatars {
  display: flex;
}

.hero-avatar-item {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  margin-left: -16px;
  overflow: hidden;
  background: var(--tbts-gray-200);
}

.hero-avatar-item:first-child {
  margin-left: 0;
}

.hero-avatar-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-reviews-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-reviews-count {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.hero-reviews-stars {
  display: flex;
  gap: 2px;
  color: #ffb800;
}

/* Arrow circle inside buttons */
.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: var(--ease);
}
.hero-btn-primary:hover .btn-arrow-circle,
.hero-btn-dark-outline:hover .btn-arrow-circle {
  transform: translateX(2px);
}
.hqf-submit .btn-arrow-circle {
  border-color: rgba(255, 255, 255, 0.7);
}
.hqf-submit:hover .btn-arrow-circle {
  transform: translateX(2px);
}
.hero-btn-primary {
  background: var(--tbts-primary);
  color: #ffffff;
  border-color: var(--tbts-primary);
}
.hero-btn-primary:hover {
  background: var(--tbts-button-hover);
  border-color: var(--tbts-button-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(208, 89, 41, 0.4);
}
.hero-btn-dark-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}
.hero-btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 65vh;
    min-height: 65svh;
    text-align: center;
    padding-top: 80px; /* Header clearance */
  }
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  .homepage-bg-wrap {
    min-height: auto;
  }

  .hero-left {
    flex: none;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-form-card {
    flex: 0 0 320px;
  }
  .hero-info-bar-wrap {
    padding-inline: 24px;
  }
  .hero-actions-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    width: 100%;
  }
  .hero-ctas {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px;
  }
  .hero-ctas a {
    width: auto;
    min-width: 200px;
    justify-content: center;
  }
  .hero-reviews {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .hero-container {
    gap: 32px;
  }
  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-top: 0;
    line-height: 1.1;
  }
  .hero-actions-row {
    margin-top: 32px;
  }
  .hero-form-card {
    flex: none;
    width: 100%;
    max-width: 520px;
  }
  .hero-info-bar-wrap {
    padding-inline: 16px;
  }
  .hero-info-bar {
    margin-top: -30px;
    border-radius: 12px;
  }
  .hero-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-info-item {
    border-right: none;
    border-bottom: 1px solid var(--tbts-gray-200);
  }
  .hero-info-item:nth-child(odd) {
    border-right: 1px solid var(--tbts-gray-200);
  }
  .hero-info-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 70px;
    min-height: 70vh;
    min-height: 70svh;
  }
  .hero-container {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 2.25rem;
    margin-top: 0;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-ctas a {
    width: 100%;
    max-width: 100%;
  }
  .hero-btn-primary,
  .hero-btn-dark-outline {
    padding: 12px 18px;
    font-size: 0.875rem;
  }
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    justify-items: start; /* align items to start for cleaner text alignment in grid */
    margin-top: 32px;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-trust-item {
    font-size: 0.8125rem;
  }
  .hero-trust-icon {
    width: 28px;
    height: 28px;
  }
  .hero-form-card {
    padding: 28px 22px 22px;
  }
  .hero-info-bar-wrap {
    padding-inline: 12px;
  }
  .hero-info-bar {
    margin-top: -20px;
    border-radius: 10px;
    padding-inline: 0;
  }
  .hero-info-grid {
    grid-template-columns: 1fr;
  }
  .hero-info-item {
    border-right: none !important;
    border-bottom: 1px solid var(--tbts-gray-200) !important;
  }
  .hero-info-item:last-child {
    border-bottom: none !important;
  }
  .site-content {
    padding-top: 0 !important;
  }
}

/* ─── ABOUT SECTION V2 ───────────────────────────────────────────────────────── */
.about-section-v2 {
  padding: 100px 0 100px;
  position: relative;
  z-index: 10;
  text-align: center;
  overflow: hidden;
}

.about-container-v2 {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.about-header-v2 {
  margin-bottom: 100px;
}

.about-eyebrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.about-eyebrow-v2 {
  font-family: "jsMath-cmmi10", serif;
  font-size: clamp(1.25rem, 4vw, 2rem);
  color: #ffffff;
  font-style: italic;
  opacity: 0.9;
}

.about-heading-v2 {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 2.8vw, 3rem);
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  max-width: 1600px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* Image Grid */
.about-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.about-grid-item {
  width: 100%;
}

.about-img-frame {
  overflow: hidden;
  border-radius: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.05);
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.side-img .about-img-frame {
  height: 480px;
}

.main-img .about-img-frame {
  height: 600px;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-section-v2 {
    padding: 80px 0;
  }
  .about-header-v2 {
    margin-bottom: 60px;
  }
  .about-container-v2 {
    padding: 0 24px;
  }
  .about-grid-v2 {
    gap: 24px;
    grid-template-columns: 1fr 1.2fr 1fr;
    padding: 0;
    max-width: 100%;
  }
  .side-img .about-img-frame {
    height: 380px;
  }
  .main-img .about-img-frame {
    height: 480px;
  }
}

@media (max-width: 768px) {
  .about-section-v2 {
    padding: 60px 0;
  }
  .about-header-v2 {
    margin-bottom: 32px;
  }
  .about-container-v2 {
    padding: 0 24px;
  }
  .about-grid-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 450px;
    margin: 0 auto;
  }
  .main-img {
    order: -1;
    width: 100%;
  }
  .side-img {
    width: 100%;
  }
  .side-img .about-img-frame,
  .main-img .about-img-frame {
    height: 320px;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .about-section-v2 {
    padding: 48px 0;
  }
  .about-container-v2 {
    padding: 0 20px;
  }
  .about-header-v2 {
    margin-bottom: 24px;
  }
  .about-grid-v2 {
    gap: 12px;
  }
  .about-heading-v2 {
    font-size: 1.4rem;
  }
  .side-img .about-img-frame,
  .main-img .about-img-frame {
    height: 240px;
  }
}

/* ─── SERVICES SECTION ───────────────────────────────────────────────────────── */
.services-section {
  padding: 120px 0 40px;
  background: #ffffff;
  overflow: hidden;
}

.services-section .container {
  max-width: 1600px;
  margin-inline: auto;
  padding: 0 40px;
}

.services-header-v2 {
  margin-bottom: 80px;
}

.services-eyebrow-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow-bracket {
  color: #999;
  font-weight: 300;
  font-size: 1.4rem;
}

.services-list-v2 {
  display: flex;
  flex-direction: column;
}

.service-row-v2 {
  display: flex;
  align-items: flex-end; /* Content anchored to bottom */
  justify-content: space-between;
  min-height: 100px;
  padding: 100px 0 30px 0;
  border-bottom: 1.5px solid #f2f2f2;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.service-row-v2:first-child {
  border-top: 1.5px solid #f2f2f2;
}

.service-info-v2 {
  display: flex;
  align-items: flex-end; /* Number aligns to bottom with title */
  gap: 60px;
  flex: 1;
}

.service-number-v2 {
  font-size: 0.85rem;
  color: #111;
  font-weight: 500;
  opacity: 0.8;
  transition: transform 2.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-v2:hover .service-number-v2,
.service-row-v2.is-scrolled-active .service-number-v2 {
  transform: translateY(-15px);
}

.service-content-v2 {
  display: grid;
  grid-template-rows: auto 0fr auto;
  flex: 1;
  transition: grid-template-rows 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-v2:hover .service-content-v2,
.service-row-v2.is-scrolled-active .service-content-v2 {
  grid-template-rows: auto 1fr auto;
}

.service-title-v2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: #111;
  margin: 0;
  letter-spacing: -0.01em;
  transition:
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-row-v2:hover .service-title-v2,
.service-row-v2.is-scrolled-active .service-title-v2 {
  transform: translateY(-8px);
}

.service-desc-v2 {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  max-width: 85%;
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-image-v2 {
  width: 42%;
  max-width: 700px;
  margin-left: 40px;
  flex-shrink: 0;
}

.service-image-wrap-v2 {
  width: 100%;
  aspect-ratio: 3 / 1;
  border-radius: 16px;
  overflow: hidden;
  transition-delay: 0.5s;
}

.service-image-wrap-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover Effects */
.service-row-v2:hover,
.service-row-v2.is-scrolled-active {
  background: #fafafa;
  padding-left: 30px;
  padding-right: 30px;
  margin-left: -30px;
  margin-right: -30px;
  border-radius: 20px;
}

.service-row-v2:hover .service-desc-v2,
.service-row-v2.is-scrolled-active .service-desc-v2 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  padding-top: 15px;
  transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 1200px) {
  .service-info-v2 {
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .services-section .container {
    padding: 0 30px;
  }
  .services-header-redesign {
    text-align: left;
  }
  .service-row-v2 {
    padding: 35px 0;
    align-items: flex-start;
  }
  .service-image-v2 {
    width: 45%;
  }
  .service-desc-v2 {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }
  .services-section .container {
    padding: 0 24px;
  }
  .services-header-redesign {
    text-align: left;
  }
  .service-row-v2 {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 0;
  }
  .service-info-v2 {
    display: block; /* Stack number and content to remove left gap */
    width: 100%;
  }
  .service-number-v2 {
    display: inline-block;
    margin-bottom: 12px;
  }
  .service-row-v2:hover {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    background: transparent;
  }
  .service-image-v2 {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
  .service-title-v2 {
    font-size: 1.75rem;
    text-align: left;
  }
  .service-row-v2:hover .service-title-v2,
  .service-row-v2.is-scrolled-active .service-title-v2,
  .service-row-v2:hover .service-image-wrap-v2 img,
  .service-row-v2.is-scrolled-active .service-image-wrap-v2 img {
    transform: none;
  }
  .service-content-v2 {
    grid-template-rows: auto auto auto;
    text-align: left;
  }
  .service-desc-v2 {
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-top: 15px;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
  }
  .svc-card-icon,
  .svc-card-icon svg {
    width: 52px;
    height: 52px;
  }
}

/* ─── CTA BANNER SECTION ─────────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(17, 17, 17, 0.7),
    rgba(17, 17, 17, 0.3),
    rgba(17, 17, 17, 0.7)
  );
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-banner-icon {
  display: inline-block;
  color: var(--tbts-primary);
  margin-bottom: 16px;
}

.cta-banner-sub {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.95;
  color: #ffffff;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.1;
  color: #ffffff;
}

.cta-banner-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--tbts-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(208, 89, 41, 0.3);
}

.cta-banner-btn:hover {
  background: #b84a1d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(208, 89, 41, 0.45);
}

.cta-banner-btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.cta-banner-btn:hover .cta-banner-btn-circle {
  border-color: #ffffff;
}

.cta-banner-btn--outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.cta-banner-btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 56px 0;
  }
  .cta-banner-sub {
    font-size: 1.125rem;
  }
  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── SERVICES SECTION ───────────────────────────────────────────────────────── */
.about-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.about-ctas-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ─── STATS SECTION ──────────────────────────────────────────────────────────── */
.stats-section {
  padding: var(--section-py) 0;
  background: var(--tbts-white);
  position: relative;
  overflow: hidden;
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-header .section-desc {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.stats-bar-container {
  background: var(--tbts-green-dark);
  border-radius: 20px;
  padding: 40px 60px;
  box-shadow: 0 20px 40px rgba(64, 57, 39, 0.15);
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.stats-bar-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

.stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.stat-bar-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  position: relative;
}

.stat-bar-icon {
  width: 60px;
  height: 60px;
  background: var(--tbts-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbts-white);
  flex-shrink: 0;
}

/* ─── STATS BAR SECTION ──────────────────────────────────────────────────────── */
.stats-bar-section {
  position: relative;
  padding: 40px 0;
  overflow: hidden;
  color: #ffffff;
}

.stats-bar-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.stats-bar-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; /* Crop to sky part as requested */
}

.stats-bar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.55); /* Reduced opacity for more visibility */
}

.stats-bar-container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
}

/* Responsive Stats Section */
@media (max-width: 1024px) {
  .stats-bar-section {
    padding-inline: 40px; /* Space outside the card */
  }
  .stats-bar-container {
    padding: 40px 48px; /* Increased padding */
  }
}

@media (max-width: 768px) {
  .stats-bar-section {
    padding-inline: 20px; /* Space outside the card */
  }
  .stats-bar-container {
    padding: 40px 32px; /* Increased padding */
  }
}

.stats-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
  position: relative;
}

.stat-icon {
  width: 54px;
  height: 54px;
  color: var(--tbts-primary);
  flex-shrink: 0;
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number {
  font-family: "Empira", serif;
  font-size: 5rem;
  font-weight: 300;
  color: #000000;
}

.stat-suffix {
  font-family: "Empira", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tbts-primary);
}

.stat-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.12);
  margin-left: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .stats-bar-inner {
    flex-wrap: wrap;
    gap: 40px 0;
  }
  .stat-item {
    flex: 0 0 50%;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .stat-item {
    flex: 0 0 100%;
    justify-content: flex-start;
  }
  .stat-number {
    font-size: 2.25rem;
  }
}

/* ─── GALLERY SECTION ────────────────────────────────────────────────────────── */
/* ─── GALLERY SECTION ────────────────────────────────────────────────────────── */
.gallery-section {
  padding: 120px 0 40px 0;
  background: #ffffff;
  overflow: hidden;
}

.gallery-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
}

/* ── Header Row ── */
.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.gallery-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.gallery-heading {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  color: #111;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.02em;
}

.gallery-header-right {
  max-width: 480px;
}

.gallery-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* ── Slider Wrapper ── */
.gallery-slider-wrapper {
  position: relative;
  margin-inline: -15px;
}

.gallery-slider-viewport {
  overflow: hidden;
  padding: 20px 15px;
}

.gallery-slider-track {
  display: flex;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide {
  flex: 0 0 33.333%;
  padding: 0 15px;
}

.gallery-slide-inner {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 24px;
  overflow: hidden;
  background: #f7f7f7;
  cursor: pointer;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide-inner:hover img {
  transform: scale(1.1);
}

/* Overlay */
.gallery-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide-inner:hover .gallery-slide-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-slide-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-primary);
  display: block;
  margin-bottom: 8px;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.gallery-slide-title {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.gallery-slide-inner:hover .gallery-slide-tag,
.gallery-slide-inner:hover .gallery-slide-title {
  transform: translateY(0);
  opacity: 1;
}

.gallery-slide-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: scale(0.8) rotate(-45deg);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.gallery-slide-inner:hover .gallery-slide-arrow {
  transform: scale(1) rotate(0);
  opacity: 1;
}

/* Navigation Buttons */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #f0f0f0;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-nav-btn:hover {
  background: #111;
  color: #ffffff;
  border-color: #111;
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav-btn:disabled {
  opacity: 0.1;
  cursor: not-allowed;
  pointer-events: none;
}

.gallery-prev {
  left: -32px;
}

.gallery-next {
  right: -32px;
}

/* Responsive */
@media (max-width: 1200px) {
  .gallery-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 991px) {
  .gallery-section {
    padding: 80px 0;
  }
  .gallery-header-row {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .gallery-container {
    padding-inline: 24px;
  }
  .gallery-nav-btn {
    display: none; /* Hide buttons on mobile, use swipe if implemented */
  }
  .gallery-slider-viewport {
    padding-inline: 0;
  }
  .gallery-slider-wrapper {
    margin-inline: 0;
  }
}

@media (max-width: 600px) {
  .gallery-slide {
    flex: 0 0 100%;
  }
  .gallery-slide-inner {
    aspect-ratio: 4 / 3;
  }
  .gallery-slide-title {
    font-size: 1.25rem;
  }
  .gallery-slide-overlay {
    padding: 24px;
  }
}

/* ─── GALLERY HIGHLIGHTS SECTION ────────────────────────────────────────────── */
.gallery-highlights-section {
  padding-bottom: 100px; /* Space after gallery content */
  background: #ffffff;
  overflow: hidden;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--tbts-cream);
  border-radius: 16px;
  border: 1px solid var(--tbts-gray-100);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--tbts-primary);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--tbts-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(208, 89, 41, 0.1);
}

.highlight-card:hover .highlight-icon {
  background: var(--tbts-primary);
  color: #ffffff;
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 0 0 8px 0;
}

.highlight-desc {
  font-size: 0.875rem;
  color: var(--tbts-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Responsive Highlights */
@media (max-width: 1200px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .gallery-highlights-section {
    padding-bottom: 60px;
  }
}

/* ─── TESTIMONIALS SECTION ───────────────────────────────────────────────────── */
.testimonials-section {
  position: relative;
  padding: var(--section-py) 0;
  background: var(--tbts-white);
  overflow: hidden;
}
.testimonials-section .container {
  position: relative;
  z-index: 1;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-header-left {
  max-width: 900px;
}

.testimonials-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonials-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  color: #111;
  margin: 0;
  letter-spacing: -0.02em;
}

.testimonials-header-right {
  margin-top: 32px;
}

.testimonials-rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rating-stars {
  display: flex;
  gap: 4px;
  color: #dd9300;
}

.rating-text {
  color: #555;
  font-size: 1rem;
  font-weight: 500;
}

/* Marquee Styles */
.testimonials-marquee {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  /* Premium side-fade gradients - wider visible area */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

.testimonials-track {
  display: flex;
  align-items: stretch;
  gap: 28px;
  width: max-content;
  animation: testimonialsMarquee 45s linear infinite;
  will-change: transform;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: min(420px, 85vw);
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  border: 1px solid #f2f2f2;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: #e5e5e5;
}

.testimonial-quote-icon {
  color: var(--tbts-green);
  opacity: 0.2;
  margin-bottom: 12px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--tbts-star) !important; /* Vibrant gold stars */
  margin-bottom: 20px !important;
}

.testimonial-text {
  color: var(--tbts-dark) !important; /* Dark text for white background */
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 28px !important;
  font-style: italic !important;
  flex: 1 !important;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tbts-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author-info {
  flex: 1;
}

.testimonial-author-name {
  display: block !important;
  font-weight: 700 !important;
  color: var(--tbts-dark) !important; /* Dark text for white background */
  font-size: 0.95rem !important;
  line-height: 1.2 !important;
}

.testimonial-author-role {
  display: block !important;
  color: var(--tbts-green) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

.testimonial-date {
  color: var(--tbts-gray-600) !important; /* Dark gray for white background */
  font-size: 0.75rem !important;
}

@keyframes testimonialsMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 14px));
  }
}

/* CTA Buttons */
.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

.testimonials-cta-buttons {
  display: flex;
  gap: 20px;
}

.testimonials-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 36px;
  background: #111;
  color: #ffffff;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials-btn-primary:hover {
  background: var(--tbts-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(208, 89, 41, 0.3);
}

.testimonials-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 36px;
  background: transparent;
  color: #111;
  border: 1.5px solid #e5e5e5;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials-btn-outline:hover {
  background: #111;
  color: #ffffff;
  border-color: #111;
  transform: translateY(-4px);
}

.testimonials-btn-primary .btn-arrow-circle,
.testimonials-btn-outline .btn-arrow-circle {
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonials-btn-primary:hover .btn-arrow-circle,
.testimonials-btn-outline:hover .btn-arrow-circle {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .testimonials-header {
    margin-bottom: 50px;
  }
}

@media (max-width: 640px) {
  .testimonials-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .testimonials-cta-buttons .testimonials-btn-primary,
  .testimonials-cta-buttons .testimonials-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ─── BLOG LISTING & SINGLE POST ─────────────────────────────────────────────── */

/* Archive Hero */
.page-hero--blog {
  position: relative;
  padding: 140px 0 100px;
  background: var(--tbts-dark);
  overflow: hidden;
  color: #ffffff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--tbts-dark) 0%, transparent 100%);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero-desc {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 600px;
  margin-inline: auto;
}

/* Layout */
.blog-listing-section,
.post-content-section {
  padding: 100px 0;
  background: #ffffff;
}

.blog-layout,
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* Post Cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.posts-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--tbts-gray-100);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--tbts-primary);
}

.post-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card-img {
  transform: scale(1.08);
}

.post-card-cat-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--tbts-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.post-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.post-card-title a {
  color: var(--tbts-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: var(--tbts-primary);
}

.post-card-excerpt {
  font-size: 0.9375rem;
  color: var(--tbts-gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--tbts-cream);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid var(--tbts-gray-100);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--tbts-dark);
  position: relative;
  padding-bottom: 12px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--tbts-primary);
}

/* Sidebar Search */
.search-field-wrap {
  position: relative;
}

.search-field {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--tbts-gray-200);
  background: #ffffff;
  font-size: 0.9375rem;
  transition: border-color 0.3s ease;
}

.search-field:focus {
  border-color: var(--tbts-primary);
  outline: none;
}

.search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tbts-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-submit svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
}

.search-submit:hover {
  background: var(--tbts-dark);
}

.search-submit:hover svg {
  stroke: #ffffff;
}

/* Side Post Links */
.side-post-link {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  text-decoration: none;
  align-items: center;
}

.side-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tbts-gray-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.side-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-post-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--tbts-dark);
  line-height: 1.3;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.side-post-link:hover .side-post-title {
  color: var(--tbts-primary);
}

.side-post-date {
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
}

/* Side Cats */
.side-cats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-cats-list li {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-cats-list li a {
  color: var(--tbts-gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.side-cats-list li a:hover {
  color: var(--tbts-primary);
}

.side-cats-list .count {
  font-size: 0.75rem;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--tbts-gray-400);
  font-weight: 700;
}

/* ── Single Post Article ── */
.post-hero {
  position: relative;
  padding: 180px 0 100px;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  background: var(--tbts-dark);
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.9) 0%,
    transparent 100%
  );
}

.post-cats {
  margin-bottom: 20px;
}

.post-cats a {
  background: var(--tbts-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: 500;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Content Typography */
.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--tbts-gray-800);
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-heading);
  color: var(--tbts-dark);
  margin: 40px 0 20px;
}

.entry-content p {
  margin-bottom: 28px;
}

.entry-content blockquote {
  padding: 40px;
  background: var(--tbts-cream);
  border-left: 4px solid var(--tbts-primary);
  border-radius: 0 20px 20px 0;
  font-style: italic;
  font-size: 1.25rem;
  margin: 40px 0;
  color: var(--tbts-dark);
}

/* Post Footer */
.post-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--tbts-gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--tbts-gray-100);
  color: var(--tbts-gray-600);
  font-size: 0.8125rem;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 6px;
  transition: all 0.3s ease;
}

.post-tags a:hover {
  background: var(--tbts-primary);
  color: #ffffff;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-links {
  display: flex;
  gap: 8px;
}

.share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.share-icon.fb {
  background: #3b5998;
}
.share-icon.tw {
  background: #1da1f2;
}

.share-icon:hover {
  transform: translateY(-3px);
}

/* Sidebar CTA Card */
.sidebar-cta-card {
  background: var(--tbts-dark);
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  margin-bottom: 30px;
  background-image: url("http://westsenecatreeservice.com/wp-content/uploads/2026/04/Tree-img-copy.webp");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.85);
}

.sidebar-cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.sidebar-cta-card p {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

/* Responsive Blog */
@media (max-width: 1024px) {
  .blog-layout,
  .post-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .blog-sidebar,
  .post-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .page-hero--blog,
  .post-hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  .post-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}

.post-card-title a {
  color: var(--tbts-dark);
}
.post-card-title a:hover {
  color: var(--tbts-green);
}
.post-card-excerpt {
  color: var(--tbts-gray-600);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
/* ─── BLOG POST CARD PREMUM ────────────────────────────────────────────── */
.post-card {
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease !important;
}
.post-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: var(--shadow-xl) !important;
}

/* ─── BLOG PAGE REDESIGN ────────────────────────────────────────────────────── */
.page-hero--blog {
  padding: 160px 0 100px !important;
  text-align: left !important;
}

.blog-hero-eyebrow {
  margin-bottom: 24px;
}

.posts-grid--blog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  padding: 80px 0;
}

/* Post Card Redesign */
.post-card {
  height: 100%;
}

.post-card-inner {
  background: var(--tbts-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--tbts-gray-100);
  transition: var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--tbts-primary-pale);
}

.post-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ease-slow);
}

.post-card-inner:hover .post-card-img {
  scale: 1.05;
}

.post-card-cat {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--tbts-primary);
  color: var(--tbts-white);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
  z-index: 2;
}

.post-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: var(--tbts-gray-500);
  font-weight: 500;
}

.meta-dot {
  width: 4px;
  height: 4px;
  background: var(--tbts-gray-300);
  border-radius: 50%;
}

.post-card-title-v2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--tbts-dark);
  font-family: var(--font-heading);
}

.post-card-excerpt-v2 {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--tbts-gray-600);
  margin-bottom: 24px;
}

.post-card-footer-v2 {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--tbts-gray-100);
}

.post-card-link-v2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--tbts-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--ease-fast);
}

.link-arrow-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--tbts-primary);
  border-radius: 50%;
  transition: var(--ease);
}

.post-card-inner:hover .link-arrow-v2 {
  background: var(--tbts-primary);
  color: var(--tbts-white);
  transform: translateX(4px);
}

/* Sidebar Redesign */
.sidebar-widget-premium {
  background: var(--tbts-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--tbts-gray-100);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.widget-title-v2 {
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-dark);
  margin-bottom: 24px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget-title-v2::after {
  content: "";
  height: 2px;
  flex-grow: 1;
  background: var(--tbts-gray-100);
}

/* Search v2 */
.search-field-wrap-v2 {
  position: relative;
}

.search-field-v2 {
  width: 100%;
  background: var(--tbts-gray-50);
  border: 1px solid var(--tbts-gray-200);
  padding: 14px 50px 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  transition: var(--ease-fast);
}

.search-field-v2:focus {
  background: var(--tbts-white);
  border-color: var(--tbts-primary);
  outline: none;
}

.search-submit-v2 {
  position: absolute;
  right: 12px;
  top: 50%;
  translate: 0 -50%;
  background: none;
  border: none;
  color: var(--tbts-gray-400);
  transition: var(--ease);
}

.search-field-v2:focus + .search-submit-v2 {
  color: var(--tbts-primary);
}

/* Side Posts list v2 */
.side-posts-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-post-card-v2 {
  display: flex;
  gap: 16px;
  align-items: center;
  transition: var(--ease);
}

.side-post-card-v2:hover {
  transform: translateX(5px);
}

.side-post-thumb-v2 {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--tbts-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.side-post-thumb-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-post-title-v2 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--tbts-dark);
}

.side-post-date-v2 {
  font-size: 0.75rem;
  color: var(--tbts-gray-500);
}

/* Side Cats v2 */
.side-cats-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-cat-link-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--tbts-gray-50);
  border-radius: var(--radius-md);
  transition: var(--ease);
}

.side-cat-link-v2:hover {
  background: var(--tbts-primary-pale);
  color: var(--tbts-primary);
}

.cat-name-v2 {
  font-weight: 600;
  font-size: 0.9375rem;
}

.cat-count-v2 {
  font-size: 0.75rem;
  background: var(--tbts-white);
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
  color: var(--tbts-gray-500);
}

/* ─── SECONDARY HERO (BLOG/CONTACT) ─────────────────────────────────────────── */
.page-hero {
  background: var(--tbts-green-dark) !important;
  padding: 120px 0 80px !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: center !important;
}

/* Page hero variants inherit from .page-hero */
.page-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  background-image: url("../images/hero-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.2 !important;
  z-index: 0 !important;
}

.page-hero-inner {
  position: relative !important;
  z-index: 1 !important;
}

.page-hero-title {
  color: var(--tbts-white) !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  margin-bottom: 20px !important;
  font-weight: 800 !important;
}

.page-hero-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 700px !important;
  margin-inline: auto !important;
  font-size: 1.125rem !important;
}

/* ─── REPLY / COMMENTS SECTION ─────────────────────────────────────────── */
.comments-area {
  margin-top: 80px !important;
  padding-top: 60px !important;
  border-top: 1px solid var(--tbts-gray-200) !important;
  background: var(--tbts-bg) !important;
}
.comments-title {
  font-family: var(--font-heading) !important;
  font-size: 2rem !important;
  margin-bottom: 40px !important;
  text-align: center !important;
}
.comment-list {
  max-width: 800px !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
}
.comment-body {
  background: var(--tbts-white) !important;
  padding: 32px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--tbts-gray-200) !important;
}
.comment-meta {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}
.comment-author img {
  border-radius: 0 !important;
}
.comment-metadata a {
  color: var(--tbts-gray-400) !important;
  font-size: 0.85rem !important;
}
.comment-content {
  color: var(--tbts-gray-600) !important;
  line-height: 1.7 !important;
}
.reply {
  margin-top: 16px !important;
}
.comment-reply-link {
  font-weight: 700 !important;
  color: var(--tbts-green-mid) !important;
  font-size: 0.9rem !important;
}

/* Comment Form */
.comment-respond {
  max-width: 800px !important;
  margin: 60px auto 0 !important;
  background: var(--tbts-white) !important;
  padding: 48px !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--tbts-green-pale) !important;
}
.comment-reply-title {
  font-family: var(--font-heading) !important;
  font-size: 1.75rem !important;
  margin-bottom: 32px !important;
  display: block !important;
}
.comment-form p {
  margin-bottom: 24px !important;
}
.comment-form label {
  display: block !important;
  font-weight: 600 !important;
  color: var(--tbts-dark) !important;
  margin-bottom: 8px !important;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100% !important;
  padding: 14px 20px !important;
  border: 1.5px solid var(--tbts-gray-200) !important;
  border-radius: var(--radius-md) !important;
  background: var(--tbts-bg) !important;
  transition: var(--ease-fast) !important;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--tbts-green) !important;
  background: var(--tbts-white) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(118, 89, 47, 0.1) !important;
}
.form-submit {
  margin-top: 32px !important;
}
.submit {
  background: var(--tbts-green) !important;
  color: var(--tbts-white) !important;
  padding: 16px 40px !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border: none !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: var(--ease) !important;
}
.submit:hover {
  background: var(--tbts-green-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* ─── CONTACT SECTION REDESIGN ───────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--tbts-white);
  position: relative;
  overflow: hidden;
}

.section-header-redesign {
  margin-bottom: 80px;
}

.section-tagline-redesign {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tbts-primary);
  margin-bottom: 16px;
}

.section-heading-redesign {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--tbts-dark);
  margin-bottom: 24px;
}

.text-highlight-orange {
  color: var(--tbts-primary);
}

.section-desc-redesign {
  font-size: 1.125rem;
  color: var(--tbts-gray-600);
  max-width: 600px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

/* Premium Card Styles */
.shadow-premium {
  box-shadow: var(--shadow-lg);
  transition: var(--ease);
}
.shadow-premium:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.contact-form-card {
  background: var(--tbts-white);
  border: 1px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  padding: 56px;
}

.contact-info-card {
  background: var(--tbts-cream);
  border: 1px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: sticky;
  top: 100px;
}

/* Contact Info Redesign v2 */
.contact-info-title-v2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin-bottom: 32px;
}

.contact-info-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item-v2 {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-info-icon-v2 {
  width: 48px;
  height: 48px;
  background: var(--tbts-white);
  color: var(--tbts-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-info-label-v2 {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-gray-400);
  margin-bottom: 4px;
}

.contact-info-value-v2 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--tbts-dark);
  transition: var(--ease-fast);
}
a.contact-info-value-v2:hover {
  color: var(--tbts-primary);
}

/* Emergency Banner Redesign v2 */
.contact-emergency-banner-v2 {
  background: var(--tbts-dark);
  color: var(--tbts-white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.emergency-icon-v2 {
  width: 44px;
  height: 44px;
  background: var(--tbts-primary);
  color: var(--tbts-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emergency-content-v2 strong {
  display: block;
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.emergency-content-v2 p {
  font-size: 0.8125rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.emergency-link-v2 {
  color: var(--tbts-primary);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.emergency-link-v2:hover {
  color: var(--tbts-white);
}

/* Form Styling Refinement */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 0;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
  width: 100%;
}

.contact-form .form-label {
  display: block;
  width: 100%;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tbts-gray-600);
  margin-bottom: 10px;
}

.contact-form .form-control {
  display: block;
  width: 100%;
  background: var(--tbts-gray-100);
  border: 1px solid transparent;
  padding: 14px 20px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: var(--ease);
  color: var(--tbts-dark);
}

.contact-form .form-control:focus {
  background: var(--tbts-white);
  border-color: var(--tbts-primary);
  box-shadow: 0 0 0 4px rgba(221, 147, 0, 0.1);
  outline: none;
}

.contact-form .form-textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn-primary {
  margin-top: 10px;
  padding: 18px 40px;
  font-size: 1.0625rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-form .form-privacy {
  color: var(--tbts-gray-400);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.contact-form .required {
  color: var(--tbts-primary);
  margin-left: 2px;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.wsts-footer {
  position: relative;
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.65);
  padding-top: 100px;
  overflow: hidden;
}

.footer-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&q=80&w=2560");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: luminosity;
  z-index: 0;
}

.wsts-footer .footer-main {
  position: relative;
  z-index: 1;
  padding: 0 0 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 60px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 24px;
  text-decoration: none;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 30px;
  max-width: 320px;
}

.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #dd9300;
  background: rgba(221, 147, 0, 0.08);
  border: 1px solid rgba(221, 147, 0, 0.2);
  padding: 6px 14px;
  border-radius: 50px;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 30px;
  position: relative;
}

.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background: #dd9300;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.footer-links li a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.footer-contact-list svg {
  color: #dd9300;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: #dd9300;
  color: #ffffff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-cta:hover {
  background: #b87800;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(221, 147, 0, 0.2);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-copyright a {
  color: inherit;
  text-decoration: none;
}

.footer-copyright a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .wsts-footer {
    padding-top: 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-logo-text {
    font-size: 1.25rem;
  }
}

/* ─── BLOG PAGE ──────────────────────────────────────────────────────────────── */
.tbts-blog-main .site-content,
.tbts-single-main .site-content {
  padding-top: 0;
}

.page-hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--tbts-green-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--tbts-green-dark) 0%,
    var(--tbts-green) 100%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--tbts-white);
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}
.page-hero .section-label {
  color: var(--tbts-green-light);
}

/* Blog Layout */
.blog-content-section {
  padding: 80px 0;
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.posts-grid--blog {
  grid-template-columns: repeat(2, 1fr);
}
.posts-grid--featured {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 40px;
}

/* Horizontal Scroll Section */
.blog-horizontal-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--tbts-gray-200);
}
.blog-horizontal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin-bottom: 20px;
}
.blog-horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.blog-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}
.blog-horizontal-scroll::-webkit-scrollbar-track {
  background: var(--tbts-gray-100);
  border-radius: 3px;
}
.blog-horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--tbts-green);
  border-radius: 3px;
}
.blog-horizontal-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--tbts-white);
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}
.blog-horizontal-item:hover {
  border-color: var(--tbts-green);
  box-shadow: var(--shadow-md);
}
.blog-horizontal-thumb {
  display: block;
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.blog-horizontal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-horizontal-item:hover .blog-horizontal-thumb img {
  transform: scale(1.05);
}
.blog-horizontal-content {
  padding: 16px;
}
.blog-horizontal-title-item {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.blog-horizontal-title-item a {
  color: var(--tbts-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-horizontal-title-item a:hover {
  color: var(--tbts-green);
}
.blog-horizontal-date {
  font-size: 0.8125rem;
  color: var(--tbts-gray-500);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  background: var(--tbts-white);
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tbts-green-pale);
}
.search-input-wrap {
  position: relative;
}
.search-field {
  width: 100%;
  padding: 10px 44px 10px 14px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: 0;
  font-size: 0.9rem;
}
.search-field:focus {
  outline: none;
  border-color: var(--tbts-green);
}
.search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tbts-green);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.search-submit svg {
  width: 18px;
  height: 18px;
  stroke: var(--tbts-green);
  fill: none;
  stroke-width: 2.5;
}

.search-submit:hover svg {
  stroke: var(--tbts-dark);
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.recent-post-thumb {
  flex-shrink: 0;
}
.recent-post-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.recent-post-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.recent-post-title:hover {
  color: var(--tbts-green);
}
.recent-post-date {
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
}

.categories-list {
  list-style: none;
}
.categories-list li a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--tbts-gray-600);
  border-bottom: 1px solid var(--tbts-gray-100);
}
.categories-list li a:hover {
  color: var(--tbts-green);
}

.sidebar-cta {
  background: var(--tbts-green-dark);
  border-color: transparent;
}
.sidebar-cta-inner {
  text-align: center;
}
.sidebar-cta-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.sidebar-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--tbts-white);
  margin-bottom: 8px;
}
.sidebar-cta p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.sidebar-cta-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}
.sidebar-cta-features li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-cta-features li::before {
  content: "";
  display: none;
}
.sidebar-cta .btn-primary {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.sidebar-cta .btn-outline {
  width: 100%;
  justify-content: center;
  color: var(--tbts-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.sidebar-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--tbts-white);
}

/* No Posts */
.no-posts-message {
  text-align: center;
  padding: 80px 40px;
  background: var(--tbts-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--tbts-gray-200);
}
.no-posts-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.no-posts-message h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.no-posts-message p {
  color: var(--tbts-gray-600);
  margin-bottom: 24px;
}

/* Pagination */
.tbts-pagination {
  margin-top: 48px;
}
.tbts-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.tbts-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tbts-gray-600);
  border: 1.5px solid var(--tbts-gray-200);
  background: var(--tbts-white);
  transition: var(--ease-fast);
}
.tbts-pagination .page-numbers:hover,
.tbts-pagination .page-numbers.current {
  background: var(--tbts-green);
  border-color: var(--tbts-green);
  color: var(--tbts-white);
}
.tbts-pagination .prev,
.tbts-pagination .next {
  width: auto;
  padding: 0 16px;
}

/* ─── SINGLE POST PAGE ───────────────────────────────────────────────────────── */
.post-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}
.post-hero-image {
  position: absolute;
  inset: 0;
  background: var(--tbts-green-dark);
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-image--no-thumb {
  background: linear-gradient(
    135deg,
    var(--tbts-green-dark),
    var(--tbts-green)
  );
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(71, 55, 32, 0.95) 0%,
    rgba(71, 55, 32, 0.5) 60%,
    transparent 100%
  );
}
.post-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 0 56px;
}

.post-breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.post-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}
.post-breadcrumb a:hover {
  color: var(--tbts-white);
}
.post-breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.5);
}

.post-cats {
  margin-bottom: 12px;
}
.post-cats a {
  display: inline-block;
  background: var(--tbts-green);
  color: var(--tbts-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 0;
  margin-right: 6px;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 700;
  color: var(--tbts-white);
  line-height: 1.2;
  max-width: 840px;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}
.post-meta-item svg {
  color: var(--tbts-green-light);
}
.post-meta-item a {
  color: rgba(255, 255, 255, 0.65);
}
.post-meta-item a:hover {
  color: var(--tbts-white);
}

/* Post Body */
.post-body-wrapper {
  padding: 72px 0;
}
.post-body-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.post-content-col {
  min-width: 0;
}

/* Post Content Typography */
.post-content,
.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--tbts-gray-800);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.post-content h2,
.entry-content h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 40px 0 16px;
  padding-top: 12px;
  border-top: 2px solid var(--tbts-green-pale);
}
.post-content h3,
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 32px 0 12px;
}
.post-content p,
.entry-content p {
  margin-bottom: 20px;
}
.post-content ul,
.entry-content ul,
.post-content ol,
.entry-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.post-content li,
.entry-content li {
  margin-bottom: 8px;
}
.post-content ul li {
  list-style: disc;
}
.post-content ol li {
  list-style: decimal;
}
.post-content blockquote,
.entry-content blockquote {
  border-left: 4px solid var(--tbts-green);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--tbts-green-faint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--tbts-gray-600);
}
.post-content img,
.entry-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.post-content a,
.entry-content a {
  color: var(--tbts-green);
  text-decoration: underline;
  text-decoration-color: var(--tbts-green-pale);
}
.post-content a:hover,
.entry-content a:hover {
  color: var(--tbts-green-dark);
}

/* Post Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--tbts-gray-200);
}
.post-tags-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-gray-600);
}
.post-tags a {
  font-size: 0.8125rem;
  padding: 4px 12px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: 0;
  color: var(--tbts-gray-600);
  text-decoration: none;
  transition: var(--ease-fast);
}
.post-tags a:hover {
  background: var(--tbts-green);
  border-color: var(--tbts-green);
  color: var(--tbts-white);
}

/* Share */
.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.post-share-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-gray-600);
}
.post-share-buttons {
  display: flex;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: var(--ease-fast);
  text-decoration: none;
}
.share-btn--facebook {
  background: #1877f2;
  color: white;
}
.share-btn--facebook:hover {
  background: #0d65d8;
  color: white;
}
.share-btn--twitter {
  background: #000;
  color: white;
}
.share-btn--twitter:hover {
  background: #333;
  color: white;
}
.share-btn--linkedin {
  background: #0a66c2;
  color: white;
}
.share-btn--linkedin:hover {
  background: #084d9b;
  color: white;
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--tbts-gray-200);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--tbts-gray-200);
  transition: var(--ease-fast);
}
.post-nav-link:hover {
  border-color: var(--tbts-green);
  background: var(--tbts-green-faint);
}
.post-nav-link--next {
  text-align: right;
}
.post-nav-direction {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-green);
  margin-bottom: 4px;
}
.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tbts-dark);
  line-height: 1.3;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--tbts-gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}
.author-bio-avatar img {
  border-radius: 0;
}
.author-bio-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tbts-green);
}
.author-bio-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 4px 0 8px;
}
.author-bio-desc {
  font-size: 0.9rem;
  color: var(--tbts-gray-600);
}

/* Post Sidebar Sticky CTA */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.post-sidebar-cta-inner {
  background: var(--tbts-green-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.post-sidebar-cta-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.post-sidebar-cta-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--tbts-white);
  margin-bottom: 10px;
}
.post-sidebar-cta-inner p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.post-sidebar-cta-inner .btn-primary {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.post-sidebar-cta-inner .btn-outline {
  width: 100%;
  justify-content: center;
  color: var(--tbts-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.post-sidebar-cta-inner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--tbts-white);
}

.post-sidebar-related {
  background: var(--tbts-white);
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.related-posts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.related-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.related-post-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.related-post-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.related-post-title:hover {
  color: var(--tbts-green);
}
.related-post-date {
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
}

/* More Posts Section */
.more-posts-section {
  padding: 80px 0;
  background: var(--tbts-bg);
  border-top: 1px solid var(--tbts-gray-200);
}
.more-posts-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── PAGE TEMPLATE ──────────────────────────────────────────────────────────── */
.page-hero--has-thumb .page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-content-section {
  padding: 72px 0;
}
.page-content-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ─── 404 PAGE ───────────────────────────────────────────────────────────────── */
.tbts-404-main {
  background: var(--tbts-bg);
}
.error-404-section {
  padding: 120px 0;
}
.error-404-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.error-404-visual {
  font-size: 4rem;
  margin-bottom: 12px;
}
.error-404-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  color: var(--tbts-green-pale);
  line-height: 1;
  margin-bottom: 4px;
}
.error-404-subtitle {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--tbts-dark);
  margin-bottom: 16px;
}
.error-404-desc {
  color: var(--tbts-gray-600);
  margin-bottom: 32px;
}
.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.error-404-search p {
  font-size: 0.9rem;
  color: var(--tbts-gray-400);
  margin-bottom: 12px;
}
.error-404-search .search-form {
  display: flex;
  gap: 10px;
}
.error-404-search input[type="search"] {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: 0;
  font-size: 0.9rem;
}
.error-404-search button {
  padding: 10px 20px;
  background: var(--tbts-green);
  color: white;
  border-radius: 0;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */

/* ─── TRUST BAR SECTION ──────────────────────────────────────────────────────── */
/* ─── TRUST BAR SECTION V2 ───────────────────────────────────────────────────── */
.trust-bar-v2 {
  padding: 100px 0 200px;
  position: relative;
  z-index: 10;
  text-align: center;
  background: transparent;
  overflow: hidden;
}

.trust-container-v2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.trust-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  opacity: 0.85;
}

.trust-bracket {
  font-size: 2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

.trust-top-text {
  font-size: 1.5rem;
}

/* Marquee Row */
.trust-main-row {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.trust-marquee-track-v2 {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: trustMarqueeV2 40s linear infinite;
  padding: 10px 0;
}

.trust-marquee-item {
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 0.015em;
}

.trust-marquee-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.25rem;
}

@keyframes trustMarqueeV2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.trust-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 10px;
}

.trust-stars {
  display: flex;
  gap: 8px;
  color: var(--tbts-primary);
}

.star-outline-icon {
  width: 22px;
  height: 22px;
}

.trust-rating-text {
  color: #ffffff;
  font-size: 0.875rem;
  opacity: 0.75;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 1024px) {
  .trust-bar-v2 {
    padding: 120px 0 100px;
  }
  .trust-container-v2 {
    padding: 0 24px;
    gap: 40px;
  }
  .trust-top-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .trust-bar-v2 {
    padding: 80px 0;
  }
  .trust-container-v2 {
    gap: 32px;
  }
  .trust-top-text {
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 280px;
  }
  .trust-bracket {
    font-size: 1.5rem;
  }
  .trust-bottom-row {
    flex-direction: column;
    gap: 12px;
  }
  .trust-marquee-track-v2 {
    animation-duration: 30s; /* Slightly faster on small screens */
  }
}

@media (max-width: 480px) {
  .trust-bar-v2 {
    padding: 60px 0;
  }
  .trust-container-v2 {
    padding: 0 20px;
  }
  .trust-top-row {
    gap: 8px;
  }
  .trust-top-text {
    font-size: 1rem;
  }
  .trust-rating-text {
    font-size: 0.8125rem;
    text-align: center;
    max-width: 240px;
  }
}
/* ─── PROCESS SECTION ────────────────────────────────────────────────────────── */
.process-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
  text-align: center;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.process-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.process-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(221, 147, 0, 0.04) 0%,
    rgba(221, 147, 0, 0) 70%
  );
  filter: blur(60px);
  animation: processFloat 20s infinite alternate ease-in-out;
}

.process-stump {
  position: absolute;
  color: #dd9300;
  pointer-events: none;
  z-index: 1;
  animation: processStumpRotate 60s linear infinite;
}

.process-stump-1 {
  top: 8%;
  left: -150px;
  opacity: 0.4;
}

.process-stump-2 {
  bottom: 8%;
  right: -150px;
  opacity: 0.3;
  animation-direction: reverse;
  animation-duration: 80s;
}

@keyframes processStumpRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ─── FAQ SECTION ────────────────────────────────────────────────────────────── */
.faq-section {
  margin-bottom: 120px;
}
.faq-header {
}

.process-circle-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  animation-duration: 25s;
}

.process-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -50px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  animation-duration: 22s;
  animation-delay: -5s;
}

.process-circle-3 {
  width: 350px;
  height: 350px;
  top: 40%;
  left: 10%;
  animation-duration: 30s;
  animation-delay: -10s;
}

@keyframes processFloat {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  50% {
    transform: translate(40px, 60px) rotate(10deg) scale(1.1);
  }
  100% {
    transform: translate(-30px, 30px) rotate(-10deg) scale(0.9);
  }
}

.process-section .container {
  max-width: 1440px; /* Reduced to center it better */
}

.process-header {
  max-width: 1200px;
  margin: 0 auto 80px;
}

.process-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow-bracket {
  color: rgba(0, 0, 0, 0.15);
  font-weight: 300;
  font-size: 1.75rem;
}

.process-heading {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.15;
  color: #111111;
  max-width: 1200px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* Slightly more gap */
  align-items: flex-start; /* Make card heights independent */
}

.process-card {
  background: #f2f2f2;
  border-radius: 24px;
  padding: 50px 40px 40px; /* Consistent padding */
  text-align: left;
  min-height: 240px; /* Use min-height instead of fixed height to allow expansion */
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    background 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.process-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.process-icon-wrap {
  width: 100px;
  height: 100px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px; /* Reduced persistent gap */
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.process-icon-wrap svg {
  width: 48px;
  height: 48px;
  color: #111;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-content {
  position: relative;
  margin-top: 0; /* Removed redundant margin */
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-content {
  grid-template-rows: auto 1fr;
}

.process-card-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #111;
  margin: 0;
  line-height: 1.3;
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover .process-card-title {
  transform: translateY(-8px);
}

.process-card-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  overflow: hidden;
  min-height: 0;
  transition:
    opacity 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.8s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover fallback – only active below 1025px where JS is disabled */
@media (max-width: 1024px) {
  .process-card:hover {
    background: #dd93003e;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
  }

  .process-card:hover .process-card-desc {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding-top: 15px;
    transition-delay: 0.2s;
  }

  .process-card:hover .process-icon-wrap {
    background: #111;
    border-color: #111;
    transform: scale(0.6);
  }

  .process-card:hover .process-icon-wrap svg {
    color: #fff;
    transform: scale(0.6);
  }
}

/* ─── PROCESS AUTO-PLAY: Desktop only (> 1024px) ────────────────────── */
@media (min-width: 1025px) {
  .process-card.is-active {
    background: #dd93003e;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
  }

  .process-card.is-active .process-content {
    grid-template-rows: auto 1fr;
  }

  .process-card.is-active .process-card-title {
    transform: translateY(-8px);
  }

  .process-card.is-active .process-card-desc {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding-top: 15px;
    transition-delay: 0.2s;
  }

  .process-card.is-active .process-icon-wrap {
    background: #111;
    border-color: #111;
    transform: scale(0.6);
  }

  .process-card.is-active .process-icon-wrap svg {
    color: #fff;
    transform: scale(0.6);
  }

  /* ─── PROCESS PROGRESS BAR ─────────────────────────────────────────── */
  .process-progress-bar-wrap {
    position: relative;
    margin: 0 auto 60px;
    max-width: 1440px;
    width: 100%;
    padding: 0;
  }

  .process-progress-track {
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    transform: translateY(-50%);
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: visible;
    z-index: 0;
  }

  .process-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #dd9300, #c07200);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .process-progress-dots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
  }

  /* ─── PROCESS DOTS ──────────────────────────────────────────────────── */
  .process-dot {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
  }

  .process-dot:hover {
    transform: scale(1.1);
  }

  .process-dot-inner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    border: 1.5px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .process-dot.is-done .process-dot-inner {
    background: #dd9300;
    border-color: #dd9300;
    color: #fff;
  }

  .process-dot.is-active .process-dot-inner {
    background: #111;
    border-color: #111;
    color: #fff;
    transform: scale(1.15);
  }

  /* ─── PER-CARD TIMER RING ───────────────────────────────────────────── */
  .process-card-timer {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    transform: rotate(-90deg);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .process-card.is-active .process-card-timer {
    opacity: 1;
  }

  .process-card-timer-track {
    fill: none;
    stroke: rgba(0, 0, 0, 0.08);
    stroke-width: 2.5;
  }

  .process-card-timer-fill {
    fill: none;
    stroke: #dd9300;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.05s linear;
  }
}

/* ─── Hide progress bar & timer on mobile/tablet ─────────────────────── */
@media (max-width: 1024px) {
  .process-progress-bar-wrap {
    display: none;
  }
  .process-card-timer {
    display: none;
  }
}

/* Responsive */

@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .process-card {
    min-height: auto !important;
    background: #ffffff;
    cursor: default;
    text-align: center;
  }
  .process-card-inner {
    align-items: center;
  }
  .process-content {
    grid-template-rows: auto 1fr !important;
  }
  .process-card-title {
    transform: none !important;
    margin-bottom: 12px;
  }
  .process-card-desc {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    padding-top: 0 !important;
  }
  .process-number-wrap {
    background: #000 !important;
    color: #fff !important;
    transform: none !important;
    margin: 0 auto 20px !important;
  }
  .process-number {
    color: #fff !important;
  }
}

@media (max-width: 768px) {
  .process-section {
    padding: 80px 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-card {
    padding: 40px;
  }
}

/* ─── SERVICES SECTION ───────────────────────────────────────────────────────── */ /* ─── FAQ SECTION ────────────────────────────────────────────────────────────── */
.faq-section {
  margin-bottom: 120px;
}

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 80px;
}

.faq-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.faq-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  color: #111;
  margin: 0;
  letter-spacing: -0.02em;
}

.faq-section .container {
  max-width: 1400px;
  position: relative;
  z-index: 1;
}

/* Responsive FAQ decorative image */
@media (max-width: 1024px) {
  .faq-bg-deco {
    width: 20%;
    opacity: 0.5;
  }
}

@media (max-width: 1024px) {
  .faq-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .faq-bg-deco {
    width: 20%;
    opacity: 0.5;
  }
  .faq-question {
    font-size: 1.15rem;
    padding: 28px 0;
  }
  .faq-answer-inner {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .faq-question {
    padding: 22px 0;
    font-size: 1.05rem;
  }
  .faq-answer-inner {
    padding: 0 0 22px 0;
    font-size: 0.95rem;
  }
}

.faq-answer-inner {
  padding: 0 15px 24px 15px;
  max-width: 100%;
  font-size: 1rem;
}

.faq-grid {
  max-width: 1100px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid #f2f2f2;
  border-radius: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:first-child {
  border-top: 1.5px solid #f2f2f2;
}

.faq-item.is-active {
  background: #fdfdfd;
  border-bottom-color: transparent;
}

.faq-question {
  width: 100%;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--tbts-primary);
}

.faq-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #111;
  border: 1.5px solid #e5e5e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.is-active .faq-icon {
  transform: rotate(135deg);
  background: var(--tbts-primary);
  color: #ffffff;
  border-color: var(--tbts-primary);
  box-shadow: 0 10px 20px rgba(208, 89, 41, 0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-active .faq-answer {
  max-height: 800px;
}

.faq-answer-inner {
  padding: 0 0 32px 0;
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
  max-width: 90%;
}

.faq-footer {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.faq-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 36px;
  background: #111;
  color: #ffffff;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-btn-primary:hover {
  background: var(--tbts-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(208, 89, 41, 0.3);
}

.faq-btn-primary .btn-arrow-circle {
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-btn-primary:hover .btn-arrow-circle {
  transform: translateX(4px);
}

/* ─── PREMIUM OVERRIDES & HARDENING ─────────────────────────────────────────── */
.btn {
  border-radius: 0 !important;
  font-weight: 600 !important;
}
.hero-quick-card {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.tbts-header.is-scrolled .header-main {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
}
.section-title {
  color: var(--tbts-dark) !important;
}
.section-label {
  color: var(--tbts-green-mid) !important;
}

/* Responsive fixes */
@media (max-width: 900px) {
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .hero-quick-form--horizontal .form-row-horizontal {
    flex-direction: column;
  }

  .hero-quick-form--horizontal .form-group {
    width: 100%;
    min-width: auto;
  }

  .hero-quick-form--horizontal .form-group--submit {
    width: 100%;
  }

  .hero-quick-form--horizontal .form-group--submit .btn {
    width: 100%;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .contact-form-card {
    padding: 32px 20px !important;
  }

  .posts-grid--blog {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .blog-layout {
    grid-template-columns: 1fr !important;
    gap: 50px !important;
    padding: 60px 0 !important;
  }

  .page-hero--blog {
    padding: 120px 0 60px !important;
  }
}

/* Large tablets */
@media (max-width: 1100px) {
  .hero-container {
    max-width: 100%;
    padding: 0 20px;
  }
  .about-grid {
    gap: 48px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    position: static;
  }
  .posts-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-layout {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  :root {
    --section-py: 72px;
  }
  .header-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tbts-white);
    box-shadow: var(--shadow-md);
    padding: 16px;
    z-index: 100;
  }
  .header-nav.is-open .nav-menu {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 4px;
  }
  .header-nav.is-open .nav-menu > li > a {
    padding: 12px 16px;
  }
  .header-main {
    position: relative;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-image-col {
    order: 2;
  }
  .about-content-col {
    order: 1;
  }
  .about-badge--experience {
    right: 0;
    bottom: -16px;
  }
  .about-badge--certified {
    left: 0;
    top: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid .gallery-item:first-child {
    grid-column: span 2;
  }

  .post-body-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
  }
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-py: 56px;
    --container-px: 16px;
  }

  .header-top-bar {
    display: none;
  }
  .site-content {
    padding-top: 72px;
  }

  .hero-section {
    padding: 80px 0 60px;
    min-height: 65vh;
    min-height: 65svh;
  }
  .hero-actions-row {
    justify-content: center;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-reviews {
    justify-content: center;
  }
  .hero-trust {
    flex-direction: column;
    gap: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-grid .gallery-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .testimonials-track {
    grid-template-columns: 1fr;
  }
  .testimonials-controls {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-card {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .posts-grid--blog,
  .posts-grid--3 {
    grid-template-columns: 1fr;
  }

  .post-title {
    font-size: 1.625rem;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .author-bio {
    flex-direction: column;
  }

  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── HELPER CLASSES ────────────────────────────────────────────────────────── */
.relative-z {
  position: relative !important;
  z-index: 5 !important;
}

/* ─── SIDEBAR POLISH ─────────────────────────────────────────────────────────── */
.sidebar-widget {
  background: var(--tbts-white) !important;
  padding: 24px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 24px !important;
  border: 1px solid var(--tbts-gray-200) !important;
}
.widget-title {
  font-size: 1.125rem !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--tbts-green-pale) !important;
}
.categories-list li {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--tbts-gray-100) !important;
}
.categories-list li:last-child {
  border-bottom: none !important;
}

/* ─── UTILITIES ─────────────────────────────────────────────────────────────── */
.text-center {
  text-align: center !important;
}
.mt-12 {
  margin-top: 48px !important;
}
.mb-6 {
  margin-bottom: 24px !important;
}

/* ─── FAQ FOOTER ────────────────────────────────────────────────────────────── */
.faq-footer {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.faq-footer-text {
  font-size: 1.125rem;
  color: var(--tbts-gray-600);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 640px) {
  .faq-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ─── Blog Preview ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Footer Section ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ─── FLOATING ACTION BUTTONS ────────────────────────────────────────────────── */
.wsts-floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.wsts-floating-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wsts-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  cursor: pointer;
}

.wsts-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.fab-phone {
  background: var(--tbts-green-dark);
  color: var(--tbts-white);
}

.fab-phone:hover svg {
  color: var(--tbts-primary) !important;
  stroke: var(--tbts-primary) !important;
}

.fab-contact {
  background: var(--tbts-white);
  color: var(--tbts-green-dark);
}

.wsts-fab svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.wsts-fab:hover svg {
  transform: scale(1.1);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .wsts-floating-actions {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
  .wsts-fab {
    width: 52px;
    height: 52px;
  }
}

/* ─── Stats Redesign Section ────────────────────────────────────────────────── */
.stats-redesign-section {
  padding: 20px 0 150px 0;
  min-height: 95vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

.stats-redesign-container {
  position: relative;
  z-index: 2;
  max-width: 1309px !important;
}

.stats-bg-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1309px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.stats-bg-shape svg {
  width: 100%;
  height: auto;
}

.stats-bg-shape path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.stats-redesign-section.is-visible .stats-bg-shape path {
  animation: statsStrokeAnim 8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

@keyframes statsStrokeAnim {
  0% {
    stroke-dashoffset: 1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.stats-redesign-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 5px;
  position: relative;
  z-index: 3;
}

.stats-info-block {
  grid-row: 1;
  grid-column: 1;
  padding-top: 0;
  padding-left: 40px;
}

.stats-tagline {
  display: block;
  font-size: 1rem;
  color: #1c1c1c;
  margin-bottom: 24px;
  font-weight: 400;
  margin-top: -50px;
  letter-spacing: 0.05em;
}

.stats-heading {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  font-weight: 500;
  color: #1c1c1c;
  margin: 0;
  letter-spacing: -0.02em;
  max-width: 350px; /* Force "square" block */
}

.stats-row-top {
  grid-row: 1;
  grid-column: 2 / span 2;
  display: flex;
  gap: 60px;
  padding-top: 0;
  padding-left: 80px;
}

.stats-row-bottom {
  grid-row: 2;
  grid-column: 2 / span 2;
  display: flex;
  gap: 60px;
  padding-top: 100px;
  padding-bottom: 80px;
  padding-left: 80px;
}

.stat-redesign-item {
  flex: 1;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 0.85;
  font-weight: 400;
  color: #000000;
  letter-spacing: -0.03em;
}

.stat-suffix {
  color: #b0b5b8;
  font-size: 4rem;
  margin-left: 4px;
  font-weight: 400;
}

.stat-label {
  font-size: 1.125rem;
  color: #1c1c1c;
  margin-top: 20px;
  font-weight: 400;
}

.stats-footer-block {
  grid-row: 2;
  grid-column: 1;
  align-self: end;
  padding-bottom: 60px;
  padding-left: 40px;
}

.btn-stats-accent {
  background: #d68c00;
  color: #ffffff;
  padding: 20px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  border-radius: 4px;
  text-decoration: none;
}

.btn-stats-accent:hover {
  background: #b87800;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(214, 140, 0, 0.25);
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1200px) {
  .stats-redesign-grid {
    gap: 40px;
    grid-template-columns: 1.2fr 1fr 1fr;
  }
  .stats-row-top,
  .stats-row-bottom {
    gap: 40px;
    padding-left: 0;
  }
}

@media (max-width: 1024px) {
  .stats-bg-shape {
    display: none;
  }
  .stats-redesign-section {
    background: #fdf8f6;
    padding: 80px 0;
    min-height: auto;
  }
  .stats-redesign-container {
    padding-inline: 24px;
  }
  .stats-redesign-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 700px;
    margin: 0 auto;
  }
  .stats-info-block {
    text-align: center;
    padding: 0;
    width: 100%;
  }
  .stats-row-top,
  .stats-row-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    padding: 0;
  }
  .stat-redesign-item {
    text-align: center;
  }
  .stat-number-wrap {
    font-size: clamp(3rem, 8vw, 4.5rem);
    justify-content: center;
  }
  .stat-suffix {
    font-size: 0.6em;
  }
  .stats-footer-block {
    margin-top: 16px;
    padding: 0;
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .stats-redesign-container {
    padding-inline: 20px;
  }
  .stats-row-top,
  .stats-row-bottom {
    gap: 24px;
  }
  .stat-number-wrap {
    font-size: 3.5rem;
  }
  .stats-heading {
    font-size: 2.25rem;
  }
}

@media (max-width: 480px) {
  .stats-row-top,
  .stats-row-bottom {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ─── Services Redesign Header ────────────────────────────────────────────── */
.services-header-redesign {
  margin-bottom: 80px;
  padding-left: 40px;
}

.services-tagline-redesign {
  display: block;
  font-size: 1rem;
  color: #1c1c1c;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.services-heading-redesign {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1.1;
  font-weight: 500;
  color: #1c1c1c;
  margin: 0;
  letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
  .services-header-redesign {
    padding-left: 0;
    margin-bottom: 60px;
  }
}

.text-highlight-orange {
  color: #dd9300;
  font-weight: 600;
}

.service-link-v2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #dd9300;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    color 0.3s ease,
    visibility 0.6s ease;
}

.service-row-v2:hover .service-link-v2,
.service-row-v2.is-scrolled-active .service-link-v2 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.service-link-v2:hover {
  color: #1c1c1c;
}

.link-arrow {
  display: flex;
  transition: transform 0.3s ease;
}

.service-link-v2:hover .link-arrow {
  transform: translateX(5px);
}
/* ─── BLOG PREVIEW SECTION ─────────────────────────────────────────────────── */
.blog-preview-section {
  padding: 120px 0;
  background: transparent;
}

.blog-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.blog-preview-header-left {
  max-width: 800px;
}

.blog-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 500;
  color: #ea0808da;
  margin: 0;
  letter-spacing: -0.02em;
}

.blog-preview-header-right {
  text-align: right;
}

.blog-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 18px 36px;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid #e5e5e5;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-btn-outline:hover {
  background: #111;
  color: #ffffff;
  border-color: #111;
  transform: translateY(-4px);
}

.blog-btn-outline .btn-arrow-circle {
  width: 32px;
  height: 32px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-btn-outline:hover .btn-arrow-circle {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .blog-preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
  }
  .blog-preview-header-right {
    text-align: left;
  }
}
/* ─── SHARED FOOTER/BLOG BACKGROUND ────────────────────────────────────────── */
.footer-shared-bg-wrap {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: #0a0a0a;
}

.footer-shared-bg-wrap > *:not(.hbw-bg) {
  position: relative;
  z-index: 2;
}

.footer-shared-bg-wrap .hbw-bg-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.85) 40%,
    rgba(0, 0, 0, 1) 100%
  );
}

/* White text for blog preview when inside shared dark background */
.footer-shared-bg-wrap .blog-heading {
  color: #ffffff;
}

.footer-shared-bg-wrap .blog-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.footer-shared-bg-wrap .eyebrow-bracket {
  color: rgba(255, 255, 255, 0.3);
}

.footer-shared-bg-wrap .blog-btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.footer-shared-bg-wrap .blog-btn-outline:hover {
  background: #ffffff;
  color: #111;
  border-color: #ffffff;
}

.footer-shared-bg-wrap .post-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.footer-shared-bg-wrap .post-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.footer-shared-bg-wrap .post-card-title {
  color: #ffffff;
}

.footer-shared-bg-wrap .post-card-title a {
  color: #ffffff;
}

.footer-shared-bg-wrap .post-card-title a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-shared-bg-wrap .post-card-excerpt {
  color: rgba(255, 255, 255, 0.6);
}

.footer-shared-bg-wrap .post-card-link {
  color: #ffffff;
}

.footer-shared-bg-wrap .svc-card-arrow-circle {
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-shared-bg-wrap .post-card-link:hover .svc-card-arrow-circle {
  background: #ffffff;
  color: #111;
  border-color: #ffffff;
}

.footer-shared-bg-wrap .blog-preview-section {
  background: transparent !important;
  padding-bottom: 60px;
}

.footer-shared-bg-wrap .wsts-footer {
  background: transparent !important;
  padding-top: 60px;
}


.services-header-v3 {
  margin-bottom: 80px;
}

.services-eyebrow-v3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.eyebrow-bracket {
  color: #999;
  font-weight: 300;
  font-size: 2rem;
}

.eyebrow-text{
  font-size: 1rem;
}

.services-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card-v3 {
  background: #f8f8f8;
  border-radius: 24px;
  padding: 40px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  cursor: pointer;
}

.service-card-inner-v3 {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.service-card-img-v3 {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: auto; /* Pushes content to bottom */
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-img-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-content-v3 {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.service-card-title-v3 {
  font-size: 1.75rem;
  font-weight: 500;
  color: #111;
  margin: 0;
  line-height: 1.2;
}

.service-card-desc-v3 {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 0;
  overflow: hidden;
}

/* Hover Effects */
.service-card-v3:hover {
  background: #ffffff;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.05);
}

.service-card-v3:hover .service-card-img-v3 {
  transform: scale(0.96);
}

.service-card-v3:hover .service-card-img-v3 img {
  transform: scale(1.1);
}

.service-card-v3:hover .service-card-desc-v3 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 200px;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
  .services-grid-v3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }
  .services-grid-v3 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card-v3 {
    min-height: 400px;
    padding: 30px;
  }
}
