/* =============================================================================
   Hamburg Tree Service   Main Stylesheet
   Child theme of Twenty Twenty-Four
   ============================================================================= */

/* ─── Custom Fonts ───────────────────────────────────────────────────────────── */
/* Empira Demi Bold — place font files in assets/fonts/                          */
/* Required: Empira-DemiBold.woff2  and  Empira-DemiBold.woff                   */
@font-face {
  font-family: "Empira";
  src:
    url("../fonts/Empira-DemiBold.woff2") format("woff2"),
    url("../fonts/Empira-DemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Franklin Gothic Std Extra Condensed";
  src: url("../fonts/Franklin Gothic Std Extra Condensed.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */

:root {
  /* ── Hamburg Tree Service – Brand Palette ── */
  /* #1c1c1c  Almost Black – text, headings                  */
  /* #8b6c5b  Burnt Orange – accent: buttons, icons, badges  */
  /* #666b6e  Steel Gray   – secondary text, borders         */
  /* #ffffff  White        – base background                  */

  /* Main brand colors */
  --hts-primary: #8b6c5b;
  --hts-primary-dark: #251c17; /* Orange – CTAs, links, badges */
  --hts-secondary: #666b6e; /* Steel Gray – hover, borders */
  --hts-dark-brand: #1c1c1c; /* Almost Black – headings, nav text */
  --hts-darkest: #1c1c1c; /* Darkest – overlays */
  --hts-light-bg: #ffffff; /* White – page background */
  --hts-cream: #fdf8f6; /* Warm off-white – cards, subtle bg */

  /* Button colors */
  --hts-button: #8b6c5b; /* Orange – buttons */
  --hts-button-hover: #9f6a1a; /* Darker orange – button hover */

  /* Legacy color aliases (mapped to new palette) */
  --hts-green: #8b6c5b; /* → Orange accent */
  --hts-green-dark: #1c1c1c; /* → Almost Black */
  --hts-green-mid: #666b6e; /* → Steel Gray */
  --hts-green-light: #8b6c5b; /* → Orange accent */
  --hts-green-pale: #fdf0eb; /* → Very light orange tint (backgrounds) */
  --hts-green-faint: #fdf8f6; /* → Warm near-white */
  --hts-brown: #8b6c5b; /* → Orange */
  --hts-gold: #8b6c5b;
  --hts-star: #ff9d00; /* → Orange */
  --hts-gold-dark: #8a3d1f; /* → Darker orange */

  /* Neutrals */
  --hts-dark: #1c1c1c;
  --hts-gray-800: #1c1c1c;
  --hts-gray-600: #666b6e;
  --hts-gray-400: #9a9fa2;
  --hts-gray-200: #e1e5e9;
  --hts-gray-100: #f5f5f5;
  --hts-white: #ffffff;
  --hts-bg: #ffffff; /* White page background */

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 64px;
  --container-max: 1280px;
  --container-px: 24px;

  /* Shadows – warm neutral */
  --shadow-xs: 0 1px 3px rgba(28, 28, 28, 0.07);
  --shadow-sm: 0 2px 10px rgba(28, 28, 28, 0.08);
  --shadow-md: 0 4px 24px rgba(28, 28, 28, 0.1);
  --shadow-lg: 0 8px 40px rgba(28, 28, 28, 0.13);
  --shadow-xl: 0 16px 60px rgba(28, 28, 28, 0.17);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transition */
  --ease: all 0.3s ease;
  --ease-fast: all 0.18s ease;

  /* Premium Accents */
  --glass-bg: rgba(169, 79, 42, 0.08);
  --glass-border: rgba(169, 79, 42, 0.15);
  --glass-blur: blur(12px);
}

/* ─── Reset / Base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hts-gray-800);
  background-color: var(--hts-bg);
  overflow-x: hidden;
}

body.admin-bar {
  scroll-padding-top: 92px;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--hts-green);
  text-decoration: none;
  transition: var(--ease-fast);
}
a:hover {
  color: var(--hts-green-dark);
}
a:focus-visible {
  outline: 3px solid var(--hts-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;
}

/* Header Free Quote button - add 10px gap for icon */
.header-actions .btn {
  gap: 10px;
}

.btn:focus-visible {
  outline: 3px solid var(--hts-button);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--hts-green);
  color: var(--hts-white);
  border-color: var(--hts-green);
}
.btn-primary:hover {
  background: var(--hts-green-dark);
  border-color: var(--hts-green-dark);
  color: var(--hts-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--hts-green);
  border-color: var(--hts-green);
}
.btn-outline:hover {
  background: var(--hts-green);
  color: var(--hts-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--hts-gray-600);
  border: none;
  padding: 0;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--hts-primary);
  text-underline-offset: 4px;
  box-shadow: none;
}
.btn-ghost:hover {
  background: transparent;
  color: var(--hts-primary);
  transform: none;
  text-decoration-color: var(--hts-primary);
}

/* About section outline button - black */
.about-section .btn-outline {
  color: #1c1c1c !important;
  border-color: #1c1c1c !important;
}
.about-section .btn-outline:hover {
  background: #1c1c1c !important;
  color: #ffffff !important;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--hts-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(--hts-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--hts-white);
  color: var(--hts-green-dark);
  border-color: var(--hts-white);
}
.btn-white:hover {
  background: var(--hts-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(--hts-gray-800);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--hts-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(--hts-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(--hts-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(--hts-white) !important;
}
.section-header--light .rating-stars svg {
  color: var(--hts-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(--hts-white);
}
.section-header--light .section-label {
  color: var(--hts-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);
}

/* Slide from left animation */
.reveal-from-left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-from-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Drop from top animation */
.reveal-from-top {
  opacity: 0;
  transform: translateY(-60px);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-from-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from bottom animation */
.reveal-from-bottom {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-from-bottom.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero-specific stagger delays ── */
/* Left content: fires first */
.hero-left.reveal-from-left {
  transition-delay: 0.1s;
}
/* Form card: fires 0.25s after left content */
.hero-form-card.reveal-from-top {
  transition-delay: 0.35s;
}
/* Info bar: fires last, after both above */
.hero-info-bar-wrap.reveal-from-bottom {
  transition-delay: 0.6s;
}

.reveal-item:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-item:nth-child(3) {
  transition-delay: 0.2s;
}
.hts-header {
  position: fixed;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 10000;
  pointer-events: none;
  transition: none !important;
}

.header-top-bar {
  display: block !important;
  background: #251c17; /* Dark brownish-black from image */
  color: #ffffff;
  padding: 12px 0; /* Increased from 6px */
  pointer-events: auto;
}

/* Wider container for header top bar */
.header-top-bar .container {
  max-width: 1500px; /* Increased from default 1280px */
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-top-left {
  flex: 0 0 auto;
  margin-right: 40px; /* Move logo more left by adding right margin */
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: 70px; /* Move contact buttons more right */
}

/* Logo in Top Bar */
.header-top-left .site-branding img {
  max-height: 38px; /* Reduced width/height */
  width: auto;
  filter: brightness(0) invert(1); /* Ensure logo is white on dark background */
}

/* Phone Pill - White corner full curved design */
.header-contact-item.phone-pill {
  background: #ffffff;
  padding: 4px 18px 4px 5px;
  border-radius: 999px;
  gap: 10px;
  transition: transform 0.2s ease;
}

.header-contact-item.phone-pill:hover {
  transform: translateY(-1px);
}

.header-contact-item.phone-pill a {
  color: #1c1c1c !important;
  font-weight: 700;
  font-size: 0.9375rem;
}

.header-contact-item.phone-pill .icon-circle {
  background: #6c584c; /* Brownish background for icon inside white pill */
  width: 28px;
  height: 28px;
  color: #ffffff;
}

/* Contact Items with Icon Circles */
.header-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
}

.header-contact-item a {
  color: #ffffff !important;
  text-decoration: none;
}

.header-contact-item .icon-circle {
  width: 30px; /* Reduced size */
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

/* Main Bar: Light */
.header-main {
  background: transparent !important;
  backdrop-filter: blur(15px);
  padding: 0;
  pointer-events: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: background 0.4s ease, backdrop-filter 0.4s ease; /* Added transition */
}

/* Wider container for header main navigation bar */
.header-main .container {
  max-width: 1500px; /* Same width as top bar */
}

.header-inner {
  height: 52px; /* Reduced from 64px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav {
  position: static !important;
  transform: none !important;
  left: auto !important;
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding-left: 0;
}

.nav-menu {
  display: flex;
  align-items: left;
  gap: 5px; /* Reduced gap between links */
  margin: 0;
  padding: 0;
}

.nav-menu > li > a {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem !important; /* Reduced from 0.8125rem */
  letter-spacing: 0.04em;
  color: #444444 !important;
  padding: 12px 18px !important; /* Reduced padding for compact bar */
  transition: color 0.2s ease;
}

.nav-menu > li:first-child > a {
  padding-left: 0 !important;
}

.nav-menu > li > a:hover {
  color: #1c1c1c !important;
}

/* CTA Button Pill */
.btn-quote {
  background: #251c17 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 10px 22px !important;
  font-size: 0.8125rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 12px;
  border: none !important;
  transition:
    transform 0.2s ease,
    background 0.2s ease !important;
}

.btn-quote:hover {
  background: #1c1c1c !important;
  transform: scale(1.02);
}

.btn-quote svg {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  padding: 3px;
  width: 20px;
  height: 20px;
}

/* ─── MOBILE NAVIGATION OVERRIDE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .header-top-bar {
    padding: 8px 0;
  }
  .header-top-bar .container {
    max-width: 100% !important;
  }
  .header-search,
  .header-contact-item {
    display: none !important;
  }
  .header-top-right {
    display: none !important;
  }
  .header-top-inner {
    justify-content: center;
  }
  .header-top-left {
    margin-right: 0 !important;
    width: 100%;
    text-align: center;
    display: block !important;
  }
  .site-branding {
    margin: 0 auto !important;
    display: inline-block !important;
  }
  .site-logo-link,
  .site-logo {
    display: block !important;
    margin: 0 auto !important;
  }
  .header-top-left .site-branding img {
    max-height: 40px;
    margin: 0 auto !important;
    display: block !important;
  }
  .hts-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 .hts-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: 50px !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    max-width: none !important;
    position: relative;
  }
  .site-branding {
    position: relative !important;
    z-index: 100001 !important;
  }
  .header-actions {
    display: flex !important;
    position: absolute !important;
    right: 20px !important;
    z-index: 100001 !important;
  }
  .header-actions .btn {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 !important;
    width: 28px !important;
    height: 28px !important;
  }
  .hamburger-bar {
    background: var(--hts-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 offset */
.admin-bar .hts-header {
  top: 32px !important;
}

@media (max-width: 782px) {
  .admin-bar .hts-header {
    top: 0 !important; /* Mobile: flush to top, no admin bar offset */
  }
}

/* Scrolled state */
.hts-header.is-scrolled .header-main {
  background: #ffffff !important;
  backdrop-filter: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hts-header.is-scrolled .header-inner {
  height: 52px;
}

.hts-header.is-scrolled .nav-menu > li > a {
  color: #444444 !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 hts-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(--hts-green-dark) !important; /* Default color with !important */
  line-height: 1.1;
}
.site-tagline {
  font-size: 0.7rem;
  color: var(--hts-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: flex-start;
}
.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 8px; /* Reduced margin for tighter spacing */
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--hts-gray-800);
  transition: var(--ease-fast);
  position: relative;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: var(--hts-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(--hts-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(--hts-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(--hts-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;
    will-change: transform;
  }

  /* 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(--hts-green-dark) !important;
  }
}

/* Sticky header logic - Simplified for pill */
.hts-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 */
}
.hts-header.is-scrolled {
  transform: translateY(0);
}

/* ─── HERO SECTION (Split Layout) ────────────────────────────────────────────── */

/* ── Prevent Testimonials rating stacking bug ── */
@media (max-width: 768px) {
  .testimonials-rating-summary {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .rating-stars {
    margin-bottom: 8px !important;
  }


}

/* ─── Premium Hero Section ─── */
.hero-section {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  background: #1c1c1c;
  overflow: hidden;
  padding-top: 230px; /* Adjusted to move content slightly down */
}

/* ── Immersive Background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── Content Grid ── */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  width: 100%;
}

/* ── Hero Messaging ── */
.hero-title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.2em 0.5em; /* Added vertical gap for wrapped lines */
  margin-bottom: 24px;
  font-family: "Empira", var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1; /* Slightly increased for better readability when wrapping */
  color: var(--hts-dark);
  text-transform: uppercase;
}
.hero-title-top,
.hero-title-mid,
.hero-title-accent {
  display: inline-block;
  white-space: nowrap; /* Keep phrases together */
}
.hero-title-accent {
  color: var(--hts-primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--hts-dark);
  opacity: 0.8;
  max-width: 720px;
  margin-bottom: 48px;
  margin-inline: auto;
}

/* ── Hero Buttons ── */
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--hts-primary);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(139, 108, 91, 0.3);
}
.btn-hero-primary:hover {
  background: #ffffff;
  color: var(--hts-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.btn-hero-primary:hover .btn-icon {
  background: rgba(139, 108, 91, 0.1);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  border: 2px solid var(--hts-primary);
  background: transparent;
  backdrop-filter: var(--glass-blur);
  color:var(--hts-primary);
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(139, 108, 91, 0.3);
}

.btn-hero-secondary:hover {
  background: #ffffff;
  border: 2px solid var(--hts-primary);
  color: var(--hts-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover .play-icon {
  background: rgba(139, 108, 91, 0.1);
}



/* ── Right Column: Floating Assets ── */
.hero-right-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-floating-card {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 400px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(139, 108, 91, 0.2);
  border: 1px solid rgba(139, 108, 91, 0.3);
  border-radius: 100px;
  color: var(--hts-primary);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.stat-box {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-family: "Empira", var(--font-heading);
  font-size: 3rem;
  color: #ffffff;
  line-height: 1;
}
.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

.card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.card-footer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* ── Visual Decoration ── */
.hero-visual-decoration {
  position: absolute;
  inset: -100px;
  z-index: 1;
  pointer-events: none;
}
.deco-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}
.deco-dots {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 2px,
    transparent 2px
  );
  background-size: 15px 15px;
}

/* ── Integrated Trust Bar ── */
.hero-info-bar-wrap {
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 100%;
  z-index: 20;
}
.hero-trust-bar {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.trust-icon-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 108, 91, 0.1);
  border-radius: 12px;
  color: var(--hts-primary);
}
.trust-icon-box svg {
  width: 22px;
  height: 22px;
}

.trust-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}
.trust-text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.trust-divider {
  display: none;
}

/* ── Responsive Adjustments ── */
@media (max-width: 1200px) {
  .hero-section {
    padding-top: 180px;
  }
  .hero-title {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
  }
  .btn-hero-secondary {
    color: #ffffff !important;
    border-color: #ffffff !important;
  }
  .btn-hero-secondary .play-icon {
    color: #ffffff !important;
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    min-height:90vh;
    align-items: center;
    justify-content: center;
  }
  .hero-title {
    flex-direction: column;
    line-height: 1.1;
    gap: 15px;
    font-size: 3.25rem;
  }
  .hero-subtitle {
    font-size: 1.0625rem;
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    align-items: center;
    justify-content: center;
  }
  .hero-title {
    font-size: 2.75rem;
    line-height: 1.1;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 36px;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-ctas a {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
  .hero-visual-decoration {
    opacity: 0.5;
  }
  .deco-circle {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 90vh;
  }
  .hero-title {
    font-size: 2.25rem;
    gap: 8px;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
  }
  .btn-hero-primary, 
  .btn-hero-secondary {
    font-size: 0.875rem;
    padding: 14px 20px;
  }
  .hero-scroll-down {
    bottom: 20px;
  }
}

.hero-info-avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.hero-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -12px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero-avatar--1 {
  background-image: url("https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=100&h=100&fit=crop&crop=face");
  margin-left: 0;
}
.hero-avatar--2 {
  background-image: url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=100&h=100&fit=crop&crop=face");
}
.hero-avatar--3 {
  background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=100&h=100&fit=crop&crop=face");
}
.hero-avatar--4 {
  background-image: url("https://images.unsplash.com/photo-1438761681033-6461ffad8d80?w=100&h=100&fit=crop&crop=face");
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-form-card {
    flex: 0 0 320px;
  }
  .hero-info-bar-wrap {
    padding-inline: 24px;
  }
}

@media (max-width: 860px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 40px;
    padding-inline: 28px;
    gap: 32px;
  }
  .hero-left {
    width: 100%;
    flex: none;
    text-align: center;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-form-card {
    flex: none;
    width: 100%;
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    min-height: 95vh;
    align-items: center;
    justify-content: center;
  }
  .hero-container {
    padding-top: 96px;
    padding-bottom: 32px;
    padding-inline: 20px;
  }
  .hero-eyebrow {
    font-size: 0.9375rem;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    font-size: 0.9375rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .hero-ctas a {
    width: 100%;
    justify-content: center;
  }
  .hero-btn-primary,
  .hero-btn-dark-outline {
    padding: 12px 18px;
    font-size: 0.875rem;
  }
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    justify-items: start; /* align items to start for cleaner text alignment in grid */
    margin-top: 32px;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-trust-item {
    font-size: 0.8125rem;
  }
  .hero-trust-icon {
    width: 28px;
    height: 28px;
  }
  .hero-form-card {
    padding: 28px 22px 22px;
  }
  .hero-info-bar-wrap {
    padding-inline: 12px;
  }
  .hero-info-bar {
    margin-top: -20px;
    border-radius: 10px;
    padding-inline: 0;
  }
  .hero-info-grid {
    grid-template-columns: 1fr;
  }
  .hero-info-item {
    border-right: none !important;
    border-bottom: 1px solid var(--hts-gray-200) !important;
  }
  .hero-info-item:last-child {
    border-bottom: none !important;
  }
  .site-content {
    padding-top: 0 !important;
  }
}

/* [REMOVED DUPLICATE ABOUT SECTION 1] */


@media (max-width: 720px) {
  .about-photo-img {
    height: 300px;
  }
}

/* ─── SERVICES SECTION ───────────────────────────────────────────────────────── */
.services-section {
  background: #ffffff; /* warm cream — same family as About */
}

.services-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 72px 40px 64px;
}

/* ── Section Header ── */
.services-header {
  text-align: center;
  margin-bottom: 48px;
}

.services-label-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.services-section {
  margin-top: 40px;
  min-height: 900px; /* Large minimum height */
  padding: 120px 0 120px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: flex-start; /* Switch to top-aligned to stop "jumping" */
}

.services-wide-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.services-interactive-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr; /* Asymmetric 3-col layout */
  gap: 60px;
  align-items: flex-start; /* Ensure items don't shift vertically when one expands */
  min-height: 650px; /* Internal grid stability */
}

/* ── Column 1: Text ── */
.services-col-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 20px;
}

.services-main-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--hts-dark);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  line-height: 1.1;
}

.title-icon {
  color: var(--hts-primary);
  display: inline-flex;
}

.services-main-desc {
  font-size: 1.125rem;
  color: var(--hts-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

.services-bottom-deco {
  margin-top: auto;
  padding-top: 60px;
}

.services-bottom-label {
  display: flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--hts-secondary);
  letter-spacing: 0.15em;
  opacity: 0.6;
}

/* ── Column 2: Image ── */
.services-col-image {
  position: relative;
  z-index: 2;
}

.featured-img-frame {
  width: 100%;
  height: 650px; /* Fixed height to anchor the layout */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.featured-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.5s ease,
    transform 0.8s ease;
}

/* ── Column 3: List ── */
.services-col-list {
  padding-left: 20px;
}

.services-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Spread cards to match image height */
  height: 650px; /* Match the featured-img-frame height */
  gap: 12px;
}

.service-item {
  background: #fcfcfc;
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 13px;
  padding: 16px 24px; /* Reduced padding for smaller cards */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-item-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--hts-dark);
  margin: 0;
}

.service-item-toggle {
  width: 36px;
  height: 36px;
  background: #ffffff;
  color: var(--hts-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.service-item-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
}

/* Active State */
.service-item.is-active {
  background: var(--hts-primary-dark);
  border-color: var(--hts-primary);
  box-shadow: 0 20px 40px rgba(139, 108, 91, 0.2);
  transform: scale(1.02);
}

.service-item.is-active .service-item-title {
  color: #ffffff;
}

.service-item.is-active .service-item-toggle {
  background: #ffffff;
  color: var(--hts-primary);
  transform: rotate(180deg);
}

.service-item.is-active .service-item-content {
  max-height: 250px;
  margin-top: 18px;
  opacity: 1;
}

.service-item-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 1550px) {
  .services-wide-container {
    min-width: 100%;
    padding: 0 32px;
  }
  .services-main-title {
    font-size: 3rem;
  }
}

@media (max-width: 1200px) {
  .services-section {
    padding: 60px 0 80px;
    margin-top: 20px;
    min-height: auto;
  }
  .services-interactive-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .services-col-text {
    padding-right: 0;
    text-align: center;
  }
  .services-main-title {
    justify-content: center;
    font-size: 3rem;
  }
  .services-bottom-label {
    justify-content: center;
  }
  .featured-img-frame {
    height: 450px;
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 40px 0 60px;
    margin-top: 0;
  }
  .services-main-title {
    font-size: 2.5rem;
  }
  .services-col-list {
    padding-left: 0;
  }
  .featured-img-frame {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .services-main-title {
    font-size: 2rem;
  }
  .featured-img-frame {
    height: 280px;
  }
  .service-item-trigger {
    padding: 15px 0;
  }
  .trigger-name {
    font-size: 1.1rem;
  }
}

/* ─── CTA SPLIT BANNER ───────────────────────────────────────────────────────── */
.cta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

/* ── Left Panel ── */
.cta-split-left {
  background: #251c17; /* brand dark */
  padding: 80px 70px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Subtle grain texture overlay */
.cta-split-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Eyebrow */
.cta-split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hts-primary);
}

.cta-eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hts-primary);
}

/* Title */
.cta-split-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
}

.cta-title-accent {
  color: var(--hts-primary);
  display: inline-block;
}

.cta-title-highlight {
  color: #ffffff;
  position: relative;
  display: inline-block;
}

/* underline accent on "landscapes." */
.cta-title-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--hts-primary);
  border-radius: 2px;
  opacity: 0.7;
}

/* Description */
.cta-split-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 440px;
  margin: 0;
}

