/* ============================================================
   HDZ Tree Company — Stylesheet
   Palette: pale sage paper, bark ink, single moss-green accent.
   Signature motif: hand-drawn branch-line dividers, echoing
   the linework in the company mark.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap');

:root {
  /* Warm Earth & Timber Palette */
  --bg: #FAF6EF;          /* Warm Sunlit Linen */
  --bg-alt: #F3ECE0;      /* Warm Almond / Oatmeal */
  --paper: #FFFFFF;
  --ink: #201A15;         /* Deep Warm Walnut Bark */
  --ink-soft: #5C5245;    /* Warm Chestnut Bark */
  --moss: #235328;        /* Vibrant Deep Forest Spruce */
  --moss-dark: #17381A;   /* Deep Alpine Pine */
  --amber: #8B4A26;       /* Warm Chestnut Timber Brown */
  --amber-dark: #683415;  /* Deep Roasted Walnut / Bark Brown */
  --amber-soft: #F4E8DC;  /* Soft Warm Timber / Birch Cream */
  --terracotta: #7C3A18;  /* Deep Cedar Brown */
  --line: #E5DEC9;        /* Warm Wheat Border */
  --line-strong: #D6CCA8; /* Warm Toasted Wheat Line */
  --radius: 4px;
  --max: 1120px;
  --top-bar-h: 36px;
  --nav-h: 96px;
  --header-h: calc(var(--top-bar-h) + var(--nav-h));
}

@media (prefers-color-scheme: dark) {

  /* Intentionally not offering a dark theme: the brand is a
     light, open-air feel. Force light scheme for consistency. */
  :root {
    color-scheme: light;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--ink);
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}

h3 {
  font-size: 1.1rem;
  font-weight: 500;
}

p {
  color: var(--ink-soft);
  margin: 0 0 1em;
}

a {
  color: var(--moss);
  text-decoration: none;
}

a:hover {
  color: var(--moss-dark);
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }
}

@media (max-width: 380px) {
  .container {
    padding: 0 14px;
  }
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #8B4A26 0%, #683415 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 20px rgba(104, 52, 21, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9C542C 0%, #7A3B18 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(104, 52, 21, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: #FFFFFF;
  color: var(--moss-dark);
  border-color: var(--line-strong);
  box-shadow: 0 4px 14px rgba(32, 26, 21, 0.05);
}

.btn-ghost:hover {
  background: var(--moss);
  color: #FFFFFF;
  border-color: var(--moss);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 83, 40, 0.28);
}

.btn-ghost:active {
  transform: translateY(0);
}

/* ---------------- Top Utility Bar ---------------- */

.top-bar {
  background: #18371C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #E2ECE3;
  padding: 6px 0;
  line-height: 1.3;
  position: relative;
  z-index: 52;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled .top-bar,
.site-header.menu-open .top-bar,
.site-header:has(.nav-toggle:checked) .top-bar {
  background: #132D17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-service-area {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(226, 236, 227, 0.85);
  letter-spacing: 0.02em;
}

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.15s ease;
}

.top-bar-phone svg {
  color: #E5BF94;
  flex-shrink: 0;
}

.top-bar-phone:hover {
  color: #E5BF94;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #E2ECE3;
  text-decoration: none;
  transition: color 0.15s ease;
}

.top-bar-link svg {
  flex-shrink: 0;
}

