/* =========================================================================
   Andrews Lawn & Garden — main.css
   Single stylesheet for the whole site. No framework, no build step.
   Sections:  1 Fonts  2 Tokens  3 Reset  4 Type  5 Layout primitives
              6 Buttons  7 Header/Nav  8 Hero  9 Cards & grids
             10 Content blocks 11 Forms 12 Footer 13 Chat widget 14 Utilities
   ========================================================================= */

/* 1 ── FONTS (self-hosted, latin subset) ────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-v20-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-v40-latin-700.woff2') format('woff2');
}

/* 2 ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  /* palette */
  --ink: #111411;
  --ink-80: #2A2E29;
  --leaf: #6CBE45;
  --leaf-dark: #58a336;
  --deep: #2E5E1F;
  --cream: #F7F6F1;
  --cream-2: #EFEDE5;
  --white: #FFFFFF;
  --gray: #6B6E68;
  --gray-line: #DEDCD3;

  /* type */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* fluid scale */
  --fs-display: clamp(2.35rem, 1.35rem + 4.2vw, 4.6rem);
  --fs-h1: clamp(2.05rem, 1.35rem + 2.9vw, 3.4rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.9vw, 2.5rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  --fs-lede: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* space */
  --s-1: 0.25rem;  --s-2: 0.5rem;   --s-3: 0.75rem;  --s-4: 1rem;
  --s-5: 1.5rem;   --s-6: 2rem;     --s-7: 3rem;     --s-8: 4rem;
  --s-9: 5.5rem;   --s-10: 7rem;
  --section-y: clamp(3.5rem, 2rem + 5vw, 7rem);

  /* structure */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(17, 20, 17, .06), 0 2px 8px rgba(17, 20, 17, .05);
  --shadow-md: 0 4px 12px rgba(17, 20, 17, .08), 0 12px 32px rgba(17, 20, 17, .07);
  --shadow-lg: 0 12px 28px rgba(17, 20, 17, .13), 0 32px 64px rgba(17, 20, 17, .14);
  --header-h: 74px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* 3 ── RESET ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 2px;
  border-radius: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* 4 ── TYPE ─────────────────────────────────────────────────────────────── */
h1, h2, h3, .h1, .h2, .h3, .display {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--deep);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--leaf);
}
/* On photo/dark backgrounds the label goes white and the rule stays green —
   green-on-sky fails contrast in bright hero crops. */
.eyebrow--light { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(9, 12, 9, .5); }

.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--gray);
  max-width: 62ch;
}
.muted { color: var(--gray); }
.small { font-size: var(--fs-sm); }