/* Trust Stats Row */
.cta-split-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  width: fit-content;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.cta-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.cta-stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  white-space: nowrap;
}

.cta-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

/* Buttons */
.cta-split-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-split-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.cta-split-btn--primary {
  background: var(--hts-primary);
  color: #ffffff;
  box-shadow: 0 8px 30px rgba(139, 108, 91, 0.4);
}

.cta-split-btn--primary:hover {
  background: #a07060;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(139, 108, 91, 0.55);
}

.cta-split-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.cta-split-btn--primary:hover .cta-split-btn-icon {
  background: rgba(255, 255, 255, 0.35);
}

.cta-split-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.cta-split-btn--ghost:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.cta-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Right Panel ── */
.cta-split-right {
  position: relative;
  overflow: hidden;
}

/* Angled clip on left edge of image panel */
.cta-split-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  width: 80px;
  height: 100%;
  background: #251c17;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
}

.cta-split-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.cta-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease;
}

.cta-split:hover .cta-split-img {
  transform: scale(1.04);
}

/* Floating ISA badge */
.cta-img-badge {
  position: absolute;
  bottom: 36px;
  left: 60px; /* offset from the angled edge */
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  z-index: 3;
  animation: badge-float 3s ease-in-out infinite;
}

.cta-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--hts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.cta-img-badge strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 800;
  color: #1c1c1c;
  line-height: 1.2;
}

