:root {
  --font-heading: "Montserrat", "Poppins", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --green: #087a27;
  --green-bright: #20d448;
  --green-deep: #04110a;
  --green-dark: #071b10;
  --cream: #f7f2e8;
  --paper: #fffdf7;
  --wood: #8b4b1f;
  --gold: #d98900;
  --text: #142118;
  --muted: #536158;
  --line: #d9d5c9;
  --danger: #b91f1b;
  --shadow: 0 18px 45px rgba(7, 27, 16, 0.14);
}

* { box-sizing: border-box; }

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

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream) url("/shared/assets/production/decor/background_light_subtle.svg");
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
}

img { max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  padding: 10px 14px;
  background: white;
  color: var(--green-dark);
  font-weight: 900;
}

.skip-link:focus { transform: none; }

.top-strip {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  padding: 7px 18px;
  background: linear-gradient(90deg, #3a1908d9, #8b4b1ff0, #3a1908d9), url("/shared/assets/production/decor/wood_texture_strip.svg");
  color: white;
  font-size: 0.8rem;
  font-weight: 850;
  text-align: center;
}

.top-strip a { text-decoration: none; }

.service-nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 8px clamp(18px, 5vw, 70px);
  border-bottom: 1px solid rgba(7, 27, 16, 0.14);
  background: rgba(255, 253, 247, 0.97);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  text-decoration: none;
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.brand span { display: grid; line-height: 1.04; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.brand small { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 30px);
}

.desktop-nav a {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.desktop-nav a:hover { color: var(--green); }

.nav-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta,
.button.primary {
  background: linear-gradient(180deg, #f4b11c, var(--gold));
  color: var(--green-dark);
  box-shadow: 0 12px 26px rgba(217, 137, 0, 0.23);
}

.button.secondary {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  color: white;
}

.button:hover, .nav-cta:hover { transform: translateY(-2px); }

.mobile-menu { display: none; }

.breadcrumb {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px clamp(18px, 4vw, 36px);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.breadcrumb a { color: var(--green); }

.service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green-dark);
  color: white;
}

.service-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/shared/assets/production/hero-arborist-clean.jpg") center 38% / cover;
  content: "";
}

.service-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,17,10,0.97) 0%, rgba(4,17,10,0.88) 51%, rgba(4,17,10,0.4) 100%);
  content: "";
}

.hero-inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 560px;
  display: grid;
  align-content: center;
  margin: 0 auto;
  padding: 72px 0;
}

.hero-copy { max-width: 710px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #78ef91;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before { width: 34px; height: 2px; background: var(--gold); content: ""; }

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.12; }

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.045em;
}

