/* =============================================================================
   TALL BRANCH TREE SERVICE   Main Stylesheet
   Child theme of Twenty Twenty-Four
   ============================================================================= */

/* ─── Custom Fonts ───────────────────────────────────────────────────────────── */
/* Playfair Display - Local Hosting */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/Playfair Display Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/Playfair Display Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */

:root {
  /* ── Tall Branch Tree Service – Brand Palette ── */
  /* #1c1c1c  Almost Black – text, headings                  */
  /* #cb7621  Burnt Orange – accent: buttons, icons, badges  */
  /* #666b6e  Steel Gray   – secondary text, borders         */
  /* #ffffff  White        – base background                  */

  /* Main brand colors */
  --tbts-primary: #cb7621; /* Orange – CTAs, links, badges */
  --tbts-secondary: #666b6e; /* Steel Gray – hover, borders */
  --tbts-dark-brand: #1c1c1c; /* Almost Black – headings, nav text */
  --tbts-darkest: #1c1c1c; /* Darkest – overlays */
  --tbts-light-bg: #ffffff; /* White – page background */
  --tbts-cream: #fdf8f6; /* Warm off-white – cards, subtle bg */

  /* Button colors */
  --tbts-button: #cb7621; /* Orange – buttons */
  --tbts-button-hover: #000000; /* Dark Blue – button hover */

  /* Legacy color aliases (mapped to new palette) */
  --tbts-green: #cb7621; /* → Orange accent */
  --tbts-green-dark: #000000; /* → Dark Blue */
  --tbts-green-mid: #666b6e; /* → Steel Gray */
  --tbts-green-light: #cb7621; /* → Orange accent */
  --tbts-green-pale: #fdf0eb; /* → Very light orange tint (backgrounds) */
  --tbts-green-faint: #fdf8f6; /* → Warm near-white */
  --tbts-brown: #cb7621; /* → Orange */
  --tbts-gold: #cb7621;
  --tbts-star: #ff9d00; /* → Orange */

  /* Neutrals */
  --tbts-dark: #1c1c1c;
  --tbts-gray-800: #1c1c1c;
  --tbts-gray-600: #666b6e;
  --tbts-gray-400: #9a9fa2;
  --tbts-gray-200: #e1e5e9;
  --tbts-gray-100: #f5f5f5;
  --tbts-white: #ffffff;
  --tbts-bg: #ffffff; /* White page background */

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 64px;
  --container-max: 1280px;
  --container-px: 24px;

  /* Shadows – warm neutral */
  --shadow-xs: 0 1px 3px rgba(28, 28, 28, 0.07);
  --shadow-sm: 0 2px 10px rgba(28, 28, 28, 0.08);
  --shadow-md: 0 4px 24px rgba(28, 28, 28, 0.1);
  --shadow-lg: 0 8px 40px rgba(28, 28, 28, 0.13);
  --shadow-xl: 0 16px 60px rgba(28, 28, 28, 0.17);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transition */
  --ease: all 0.3s ease;
  --ease-fast: all 0.18s ease;

  /* Premium Accents */
  --glass-bg: rgba(169, 79, 42, 0.08);
  --glass-border: rgba(169, 79, 42, 0.15);
  --glass-blur: blur(12px);
}

/* ─── Reset / Base ──────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tbts-gray-800);
  background-color: var(--tbts-bg);
  overflow-x: hidden;
}

body.admin-bar {
  scroll-padding-top: 92px;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--tbts-green);
  text-decoration: none;
  transition: var(--ease-fast);
}
a:hover {
  color: var(--tbts-green-dark);
}
a:focus-visible {
  outline: 3px solid var(--tbts-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

ul,
ol {
  list-style: none;
}
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}

/* WordPress alignment */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}
.aligncenter {
  margin: 0 auto 1rem;
  display: block;
}

/* ─── Container ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 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(--tbts-button);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--tbts-green);
  color: var(--tbts-white);
  border-color: var(--tbts-green);
}
.btn-primary:hover {
  background: var(--tbts-green-dark);
  border-color: var(--tbts-green-dark);
  color: var(--tbts-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #1a365d;
  border-color: #1a365d;
}
.btn-outline:hover {
  background: #1a365d;
  color: var(--tbts-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--tbts-gray-600);
  border: none;
  padding: 0;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--tbts-primary);
  text-underline-offset: 4px;
  box-shadow: none;
}
.btn-ghost:hover {
  background: transparent;
  color: var(--tbts-primary);
  transform: none;
  text-decoration-color: var(--tbts-primary);
}

/* About section outline button - dark blue */
.about-section .btn-outline {
  color: #1a365d !important;
  border-color: #1a365d !important;
}
.about-section .btn-outline:hover {
  background: #1a365d !important;
  color: #ffffff !important;
}

.btn-hero-outline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--tbts-white);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--tbts-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--tbts-white);
  color: var(--tbts-green-dark);
  border-color: var(--tbts-white);
}
.btn-white:hover {
  background: var(--tbts-green-pale);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}
.btn-sm {
  padding: 9px 20px;
  font-size: 0.875rem;
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ─── Typography & Base Reversion ────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--tbts-gray-800);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--tbts-dark);
  font-weight: 700;
}
p,
li {
  font-family: var(--font-body);
}

/* ─── Container Fix ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
}

/* ─── Section Shared Styles ─────────────────────────────────────────────────── */
.section-label {
  display: inline-block !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--tbts-green-mid) !important;
  margin-bottom: 12px !important;
}

.section-title {
  font-family: var(--font-heading) !important;
  font-size: clamp(1.75rem, 3.5vw, 2.625rem) !important;
  margin-bottom: 16px !important;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--tbts-gray-600);
  max-width: 640px;
}

.section-header {
  margin-bottom: 64px;
}
.section-header--center {
  text-align: center;
}
.section-header--light .section-label,
.section-header--light .section-title,
.section-header--light .section-desc,
.section-header--light .rating-text {
  color: var(--tbts-white) !important;
}
.section-header--light .rating-stars svg {
  color: var(--tbts-gold) !important;
}
.section-header--center .section-desc {
  margin-inline: auto;
}

.section-header--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-header--light .section-title,
.section-header--light .section-label {
  color: var(--tbts-white);
}
.section-header--light .section-label {
  color: var(--tbts-green-light);
}