/* Long-form copy blocks (service pages, city pages, legal pages) */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose h2 + p, .prose h3 + p { margin-top: var(--s-4); }
.prose a {
  color: var(--deep);
  text-decoration: underline;
  text-decoration-color: var(--leaf);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.prose a:hover { color: var(--leaf-dark); }
.prose ul { list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-top: var(--s-3);
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 7px;
  height: 7px;
  background: var(--leaf);
  border-radius: 50%;
}
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.prose ol li { margin-top: var(--s-3); }
.prose strong { font-weight: 600; }

/* 5 ── LAYOUT PRIMITIVES ────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--s-5);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section--alt { background: var(--white); }
.section--cream2 { background: var(--cream-2); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .lede, .section--dark .muted { color: rgba(255, 255, 255, .72); }

.section-head { max-width: 700px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head > h2 + .lede, .section-head > h1 + .lede { margin-top: var(--s-4); }

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  max-width: none;
}
.section-head--split > div { max-width: 620px; }

.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid { gap: var(--s-6); }
}

/* Two-column text + image */
.split {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
  .split--media-first > .split__media { order: -1; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
}
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media--tall img { aspect-ratio: 3 / 4; }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

/* 6 ── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 0.9rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.btn--primary:hover { background: var(--deep); border-color: var(--deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.btn--sm { padding: 0.55rem 1.05rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row--center { justify-content: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--deep);
}
.link-arrow::after {
  content: '';
  width: 16px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M11 0l5 5-5 5-1.4-1.4L12.2 6H0V4h12.2L9.6 1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M11 0l5 5-5 5-1.4-1.4L12.2 6H0V4h12.2L9.6 1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .18s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--light { color: var(--leaf); }

/* 7 ── HEADER / NAV ─────────────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: var(--s-3) var(--s-4);
}
.skip-link:focus { left: var(--s-4); top: var(--s-4); }

.site-top { position: sticky; top: 0; z-index: 90; }

.utility-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, .85);
  font-size: var(--fs-xs);
}
.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--s-5);
  min-height: 40px;
  padding-block: var(--s-2);
}
.utility-bar a { color: var(--white); }
.utility-bar__phone {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.utility-bar__phone:hover { color: var(--leaf); }
.utility-bar__hours { display: none; }
@media (min-width: 720px) { .utility-bar__hours { display: inline; } }
.utility-bar .btn { display: none; }
@media (min-width: 900px) { .utility-bar .btn { display: inline-flex; } }

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--gray-line);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
}
.site-header__logo img { width: auto; height: 46px; }
@media (min-width: 900px) { .site-header__logo img { height: 54px; } }

.nav { display: none; }
@media (min-width: 1000px) { .nav { display: block; } }
.nav__list { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--s-3) var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: 10px;
  height: 2px;
  background: var(--leaf);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav__link:hover::after,
.nav__item:hover > .nav__link::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 600; }
.nav__caret { width: 9px; height: 6px; fill: currentColor; opacity: .65; }

.nav__item { position: relative; }
.nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 268px;
  padding: var(--s-3);
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav__item:hover > .nav__menu,
.nav__item:focus-within > .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__menu a {
  display: block;
  padding: var(--s-2) var(--s-3);
  border-radius: 4px;
  font-size: var(--fs-sm);
  color: var(--ink-80);
}
.nav__menu a:hover { background: var(--cream); color: var(--deep); }
.nav__menu--cities { columns: 2; column-gap: var(--s-4); min-width: 380px; }
.nav__menu--cities a { break-inside: avoid; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding-inline: var(--s-5);
  border-bottom: 1px solid var(--gray-line);
}
.mobile-menu__head img { height: 44px; width: auto; }
.mobile-menu__close {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  font-size: 1.4rem;
  line-height: 1;
}
.mobile-menu__body { flex: 1; padding: var(--s-5); }
.mobile-menu__body > li { border-bottom: 1px solid var(--gray-line); }
.mobile-menu__body > li > a,
.mobile-menu__acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--s-4) 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
}
.mobile-menu__acc-btn .nav__caret { width: 12px; height: 8px; transition: transform .2s var(--ease); }
.mobile-menu__acc-btn[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.mobile-menu__sub { display: none; padding: 0 0 var(--s-4) var(--s-4); }
.mobile-menu__sub.is-open { display: block; }
.mobile-menu__sub a {
  display: block;
  padding: var(--s-2) 0;
  font-size: var(--fs-sm);
  color: var(--gray);
}
.mobile-menu__foot {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  background: var(--ink);
}
body.menu-open { overflow: hidden; }

/* Breadcrumb */
.breadcrumb {
  padding-block: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--gray);
  background: var(--cream);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.breadcrumb li { display: flex; align-items: center; gap: var(--s-2); }
.breadcrumb li + li::before { content: '/'; color: var(--gray-line); }
.breadcrumb a:hover { color: var(--deep); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* 8 ── HERO ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(480px, 72vh, 760px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(9, 12, 9, .90) 0%, rgba(9, 12, 9, .72) 32%, rgba(9, 12, 9, .40) 62%, rgba(9, 12, 9, .16) 82%, rgba(9, 12, 9, .34) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 1rem + 6vw, 5.5rem);
}
.hero__content { max-width: 780px; }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255, 255, 255, .86); margin-top: var(--s-5); max-width: 56ch; }
.hero .btn-row { margin-top: var(--s-6); }