.top-bar-link:hover {
  color: #FFFFFF;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

/* ---------------- Nav ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled,
.site-header.menu-open,
.site-header:has(.nav-toggle:checked) {
  background: rgba(243, 245, 238, 0.98);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.nav-estimate-btn {
  font-family: 'Outfit', sans-serif;
  padding: 8px 18px 8px 14px;
  font-size: 0.90rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  gap: 8px;
}

.nav-estimate-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-estimate-btn:hover svg {
  transform: scale(1.12) rotate(-6deg);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .nav {
  height: calc(var(--nav-h) - 18px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.nav-brand:hover {
  transform: translateY(-1px);
}

.nav-brand img {
  height: 84px;
  width: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid var(--moss);
  box-shadow: 0 4px 18px rgba(71, 89, 47, 0.28);
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-width 0.35s ease,
              box-shadow 0.35s ease;
}

.site-header.scrolled .nav-brand img {
  height: 52px;
  width: 52px;
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(71, 89, 47, 0.18);
}

.nav-brand-word {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  transition: font-size 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled .nav-brand-word {
  font-size: 1.15rem;
}

.nav-brand-word span {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
}

.nav-links a {
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.015em;
  position: relative;
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--moss);
  background: rgba(35, 83, 40, 0.07);
  transform: translateY(-1px);
}

.nav-links a[aria-current="page"] {
  color: var(--moss);
  font-weight: 700;
  background: rgba(35, 83, 40, 0.09);
  box-shadow: inset 0 0 0 1px rgba(35, 83, 40, 0.14);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-phone-btn svg {
  width: 15px;
  height: 15px;
  color: var(--moss);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-phone-btn strong {
  font-weight: 600;
  color: var(--moss-dark);
}

.nav-phone-btn:hover {
  background: var(--moss);
  color: #ffffff;
  border-color: var(--moss);
  box-shadow: 0 4px 14px rgba(71, 89, 47, 0.25);
  transform: translateY(-1px);
}

.nav-phone-btn:hover svg {
  color: #ffffff;
  transform: rotate(-10deg);
}

.nav-phone-btn:hover strong {
  color: #ffffff;
}

.nav-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--moss);
  border: 1.5px solid var(--moss);
  box-shadow: 0 2px 10px rgba(71, 89, 47, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.nav-social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.nav-social-btn:hover {
  background: #ffffff;
  color: var(--moss);
  border-color: var(--moss);
  box-shadow: 0 4px 16px rgba(71, 89, 47, 0.3);
  transform: translateY(-2px) scale(1.05);
}

.nav-social-btn:hover svg {
  transform: scale(1.1);
}

/* Hamburger — pure CSS, no JS required */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1.5px solid var(--line-strong);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-label span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-label span::after {
  position: absolute;
  top: 6px;
}

.nav-sub-links,
.nav-mobile-extras {
  display: none;
}

@media (max-width: 780px) {
  :root {
    --top-bar-h: 34px;
    --nav-h: 82px;
    --header-h: calc(var(--top-bar-h) + var(--nav-h));
  }

  .nav-estimate-btn {
    display: none;
  }

  .top-bar {
    padding: 7px 0;
  }

  .top-bar-left,
  .top-bar-service-area,
  .hide-mobile {
    display: none !important;
  }

  .top-bar-container {
    padding: 0 12px;
    justify-content: center !important;
    gap: 8px;
  }

  .top-bar-phone {
    font-size: 0.82rem;
  }

  .top-bar-link {
    font-size: 0.8rem;
  }

  .top-bar-right {
    gap: 12px;
    justify-content: center;
    width: 100%;
  }

  .nav-brand {
    gap: 12px;
    min-width: 0;
  }

  .nav-brand img {
    height: 54px;
    width: 54px;
    border-width: 2px;
    flex-shrink: 0;
  }

  .site-header.scrolled .nav-brand img {
    height: 42px;
    width: 42px;
  }

  .site-header.scrolled .nav {
    height: calc(var(--nav-h) - 16px);
  }

  .nav-brand-word {
    display: flex;
    flex-direction: column;
    font-family: 'Fraunces', serif;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.12;
    color: var(--ink);
    white-space: nowrap;
    transition: font-size 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-header.scrolled .nav-brand-word {
    font-size: 1.02rem;
  }

  .nav-brand-word span {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--moss);
    margin-top: 2px;
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: none;
    z-index: 1000;
  }

  .nav-sub-links {
    display: none !important;
  }

  .nav-mobile-extras {
    display: none !important;
  }

  .nav-item-wrap {
    width: 100%;
  }

  .nav-links .nav-main-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
  }

  .nav-links .nav-main-link::after {
    display: none;
  }

  .nav-links .nav-main-link:hover,
  .nav-links .nav-main-link[aria-current="page"] {
    color: var(--moss);
    background: rgba(35, 83, 40, 0.06);
    box-shadow: none;
    transform: none;
  }

  .nav-sub-links {
    display: flex;
    flex-direction: column;
    padding: 4px 20px 10px 32px;
    background: rgba(71, 89, 47, 0.02);
    border-bottom: 1px solid var(--line);
    width: 100%;
    gap: 0;
  }

  .nav-sub-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: var(--ink-soft) !important;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
  }

  .nav-sub-link::before {
    content: "—";
    color: var(--moss);
    font-weight: 400;
    opacity: 0.7;
  }

  .nav-sub-link:hover {
    color: var(--moss) !important;
    background: transparent !important;
    transform: translateX(3px);
  }

  .nav-mobile-extras {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 14px 18px 20px;
    gap: 12px;
    background: #fafbf7;
  }

  .nav-mobile-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--moss-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
  }

  .nav-mobile-badge svg {
    color: var(--moss);
    flex-shrink: 0;
  }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .nav-mobile-call-btn,
  .nav-mobile-quote-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.92rem;
    border-radius: 12px;
    text-decoration: none;
  }

  .nav-mobile-call-btn svg,
  .nav-mobile-quote-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .nav-cta .nav-phone-btn {
    display: none !important;
  }

  .nav-cta {
    gap: 10px;
  }

  .nav-toggle:checked~.nav-links {
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }

  .nav-toggle:checked~.nav-cta .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked~.nav-cta .nav-toggle-label span::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked~.nav-cta .nav-toggle-label span::after {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .top-bar-link .long-text {
    display: none;
  }

  .nav-brand {
    gap: 10px;
  }

  .nav-brand img {
    height: 48px;
    width: 48px;
  }

  .site-header.scrolled .nav-brand img {
    height: 38px;
    width: 38px;
  }

  .nav-brand-word {
    font-size: 1.02rem;
  }

  .site-header.scrolled .nav-brand-word {
    font-size: 0.92rem;
  }

  .nav-brand-word span {
    font-size: 0.58rem;
    letter-spacing: 0.11em;
  }
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 96px;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(250, 246, 239, 0.96) 0%, rgba(250, 246, 239, 0.84) 44%, rgba(250, 246, 239, 0.28) 75%, rgba(250, 246, 239, 0.04) 100%),
    url('photos/oldtreeafter.jpg') right center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 620px;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-title {
  margin: 0 0 20px;
}