/* ─── Reveal Animations ─────────────────────────────────────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 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;
}

/* ── Header Animations ────────────────────────────────────────────────────── */
@keyframes headerSlideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.tbts-header {
  position: fixed;
  top: 0 !important; /* Fixed to top edge */
  left: 0;
  width: 100%;
  z-index: 10000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  animation: headerSlideDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

.header-main {
  margin: 0 auto !important;
  width: calc(
    100% - 80px
  ) !important; /* Account for 20px hero margin + 20px extra gap */
  max-width: 1400px !important;
  background: #ffffff !important;
  border-radius: 0 0 30px 30px !important; /* Only bottom corners rounded */
  height: 80px !important; /* Increased height */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  pointer-events: auto;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
  width: 100%;
}

/* Site Branding */
.site-branding {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Scrolled state */
.tbts-header.is-scrolled {
  top: 0 !important;
}

.tbts-header.is-scrolled .header-main {
  height: 70px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

/* ─── MOBILE NAVIGATION OVERRIDE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .tbts-header {
    top: 0 !important;
    margin-top: 0 !important;
    position: fixed !important;
    pointer-events: auto;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    transform: none !important;
    transition: none !important;
    z-index: 999999 !important; /* Extra high */
  }
  /* Remove Admin Bar offset for now to see if it fixes the gap */
  .admin-bar .tbts-header {
    top: 0 !important;
    margin-top: 0 !important;
  }
  .header-main {
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
  }
  .header-inner {
    height: 72px !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: none !important;
  }
  .site-branding {
    position: relative !important;
    z-index: 100001 !important;
  }
  .header-actions {
    display: flex !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 100001 !important;
  }
  .header-actions .btn {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
  }
  .hamburger-bar {
    background: #1a365d !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;
    align-items: center !important; /* Centered */
    gap: 32px !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 !important;
    transform: none !important;
  }
  .nav-menu > li > a {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
  }
}

/* ─── Admin Bar Support ───────────────────────────────────────────────────── */
.admin-bar .tbts-header {
  top: 32px !important; /* Admin Bar offset when not scrolled */
}
.admin-bar .tbts-header.is-scrolled {
  top: 32px !important; /* Keep admin bar offset when scrolled */
}

@media (max-width: 782px) {
  .admin-bar .tbts-header {
    top: 0 !important; /* Mobile: flush to top, no admin bar offset */
  }
}

/* Scrolled State - Scroll-based animation to top: 0 */
.tbts-header.is-scrolled {
  top: 0 !important; /* Moves to top on scroll */
}
.tbts-header.is-scrolled .header-main {
  margin-top: 0;
  margin: 0; /* Full width - no side paddings */
  background: #ffffff;
  border-radius: 0; /* No corner radius */
}
.tbts-header.is-scrolled .header-inner {
  height: 60px;
}

@media (max-width: 1024px) {
  .header-main {
    margin: 0 20px;
  }
}
.reveal-item:nth-child(4) {
  transition-delay: 0.3s;
}
.reveal-item:nth-child(5) {
  transition-delay: 0.4s;
}
.reveal-item:nth-child(6) {
  transition-delay: 0.5s;
}

/* ─── Floating Call Button ───────────────────────────────────────────────────── */
.floating-call-btn {
  display: none; /* Hidden - replaced by tbts-floating-actions */
}

/* Site Branding */
.site-branding {
  flex-shrink: 0;
}
.site-name-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.site-name-icon {
  font-size: 1.75rem;
  line-height: 1;
}
.site-name-text {
  display: flex;
  flex-direction: column;
}
.site-name {
  font-family: var(--font-heading);
  font-size: 1.1875rem;
  font-weight: 700;
  color: #1a365d !important; /* Default color with !important */
  line-height: 1.1;
}
.site-tagline {
  font-size: 0.7rem;
  color: var(--tbts-gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-branding .custom-logo,
.site-branding .site-logo {
  max-height: 50px;
  width: auto;
  display: block;
}

/* Navigation */
.header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px; /* Increased gap between links */
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu > li > a {
  display: block;
  padding: 8px 4px; /* Reduced side padding slightly for underline fit */
  margin: 0 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a365d;
  transition: var(--ease-fast);
  position: relative;
}
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1a365d;
  transition: width 0.3s ease;
}
.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current_page_item > a::after {
  width: 100%;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current_page_item > a {
  color: #1a365d;
}

/* 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: #1a365d;
  border-radius: 2px;
  transition: var(--ease-fast);
}
.mobile-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #1a365d;
}
.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: #1a365d;
}

/* 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: #1a365d !important;
    font-family: var(--font-heading);
    padding: 10px;
    margin: 0;
  }

  /* Ensure mobile nav links are always visible */
  .header-nav.is-open .nav-menu > li > a {
    color: #1a365d !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: #1a365d !important;
  }
}

/* Sticky header logic - Simplified for pill */
.tbts-header.is-scrolled .header-main {
  box-shadow: none;
}

/* Offset for floating header */
.site-content {
  padding-top: 0; /* Since it's floating, let the content sit under it or adjust if needed */
}
.tbts-header.is-scrolled {
  transform: translateY(0);
}

/* ─── HERO SECTION (Split Layout) ────────────────────────────────────────────── */

/* ── Prevent Testimonials rating stacking bug ── */
@media (max-width: 768px) {
  .testimonials-rating-summary {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .rating-stars {
    margin-bottom: 8px !important;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  .about-content-col {
    order: 2 !important;
  }
  .about-image-col {
    order: 1 !important;
  }
}

/* Section wrapper */
.hero-section {
  position: relative;
  background: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  bottom: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Responsive hero overlay - dark blue on mobile/tablet */
@media (max-width: 1024px) {
  .hero-bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.85) 100%
    ) !important;
  }
}

.hero-island-container {
  position: relative;
  margin: 0;
  height: 95vh;
  min-height: 700px;
  background: #e5e7eb;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Hero Bottom Animations ────────────────────────────────────────────────── */
@keyframes heroCutoutSlideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroTrustBarReveal {
  0% {
    transform: translateX(-50%) translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Bottom Cutout Image */
.hero-bottom-cutout {
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  animation: heroCutoutSlideUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

@media (max-width: 1024px) {
  .hero-bottom-cutout {
    display: none !important;
  }
}

/* Hero Trust Bar */
.hero-trust-bar {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 900px;
  z-index: 60;
  background: transparent;
  border-radius: 50px;
  padding: 15px 30px;
  opacity: 0;
  animation: heroTrustBarReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.2s;
}

/* ── Hero Trust Bar responsive ── */
@media (max-width: 1024px) {
  .hero-trust-bar {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: none !important;
    padding: 24px 20px !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    opacity: 1 !important;
    animation: none !important;
    border-radius: 0 !important;
    z-index: 10 !important;
  }
  .hero-trust-bar .trust-logos-track {
    gap: 40px !important;
  }
}

.hero-trust-bar .trust-marquee {
  overflow: hidden;
  position: relative;
}

.hero-trust-bar .trust-logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: trustMarquee 30s linear infinite;
  padding: 10px 0;
  will-change: transform;
}

.hero-trust-bar .trust-logos-track:hover {
  animation-play-state: paused;
}

.hero-trust-bar .trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-trust-bar .trust-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

.hero-trust-bar .trust-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbts-primary);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hero-trust-bar .trust-logo-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
}

.hero-bottom-cutout-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex: 1;
  padding-top: 90px;
  padding-bottom: 80px;
  max-width: 1400px;
  margin-inline: auto;
  width: 100%;
  padding-inline: 40px;
  box-sizing: border-box;
}

/* ── Left text column ── */
.hero-left {
  flex: 0 1 800px; /* Wider centered content */
  min-width: 0;
  text-align: left;
  opacity: 0;
  animation: heroCutoutSlideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.9s;
}

.hero-eyebrow {
  font-size: 0.9375rem; /* slightly larger */
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tbts-primary);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.hero-title-accent {
  color: var(--tbts-primary);
  font-family: var(--font-heading);
  font-weight: 800;
}

/* Separator */
.hero-separator {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  max-width: 400px;
}
.hero-sep-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.hero-sep-icon {
  color: var(--tbts-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

/* CTA Buttons */
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-btn-primary,
.hero-btn-dark-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

/* Arrow circle inside buttons */
.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: var(--ease);
}
.hero-btn-primary:hover .btn-arrow-circle,
.hero-btn-dark-outline:hover .btn-arrow-circle {
  transform: translateX(2px);
}
.hqf-submit .btn-arrow-circle {
  border-color: rgba(255, 255, 255, 0.7);
}
.hqf-submit:hover .btn-arrow-circle {
  transform: translateX(2px);
}
.hero-btn-primary {
  background: var(--tbts-primary);
  color: #ffffff;
  border-color: var(--tbts-primary);
}
.hero-btn-primary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--tbts-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.hero-btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px 13px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.hero-btn-outline-white:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--tbts-dark);
  transform: translateY(-2px);
}
.hero-btn-outline-white .btn-arrow-circle {
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-btn-outline-white:hover .btn-arrow-circle {
  border-color: var(--tbts-dark);
}

/* Trust Badges Row */
.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  margin-top: 20px;
}
.hero-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hero-trust-badge-icon {
  color: var(--tbts-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-trust-badge-text {
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

@media (max-width: 768px) {
  .hero-trust-badges {
    gap: 20px 24px;
  }
}

/* ── Right Form Card ── */
.hero-form-card {
  flex: 0 0 350px; /* reduced width */
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.hero-form-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #152b43;
  margin-bottom: 14px;
}

.hero-form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tbts-dark);
  text-align: center;
  margin-bottom: 6px;
}

.hero-form-subtitle {
  font-size: 0.875rem;
  color: var(--tbts-gray-600);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 22px;
}

.hero-quote-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.hqf-field {
  width: 100%;
}

.hqf-input {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--tbts-dark);
  background: #ffffff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.hqf-input::placeholder {
  color: var(--tbts-gray-400);
}
.hqf-input:focus {
  border-color: var(--tbts-primary);
  box-shadow: 0 0 0 3px rgba(208, 89, 41, 0.12);
}

.hqf-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666b6e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.hqf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  margin-top: 4px;
  background: var(--tbts-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ease);
}
.hqf-submit:hover {
  background: var(--tbts-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(208, 89, 41, 0.35);
}

.hero-form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--tbts-gray-400);
  margin-top: 14px;
}

/* ── Floating Info Bar (between hero & next section) ── */
.hero-info-bar-wrap {
  position: relative;
  z-index: 20;
  padding-inline: 40px;
}
.hero-info-bar {
  background: #152b43;
  border-radius: 16px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.13),
    0 2px 8px rgba(0, 0, 0, 0.06);
  margin: -50px auto 0;
  max-width: 1560px; /* Increased width */
  padding-inline: 24px;
}
.hero-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns */
  gap: 24px; /* Added gap for balance */
}
.hero-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 20px;
}

.hero-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--tbts-primary);
  width: 42px;
  height: 42px;
}
.hero-info-icon--star {
  color: var(--tbts-primary);
}

.hero-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-info-label {
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 500;
}
.hero-info-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}
a.hero-info-value:hover {
  color: var(--tbts-primary);
}

