/* =============================================================================
   HIGHLAND TREE SERVICE BUFFALO   Main Stylesheet
   Child theme of Twenty Twenty-Four
   ============================================================================= */

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --htsb-header-offset: 88px;
  /* ── Highland Tree Service Buffalo – New Brand Palette ── */
  /* #1c1c1c  Almost Black – text, headings                  */
  /* #d05929  Burnt Orange – accent: buttons, icons, badges  */
  /* #666b6e  Steel Gray   – secondary text, borders         */
  /* #ffffff  White        – base background                  */

  /* Main brand colors */
  --htsb-primary: #d05929; /* Orange – CTAs, links, badges */
  --htsb-secondary: #666b6e; /* Steel Gray – hover, borders */
  --htsb-dark-brand: #1c1c1c; /* Almost Black – headings, nav text */
  --htsb-darkest: #1c1c1c; /* Darkest – overlays */
  --htsb-light-bg: #ffffff; /* White – page background */
  --htsb-cream: #fdf8f6; /* Warm off-white – cards, subtle bg */

  /* Button colors */
  --htsb-button: #d05929; /* Orange – buttons */
  --htsb-button-hover: #8a3d1f; /* Darker orange – button hover */

  /* Legacy color aliases (mapped to new palette) */
  --htsb-green: #d05929; /* → Orange accent */
  --htsb-green-dark: #1c1c1c; /* → Almost Black */
  --htsb-green-mid: #666b6e; /* → Steel Gray */
  --htsb-green-light: #d05929; /* → Orange accent */
  --htsb-green-pale: #fdf0eb; /* → Very light orange tint (backgrounds) */
  --htsb-green-faint: #fdf8f6; /* → Warm near-white */
  --htsb-brown: #d05929; /* → Orange */
  --htsb-gold: #d05929;
  --htsb-star: #ff9d00; /* → Orange */
  --htsb-gold-dark: #8a3d1f; /* → Darker orange */

  /* Neutrals */
  --htsb-dark: #1c1c1c;
  --htsb-gray-800: #1c1c1c;
  --htsb-gray-600: #666b6e;
  --htsb-gray-400: #9a9fa2;
  --htsb-gray-200: #e1e5e9;
  --htsb-gray-100: #f5f5f5;
  --htsb-white: #ffffff;
  --htsb-bg: #ffffff; /* White page background */

  /* Typography (system fonts only — no third-party CDNs) */
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, 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);
}

/* Anchor scroll offset (avoids layout reads in JS for smooth scroll) */
section[id] {
  scroll-margin-top: calc(var(--htsb-header-offset) + 16px);
}

/* ─── 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 {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--htsb-gray-800);
  background-color: var(--htsb-bg);
  overflow-x: hidden;
}

body.admin-bar {
  scroll-padding-top: 92px;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--htsb-green);
  text-decoration: none;
  transition: var(--ease-fast);
}
a:hover {
  color: var(--htsb-green-dark);
}
a:focus-visible {
  outline: 3px solid var(--htsb-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: var(--radius-full);
  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;
}

.btn:focus-visible {
  outline: 3px solid var(--htsb-button);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--htsb-green);
  color: var(--htsb-white);
  border-color: var(--htsb-green);
}
.btn-primary:hover {
  background: var(--htsb-green-dark);
  border-color: var(--htsb-green-dark);
  color: var(--htsb-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--htsb-green);
  border-color: var(--htsb-green);
}
.btn-outline:hover {
  background: var(--htsb-green);
  color: var(--htsb-white);
  transform: translateY(-2px);
}

/* 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(--htsb-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(--htsb-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--htsb-white);
  color: var(--htsb-green-dark);
  border-color: var(--htsb-white);
}
.btn-white:hover {
  background: var(--htsb-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(--htsb-gray-800);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--htsb-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(--htsb-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(--htsb-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(--htsb-white) !important;
}
.section-header--light .rating-stars svg {
  color: var(--htsb-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(--htsb-white);
}
.section-header--light .section-label {
  color: var(--htsb-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);
}
.reveal-item:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-item:nth-child(3) {
  transition-delay: 0.2s;
}
.htsb-header {
  position: fixed;
  top: 10px !important; /* Restored desktop 10px gap */
  left: 0;
  width: 100%;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.header-top-bar {
  display: none; /* Removed for clean pill design */
}
.header-main {
  margin: 0 40px; /* Widened the pill to allow 'corner' placement */
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 999px;
  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; /* Stretch to fill container for spacing */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Pushes items to corners */
  height: 88px;
  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 */
.htsb-header:not(.is-scrolled) .nav-menu > li > a {
  color: #ffffff !important;
  font-size: 14px !important;
}
.htsb-header:not(.is-scrolled) .site-name {
  color: var(--htsb-green-dark) !important;
}
.htsb-header:not(.is-scrolled) .site-name-link {
  color: var(--htsb-green-dark) !important;
}
.htsb-header:not(.is-scrolled) .site-tagline {
  color: rgba(255, 255, 255, 0.8) !important;
}
.htsb-header:not(.is-scrolled) .btn-primary {
  background: var(--htsb-green);
  border: none;
  color: #ffffff;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 600;
}
.htsb-header:not(.is-scrolled) .hamburger-bar {
  background: #ffffff;
}

/* Logo invert in hero (not scrolled) state - DESKTOP ONLY */
@media (min-width: 1025px) {
  .htsb-header:not(.is-scrolled) .site-branding img,
  .htsb-header:not(.is-scrolled) .site-branding .custom-logo,
  .htsb-header:not(.is-scrolled) .site-branding .site-logo {
    filter: invert(1) brightness(2) !important;
    transition: filter 0.4s ease !important;
  }
}

/* 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 */
.htsb-header.nav-open .site-branding img,
.htsb-header.nav-open .site-branding .custom-logo,
.htsb-header.nav-open .site-branding .site-logo {
  filter: none !important;
}

/* ─── MOBILE NAVIGATION OVERRIDE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .htsb-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 .htsb-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: 72px !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: none !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: 32px !important;
    height: 32px !important;
  }
  .hamburger-bar {
    background: var(--htsb-green-dark) !important;
    height: 2px !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 .htsb-header {
  top: 42px !important; /* 32px Admin Bar + 10px Gap */
}
.admin-bar .htsb-header.is-scrolled {
  top: 32px !important; /* Admin Bar only when scrolled */
}