.cta-img-badge span {
  display: block;
  font-size: 0.75rem;
  color: #666b6e;
  font-weight: 500;
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .cta-split-left {
    padding: 60px 60px 60px 40px;
  }
  .cta-split-stats {
    gap: 16px;
    padding: 20px 24px;
  }
}

@media (max-width: 991px) {
  .cta-split-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }
  .cta-split-desc {
    font-size: 1rem;
  }
}

@media (max-width: 860px) {
  .cta-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .cta-split-right {
    height: 350px;
    order: -1; /* image on top on mobile */
  }
  .cta-split-right::before {
    display: none; /* Hide brown shape on mobile/tablet */
  }
  .cta-split-left {
    padding: 60px 24px 80px;
    align-items: center;
    text-align: center;
  }
  .cta-split-desc {
    max-width: 100%;
  }
  .cta-split-stats {
    width: 100%;
    max-width: 450px;
    justify-content: space-around;
    margin-inline: auto;
  }
  .cta-split-actions {
    justify-content: center;
  }
  .cta-img-badge {
    display: none; /* Hide badge on mobile/tablet */
  }
}

@media (max-width: 480px) {
  .cta-split-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta-split-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .cta-split-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: transparent;
    border: none;
    padding: 0;
  }
  .cta-stat-divider {
    display: none;
  }
  .cta-stat:last-child {
    grid-column: span 2;
  }
  .cta-split-title {
    font-size: 1.85rem;
  }
}