.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;
  }
  .hero-island-container {
    height: auto;
    min-height: 85vh; /* Increased from 75vh */
    border-radius: 0 0 28px 28px;
  }
  .hero-container {
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 85vh !important; /* Forces container to match section height for vertical centering */
    padding-top: 100px !important; /* Space for fixed header */
    padding-bottom: 80px !important; /* Balanced bottom space */
    width: 100% !important;
    box-sizing: border-box;
  }
  .hero-left {
    text-align: center !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-inline: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-title {
    text-align: center !important;
    width: 100% !important;
  }
  .hero-separator,
  .hero-subtitle {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .hero-ctas {
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  .hero-trust-badges {
    justify-content: center !important;
    width: 100% !important;
  }
}

@media (max-width: 860px) {
  .hero-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  .hero-island-container {
    height: auto;
    min-height: 85vh;
    border-radius: 0 0 20px 20px;
    margin-top: 0 !important;
  }
  .hero-container {
    flex-direction: column;
    align-items: center !important; /* Centered content */
    justify-content: center !important;
    text-align: center !important;
    min-height: 85vh !important;
    padding-top: 110px !important;
    padding-bottom: 80px !important;
    padding-inline: 28px;
    gap: 32px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-bg-img {
    object-position: 70% center;
  }
  .hero-btn-dark-outline {
    color: #ffffff !important;
    border-color: #ffffff !important;
  }
  .hero-left {
    width: 100%;
    flex: none;
    text-align: center !important; /* Centered text */
    max-width: 100%;
    margin-inline: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-separator,
  .hero-subtitle {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .hero-ctas {
    justify-content: center !important;
    width: 100% !important;
  }
  .hero-trust-badges {
    justify-content: center !important;
    width: 100% !important;
  }
  .hero-subtitle {
    max-width: 100%;
    margin-inline: auto; /* Centered */
    opacity: 1;
  }
  .hero-form-card {
    flex: none;
    width: 100%;
    max-width: 520px;
    margin-inline: auto; /* Centered */
  }
  .hero-info-bar-wrap {
    padding-inline: 16px;
  }
  .hero-info-bar {
    margin-top: -30px;
    border-radius: 12px;
  }
  .hero-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-info-item {
    border-right: none;
    border-bottom: 1px solid var(--tbts-gray-200);
  }
  .hero-info-item:nth-child(odd) {
    border-right: 1px solid var(--tbts-gray-200);
  }
  .hero-info-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .hero-island-container {
    height: auto;
    min-height: 85vh;
    border-radius: 0 0 16px 16px;
  }
  .hero-container {
    padding-top: 120px !important;
    padding-bottom: 100px !important;
    min-height: 85vh !important;
    padding-inline: 20px;
    gap: 24px;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-title {
    font-size: clamp(2.25rem, 10vw, 3.5rem) !important;
    color: #ffffff !important;
    text-align: center;
  }
  .hero-separator {
    margin-inline: auto;
  }
  .hero-left {
    width: 100%;
    flex: none;
    text-align: center !important;
    max-width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-subtitle {
    margin-inline: auto !important;
    text-align: center !important;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px;
  }
  .hero-ctas a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-btn-primary,
  .hero-btn-outline-white {
    padding: 13px 20px;
    font-size: 0.9rem;
    justify-content: center;
  }
  .hero-trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
    justify-items: center;
  }
  .hero-trust-badge {
    align-items: center;
    text-align: center;
  }
  .hero-form-card {
    padding: 28px 20px 22px;
    margin-inline: auto; /* Centered */
  }
  .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: repeat(2, 1fr);
  }
  .hero-info-item {
    border-right: none !important;
    border-bottom: 1px solid var(--tbts-gray-200) !important;
    padding: 16px 14px;
  }
  .hero-info-item:nth-child(odd) {
    border-right: 1px solid var(--tbts-gray-200) !important;
  }
  .hero-info-item:last-child {
    border-bottom: none !important;
  }
  .site-content {
    padding-top: 0 !important;
  }
}

@media (max-width: 400px) {
  .hero-container {
    padding-inline: 16px;
    padding-top: 120px !important;
    padding-bottom: 80px !important;
    min-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-left {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  .hero-subtitle {
    margin-inline: auto !important;
  }
  .hero-ctas {
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  .hero-title {
    font-size: clamp(2rem, 11vw, 2.75rem) !important;
  }
  .hero-trust-badges {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-info-grid {
    grid-template-columns: 1fr;
  }
  .hero-info-item {
    border-right: none !important;
    border-bottom: 1px solid var(--tbts-gray-200) !important;
  }
  .hero-info-item:last-child {
    border-bottom: none !important;
  }
}

/* ─── SERVICES SECTION ───────────────────────────────────────────────────────── */
.services-section {
  background: #ffffff; /* warm neutral */
  padding: 70px 0;
}

.services-inner {
  max-width: 100%;
  padding-inline: 170px;
}

/* ── Section Header ── */
.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-label-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.services-label-icon {
  color: var(--tbts-primary);
  display: flex;
}

.services-label-text {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tbts-primary);
}

.services-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.2;
}

/* ── Rows ── */
.services-row {
  display: grid;
  gap: 30px;
  margin-bottom: 30px;
}

.services-row--top {
  grid-template-columns: repeat(2, 1fr);
}

.services-row--bottom {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Service Card ── */
.svc-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #ffffff;
  min-height: 500px;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.svc-card--big {
  min-height: 650px;
}

.svc-card--small {
  min-height: 420px;
  padding: 30px;
}

.svc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* Vignette Overlay */
.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 28, 28, 0.95) 0%,
    rgba(28, 28, 28, 0.4) 50%,
    rgba(28, 28, 28, 0.1) 100%
  );
  z-index: 1;
  transition: opacity 0.4s ease;
}

.svc-card:hover .svc-card-overlay {
  background: linear-gradient(
    to top,
    rgba(28, 28, 28, 0.98) 0%,
    rgba(193, 155, 106, 0.2) 60%,
    rgba(193, 155, 106, 0.1) 100%
  );
}

.svc-card-content {
  position: relative;
  z-index: 2;
  text-align: left; /* Explicitly left-aligned */
}

/* Icon Box */
.svc-card-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.svc-card:hover .svc-card-icon-box {
  background: var(--tbts-primary);
  transform: scale(1.1);
}

.svc-card-icon-box svg {
  width: 32px;
  height: 32px;
}

/* Title */
.svc-card-title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.svc-card--small .svc-card-title {
  font-size: 1.375rem;
}

/* Description */
.svc-card-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Button */
.svc-card-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.svc-card-btn:hover {
  background: #ffffff;
  color: var(--tbts-dark-brand);
  border-color: #ffffff;
}

/* ── Responsive ── */

/* Scale down the 170px inner padding progressively */
@media (max-width: 1400px) {
  .services-inner {
    padding-inline: 100px;
  }
}

@media (max-width: 1200px) {
  .services-inner {
    padding-inline: 60px;
  }
  .services-row--bottom {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .services-inner {
    padding-inline: 32px;
  }
  .services-row--top {
    gap: 20px;
  }
  .services-row--bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .svc-card--big {
    min-height: 520px;
  }
  .svc-card--small {
    min-height: 360px;
  }
}

@media (max-width: 860px) {
  .services-section {
    padding: 56px 0;
  }
  .services-inner {
    padding-inline: 24px;
  }
  .services-header {
    margin-bottom: 40px;
  }
  .services-row--top {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .svc-card {
    min-height: 380px;
  }
  .svc-card--big {
    min-height: 420px;
  }
  .svc-card--small {
    min-height: 320px;
  }
  /* Disable hover lift on touch devices */
  .svc-card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 600px) {
  .services-inner {
    padding-inline: 16px;
  }
  .services-row {
    gap: 16px;
    margin-bottom: 16px;
  }
  .services-row--bottom {
    grid-template-columns: 1fr;
  }
  .svc-card {
    padding: 28px 24px;
    min-height: 320px;
    border-radius: 20px;
  }
  .svc-card--big {
    min-height: 360px;
  }
  .svc-card--small {
    min-height: 280px;
    padding: 24px;
    border-radius: 20px;
  }
  .svc-card-icon-box {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }
  .svc-card-icon-box svg {
    width: 26px;
    height: 26px;
  }
  .svc-card-title {
    font-size: 1.375rem;
  }
  .svc-card--small .svc-card-title {
    font-size: 1.25rem;
  }
  .svc-card-desc {
    font-size: 0.9375rem;
    margin-bottom: 16px;
  }
}

@media (max-width: 400px) {
  .services-inner {
    padding-inline: 12px;
  }
  .svc-card {
    padding: 24px 18px;
    min-height: 300px;
    border-radius: 16px;
  }
  .svc-card--small {
    min-height: 260px;
    border-radius: 16px;
  }
}
/* ─── DECORATIVE OVERLAYS ────────────────────────────────────────────────────── */
.home-sections-decoration-wrapper {
  position: relative;
  overflow: hidden;
}

/* Right Side Decoration (Inside About) */
.section-decoration-right {
  position: absolute;
  bottom: -240px; /* Overlap into Process section */
  right: -80px;
  width: 550px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.9;
}

/* Left Side Decoration (Inside Services) */
.section-decoration-left {
  position: absolute;
  top: -210px; /* Overlap from Process section */
  left: -80px;
  width: 600px;
  z-index: 5;
  pointer-events: none;
  opacity: 0.9;
}

.section-decoration-right img,
.section-decoration-left img {
  width: 100%;
  height: auto;
  display: block;
}

/* Layering contexts */
.about-section,
.process-section,
.services-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.process-section {
  padding: 100px 0;
  background: transparent;
}

.process-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
}

.process-header {
  text-align: center;
  margin-bottom: 80px;
}

.process-banner-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--tbts-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.process-main-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #2d1e18;
  line-height: 1.2;
}

.process-steps-wrapper {
  position: relative;
  margin-bottom: 80px;
}

.process-dashed-line {
  position: absolute;
  top: 50px;
  left: 12%;
  right: 12%;
  height: 2px;
  border-top: 2px dashed #e1d5c9;
  z-index: 1;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.process-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.process-circle-wrapper {
  position: relative;
  margin-bottom: 30px;
}

.process-circle-main {
  width: 100px;
  height: 100px;
  background: #fdf5ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2d1e18;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 0 rgba(193, 155, 106, 0);
}

.process-step-item:hover .process-circle-main {
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(193, 155, 106, 0.15);
  color: var(--tbts-primary);
}

.process-step-number {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--tbts-primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d1e18;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 0.9375rem;
  color: #666b6e;
  line-height: 1.6;
  max-width: 260px;
  margin-inline: auto;
}

/* CTA Row */
.process-cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.process-btn-quote {
  background: var(--tbts-primary);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.process-btn-quote:hover {
  background: #1c1c1c;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.process-btn-phone {
  background: transparent;
  border: 2px solid #000000;
  color: #000000;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.process-btn-phone:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .process-dashed-line {
    display: none;
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }
}

@media (max-width: 640px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .process-section {
    padding: 70px 0;
  }
  .process-cta-row {
    flex-direction: column;
    align-items: center;
  }
  .process-btn-quote,
  .process-btn-phone {
    width: 100%;
    justify-content: center;
  }
}

/* ─── CTA BANNER SECTION ─────────────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  clip-path: inset(0); /* Creates a "window" for the fixed image */
}

.cta-banner-img {
  position: fixed; /* Keep image still while scrolling */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cta-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(17, 17, 17, 0.7),
    rgba(17, 17, 17, 0.3),
    rgba(17, 17, 17, 0.7)
  );
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-banner-icon {
  display: inline-block;
  color: var(--tbts-primary);
  margin-bottom: 16px;
}

.cta-banner-sub {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.95;
  color: #ffffff;
}

.cta-banner-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.1;
  color: #ffffff;
}

.cta-banner-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--tbts-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(208, 89, 41, 0.3);
}

.cta-banner-btn:hover {
  background: #b84a1d;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(208, 89, 41, 0.45);
}

.cta-banner-btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.cta-banner-btn:hover .cta-banner-btn-circle {
  border-color: #ffffff;
}

.cta-banner-btn--outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  box-shadow: none;
}

.cta-banner-btn--outline:hover {
  background: #1a365d;
  color: #ffffff;
  border-color: #1a365d;
  box-shadow: 0 4px 15px rgba(26, 54, 93, 0.4);
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 56px 0;
  }
  .cta-banner-sub {
    font-size: 1.125rem;
  }
  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ─── ABOUT SECTION ──────────────────────────────────────────────────────────── */
.about-section {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.about-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* ── Left Column: Main Image ── */
.about-col-left {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 4.2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image-wrapper:hover .about-main-img {
  transform: scale(1.05);
}

/* ── Right Column: Content ── */
.about-col-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-banner-title {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--tbts-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.about-main-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #2d1e18; /* Dark brown from image */
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-description {
  font-size: 1.0625rem;
  color: #666b6e;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 580px;
}

/* ── Vision & Mission Cards ── */
.about-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-card {
  background: #fdf5ef; /* Light peach/beige background */
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s ease;
  border: 1px solid rgba(193, 155, 106, 0.1);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(193, 155, 106, 0.12);
  background: #ffffff;
  border-color: rgba(193, 155, 106, 0.3);
}

.about-card-icon {
  width: 52px;
  height: 52px;
  color: #2d1e18;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #2d1e18;
  margin-bottom: 12px;
}

.about-card-text {
  font-size: 0.9375rem;
  color: #666b6e;
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-col-left {
    max-width: 800px;
    margin: 0 auto;
  }
  .about-image-wrapper {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 70px 0;
  }
  .about-container {
    padding-inline: 24px;
  }
  .about-main-title {
    font-size: 2.25rem;
  }
  .about-cards-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-card {
    padding: 24px;
  }
}

/* ─── PREMIUM STATS SECTION ─────────────────────────────────────────────────── */
.premium-stats-section {
  position: relative;
  padding: 100px 0;
  background-image:
    linear-gradient(rgba(13, 18, 10, 0.418), rgba(13, 18, 10, 0.8)),
    url("http://goldenoaktreeservices.com/wp-content/uploads/2026/04/stats-img.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

@media (max-width: 1024px) {
  .premium-stats-section {
    background-attachment: scroll;
  }
}

.premium-stats-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
}

.premium-stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.premium-stat-item {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
  transition: transform 0.3s ease;
}

.premium-stat-item:hover {
  transform: translateY(-5px);
}

.premium-stat-icon-box {
  width: 64px;
  height: 64px;
  background: rgba(193, 155, 106, 0.1);
  border: 1px solid rgba(193, 155, 106, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbts-primary);
  flex-shrink: 0;
}

.premium-stat-content {
  display: flex;
  flex-direction: column;
}

.premium-stat-number-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
  margin-bottom: 6px;
}

.premium-stat-number {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
}

.premium-stat-suffix {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tbts-primary);
}

.premium-stat-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.premium-stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(193, 155, 106, 0.3),
    transparent
  );
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .premium-stats-grid {
    flex-wrap: wrap;
    gap: 40px 20px;
    justify-content: center;
  }
  .premium-stat-item {
    flex: 0 0 calc(33.333% - 20px);
  }
  .premium-stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .premium-stats-section {
    padding: 60px 0;
  }
  .premium-stat-item {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 580px) {
  .premium-stat-item {
    flex: 0 0 100%;
    flex-direction: column;
    text-align: center;
  }
  .premium-stat-number-row {
    justify-content: center;
  }
}

/* ─── QUOTE SECTION ──────────────────────────────────────────────────────────── */
.quote-section {
  padding: 60px 0 0;
  background: #ffffff; /* Very light gray background */
}

.quote-section-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 40px;
}

.quote-section-layout {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 0;
  align-items: center;
  margin-bottom: 60px;
}

/* ── Left Column: Content & Form ── */
.quote-col-left {
  position: relative;
  z-index: 10;
  margin-right: -130px; /* Overlap onto image */
}

.quote-header {
  margin-bottom: 40px;
}

.quote-icon-badge {
  width: 54px;
  height: 54px;
  background: #ffffff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbts-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

.quote-banner-title {
  display: block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--tbts-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.quote-main-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  color: #2d1e18;
  line-height: 1.15;
  margin-bottom: 24px;
}

.quote-description {
  font-size: 1.125rem;
  color: #666b6e;
  line-height: 1.6;
}

/* Form Styles */
.quote-form-main {
  background: transparent;
}

.quote-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quote-field {
  margin-bottom: 20px;
  position: relative;
}

.quote-field.has-icon .field-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  display: flex;
  pointer-events: none;
}

.quote-field.has-icon .quote-input {
  padding-left: 54px;
}

.quote-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  color: #2d1e18;
  transition: all 0.3s ease;
}

.quote-input:focus {
  outline: none;
  border-color: var(--tbts-primary);
  box-shadow: 0 0 0 4px rgba(193, 155, 106, 0.1);
}

.quote-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}

