/* HSD website kit, "branded" theme (site.json "theme": "branded"): the Kansas City Tree Care / TreeEx look in the
   client's own colours (David 2026-10-23). Loaded after site.css; only overrides and the extra branded sections.
   --brand = the dark colour from the logo (structure, headings accents, form header); --accent = the bright logo colour
   (buttons, announcement bar, call band), always with near-black text on it, never white. */
@font-face { font-family: 'Barlow Semi Condensed'; src: url('/assets/fonts/barlow-semi-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Semi Condensed'; src: url('/assets/fonts/barlow-semi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-600.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
.theme-branded {
  --ink: #141812; --line: #dfe5da; --tint: #f2f6ee;
  --font-head: 'Barlow Semi Condensed', 'Arial Narrow', Arial, sans-serif; --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --r-sm: 6px; --r: 8px; --r-lg: 12px; --bar: 42px;
  font-size: 17px;
}
.theme-branded h1, .theme-branded h2, .theme-branded h3 { letter-spacing: .005em; }

/* buttons: bright brand colour with dark text */
.theme-branded .btn { border-radius: var(--r); font-family: var(--font-head); font-size: 18px; letter-spacing: .02em; }
.theme-branded .btn-accent { background: var(--accent); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); }
.theme-branded .btn-accent:hover { background: var(--accent-dark); }
.theme-branded .btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.theme-branded .btn-outline:hover { background: var(--brand); color: #fff; }
.theme-branded .btn-dark { background: var(--ink); color: #fff; } .theme-branded .btn-dark:hover { background: #000; }
.theme-branded .btn-brand { background: var(--brand); color: #fff; } .theme-branded .btn-brand:hover { background: var(--brand-dark); }
.theme-branded .btn-sm { font-size: 16px; }

/* announcement bar + header card floating over the hero */
.theme-branded .announce { background: var(--accent); color: var(--ink); height: var(--bar); display: flex; align-items: center; font-weight: 600; font-size: 15.5px; }
.theme-branded .announce .wrap { width: 100%; display: flex; justify-content: center; align-items: center; gap: 22px; }
.theme-branded .announce a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 700; }
.theme-branded .announce .ico { width: 16px; height: 16px; }
.theme-branded .site-header { position: absolute; top: var(--bar); left: 0; right: 0; background: none; border: 0; z-index: 50; }
.theme-branded:not(:has(.hero)) .site-header { position: static; background: var(--tint); padding-bottom: 6px; }
.theme-branded .head-in { background: #fff; border-radius: var(--r-lg); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); margin-top: 16px; padding: 0 20px 0 18px; min-height: 86px; gap: 20px; }
.theme-branded .nav ul { gap: 28px; }
.theme-branded .nav a { font-size: 18px; }
.theme-branded .nav > ul > li > a:hover { color: var(--brand); }
.theme-branded .head-call { font-size: 19px; min-height: 52px; padding: 0 18px; }
.theme-branded .head-quote { min-height: 52px; padding: 0 20px; white-space: nowrap; }
.theme-branded .logo { flex-direction: row; align-items: center; gap: 12px; }
.logo-badge { width: 62px; height: 62px; flex: none; }
.logo-words { display: flex; flex-direction: column; }
.logo-top { font: 700 32px/.9 var(--font-head); text-transform: uppercase; color: var(--ink); letter-spacing: .03em; }
.logo-wsub { margin-top: 4px; font: 700 13px/1 var(--font-head); text-transform: uppercase; letter-spacing: .2em; color: var(--brand); }
.theme-branded .mnav { background: #fff; border: 0; border-radius: var(--r-lg); margin: 8px var(--gutter) 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
@media (max-width: 1250px) { .theme-branded .nav ul { gap: 20px; } .theme-branded .nav a { font-size: 16.5px; } .theme-branded .head-call span { display: none; } .theme-branded .head-call { padding: 0 14px; } }
@media (max-width: 1000px) { .theme-branded .head-in { grid-template-columns: 1fr auto; min-height: 72px; } }
@media (max-width: 768px) {
  .theme-branded .announce { display: none; }
  .theme-branded .topcall { background: var(--accent); }
  .theme-branded .topcall a { color: var(--ink); }
  .theme-branded .site-header { position: absolute; top: 52px; }
  .theme-branded:not(:has(.hero)) .site-header { position: static; }
  .theme-branded .head-in { margin-top: 10px; padding: 0 10px 0 12px; min-height: 68px; }
  .logo-badge { width: 50px; height: 50px; }
  .logo-top { font-size: 26px; } .logo-wsub { font-size: 11px; letter-spacing: .16em; }
}

/* hero */
.theme-branded .hero-bg::after { background: linear-gradient(90deg, rgba(12, 18, 8, .86) 0%, rgba(12, 18, 8, .7) 42%, rgba(12, 18, 8, .35) 72%, rgba(12, 18, 8, .25) 100%); }
.theme-branded .hero-grid { padding-top: 150px; padding-bottom: 120px; grid-template-columns: minmax(0, 1fr) 460px; }
.theme-branded .hero--inner .hero-grid { padding-top: 140px; padding-bottom: 100px; }
.theme-branded .hero h1 { font-size: clamp(42px, 5vw, 64px); line-height: 1.05; }
.theme-branded .gbadge { border-radius: var(--r); padding: 10px 16px; }
.theme-branded .checks li { font-size: 19px; }
.theme-branded .checks .ico { color: var(--accent); }
.theme-branded .checks--dark .ico { color: var(--brand); }
.theme-branded .ctas--hero .btn-outline { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 960px) {
  .theme-branded .hero-grid { grid-template-columns: 1fr; padding-top: 108px; padding-bottom: 60px; }
  .theme-branded .hero--inner .hero-grid { padding-top: 104px; padding-bottom: 52px; }
  .theme-branded .hero-bg::after { background: linear-gradient(180deg, rgba(12, 18, 8, .84) 0%, rgba(12, 18, 8, .76) 60%, rgba(12, 18, 8, .86) 100%); }
  .theme-branded .hero h1 { font-size: 42px; }
}

/* estimate card: a solid brand header like TreeEx */
.theme-branded .qcard { padding: 0; overflow: hidden; border-top: 0; border-radius: var(--r-lg); }
.theme-branded .qcard-t { background: var(--brand); color: #fff; padding: 20px 20px 18px; margin: 0; font-size: 27px; }
.theme-branded .qcard > form { padding: 20px 24px 0; }
.theme-branded .qcard-g { margin: 16px 24px 0; padding: 14px 0 18px; }
.theme-branded .lf-field input, .theme-branded .lf-field select { border-radius: var(--r); }
.theme-branded .lf-field input:focus, .theme-branded .lf-field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 0, 0, .14); }
.theme-branded .qz-count { color: var(--brand); }
.theme-branded .qz-bar i { background: var(--brand); }
.theme-branded .qz-tile { border-radius: var(--r); }
.theme-branded .qz-tile[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand) inset; background: #f4fbe8; }
.theme-branded .qz-back { border-radius: var(--r); }
@media (max-width: 768px) { .theme-branded .qcard > form { padding: 16px 16px 0; } .theme-branded .qcard-g { margin: 14px 16px 0; } .theme-branded .qcard-t { font-size: 24px; padding: 16px; } }

/* trust strip: a white card overlapping the bottom of the hero */
.trust--float { position: relative; z-index: 2; background: none; border: 0; padding: 28px 0; }
.hero + .trust--float { margin-top: -60px; padding: 0; }
.trust--float .trust-in { background: #fff; border-radius: var(--r-lg); box-shadow: 0 12px 34px rgba(16, 24, 12, .14); padding: 24px 28px; }
.trust--float .ti { padding-left: 4px; }
.trust--float .ti + .ti { border-left: 1px solid var(--line); padding-left: 22px; }
.theme-branded .ti b { font-size: 19px; }
@media (max-width: 860px) { .hero + .trust--float { margin-top: -28px; } .trust--float .trust-in { padding: 18px 16px; } .trust--float .ti + .ti { border-left: 0; padding-left: 4px; } }

/* headings: a short brand bar over the title, like the TreeEx sections */
.theme-branded .eyebrow { color: var(--brand); letter-spacing: .16em; }
.theme-branded .sec-t { font-size: clamp(34px, 4vw, 48px); }
.theme-branded .band { padding: 80px 0; }
.theme-branded .band:first-of-type { padding-top: 72px; }
@media (max-width: 768px) { .theme-branded .band { padding: 56px 0; } .theme-branded .sec-t { font-size: 32px; } }

/* owner + crew */
.theme-branded .owner-img { border-radius: var(--r-lg); border-bottom: 6px solid var(--accent); }
.theme-branded .owner-photo figcaption { left: 0; bottom: 30px; background: var(--brand); border-radius: 0 var(--r) var(--r) 0; font-size: 18px; }
.checks--row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 4px 0 18px; }
.checks--row li { font-size: 17px; }
.theme-branded .owner-quotes { margin-top: 4px; }
.theme-branded .rev { border-radius: var(--r-lg); }
.crew-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); }
.theme-branded .crew-img { aspect-ratio: 4 / 3; object-position: 50% 40%; }
.crew-quote { margin: 18px 0 0; }
.call-big { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; padding: 12px 24px 12px 14px; background: var(--accent); color: var(--ink); text-decoration: none; border-radius: var(--r); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14); }
.call-big .ico { width: 22px; height: 22px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.call-big span { display: flex; flex-direction: column; font: 700 30px/1.05 var(--font-head); }
.call-big small { font: 600 14px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
@media (max-width: 900px) { .crew-grid { grid-template-columns: 1fr; } .call-big { width: 100%; justify-content: center; } }

/* why cards: brand top edge; the price card is solid brand colour */
.theme-branded .why { border-radius: var(--r-lg); border-top: 5px solid var(--brand); }
.theme-branded .why-ic { border-radius: var(--r); }
.theme-branded .why--cta { background: var(--brand); border-color: var(--brand); color: #fff; }
.theme-branded .why--cta h3 { color: #fff; font-size: 27px; }
.theme-branded .why--cta .btn-outline { background: #fff; color: var(--ink); border-color: #fff; }

/* service cards (Kansas City Tree Care): photo, round icon badge on its edge, text, details link, estimate button */
.svc--br { position: relative; border-radius: var(--r-lg); }
.svc--br .svc-pic { display: block; border-bottom: 4px solid var(--brand); }
.svc-badge { position: relative; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; margin: -36px 0 0 20px; border-radius: 50%; background: var(--brand); color: #fff; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.svc-badge .ico { width: 30px; height: 30px; }
.svc--br .svc-b { padding-top: 12px; }
.svc--br .svc-t { color: var(--ink); text-decoration: none; }
.svc--br .svc-t:hover { color: var(--brand); }
.svc--br .svc-more { text-decoration: none; }
.svc-q { margin-top: 16px; width: 100%; }
.theme-branded .svc--cta { border-radius: var(--r-lg); background: var(--brand); border-color: var(--brand); color: #fff; }
.theme-branded .svc--cta .svc-t { color: #fff; font-size: 28px; }
.theme-branded .svc--cta .btn-outline { background: #fff; color: var(--ink); border-color: #fff; }

/* call band in the bright brand colour */
.call-band { background: var(--accent); color: var(--ink); padding: 46px 0; }
.callb-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.callb-t { font: 700 clamp(30px, 3.6vw, 42px)/1.1 var(--font-head); margin: 0 0 6px; }
.callb-s { margin: 0; font-size: 18px; font-weight: 500; }
.call-band .ctas { margin: 0; flex: none; }
@media (max-width: 900px) { .callb-in { flex-direction: column; text-align: center; } .call-band .ctas { width: 100%; } }

/* equipment row (TreeEx) */
.eq-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 30px; }
.eq-head .eyebrow { text-align: left; }
.eq-head .sec-t { margin-bottom: 0; }
.eq-head .lead { margin: 0; }
.eq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.eq { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--brand); color: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.eq-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.eq figcaption { padding: 18px 20px 22px; border-top: 4px solid var(--accent); flex: 1; }
.eq b { display: block; font: 700 25px/1.1 var(--font-head); text-transform: uppercase; margin-bottom: 6px; }
.eq span { font-size: 16px; line-height: 1.45; }
@media (max-width: 1000px) { .eq-grid { grid-template-columns: 1fr 1fr; } .eq-head { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 560px) { .eq-grid { grid-template-columns: 1fr; } .eq-img { aspect-ratio: 4 / 3; } }

/* the rest, in the brand colours */
.theme-branded .photo-band::after { background: linear-gradient(90deg, rgba(12, 18, 8, .86), rgba(12, 18, 8, .6) 70%, rgba(12, 18, 8, .4)); }
.theme-branded .pb-k, .theme-branded .cb-k { color: var(--accent); }
.theme-branded .gal-grid img, .theme-branded .svc-pics img { border-radius: var(--r); }
.theme-branded .steps li { border-radius: var(--r-lg); border-top: 5px solid var(--brand); }
.theme-branded .step-n { background: var(--accent); color: var(--ink); border-radius: 50%; }
.theme-branded .area-list .ico { color: var(--brand); }
.theme-branded .faq details { border-radius: var(--r); }
.theme-branded .faq summary::after { color: var(--brand); }
.theme-branded .ask { border-top-color: var(--brand); border-radius: var(--r-lg); }
.theme-branded .final { border-top-color: var(--accent); }
.theme-branded .foot-t { color: var(--brand); }
.theme-branded .ba-tag--a { background: var(--brand); }
.theme-branded .page-head { padding-top: 40px; }
.theme-branded .logo--foot .logo-badge { width: 56px; height: 56px; }

/* Google badge never breaks "Google reviews" apart; footer hours stay on one line each */
.theme-branded .gbadge-c { white-space: nowrap; }
@media (max-width: 420px) { .theme-branded .gbadge { font-size: 14.5px; padding: 9px 12px; gap: 8px; } .theme-branded .gbadge b { font-size: 17px; } .theme-branded .gbadge .stars .ico { width: 15px; height: 15px; } }
/* icons on the dark brand colour take the bright logo colour (hi-vis look: lime on near-black) */
.theme-branded .why-ic, .theme-branded .svc-badge { color: var(--accent); }
.theme-branded .why--cta .btn-accent, .theme-branded .svc--cta .btn-accent { box-shadow: none; }
/* footer: lime call button with dark text, like every lime button here */
.theme-branded .foot-call { color: var(--ink) !important; }
.theme-branded .foot-t { border-bottom-color: var(--accent); }
/* sticky header after scrolling past the hero (desktop; phones keep the pinned tap-to-call bar) */
@media (min-width: 769px) {
  .theme-branded.is-scrolled:has(.hero) .site-header { position: fixed; top: 0; animation: br-drop .25s ease-out; }
  .theme-branded.is-scrolled .head-in { margin-top: 8px; min-height: 72px; }
  .theme-branded.is-scrolled .logo-badge { width: 50px; height: 50px; }
}
@keyframes br-drop { from { transform: translateY(-100%); } to { transform: none; } }
.theme-branded .chat-bubble { color: var(--ink); }
.theme-branded .chat-head small { color: var(--accent); opacity: 1; }
/* reviewer line like Google's cards: coloured initial circle + name */
.theme-branded .rev figcaption { display: flex; align-items: center; gap: 12px; }
.rev-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font: 600 18px/1 Roboto, Arial, sans-serif; }
.rev-av--0 { background: #1a73e8; } .rev-av--1 { background: #e8710a; } .rev-av--2 { background: #188038; } .rev-av--3 { background: #a142f4; } .rev-av--4 { background: #d93025; }
.rev-n b { display: block; }
/* Google rating card on the crew photo */
.rate-card { position: absolute; top: -18px; left: -18px; display: grid; justify-items: center; gap: 2px; padding: 14px 22px 16px; background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--r-lg); border-bottom: 4px solid var(--accent); box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.rate-card .g-mark { width: 26px; height: 26px; }
.rate-card b { font: 700 38px/1 var(--font-head); }
.rate-card span { font-size: 14px; }
@media (max-width: 900px) { .rate-card { top: 12px; left: 12px; padding: 10px 14px 12px; } .rate-card b { font-size: 28px; } }
