/* ==========================================================================
   Black Bear Air — Heating & Cooling
   Brand stylesheet
   ========================================================================== */

/* --- Self-hosted fonts (no third-party requests) -------------------------- */
@font-face { font-family: 'Oswald'; src: url('../fonts/oswald-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/oswald-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/oswald-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Oswald'; src: url('../fonts/oswald-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-400-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Yellowtail'; src: url('../fonts/yellowtail-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }

/* --- Tokens --------------------------------------------------------------- */
:root {
  --forest:        #12352a;
  --forest-deep:   #0c261e;
  --forest-mid:    #1b4536;
  --teal:          #0d4741;
  --cream:         #f7f1e2;
  --cream-2:       #efe6d1;
  --cream-3:       #e5d9be;
  --orange:        #df6321;
  --orange-dark:   #c25317;
  --orange-light:  #ef7c3c;
  --gold:          #c8973a;
  --sand:          #c4b391;
  --ink:           #10211b;
  --body:          #40483f;
  --body-light:    #6b7268;
  --white:         #ffffff;

  --radius:   6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(16, 33, 27, .10);
  --shadow:    0 6px 20px rgba(16, 33, 27, .12);
  --shadow-lg: 0 18px 48px rgba(16, 33, 27, .18);

  --wrap: 1200px;
  --head: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --sans: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4, h5 {
  font-family: var(--head);
  color: var(--forest);
  margin: 0 0 .5em;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: .005em;
}
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--orange); color: #fff; padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 0; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  text-align: center; line-height: 1.15;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(223, 99, 33, .32); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { background: var(--white); color: var(--forest); border-color: var(--cream-3); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--forest); color: var(--forest); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-deep); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-lg { padding: 17px 32px; font-size: 16px; }

/* --- Utility bar ---------------------------------------------------------- */
.utility {
  background: var(--forest-deep); color: rgba(255,255,255,.86);
  font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase;
  font-weight: 600; font-family: var(--head);
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.utility .u-left { display: flex; align-items: center; gap: 8px; }
.utility .u-left svg { width: 14px; height: 14px; fill: var(--gold); flex: none; }
.utility a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.utility a svg { width: 15px; height: 15px; fill: var(--orange-light); flex: none; }
.utility a:hover { color: var(--orange-light); }

/* --- Header --------------------------------------------------------------- */
.site-header { background: var(--cream); position: sticky; top: 0; z-index: 200; }
.site-header.stuck { box-shadow: 0 3px 18px rgba(16,33,27,.13); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; padding: 10px 0; }
.brand { flex: none; position: relative; z-index: 3; }
.brand img { width: 138px; height: auto; filter: drop-shadow(0 3px 6px rgba(16,33,27,.22)); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav > a, .nav .has-sub > button {
  font-family: var(--head); font-weight: 500; font-size: 15px;
  letter-spacing: .09em; text-transform: uppercase; color: var(--forest);
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; position: relative;
}
.nav > a::after, .nav .has-sub > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav .has-sub:hover > button::after { transform: scaleX(1); }
.nav > a:hover, .nav .has-sub > button:hover { color: var(--orange-dark); }
.nav .caret { width: 10px; height: 10px; fill: currentColor; }

.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: -18px; min-width: 232px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .18s ease; border-top: 3px solid var(--orange);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 10px 14px; border-radius: 4px; color: var(--forest);
  font-weight: 500; font-size: 15px;
}
.submenu a:hover { background: var(--cream); color: var(--orange-dark); }

.nav-cta { flex: none; }
.nav .mobile-cta { display: none; }
.nav-scrim { display: none; }
.nav-toggle {
  display: none; background: var(--forest); border: 0; border-radius: var(--radius);
  width: 46px; height: 42px; cursor: pointer; padding: 0; margin-left: auto;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative;
  transition: .2s ease;
}
.nav-toggle span::before { content: ""; position: absolute; top: -6px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--cream);
  padding: 54px 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../images/topo.svg");
  background-size: 760px; opacity: .5; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 210px;
  background: url("../images/pines.svg") repeat-x bottom center / auto 210px;
  opacity: .26; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.1rem); text-transform: uppercase;
  margin-bottom: .18em; letter-spacing: -.005em;
}
.hero .kicker {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  color: var(--orange); font-size: clamp(1.05rem, 1.9vw, 1.42rem);
  line-height: 1.22; margin: 0 0 20px; letter-spacing: .01em;
}
.hero .lede { font-size: 1.09rem; max-width: 30em; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-art { position: relative; text-align: center; }
.hero-art img.hero-logo { width: 100%; max-width: 560px; margin: 0 auto; }

.vet-flag {
  position: absolute; top: -14px; right: 0; width: 112px; z-index: 3;
  background: var(--cream); padding: 12px 8px 24px; text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  filter: drop-shadow(0 2px 5px rgba(16,33,27,.22));
  border-top: 4px solid var(--forest);
}
.vet-flag .flag { width: 46px; margin: 0 auto 7px; border-radius: 2px; }
.vet-flag b {
  display: block; font-family: var(--head); font-size: 12.5px; letter-spacing: .07em;
  color: var(--forest); text-transform: uppercase; line-height: 1.2;
}
.vet-flag .stars { color: var(--gold); font-size: 11px; letter-spacing: 4px; margin-top: 3px; }

/* --- Trust bar ------------------------------------------------------------ */
.trustbar { background: var(--forest); color: #fff; }
.trustbar .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 26px; padding-bottom: 26px;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 4px 22px; }
.trust-item + .trust-item { border-left: 1px solid rgba(255,255,255,.14); }
.trust-item .ic { flex: none; width: 30px; height: 30px; }
.trust-item .ic svg { width: 30px; height: 30px; }
.trust-item h3 {
  color: #fff; font-size: 15px; letter-spacing: .09em; text-transform: uppercase;
  margin: 2px 0 3px; font-weight: 600;
}
.trust-item p { margin: 0; font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.45; }
.trust-stars { color: var(--orange); font-size: 17px; letter-spacing: 3px; line-height: 1; margin-bottom: 7px; }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 76px 0; }
.section-sm { padding: 56px 0; }
.section-cream2 { background: var(--cream-2); }
.section-head { text-align: center; margin-bottom: 44px; }
.eyebrow {
  font-family: var(--head); text-transform: uppercase; letter-spacing: .19em;
  color: var(--orange); font-weight: 600; font-size: 14px; margin: 0 0 10px;
}
.section-head h2 { font-size: clamp(1.85rem, 3.6vw, 2.62rem); text-transform: uppercase; margin: 0; }
.section-head p.sub { max-width: 60ch; margin: 16px auto 0; color: var(--body-light); }

/* --- Service cards -------------------------------------------------------- */
.services-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.svc-card {
  background: #fff; border: 1px solid var(--cream-3); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sand); }
.svc-media { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); flex: none; }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-badge {
  position: absolute; left: 50%; bottom: -25px; transform: translateX(-50%);
  width: 50px; height: 50px; border-radius: 50%; background: var(--forest);
  display: grid; place-items: center; border: 3px solid #fff; z-index: 2;
}
.svc-badge svg { width: 24px; height: 24px; fill: #fff; }
.svc-body { padding: 38px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 {
  font-size: 17px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px;
}
.svc-body p { font-size: 14.5px; color: var(--body-light); line-height: 1.5; margin-bottom: 16px; }
.svc-more {
  margin-top: auto; font-family: var(--head); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
}
.svc-more svg { width: 14px; height: 14px; fill: currentColor; transition: transform .2s ease; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

/* --- Veteran band --------------------------------------------------------- */
.vet-band { background: var(--cream-2); position: relative; overflow: hidden; }
.vet-grid { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 34px; align-items: center; }
.vet-grid .vet-hex { align-self: center; }
.vet-copy h2 { font-size: clamp(1.5rem, 2.7vw, 2rem); text-transform: uppercase; }
.vet-copy p { max-width: 46ch; font-size: 15.5px; }
.vet-script { font-family: var(--script); color: var(--orange); font-size: 1.5rem; margin: 0; line-height: 1.3; }
.vet-photo { align-self: stretch; min-height: 280px; }
.vet-photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--radius); }

.hexbadge {
  width: 148px; background: var(--forest); color: #fff; text-align: center;
  padding: 26px 12px; border: 2px solid var(--gold);
  clip-path: polygon(50% 0, 100% 15%, 100% 85%, 50% 100%, 0 85%, 0 15%);
}
.hexbadge b {
  display: block; font-family: var(--head); font-size: 16px; letter-spacing: .1em;
  text-transform: uppercase; line-height: 1.25;
}
.hexbadge .stars { color: var(--gold); letter-spacing: 6px; font-size: 13px; margin-top: 8px; }

/* --- Reviews + Map -------------------------------------------------------- */
.two-col { display: grid; grid-template-columns: 1.34fr 1fr; gap: 22px; align-items: stretch; }
.two-col.even { grid-template-columns: 1fr 1fr; align-items: start; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 18px; max-width: 900px; margin: 0 auto; }
.panel-map.stack { grid-template-columns: 1fr; }
.form-wrap .eyebrow { text-align: left; }
.form-wrap h2 { font-size: 1.6rem; text-transform: uppercase; }
.panel-dark {
  background: var(--forest); color: #fff; border-radius: var(--radius);
  padding: 28px 26px 26px; display: flex; flex-direction: column;
}
.panel-dark h2 { color: #fff; font-size: 1.4rem; text-transform: uppercase; text-align: center; margin-bottom: 6px; }
.panel-dark .stars-row { text-align: center; color: var(--orange); letter-spacing: 4px; margin-bottom: 18px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.review {
  background: var(--forest-deep); border-radius: 5px; padding: 15px 13px;
  display: flex; flex-direction: column; font-size: 13.2px; line-height: 1.5;
}
.review blockquote { margin: 0 0 14px; color: rgba(255,255,255,.9); font-style: italic; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: 8px; }
.review .who span { font-size: 12.5px; color: rgba(255,255,255,.62); line-height: 1.3; }
.review .who b { color: #fff; font-weight: 600; display: block; font-style: normal; }
.review .who img { width: 20px; height: 20px; flex: none; }
.panel-dark .foot { margin-top: 20px; text-align: center; }

.panel-map {
  background: var(--cream-3); border-radius: var(--radius); padding: 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start;
  border: 1px solid var(--sand);
}
.panel-map h2 { font-size: 1.4rem; text-transform: uppercase; grid-column: 1 / -1; margin-bottom: 0; }
.area-list { list-style: none; padding: 0; margin: 0; column-gap: 10px; }
.area-list li {
  display: flex; align-items: center; gap: 8px; font-weight: 500;
  color: var(--forest); padding: 4px 0; font-size: 15.5px;
}
.area-list svg { width: 15px; height: 15px; fill: var(--orange); flex: none; }
.panel-map .map-img { align-self: center; }
.panel-map.stack { gap: 16px; }
.area-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.panel-map .map-img img { width: 100%; border-radius: 4px; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  background: var(--orange); color: #fff; position: relative; overflow: hidden;
  padding: 34px 0;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background: url("../images/ridge.svg") no-repeat bottom center / cover;
}
.cta-band .wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.85rem); text-transform: uppercase; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 44ch; color: rgba(255,255,255,.93); font-size: 15px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Footer --------------------------------------------------------------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,.76); padding: 48px 0 0; font-size: 15px; }
.footer-grid {
  display: grid; grid-template-columns: 1.25fr .8fr .8fr 1.2fr .9fr; gap: 30px;
}
.site-footer h4 {
  color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: var(--orange-light); }
.site-footer .btn-outline { color: var(--forest); }
.site-footer .btn-outline:hover { color: var(--orange-dark); }
.panel-map .btn-outline { color: var(--forest); }
.footer-brand img { width: 156px; margin-bottom: 14px; }
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: grid; place-items: center; transition: background .2s ease;
}
.socials a:hover { background: var(--orange); }
.socials svg { width: 16px; height: 16px; fill: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list svg { width: 16px; height: 16px; fill: var(--orange); flex: none; margin-top: 5px; }
.footer-cta { margin-top: 16px; }
.footer-vet { text-align: center; }
.footer-vet .hexbadge { width: 128px; margin: 0 auto 12px; padding: 20px 10px; }
.footer-vet small { display: block; font-family: var(--head); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.72); line-height: 1.35; }
.footer-bottom {
  margin-top: 40px; border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0;
  font-size: 13px; color: rgba(255,255,255,.55);
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; text-align: center; }

/* --- Page hero (inner pages) --------------------------------------------- */
.page-hero {
  background: var(--forest); color: #fff; padding: 58px 0 62px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .2;
  background: url("../images/pines.svg") repeat-x bottom center / auto 190px;
}
.page-hero .wrap { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.1rem); text-transform: uppercase; margin-bottom: 12px; }
.page-hero p { max-width: 62ch; margin: 0 auto; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.crumbs {
  font-family: var(--head); font-size: 13px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.crumbs a { color: rgba(255,255,255,.7); }
.crumbs a:hover { color: #fff; }

/* --- Service detail blocks ------------------------------------------------ */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.svc-detail + .svc-detail { margin-top: 72px; }
.svc-detail.flip .svc-detail-media { order: 2; }
.svc-detail-media img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--cream-3);
}
.svc-detail h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); text-transform: uppercase; }
.svc-detail .eyebrow { text-align: left; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 10px; }
.checklist svg { width: 19px; height: 19px; fill: var(--orange); flex: none; margin-top: 4px; }

/* --- Cards / grid helpers ------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--cream-3); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .05em; }
.card p:last-child { margin-bottom: 0; }
.card .cicon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--forest);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .cicon svg { width: 22px; height: 22px; fill: #fff; }

/* --- Insight / article cards --------------------------------------------- */
.post-card {
  background: #fff; border: 1px solid var(--cream-3); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .media { aspect-ratio: 16 / 9; background: var(--cream-2); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tag {
  display: inline-block; font-family: var(--head); font-size: 11.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--orange-dark);
  background: rgba(223,99,33,.1); padding: 4px 10px; border-radius: 3px; margin-bottom: 12px;
}
.post-body h3 { font-size: 19px; line-height: 1.24; text-transform: none; letter-spacing: 0; }
.post-body p { font-size: 14.8px; color: var(--body-light); }
.post-meta { margin-top: auto; font-size: 13px; color: var(--body-light); padding-top: 12px; }