.quote-textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 20px;
}

.quote-field.has-icon .quote-textarea + .field-icon {
  top: 28px;
  transform: none;
}

.quote-submit-btn {
  width: 100%;
  background: var(--tbts-primary);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 18px 30px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.quote-submit-btn:hover {
  background: #000000;
  transform: translateY(-2px);
}

.quote-trust-badges {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d1e18;
}

.trust-badge svg {
  color: var(--tbts-primary);
}

/* ── Right Column: Image ── */
.quote-col-right {
  position: relative;
  margin-right: -100px; /* Bleed out to the right */
}

.quote-image-wrapper {
  margin-bottom: 24px;
}

.quote-sub-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--tbts-primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.quote-sub-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d1e18;
  margin-bottom: 12px;
}

.quote-title-accent {
  width: 60px;
  height: 3px;
  background: var(--tbts-primary);
  border-radius: 2px;
}

.quote-image-wrapper {
  border-radius: 0;
  overflow: hidden;
}

.quote-crane-img {
  width: 89%;
  margin-left: auto;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

/* ── Bottom Features Bar ── */
.quote-features-bar {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  background: #fdf5ef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbts-primary);
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #2d1e18;
  margin: 0 0 4px 0;
}

.feature-text p {
  font-size: 0.8125rem;
  color: #666b6e;
  margin: 0;
  line-height: 1.4;
}

.feature-divider {
  width: 1px;
  height: 60px;
  background: #e2e8f0;
}

/* ── Responsive ── */

/* Large tablets: rebalance columns and start reducing negative margins */
@media (max-width: 1200px) {
  .quote-section-layout {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .quote-col-left {
    margin-right: -60px; /* Reduce overlap */
  }
  .quote-col-right {
    margin-right: -40px;
  }
  .quote-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .feature-divider {
    display: none;
  }
}

/* Tablets: equal columns, minimal overlap */
@media (max-width: 1024px) {
  .quote-section-container {
    padding-inline: 28px;
  }
  .quote-section-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .quote-col-left {
    margin-right: 0; /* Remove negative margin completely */
  }
  .quote-col-right {
    margin-right: 0;
  }
  .quote-crane-img {
    width: 100%;
    margin-left: 0;
  }
}

/* Tablet portrait: single column, image on top */
@media (max-width: 900px) {
  .quote-section-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .quote-col-left {
    margin-right: 0;
  }
  .quote-col-right {
    order: -1;
    margin-right: 0;
    margin-bottom: 40px;
  }
  .quote-crane-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-left: 0;
  }
  .quote-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
  }
  .quote-main-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }
  .quote-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 32px;
  }
  .feature-divider {
    display: none;
  }
}

/* Mobile landscape / large phones */
@media (max-width: 768px) {
  .quote-section {
    padding: 48px 0 0;
  }
  .quote-section-container {
    padding-inline: 20px;
  }
  .quote-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .quote-trust-badges {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .quote-features-bar {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 28px;
  }
  .quote-header {
    margin-bottom: 28px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .quote-section-container {
    padding-inline: 16px;
  }
  .quote-section-layout {
    margin-bottom: 32px;
  }
  .quote-col-right {
    margin-bottom: 28px;
  }
  .quote-crane-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
  .quote-image-wrapper {
    border-radius: 16px;
    overflow: hidden;
  }
  .quote-main-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .quote-input {
    padding: 13px 16px;
    font-size: 0.9375rem;
  }
  .quote-field.has-icon .quote-input {
    padding-left: 46px;
  }
  .quote-field.has-icon .field-icon {
    left: 14px;
  }
  .quote-submit-btn {
    padding: 16px 20px;
    font-size: 0.9375rem;
  }
  .quote-trust-badges {
    flex-direction: column;
    gap: 10px;
  }
  .quote-features-bar {
    padding: 24px 16px;
    border-radius: 16px;
  }
}

/* ─── GALLERY SECTION ────────────────────────────────────────────────────────── */
.gallery-section {
  padding: 100px 0;
  background: #ffffff;
  overflow: hidden;
}

.gallery-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 48px;
}

.gallery-header-row {
  margin-bottom: 40px;
}

.gallery-label-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
}

.gallery-label-icon {
  color: var(--tbts-primary);
  display: flex;
}

