/* berkshire.css — Berkshire Turfgrass Specialists' own layer, loaded LAST on
   every page (after the base sheet and dock.css). Everything client-specific
   lives here: the abba-lab v10 "Before / after slider" look (Gloock + Manrope,
   forest ink, gold pop) carried across the whole site, Tylor's logo green, the
   transparent homepage nav, the drag-to-compare hero with the ZIP check, v10's
   photo-tile Services dropdown, and the homepage program band. */

/* ------------------------------------------------------------ brand + type */
:root {
  /* v10 forest + gold; --brand is sampled from his logo (#467b43). */
  --primary: #18261c;
  --primary-dark: #111b14;
  --primary-darker: #0b120d;
  --accent: #467b43;
  --accent-dark: #36633a;
  --accent-tint: #ecf3e9;
  --ink: #18261c;
  --cream: #f6f4ee;
  --brand: #467b43;
  --gold: #f6d55c;
  --gold-ink: #18261c;
  --pop: var(--gold);
  --pop-ink: var(--gold-ink);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Gloock', Georgia, 'Times New Roman', serif;
  --display: var(--serif);
  --r: 10px;
}
body { font-family: var(--font); }
/* CCBB paints chips/tags/step numbers/area buttons as ink-on-ACCENT, which
   needs a bright accent: on CCBB pages that is the gold; the green stays for
   links and icons via --brand. */