.hero-title-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.hero-title-logo {
  width: clamp(68px, 8vw, 96px);
  height: clamp(68px, 8vw, 96px);
  border-radius: 50%;
  border: 3px solid var(--moss);
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  flex-shrink: 0;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  color: var(--moss);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-copy {
  margin-bottom: 28px;
  max-width: 560px;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.hero-lead {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.22rem, 2.4vw, 1.65rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
}

.hero-desc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.62;
  margin: 0;
}

.hero-desc-mobile {
  display: none;
}

/* Hero Entrance Animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSoftFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

@keyframes pingPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.hero .eyebrow {
  margin-bottom: 22px;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  color: var(--moss);
}

.hero h1 {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-actions .btn {
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  padding: 13px 28px;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(32, 26, 21, 0.08);
}

.hero-actions .btn svg {
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-actions .hero-btn-primary {
  background: linear-gradient(135deg, #8B4A26 0%, #683415 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 14px rgba(104, 52, 21, 0.24), 0 10px 24px rgba(104, 52, 21, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.hero-actions .hero-btn-primary:hover {
  background: linear-gradient(135deg, #9C542C 0%, #7A3B18 100%);
  transform: translateY(-2.5px);
  box-shadow: 0 8px 22px rgba(104, 52, 21, 0.32), 0 16px 36px rgba(104, 52, 21, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.hero-actions .hero-btn-primary:hover svg {
  transform: scale(1.12) rotate(-6deg);
}

/* Moving gloss shimmer across primary button */
.hero-actions .hero-btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-actions .hero-btn-primary:hover::after {
  left: 135%;
}

.hero-actions .hero-btn-ghost {
  background: #FFFFFF;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 4px 14px rgba(32, 26, 21, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-actions .hero-btn-ghost:hover {
  background: var(--moss);
  color: #FFFFFF;
  border-color: var(--moss);
  transform: translateY(-2.5px);
  box-shadow: 0 8px 24px rgba(35, 83, 40, 0.26);
}

.hero-actions .hero-btn-ghost:hover svg {
  transform: translateX(4px);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-showcase-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-showcase {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 11;
  animation: heroFadeUp 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  min-width: 0;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-dual-card {
  position: relative;
  height: 100%;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: var(--bg-alt);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-dual-card .hero-card-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.hero-dual-card.before .hero-card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 38, 30, 0.22);
  pointer-events: none;
  z-index: 2;
}

.hero-dual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.0);
}