/* Compact hero strip for interior pages (service / city / gallery / etc.) */
.hero--page { min-height: clamp(340px, 48vh, 480px); align-items: center; }
.hero--page .hero__inner { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.hero--page .hero__media::after {
  background: linear-gradient(to right, rgba(9, 12, 9, .88) 0%, rgba(9, 12, 9, .62) 55%, rgba(9, 12, 9, .38) 100%);
}
/* Text-only hero (pages with no photo — legal, review, 404) */
.hero--plain {
  min-height: 0;
  background: var(--ink);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  display: block;
}
.hero--plain .hero__inner { padding-block: 0; }

/* 9 ── CARDS & GRIDS ────────────────────────────────────────────────────── */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
a.card:hover, .card:has(a:hover) {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--s-3);
  padding: var(--s-5);
}
.card__body h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.card__body > .link-arrow { margin-top: auto; padding-top: var(--s-2); }
.card__text { color: var(--gray); font-size: var(--fs-sm); }
.card--service { position: relative; }
/* Text-only card (services with no photo yet) */
.card--text .card__body { padding-block: var(--s-6); }
.card--text::before {
  content: '';
  display: block;
  height: 4px;
  background: var(--leaf);
}

/* Photo grid (recent work, gallery, project sets) */
.media-grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .media-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.media-grid figure { margin: 0; }
.media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream-2);
}
.media-grid--feature img:first-child { aspect-ratio: 4 / 3; }
@media (min-width: 760px) {
  .media-grid--feature > *:first-child { grid-column: span 2; grid-row: span 2; }
  .media-grid--feature > *:first-child img { aspect-ratio: 1 / 1; height: 100%; }
}
.figure figcaption,
.media-grid figcaption {
  margin-top: var(--s-2);
  font-size: var(--fs-xs);
  color: var(--gray);
}

/* Before / after pair */
.ba-pair { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 700px) { .ba-pair { grid-template-columns: 1fr 1fr; } }
.ba-pair figure { position: relative; margin: 0; }
.ba-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tag--leaf { background: var(--leaf); }
.tag--onphoto { position: absolute; top: var(--s-3); left: var(--s-3); }

/* 10 ── CONTENT BLOCKS ──────────────────────────────────────────────────── */
/* Trust strip */
.trust-strip { background: var(--white); border-block: 1px solid var(--gray-line); }
.trust-strip__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  padding-block: var(--s-6);
}
@media (min-width: 860px) { .trust-strip__list { grid-template-columns: repeat(4, 1fr); } }
.trust-strip li { display: flex; align-items: center; gap: var(--s-3); }
.trust-strip svg { flex: none; width: 26px; height: 26px; stroke: var(--deep); fill: none; stroke-width: 1.5; }
.trust-strip span { font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; }

/* Numbered process steps */
.steps { counter-reset: step; }
.steps li { position: relative; padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.steps li::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--leaf);
  margin-bottom: var(--s-3);
}
.steps h3 { margin-bottom: var(--s-2); }
.steps p { color: var(--gray); font-size: var(--fs-sm); }

/* FAQ (native disclosure, no JS) */
.faq { max-width: 820px; border-top: 1px solid var(--gray-line); }
.faq details { border-bottom: 1px solid var(--gray-line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: none;
  width: 16px; height: 16px;
  margin-top: 5px;
  background: var(--deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7 0h2v16H7z'/%3E%3Cpath d='M0 7h16v2H0z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M7 0h2v16H7z'/%3E%3Cpath d='M0 7h16v2H0z'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div {
  padding-bottom: var(--s-5);
  color: var(--gray);
  max-width: 68ch;
}
.faq details > div > * + * { margin-top: var(--s-4); }

/* Link lists (cities, services, footer meshes) */
.link-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2) var(--s-5);
}
@media (min-width: 700px) { .link-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .link-list--5 { grid-template-columns: repeat(5, 1fr); } }
.link-list a {
  display: block;
  padding: var(--s-2) 0;
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--gray-line);
  transition: color .18s var(--ease), padding-left .18s var(--ease);
}
.link-list a:hover { color: var(--deep); padding-left: 6px; }

/* Cross-link block used at the bottom of service + city pages */
.crosslinks { display: grid; gap: var(--s-6); }
@media (min-width: 760px) { .crosslinks { grid-template-columns: 1fr 1fr; } }
.crosslinks h3 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-bottom: var(--s-3); }
.crosslinks ul { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--gray-line);
  border-radius: 40px;
  background: var(--white);
  font-size: var(--fs-sm);
  transition: border-color .18s var(--ease), color .18s var(--ease), background-color .18s var(--ease);
}
.chip:hover { border-color: var(--leaf); color: var(--deep); }