.gallery-label-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tbts-primary);
}

.gallery-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 0;
  line-height: 1.1;
}

/* ── Marquee Gallery ── */
@keyframes galleryMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gallery-marquee-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.gallery-marquee-track {
  display: flex;
  width: max-content;
  animation: galleryMarquee 50s linear infinite;
  gap: 30px;
}

.gallery-marquee-track:hover {
  animation-play-state: paused;
}

.gallery-marquee-item {
  width: 420px;
  flex-shrink: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  background: var(--tbts-gray-100);
  cursor: pointer;
}

.gallery-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-marquee-item:hover img {
  transform: scale(1.1);
}

.gallery-marquee-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-marquee-item:hover .gallery-marquee-overlay {
  opacity: 1;
}

.gallery-marquee-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-primary);
  margin-bottom: 8px;
}

.gallery-marquee-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.05em;
  color: var(--tbts-primary);
  margin-bottom: 4px;
}

.gallery-slide-title {
  color: #ffffff;
  font-size: 1.125rem;
  margin: 0;
  font-family: var(--font-heading);
}

/* Navigation Buttons */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--tbts-gray-200);
  color: var(--tbts-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
  background: var(--tbts-primary);
  color: #ffffff;
  border-color: var(--tbts-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: 50px; /* Space after gallery content */
  background: #ffffff;
}

.gallery-highlights-section .container {
  max-width: 1440px;
  padding-inline: 48px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.highlight-card {
  display: flex;
  align-items: center; /* Centered alignment for thin look */
  gap: 16px;
  padding: 14px 18px; /* Reduced padding */
  background: var(--tbts-cream);
  border-radius: 12px;
  border: 1px solid var(--tbts-gray-100);
  transition: all 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--tbts-primary);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--tbts-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(208, 89, 41, 0.1);
}

.highlight-card:hover .highlight-icon {
  background: var(--tbts-primary);
  color: #ffffff;
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem; /* Slightly smaller */
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 0 0 2px 0; /* Reduced margin */
}

.highlight-desc {
  font-size: 0.875rem;
  color: var(--tbts-gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Responsive Highlights */
@media (max-width: 1200px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .gallery-highlights-section {
    padding-bottom: 60px;
  }
}

/* ─── VERTICAL MARQUEE TESTIMONIALS ─────────────────────────────────────────────── */
.vertical-marquee-testimonials {
  padding: 120px 0;
  background: #ffffff;
  overflow: hidden;
}

.testimonials-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.pill-icon {
  color: #cb7621;
  display: flex;
}

.pill-text {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tbts-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.testimonials-title--small {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
  font-weight: 800;
  color: var(--tbts-dark);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 500px;
}

.testimonials-subtitle {
  font-size: 1.0625rem;
  color: var(--tbts-gray-600);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 550px;
}

/* Featured Cycling Card */
.featured-reveal-wrapper {
  margin-bottom: 32px;
  min-height: 220px; /* Prevents layout jump during cycle */
}

.featured-reveal-card {
  background: #f8fafc;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.5s ease;
  transform: translateY(0);
  opacity: 1;
}

.reveal-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.reveal-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--tbts-dark);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 500;
}

.reveal-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reveal-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tbts-dark);
}

.reveal-role {
  font-size: 0.875rem;
  color: var(--tbts-primary);
  font-weight: 600;
}

.testimonials-google-action {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.read-more-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--tbts-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 4px;
}

.btn-google-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  color: var(--tbts-dark);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.btn-google-trust:hover {
  background: #f8fafc;
  border-color: var(--tbts-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

/* Marquee Engine */
.testimonials-marquee-side {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.marquee-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  height: 100%;
  position: relative;
  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
  );
}

.marquee-column {
  display: flex;
  flex-direction: column;
}

@keyframes marqueeDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes marqueeUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.marquee-track {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.marquee-down .marquee-track {
  animation: marqueeDown 60s linear infinite;
}

.marquee-up .marquee-track {
  animation: marqueeUp 50s linear infinite;
}

.marquee-column:hover .marquee-track {
  animation-play-state: paused;
}

/* Cards */
.marquee-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.marquee-card:hover {
  border-color: var(--tbts-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-stars {
  display: flex;
  gap: 4px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--tbts-gray-700);
  margin-bottom: 20px;
  font-style: italic;
}

.card-footer strong {
  display: block;
  font-size: 0.875rem;
  color: var(--tbts-dark);
}

.card-footer span {
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonials-split-wrapper {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .testimonials-marquee-side {
    height: 500px;
  }
}

@media (max-width: 640px) {
  .marquee-container {
    grid-template-columns: 1fr;
    height: 450px;
  }
  .marquee-up {
    display: none;
  }
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.testimonials-cta-buttons {
  display: flex;
  gap: 16px;
}

/* Rating summary inline button */
.rating-text-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.google-reviews-inline-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--tbts-gray-200);
  border-radius: 50px;
  color: var(--tbts-dark);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.google-reviews-inline-btn:hover {
  background: var(--tbts-gray-100);
  border-color: var(--tbts-gray-300);
  transform: translateY(-1px);
}

/* Responsive CTA Buttons */
@media (max-width: 640px) {
  .testimonials-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .testimonials-cta-buttons .btn {
    width: 100%;
    text-align: center;
  }
  .rating-text-wrapper {
    flex-direction: column;
    gap: 12px;
  }
}

/* ─── BLOG LISTING & SINGLE POST ─────────────────────────────────────────────── */

/* Archive Hero */
.page-hero--blog,
.page-hero--contact {
  position: relative;
  padding: 140px 0 100px;
  background: #000000;
  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.75; /* increased from 0.6 for better visibility */
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-hero-desc {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 600px;
  margin-inline: auto;
}

/* Layout */
.blog-listing-section,
.post-content-section {
  padding: 100px 0;
  background: #ffffff;
}

.blog-layout,
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* Post Cards */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.posts-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--tbts-gray-100);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--tbts-primary);
}

.post-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card-img {
  transform: scale(1.08);
}

.post-card-cat-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--tbts-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.post-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.post-card-title a {
  color: var(--tbts-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-card-title a:hover {
  color: var(--tbts-primary);
}

.post-card-excerpt {
  font-size: 0.9375rem;
  color: var(--tbts-gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: var(--tbts-cream);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid var(--tbts-gray-100);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--tbts-dark);
  position: relative;
  padding-bottom: 12px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--tbts-primary);
}

/* Sidebar Search */
.search-field-wrap {
  position: relative;
}

.search-field {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--tbts-gray-200);
  background: #ffffff;
  font-size: 0.9375rem;
  transition: border-color 0.3s ease;
}

.search-field:focus {
  border-color: var(--tbts-primary);
  outline: none;
}

.search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tbts-primary);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-submit svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.5;
}

.search-submit:hover {
  background: var(--tbts-dark);
}

.search-submit:hover svg {
  stroke: #ffffff;
}

/* Side Post Links */
.side-post-link {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  text-decoration: none;
  align-items: center;
}

.side-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tbts-gray-100);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.side-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-post-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--tbts-dark);
  line-height: 1.3;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
}

.side-post-link:hover .side-post-title {
  color: var(--tbts-primary);
}

.side-post-date {
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
  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(--tbts-gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.side-cats-list li a:hover {
  color: var(--tbts-primary);
}

.side-cats-list .count {
  font-size: 0.75rem;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--tbts-gray-400);
  font-weight: 700;
}

/* ── Single Post Article ── */
.post-hero {
  position: relative;
  padding: 180px 0 100px;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  color: #ffffff;
  background: var(--tbts-dark);
}

.post-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.9) 0%,
    transparent 100%
  );
}

.post-cats {
  margin-bottom: 20px;
}

.post-cats a {
  background: var(--tbts-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: 500;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Content Typography */
.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--tbts-gray-800);
}

.entry-content h2,
.entry-content h3 {
  font-family: var(--font-heading);
  color: var(--tbts-dark);
  margin: 40px 0 20px;
}

.entry-content p {
  margin-bottom: 28px;
}

.entry-content blockquote {
  padding: 40px;
  background: var(--tbts-cream);
  border-left: 4px solid var(--tbts-primary);
  border-radius: 0 20px 20px 0;
  font-style: italic;
  font-size: 1.25rem;
  margin: 40px 0;
  color: var(--tbts-dark);
}

/* Post Footer */
.post-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--tbts-gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-tags a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--tbts-gray-100);
  color: var(--tbts-gray-600);
  font-size: 0.8125rem;
  border-radius: 6px;
  text-decoration: none;
  margin-right: 6px;
  transition: all 0.3s ease;
}

.post-tags a:hover {
  background: var(--tbts-primary);
  color: #ffffff;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-links {
  display: flex;
  gap: 8px;
}

.share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.share-icon.fb {
  background: #3b5998;
}
.share-icon.tw {
  background: #1da1f2;
}

.share-icon:hover {
  transform: translateY(-3px);
}