@media (max-width: 782px) {
  .admin-bar .htsb-header {
    top: 0 !important; /* Mobile: flush to top, no admin bar offset */
  }
}

/* Scrolled State - Thin White Pill */
.htsb-header.is-scrolled {
  top: 0 !important;
}
.htsb-header.is-scrolled .header-main {
  margin-top: 0;
  margin: 0 40px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 999px 999px;
}
.htsb-header.is-scrolled .header-inner {
  height: 72px; /* Balanced scrolled height */
}
.htsb-header.is-scrolled .nav-menu > li > a {
  color: var(--htsb-gray-800) !important;
}
.htsb-header.is-scrolled .site-name {
  color: var(--htsb-green-dark) !important;
}
.htsb-header.is-scrolled .site-name-link {
  color: var(--htsb-green-dark) !important;
}
.htsb-header.is-scrolled .btn-primary {
  background: var(--htsb-green) !important;
  color: var(--htsb-white) !important;
}

/* Logo back to normal when scrolled */
.htsb-header.is-scrolled .site-branding img,
.htsb-header.is-scrolled .site-branding .custom-logo,
.htsb-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 htsb-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(--htsb-green-dark) !important; /* Default color with !important */
  line-height: 1.1;
}
.site-tagline {
  font-size: 0.7rem;
  color: var(--htsb-gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-branding .custom-logo,
.site-branding .site-logo {
  max-height: 56px;
  width: auto;
  display: block;
}

/* Navigation */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px; /* Increased gap between links */
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > li > a {
  display: block;
  padding: 8px 4px; /* Reduced side padding slightly for underline fit */
  margin: 0 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--htsb-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(--htsb-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(--htsb-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(--htsb-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(--htsb-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(--htsb-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(--htsb-green-dark) !important;
  }
}

/* Sticky header logic - Simplified for pill */
.htsb-header.is-scrolled .header-main {
  box-shadow: var(--shadow-lg);
}

/* Offset for floating header */
.site-content {
  padding-top: 0; /* Since it's floating, let the content sit under it or adjust if needed */
}
.htsb-header.is-scrolled {
  transform: translateY(0);
}

/* ─── HERO SECTION ───────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--htsb-green-dark);
  overflow: hidden;
  padding: 160px 0 80px; /* Increased top padding to give header space */
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1; /* At the bottom */
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.4); /* Semi-transparent dark overlay */
  z-index: 2; /* Sits on top of images */
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
}
.hero-slide.active {
  opacity: 1 !important;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Dots */
.hero-slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 0, 0, 0.6);
}
.slider-dot:hover {
  background: rgba(0, 0, 0, 0.6);
}
.slider-dot.active {
  background: #403927;
  transform: scale(1.2);
  border-color: #403927;
}

/* Hide hero slider dots on mobile */
@media (max-width: 768px) {
  .hero-slider-dots {
    display: none !important;
  }

  /* Testimonials rating on mobile - stack vertically */
  .testimonials-rating-summary {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .rating-stars {
    margin-bottom: 8px !important;
  }

  /* Swap about section image and content on mobile */
  .about-grid,
  .service-area-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .service-area-map iframe {
    height: 280px;
  }
  .about-content-col {
    order: 2 !important; /* Content second on mobile */
  }
  .about-image-col {
    order: 1 !important; /* Image first on mobile */
  }
}

.hero-container {
  position: relative;
  z-index: 10; /* Above everything in the background */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.hero-content-centered {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  color: var(--htsb-white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--htsb-white);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--htsb-white);
  margin-bottom: 24px;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 700px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-trust-item svg {
  color: var(--htsb-green-light);
  flex-shrink: 0;
}

/* Hero Quick Card */
.hero-quick-card {
  background: var(--htsb-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.hero-quick-card-inner {
  padding: 36px;
}
.hero-quick-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--htsb-green-dark);
  margin-bottom: 8px;
}
.hero-quick-card p {
  color: var(--htsb-gray-600);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Horizontal Form Layout */
.hero-quick-form--horizontal .form-row-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.hero-quick-form--horizontal .form-group {
  flex: 1;
  min-width: 140px;
}

.hero-quick-form--horizontal .form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
}

.hero-quick-form--horizontal .form-group--submit {
  flex: 0 0 auto;
  min-width: auto;
}

.hero-quick-form--horizontal .form-group--submit .btn {
  height: 46px;
  padding: 0 24px;
  white-space: nowrap;
}

.hero-quick-form--horizontal .form-group--hidden {
  display: none;
}

/* Half Moon / Rainbow Curve Divider */
.hero-curve-divider {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  z-index: 5;
}

/* ─── HERO MOBILE REFINEMENTS ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 100px !important; /* Top padding to account for header height */
    margin-top: -72px !important; /* Pull up by header height to eliminate gap */
    position: relative;
    z-index: 1;
  }

  .site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .hero-container {
    gap: 24px; /* Reduced from 48px */
  }

  .hero-content-wrapper {
    gap: 24px; /* Reduced from 48px */
  }

  .hero-title {
    font-size: 2.5rem !important; /* Increased size */
    line-height: 1.1;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1rem !important; /* Reduced size */
    margin-bottom: 24px;
    padding: 0 10px;
  }

  .hero-content-centered {
    display: flex;
    flex-direction: column;
  }

  /* Align CTAs below Stats */
  .hero-trust {
    order: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 30px !important;
    width: 100% !important;
  }

  .hero-trust-item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.75rem !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important; /* Prevent from stretching to 100% */
  }

  .hero-trust-item svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }

  .hero-ctas {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important; /* Horizontal flex */
    width: 100% !important;
    padding: 0 !important;
    gap: 10px !important;
    margin-bottom: 40px !important;
  }

  .hero-ctas .btn {
    flex: 1 !important; /* Increased width */
    padding: 14px 8px !important;
    font-size: 0.85rem !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-ctas .btn svg {
    display: none; /* Hide icons to save space on small mobile */
  }

  /* Form Refinements */
  .hero-quick-card {
    position: relative;
    z-index: 10;
    margin-top: -20px; /* Pull up for overlap */
    max-width: 95%; /* Make form wider */
    margin-left: auto;
    margin-right: auto;
  }

  .hero-quick-card-inner {
    padding: 20px 24px !important; /* Reduce top/bottom padding, increase side padding */
  }

  /* Reduce form field spacing */
  .hero-quick-card .form-group {
    margin-bottom: 12px !important; /* Reduce spacing between fields */
  }

  .hero-quick-card .form-group--submit {
    margin-top: 16px !important; /* Reduce submit button top margin */
  }

  /* Move hero content down */
  .hero-content-centered {
    padding-top: 40px !important; /* Move content down */
  }

  /* Half Moon Overlap Design */
  .hero-curve-divider {
    z-index: 5;
    bottom: -4px; /* Moved down by 2px from -2px */
    transform: translateX(-50%) scale(1.2); /* Scale up slightly for better coverage */
  }
}

/* ─── SERVICES SECTION ───────────────────────────────────────────────────────── */
.services-section {
  position: relative;
  padding: var(--section-py) 0;
  background: var(--htsb-cream);
  overflow: hidden;
}

.services-container {
  max-width: 1200px;
}

.services-header-desc {
  max-width: 640px;
  margin-inline: auto;
}

.vine-container {
  display: none;
}

.vine-svg {
  width: 100%;
  height: 100%;
}

.vine-path {
  fill: none !important;
  stroke: var(--htsb-green-dark) !important;
  stroke-width: 4 !important; /* Maximum visibility */
  stroke-linecap: round !important;
  stroke-dasharray: 5000 !important;
  stroke-dashoffset: 5000 !important;
  transition: stroke-dashoffset 4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-delay: 0.1s !important;
}

.services-section.is-visible .vine-path {
  stroke-dashoffset: 0 !important;
}

.vine-buds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.vine-bud {
  position: absolute;
  border: 2px solid var(--htsb-green-dark) !important;
  border-radius: 50% !important;
  opacity: 0;
  transform: scale(0);
  transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Visibility - Increased for clarity */
.services-section.is-visible .vine-bud {
  opacity: 0.7 !important; /* High visibility */
  transform: scale(1) !important;
}

/* Individual Positions - Top Right Cluster */
.bud-tr-1 {
  top: 8%;
  right: 8%;
  width: 24px;
  height: 24px;
  transition-delay: 1.2s !important;
}
.bud-tr-2 {
  top: 15%;
  right: 15%;
  width: 12px;
  height: 12px;
  transition-delay: 1.5s !important;
}
.bud-tr-3 {
  top: 5%;
  right: 18%;
  width: 18px;
  height: 18px;
  transition-delay: 1.8s !important;
}
.bud-tr-4 {
  top: 12%;
  right: 4%;
  width: 32px;
  height: 32px;
  transition-delay: 2.1s !important;
}
.bud-tr-5 {
  top: 20%;
  right: 10%;
  width: 10px;
  height: 10px;
  transition-delay: 2.4s !important;
}

/* Individual Positions - Bottom Left Cluster */
.bud-bl-1 {
  bottom: 8%;
  left: 8%;
  width: 28px;
  height: 28px;
  transition-delay: 1.4s !important;
}
.bud-bl-2 {
  bottom: 15%;
  left: 15%;
  width: 14px;
  height: 14px;
  transition-delay: 1.7s !important;
}
.bud-bl-3 {
  bottom: 5%;
  left: 18%;
  width: 20px;
  height: 20px;
  transition-delay: 2s !important;
}
.bud-bl-4 {
  bottom: 12%;
  left: 4%;
  width: 36px;
  height: 36px;
  transition-delay: 2.3s !important;
}
.bud-bl-5 {
  bottom: 20%;
  left: 10%;
  width: 12px;
  height: 12px;
  transition-delay: 2.6s !important;
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 28, 28, 0.08);
  background: var(--htsb-white);
  box-shadow: 0 4px 24px rgba(28, 28, 28, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card:hover {
  border-color: rgba(208, 89, 41, 0.35);
  box-shadow: 0 12px 40px rgba(28, 28, 28, 0.1);
  transform: translateY(-4px);
}

.service-card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--htsb-primary);
  background: linear-gradient(
    145deg,
    rgba(208, 89, 41, 0.14) 0%,
    rgba(208, 89, 41, 0.05) 100%
  );
  border: 1px solid rgba(208, 89, 41, 0.2);
  transition: var(--ease-fast);
}

.service-card:hover .service-card-icon-wrap {
  background: var(--htsb-primary);
  color: var(--htsb-white);
  border-color: var(--htsb-primary);
}

.service-card-icon-wrap svg {
  flex-shrink: 0;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--htsb-dark-brand);
  margin-bottom: 10px;
  line-height: 1.35;
}

.service-card-desc {
  flex: 1;
  color: var(--htsb-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.65;
}

.service-card-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--htsb-gray-200);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--htsb-primary);
  line-height: 1.4;
}
.service-card-link:hover {
  color: var(--htsb-button-hover);
  gap: 10px;
}
.service-card-link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.service-card-link:hover svg {
  transform: translateX(4px);
}