.hero-lede {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.gallery-hero::before {
  background-image: linear-gradient(90deg, rgba(4,17,10,0.22), rgba(4,17,10,0.04)), url("/shared/assets/gallery/bucket-lift-tree-removal.jpg");
  background-position: center 43%;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.evidence-card {
  grid-column: span 6;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 10px 28px rgba(7, 27, 16, 0.1);
}

.evidence-card-1 { grid-column: span 5; grid-row: span 2; }
.evidence-card-2, .evidence-card-3 { grid-column: span 7; }
.evidence-card-4 { grid-column: span 7; }
.evidence-card-5 { grid-column: span 5; }

.evidence-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.evidence-card-1 img { height: 600px; }

.evidence-card figcaption {
  display: grid;
  gap: 8px;
  padding: 20px 22px 24px;
}

.evidence-card figcaption strong {
  color: var(--green-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.25;
}

.evidence-card figcaption span { color: var(--muted); font-size: 0.92rem; }

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.section.compact { padding-top: 0; }

.intro-grid,
.guidance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.section-label { margin: 0 0 10px; color: var(--green); font-size: 0.77rem; font-weight: 950; letter-spacing: 0.14em; text-transform: uppercase; }

h2 { margin: 0 0 20px; color: var(--green-dark); font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.035em; }
h3 { margin: 0 0 10px; color: var(--green-dark); font-size: 1.2rem; }
.section-copy p { margin: 0 0 16px; color: var(--muted); font-size: 1.02rem; }

.summary-card,
.signal-card,
.process-step,
.related-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,247,0.95);
  box-shadow: 0 12px 30px rgba(7,27,16,0.07);
}

.summary-card { padding: 26px; border-top: 5px solid var(--green); }
.summary-card ul, .guidance-card ul { margin: 14px 0 0; padding-left: 20px; }
.summary-card li, .guidance-card li { margin: 8px 0; }

.tinted-band {
  background: linear-gradient(180deg, rgba(7,27,16,0.98), rgba(4,17,10,1)), url("/shared/assets/production/decor/leaves_pattern.svg") center / 520px;
  color: white;
}

.tinted-band .section-label { color: #78ef91; }
.tinted-band h2 { color: white; }
.tinted-band .section-copy { color: rgba(255,255,255,0.78); }

.signal-grid,
.process-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.signal-card { padding: 25px; }
.signal-card strong { display: block; margin-bottom: 9px; color: var(--green); font-family: var(--font-heading); font-size: 1.05rem; }
.signal-card p, .process-step p, .related-card p { margin: 0; color: var(--muted); }

.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: steps; }
.process-step { position: relative; padding: 60px 22px 24px; counter-increment: steps; }
.process-step::before {
  position: absolute;
  top: 19px;
  left: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  content: counter(steps);
  font-weight: 950;
}

.guidance-card {
  border-radius: 20px;
  padding: 28px;
  background: var(--green-dark);
  color: rgba(255,255,255,0.82);
  box-shadow: var(--shadow);
}

.guidance-card h3 { color: white; }
.guidance-card a { color: #78ef91; font-weight: 850; }
.danger-card { border-left: 6px solid #ff5e57; }

.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-list details { padding: 0 22px; }
.faq-list summary { cursor: pointer; padding: 19px 34px 19px 0; color: var(--green-dark); font-weight: 900; }
.faq-list p { margin: 0; padding: 0 0 20px; color: var(--muted); }

.related-card { display: flex; min-height: 190px; flex-direction: column; padding: 24px; text-decoration: none; }
.related-card span { margin-top: auto; padding-top: 22px; color: var(--green); font-weight: 900; }
.related-card:hover { border-color: var(--green); transform: translateY(-2px); }

.conversion-band {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto clamp(58px, 8vw, 96px);
  border-radius: 24px;
  padding: clamp(28px, 5vw, 54px);
  background: linear-gradient(135deg, #087a27, #064617);
  color: white;
  box-shadow: var(--shadow);
}

.conversion-band h2 { margin-bottom: 8px; color: white; }
.conversion-band p { max-width: 690px; margin: 0; color: rgba(255,255,255,0.82); }
.conversion-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.service-footer {
  border-top: 4px solid var(--wood);
  background: var(--green-deep) url("/shared/assets/production/decor/leaves_pattern.svg") center / 520px;
  color: rgba(255,255,255,0.82);
}

.footer-inner {
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 38px;
  margin: 0 auto;
  padding: 44px 0;
}

.footer-inner img { width: 220px; }
.footer-inner h2 { margin: 0 0 12px; color: #78ef91; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-inner p { max-width: 420px; margin: 12px 0 0; font-size: 0.9rem; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links a { width: fit-content; color: rgba(255,255,255,0.84); font-size: 0.9rem; font-weight: 750; }
.footer-links a:hover { color: #78ef91; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 18px; text-align: center; font-size: 0.78rem; }

@media (max-width: 960px) {
  .service-nav { grid-template-columns: 1fr auto; }
  .desktop-nav, .nav-cta { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { min-width: 48px; min-height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--green-dark); font-weight: 950; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 58px; right: 0; width: min(280px, calc(100vw - 36px)); display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 16px; padding: 10px; background: var(--paper); box-shadow: var(--shadow); }
  .mobile-menu nav a { border-radius: 9px; padding: 11px 12px; color: var(--green-dark); font-weight: 850; text-decoration: none; }
  .mobile-menu nav a:hover { background: #eaf5ea; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1.4fr 1fr; }
  .footer-inner > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .top-strip span:nth-child(2) { display: none; }
  .service-nav { min-height: 74px; padding-block: 5px; }
  .brand img { width: 58px; height: 58px; }
  .brand strong { font-size: 1.3rem; }
  .brand small { font-size: 0.64rem; }
  .breadcrumb { padding-block: 11px; }
  .hero-inner { min-height: 520px; padding: 58px 0; }
  .service-hero::after { background: linear-gradient(90deg, rgba(4,17,10,0.96), rgba(4,17,10,0.75)); }
  .intro-grid, .guidance-grid, .conversion-band, .footer-inner { grid-template-columns: 1fr; }
  .signal-grid, .related-grid { grid-template-columns: 1fr; }
  .evidence-card, .evidence-card-1, .evidence-card-2, .evidence-card-3, .evidence-card-4, .evidence-card-5 { grid-column: 1 / -1; }
  .evidence-card img, .evidence-card-1 img { height: min(78vw, 420px); }
  .conversion-actions { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .top-strip { gap: 12px; padding-inline: 10px; font-size: 0.72rem; }
  .brand span { display: none; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .process-grid { grid-template-columns: 1fr; }
  .button { width: 100%; }
  .summary-card, .signal-card, .process-step, .related-card { border-radius: 14px; }
  .evidence-card { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (prefers-color-scheme: dark) {
  body { background: #0b1d11 url("/shared/assets/production/decor/background_dark_subtle.svg"); color: #f7f2e8; }
  .service-nav { border-color: rgba(255,255,255,0.13); background: rgba(4,17,10,0.97); }
  .brand, .desktop-nav a, .mobile-menu summary { color: white; }
  .mobile-menu nav { border-color: #294531; background: #0c2113; }
  .mobile-menu nav a { color: white; }
  .mobile-menu nav a:hover { background: #143a20; }
  h2, h3, .faq-list summary { color: #fffaf0; }
  .section-copy p, .signal-card p, .process-step p, .related-card p, .faq-list p { color: #c6d1c8; }
  .summary-card, .signal-card, .process-step, .related-card, .faq-list details { border-color: #294531; background: rgba(12,33,19,0.96); }
  .evidence-card { border-color: #294531; background: rgba(12,33,19,0.96); }
  .evidence-card figcaption strong { color: #fffaf0; }
  .evidence-card figcaption span { color: #c6d1c8; }
  .breadcrumb { color: #bdc9bf; }
  .section-label, .signal-card strong, .related-card span, .breadcrumb a { color: #78ef91; }
}