/* Sidebar CTA Card */
.sidebar-cta-card {
  background: var(--tbts-dark);
  color: #ffffff;
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  margin-bottom: 30px;
  background-image: url("http://tallbranchtreeservice.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;
}

.sidebar-cta-card .btn {
  transition: all 0.3s ease;
}

.sidebar-cta-card .btn:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Blog */
@media (max-width: 1024px) {
  .blog-layout,
  .post-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .blog-sidebar,
  .post-sidebar {
    order: 2;
  }
}

@media (max-width: 768px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .page-hero--blog,
  .post-hero {
    padding: 120px 0 60px;
    text-align: center;
  }
  .post-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}

.post-card-title a {
  color: var(--tbts-dark);
}
.post-card-title a:hover {
  color: var(--tbts-green);
}
.post-card-excerpt {
  color: var(--tbts-gray-600);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
/* ─── BLOG POST CARD PREMUM ────────────────────────────────────────────── */
.post-card {
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s ease !important;
}
.post-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow: var(--shadow-xl) !important;
}

.post-card-read-more {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--tbts-green-pale) !important;
  color: var(--tbts-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(--tbts-green) !important;
  color: var(--tbts-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(--tbts-green-dark) !important;
  padding: 120px 0 80px !important;
  position: relative !important;
  overflow: hidden !important;
  text-align: center !important;
}

/* Page hero variants inherit from .page-hero */
.page-hero-bg {
  position: absolute !important;
  inset: 0 !important;
  background-image: url("../images/hero-bg.png") !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.2 !important;
  z-index: 0 !important;
}

.page-hero-inner {
  position: relative !important;
  z-index: 1 !important;
}

.page-hero-title {
  color: var(--tbts-white) !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  margin-bottom: 20px !important;
  font-weight: 800 !important;
}

.page-hero-desc {
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 700px !important;
  margin-inline: auto !important;
  font-size: 1.125rem !important;
}

/* ─── REPLY / COMMENTS SECTION ─────────────────────────────────────────── */
.comments-area {
  margin-top: 80px !important;
  padding-top: 60px !important;
  border-top: 1px solid var(--tbts-gray-200) !important;
  background: var(--tbts-bg) !important;
}
.comments-title {
  font-family: var(--font-heading) !important;
  font-size: 2rem !important;
  margin-bottom: 40px !important;
  text-align: center !important;
}
.comment-list {
  max-width: 800px !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
}
.comment-body {
  background: var(--tbts-white) !important;
  padding: 32px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--tbts-gray-200) !important;
}
.comment-meta {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}
.comment-author img {
  border-radius: var(--radius-full) !important;
}
.comment-metadata a {
  color: var(--tbts-gray-400) !important;
  font-size: 0.85rem !important;
}
.comment-content {
  color: var(--tbts-gray-600) !important;
  line-height: 1.7 !important;
}
.reply {
  margin-top: 16px !important;
}
.comment-reply-link {
  font-weight: 700 !important;
  color: var(--tbts-green-mid) !important;
  font-size: 0.9rem !important;
}

/* Comment Form */
.comment-respond {
  max-width: 800px !important;
  margin: 60px auto 0 !important;
  background: var(--tbts-white) !important;
  padding: 48px !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: var(--shadow-xl) !important;
  border: 1px solid var(--tbts-green-pale) !important;
}
.comment-reply-title {
  font-family: var(--font-heading) !important;
  font-size: 1.75rem !important;
  margin-bottom: 32px !important;
  display: block !important;
}
.comment-form p {
  margin-bottom: 24px !important;
}
.comment-form label {
  display: block !important;
  font-weight: 600 !important;
  color: var(--tbts-dark) !important;
  margin-bottom: 8px !important;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100% !important;
  padding: 14px 20px !important;
  border: 1.5px solid var(--tbts-gray-200) !important;
  border-radius: var(--radius-md) !important;
  background: var(--tbts-bg) !important;
  transition: var(--ease-fast) !important;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--tbts-green) !important;
  background: var(--tbts-white) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(118, 89, 47, 0.1) !important;
}
.form-submit {
  margin-top: 32px !important;
}
.submit {
  background: var(--tbts-green) !important;
  color: var(--tbts-white) !important;
  padding: 16px 40px !important;
  border-radius: 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(--tbts-green-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
}

/* =============================================================================
   CONTACT PAGE SECTION
   ============================================================================= */

/* ── Main contact row wrapper ── */
.contact-section {
  background: #ffffff;
  padding: 0;
}

.contact-main-row {
  padding: clamp(60px, 8vw, 100px) 0;
  background: #ffffff;
}

/* ── Two-column grid ── */
.contact-row-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

/* ── Left column: contact details ── */
.contact-details-col {
  position: sticky;
  top: 130px;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--tbts-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--tbts-gray-600);
  margin-bottom: 36px;
  line-height: 1.6;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(82, 121, 147, 0.1);
  border: 1px solid rgb(17, 74, 232);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tbts-primary);
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-gray-400);
}

.contact-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--tbts-dark);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease;
}

a.contact-value:hover {
  color: var(--tbts-primary);
}

/* ── Right column: contact form ── */
.contact-form-col {
  background: #f8f9fa;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--tbts-gray-200);
}

.contact-form-col .contact-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  margin-bottom: 6px;
}

.contact-form-col .contact-subtitle {
  margin-bottom: 28px;
}

/* ── Form fields ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-dark);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  color: var(--tbts-gray-800);
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--tbts-primary);
  box-shadow: 0 0 0 3px rgba(82, 121, 147, 0.12);
}

.form-input::placeholder {
  color: var(--tbts-gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Submit button ── */
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  background: var(--tbts-primary);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--tbts-primary);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(82, 121, 147, 0.2);
  letter-spacing: 0.04em;
}

.contact-submit-btn:hover {
  background: var(--tbts-button-hover);
  border-color: var(--tbts-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(82, 121, 147, 0.3);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── Form response message ── */
.form-response {
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.form-response.is-success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-response.is-error {
  display: block;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  color: #c53030;
}

/* ── Footer Mini Map Widget ── */
.footer-mini-map {
  width: 100%;
  height: 160px;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-mini-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ── Full-width map embed (Contact Page) ── */
.contact-map-section {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-top: 1px solid var(--tbts-gray-200, #e5e7eb);
}

.contact-map-section iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ── Responsive: Tablet ── */
@media (max-width: 1024px) {
  .contact-row-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-details-col {
    position: static;
  }
  .contact-info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ── Responsive: Mobile ── */
@media (max-width: 640px) {
  .contact-main-row {
    padding: 48px 0;
  }
  .contact-row-grid {
    gap: 36px;
  }
  .contact-info-list {
    grid-template-columns: 1fr;
  }
  .contact-form-col {
    padding: 24px;
    border-radius: 14px;
  }
  .contact-map-section {
    height: 300px;
  }
}
/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.tbts-footer {
  position: relative;
  background: #000000;
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.footer-main {
  position: relative;
  z-index: 1;
  padding: 80px 0 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--tbts-white);
  display: block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}
.footer-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cert-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tbts-green-light);
  background: rgba(214, 110, 25, 0.225);
  border: 1px solid rgba(237, 117, 43, 0.458);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: var(--ease-fast);
}
.footer-links li a:hover {
  color: var(--tbts-white);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.footer-contact-list svg {
  color: var(--tbts-green-light);
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact-list a:hover {
  color: var(--tbts-white);
}

.footer-cta {
  margin-top: 8px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-center {
  justify-content: center !important;
}

.footer-copyright,
.footer-credits {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.footer-copyright a,
.footer-credits a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-copyright a:hover,
.footer-credits a:hover {
  color: var(--tbts-white);
}

/* ─── BLOG PAGE ──────────────────────────────────────────────────────────────── */
.tbts-blog-main .site-content,
.tbts-single-main .site-content {
  padding-top: 0;
}

.page-hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  overflow: hidden;
  background: var(--tbts-green-dark);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--tbts-green-dark) 0%,
    var(--tbts-green) 100%
  );
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--tbts-white);
  margin-bottom: 16px;
}
.page-hero-desc {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}
.page-hero .section-label {
  color: var(--tbts-green-light);
}

/* Blog Layout */
.blog-content-section {
  padding: 80px 0;
}
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.posts-grid--blog {
  grid-template-columns: repeat(2, 1fr);
}
.posts-grid--featured {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 40px;
}

/* Horizontal Scroll Section */
.blog-horizontal-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 2px solid var(--tbts-gray-200);
}
.blog-horizontal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin-bottom: 20px;
}
.blog-horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.blog-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}
.blog-horizontal-scroll::-webkit-scrollbar-track {
  background: var(--tbts-gray-100);
  border-radius: 3px;
}
.blog-horizontal-scroll::-webkit-scrollbar-thumb {
  background: var(--tbts-green);
  border-radius: 3px;
}
.blog-horizontal-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--tbts-white);
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--ease);
}
.blog-horizontal-item:hover {
  border-color: var(--tbts-green);
  box-shadow: var(--shadow-md);
}
.blog-horizontal-thumb {
  display: block;
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.blog-horizontal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.blog-horizontal-item:hover .blog-horizontal-thumb img {
  transform: scale(1.05);
}
.blog-horizontal-content {
  padding: 16px;
}
.blog-horizontal-title-item {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.blog-horizontal-title-item a {
  color: var(--tbts-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}
.blog-horizontal-title-item a:hover {
  color: var(--tbts-green);
}
.blog-horizontal-date {
  font-size: 0.8125rem;
  color: var(--tbts-gray-500);
}

/* Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar-widget {
  background: var(--tbts-white);
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.widget-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tbts-green-pale);
}
.search-input-wrap {
  position: relative;
}
.search-field {
  width: 100%;
  padding: 10px 44px 10px 14px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.search-field:focus {
  outline: none;
  border-color: var(--tbts-green);
}
.search-submit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tbts-green);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.search-submit svg {
  width: 18px;
  height: 18px;
  stroke: var(--tbts-green);
  fill: none;
  stroke-width: 2.5;
}

.search-submit:hover svg {
  stroke: var(--tbts-dark);
}

.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recent-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.recent-post-thumb {
  flex-shrink: 0;
}
.recent-post-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.recent-post-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.recent-post-title:hover {
  color: var(--tbts-green);
}
.recent-post-date {
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
}

.categories-list {
  list-style: none;
}
.categories-list li a {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--tbts-gray-600);
  border-bottom: 1px solid var(--tbts-gray-100);
}
.categories-list li a:hover {
  color: var(--tbts-green);
}

.sidebar-cta {
  background: var(--tbts-green-dark);
  border-color: transparent;
}
.sidebar-cta-inner {
  text-align: center;
}
.sidebar-cta-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.sidebar-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--tbts-white);
  margin-bottom: 8px;
}
.sidebar-cta p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.sidebar-cta-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}
.sidebar-cta-features li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-cta-features li::before {
  content: "";
  display: none;
}
.sidebar-cta .btn-primary {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.sidebar-cta .btn-outline {
  width: 100%;
  justify-content: center;
  color: var(--tbts-white);
  border-color: rgba(255, 255, 255, 0.3);
}
.sidebar-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--tbts-white);
}

/* No Posts */
.no-posts-message {
  text-align: center;
  padding: 80px 40px;
  background: var(--tbts-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--tbts-gray-200);
}
.no-posts-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}
.no-posts-message h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.no-posts-message p {
  color: var(--tbts-gray-600);
  margin-bottom: 24px;
}

/* Pagination */
.tbts-pagination {
  margin-top: 48px;
}
.tbts-pagination ul {
  display: flex;
  gap: 8px;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}
.tbts-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tbts-gray-600);
  border: 1.5px solid var(--tbts-gray-200);
  background: var(--tbts-white);
  transition: var(--ease-fast);
}
.tbts-pagination .page-numbers:hover,
.tbts-pagination .page-numbers.current {
  background: var(--tbts-green);
  border-color: var(--tbts-green);
  color: var(--tbts-white);
}
.tbts-pagination .prev,
.tbts-pagination .next {
  width: auto;
  padding: 0 16px;
}