/* CTA band */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem);
}
.cta-band__inner {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1.2fr auto; gap: var(--s-8); }
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, .74); margin-top: var(--s-4); max-width: 52ch; }
.cta-band .btn-row { flex-direction: column; }
@media (min-width: 480px) { .cta-band .btn-row { flex-direction: row; } }

/* Quote / testimonial (only used when a real, attributable quote exists) */
.quote { max-width: 780px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.4; }
.quote cite { display: block; margin-top: var(--s-4); font-style: normal; font-size: var(--fs-sm); color: var(--gray); }

/* Google rating — hero trust line + homepage reviews section */
.rating-line {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 12px rgba(9, 12, 9, .6);
  transition: color .18s var(--ease);
}
.rating-line:hover { color: var(--white); }
.rating-line strong { font-weight: 700; }
.rating-line__stars { display: inline-flex; gap: 2px; }
.rating-line__stars svg { width: 15px; height: 15px; fill: var(--leaf); }

.rating-stat { text-align: center; }
.rating-stat__score {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3rem, 2rem + 4vw, 4.25rem);
  line-height: 1;
  color: var(--ink);
}
.rating-stat .rating-line__stars { justify-content: center; margin-top: var(--s-3); }
.rating-stat .rating-line__stars svg { width: 20px; height: 20px; }
.rating-stat__label { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--gray); }

.review-card { padding: var(--s-6); }
.review-card blockquote { font-family: var(--serif); font-size: 1.1rem; line-height: 1.45; }
.review-card cite {
  display: block;
  margin-top: var(--s-4);
  font-style: normal;
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
}
.rating-note a { color: var(--deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.rating-note a:hover { color: var(--leaf-dark); }

/* Filter bar (gallery) */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.filter-bar button {
  padding: 8px 16px;
  border: 1px solid var(--gray-line);
  border-radius: 40px;
  background: var(--white);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all .18s var(--ease);
}
.filter-bar button:hover { border-color: var(--leaf); }
.filter-bar button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Project entry (current projects) */
.project { padding-block: var(--section-y); border-top: 1px solid var(--gray-line); }
.project:first-of-type { border-top: 0; padding-top: 0; }
.project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-bottom: var(--s-3); }

/* Phone-framed vertical video */
.phone-frame {
  width: min(300px, 78vw);
  padding: 10px;
  background: var(--ink);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}
.phone-frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 22px;
  background: #000;
}

/* Map embed */
.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--gray-line);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* 11 ── FORMS ───────────────────────────────────────────────────────────── */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field > label,
.fieldset__legend {
  font-size: var(--fs-sm);
  font-weight: 600;
}
.field .hint { font-size: var(--fs-xs); color: var(--gray); }
.input, .field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(108, 190, 69, .22);
}
.field select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%236B6E68' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 10px;
  padding-right: 2.4rem; }