.services-footer {
  display: flex;
  justify-content: center;
}

.services-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
  width: 100%;
  max-width: 720px;
  padding: 24px 32px;
  text-align: center;
  background: var(--htsb-white);
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(28, 28, 28, 0.05);
}

.services-footer-text {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--htsb-dark-brand);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    min-height: 0;
    padding: 24px 22px 20px;
  }

  .services-footer-inner {
    flex-direction: column;
    padding: 20px;
  }
}

/* ─── SERVICE AREA SECTION ───────────────────────────────────────────────────── */
.service-area-section {
  padding: var(--section-py) 0;
  background: var(--htsb-white);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.service-area-desc {
  margin-bottom: 28px;
}

.service-area-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.service-area-chip {
  display: inline-block;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--htsb-green-dark);
  background: var(--htsb-green-pale);
  border: 1px solid rgba(45, 106, 79, 0.15);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  line-height: 1.2;
  cursor: pointer;
  transition: var(--ease-fast);
}

.service-area-chip:hover,
.service-area-chip.is-active {
  color: var(--htsb-white);
  background: var(--htsb-primary);
  border-color: var(--htsb-primary);
}

.service-area-chip:focus-visible {
  outline: 2px solid var(--htsb-primary);
  outline-offset: 2px;
}

.service-area-map {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--htsb-gray-200);
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.service-area-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ─── ABOUT SECTION ──────────────────────────────────────────────────────────── */
.about-section {
  padding: var(--section-py) 0;
  background: #f8f9fa; /* Lighter gray background */
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr; /* Content first, then image */
  gap: 56px;
  align-items: center;
}