/* ─── SINGLE POST PAGE ───────────────────────────────────────────────────────── */
.post-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}
.post-hero-image {
  position: absolute;
  inset: 0;
  background: var(--tbts-green-dark);
}
.post-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-hero-image--no-thumb {
  background: linear-gradient(
    135deg,
    var(--tbts-green-dark),
    var(--tbts-green)
  );
}
.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(71, 55, 32, 0.95) 0%,
    rgba(71, 55, 32, 0.5) 60%,
    transparent 100%
  );
}
.post-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 0 56px;
}

.post-breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.post-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}
.post-breadcrumb a:hover {
  color: var(--tbts-white);
}
.post-breadcrumb span[aria-current] {
  color: rgba(255, 255, 255, 0.5);
}

.post-cats {
  margin-bottom: 12px;
}
.post-cats a {
  display: inline-block;
  background: var(--tbts-green);
  color: var(--tbts-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 12px;
  border-radius: 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(--tbts-white);
  line-height: 1.2;
  max-width: 840px;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}
.post-meta-item svg {
  color: var(--tbts-green-light);
}
.post-meta-item a {
  color: rgba(255, 255, 255, 0.65);
}
.post-meta-item a:hover {
  color: var(--tbts-white);
}

/* Post Body */
.post-body-wrapper {
  padding: 72px 0;
}
.post-body-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}
.post-content-col {
  min-width: 0;
}

/* Post Content Typography */
.post-content,
.entry-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--tbts-gray-800);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
.post-content h2,
.entry-content h2 {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 40px 0 16px;
  padding-top: 12px;
  border-top: 2px solid var(--tbts-green-pale);
}
.post-content h3,
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 32px 0 12px;
}
.post-content p,
.entry-content p {
  margin-bottom: 20px;
}
.post-content ul,
.entry-content ul,
.post-content ol,
.entry-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.post-content li,
.entry-content li {
  margin-bottom: 8px;
}
.post-content ul li {
  list-style: disc;
}
.post-content ol li {
  list-style: decimal;
}
.post-content blockquote,
.entry-content blockquote {
  border-left: 4px solid var(--tbts-green);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--tbts-green-faint);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--tbts-gray-600);
}
.post-content img,
.entry-content img {
  border-radius: var(--radius-md);
  margin: 24px 0;
}
.post-content a,
.entry-content a {
  color: var(--tbts-green);
  text-decoration: underline;
  text-decoration-color: var(--tbts-green-pale);
}
.post-content a:hover,
.entry-content a:hover {
  color: var(--tbts-green-dark);
}

/* Post Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--tbts-gray-200);
}
.post-tags-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-gray-600);
}
.post-tags a {
  font-size: 0.8125rem;
  padding: 4px 12px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-full);
  color: var(--tbts-gray-600);
  text-decoration: none;
  transition: var(--ease-fast);
}
.post-tags a:hover {
  background: var(--tbts-green);
  border-color: var(--tbts-green);
  color: var(--tbts-white);
}

/* Share */
.post-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.post-share-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-gray-600);
}
.post-share-buttons {
  display: flex;
  gap: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 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(--tbts-gray-200);
}
.post-nav-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--tbts-gray-200);
  transition: var(--ease-fast);
}
.post-nav-link:hover {
  border-color: var(--tbts-green);
  background: var(--tbts-green-faint);
}
.post-nav-link--next {
  text-align: right;
}
.post-nav-direction {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-green);
  margin-bottom: 4px;
}
.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tbts-dark);
  line-height: 1.3;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--tbts-gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 40px;
}
.author-bio-avatar img {
  border-radius: var(--radius-full);
}
.author-bio-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tbts-green);
}
.author-bio-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tbts-dark);
  margin: 4px 0 8px;
}
.author-bio-desc {
  font-size: 0.9rem;
  color: var(--tbts-gray-600);
}

/* Post Sidebar Sticky CTA */
.post-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.post-sidebar-cta-inner {
  background: var(--tbts-green-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.post-sidebar-cta-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}
.post-sidebar-cta-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--tbts-white);
  margin-bottom: 10px;
}
.post-sidebar-cta-inner p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}
.post-sidebar-cta-inner .btn-primary {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}
.post-sidebar-cta-inner .btn-outline {
  width: 100%;
  justify-content: center;
  color: #1a365d;
  border-color: #1a365d;
}
.post-sidebar-cta-inner .btn-outline:hover {
  background: #1a365d;
  color: var(--tbts-white);
}

.post-sidebar-related {
  background: var(--tbts-white);
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.related-posts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.related-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.related-post-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.related-post-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-dark);
  line-height: 1.4;
  margin-bottom: 4px;
}
.related-post-title:hover {
  color: var(--tbts-green);
}
.related-post-date {
  font-size: 0.75rem;
  color: var(--tbts-gray-400);
}

/* More Posts Section */
.more-posts-section {
  padding: 80px 0;
  background: var(--tbts-bg);
  border-top: 1px solid var(--tbts-gray-200);
}
.more-posts-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── PAGE TEMPLATE ──────────────────────────────────────────────────────────── */
.page-hero--has-thumb .page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-content-section {
  padding: 72px 0;
}
.page-content-inner {
  max-width: 820px;
  margin: 0 auto;
}

/* ─── 404 PAGE ───────────────────────────────────────────────────────────────── */
.tbts-404-main {
  background: var(--tbts-bg);
}
.error-404-section {
  padding: 120px 0;
}
.error-404-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.error-404-visual {
  font-size: 4rem;
  margin-bottom: 12px;
}
.error-404-title {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  color: var(--tbts-green-pale);
  line-height: 1;
  margin-bottom: 4px;
}
.error-404-subtitle {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--tbts-dark);
  margin-bottom: 16px;
}
.error-404-desc {
  color: var(--tbts-gray-600);
  margin-bottom: 32px;
}
.error-404-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.error-404-search p {
  font-size: 0.9rem;
  color: var(--tbts-gray-400);
  margin-bottom: 12px;
}
.error-404-search .search-form {
  display: flex;
  gap: 10px;
}
.error-404-search input[type="search"] {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
}
.error-404-search button {
  padding: 10px 20px;
  background: var(--tbts-green);
  color: white;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */

/* ─── TRUST BAR SECTION ──────────────────────────────────────────────────────── */
.trust-bar {
  padding: 10px 0 32px;
  background: var(--tbts-white);
  border-bottom: 1px solid var(--tbts-gray-200);
}

/* Mobile: Hide trust bar top border */
@media (max-width: 768px) {
  .trust-bar {
    border-top: none !important;
  }
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--tbts-gray-400);
  white-space: nowrap;
}
.trust-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
  /* Premium side-fade gradients */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.trust-logos-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: trustMarquee 30s linear infinite;
  padding: 10px 0;
  will-change: transform;
}

.trust-logos-track:hover {
  animation-play-state: paused;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 1;
  transition: all 0.3s ease;
  flex-shrink: 0;
  white-space: nowrap;
}

.trust-logo-item:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes trustMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 30px)); /* Half of the track + half gap */
  }
}
.trust-logo-icon {
  font-size: 1.5rem;
}
.trust-logo-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tbts-dark);
}