.hero-slide.active .hero-dual-card img {
  animation: kenBurnsZoom 4.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes kenBurnsZoom {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-card-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.hero-card-pill.before {
  background: rgba(28, 28, 28, 0.84);
  color: #f1f1f1;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-card-pill.after {
  background: rgba(56, 76, 36, 0.90);
  color: #ffffff;
  border: 1px solid rgba(180, 215, 140, 0.45);
}

.hero-slider-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  width: max-content;
  z-index: 10;
  background: #ffffff;
  border: 1.5px solid var(--line-strong);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 5px 10px;
  border-radius: 999px;
  box-sizing: border-box;
}

.slider-dot {
  display: block;
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot.active {
  background: var(--moss);
  width: 14px;
  min-width: 14px;
  border-radius: 999px;
}

.slider-dot:hover {
  background: var(--moss-dark);
}



/* Floating Scroll Down Arrow Button (Persists until bottom of page) */
.floating-scroll-down {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.floating-scroll-down svg {
  width: 20px;
  height: 20px;
  animation: scrollBounce 1.5s infinite ease-in-out;
}

.floating-scroll-down:hover {
  background: var(--moss);
  color: #ffffff;
  border-color: var(--moss);
  transform: translateX(-50%) translateY(3px);
  box-shadow: 0 10px 28px rgba(71, 89, 47, 0.3);
}

.floating-scroll-down.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
}

/* Floating Clean Chat Icon on Mobile (Bottom Right) */
.mobile-floating-chat {
  display: none;
}

@media (max-width: 780px) {
  .mobile-floating-chat {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 18px;
    z-index: 99;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
  }

  .floating-chat-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4A26 0%, #683415 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(104, 52, 21, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .floating-chat-btn:active {
    transform: scale(0.92);
  }

  .floating-chat-btn svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
  }

  .floating-chat-ping {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    animation: pingPulse 2s infinite ease-out;
    pointer-events: none;
  }
}

.hero-branch {
  position: absolute;
  right: -60px;
  top: -40px;
  width: 480px;
  max-width: 60vw;
  color: var(--line-strong);
  z-index: 1;
  opacity: 0.25;
  pointer-events: none;
}

@media (max-width: 860px) {
  .hero {
    padding: calc(var(--header-h) + 24px) 0 48px;
    background:
      linear-gradient(180deg, rgba(250, 246, 239, 0.96) 0%, rgba(250, 246, 239, 0.88) 55%, rgba(250, 246, 239, 0.72) 100%),
      url('photos/oldtreeafter.jpg') center / cover no-repeat;
  }

  .hero-split-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .hero-showcase-wrap {
    order: 1;
    max-width: 100%;
  }

  .hero-inner {
    order: 2;
    max-width: 100%;
  }

  .hero .eyebrow {
    margin-bottom: 12px;
  }

  .hero-title {
    margin: 0 0 16px;
  }

  .hero-copy {
    margin-bottom: 24px;
    max-width: 100%;
  }

  .hero-lead-desktop,
  .hero-desc-desktop {
    display: none;
  }

  .hero-desc-mobile {
    display: block;
  }


  .hero-showcase {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10.5;
    margin-top: 0;
  }

  .hero-slide {
    gap: 10px;
  }

  .hero-branch {
    opacity: 0.10;
    width: 240px;
    right: -30px;
    top: -20px;
  }
}

@media (max-width: 600px) {
  .hero-title-brand {
    gap: 12px;
    font-size: clamp(1.75rem, 6vw, 2.3rem);
    margin-bottom: 6px;
  }

  .hero-title-logo {
    width: clamp(52px, 12vw, 68px);
    height: clamp(52px, 12vw, 68px);
    border-width: 2.5px;
  }

  .hero-title-sub {
    font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  }

  .hero-lead {
    font-size: clamp(1.12rem, 4vw, 1.35rem);
    margin-bottom: 10px;
    line-height: 1.32;
  }

  .hero-desc {
    font-size: clamp(0.92rem, 3vw, 0.98rem);
    line-height: 1.58;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: calc(var(--header-h) + 20px) 0 40px;
  }

  .hero-split-grid {
    gap: 24px;
  }

  .hero-showcase {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .hero-slide {
    gap: 8px;
  }

  .hero-dual-card {
    border-radius: 4px;
    border-width: 1.5px;
  }

  .hero-card-pill {
    top: 6px;
    left: 6px;
    padding: 3px 6px;
    font-size: 0.62rem;
    border-radius: 4px;
  }

  .slider-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
  }

  .slider-dot.active {
    width: 14px;
    min-width: 14px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 0.98rem;
    padding: 12px 22px;
    justify-content: center;
  }
}

/* ---------------- Section Dividers (Botanical Linework & Canopy Transitions) ---------------- */

.section-divider-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 24px;
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.section-divider {
  width: 100%;
  max-width: 900px;
  height: 40px;
  display: block;
  color: var(--amber-dark);
  margin: 0 auto;
  overflow: visible;
}