.about-image-col {
  display: flex;
  justify-content: flex-end;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-main-img,
.about-img-placeholder {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-img-placeholder {
  background: var(--htsb-green-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.about-img-placeholder span {
  font-size: 4rem;
}

/* Floating Badges */
.about-badge {
  position: absolute;
  background: var(--htsb-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--htsb-gray-200); /* Increased visibility for white-on-white clarity */
  padding: 14px 18px;
}
.about-badge--experience {
  bottom: -14px;
  left: -14px;
  text-align: center;
  z-index: 2;
  padding: 12px 14px;
}

.about-badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.625rem;
  color: var(--htsb-green);
  line-height: 1;
}

.about-badge-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--htsb-gray-600);
  max-width: 90px;
  line-height: 1.3;
}

/* Secondary Image */
.about-secondary-image {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 132px;
  height: 132px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--htsb-white);
  z-index: 3;
}

.about-secondary-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-lead {
  font-size: 1.125rem;
  color: var(--htsb-gray-800);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.65;
}
.about-body {
  color: var(--htsb-gray-600);
  margin-bottom: 32px;
  line-height: 1.75;
}

.about-highlights {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-highlight-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--htsb-green-pale);
  color: var(--htsb-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-highlight-item strong {
  display: block;
  font-weight: 700;
  color: var(--htsb-dark);
  margin-bottom: 3px;
}
.about-highlight-item p {
  color: var(--htsb-gray-600);
  font-size: 0.9rem;
  margin: 0;
}
.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(--htsb-white);
  position: relative;
}

.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(--htsb-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(--htsb-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--htsb-white);
  flex-shrink: 0;
}

.stat-bar-content {
  flex: 1;
}

.stat-bar-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.stat-bar-number .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--htsb-white);
  line-height: 1;
}

.stat-bar-number .stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--htsb-white);
  line-height: 1;
}

.stat-bar-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.stat-bar-divider {
  width: 1px;
  height: 80px;
  background: var(--htsb-primary);
  margin: 0 20px;
}

/* Responsive Stats Bar */
@media (max-width: 1024px) {
  .stats-bar {
    flex-wrap: wrap;
    gap: 30px;
  }

  .stat-bar-item {
    flex: 1 1 calc(50% - 15px);
    min-width: 250px;
  }

  .stat-bar-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .stats-bar-container {
    padding: 30px 20px;
  }

  .stat-bar-item {
    flex: 1 1 100%;
    min-width: auto;
  }

  .stats-bar {
    gap: 25px;
  }

  .stat-bar-number .stat-number {
    font-size: 2rem;
  }

  .stat-bar-icon {
    width: 50px;
    height: 50px;
  }
}

/* Stats Feature Cards */
.stats-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--htsb-white);
  border-radius: var(--radius-lg);
  padding: 0;
  text-align: center;
  box-shadow: 0 4px 20px rgba(64, 57, 39, 0.08);
  border: 1px solid var(--htsb-gray-100);
  transition: var(--ease);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(64, 57, 39, 0.12);
  border-color: var(--htsb-green-pale);
}

.feature-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--htsb-dark);
  margin: 24px 16px 12px 16px;
}