/* ─── FAQ SECTION ────────────────────────────────────────────────────────────── */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--tbts-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: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}
.faq-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px; /* Reduced vertical gap */
}
.faq-item {
  background: var(--tbts-white);
  border: 1.5px solid var(--tbts-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--ease);
}
.faq-item.is-active {
  border-color: var(--tbts-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(--tbts-dark);
  cursor: pointer;
}
.faq-icon {
  width: 24px;
  height: 24px;
  background: var(--tbts-green-faint);
  color: var(--tbts-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(--tbts-green);
  color: var(--tbts-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(--tbts-gray-600);
  line-height: 1.7;
}

/* ─── PREMIUM OVERRIDES & HARDENING ─────────────────────────────────────────── */
.btn {
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
}
.hero-quick-card {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.tbts-header.is-scrolled .header-main {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px) !important;
}
.section-title {
  color: var(--tbts-dark) !important;
}
.section-label {
  color: var(--tbts-green-mid) !important;
}

/* Responsive fixes */
@media (max-width: 900px) {
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .hero-quick-form--horizontal .form-row-horizontal {
    flex-direction: column;
  }

  .hero-quick-form--horizontal .form-group {
    width: 100%;
    min-width: auto;
  }

  .hero-quick-form--horizontal .form-group--submit {
    width: 100%;
  }

  .hero-quick-form--horizontal .form-group--submit .btn {
    width: 100%;
  }
}

/* Large tablets */
@media (max-width: 1100px) {
  .hero-container {
    max-width: 100%;
    padding: 0 20px;
  }
  .about-grid {
    gap: 48px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card {
    position: static;
  }
  .posts-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-layout {
    grid-template-columns: 1fr 300px;
    gap: 40px;
  }
}

/* Tablets */
@media (max-width: 900px) {
  :root {
    --section-py: 72px;
  }
  .header-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .header-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tbts-white);
    box-shadow: var(--shadow-md);
    padding: 16px;
    z-index: 100;
  }
  .header-nav.is-open .nav-menu {
    flex-direction: column;
    width: 100%;
    align-items: center; /* Centered */
    gap: 16px;
    text-align: center;
  }
  .header-nav.is-open .nav-menu > li > a {
    padding: 12px 16px;
    text-align: center;
    width: 100%;
    display: block;
  }
  .header-main {
    position: relative;
  }
}

/* ─── HELPER CLASSES ────────────────────────────────────────────────────────── */
.relative-z {
  position: relative !important;
  z-index: 5 !important;
}

/* ─── SIDEBAR POLISH ─────────────────────────────────────────────────────────── */
.sidebar-widget {
  background: var(--tbts-white) !important;
  padding: 24px !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  margin-bottom: 24px !important;
  border: 1px solid var(--tbts-gray-200) !important;
}
.widget-title {
  font-size: 1.125rem !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid var(--tbts-green-pale) !important;
}
.categories-list li {
  display: flex !important;
  justify-content: space-between !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--tbts-gray-100) !important;
}
.categories-list li:last-child {
  border-bottom: none !important;
}

/* ─── UTILITIES ─────────────────────────────────────────────────────────────── */
.text-center {
  text-align: center !important;
}
.mt-12 {
  margin-top: 48px !important;
}
.mb-6 {
  margin-bottom: 24px !important;
}

/* ─── FAQ FOOTER ────────────────────────────────────────────────────────────── */
.faq-footer {
  margin-top: 60px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.faq-footer-text {
  font-size: 1.125rem;
  color: var(--tbts-gray-600);
  margin: 0;
  font-weight: 500;
}

@media (max-width: 640px) {
  .faq-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ─── PRE-FOOTER CTA SECTION ─────────────────────────────────────────────────── */
.pre-footer-cta {
  padding: 0;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.cta-full-width-wrapper {
  width: 100%;
  line-height: 0;
  position: relative;
}

.cta-full-img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-pill-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end; /* Move down */
  justify-content: flex-end; /* Move right */
  padding-bottom: 40px; /* Precise distance from bottom */
  padding-right: 60px; /* Space from right edge */
  z-index: 2;
}

.cta-pill-card {
  background: #ffffff;
  border-radius: 100px;
  padding: 48px 60px; /* Increased height via vertical padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  width: auto; /* Shrink to content */
  max-width: 85%; /* Limit width */
}

.cta-pill-content {
  flex: 1;
}

.cta-pill-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #1a365d;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.cta-pill-subtitle {
  font-size: 1.0625rem;
  color: #666b6e;
  margin: 12px 0 0;
  font-weight: 500;
}

.cta-pill-actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

.cta-pill-btn {
  background: #cb7621;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.cta-pill-btn:hover {
  background: #1a365d;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(26, 54, 93, 0.2);
}

.cta-pill-phone {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-pill-phone-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #1a365d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a365d;
  transition: all 0.3s ease;
}

.cta-pill-phone:hover .cta-pill-phone-icon {
  background: #1a365d;
  color: #ffffff;
}

.cta-pill-phone-link {
  font-weight: 700;
  color: #1a365d;
  text-decoration: none;
  font-size: 1.125rem;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .cta-pill-card {
    padding: 32px 40px;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .pre-footer-cta {
    background-image: url("http://cuttrimtreeservicesrochesterny.com/wp-content/uploads/2026/04/pre_footer4.webp");
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
  }
  .cta-full-img {
    display: none;
  }
  .cta-pill-overlay {
    position: static;
    padding: 0;
    display: block;
  }
  .cta-pill-card {
    flex-direction: column;
    text-align: center;
    border-radius: 24px; /* Less rounded for better mobile space */
    padding: 40px 24px;
    gap: 28px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  .cta-pill-actions {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .cta-pill-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
  }
  .cta-pill-phone {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cta-pill-title {
    font-size: 1.75rem;
  }
  .cta-pill-card {
    padding: 40px 20px;
    border-radius: 30px;
  }
}

.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) {
  .tbts-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;
  }
  .tbts-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: center; /* Centered items */
    gap: 24px;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-menu > li {
    width: 100%;
    text-align: center;
  }

  .nav-menu > li > a {
    font-size: 1.25rem;
    color: var(--tbts-gray-800) !important;
    padding: 12px 0;
    width: 100%;
    display: block;
    text-align: center;
  }

  .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 .tbts-header {
    top: 32px !important;
  }
  @media (max-width: 782px) {
    .admin-bar .tbts-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) {
  .tbts-header {
    top: 0 !important;
  }
  .header-main {
    margin: 0 !important;
  }
  .header-inner {
    height: 76px;
  }
  .site-name {
    font-size: 1rem;
  }
}

/* ─── Hero Section ──────────────────────────────────────────────────────────── */
/* Removed Redundant Hero Blocks to avoid conflicts */

/* ─── About Section (Who We Are) ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-img-wrapper {
    max-width: 600px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .about-badge {
    padding: 10px 14px;
  }
  .about-badge--certified {
    top: 15px;
    left: 10px;
  }
  .about-badge--experience {
    position: relative !important; /* Change from absolute to relative */
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important; /* Full width */
    text-align: center !important;
    margin-top: 10px !important; /* Small gap below image */
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 10 !important;
  }
  .about-image img {
    height: 300px !important; /* Reduced height */
  }
  .about-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .about-cta-row .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ─── 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 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .faq-column {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .faq-question {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  .faq-answer-inner {
    padding: 0 20px 20px;
  }
}

/* ─── Blog Preview ──────────────────────────────────────────────────────────── */
.blog-preview-section {
  margin-bottom: 80px;
}

.blog-preview-section .btn-outline {
  color: #000000 !important;
  border-color: #000000 !important;
}

.blog-preview-section .btn-outline:hover {
  background: #000000 !important;
  color: #ffffff !important;
}

@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 ────────────────────────────────────────────────── */
.tbts-floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  pointer-events: auto;
}

.tbts-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;
}

.tbts-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.fab-phone {
  background: var(--tbts-green-dark);
  color: var(--tbts-white);
}

.fab-phone:hover svg {
  color: var(--tbts-primary) !important;
  stroke: var(--tbts-primary) !important;
}

.fab-contact {
  background: var(--tbts-white);
  color: var(--tbts-green-dark);
}

.tbts-fab svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.tbts-fab:hover svg {
  transform: scale(1.1);
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .tbts-floating-actions {
    bottom: 24px;
    right: 24px;
    gap: 12px;
  }
  .tbts-fab {
    width: 52px;
    height: 52px;
  }
}

/* ─── BLOG PAGE RESPONSIVENESS ────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .blog-sidebar {
    order: 2; /* Move sidebar below posts on tablets and mobile */
  }
  .blog-posts-column {
    order: 1;
  }
}

@media (max-width: 768px) {
  .posts-grid--blog {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero--blog {
    padding: 80px 0 60px;
    min-height: auto;
  }
  .page-hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
  }
  .page-hero-desc {
    font-size: 1rem;
    max-width: 100%;
  }
}

/* ─── Quote Modal ────────────────────────────────────────────────────────── */
.quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999999; /* Absolute highest */
  display: flex;
  align-items: flex-start; /* Aligned to top */
  justify-content: flex-end; /* Aligned to right on desktop */
  padding: 100px 40px 40px; /* Space from top navbar */
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.quote-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.modal-content {
  position: relative;
  z-index: 10;
  background: #ffffff;
  width: 100%;
  max-width: 450px;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateX(60px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-modal.is-open .modal-content {
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .quote-modal {
    justify-content: center;
    align-items: center; /* Centered on mobile/tablet */
    padding: 20px;
  }
  .modal-content {
    transform: translateY(40px) translateX(0);
    max-width: 500px;
  }
  .quote-modal.is-open .modal-content {
    transform: translateY(0) translateX(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #1a365d;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.hqf-textarea {
  min-height: 100px;
  resize: vertical;
}

/* ─── Floating Actions ─────────────────────────────────────────────────── */
.tbts-floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: auto;
}

.tbts-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tbts-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(208, 89, 41, 0.39);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.tbts-fab:hover {
  transform: scale(1.1) translateY(-5px);
  background: var(--tbts-button-hover);
  color: #ffffff;
}

.tbts-fab svg {
  width: 24px;
  height: 24px;
}

/* ── Spacing Fix for Single Post Page ─────────────────────────────────────── */
.sots-single-main {
  margin-bottom: 120px !important;
}

.bottom-posts-section {
  padding-bottom: 100px !important;
}

@media (max-width: 768px) {
  .sots-single-main {
    margin-bottom: 80px !important;
  }
  .bottom-posts-section {
    padding-bottom: 60px !important;
  }
}