fieldset { margin: 0; padding: 0; border: 0; }
.fieldset__legend { display: block; margin-bottom: var(--s-3); }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-2) var(--s-4); }
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 400;
  cursor: pointer;
}
.check input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--leaf); }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.form__status { font-size: var(--fs-sm); font-weight: 500; }
.form__status[data-state="ok"] { color: var(--deep); }
.form__status[data-state="err"] { color: #A3341F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* NAP block */
.nap { font-style: normal; font-size: var(--fs-sm); line-height: 1.75; }
.nap dt {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: var(--s-4);
}
.nap dt:first-child { margin-top: 0; }
.nap dd { margin: 0; }
.nap a:hover { color: var(--deep); text-decoration: underline; }

/* 12 ── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); font-size: var(--fs-sm); }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: var(--leaf); }
.site-footer__top {
  display: grid;
  gap: var(--s-7);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}
@media (min-width: 700px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--s-6); } }
.site-footer h2, .site-footer h3 {
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--s-4);
}
.site-footer__logo img { height: 56px; width: auto; margin-bottom: var(--s-4); }
.site-footer__blurb { max-width: 34ch; }
.site-footer ul li { margin-bottom: var(--s-2); }
.site-footer .nap { color: rgba(255, 255, 255, .74); }
.site-footer .nap dt { color: rgba(255, 255, 255, .5); }
.site-footer .nap a { text-decoration: none; }
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
}
.footer-social a:hover { border-color: var(--leaf); background: rgba(108, 190, 69, .12); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--fs-xs);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-5); }

/* 13 ── CHAT WIDGET (injected by main.js) ───────────────────────────────── */
.alg-chat { position: fixed; right: 18px; bottom: 18px; z-index: 120; font-family: var(--sans); }
@media (min-width: 700px) { .alg-chat { right: 26px; bottom: 26px; } }

.alg-chat__bubble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  background: var(--leaf);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.alg-chat__bubble:hover { background: var(--deep); transform: scale(1.05); }
.alg-chat__bubble svg { width: 27px; height: 27px; fill: #fff; }
.alg-chat__bubble .alg-chat__ico-close { display: none; }
.alg-chat.is-open .alg-chat__bubble .alg-chat__ico-chat { display: none; }
.alg-chat.is-open .alg-chat__bubble .alg-chat__ico-close { display: block; }

.alg-chat__teaser {
  position: absolute;
  right: 72px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: max-content;
  max-width: min(260px, calc(100vw - 110px));
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  line-height: 1.4;
  text-align: left;
  color: var(--ink);
  animation: algFadeUp .3s var(--ease) both;
}
.alg-chat__teaser button {
  flex: none;
  width: 22px; height: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1;
}
.alg-chat__teaser button:hover { color: var(--ink); }

.alg-chat__panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 340px;
  max-height: min(76vh, 620px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: algFadeUp .22s var(--ease) both;
}
.alg-chat__panel[hidden] { display: none; }
@media (max-width: 560px) {
  .alg-chat { right: 14px; bottom: 14px; }
  .alg-chat__panel {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
  }
}
.alg-chat__head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--ink);
  color: var(--white);
}
.alg-chat__head img { width: 40px; height: 40px; object-fit: contain; flex: none; }
.alg-chat__head strong { display: block; font-size: var(--fs-sm); }
.alg-chat__head span { display: block; font-size: var(--fs-xs); color: rgba(255, 255, 255, .66); }
.alg-chat__close {
  margin-left: auto;
  width: 30px; height: 30px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 1.3rem;
  line-height: 1;
}
.alg-chat__close:hover { color: var(--white); }
.alg-chat__body { padding: var(--s-5); overflow-y: auto; }
.alg-chat__intro { font-size: var(--fs-sm); color: var(--gray); margin-bottom: var(--s-4); }
.alg-chat__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-5); }
.alg-chat__chips button {
  padding: 6px 12px;
  background: var(--cream);
  border: 1px solid var(--gray-line);
  border-radius: 40px;
  font-size: var(--fs-xs);
  font-weight: 500;
  transition: all .16s var(--ease);
}
.alg-chat__chips button:hover { border-color: var(--leaf); }
.alg-chat__chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.alg-chat__form { display: grid; gap: var(--s-3); }
.alg-chat__form label { font-size: var(--fs-xs); font-weight: 600; }
.alg-chat__form input, .alg-chat__form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
}
.alg-chat__form textarea { min-height: 84px; resize: vertical; }
.alg-chat__form input:focus, .alg-chat__form textarea:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(108, 190, 69, .22);
}
.alg-chat__direct {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--gray-line);
  font-size: var(--fs-xs);
  color: var(--gray);
}
.alg-chat__direct .btn-row { margin-top: var(--s-3); }
.alg-chat__direct .btn { flex: 1; }
.alg-chat__success { text-align: center; padding: var(--s-6) var(--s-4); }
.alg-chat__success svg { width: 46px; height: 46px; margin: 0 auto var(--s-4); stroke: var(--leaf); fill: none; stroke-width: 1.5; }
.alg-chat__success p { font-size: var(--fs-sm); color: var(--gray); margin-top: var(--s-3); }
.alg-chat__err { font-size: var(--fs-xs); color: #A3341F; }

@keyframes algFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 14 ── UTILITIES ───────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.is-hidden { display: none !important; }
.rule { height: 1px; background: var(--gray-line); border: 0; margin: 0; }