.section-divider line {
  stroke: var(--line-strong);
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section-divider .divider-center {
  color: var(--amber-dark);
  transition: transform 0.3s ease;
}

.section-divider circle {
  fill: var(--amber);
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Organic Contour Transition (Top of CTA / Dark Sections) */
.canopy-transition {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  display: block;
  position: relative;
  z-index: 3;
  margin-bottom: -1px;
}

.canopy-transition svg {
  position: relative;
  display: block;
  width: 100%;
  height: 44px;
}

.canopy-transition path {
  fill: #182010;
}

.divider {
  width: 100%;
  height: auto;
  display: block;
  color: var(--line-strong);
  margin: 0 auto;
}

.divider path,
.divider line {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: draw 1.6s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
  .section-divider line,
  .divider path,
  .divider line {
    animation: none;
    stroke-dashoffset: 0;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------------- Trust strip ---------------- */

.trust {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  position: relative;
  z-index: 3;
}

.trust .container {
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-align: center;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.trust svg {
  width: 15px;
  height: 15px;
  color: var(--amber-dark);
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .trust .container {
    padding: 10px 16px;
    gap: 8px 16px;
    font-size: 0.78rem;
  }
}

/* ---------------- Services ---------------- */

.services {
  padding: 48px 0 64px;
  position: relative;
}

.services-head {
  max-width: 600px;
  margin: 0 0 44px;
}

.services-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.services-title-wrap h2 {
  margin: 0;
}

.services-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--moss);
  box-shadow: 0 4px 12px rgba(71, 89, 47, 0.16);
  flex-shrink: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  text-decoration: none;
  border: 1.5px solid rgba(214, 204, 168, 0.75);
  box-shadow: 0 6px 20px rgba(32, 26, 21, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  background: #18281a;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(217, 119, 6, 0.5);
}

.service-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.service-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: saturate(115%) contrast(105%);
}

.service-card:hover .service-card-bg img {
  transform: scale(1.08);
  filter: saturate(130%) contrast(110%);
}

.service-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 34, 22, 0.50) 0%,
    rgba(16, 28, 18, 0.74) 40%,
    rgba(12, 22, 14, 0.92) 75%,
    rgba(10, 18, 12, 0.98) 100%
  );
  transition: background 0.3s ease;
}

.service-card:hover .service-card-scrim {
  background: linear-gradient(
    180deg,
    rgba(20, 34, 22, 0.38) 0%,
    rgba(16, 28, 18, 0.66) 38%,
    rgba(12, 22, 14, 0.88) 75%,
    rgba(10, 18, 12, 0.97) 100%
  );
}

.service-card-inner {
  position: relative;
  z-index: 2;
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  gap: 12px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, #8B4A26 0%, #683415 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 6px;
  box-shadow: 0 4px 14px rgba(104, 52, 21, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 22px rgba(104, 52, 21, 0.65);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
  stroke: currentColor;
}

.service-card h3 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.22;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.service-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #F3ECE0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  flex-grow: 1;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #DE9C68;
  transition: color 0.2s ease, gap 0.2s ease;
}

.service-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.service-card:hover .service-card-cta {
  color: #FFFFFF;
  gap: 12px;
}

.service-card:hover .service-card-cta svg {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 540px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    min-height: 290px;
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------------- CTA band ---------------- */

.cta-band {
  position: relative;
  background:
    linear-gradient(rgba(20, 36, 21, 0.82), rgba(14, 26, 15, 0.90)),
    url('photos/bigfallentree.jpg') center center / cover no-repeat;
  color: #fff;
}

.cta-band .container {
  padding: 64px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.cta-band p {
  color: #F3ECE0;
  margin: 6px 0 0;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: linear-gradient(135deg, #8B4A26 0%, #683415 100%);
  color: #fff;
  font-size: 1rem;
  padding: 14px 28px;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cta-band .btn-primary:hover {
  background: linear-gradient(135deg, #9C542C 0%, #7A3B18 100%);
  color: #fff;
}

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  font-size: 1rem;
  padding: 14px 28px;
}

.cta-band .btn-ghost:hover {
  background: #FFFFFF;
  color: var(--moss-dark) !important;
  border-color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: #162418;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 36px;
  color: #F3ECE0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-lockup img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--moss);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.footer-brand-word {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #ffffff;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b5c4a8;
  margin: 0;
  max-width: 32ch;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ab87a;
  margin: 0 0 6px;
  font-weight: 700;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e4e9da;
  font-size: 0.92rem;
  padding: 3px 0;
  transition: color 0.15s ease, transform 0.15s ease;
  width: fit-content;
}

.footer-col a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer-col a:hover {
  color: #c2e29e;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  font-size: 0.84rem;
  color: #92a482;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer {
    padding: 48px 0 32px;
  }
}

/* ---------------- Page header common styles ---------------- */

.page-hero .eyebrow {
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 52ch;
}

.gallery {
  padding: 56px 0 80px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  display: flex;
  align-items: flex-end;
  margin: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46%;
  height: 46%;
  color: var(--line-strong);
}

.gallery-tile figcaption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 12px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.video-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
  width: 100%;
}

.video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  background: #000;
  display: inline-flex;
}

.video-frame iframe {
  display: block;
}

.video-cta-wrap {
  margin-top: 36px;
  text-align: center;
}

/* ---------------- Customer Reviews Section (3-Card Step Carousel) ---------------- */
.reviews-section {
  padding: 48px 0 56px;
  background: var(--paper);
  overflow: hidden;
}

.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.reviews-title-wrap h2 {
  margin: 4px 0 0;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
}

.reviews-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-soft);
  border: 1px solid rgba(139, 74, 38, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber-dark);
  white-space: nowrap;
}