body.t-ccbb { --accent: #f6d55c; --accent-dark: #c9a52a; --accent-tint: #fbf4d6; }
body.t-ccbb a.chip:hover { color: var(--ink); }
.featured-review .stars, body.t-ccbb .featured-review .stars { color: var(--gold); }

/* Gloock (one weight) for display type on every page, as on the v10 homepage */
h1, h2.title, .page-hero h1, .featured-review blockquote, .cta-band h2, body.home h3,
.svc-label, .rating-badge .num { font-family: var(--serif) !important; font-weight: 400 !important; letter-spacing: -.01em; }
h2.title { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; }
.title em, .cta-band h2 em { font-style: normal; color: var(--brand); }
.band-photo .title em, .cta-band h2 em, .light-text .title em { color: var(--gold); }
body.home .val h3, body.home .step h3 { font-size: 23px; }

/* buttons: gold pill for every primary call to action (v10's "Free Quote") */
.btn { border-radius: 999px !important; }
.btn-accent, body .btn.btn-accent { background: var(--gold) !important; color: var(--gold-ink) !important; border-color: var(--gold) !important; box-shadow: none !important; }
.btn-accent:hover { filter: brightness(1.04); }
.btn-outline-dark { box-shadow: none !important; }

/* ------------------------------------------------------------ nav */
.lnav { height: 84px; }
.lbrand { font-family: var(--serif); font-weight: 400; font-size: 26px; gap: 12px; letter-spacing: -.01em; }
.lbrand small { font-size: inherit; opacity: .8; }
.lbrand img { width: 46px; height: 46px; background: #fff; padding: 2px; box-shadow: none; }
.lnav .ltop { font-size: 16.5px; font-weight: 500; }
.lnav.is-home:not(.scrolled):not(.open) .ltop, .lnav.is-home:not(.scrolled):not(.open) .lcall, .lnav.is-home:not(.scrolled):not(.open) .lbrand { text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.lnav.solid .ltop.active, .lnav.scrolled .ltop.active, .lnav .ltop.active { color: var(--brand); }
.lnav.is-home:not(.scrolled):not(.open) .ltop.active { color: #fff; }
.lcall { font-size: 17px; }
.lbtn, .lnav.solid .lbtn, .lnav.scrolled .lbtn, .lnav.open .lbtn { background: var(--gold); color: var(--gold-ink); border-radius: 999px; padding: 13px 24px; font-weight: 700; font-size: 16px; }
.lbtn:hover { filter: brightness(1.04); }

/* ------------------------------------------------------------ Services dropdown (v10 photo tiles) */
.mm { display: block; width: 680px; left: -40px; padding: 12px; border-radius: 16px; box-shadow: 0 30px 70px rgba(8,14,10,.28); }
.mm-feature { display: none !important; }
.mm-list { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: 120px; gap: 8px; }
.mm-item, .mm-item:first-child { position: relative; display: block; padding: 0; overflow: hidden; border: 0; border-radius: 10px; }
.mm-item:first-child { grid-row: span 2; }
.mm-item:hover { background: none; }
.mm-ph { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; transition: transform .4s; }
.mm-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,14,10,.85), rgba(8,14,10,0) 65%); }
.mm-item:hover .mm-ph { transform: scale(1.06); }
.mm-t { position: absolute; left: 12px; right: 12px; bottom: 10px; }
.mm-t b { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.1; }
.mm-item:first-child .mm-t b { font-size: 24px; }
.mm-t small { display: none; }
.mm-item:first-child .mm-t small { display: block; color: rgba(255,255,255,.82); font-size: 13px; margin-top: 6px; }
.mm-all { display: block; padding: 12px 4px 2px; color: var(--brand); font-size: 14.5px; }

/* ------------------------------------------------------------ homepage hero (v10 before / after) */
.lhero { --x: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lhero.dragging { cursor: ew-resize; }
.lhero-bg { object-position: center 45%; }
.lhero-shade { background: linear-gradient(to bottom, rgba(6,12,8,.72) 0%, rgba(6,12,8,.38) 34%, rgba(6,12,8,0) 55%, rgba(6,12,8,.15) 80%, rgba(6,12,8,.45) 100%); }
.lba-before { position: absolute; inset: 0; z-index: -2; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.lba-before img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; max-width: none; filter: saturate(.3) sepia(.55) hue-rotate(-10deg) brightness(.94) contrast(.95); }
.lba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(255,255,255,.92); box-shadow: 0 0 18px rgba(0,0,0,.35); z-index: 1; pointer-events: none; }
.lba-knob { position: absolute; top: 78%; left: var(--x); z-index: 2; width: 58px; height: 58px; margin: -29px 0 0 -29px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font: 700 20px/1 var(--font); letter-spacing: 2px; cursor: ew-resize; box-shadow: 0 10px 30px rgba(0,0,0,.35); touch-action: none; }
.lba-knob:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.lba-tag { position: absolute; bottom: 28px; z-index: 1; font: 700 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; background: rgba(10,16,12,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 999px; pointer-events: none; }
.lba-tag.l { left: clamp(18px, 3vw, 40px); }
.lba-tag.r { right: clamp(18px, 3vw, 40px); background: var(--gold); color: var(--gold-ink); backdrop-filter: none; }
.lhero-in { align-items: flex-start; justify-content: center; text-align: center; padding-top: 150px; padding-bottom: 110px; }
.lhero-copy { flex: 0 1 960px; min-width: 0; max-width: 960px; }
/* the keyword h1: v10's plain spaced eyebrow, not DOCK's glass chip */
.lhero h1.leyebrow { display: block; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; padding: 0;
  font-family: var(--font) !important; font-weight: 700 !important; font-size: 13.5px; letter-spacing: .2em; margin: 0 0 18px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.lhero h2.lhero-h { font-family: var(--serif) !important; font-weight: 400 !important; color: #fff; font-size: clamp(48px, 7vw, 112px); line-height: .98; letter-spacing: -.015em; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.lhero-h em { font-style: normal; color: var(--gold); }
.llede { margin: 18px auto 0; max-width: 640px; font-size: clamp(17px, 1.6vw, 22px); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.ltrust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; justify-content: center; margin-top: 16px; font-size: 15.5px; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.lstars { color: var(--gold); letter-spacing: 2px; font-size: 17px; }
.ldot::before { content: '·'; margin-right: 12px; opacity: .6; }
.lzip { display: flex; gap: 6px; max-width: 470px; margin: 28px auto 0; background: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.lzip-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 16px; color: #74827a; cursor: text; margin: 0; }
.lzip input { flex: 1; min-width: 0; width: auto; border: 0; outline: 0; background: none; font: 600 17px/1 var(--font); color: var(--ink); padding: 15px 0; margin: 0; letter-spacing: .04em; box-shadow: none; }
.lzip button { flex: none; border: 0; cursor: pointer; background: var(--primary); color: #fff; font: 700 15.5px/1 var(--font); padding: 0 24px; border-radius: 999px; white-space: nowrap; transition: filter .15s; }
.lzip button:hover { filter: brightness(1.25); }
.lzip.shake { animation: lshake .35s; }
.lzip-msg { min-height: 22px; margin-top: 10px; font-size: 14.5px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.lzip-msg.ok { color: #d6f7c0; } .lzip-msg.no { color: #ffe0cf; } .lzip-msg a { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------ program band */
.pgm-band { background: #fff; }
.pgm-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.pgm-lede { margin-top: 16px; font-size: 17px; line-height: 1.6; color: #45524a; max-width: 600px; }
.pgm-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.pgm-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: #4d5a52; }
.pgm-list li svg { flex: none; margin-top: 2px; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-tint); color: var(--brand); }
.pgm-list li b { display: block; color: var(--ink); font-size: 15.5px; }
.pgm-no { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.pgm-no span { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--primary); background: var(--cream); border: 1px solid #e4e1d6; padding: 8px 13px; border-radius: 999px; }
.pgm-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pgm-photo { position: relative; }
.pgm-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; display: block; }
.pgm-badge { position: absolute; left: -22px; bottom: 28px; max-width: 270px; background: var(--primary); color: #fff; padding: 18px 20px; border-radius: 16px; box-shadow: 0 18px 40px rgba(8,14,10,.3); }
.pgm-badge b { display: block; font: 400 28px/1 var(--serif); color: var(--gold); }
.pgm-badge span { display: block; font-size: 13.5px; line-height: 1.45; opacity: .9; margin-top: 6px; }
.addons { margin-top: 56px; padding-top: 34px; border-top: 1px solid #e7e9e4; }
.addons-h { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); margin: 0 0 16px; }
.addons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.addon { display: flex; align-items: center; gap: 18px; padding: 14px; background: var(--cream); border-radius: 18px; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.addon:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(8,14,10,.1); }
.addon-ph { flex: none; width: 108px; height: 108px; border-radius: 12px; background-size: cover; background-position: center; }
.addon-t { flex: 1; min-width: 0; }
.addon-t small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.addon-t b { display: block; font: 400 23px/1.15 var(--serif); margin: 4px 0; }
.addon-t span { display: block; font-size: 14px; line-height: 1.45; color: #56625a; }
.addon-go { flex: none; font-size: 22px; color: var(--brand); padding-right: 8px; }

/* misc */
.rating-badge .num { color: var(--primary); }
body .cta-band.band-photo::before { background: rgba(11,18,13,.74) !important; }
.lfoot { background: var(--primary-darker); }

/* ------------------------------------------------------------ phones + tablets */
@media (min-width: 901px) and (max-width: 1280px) {
  .lnav { gap: 14px; }
  .lnav .ltop { font-size: 15.5px; padding: 0 8px; }
  .lbrand { font-size: 21px; }
}
@media (min-width: 901px) and (max-width: 1120px) { .lbrand span { display: none; } }
@media (max-width: 900px) {
  .lnav { height: 66px; }
  .lbrand { font-size: 19px; gap: 9px; } .lbrand img { width: 38px; height: 38px; }
  .mm { position: static; width: auto; padding: 8px 0 4px; box-shadow: none; border-radius: 0; background: none; }
  .mm-list { grid-template-columns: 1fr 1fr; grid-auto-rows: 92px; }
  .mm-item:first-child { grid-row: auto; grid-column: span 2; }
  .mm-t b, .mm-item:first-child .mm-t b { font-size: 15px; }
  .mm-item:first-child .mm-t small, .mm-all { display: none; }
  .lhero-in { padding-top: 104px; padding-bottom: 96px; }
  .lhero-shade { background: linear-gradient(to bottom, rgba(6,12,8,.76) 0%, rgba(6,12,8,.52) 50%, rgba(6,12,8,.08) 70%, rgba(6,12,8,.42) 100%); }
  .lba-knob { top: 84%; width: 50px; height: 50px; margin: -25px 0 0 -25px; font-size: 17px; }
  .lba-tag { bottom: 16px; font-size: 10.5px; padding: 7px 10px; }
  .pgm-split { grid-template-columns: 1fr; }
  .pgm-photo { order: -1; } .pgm-photo img { aspect-ratio: 16 / 10; }
  .pgm-badge { left: 12px; bottom: 12px; }
  .addons-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lbrand small { display: none; }
  .lbtn, .lnav.solid .lbtn, .lnav.scrolled .lbtn, .lnav.open .lbtn { padding: 10px 14px; font-size: 14px; }
  .lhero h1.leyebrow { font-size: 11px; letter-spacing: .14em; }
  .llede { display: block; font-size: 16px; }
  .lzip button { padding: 0 16px; font-size: 14.5px; }
  .ltrust { font-size: 13.5px; }
  .ltrust .ldot { flex-basis: 100%; } .ltrust .ldot::before { display: none; }
  .pgm-list { grid-template-columns: 1fr; }
  .addon-ph { width: 76px; height: 76px; }
  .addon-t b { font-size: 19px; }
}
@media (max-width: 400px) { .lbrand span { display: none; } }