.feature-card p {
  color: var(--htsb-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 16px 24px 16px;
}

/* Stats CTA Buttons */
.stats-ctas {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.stats-cta-quote {
  background: var(--htsb-primary) !important;
  border-color: var(--htsb-primary) !important;
  color: var(--htsb-white) !important;
}

.stats-cta-phone {
  color: #1c1c1c !important;
  border-color: #1c1c1c !important;
}

.stats-cta-phone:hover {
  background: #1c1c1c !important;
  color: #ffffff !important;
}

/* Responsive Feature Cards */
@media (max-width: 1024px) {
  .stats-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .stats-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-ctas {
    flex-direction: column;
    gap: 16px;
  }

  .stats-cta-quote,
  .stats-cta-phone {
    width: 100%;
    text-align: center;
  }

  .feature-image {
    height: 160px;
  }

  .feature-card h3 {
    margin: 20px 12px 10px 12px;
  }

  .feature-card p {
    margin: 0 12px 20px 12px;
  }
}

/* ─── GALLERY SECTION ────────────────────────────────────────────────────────── */
.gallery-section {
  padding: var(--section-py) 0;
  background: var(--htsb-white);
}

.gallery-section .container {
  max-width: 1700px; /* Expanded for high-impact wider display */
}

.faq-section .container {
  max-width: 1140px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 320px;
  gap: 20px;
  margin-bottom: 48px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
}
.gallery-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.gallery-placeholder,
.gallery-item-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-placeholder {
  background: var(--htsb-green-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px dashed var(--htsb-green-pale);
}
.gallery-placeholder-icon {
  font-size: 2.5rem;
}
.gallery-placeholder-note {
  font-size: 0.8rem;
  color: var(--htsb-gray-400);
  text-align: center;
  padding: 0 16px;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(71, 55, 32, 0.9) 0%,
    transparent 60%
  );
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: var(--ease);
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-tag {
  display: inline-block;
  background: var(--htsb-gold);
  color: var(--htsb-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  width: fit-content;
}
.gallery-item-title {
  color: var(--htsb-white);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.gallery-footer {
  text-align: center;
}

/* ─── TESTIMONIALS SECTION ───────────────────────────────────────────────────── */
.testimonials-section {
  position: relative;
  padding: var(--section-py) 0;
  background: var(--htsb-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-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.rating-stars {
  display: flex;
  gap: 3px;
  color: var(--htsb-star);
}
.rating-text {
  color: var(--htsb-gray-600);
  font-size: 0.9375rem;
}

/* 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(400px, 85vw); /* Fluid width for small screens */
  flex-shrink: 0;
  background: #ffffff !important; /* Solid white card */
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-quote-icon {
  color: var(--htsb-green);
  opacity: 0.2;
  margin-bottom: 12px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--htsb-star) !important; /* Vibrant gold stars */
  margin-bottom: 20px !important;
}

.testimonial-text {
  color: var(--htsb-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(--htsb-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(--htsb-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(--htsb-green) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

.testimonial-date {
  color: var(--htsb-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));
  }
}

/* Google CTA */
.testimonials-google-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 56px;
  color: var(--htsb-gray-600);
  font-size: 0.9375rem;
  position: relative;
  z-index: 1;
}
.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--htsb-gray-100);
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-full);
  color: var(--htsb-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.google-reviews-link:hover {
  background: var(--htsb-gray-200);
  color: var(--htsb-dark);
}

/* ─── BLOG PREVIEW / BLOG LISTING ────────────────────────────────────────────── */
.blog-preview-section {
  padding: var(--section-py) 0;
  background: var(--htsb-bg);
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.posts-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.posts-grid--blog {
  grid-template-columns: repeat(2, 1fr);
}

/* Post Card */
.post-card {
  background: var(--htsb-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1.5px solid var(--htsb-gray-200);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-card-thumb-link {
  display: block;
  overflow: hidden;
}
.post-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--htsb-green-faint);
}
.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card-img {
  transform: scale(1.05);
}
.post-card-no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--htsb-green-faint);
}
.post-card-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--htsb-green);
  color: var(--htsb-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.post-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--htsb-gray-400);
  margin-bottom: 12px;
}
.post-card-meta-sep {
  color: var(--htsb-gray-200);
}
.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}
.post-card-title a {
  color: var(--htsb-dark);
}
.post-card-title a:hover {
  color: var(--htsb-green);
}
.post-card-excerpt {
  color: var(--htsb-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;
}

.post-card-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--htsb-green-pale) !important;
  color: var(--htsb-green-dark) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  margin-top: 20px !important;
  transition: var(--ease) !important;
}
.post-card-read-more:hover {
  background: var(--htsb-green) !important;
  color: var(--htsb-white) !important;
  gap: 14px !important;
}
.post-card-read-more svg {
  transition: transform 0.3s ease !important;
}
.post-card-read-more:hover svg {
  transform: translateX(4px) !important;
}

/* ─── SECONDARY HERO (BLOG/CONTACT) ─────────────────────────────────────────── */
.page-hero {
  background: var(--htsb-green-dark) !important;
  padding: 120px 0 80px !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: center !important;
}

.page-hero--blog,
.page-hero--contact {
  /* Inherits 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(--htsb-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(--htsb-gray-200) !important;
  background: var(--htsb-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(--htsb-white) !important;
  padding: 32px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--htsb-gray-200) !important;
}
.comment-meta {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}
.comment-author img {
  border-radius: var(--radius-full) !important;
}
.comment-metadata a {
  color: var(--htsb-gray-400) !important;
  font-size: 0.85rem !important;
}
.comment-content {
  color: var(--htsb-gray-600) !important;
  line-height: 1.7 !important;
}
.reply {
  margin-top: 16px !important;
}
.comment-reply-link {
  font-weight: 700 !important;
  color: var(--htsb-green-mid) !important;
  font-size: 0.9rem !important;
}

/* Comment Form */
.comment-respond {
  max-width: 800px !important;
  margin: 60px auto 0 !important;
  background: var(--htsb-white) !important;
  padding: 48px !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--htsb-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(--htsb-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(--htsb-gray-200) !important;
  border-radius: var(--radius-md) !important;
  background: var(--htsb-bg) !important;
  transition: var(--ease-fast) !important;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--htsb-green) !important;
  background: var(--htsb-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(--htsb-green) !important;
  color: var(--htsb-white) !important;
  padding: 16px 40px !important;
  border-radius: var(--radius-full) !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(--htsb-green-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* ─── CONTACT SECTION ────────────────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--htsb-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  background: var(--htsb-bg);
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--htsb-gray-800);
  margin-bottom: 6px;
}
.required {
  color: #e53e3e;
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--htsb-gray-800);
  background: var(--htsb-white);
  transition: var(--ease-fast);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--htsb-green);
  box-shadow: 0 0 0 3px rgba(118, 89, 47, 0.12);
}
.form-control::placeholder {
  color: var(--htsb-gray-400);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}
.form-group--hidden {
  display: none;
}
.form-submit-row {
  margin-top: 8px;
}
.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--htsb-gray-400);
  margin-top: 12px;
  justify-content: center;
  text-align: center;
}