/* [REMOVED DUPLICATE ABOUT SECTION 2] */


/* ─── STATS PORTFOLIO SECTION ────────────────────────────────────────────────── */
.stats-portfolio-section {
  padding: 120px 0;
  background: #ffffff;
}

.stats-portfolio-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.stats-header-row {
  display: flex;
  justify-content: center; /* Center the title row */
  align-items: flex-start;
  margin-bottom: 50px;
  gap: 40px;
  text-align: center;
}

.stats-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--hts-primary-dark);
  line-height: 1.1;
  margin: 0;
  max-width: 900px;
}

.stats-desc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 60px;
  max-width: 62%;
  margin: 0 auto 80px;
  text-align: justify;
}

.stats-desc-col p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hts-secondary);
  margin: 0;
}

/* Visual Grid */
.stats-visual-grid {
  display: grid;
  max-width: 1500px;
  grid-template-columns: 0.9fr 1.3fr 1.5fr 1fr;
  gap: 24px;
  align-items: flex-end;
}

.stat-visual-item {
  display: flex;
  flex-direction: column;
}

.stat-item-top-text {
  padding: 0 0 20px 0;
}

.stat-visual-number {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--hts-primary);
  line-height: 1;
}

.stat-visual-suffix,
.card-stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--hts-primary);
  margin-left: 2px;
}

.stat-visual-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hts-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 5px;
}

.stat-visual-card {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.image-card-square {
  height: 280px;
}

.image-card-wide {
  height: 240px;
  border-radius: 40px;
}

.stat-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Brand Card (Accurate) */
.dark-brand-card-accurate {
  background: var(--hts-primary-dark);
  height: 320px;
  display: flex;
  padding: 30px;
  gap: 20px;
  color: #ffffff;
}

.dark-brand-card-accurate .card-content-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40%;
}

.dark-brand-card-accurate .card-content-right {
  width: 60%;
}

.dark-brand-card-accurate .card-icon-top {
  transform: rotate(90deg);
  opacity: 0.8;
}

.dark-brand-card-accurate .card-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  display: inline-block;
}

.dark-brand-card-accurate .card-stat-suffix {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.dark-brand-card-accurate .card-stat-label {
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.8;
}

.card-image-asset {
  height: 100%;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.card-image-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Light Brand Card (Accurate) */
.light-brand-card-accurate {
  background: linear-gradient(150deg, #ffffff 0%, #b7aba4 100%); /* Top white to subtle brown tint */
  height: 440px;
  display: flex;
  flex-direction: column;
  padding: 30px 0 0;
}

.light-brand-card-accurate .card-stat-wrap {
  padding: 0 30px 30px;
  color: var(--hts-primary-dark);
}

.light-brand-card-accurate .card-stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  display: inline-block;
}

.light-brand-card-accurate .card-stat-suffix {
  color: var(--hts-primary);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.light-brand-card-accurate .card-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hts-primary-dark);
}

.card-image-bottom {
  margin-top: auto;
  height: 300px;
}

.card-image-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .stats-header-row {
    margin-bottom: 40px;
  }
  .stats-visual-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .image-card-square,
  .image-card-wide,
  .dark-brand-card-accurate,
  .light-brand-card-accurate {
    height: 380px;
  }
}

@media (max-width: 991px) {
  .stats-portfolio-section {
    padding: 80px 0;
  }
  .stats-portfolio-container {
    padding-inline: 30px;
  }
  .stats-main-heading {
    font-size: 2.75rem;
  }
  .stats-desc-row {
    max-width: 85%;
  }
}

@media (max-width: 768px) {
  .stats-portfolio-container {
    padding-inline: 20px;
  }
  .stats-desc-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
    max-width: 100%;
    text-align: left;
  }
  .stats-visual-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stat-visual-item {
    align-items: center;
    text-align: center;
  }
  .image-card-square,
  .image-card-wide,
  .dark-brand-card-accurate,
  .light-brand-card-accurate {
    height: auto;
    aspect-ratio: 16/10;
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
  }
  .stat-visual-number {
    font-size: 3rem;
  }
  .dark-brand-card-accurate {
    padding: 40px 24px;
    flex-direction: column;
    height: auto;
    aspect-ratio: auto;
  }
  .dark-brand-card-accurate .card-content-left,
  .dark-brand-card-accurate .card-content-right {
    width: 100%;
  }
  .card-image-asset {
    height: 250px;
    margin-top: 24px;
  }
  .light-brand-card-accurate {
    height: auto;
    aspect-ratio: auto;
  }
  .card-image-bottom {
    height: 250px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .stats-bar-inner {
    flex-wrap: wrap;
    gap: 40px 0;
  }
  .stat-item {
    flex: 0 0 50%;
  }
  .stat-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .stat-item {
    flex: 0 0 100%;
    justify-content: flex-start;
  }
  .stat-number {
    font-size: 2.25rem;
  }
}

/* ─── GALLERY SECTION (Premium Bento Grid) ─────────────────────────────────── */
.gallery-section {
  padding: 120px 0;
  background: var(--hts-white);
  position: relative;
  overflow: hidden;
}

/* Background Overlays - Simplified for performance */
.gallery-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--hts-white);
}
.gallery-mesh-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(139, 108, 91, 0.03) 0%, transparent 40%),
    linear-gradient(315deg, rgba(139, 108, 91, 0.02) 0%, transparent 40%);
}

.gallery-container {
  position: relative;
  z-index: 1;
}

/* Gallery Header */
.gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  gap: 32px;
}
.gallery-label-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.gallery-label-line {
  width: 40px;
  height: 2px;
  background: var(--hts-primary);
}
.gallery-label-text {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hts-primary);
}
.gallery-heading {
  font-family: "Empira", var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--hts-dark);
}

.gallery-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: transparent;
  border: 1.5px solid var(--hts-gray-200);
  border-radius: 50px;
  font-weight: 700;
  color: var(--hts-dark);
  transition: var(--ease);
}
.gallery-explore-btn:hover {
  background: var(--hts-primary);
  border-color: var(--hts-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Bento Grid System */
.gallery-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
}

.gallery-bento-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.bento-item-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

/* Grid Areas Mapping */
.bento-item-1 { grid-column: span 2; grid-row: span 2; } /* Large Hero */
.bento-item-2 { grid-column: span 2; grid-row: span 1; } /* Wide */
.bento-item-3 { grid-column: span 1; grid-row: span 1; } /* Small */
.bento-item-4 { grid-column: span 1; grid-row: span 1; } /* Small */
.bento-item-5 { grid-column: span 2; grid-row: span 1; } /* Wide Bottom */

/* Hover Interactions */
.gallery-bento-item:hover .bento-img {
  transform: scale(1.1);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 60%);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.gallery-bento-item:hover .bento-overlay {
  opacity: 1;
}

.bento-content {
  transform: translateY(15px);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
}

.gallery-bento-item:hover .bento-content {
  transform: translateY(0);
}

.bento-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--hts-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.bento-title {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 0;
  font-family: var(--font-heading);
}

.bento-view-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
  will-change: transform, opacity;
}

.gallery-bento-item:hover .bento-view-icon {
  transform: scale(1) rotate(0);
  opacity: 1;
}

/* Responsive Grid */
@media (max-width: 1200px) {
  .gallery-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }
  .bento-item-1 { grid-column: span 2; grid-row: span 2; }
  .bento-item-2, .bento-item-5 { grid-column: span 2; grid-row: span 1; }
  .bento-item-3, .bento-item-4 { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 80px 0;
  }
  .gallery-header-row {
    margin-bottom: 40px;
    text-align: center;
  }
  .gallery-label-wrap {
    justify-content: center;
  }
  .gallery-heading {
    font-size: 2.5rem;
  }
  .gallery-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
    gap: 20px;
  }
  .gallery-bento-item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .bento-overlay {
    opacity: 1; /* Always show overlay on mobile */
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  }
  .bento-content {
    transform: none;
  }
  .bento-title {
    font-size: 1.15rem;
  }
}
  