.reviews-rating-badge .stars {
  display: flex;
  gap: 2px;
  color: #B87333;
  flex-shrink: 0;
}

.reviews-rating-badge .stars svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 600px) {
  .reviews-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .reviews-rating-badge {
    padding: 5px 12px;
    font-size: 0.76rem;
    gap: 6px;
    white-space: nowrap;
  }
  .reviews-rating-badge .stars svg {
    width: 12px;
    height: 12px;
  }
}

.reviews-carousel-wrap {
  position: relative;
}

.carousel-page {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.carousel-page.active {
  display: grid;
  animation: heroFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (max-width: 860px) {
  .carousel-page {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .carousel-page .review-card:nth-child(3) {
    display: none;
  }
}

.review-card {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: var(--moss-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

.review-card-stars {
  display: flex;
  gap: 2px;
  color: #e5a93b;
  margin-left: auto;
  margin-right: 4px;
}

.review-card-stars svg {
  width: 12px;
  height: 12px;
}

.review-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.review-tag.google {
  color: #4a5568;
}

.review-tag.facebook {
  color: #1877f2;
}

.review-tag svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

.reviews-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.rev-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s ease;
}

.rev-ctrl-btn:hover {
  background: var(--moss);
  color: #ffffff;
  border-color: var(--moss);
}

.rev-ctrl-btn svg {
  width: 18px;
  height: 18px;
}

.rev-counter-pill {
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--moss-dark);
  font-variant-numeric: tabular-nums;
}

.rev-dots-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
}

.rev-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.rev-dot.active {
  background: var(--moss);
  width: 18px;
  border-radius: 999px;
}

/* ---------------- Service Area Section ---------------- */
.service-area-section {
  position: relative;
  padding: 72px 0 80px;
  background-color: var(--paper);
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(243, 245, 238, 0.72) 0%, rgba(243, 245, 238, 0.94) 80%, rgba(243, 245, 238, 0.99) 100%),
    url("data:image/svg+xml,%3Csvg width='700' height='500' viewBox='0 0 700 500' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2347592f' stroke-width='1.2' stroke-opacity='0.16'%3E%3Cpath d='M-50,90 Q180,140 350,80 T750,110' stroke-width='2.2' stroke-opacity='0.22'/%3E%3Cpath d='M90,-50 Q140,200 80,350 T120,550' stroke-width='2.2' stroke-opacity='0.22'/%3E%3Cpath d='M-50,260 Q220,230 450,300 T750,240' stroke-width='1.8' stroke-opacity='0.18'/%3E%3Cpath d='M400,-50 Q360,180 430,300 T380,550' stroke-width='2.0' stroke-opacity='0.20'/%3E%3Cpath d='M-50,360 C140,340 270,400 410,360 S610,390 750,370' stroke-width='1.4'/%3E%3Cpath d='M-50,190 C160,210 310,140 500,200 S630,170 750,180' stroke-width='1.4'/%3E%3Cpath d='M250,-50 C270,140 200,280 260,410 S230,480 250,550' stroke-width='1.4'/%3E%3Cpath d='M560,-50 C540,120 600,260 550,370 S580,480 570,550' stroke-width='1.4'/%3E%3Ccircle cx='350' cy='250' r='120' stroke-dasharray='4,6' stroke-opacity='0.20'/%3E%3Ccircle cx='350' cy='250' r='220' stroke-dasharray='6,8' stroke-opacity='0.15'/%3E%3Ccircle cx='350' cy='250' r='320' stroke-dasharray='8,10' stroke-opacity='0.10'/%3E%3Ccircle cx='350' cy='250' r='4' fill='%2347592f' fill-opacity='0.35'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-position: center center;
  text-align: center;
  overflow: hidden;
}

.service-area-head {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto 28px;
}

.service-area-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.service-area-eyebrow svg {
  color: var(--moss);
}

.service-area-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-top: 6px;
  margin-bottom: 8px;
}

.service-area-head p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-area-pills {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px 16px;
  max-width: 960px;
  margin: 0 auto;
}

.service-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  white-space: nowrap;
}