/* Form Response */
.form-response {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-response.is-success {
  display: block;
  background: var(--htsb-green-faint);
  border: 1px solid var(--htsb-green-pale);
  color: var(--htsb-green-dark);
}
.form-response.is-error {
  display: block;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}

/* Contact Info Card */
.contact-info-card {
  background: var(--htsb-white);
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: sticky;
  top: 100px;
}
.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--htsb-dark);
  margin-bottom: 28px;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--htsb-green-faint);
  color: var(--htsb-green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--htsb-gray-400);
  margin-bottom: 3px;
}
.contact-info-value {
  font-weight: 600;
  color: var(--htsb-dark);
}
a.contact-info-value:hover {
  color: var(--htsb-green);
}

.contact-emergency-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--htsb-green);
  color: var(--htsb-white);
  border-radius: var(--radius-md);
  padding: 20px;
}
.contact-emergency-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--htsb-gold);
}
.contact-emergency-banner strong {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-emergency-banner p {
  font-size: 0.875rem;
  opacity: 0.85;
  margin-bottom: 12px;
}
.contact-emergency-banner .btn-white {
  font-size: 0.875rem;
}

/* Contact page */
.sots-contact-page-main {
  background: var(--htsb-cream);
}

.page-hero--contact .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 28, 28, 0.55) 0%,
    rgba(28, 28, 28, 0.75) 100%
  );
  z-index: 0;
}

.contact-section--page {
  padding: 56px 0 var(--section-py);
  background: transparent;
}

.contact-section--page .contact-container {
  max-width: 1140px;
}

.contact-section--page .contact-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
}

.contact-form-card-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--htsb-gray-200);
}

.contact-form-card-title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--htsb-dark-brand);
  margin-bottom: 8px;
}

.contact-form-card-desc {
  margin: 0;
  color: var(--htsb-secondary);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.contact-section--page .contact-form-card {
  background: var(--htsb-white);
  box-shadow: 0 8px 32px rgba(28, 28, 28, 0.06);
  border-color: rgba(28, 28, 28, 0.08);
}

.contact-section--page .contact-info-card {
  background: var(--htsb-white);
  box-shadow: 0 8px 32px rgba(28, 28, 28, 0.06);
  border-color: rgba(28, 28, 28, 0.08);
}

.contact-map-card {
  margin-top: 24px;
  padding: 24px;
  background: var(--htsb-white);
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(28, 28, 28, 0.06);
}

.contact-map-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--htsb-dark-brand);
  margin-bottom: 16px;
}

.contact-page-map,
.contact-page-map iframe {
  width: 100%;
  border-radius: var(--radius-md);
}

.contact-page-map iframe {
  display: block;
  height: 240px;
  border: 0;
}

.contact-section--page .contact-info-title,
.contact-section--page .contact-map-title {
  font-size: 1.125rem;
}