/* --- FAQ / accordion ------------------------------------------------------ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--cream-3); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-family: var(--head); font-size: 17px; font-weight: 500; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--orange); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { background: var(--cream); }
.faq .answer { padding: 4px 22px 20px; font-size: 15.5px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* --- Forms ---------------------------------------------------------------- */
.form-wrap {
  background: #fff; border: 1px solid var(--cream-3); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 17px; }
.field label {
  display: block; font-family: var(--head); font-size: 13.5px; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--forest); margin-bottom: 7px;
}
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-family: var(--sans); font-size: 16px;
  color: var(--ink); background: var(--cream); border: 1.5px solid var(--cream-3);
  border-radius: var(--radius); transition: border-color .18s ease, background .18s ease;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange); background: #fff; outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.hp { position: absolute !important; left: -9999px; }
.form-note { font-size: 13.5px; color: var(--body-light); margin: 14px 0 0; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 22px; }
.contact-card {
  background: var(--forest); color: #fff; border-radius: var(--radius); padding: 20px;
  display: flex; gap: 13px; align-items: flex-start;
}
.contact-card svg { width: 21px; height: 21px; fill: var(--orange-light); flex: none; margin-top: 3px; }
.contact-card h4 {
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin: 0 0 4px;
}
.contact-card p { margin: 0; color: #fff; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.contact-card a { color: #fff; }
.contact-card a:hover { color: var(--orange-light); }
.contact-card small { display: block; font-weight: 400; font-size: 13.5px; color: rgba(255,255,255,.68); }

/* --- Emergency strip ------------------------------------------------------ */
.strip {
  background: var(--forest-deep); color: #fff; padding: 20px 0;
  font-family: var(--head); letter-spacing: .06em;
}
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.strip b { color: var(--gold); text-transform: uppercase; }
.strip a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* --- Misc ----------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; text-transform: uppercase; }
.prose h3 { font-size: 1.22rem; margin-top: 1.5em; }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; row-gap: 36px; }
  .footer-vet { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .header-inner { min-height: 74px; gap: 14px; padding: 8px 0; }
  .nav-toggle { display: block; order: 3; }
  .nav-cta { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    background: var(--forest); flex-direction: column; align-items: stretch;
    gap: 0; padding: 92px 22px 30px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto; z-index: 190;
  }
  .nav.open { transform: translateX(0); }
  .nav > a, .nav .has-sub > button {
    color: #fff; font-size: 17px; padding: 15px 0; width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.11); justify-content: space-between;
  }
  .nav > a::after, .nav .has-sub > button::after { display: none; }
  .has-sub { width: 100%; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; box-shadow: none; border: 0; padding: 0 0 8px 12px;
    display: none;
  }
  .has-sub.open .submenu { display: block; }
  .submenu a { color: rgba(255,255,255,.78); padding: 9px 0; }
  .submenu a:hover { background: transparent; color: var(--orange-light); }
  .nav .mobile-cta { display: block; margin-top: 22px; }
  .nav .btn { width: 100%; justify-content: center; }
  .nav-scrim {
    display: block; position: fixed; inset: 0; background: rgba(12,38,30,.55); z-index: 180;
    opacity: 0; visibility: hidden; transition: .25s ease;
  }
  .nav-scrim.show { opacity: 1; visibility: visible; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .hero .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; }
  .hero-art img.hero-logo { max-width: 420px; }
  .vet-flag { top: 0; right: 0; width: 92px; }

  .trustbar .wrap { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item { padding: 4px 14px; }

  .two-col, .two-col.even { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .vet-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .vet-copy p { max-width: none; }
  .vet-photo { width: 100%; }
  .svc-detail, .svc-detail.flip .svc-detail-media { grid-template-columns: 1fr; order: 0; }
  .svc-detail { gap: 26px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band .wrap { flex-direction: column; text-align: center; }
  .cta-band p { max-width: none; }
}
@media (max-width: 760px) {
  .section { padding: 54px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .panel-map { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .contact-cards, .field-row { grid-template-columns: 1fr; }
  .area-cols { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { padding: 24px 20px; }
}
@media (max-width: 640px) {
  .vet-flag { display: none; }
}
@media (max-width: 520px) {
  .utility .u-left { display: none; }
  .utility .wrap { justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .trustbar .wrap { grid-template-columns: 1fr; }
  .trust-item { border-left: 0 !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .brand img { width: 108px; }
}

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

/* ==========================================================================
   Specials (flyer) page, promo banner, floating discounts badge
   ========================================================================== */

/* --- Flyer hero ----------------------------------------------------------- */
.flyer-hero {
  position: relative; overflow: hidden; padding: 42px 0 34px;
  background: linear-gradient(180deg, #16453a 0%, var(--forest) 55%, var(--forest-deep) 100%);
}
.flyer-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: url("../images/pines.svg") repeat-x bottom center / auto 220px;
  opacity: .35; pointer-events: none;
}
.flyer-hero .wrap { position: relative; z-index: 2; }
.fh-sun {
  position: absolute; right: 16%; top: 6%; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(223,99,33,.85), rgba(223,99,33,0) 70%); z-index: 1;
}
.fh-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: center; }
.fh-logo img { width: 100%; max-width: 430px; }
.fh-script {
  font-family: var(--head); font-weight: 700; font-style: italic;
  font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: .95; color: #fff;
  text-transform: uppercase; margin: 0 0 10px; letter-spacing: -.01em;
}
.fh-rule { width: 190px; height: 7px; border-radius: 4px; background: var(--orange); margin-bottom: 20px; }
.fh-sub {
  font-family: var(--head); font-size: clamp(1rem, 2vw, 1.32rem); line-height: 1.3;
  letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.92); margin: 0 0 16px;
}
.fh-strong {
  font-family: var(--head); font-size: 13px; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); line-height: 1.5; margin: 0;
}

/* --- Four feature columns ------------------------------------------------- */
.feat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  padding: 34px 0 6px; position: relative; z-index: 2;
}
.feat { text-align: center; }
.feat-ic {
  width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%;
  border: 4px solid var(--orange); display: grid; place-items: center;
  background: rgba(223,99,33,.12);
}
.feat-ic svg { width: 34px; height: 34px; fill: var(--orange); }
.feat h3 {
  color: #fff; font-size: 17px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 7px;
}
.feat p { color: rgba(255,255,255,.75); font-size: 14.5px; line-height: 1.45; margin: 0; }
.feat + .feat { border-left: 1px solid rgba(255,255,255,.12); }

/* --- Offer cards ---------------------------------------------------------- */
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.offer {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.offer-head { display: flex; align-items: center; gap: 14px; padding: 14px 20px; color: #fff; }
.offer-head.orange { background: var(--orange); }
.offer-head.green  { background: var(--forest); }
.offer-head .oh-ic {
  width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.25);
  display: grid; place-items: center; flex: none;
}
.offer-head .oh-ic svg { width: 22px; height: 22px; fill: #fff; }
.offer-head h2 {
  color: #fff; font-size: 1.5rem; text-transform: uppercase; margin: 0 0 1px;
  font-style: italic; letter-spacing: .01em;
}
.offer-head p {
  margin: 0; font-family: var(--head); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.88);
}
.offer-body { padding: 24px 22px 22px; display: flex; flex-direction: column; flex: 1; background: var(--cream); }
.price-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.price {
  font-family: var(--head); font-weight: 700; font-size: clamp(3.6rem, 8vw, 5.4rem);
  line-height: .85; color: var(--ink); letter-spacing: -.03em;
}
.price-note {
  font-family: var(--head); font-size: 17px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); line-height: 1.2; max-width: 13ch; font-weight: 500;
}
.save-tags { display: flex; flex-direction: column; gap: 9px; }
.save-tag {
  background: var(--orange); color: #fff; padding: 9px 16px;
  font-family: var(--head); font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  line-height: 1.15; clip-path: polygon(0 4%, 100% 0, 99% 100%, 1% 96%);
}
.save-tag b { display: block; font-size: 18px; font-weight: 700; }
.offer-fine { font-size: 12.5px; color: var(--body-light); margin: 18px 0 0; line-height: 1.5; }
.offer-body .checklist { margin: 16px 0 0; }
.offer-body .checklist li { font-size: 15px; margin-bottom: 7px; }
.offer-body .checklist svg { fill: #1e8a4c; }
.offer-cta { margin-top: auto; padding-top: 20px; }

/* --- Services panel + side promos ----------------------------------------- */
.svc-band { background: var(--forest-deep); position: relative; overflow: hidden; }
.svc-band::after {
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background: url("../images/topo.svg") repeat; background-size: 620px;
}
.svc-band .wrap { position: relative; z-index: 2; }
.svc-title { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.svc-title h2 {
  color: var(--orange); font-size: clamp(2rem, 4vw, 2.9rem); text-transform: uppercase;
  font-style: italic; margin: 0;
}
.svc-title p {
  margin: 0; font-family: var(--head); font-size: 14px; letter-spacing: .07em;
  text-transform: uppercase; color: var(--orange-light); line-height: 1.3; max-width: 30ch;
}
.svc-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.svc-box { border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); padding: 20px 22px; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 26px; }
.svc-list li {
  display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15.5px; padding: 7px 0;
}
.svc-list svg { width: 19px; height: 19px; fill: #fff; flex: none; opacity: .9; }
.side-promos { display: grid; gap: 16px; }
.promo { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; }
.promo-head {
  padding: 10px 16px; color: #fff; font-family: var(--head); font-size: 16px;
  letter-spacing: .07em; text-transform: uppercase; font-style: italic;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.promo-head.orange { background: var(--orange); }
.promo-head.green  { background: var(--forest); }
.promo-head .ph-ic {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none;
}
.promo-head .ph-ic svg { width: 15px; height: 15px; }
.promo-head.orange .ph-ic svg { fill: var(--orange); }
.promo-head.green  .ph-ic svg { fill: var(--forest); }
.promo-body { padding: 18px 16px 20px; }
.promo-body .big {
  font-family: var(--head); font-weight: 700; font-size: 1.9rem; color: #d0342c;
  line-height: 1; margin-bottom: 4px;
}
.promo-body .big small { font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.promo-body p { margin: 0; font-size: 14.5px; font-family: var(--head); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.promo-body .stars { color: var(--gold); letter-spacing: 5px; margin-top: 7px; font-size: 14px; }
.promo-body .script { font-family: var(--script); color: var(--forest); font-size: 1.12rem; margin-top: 4px; text-transform: none; letter-spacing: 0; }

/* --- Flyer contact bar ---------------------------------------------------- */
.flyer-contact { background: var(--forest-deep); border-top: 5px solid var(--orange); padding: 26px 0; }
.fc-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 26px; align-items: center; }
.fc-item { display: flex; align-items: center; gap: 14px; }
.fc-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; flex: none; }
.fc-ic svg { width: 23px; height: 23px; fill: #fff; }
.fc-item h3 {
  color: #fff; font-size: 17px; text-transform: uppercase; font-style: italic; margin: 0 0 2px; letter-spacing: .03em;
}
.fc-item p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; }
.fc-phones { text-align: center; }
.fc-phones a {
  display: block; font-family: var(--head); font-weight: 700; color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: .01em;
}
.fc-phones a:hover { color: var(--orange-light); }
.fc-phones .site { color: var(--orange); font-size: 1.15rem; margin-top: 4px; display: block; font-family: var(--head); font-weight: 600; }
.fc-right { display: grid; gap: 12px; }
.fc-right .fc-item h3 { color: var(--orange); font-size: 15px; font-style: normal; letter-spacing: .07em; }
.fc-right .fc-ic { width: 34px; height: 34px; }
.fc-right .fc-ic svg { width: 17px; height: 17px; }

.flyer-foot {
  background: var(--forest-deep); padding: 0 0 22px; position: relative; overflow: hidden; text-align: center;
}
.flyer-foot::before {
  content: ""; display: block; height: 90px;
  background: url("../images/pines.svg") repeat-x bottom center / auto 90px; opacity: .3;
}
.flyer-foot .tagline {
  font-family: var(--head); font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 16px;
}
.flyer-foot .tagline::before, .flyer-foot .tagline::after {
  content: ""; width: 70px; height: 2px; background: var(--orange);
}

/* --- Home page promo banner ---------------------------------------------- */
.deal-banner {
  display: block; background: linear-gradient(100deg, var(--orange-dark), var(--orange) 45%, var(--orange-light));
  color: #fff; position: relative; overflow: hidden;
  border-top: 3px solid var(--forest-deep); border-bottom: 3px solid var(--forest-deep);
}
.deal-banner::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); animation: bannerShine 4.5s ease-in-out infinite;
}
.db-inner {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap; padding: 15px 24px; max-width: var(--wrap); margin: 0 auto;
}
.db-tag {
  background: var(--forest-deep); color: #fff; border-radius: 999px; padding: 7px 16px;
  font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; flex: none;
  animation: tagPop 2.6s ease-in-out infinite;
}
.db-tag svg { width: 15px; height: 15px; fill: var(--orange-light); }
.db-text {
  font-family: var(--head); font-size: clamp(15px, 2vw, 20px); font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase; text-align: center;
}
.db-text em { font-style: normal; color: #fff6ea; }
.db-cta {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--orange-dark);
  border-radius: 999px; padding: 9px 20px; font-family: var(--head); font-size: 14px;
  font-weight: 600; letter-spacing: .09em; text-transform: uppercase; flex: none;
}
.deal-banner:hover .db-cta { background: var(--forest-deep); color: #fff; }
.db-cta svg { width: 15px; height: 15px; fill: currentColor; }

@keyframes bannerShine { 0% { left: -45%; } 55%,100% { left: 115%; } }
@keyframes tagPop { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* --- Floating discounts badge -------------------------------------------- */
.fab-wrap {
  position: fixed; right: 24px; bottom: 24px; z-index: 300;
  animation: fabIn .6s cubic-bezier(.2,.9,.3,1.25) .9s both;
}
.discount-fab {
  position: relative; display: flex; align-items: center; gap: 15px;
  background: var(--orange); color: #fff; border-radius: 999px;
  padding: 15px 30px 15px 17px; border: 3px solid #fff;
  box-shadow: 0 10px 34px rgba(16,33,27,.42), 0 0 0 6px rgba(223,99,33,.22);
  animation: fabBob 2.6s ease-in-out infinite;
}
.discount-fab:hover { background: var(--orange-dark); color: #fff; }
.discount-fab .fab-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--forest-deep);
  display: grid; place-items: center; flex: none; position: relative; z-index: 2;
}
.discount-fab .fab-icon svg { width: 24px; height: 24px; fill: var(--orange-light); }
.discount-fab .fab-text { position: relative; z-index: 2; line-height: 1.12; }
.discount-fab .fab-text small {
  display: block; font-family: var(--head); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: #ffe6d5;
}
.discount-fab .fab-text b {
  display: block; font-family: var(--head); font-size: 20px; font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
}
.fab-pulse {
  position: absolute; left: 17px; top: 50%; width: 46px; height: 46px; margin-top: -23px;
  border-radius: 50%; background: var(--orange-light); z-index: 1;
  animation: fabPulse 2s ease-out infinite;
}
.fab-burst {
  position: absolute; top: -16px; left: -14px; z-index: 4;
  width: 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--head); font-weight: 700; font-size: 15px; color: #fff;
  background: var(--forest); border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 4px 12px rgba(16,33,27,.35);
  animation: burstSpin 5s ease-in-out infinite;
}
.fab-close {
  position: absolute; top: -10px; right: -10px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--forest); color: #fff; border: 2px solid #fff; cursor: pointer;
  font-size: 16px; line-height: 1; padding: 0; z-index: 5;
  box-shadow: 0 2px 8px rgba(16,33,27,.35);
}
.fab-close:hover { background: var(--forest-deep); }

@keyframes fabIn   { from { opacity: 0; transform: translateY(30px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes fabBob  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes fabPulse{ 0% { transform: scale(1); opacity: .8; } 70%,100% { transform: scale(2.9); opacity: 0; } }
@keyframes burstSpin { 0%,88%,100% { transform: rotate(-12deg) scale(1); } 93% { transform: rotate(6deg) scale(1.14); } }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .fh-grid { grid-template-columns: 1fr; text-align: center; }
  .fh-logo img { margin: 0 auto; max-width: 330px; }
  .fh-rule { margin-inline: auto; }
  .feat-row { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .feat:nth-child(odd) { border-left: 0; }
  .svc-layout { grid-template-columns: 1fr; }
  .side-promos { grid-template-columns: 1fr 1fr; }
  .fc-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .fc-item { justify-content: center; }
  .fc-right { justify-items: center; }
  .offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feat-row { grid-template-columns: 1fr; }
  .feat { border-left: 0 !important; }
  .svc-list { grid-template-columns: 1fr; }
  .side-promos { grid-template-columns: 1fr; }
  .price-row { justify-content: center; text-align: center; }
  .save-tags { width: 100%; }
  .flyer-foot .tagline { font-size: 11.5px; letter-spacing: .14em; }
  .flyer-foot .tagline::before, .flyer-foot .tagline::after { width: 30px; }

  /* badge becomes a full-width bottom bar so it never covers content */
  body { padding-bottom: 86px; }
  .fab-wrap { right: 0; left: 0; bottom: 0; }
  .discount-fab {
    border-radius: 0; border: 0; border-top: 3px solid #fff; justify-content: center;
    padding: 13px 18px; animation: none; box-shadow: 0 -6px 22px rgba(16,33,27,.35);
  }
  .discount-fab .fab-text { text-align: left; }
  .discount-fab .fab-text b { font-size: 18px; }
  .fab-burst { display: none; }
  .fab-close { top: 8px; right: 10px; width: 26px; height: 26px; }
  .db-inner { gap: 12px; padding: 13px 18px; }
}

/* ==========================================================================
   Jobber form modal + animated request buttons
   ========================================================================== */

/* --- Animated buttons ----------------------------------------------------- */
.btn-jobber { position: relative; overflow: hidden; }
.btn-jobber > * { position: relative; z-index: 2; }
.btn-jobber::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 46%; z-index: 1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); animation: btnShine 3.8s ease-in-out infinite;
}
.btn-jobber.btn-outline::after { background: linear-gradient(100deg, transparent, rgba(18,53,42,.10), transparent); }
@keyframes btnShine { 0% { left: -55%; } 55%, 100% { left: 125%; } }

.btn-throb { animation: btnThrob 2.8s ease-in-out infinite; }
@keyframes btnThrob {
  0%, 100% { box-shadow: 0 4px 14px rgba(223,99,33,.32), 0 0 0 0 rgba(223,99,33,.45); }
  50%      { box-shadow: 0 6px 20px rgba(223,99,33,.42), 0 0 0 12px rgba(223,99,33,0); }
}

/* --- Attention treatment: glow ring + periodic nudge + live dot ---------- */
/* Everything stays inside the button box so overflow:hidden (needed for the
   shine sweep) never clips it. */
.btn-attn {
  position: relative; overflow: hidden; padding-right: 34px;
  animation: btnNudge 5.5s cubic-bezier(.36,.07,.19,.97) infinite,
             btnRing 2.6s ease-out infinite;
}
.btn-attn .dot {
  position: absolute; top: 7px; right: 10px; width: 9px; height: 9px;
  border-radius: 50%; background: #fff; z-index: 4; pointer-events: none;
  box-shadow: 0 0 0 2px rgba(255,255,255,.35);
  animation: dotBlink 1.5s ease-in-out infinite;
}
.btn-attn.btn-outline .dot { background: var(--orange); box-shadow: 0 0 0 2px rgba(223,99,33,.3); }
/* ghost buttons sit on the orange band — an orange ring would vanish there */
.btn-attn.btn-ghost { animation: btnNudge 5.5s cubic-bezier(.36,.07,.19,.97) infinite,
                                 btnRingLight 2.6s ease-out infinite; }
.btn-attn.btn-ghost .dot { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.4); }
@keyframes btnRingLight {
  0%        { box-shadow: 0 0 0 0 rgba(255,255,255,.75); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
}

@keyframes btnRing {
  0%        { box-shadow: 0 4px 14px rgba(16,33,27,.22), 0 0 0 0 rgba(223,99,33,.6); }
  70%, 100% { box-shadow: 0 4px 14px rgba(16,33,27,.22), 0 0 0 15px rgba(223,99,33,0); }
}
@keyframes btnNudge {
  0%, 80%, 100% { transform: translateY(0) scale(1); }
  84% { transform: translateY(-5px) scale(1.04); }
  88% { transform: translateY(0)    scale(1); }
  92% { transform: translateY(-2px) scale(1.02); }
  96% { transform: translateY(0)    scale(1); }
}
@keyframes dotBlink {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.45); opacity: .6; }
}
.btn-attn:hover { animation-play-state: paused; transform: translateY(-2px); }

/* --- Modal ---------------------------------------------------------------- */
body.jm-lock { overflow: hidden; }

.jm-overlay {
  position: fixed; inset: 0; z-index: 400; background: rgba(12,38,30,.74);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  overflow-y: auto; padding: 4vh 16px; animation: jmFade .2s ease both;
}
.jm-panel {
  position: relative; background: #fff; max-width: 720px; margin: 0 auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; max-height: 92vh;
  animation: jmRise .3s cubic-bezier(.2,.9,.3,1.05) both;
}
.jm-head {
  display: flex; align-items: center; gap: 13px; flex: none;
  padding: 15px 58px 15px 20px; background: var(--forest); color: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.jm-head .jm-ic {
  width: 38px; height: 38px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; flex: none;
}
.jm-head .jm-ic svg { width: 19px; height: 19px; fill: #fff; }
.jm-head h2 {
  color: #fff; margin: 0; font-size: 1.22rem; text-transform: uppercase;
  letter-spacing: .03em; line-height: 1.2;
}
.jm-close {
  position: absolute; top: 12px; right: 14px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,255,255,.16); color: #fff;
  border: 0; cursor: pointer; font-size: 22px; line-height: 1; padding: 0;
  transition: background .18s ease;
}
.jm-close:hover { background: rgba(255,255,255,.32); }
.jm-body {
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 18px 20px 24px; background: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.jm-intro { font-size: 15px; color: var(--body-light); margin: 0 0 16px; }
.jm-form { min-height: 220px; }
.jm-loading {
  display: flex; align-items: center; gap: 11px; padding: 26px 0;
  font-family: var(--head); font-size: 14px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--body-light);
}
.jm-loading::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  border: 3px solid var(--cream-3); border-top-color: var(--orange);
  animation: jmSpin .8s linear infinite;
}
.jm-fallback { font-size: 14px; color: var(--body-light); margin: 16px 0 0; }

@keyframes jmFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes jmRise { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes jmSpin { to { transform: rotate(360deg); } }

/* Jobber's own embed sometimes runs wide — keep it inside the panel */
.jm-form iframe, .jm-body iframe { width: 100% !important; max-width: 100% !important; border: 0; }
.jm-form * { max-width: 100%; }

@media (max-width: 640px) {
  .jm-overlay { padding: 0; }
  .jm-panel { max-height: 100%; min-height: 100dvh; border-radius: 0; margin: 0; }
  .jm-head { border-radius: 0; padding: 14px 54px 14px 16px; position: sticky; top: 0; z-index: 3; }
  .jm-head h2 { font-size: 1.06rem; }
  .jm-close { top: 10px; right: 10px; }
  .jm-body { padding: 16px 14px 32px; border-radius: 0; }
  /* the fixed discounts bar would sit on top of the modal — hide it while open */
  body.jm-lock .fab-wrap { display: none; }
}