.gallery-nav-btn:hover {
  background: var(--hts-primary);
  color: #ffffff;
  border-color: var(--hts-primary);
  box-shadow: 0 6px 20px rgba(208, 89, 41, 0.25);
}

.gallery-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.gallery-prev {
  left: -27px;
}

.gallery-next {
  right: -27px;
}

/* Responsive */
@media (max-width: 1100px) {
  .gallery-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 768px) {
  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .gallery-container {
    padding-inline: 24px;
  }
  .gallery-nav-btn {
    width: 44px;
    height: 44px;
  }
  .gallery-prev {
    left: -15px;
  }
  .gallery-next {
    right: -15px;
  }
}

@media (max-width: 600px) {
  .gallery-slide {
    flex: 0 0 100%;
  }
}

/* ─── GALLERY HIGHLIGHTS SECTION ─────────────────────────────────────────────── */
.gallery-highlights-section {
  padding-bottom: 100px; /* Space after gallery content */
  background: #ffffff;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--hts-cream);
  border-radius: 16px;
  border: 1px solid var(--hts-gray-100);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--hts-primary);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--hts-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(208, 89, 41, 0.1);
}

.highlight-card:hover .highlight-icon {
  background: var(--hts-primary);
  color: #ffffff;
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hts-dark);
  margin: 0 0 8px 0;
}



.trust-logo-icon {
  color: var(--hts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-logo-icon svg {
  width: 32px; /* Increased icon size */
  height: 32px;
  stroke-width: 2.5;
}


.highlight-desc {
  font-size: 0.875rem;
  color: var(--hts-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Responsive Highlights */
@media (max-width: 1200px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .gallery-highlights-section {
    padding-bottom: 60px;
  }
}

/* ─── PREMIUM TESTIMONIALS SECTION ───────────────────────────────────────────── */
.testimonials-section-premium {
  position: relative;
  padding: 140px 0;
  background: #1c1c1c;
  overflow: hidden;
}

.testimonials-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.testi-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}
.testi-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1c1c1c 0%, rgba(28, 28, 28, 0.8) 50%, rgba(28, 28, 28, 0.6) 100%);
  z-index: 1;
}
.testi-mesh-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(at 100% 0%, rgba(139, 108, 91, 0.15) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(139, 108, 91, 0.1) 0px, transparent 50%);
  z-index: 2;
}
.testi-grain-overlay {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  z-index: 3;
  pointer-events: none;
}

.testimonials-container {
  position: relative;
  z-index: 10;
}

.testimonials-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}

/* Left Column */
.testi-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.testi-eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--hts-primary);
  text-transform: uppercase;
  margin: 0;
}
.testi-main-title {
  font-family: "Empira", var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 32px;
}
.testi-main-title .title-accent {
  color: var(--hts-primary);
}
.testi-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin-bottom: 48px;
}

/* Google Trust Badge */
.google-trust-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  max-width: 400px;
  margin-bottom: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.google-trust-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}
.badge-stars {
  display: flex;
  gap: 4px;
  color: #fbba05;
  margin-bottom: 4px;
}
.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.testi-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Specific outline button for dark background */
.testimonials-section-premium .btn-outline {
  border-color: #ffffff !important;
  color: #ffffff !important;
}
.testimonials-section-premium .btn-outline:hover {
  background: #ffffff !important;
  color: #1c1c1c !important;
}

/* Right Column: Marquee */
.testimonials-cards-col {
  height: 600px;
  width: 100%;
  max-width: 650px;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}
.testi-marquee-v {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 10px;
  animation: scrollV 40s linear infinite;
}
@keyframes scrollV {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.testi-marquee-v:hover {
  animation-play-state: paused;
}

.testimonial-card-premium {
  background: rgba(255, 255, 255, 0.068);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.723);
  border-radius: 24px;
  padding: 40px;
  transition: all 0.4s ease;
}
.testimonial-card-premium:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--hts-primary);
  transform: translateX(-10px);
}

.card-quote-icon {
  color: var(--hts-primary);
  opacity: 0.5;
  margin-bottom: 20px;
}
.card-stars {
  display: flex;
  gap: 4px;
  color: #fbba05;
  margin-bottom: 20px;
}
.card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 30px;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--hts-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "Empira", var(--font-heading);
}
.author-name {
  display: block;
  font-family: "Empira", var(--font-heading);
  font-size: 1.125rem;
  color: #ffffff;
}
.author-role {
  display: block;
  font-size: 0.75rem;
  color: var(--hts-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.card-date {
  margin-left: auto;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Decoration */
.testi-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.testi-decoration .deco-circle {
  position: absolute;
  top: 50%;
  left: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 1100px) {
  .testimonials-split-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  .testi-eyebrow-wrap,
  .testi-actions {
    justify-content: center;
  }
  .testi-desc {
    margin-inline: auto;
  }
  .google-trust-badge {
    margin-inline: auto;
    text-align: left; /* Keep internal badge text left-aligned for better structure */
  }
  .testimonials-cards-col {
    height: 500px;
    max-width: 600px;
    margin-inline: auto;
    width: 100%;
  }
  
  /* Center internal card content */
  .testimonial-card-premium {
    text-align: center;
  }
  .card-stars,
  .card-author {
    justify-content: center;
  }
  .testimonial-card-premium:hover {
    transform: translateY(-10px); /* Vertical hover instead of horizontal on mobile */
  }
}

@media (max-width: 600px) {
  .testimonials-section-premium {
    padding: 80px 0;
  }
  .testi-main-title {
    font-size: 2.75rem;
  }
  .testimonial-card-premium {
    padding: 30px;
  }
  .card-text {
    font-size: 0.9375rem;
  }
}


/* ─── BLOG LISTING & SINGLE POST ─────────────────────────────────────────────── */

/* Archive Hero */
.page-hero--blog {
  position: relative;
  padding: 140px 0 100px;
  background: var(--hts-dark);
  overflow: hidden;
  color: #ffffff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--hts-dark) 0%, transparent 100%);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero-desc {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 600px;
  margin-inline: auto;
}

/* Layout */
.blog-listing-section,
.post-content-section {
  padding: 100px 0;
  background: #ffffff;
}

.blog-layout,
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* Post Cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 50px;
}

.posts-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--hts-gray-200);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--hts-primary);
}

.post-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card-img {
  transform: scale(1.08);
}

.post-card-cat-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--hts-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.post-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--hts-gray-400);
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.post-card-title a {
  color: var(--hts-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: var(--hts-primary);
}

.post-card-excerpt {
  font-size: 0.9375rem;
  color: var(--hts-gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--hts-cream);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid var(--hts-gray-100);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--hts-dark);
  position: relative;
  padding-bottom: 12px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--hts-primary);
}

/* Sidebar Search */
.search-field-wrap {
  position: relative;
}

.search-field {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--hts-gray-200);
  background: #ffffff;
  font-size: 0.9375rem;
  transition: border-color 0.3s ease;
}

.search-field:focus {
  border-color: var(--hts-primary);
  outline: none;
}

.search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hts-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-submit svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
}

.search-submit:hover {
  background: var(--hts-dark);
}

.search-submit:hover svg {
  stroke: #ffffff;
}

/* Side Post Links */
.side-post-link {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  text-decoration: none;
  align-items: center;
}

.side-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--hts-gray-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.side-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-post-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--hts-dark);
  line-height: 1.3;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.side-post-link:hover .side-post-title {
  color: var(--hts-primary);
}

.side-post-date {
  font-size: 0.75rem;
  color: var(--hts-gray-400);
  font-weight: 600;
}

/* Side Cats */
.side-cats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-cats-list li {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-cats-list li a {
  color: var(--hts-gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.side-cats-list li a:hover {
  color: var(--hts-primary);
}

.side-cats-list .count {
  font-size: 0.75rem;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--hts-gray-400);
  font-weight: 700;
}

/* ── Single Post Article ── */
.post-hero {
  position: relative;
  padding: 180px 0 100px;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  background: var(--hts-dark);
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.9) 0%,
    transparent 100%
  );
}

.post-cats {
  margin-bottom: 20px;
}

.post-cats a {
  background: var(--hts-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: 500;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Content Typography */
.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--hts-gray-800);
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-heading);
  color: var(--hts-dark);
  margin: 40px 0 20px;
}

.entry-content p {
  margin-bottom: 28px;
}