@media (max-width: 1024px) {
  .contact-section--page .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-section--page .contact-info-card {
    position: static;
  }
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.htsb-footer {
  position: relative;
  background: var(--htsb-dark);
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.htsb-footer::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  /* Premium blend: Gradient start at bottom and spread to top (but not much) + city with forest image */
  background-image:
    linear-gradient(to top, var(--htsb-dark) 0%, transparent 60%),
    url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&q=80&w=2000") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0.12 !important; /* Reduced opacity for a faded look */
  z-index: 0 !important;
}

/* Responsive footer background */
@media (max-width: 768px) {
  .htsb-footer::before {
    background-position: center center !important;
    background-size: cover !important;
  }
}

@media (max-width: 480px) {
  .htsb-footer::before {
    background-position: center center !important;
    background-size: cover !important;
  }
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 80px 0 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px;
}

.footer-logo {
  margin-bottom: 16px;
}
.footer-logo .custom-logo,
.footer-logo .site-logo {
  max-height: 56px;
  width: auto;
  display: block;
}
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--htsb-green-light);
  background: rgba(214, 110, 25, 0.225);
  border: 1px solid rgba(237, 117, 43, 0.458);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--htsb-white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: var(--ease-fast);
}
.footer-links li a:hover {
  color: var(--htsb-white);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.footer-contact-list svg {
  color: var(--htsb-green-light);
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact-list a:hover {
  color: var(--htsb-white);
}

.footer-cta {
  margin-top: 8px;
}

.footer-map {
  margin-top: 20px;
  width: 100%;
  border-radius: var(--htsb-radius-md, 8px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 0;
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright,
.footer-credits {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.footer-copyright a,
.footer-credits a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-copyright a:hover,
.footer-credits a:hover {
  color: var(--htsb-white);
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-legal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: var(--ease-fast);
  white-space: nowrap;
}
.footer-legal-link:hover {
  color: var(--htsb-white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ─── BLOG PAGE ──────────────────────────────────────────────────────────────── */
.htsb-blog-main .site-content,
.htsb-single-main .site-content {
  padding-top: 0;
}

.page-hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--htsb-green-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--htsb-green-dark) 0%,
    var(--htsb-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(--htsb-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(--htsb-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(--htsb-gray-200);
}
.blog-horizontal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--htsb-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(--htsb-gray-100);
  border-radius: 3px;
}
.blog-horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--htsb-green);
  border-radius: 3px;
}
.blog-horizontal-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--htsb-white);
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}
.blog-horizontal-item:hover {
  border-color: var(--htsb-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(--htsb-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-horizontal-title-item a:hover {
  color: var(--htsb-green);
}
.blog-horizontal-date {
  font-size: 0.8125rem;
  color: var(--htsb-gray-500);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  background: var(--htsb-white);
  border: 1.5px solid var(--htsb-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(--htsb-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--htsb-green-pale);
}
.search-input-wrap {
  position: relative;
}
.search-field {
  width: 100%;
  padding: 10px 44px 10px 14px;
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.search-field:focus {
  outline: none;
  border-color: var(--htsb-green);
}
.search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--htsb-green);
  padding: 0;
}

.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(--htsb-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.recent-post-title:hover {
  color: var(--htsb-green);
}
.recent-post-date {
  font-size: 0.75rem;
  color: var(--htsb-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(--htsb-gray-600);
  border-bottom: 1px solid var(--htsb-gray-100);
}
.categories-list li a:hover {
  color: var(--htsb-green);
}

.sidebar-cta {
  background: var(--htsb-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(--htsb-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(--htsb-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.sidebar-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--htsb-white);
}

/* No Posts */
.no-posts-message {
  text-align: center;
  padding: 80px 40px;
  background: var(--htsb-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--htsb-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(--htsb-gray-600);
  margin-bottom: 24px;
}

/* Pagination */
.htsb-pagination {
  margin-top: 48px;
}
.htsb-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.htsb-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(--htsb-gray-600);
  border: 1.5px solid var(--htsb-gray-200);
  background: var(--htsb-white);
  transition: var(--ease-fast);
}
.htsb-pagination .page-numbers:hover,
.htsb-pagination .page-numbers.current {
  background: var(--htsb-green);
  border-color: var(--htsb-green);
  color: var(--htsb-white);
}
.htsb-pagination .prev,
.htsb-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(--htsb-green-dark);
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-image--no-thumb {
  background: linear-gradient(
    135deg,
    var(--htsb-green-dark),
    var(--htsb-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(--htsb-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(--htsb-green);
  color: var(--htsb-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-right: 6px;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.875rem);
  font-weight: 700;
  color: var(--htsb-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(--htsb-green-light);
}
.post-meta-item a {
  color: rgba(255, 255, 255, 0.65);
}
.post-meta-item a:hover {
  color: var(--htsb-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(--htsb-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(--htsb-dark);
  margin: 40px 0 16px;
  padding-top: 12px;
  border-top: 2px solid var(--htsb-green-pale);
}
.post-content h3,
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--htsb-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(--htsb-green);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--htsb-green-faint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--htsb-gray-600);
}
.post-content img,
.entry-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.post-content a,
.entry-content a {
  color: var(--htsb-green);
  text-decoration: underline;
  text-decoration-color: var(--htsb-green-pale);
}
.post-content a:hover,
.entry-content a:hover {
  color: var(--htsb-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(--htsb-gray-200);
}
.post-tags-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--htsb-gray-600);
}
.post-tags a {
  font-size: 0.8125rem;
  padding: 4px 12px;
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-full);
  color: var(--htsb-gray-600);
  text-decoration: none;
  transition: var(--ease-fast);
}
.post-tags a:hover {
  background: var(--htsb-green);
  border-color: var(--htsb-green);
  color: var(--htsb-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(--htsb-gray-600);
}
.post-share-buttons {
  display: flex;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  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(--htsb-gray-200);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--htsb-gray-200);
  transition: var(--ease-fast);
}
.post-nav-link:hover {
  border-color: var(--htsb-green);
  background: var(--htsb-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(--htsb-green);
  margin-bottom: 4px;
}
.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--htsb-dark);
  line-height: 1.3;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--htsb-gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}
.author-bio-avatar img {
  border-radius: var(--radius-full);
}
.author-bio-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--htsb-green);
}
.author-bio-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--htsb-dark);
  margin: 4px 0 8px;
}
.author-bio-desc {
  font-size: 0.9rem;
  color: var(--htsb-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(--htsb-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(--htsb-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(--htsb-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(--htsb-white);
}

.post-sidebar-related {
  background: var(--htsb-white);
  border: 1.5px solid var(--htsb-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(--htsb-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.related-post-title:hover {
  color: var(--htsb-green);
}
.related-post-date {
  font-size: 0.75rem;
  color: var(--htsb-gray-400);
}

/* More Posts Section */
.more-posts-section {
  padding: 80px 0;
  background: var(--htsb-bg);
  border-top: 1px solid var(--htsb-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 ───────────────────────────────────────────────────────────────── */
.htsb-404-main {
  background: var(--htsb-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(--htsb-green-pale);
  line-height: 1;
  margin-bottom: 4px;
}
.error-404-subtitle {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--htsb-dark);
  margin-bottom: 16px;
}
.error-404-desc {
  color: var(--htsb-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(--htsb-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(--htsb-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.error-404-search button {
  padding: 10px 20px;
  background: var(--htsb-green);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */

/* ─── TRUST BAR SECTION ──────────────────────────────────────────────────────── */
.trust-bar {
  padding: 32px 0;
  background: var(--htsb-white);
  border-bottom: 1px solid var(--htsb-gray-200);
}

/* Mobile: Hide trust bar top border */
@media (max-width: 768px) {
  .trust-bar {
    border-top: none !important;
  }
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--htsb-gray-400);
  white-space: nowrap;
}
.trust-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  /* Premium side-fade gradients */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.trust-logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: trustMarquee 30s linear infinite;
  padding: 10px 0;
  will-change: transform;
}

.trust-logos-track:hover {
  animation-play-state: paused;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.trust-logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}

@keyframes trustMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 30px)); /* Half of the track + half gap */
  }
}
.trust-logo-icon {
  font-size: 1.5rem;
}
.trust-logo-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--htsb-dark);
}

/* ─── FAQ SECTION ────────────────────────────────────────────────────────────── */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--htsb-bg);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}

.faq-intro-col .section-label,
.faq-intro-col .section-title,
.faq-intro-col .faq-intro-desc {
  text-align: left;
}

.faq-intro-desc {
  margin-bottom: 0;
}

.faq-intro-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: none;
  margin-inline: 0;
}
.faq-item {
  background: var(--htsb-white);
  border: 1.5px solid var(--htsb-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--ease);
}
.faq-item.is-active {
  border-color: var(--htsb-green-light);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--htsb-dark);
  cursor: pointer;
}
.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--htsb-green-faint);
  color: var(--htsb-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
  background: var(--htsb-green);
  color: var(--htsb-white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-active .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 32px 24px;
  color: var(--htsb-gray-600);
  line-height: 1.7;
}

/* ─── PREMIUM OVERRIDES & HARDENING ─────────────────────────────────────────── */
.btn {
  border-radius: var(--radius-full) !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;
}
.htsb-header.is-scrolled .header-main {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
}
.section-title {
  color: var(--htsb-dark) !important;
}
.section-label {
  color: var(--htsb-green-mid) !important;
}

/* Responsive fixes */
@media (max-width: 900px) {
  .contact-grid,
  .about-grid,
  .service-area-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .service-area-map iframe {
    height: 320px;
  }

  .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%;
  }
}

/* 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(--htsb-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: 85vh;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-trust {
    flex-direction: column;
    gap: 10px;
  }

  .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;
  }
  .footer-legal-nav {
    justify-content: 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(--htsb-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(--htsb-gray-200) !important;
}
.widget-title {
  font-size: 1.125rem !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--htsb-green-pale) !important;
}
.categories-list li {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--htsb-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;
}

/* ─── REVEAL ANIMATIONS (SAFETY) ────────────────────────────────────────────── */
.reveal-section,
.reveal-item {
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  opacity: 1; /* Default to visible */
}

/* Specific reveal states - hidden until .is-visible is added by JS */
.reveal-item[data-reveal="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
}
.reveal-item[data-reveal="fade-up"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-section.is-visible {
  opacity: 1;
}

/* =============================================================================
   RESPONSIVE OVERHAUL
   ============================================================================= */

/* ─── Global Fluid Adjustments ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
    --container-px: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --container-px: 20px;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

/* ─── Header & Premium Mobile Menu ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .htsb-header {
    top: 0 !important; /* Flush to top on mobile */
  }

  .header-main {
    margin: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* Defined edge */
  }

  .header-inner {
    padding: 0 20px;
    justify-content: space-between !important;
  }
  .htsb-header {
    padding-top: 0 !important;
  }

  /* Normal Dropdown Menu */
  .header-nav {
    position: absolute;
    top: 100%; /* flush to bottom of header */
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 0; /* Match full-width header */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    display: block; /* Switch from flex for vertical stacking */
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
  }

  .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-menu > li > a {
    font-size: 1.25rem;
    color: var(--htsb-gray-800) !important;
    padding: 8px 0;
    width: 100%;
  }

  .nav-menu > li > a::after {
    display: none; /* Hide underline on mobile for cleaner look */
  }

  .mobile-toggle {
    display: flex !important;
    z-index: 10000;
  }

  /* Admin Bar Support for flush header */
  .admin-bar .htsb-header {
    top: 32px !important;
  }
  @media (max-width: 782px) {
    .admin-bar .htsb-header {
      top: 0 !important; /* Mobile: flush to top, no admin bar offset */
    }
  }

  .site-branding {
    flex: 0 0 auto;
  }
  .header-actions {
    display: none;
  }
}

@media (max-width: 768px) {
  .htsb-header {
    top: 0 !important;
  }
  .header-main {
    margin: 0 !important;
  }
  .header-inner {
    height: 76px;
  }
  .site-name {
    font-size: 1rem;
  }
}

/* ─── Hero Section ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section {
    padding-top: 140px;
    text-align: center;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-subtitle {
    margin-inline: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .hero-quick-card {
    max-width: 500px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 72px; /* Match navbar height to remove gap */
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-quick-card-inner {
    padding: 24px;
  }

  .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%;
  }
}

/* ─── About Section (Who We Are) ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid,
  .service-area-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-image-col {
    justify-content: center;
  }

  .about-image-wrapper {
    max-width: 400px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .about-badge {
    padding: 10px 14px;
  }
  .about-badge--certified {
    top: 15px;
    left: 10px;
  }
  .about-badge--experience {
    position: relative !important; /* Change from absolute to relative */
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important; /* Full width */
    text-align: center !important;
    margin-top: 10px !important; /* Small gap below image */
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 10 !important;
  }
  .about-main-img,
  .about-img-placeholder {
    height: 280px !important;
  }

  .about-secondary-image {
    width: 100px;
    height: 100px;
    top: -10px;
    right: -10px;
  }
}

/* ─── Stats Section ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Gallery Section ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
}

/* ─── FAQ Section ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 640px;
  }
}

@media (max-width: 480px) {
  .faq-intro-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-intro-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .faq-question {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  .faq-answer-inner {
    padding: 0 20px 20px;
  }
}

/* ─── 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;
  }
  .footer-legal-nav {
    justify-content: center;
  }
}

/* ─── FLOATING ACTION BUTTONS ────────────────────────────────────────────────── */
.htsb-floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  pointer-events: auto;
}

.htsb-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;
}

.htsb-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.fab-phone {
  background: var(--htsb-green-dark);
  color: var(--htsb-white);
}

.fab-phone:hover svg {
  color: var(--htsb-primary) !important;
  stroke: var(--htsb-primary) !important;
}

.fab-contact {
  background: var(--htsb-white);
  color: var(--htsb-green-dark);
}

.htsb-fab svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.htsb-fab:hover svg {
  transform: scale(1.1);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .htsb-floating-actions {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
  .htsb-fab {
    width: 52px;
    height: 52px;
  }
}

/* Visually hidden labels (accessible to screen readers) */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