.service-pill svg {
  width: 14px;
  height: 14px;
  color: var(--moss);
  flex-shrink: 0;
}

.service-pill:hover {
  background: #ffffff;
  border-color: var(--moss);
  color: var(--moss-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(71, 89, 47, 0.15);
}

@media (max-width: 900px) {
  .service-area-pills {
    grid-template-columns: repeat(3, 1fr);
    max-width: 640px;
    gap: 12px;
  }
}

@media (max-width: 580px) {
  .service-area-pills {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 10px;
    max-width: 100%;
  }
  .service-pill {
    padding: 10px 8px;
    font-size: 0.82rem;
    gap: 6px;
  }
  .service-pill svg {
    width: 13px;
    height: 13px;
  }
}

.contact-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.contact-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-service-tag svg {
  width: 11px;
  height: 11px;
  color: var(--moss);
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------------- Featured Work Section (Homepage Gallery Preview) ---------------- */
.featured-work {
  padding: 56px 0 68px;
  background: var(--bg-alt);
}

.featured-work .gallery-grid {
  max-width: 960px;
  margin: 0 auto;
  gap: 16px;
}

.featured-work .gallery-tile {
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.featured-work .gallery-tile:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.16);
}

.featured-work-head {
  margin-bottom: 28px;
}

.featured-work-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-work-title-wrap h2 {
  margin: 0;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .featured-work .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 580px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .featured-work .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.gallery-note {
  margin-top: 34px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--line-strong);
  padding-left: 14px;
}

/* ---------------- Page Hero (Services, Gallery & Contact Pages) ---------------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 48px;
  background:
    linear-gradient(to right, rgba(250, 246, 239, 0.88) 0%, rgba(250, 246, 239, 0.55) 55%, rgba(250, 246, 239, 0.15) 100%),
    url('photos/woodenfencetreeafter.jpg') right center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero .eyebrow {
  margin-bottom: 8px;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
  color: var(--moss);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 8px;
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 54ch;
  color: var(--ink-soft);
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

@media (max-width: 780px) {
  .page-hero {
    padding: calc(var(--header-h) + 26px) 0 38px;
  }
}

@media (max-width: 520px) {
  .page-hero {
    padding: calc(var(--header-h) + 20px) 0 32px;
  }
}

/* ---------------- Contact Page ---------------- */
.contact-section-wrap {
  padding: 24px 0 64px;
  background:
    radial-gradient(ellipse at top right, rgba(71, 89, 47, 0.06), transparent 60%),
    var(--paper);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
}

.contact-card+.contact-card {
  margin-top: 14px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row svg {
  color: var(--moss);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-row a:hover {
  color: var(--moss);
}

.contact-row .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss-dark);
  margin-bottom: 3px;
}

.contact-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.contact-service-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #eef2e6;
  border: 1px solid rgba(71, 89, 47, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.contact-service-tag svg {
  width: 12px;
  height: 12px;
  color: var(--moss);
  margin-top: 0;
  flex-shrink: 0;
}

.contact-service-tag:hover {
  background: #ffffff;
  border-color: var(--moss);
  color: var(--moss-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(71, 89, 47, 0.15);
}

/* Facebook Button */
.btn-facebook {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #1877f2;
  color: #ffffff !important;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  width: 100%;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-facebook:hover {
  background: #166fe5;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
}

.contact-row .btn-facebook svg,
.btn-facebook svg {
  width: 19px;
  height: 19px;
  color: #ffffff !important;
  fill: #ffffff !important;
  margin: 0 !important;
  flex-shrink: 0;
}

/* Call CTA Button formatting (proportioned to match btn-facebook) */
.contact-call-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-call-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Estimate Request Form (FormSubmit.co) */
.form-success-alert {
  background: #edf7ed;
  border: 1.5px solid #a5d6a7;
  color: #1b5e20;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.08);
  animation: fadeInDown 0.35s ease;
}

.form-success-alert svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.estimate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 13px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(71, 89, 47, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9aa5b1;
  font-size: 0.86rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 75px;
}

@media (max-width: 580px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 860px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .map-frame {
    min-height: 320px;
  }

  .map-frame iframe {
    min-height: 320px;
  }
}

/* ---------------- Premium Lightbox ---------------- */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(12, 16, 10, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.lightbox-modal.active .lightbox-img {
  transform: scale(1);
}

.lightbox-info {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.lightbox-counter {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #e4e9da;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 5px 16px;
  border-radius: 999px;
}

/* Lightbox Controls */
.lightbox-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.lightbox-btn:hover {
  background: var(--moss);
  border-color: var(--moss);
  transform: scale(1.08);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  z-index: 10;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  z-index: 10;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-btn svg {
  width: 22px;
  height: 22px;
}

.gallery-tile {
  cursor: pointer;
  position: relative;
}

.gallery-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(71, 89, 47, 0.15);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.gallery-tile:hover::after {
  opacity: 1;
}

@media (max-width: 780px) {

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .lightbox-img {
    max-height: 72vh;
  }

  .lightbox-caption {
    font-size: 0.82rem;
  }
}

/* ---------------- Homepage Services Summary Banner ---------------- */

.services-summary-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, #FAF6EF 0%, #F5ECE0 100%);
  border: 1.5px solid rgba(139, 74, 38, 0.28);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(104, 52, 21, 0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.services-summary-banner:hover {
  border-color: var(--amber);
  box-shadow: 0 10px 28px rgba(104, 52, 21, 0.14);
  transform: translateY(-2px);
}

.services-summary-banner-text h4 {
  margin: 0 0 6px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  color: var(--ink);
}

.services-summary-banner-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.services-summary-banner .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .services-summary-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .services-summary-banner .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   Services Page Dedicated Components
   ============================================================ */

.services-hero {
  position: relative;
  padding: calc(var(--header-h) + 52px) 0 58px;
  background:
    linear-gradient(to right, rgba(250, 246, 239, 0.96) 0%, rgba(250, 246, 239, 0.88) 46%, rgba(250, 246, 239, 0.42) 78%, rgba(250, 246, 239, 0.15) 100%),
    url('photos/oldtreeafter.jpg') right center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.services-hero .page-hero-inner {
  max-width: 660px;
}

.services-hero .eyebrow {
  margin-bottom: 8px;
  color: var(--moss);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.services-hero .page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 6px 0 14px;
  color: var(--ink);
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.services-hero .page-hero-lead {
  font-size: 1.15rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 0;
  max-width: 54ch;
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

@media (max-width: 780px) {
  .services-hero {
    padding: calc(var(--header-h) + 32px) 0 42px;
  }
}

@media (max-width: 520px) {
  .services-hero {
    padding: calc(var(--header-h) + 24px) 0 36px;
  }
}

/* Service Detail Catalog */
.services-catalog {
  padding: 52px 0 72px;
}

.services-catalog-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}

.service-card-detailed {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 44px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(34, 31, 26, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card-detailed:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(34, 31, 26, 0.08);
  border-color: var(--moss);
}

.service-card-detailed:nth-child(even) {
  direction: rtl;
}

.service-card-detailed:nth-child(even) > * {
  direction: ltr;
}

.service-detail-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #1c2816;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card-detailed:hover .service-detail-media img {
  transform: scale(1.03);
}

.service-detail-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #8B4A26 0%, #683415 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(104, 52, 21, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.service-detail-body {
  padding: 36px 36px 36px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-detailed:nth-child(even) .service-detail-body {
  padding: 36px 20px 36px 36px;
}

.service-detail-body h3 {
  font-size: 1.65rem;
  margin: 0 0 12px;
  color: var(--ink);
}

.service-detail-desc {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}

.service-features-list li svg {
  color: var(--moss);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.service-alert-box {
  background: #FFFDF8;
  border: 1px solid rgba(139, 74, 38, 0.2);
  border-left: 3.5px solid var(--amber);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.55;
  box-shadow: 0 2px 8px rgba(104, 52, 21, 0.04);
}

.service-alert-box strong {
  color: var(--amber-dark);
  display: block;
  margin-bottom: 3px;
  font-weight: 700;
}

.service-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Standards / Arborist Guarantee */
.standards-section {
  padding: 68px 0 76px;
  background: var(--bg-alt);
}

.standards-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.standards-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  margin-bottom: 8px;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.standard-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.standard-card:hover {
  transform: translateY(-3px);
  border-color: var(--moss);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.standard-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss);
  border: 1px solid var(--line);
}

.standard-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.standard-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.standard-card p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* Services FAQs */
.faq-section {
  padding: 68px 0 80px;
  background: var(--paper);
}

.faq-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.faq-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  margin-bottom: 8px;
}

.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 22px 26px;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--moss);
}

.faq-item h4 {
  margin: 0 0 8px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.18rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item h4 svg {
  color: var(--moss);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-item p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

@media (max-width: 960px) {
  .service-card-detailed,
  .service-card-detailed:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .service-card-detailed:nth-child(even) .service-detail-body,
  .service-detail-body {
    padding: 28px 24px;
  }
  .service-detail-media {
    min-height: 240px;
  }
  .standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .service-features-list {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: 1fr;
  }
  .service-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .service-card-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
}