.entry-content blockquote {
  padding: 40px;
  background: var(--hts-cream);
  border-left: 4px solid var(--hts-primary);
  border-radius: 0 20px 20px 0;
  font-style: italic;
  font-size: 1.25rem;
  margin: 40px 0;
  color: var(--hts-dark);
}

/* Post Footer */
.post-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--hts-gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--hts-gray-100);
  color: var(--hts-gray-600);
  font-size: 0.8125rem;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 6px;
  transition: all 0.3s ease;
}

.post-tags a:hover {
  background: var(--hts-primary);
  color: #ffffff;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-links {
  display: flex;
  gap: 8px;
}

.share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.share-icon.fb {
  background: #3b5998;
}
.share-icon.tw {
  background: #1da1f2;
}

.share-icon:hover {
  transform: translateY(-3px);
}

/* Sidebar CTA Card */
.sidebar-cta-card {
  background: var(--hts-dark);
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  margin-bottom: 30px;
  background-image: url("http://HamburgTreeService.com/wp-content/uploads/2026/04/Tree-img-copy.webp");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.sidebar-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.85);
}

.sidebar-cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.sidebar-cta-card p {
  font-size: 0.9375rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

/* Responsive Blog */
@media (max-width: 1024px) {
  .blog-layout,
  .post-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .blog-sidebar,
  .post-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .page-hero--blog,
  .post-hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  .post-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}

.post-card-title a {
  color: var(--hts-dark);
}
.post-card-title a:hover {
  color: var(--hts-green);
}
.post-card-excerpt {
  color: var(--hts-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(--hts-green-pale) !important;
  color: var(--hts-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(--hts-green) !important;
  color: var(--hts-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(--hts-green-dark) !important;
  padding: 120px 0 80px !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: center !important;
}

/* Page hero variants inherit from .page-hero */
.page-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  background-image: url("../images/hero-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.2 !important;
  z-index: 0 !important;
}

.page-hero-inner {
  position: relative !important;
  z-index: 1 !important;
}

.page-hero-title {
  color: var(--hts-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(--hts-gray-200) !important;
  background: var(--hts-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(--hts-white) !important;
  padding: 32px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--hts-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(--hts-gray-400) !important;
  font-size: 0.85rem !important;
}
.comment-content {
  color: var(--hts-gray-600) !important;
  line-height: 1.7 !important;
}
.reply {
  margin-top: 16px !important;
}
.comment-reply-link {
  font-weight: 700 !important;
  color: var(--hts-green-mid) !important;
  font-size: 0.9rem !important;
}

/* Comment Form */
.comment-respond {
  max-width: 800px !important;
  margin: 60px auto 0 !important;
  background: var(--hts-white) !important;
  padding: 48px !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--hts-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(--hts-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(--hts-gray-200) !important;
  border-radius: var(--radius-md) !important;
  background: var(--hts-bg) !important;
  transition: var(--ease-fast) !important;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--hts-green) !important;
  background: var(--hts-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(--hts-green) !important;
  color: var(--hts-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(--hts-green-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* ─── CONTACT SECTION ────────────────────────────────────────────────────────── */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--hts-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

/* Form Card */
.contact-form-card {
  background: var(--hts-bg);
  border: 1.5px solid var(--hts-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(--hts-gray-800);
  margin-bottom: 6px;
}
.required {
  color: #e53e3e;
  margin-left: 2px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--hts-gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--hts-gray-800);
  background: var(--hts-white);
  transition: var(--ease-fast);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--hts-green);
  box-shadow: 0 0 0 3px rgba(118, 89, 47, 0.12);
}
.form-control::placeholder {
  color: var(--hts-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(--hts-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(--hts-green-faint);
  border: 1px solid var(--hts-green-pale);
  color: var(--hts-green-dark);
}
.form-response.is-error {
  display: block;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}

/* Contact Info Card */
.contact-info-card {
  background: var(--hts-white);
  border: 1.5px solid var(--hts-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(--hts-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(--hts-green-faint);
  color: var(--hts-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(--hts-gray-400);
  margin-bottom: 3px;
}
.contact-info-value {
  font-weight: 600;
  color: var(--hts-dark);
}
a.contact-info-value:hover {
  color: var(--hts-green);
}

.contact-emergency-banner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--hts-green);
  color: var(--hts-white);
  border-radius: var(--radius-md);
  padding: 20px;
}
.contact-emergency-banner svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--hts-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;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.hts-footer {
  position: relative;
  background: var(--hts-white); /* Removed dark background */
  color: var(--hts-gray-700);
  overflow: hidden;
  border-top: 1px solid var(--hts-gray-100);
}

.hts-footer::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url("http://hamburgtreeservice.com/wp-content/uploads/2026/05/footer.webp") !important;
  background-size: 100% auto !important; /* Scale to show full width without zooming */
  background-position: bottom center !important;
  background-repeat: no-repeat !important;
  z-index: 0 !important;
}

/* Responsive footer background */
@media (max-width: 1200px) {
  .hts-footer::before {
    background-position: bottom center !important;
    background-size: 100% auto !important; /* Scale to width, smaller height than 'cover' */
    opacity: 0.4 !important; /* Slightly more transparent for better text contrast */
  }
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px; /* Reduced bottom padding */
  min-height: auto; /* Remove massive min-height on mobile for better fit */
  display: flex;
  align-items: flex-start;
}

@media (min-width: 1201px) {
  .footer-main {
    min-height: 700px;
    padding-bottom: 120px;
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hts-dark);
  display: block;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--hts-gray-600);
  margin-bottom: 24px;
}
.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cert-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hts-primary);
  background: rgba(139, 108, 91, 0.05);
  border: 1px solid rgba(139, 108, 91, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--hts-dark);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links li a {
  color: var(--hts-gray-600);
  font-size: 0.9375rem;
  transition: var(--ease-fast);
}
.footer-links li a:hover {
  color: var(--hts-primary);
  padding-left: 6px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--hts-gray-600);
  font-size: 0.9375rem;
}
.footer-contact-list svg {
  color: var(--hts-primary);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-list a {
  color: var(--hts-gray-600);
  transition: var(--ease-fast);
}
.footer-contact-list a:hover {
  color: var(--hts-primary);
}

.footer-cta {
  margin-top: 8px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.144);
  padding: 24px 0;
  background:transparent;
  backdrop-filter: blur(10px);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-center {
  justify-content: center !important;
}

.footer-copyright,
.footer-credits {
  font-size: 0.8125rem;
  color: var(--hts-gray-400);
  margin: 0;
}
.footer-copyright a,
.footer-credits a {
  color: var(--hts-gray-500);
  font-weight: 600;
}
.footer-copyright a:hover,
.footer-credits a:hover {
  color: var(--hts-primary);
}

/* ─── BLOG PAGE ──────────────────────────────────────────────────────────────── */
.hts-blog-main .site-content,
.hts-single-main .site-content {
  padding-top: 0;
}

.page-hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--hts-green-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--hts-green-dark) 0%,
    var(--hts-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(--hts-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(--hts-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(--hts-gray-200);
}
.blog-horizontal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hts-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(--hts-gray-100);
  border-radius: 3px;
}
.blog-horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--hts-green);
  border-radius: 3px;
}
.blog-horizontal-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--hts-white);
  border: 1.5px solid var(--hts-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}
.blog-horizontal-item:hover {
  border-color: var(--hts-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(--hts-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-horizontal-title-item a:hover {
  color: var(--hts-green);
}
.blog-horizontal-date {
  font-size: 0.8125rem;
  color: var(--hts-gray-500);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  background: var(--hts-white);
  border: 1.5px solid var(--hts-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(--hts-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hts-green-pale);
}
.search-input-wrap {
  position: relative;
}
.search-field {
  width: 100%;
  padding: 10px 44px 10px 14px;
  border: 1.5px solid var(--hts-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.search-field:focus {
  outline: none;
  border-color: var(--hts-green);
}
.search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hts-green);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.search-submit svg {
  width: 18px;
  height: 18px;
  stroke: var(--hts-green);
  fill: none;
  stroke-width: 2.5;
}

.search-submit:hover svg {
  stroke: var(--hts-dark);
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.recent-post-thumb {
  flex-shrink: 0;
}
.recent-post-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.recent-post-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hts-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.recent-post-title:hover {
  color: var(--hts-green);
}
.recent-post-date {
  font-size: 0.75rem;
  color: var(--hts-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(--hts-gray-600);
  border-bottom: 1px solid var(--hts-gray-100);
}
.categories-list li a:hover {
  color: var(--hts-green);
}

.sidebar-cta {
  background: var(--hts-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(--hts-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(--hts-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.sidebar-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--hts-white);
}

/* No Posts */
.no-posts-message {
  text-align: center;
  padding: 80px 40px;
  background: var(--hts-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--hts-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(--hts-gray-600);
  margin-bottom: 24px;
}

/* Pagination */
.hts-pagination {
  margin-top: 48px;
}
.hts-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.hts-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(--hts-gray-600);
  border: 1.5px solid var(--hts-gray-200);
  background: var(--hts-white);
  transition: var(--ease-fast);
}
.hts-pagination .page-numbers:hover,
.hts-pagination .page-numbers.current {
  background: var(--hts-green);
  border-color: var(--hts-green);
  color: var(--hts-white);
}
.hts-pagination .prev,
.hts-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(--hts-green-dark);
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-image--no-thumb {
  background: linear-gradient(
    135deg,
    var(--hts-green-dark),
    var(--hts-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(--hts-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(--hts-green);
  color: var(--hts-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(--hts-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(--hts-green-light);
}
.post-meta-item a {
  color: rgba(255, 255, 255, 0.65);
}
.post-meta-item a:hover {
  color: var(--hts-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(--hts-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(--hts-dark);
  margin: 40px 0 16px;
  padding-top: 12px;
  border-top: 2px solid var(--hts-green-pale);
}
.post-content h3,
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hts-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(--hts-green);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--hts-green-faint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--hts-gray-600);
}
.post-content img,
.entry-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.post-content a,
.entry-content a {
  color: var(--hts-green);
  text-decoration: underline;
  text-decoration-color: var(--hts-green-pale);
}
.post-content a:hover,
.entry-content a:hover {
  color: var(--hts-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(--hts-gray-200);
}
.post-tags-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hts-gray-600);
}
.post-tags a {
  font-size: 0.8125rem;
  padding: 4px 12px;
  border: 1.5px solid var(--hts-gray-200);
  border-radius: var(--radius-full);
  color: var(--hts-gray-600);
  text-decoration: none;
  transition: var(--ease-fast);
}
.post-tags a:hover {
  background: var(--hts-green);
  border-color: var(--hts-green);
  color: var(--hts-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(--hts-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(--hts-gray-200);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--hts-gray-200);
  transition: var(--ease-fast);
}
.post-nav-link:hover {
  border-color: var(--hts-green);
  background: var(--hts-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(--hts-green);
  margin-bottom: 4px;
}
.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hts-dark);
  line-height: 1.3;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--hts-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(--hts-green);
}
.author-bio-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hts-dark);
  margin: 4px 0 8px;
}
.author-bio-desc {
  font-size: 0.9rem;
  color: var(--hts-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(--hts-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(--hts-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(--hts-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(--hts-white);
}

.post-sidebar-related {
  background: var(--hts-white);
  border: 1.5px solid var(--hts-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(--hts-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.related-post-title:hover {
  color: var(--hts-green);
}
.related-post-date {
  font-size: 0.75rem;
  color: var(--hts-gray-400);
}

/* More Posts Section */
.more-posts-section {
  padding: 80px 0;
  background: var(--hts-bg);
  border-top: 1px solid var(--hts-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 ───────────────────────────────────────────────────────────────── */
.hts-404-main {
  background: var(--hts-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(--hts-green-pale);
  line-height: 1;
  margin-bottom: 4px;
}
.error-404-subtitle {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--hts-dark);
  margin-bottom: 16px;
}
.error-404-desc {
  color: var(--hts-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(--hts-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(--hts-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.error-404-search button {
  padding: 10px 20px;
  background: var(--hts-green);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */

/* ─── TRUST BAR SECTION ──────────────────────────────────────────────────────── */
.trust-bar {
  padding: 16px 0;
  background: var(--hts-white);
  border-bottom: 1px solid var(--hts-gray-200);
}

@media (max-width: 768px) {
  .trust-bar {
    padding: 10px 0;
  }
  .trust-bar-label {
    display: none; /* Hide label on mobile to save space for marquee */
  }
  .trust-logo-tag {
    font-size: 0.75rem;
  }
  .trust-logo-icon svg {
    width: 20px;
    height: 20px;
  }
  .trust-logos-track {
    gap: 60px;
  }
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hts-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 20%,
    black 80%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 20%,
    black 80%,
    transparent 100%
  );
}

.trust-logos-track {
  display: flex;
  align-items: center;
  gap: 100px; /* Increased gap */
  width: max-content;
  /* animation: trustMarquee 30s linear infinite; - DISABLED FOR JS ENHANCEMENT */
  padding: 5px 0;
  will-change: transform;
}

.trust-logos-track:hover {
  animation-play-state: paused;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 18px;
  border-radius: 100px;
  transition: all 0.4s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.trust-logo-item:hover {
  background: var(--hts-cream);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

@keyframes trustMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 30px)); /* Half of the track + half gap */
  }
}
.trust-logo-icon {
  color: var(--hts-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-logo-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}
.trust-logo-tag {
  font-family: var(--font-heading);
  color: var(--hts-dark);
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
}

/* Reduce trust badge size on mobile and tablet */
@media (max-width: 1024px) {
  .trust-logo-item {
    padding: 4px 14px;
    gap: 12px;
  }
  .trust-logo-icon svg {
    width: 22px;
    height: 22px;
  }
  .trust-logo-tag {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .trust-logo-item {
    padding: 3px 12px;
    gap: 10px;
  }
  .trust-logo-icon svg {
    width: 18px;
    height: 18px;
  }
  .trust-logo-tag {
    font-size: 0.8rem;
  }
}

/* ─── FAQ SECTION ────────────────────────────────────────────────────────────── */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--hts-bg);
  position: relative;
  overflow: hidden;
}

/* Background decorative image (left side) */
.faq-bg-deco {
  position: absolute;
  left: -5%;
  top: 0;
  bottom: 0;
  width: 30%;
  z-index: 0;
}

.faq-bg-deco-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.faq-section .container {
  position: relative;
  z-index: 1;
}

/* Responsive FAQ decorative image */
@media (max-width: 1024px) {
  .faq-bg-deco {
    width: 20%;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .faq-bg-deco {
    display: none; /* Hide deco on small tablets/mobile for clarity */
  }
}
.faq-grid {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Reduced vertical gap */
}
.faq-item {
  background: var(--hts-white);
  border: 1.5px solid var(--hts-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--ease);
}
.faq-item.is-active {
  border-color: var(--hts-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(--hts-dark);
  cursor: pointer;
}
.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--hts-green-faint);
  color: var(--hts-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(--hts-green);
  color: var(--hts-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(--hts-gray-600);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  .faq-question {
    padding: 20px 24px;
    font-size: 1rem;
  }
  .faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
  }
}

/* ─── 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;
}
.hts-header.is-scrolled .header-main {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
}
.section-title {
  color: var(--hts-dark) !important;
}
.section-label {
  color: var(--hts-green-mid) !important;
}

/* Responsive fixes */
@media (max-width: 900px) {
  .contact-grid,



  .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;
  }


  .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(--hts-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-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;
  }


  .services-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-grid .gallery-item:first-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .testimonials-track {
    grid-template-columns: 1fr;
  }
  .testimonials-controls {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-form-card {
    padding: 24px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .posts-grid--blog,
  .posts-grid--3 {
    grid-template-columns: 1fr;
  }

  .post-title {
    font-size: 1.625rem;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .author-bio {
    flex-direction: column;
  }

  .section-header--split {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── HELPER CLASSES ────────────────────────────────────────────────────────── */
.relative-z {
  position: relative !important;
  z-index: 5 !important;
}

/* ─── SIDEBAR POLISH ─────────────────────────────────────────────────────────── */
.sidebar-widget {
  background: var(--hts-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(--hts-gray-200) !important;
}
.widget-title {
  font-size: 1.125rem !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--hts-green-pale) !important;
}
.categories-list li {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--hts-gray-100) !important;
}
.categories-list li:last-child {
  border-bottom: none !important;
}

/* ─── UTILITIES ─────────────────────────────────────────────────────────────── */
.text-center {
  text-align: center !important;
}
.mt-12 {
  margin-top: 48px !important;
}
.mb-6 {
  margin-bottom: 24px !important;
}

/* ─── FAQ FOOTER ────────────────────────────────────────────────────────────── */
.faq-footer {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.faq-footer-text {
  font-size: 1.125rem;
  color: var(--hts-gray-600);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 640px) {
  .faq-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ─── PRE-FOOTER CTA SECTION ─────────────────────────────────────────────────── */
.pre-footer-cta {
  padding: 60px 0;
  background: #fcf8f3; /* Very light cream background */
  overflow: hidden;
  position: relative;
}

.pre-footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.cta-content-wrapper {
  flex: 1.2;
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
}

.cta-branch-decoration {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 180px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.cta-text-content {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--hts-dark);
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-description {
  font-size: 1.0625rem;
  color: var(--hts-gray-600);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.pill-btn {
  border-radius: 50px !important;
  padding: 14px 32px !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(208, 89, 41, 0.2);
}

.cta-phone-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.phone-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--hts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--hts-gray-100);
}

.phone-info {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--hts-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.phone-number {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--hts-dark);
  text-decoration: none;
  transition: var(--ease);
}

.phone-number:hover {
  color: var(--hts-primary);
}

.cta-image-wrapper {
  position: absolute;
  right: 0;
  top: 20px;
  bottom: 20px;
  width: auto;
  height: calc(100% - 40px);
  max-width: 40%;
  z-index: 0;
}

.cta-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  display: block;
}

/* Responsive Pre-Footer CTA */
@media (max-width: 1100px) {
  .pre-footer-cta-inner {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
  .cta-content-wrapper {
    justify-content: center;
    gap: 0;
  }
  .cta-branch-decoration {
    display: none;
  }
  .cta-description {
    margin-inline: auto;
  }
  .cta-actions {
    justify-content: center;
  }
  .cta-image-wrapper {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    max-width: 600px;
    margin: 0 auto;
  }
  .cta-main-img {
    border-radius: 20px;
    height: 300px;
  }
}

@media (max-width: 640px) {
  .pre-footer-cta {
    padding: 60px 0;
  }
  .cta-actions {
    flex-direction: column;
    gap: 24px;
  }
  .cta-phone-box {
    flex-direction: row;
    text-align: left;
  }
  .cta-image-wrapper {
    max-width: 100%;
    padding: 0 15px;
  }
  .cta-main-img {
    height: 200px;
  }
}

.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) {
  .hts-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;
  }
  .hts-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(--hts-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 .hts-header {
    top: 32px !important;
  }
  @media (max-width: 782px) {
    .admin-bar .hts-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) {
  .hts-header {
    top: 0 !important;
  }
  .header-main {
    margin: 0 !important;
  }
  .header-inner {
    height: 76px;
  }
  .site-name {
    font-size: 1rem;
  }
  .header-top-inner {
    justify-content: center !important;
  }
  .header-top-left {
    margin-right: 0 !important;
    width: 100%;
    text-align: center !important;
  }
  .site-branding {
    margin: 0 auto !important;
    display: inline-block !important;
  }
}





@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-image img {
    height: 300px !important; /* Reduced height */
  }
}

/* ─── Services Section ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 28px;
  }
}

/* ─── 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: 768px) {
  .faq-grid {
    flex-direction: column;
    gap: 16px;
  }
  .faq-column {
    gap: 16px;
  }
  .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;
  }
}

/* ─── FLOATING ACTION BUTTONS ────────────────────────────────────────────────── */
.hts-floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  pointer-events: auto;
}

.hts-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;
}

.hts-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.fab-phone {
  background: var(--hts-green-dark);
  color: var(--hts-white);
}

.fab-phone:hover svg {
  color: var(--hts-primary) !important;
  stroke: var(--hts-primary) !important;
}

.fab-contact {
  background: var(--hts-white);
  color: var(--hts-green-dark);
}

.hts-fab svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.hts-fab:hover svg {
  transform: scale(1.1);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .hts-floating-actions {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
  .hts-fab {
    width: 52px;
    height: 52px;
  }
}

/* ─── HERO SCROLL DOWN INDICATOR ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-scroll-down {
    display: none;
  }
}

/* Ensure hero section is the positioning parent */
#hero {
  position: relative;
}

.hero-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  z-index: 10;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: scroll-bounce 2.2s ease-in-out infinite;
}

.hero-scroll-down:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(-4px);
  animation-play-state: paused;
}

/* Mouse body */
.scroll-mouse {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding-top: 6px;
  transition: border-color 0.3s ease;
}

.hero-scroll-down:hover .scroll-mouse {
  border-color: #ffffff;
}

/* Scroll wheel dot */
.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  animation: scroll-wheel-move 2.2s ease-in-out infinite;
}

/* Chevron arrow below */
.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.hero-scroll-down:hover .scroll-arrow {
  opacity: 1;
}

/* Bounce animation for the whole element */
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Wheel dot scrolling animation */
@keyframes scroll-wheel-move {
  0%   { opacity: 1;   transform: translateY(0); }
  60%  { opacity: 0;   transform: translateY(8px); }
  100% { opacity: 0;   transform: translateY(0); }
}

/* Hide on very small screens */
@media (max-width: 480px) {
  .hero-scroll-down {
    bottom: 24px;
  }
}




.about-section {
  padding-block: var(--section-py);
  background: var(--hts-white);
  overflow: hidden;
  position: relative;
}

.about-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(20px, 3vw, 40px);
}

.about-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hts-green-pale);
  color: var(--hts-primary-dark);
  padding: 8px 20px 8px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.about-eyebrow .eyebrow-icon {
  display: flex;
  color: var(--hts-primary);
}

.about-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--hts-dark-brand);
  letter-spacing: -0.03em;
}

.about-desc {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--hts-gray-600);
  max-width: 600px;
  margin-inline: auto;
}

/* -- Portfolio Grid -- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 30px);
  max-width: 1500px;
  margin: -100px auto 0;
  padding-inline: var(--container-px);
  align-items: end; /* Align to bottom for a grounded look */
  position: relative;
  z-index: 2;
}

/* -- Base Card Styles -- */
.about-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--hts-gray-100);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  will-change: transform;
}

.about-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl);
  z-index: 10;
}

.about-card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover .about-card-image img {
  transform: scale(1.12);
}

/* -- Card Label Overlay -- */
.about-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  display: flex;
  align-items: flex-end;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.about-card:hover .about-card-label {
  opacity: 1;
}

.about-card-label span {
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.1vw, 1.125rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* -- Card Height Variants -- */
.about-card--tall {
  height: clamp(380px, 45vw, 640px);
}

.about-card--medium {
  height: clamp(300px, 35vw, 520px);
}

/* Lift the outer cards (1 and 4) higher */
.about-grid .about-card:nth-child(1),
.about-grid .about-card:nth-child(4) {
  transform: translateY(-40px);
}

/* Ensure hover effect combines with the lift */
.about-grid .about-card:nth-child(1):hover,
.about-grid .about-card:nth-child(4):hover {
  transform: translateY(-52px) scale(1.02);
}

/* =============================================================================
   ABOUT SECTION - RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Large Tablets / Laptops: 2x2 grid */
@media (max-width: 1200px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 0; /* Remove overlap for better clarity on tablets */
    padding-inline: 40px;
  }

  .about-grid .about-card:nth-child(1),
  .about-grid .about-card:nth-child(4) {
    transform: translateY(0);
  }

  .about-card--tall,
  .about-card--medium {
    height: 440px;
  }
}

/* Small Tablets / Mobile Landscape: 2-col tight */
@media (max-width: 768px) {
  .about-section {
    padding-block: var(--section-py-sm) 80px;
  }

  .about-header {
    margin-bottom: 40px;
  }

  .about-actions {
    flex-direction: column;
    gap: 12px;
  }
  .about-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-inline: 20px;
    margin-top: 0;
  }

  .about-grid .about-card:nth-child(1),
  .about-grid .about-card:nth-child(4) {
    transform: translateY(0);
  }

  .about-card {
    border-radius: var(--radius-lg);
    height: 320px;
  }

  .about-card--tall,
  .about-card--medium {
    height: 320px;
  }
}

/* Mobile: Single column stack */
@media (max-width: 540px) {
  .about-section {
    padding-block: 60px 80px;
  }

  .about-title {
    font-size: 1.875rem;
    margin-bottom: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 0;
  }

  .about-card {
    height: 280px;
  }

  .about-card--tall,
  .about-card--medium {
    height: 280px;
  }
}

/* Minimal Screen Adjustment */
@media (max-width: 380px) {
  .about-card {
    height: 240px;
  }
}

