/* ============================================================
   Greene Street Cleaning Co. — Marketing site
   Production stylesheet recreated from the Claude Design handoff
   (Greene Street Cleaning Design System). Pine green + Augusta gold.
   Rafaella + Utile Display via Adobe Fonts (Typekit); Pacifico self-hosted.
   ============================================================ */

/* ---------- Webfonts ----------------------------------------- */
/* Rafaella + Utile Display are licensed through Adobe Fonts (Typekit
   kit gcx5pwv) and loaded via the <link> in each page's <head>; that
   kit exposes the families "rafaella" and "utile-display" (see the
   --font-* tokens below). Pacifico is free (SIL OFL), so it stays
   self-hosted. The commercial faces are deliberately NOT shipped. */
@font-face {
  font-family: "Greene Script"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("assets/fonts/Pacifico.woff2") format("woff2");
}

/* ---------- Design tokens ------------------------------------ */
:root {
  /* Pine green (primary brand) */
  --green-50:#eef6f0; --green-100:#d6ebdb; --green-200:#aed7b9; --green-300:#7cbb8e;
  --green-400:#489a64; --green-500:#1f7d45; --green-600:#006837; --green-700:#005530;
  --green-800:#0a4527; --green-900:#0c3820;

  /* Augusta gold (accent) */
  --gold-50:#fff9e6; --gold-100:#fff0bf; --gold-200:#ffe488; --gold-300:#ffd84f;
  --gold-400:#ffcc00; --gold-500:#ebb000; --gold-600:#c98c00; --gold-700:#a06d05;
  --gold-800:#7d560e; --gold-900:#674811;

  /* Azalea (floral accent) */
  --azalea-100:#fbdae3; --azalea-400:#e35d83; --azalea-600:#ad2f54;

  /* Warm neutrals (dogwood cream -> pine ink) */
  --cream-50:#fcfaf4; --cream-100:#f6f1e7; --cream-200:#ece4d3;
  --neutral-300:#d8cfbd; --neutral-400:#b3ab99; --neutral-500:#847d6d;
  --neutral-600:#5e584b; --neutral-700:#423d33; --ink-800:#28271f; --ink-900:#181a14;

  /* Semantic aliases */
  --surface-page:var(--cream-50);
  --surface-card:#ffffff;
  --surface-sunk:var(--cream-100);
  --text-strong:var(--ink-900);
  --text-body:var(--neutral-700);
  --text-muted:var(--neutral-500);
  --border-soft:var(--cream-200);
  --border-default:var(--neutral-300);

  /* Type */
  --font-display:"rafaella", Georgia, "Times New Roman", serif;
  --font-ui:"utile-display", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-script:"Greene Script", "Brush Script MT", cursive;
  --tracking-caps:0.18em;

  /* Radii */
  --radius-md:10px; --radius-lg:16px; --radius-xl:24px; --radius-pill:999px;

  /* Shadows (warm, soft daylight) */
  --shadow-sm:0 2px 6px rgba(12,56,32,0.07);
  --shadow-md:0 6px 18px rgba(12,56,32,0.09);
  --shadow-lg:0 16px 40px rgba(12,56,32,0.12);
  --shadow-gold:0 8px 24px rgba(201,140,0,0.22);

  /* Motion */
  --ease-out:cubic-bezier(0.22,0.61,0.36,1);
  --dur-fast:140ms;
}

/* ---------- Base -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

html, body { margin: 0; }
body {
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }

/* Section anchor offset so the sticky header doesn't cover headings */
#services, #about, #reviews, #book { scroll-margin-top: 76px; }

.wrap { max-width: 1180px; margin: 0 auto; }
.wrap--narrow { max-width: 1080px; margin: 0 auto; }

/* Icons inherit color from `currentColor` of their context */
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

/* ---------- Eyebrow / SectionLabel -------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--green-600);
}
.eyebrow::before {
  content: ""; height: 2px; width: 26px; border-radius: 2px;
  background: var(--gold-400); flex: 0 0 auto;
}
.eyebrow--center { justify-content: center; }
.eyebrow--cream { color: var(--cream-100); }

/* Gold underline flourish under headings */
.flourish { width: 64px; height: 4px; background: var(--gold-400); border-radius: 4px; }
.flourish--center { margin-left: auto; margin-right: auto; }

/* ---------- Logo / wordmark --------------------------------- */
.logo { display: inline-flex; align-items: baseline; gap: 10px; line-height: 1; text-decoration: none; }
.logo__word {
  font-family: var(--font-display); font-weight: 500;
  letter-spacing: 0.01em; color: var(--green-600); font-size: 26px;
  white-space: nowrap;
}
.logo__sub {
  font-family: var(--font-ui); font-weight: 700; font-size: 9px;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--green-700); white-space: nowrap;
}
/* Stacked variant (footer) */
.logo--stacked { flex-direction: column; align-items: flex-start; gap: 5px; }
.logo--stacked .logo__rule {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 3px;
}
.logo--stacked .logo__rule::before {
  content: ""; height: 2px; width: 13px; border-radius: 2px; background: var(--gold-400);
}
.logo--cream .logo__word { color: var(--cream-50); }
.logo--cream .logo__sub { color: var(--cream-100); }

/* ---------- Buttons ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 600; letter-spacing: 0.01em;
  line-height: 1; white-space: nowrap; text-decoration: none;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); }

.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--md { height: 46px; padding: 0 24px; font-size: 16px; gap: 9px; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 18px; gap: 11px; }
.btn--full { width: 100%; }

.btn--primary { background: var(--green-600); color: var(--cream-50); }
.btn--primary:hover { background: var(--green-700); }
.btn--primary:active { background: var(--green-800); }

.btn--gold { background: var(--gold-400); color: var(--green-800); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--gold-300); }
.btn--gold:active { background: var(--gold-500); }

.btn--outline { background: transparent; color: var(--green-700); border-color: var(--green-600); }
.btn--outline:hover { background: var(--green-50); }
.btn--outline:active { background: var(--green-100); }

/* ---------- Badge ------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap; line-height: 1;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  font-size: 12px; padding: 5px 12px; /* md (default) */
}
.badge--sm { font-size: 11px; padding: 3px 9px; }
.badge--gold { background: var(--gold-100); color: var(--gold-800); }

/* ---------- Card -------------------------------------------- */
.card {
  position: relative; border-radius: var(--radius-lg);
  background: var(--surface-card); border: 1px solid var(--border-soft);
  padding: 32px; overflow: hidden;
}
.card--sm { box-shadow: var(--shadow-sm); }
.card--md { box-shadow: var(--shadow-md); }
.card--lg { box-shadow: var(--shadow-lg); }
.card--accent-gold::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--gold-400);
}

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  /* pin bar height so pages match regardless of which controls are inside
     (14px*2 padding + 38px btn--sm + 1px border) */
  min-height: 67px;
  padding: 14px 30px;
  background: rgba(252, 250, 244, 0.86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__link {
  font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  color: var(--text-body); text-decoration: none; letter-spacing: 0.01em;
}
.site-nav__link:hover { color: var(--green-700); }
.site-nav__phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 700;
  color: var(--green-700); text-decoration: none;
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items: center; padding: 70px 30px 64px; max-width: 1180px; margin: 0 auto;
}
.hero__title {
  font-family: var(--font-display); font-weight: 400; font-size: 52px;
  line-height: 1.06; letter-spacing: 0; color: var(--text-strong); margin: 16px 0 0;
}
.hero__title em { color: var(--green-600); font-style: italic; }
.hero__lede {
  font-family: var(--font-ui); font-size: 18px; line-height: 1.6;
  color: var(--text-body); margin: 22px 0 0; max-width: 470px;
}
.hero__cta { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--green-700); font-family: var(--font-ui); font-size: 13.5px; font-weight: 600;
}
.trust-item .icon { color: var(--gold-500); }

.hero__media { position: relative; }
.hero__photo {
  display: block; width: 100%; height: 440px; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow-lg);
}
.review-chip {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--surface-card); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.review-chip__stars { display: flex; gap: 2px; color: var(--gold-400); }
.review-chip__title { font-family: var(--font-ui); font-weight: 800; font-size: 14px; color: var(--text-strong); }
.review-chip__sub { font-family: var(--font-ui); font-size: 12px; color: var(--text-muted); }

/* ===========================================================
   SERVICES
   =========================================================== */
.services { background: var(--surface-sunk); padding: 72px 30px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head__title {
  font-family: var(--font-display); font-weight: 400; font-size: 44px;
  color: var(--text-strong); margin: 14px 0 0; letter-spacing: 0;
}
.section-head__lede {
  font-family: var(--font-ui); font-size: 17px; color: var(--text-body);
  margin: 18px auto 0; max-width: 540px; line-height: 1.6;
}
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.service-card-inner { display: flex; flex-direction: column; height: 100%; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  background: var(--green-50); color: var(--green-600);
}
.service-card--featured .service-icon { background: var(--gold-100); color: var(--gold-700); }
.service-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; flex-wrap: wrap; }
.service-card__title {
  font-family: var(--font-display); font-weight: 600; font-size: 25px;
  color: var(--text-strong); margin: 0;
}
.service-card__blurb {
  font-family: var(--font-ui); font-size: 15px; line-height: 1.58;
  color: var(--text-body); margin: 0 0 18px;
}
.service-card__divider { height: 1px; background: rgba(0,0,0,0.08); margin: 0 0 16px; }
.service-list { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 11px; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; }
.service-list__check {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
  background: var(--green-50); color: var(--green-600);
}
.service-card--featured .service-list__check { background: var(--gold-100); color: var(--gold-700); }
.service-list span:last-child { font-family: var(--font-ui); font-size: 14.5px; line-height: 1.45; color: var(--text-body); }
.services__foot { text-align: center; margin-top: 26px; font-family: var(--font-ui); font-size: 14px; color: var(--text-muted); }

/* ===========================================================
   ABOUT
   =========================================================== */
.about { padding: 76px 30px; max-width: 1180px; margin: 0 auto; }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; }
.about__media { position: relative; }
.about__photo {
  display: block; width: 100%; height: 460px; object-fit: cover;
  object-position: center 22%; border-radius: 20px; box-shadow: var(--shadow-lg);
}
.about__chip {
  position: absolute; top: -16px; right: -16px;
  background: var(--green-600); color: var(--cream-50); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; max-width: 200px;
}
.about__chip .icon { color: var(--gold-400); }
.about__chip span { font-family: var(--font-ui); font-size: 13px; font-weight: 700; line-height: 1.25; }
.about__title {
  font-family: var(--font-display); font-weight: 400; font-size: 44px;
  color: var(--text-strong); margin: 14px 0 0; letter-spacing: 0;
}
.about__body { font-family: var(--font-ui); font-size: 17px; line-height: 1.65; color: var(--text-body); margin: 18px 0 0; }
.about__body + .about__body { margin-top: 14px; }
.signature { font-family: var(--font-script); color: var(--green-600); }
.about__signature { font-size: 30px; margin-top: 30px; }

/* ===========================================================
   REVIEWS
   =========================================================== */
.reviews { background: var(--green-600); padding: 72px 30px; }
.reviews__head { display: flex; justify-content: center; margin-bottom: 10px; }
.reviews__title {
  font-family: var(--font-display); font-weight: 400; font-size: 42px; line-height: 1.1;
  color: var(--gold-400); text-align: center; margin: 0 0 38px; letter-spacing: 0;
}
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.testimonial {
  margin: 0; position: relative; padding: 40px 40px 32px;
  border-radius: var(--radius-xl); background: var(--surface-card);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-md);
}
.testimonial__mark {
  font-family: var(--font-display); font-size: 80px; line-height: 0.7;
  color: var(--gold-300); display: block; height: 38px; user-select: none;
}
.testimonial blockquote {
  margin: 0 0 24px; font-family: var(--font-ui); font-weight: 500; font-size: 22px;
  line-height: 1.5; color: var(--text-strong);
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonial__author { font-family: var(--font-script); font-size: 28px; color: var(--green-600); line-height: 1.1; }
.testimonial__detail { font-family: var(--font-ui); font-size: 14px; color: var(--text-muted); }

/* ===========================================================
   BOOKING / CALCULATOR CTA
   =========================================================== */
.book { background: var(--green-700); padding: 78px 30px; }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.book__title {
  font-family: var(--font-display); font-weight: 400; font-size: 46px;
  color: var(--cream-50); margin: 14px 0 0; line-height: 1.08;
}
.book__title em { color: var(--gold-300); font-style: italic; }
.book__lede {
  font-family: var(--font-ui); font-size: 17px; line-height: 1.6;
  color: var(--green-100); margin: 22px 0 0; max-width: 420px;
}
.book__phone { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.book__phone-ico {
  width: 46px; height: 46px; border-radius: 999px; background: var(--gold-400); color: var(--green-800);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.book__phone-label {
  font-family: var(--font-ui); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300);
}
.book__phone-num {
  font-family: var(--font-ui); font-size: 24px; font-weight: 800;
  color: var(--cream-50); text-decoration: none; display: block;
}
.calc-card { border-radius: 20px; }
.calc-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.calc-card__ico {
  width: 56px; height: 56px; border-radius: 16px; background: var(--gold-100); color: var(--gold-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.calc-card__title { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--text-strong); line-height: 1.05; }
.calc-card__sub { font-family: var(--font-ui); font-size: 13.5px; color: var(--text-muted); margin-top: 2px; }
.calc-card__points { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 22px; }
.calc-point { display: flex; align-items: center; gap: 11px; }
.calc-point__check {
  width: 24px; height: 24px; border-radius: 999px; background: var(--green-100); color: var(--green-600);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.calc-point span:last-child { font-family: var(--font-ui); font-size: 15px; color: var(--text-body); }
.calc-card__note { font-family: var(--font-ui); font-size: 12.5px; color: var(--text-muted); text-align: center; margin: 12px 0 0; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: var(--green-900); color: var(--green-100); padding: 54px 30px 30px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer__tagline { font-family: var(--font-ui); font-size: 14px; line-height: 1.6; color: var(--green-100); margin: 16px 0 0; max-width: 280px; }
.footer__signature { font-size: 22px; color: var(--gold-300); margin-top: 14px; }
.footer__h { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300); margin: 4px 0 16px; }
.footer__areas { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__area { display: flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: 13.5px; color: var(--green-100); }
.footer__area .icon { color: var(--green-300); }
.footer__phone { display: flex; align-items: center; gap: 9px; font-family: var(--font-ui); font-size: 22px; font-weight: 800; color: var(--cream-50); text-decoration: none; }
.footer__phone .icon { color: var(--gold-400); }
.footer__hours { display: flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: 13.5px; color: var(--green-100); margin: 10px 0 0; }
.footer__hours .icon { color: var(--green-300); }
.footer__badges { display: flex; gap: 8px; margin-top: 16px; }
.footer__bar {
  max-width: 1180px; margin: 34px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-ui); font-size: 12.5px; color: var(--green-300);
}

/* ===========================================================
   CALCULATOR (interactive pricing estimator)
   =========================================================== */
.backlink {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-family: var(--font-ui); font-size: 14px; font-weight: 700;
  color: var(--green-700); text-decoration: none;
}
.backlink .icon { transform: rotate(180deg); }
.backlink:hover { color: var(--green-800); }

/* Intro */
.calc-intro { max-width: 760px; margin: 0 auto; padding: 56px 30px 8px; text-align: center; }
.calc-intro .eyebrow { justify-content: center; }
.calc-intro__title {
  font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1.05;
  color: var(--text-strong); margin: 14px 0 0; letter-spacing: 0;
}
.calc-intro__title em { color: var(--green-600); font-style: italic; }
.calc-intro__lede {
  font-family: var(--font-ui); font-size: 18px; line-height: 1.6; color: var(--text-body);
  margin: 22px auto 0; max-width: 520px;
}

/* Layout */
.calc-layout { max-width: 980px; margin: 0 auto; padding: 28px 30px 64px; }
.calc-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.calc-form { display: flex; flex-direction: column; gap: 18px; }

/* Form sections */
.calc-section {
  background: var(--surface-card); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.calc-section.hidden { display: none; }
.calc-section__title {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-weight: 700; font-size: 16px; color: var(--text-strong);
  margin-bottom: 18px;
}
.calc-section__title .icon { color: var(--green-600); }

/* Service type radios */
.calc-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc-types label { cursor: pointer; }
.calc-types input { position: absolute; opacity: 0; pointer-events: none; }
.calc-type {
  display: block; text-align: center; padding: 14px 10px;
  border: 2px solid var(--border-default); border-radius: var(--radius-md);
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; color: var(--text-body);
  background: var(--cream-50); line-height: 1.4; transition: all var(--dur-fast) var(--ease-out);
}
.calc-type:hover { border-color: var(--green-300); }
.calc-types input:checked + .calc-type {
  border-color: var(--green-600); background: var(--green-600); color: var(--cream-50);
  box-shadow: var(--shadow-sm);
}
.calc-types input:focus-visible + .calc-type { box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35); }
.calc-type__sub { display: block; font-size: 12px; opacity: 0.78; margin-top: 4px; font-weight: 400; }

/* Sliders */
.calc-track-wrap { padding: 4px 0 2px; }
/* Pad the band by the thumb radius (11px) so the end labels sit under the
   thumb's centre at its end stops, then collapse each label to a zero-width
   centred marker so every label lines up exactly with its slider stop. */
.calc-track-labels { display: flex; justify-content: space-between; padding: 0 11px; margin-bottom: 8px; }
.calc-track-labels span {
  flex: 0 0 0; min-width: 0;
  display: flex; justify-content: center; white-space: nowrap;
  font-family: var(--font-ui); font-size: 12px; color: var(--text-muted);
}
input[type="range"].calc-track {
  /* Fill stop tracks the thumb centre: 11px (radius) in from each end, so the
     green fill, the thumb, and the labels all share one coordinate system.
     --frac (0–1) is set per input from JS. margin:0 aligns the track origin
     with the label band. */
  --fill: calc(11px + var(--frac, 0) * (100% - 22px));
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 4px; outline: none; cursor: pointer; margin: 0;
  background: linear-gradient(to right, var(--green-600) 0, var(--green-600) var(--fill), var(--neutral-300) var(--fill), var(--neutral-300) 100%);
}
input[type="range"].calc-track::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-700); border: 3px solid #fff; box-shadow: var(--shadow-md); cursor: pointer;
}
input[type="range"].calc-track::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff;
  background: var(--green-700); box-shadow: var(--shadow-md); cursor: pointer;
}
input[type="range"].calc-track:focus-visible { box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35); }
.calc-track-value { text-align: center; font-family: var(--font-ui); font-size: 15px; font-weight: 700; color: var(--green-700); margin-top: 10px; }

/* Pet / condition note */
.calc-pet-note {
  display: none; margin-top: 14px; background: var(--gold-50); border: 1px solid var(--gold-200);
  border-radius: var(--radius-md); padding: 10px 14px; font-family: var(--font-ui);
  font-size: 13px; color: var(--neutral-700); line-height: 1.5;
}

/* Add-ons — refined toggle cards: whole card is the control, with a circular
   selection indicator at the trailing edge that fills in when chosen. */
.calc-addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.calc-addon {
  position: relative; cursor: pointer; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border: 1.5px solid var(--border-soft); border-radius: var(--radius-md);
  background: var(--surface-card);
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.calc-addon:hover { border-color: var(--green-300); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.calc-addon:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35); }
.calc-addon input { position: absolute; opacity: 0; pointer-events: none; }
.calc-addon.checked { border-color: var(--green-600); background: var(--green-50); }
.calc-addon.hidden { display: none; }

.calc-addon__text { order: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.calc-addon__name { font-family: var(--font-ui); font-size: 14.5px; font-weight: 600; color: var(--text-strong); line-height: 1.25; }
.calc-addon__price { font-family: var(--font-ui); font-size: 12.5px; color: var(--text-muted); line-height: 1.3; }
.calc-addon.checked .calc-addon__price { color: var(--green-700); }

.calc-addon__check {
  order: 2; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border-default); background: transparent;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.calc-addon:hover .calc-addon__check { border-color: var(--green-300); }
.calc-addon__check .icon { opacity: 0; transform: scale(0.6); transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.calc-addon.checked .calc-addon__check { background: var(--green-600); border-color: var(--green-600); }
.calc-addon.checked .calc-addon__check .icon { opacity: 1; transform: scale(1); }

/* Notes */
.calc-notes {
  width: 100%; min-height: 84px; padding: 12px 14px; border: 1px solid var(--border-default);
  border-radius: var(--radius-md); font-family: var(--font-ui); font-size: 14px; color: var(--text-body);
  background: var(--cream-50); resize: vertical; outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.calc-notes:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35); }

/* Estimate panel */
.calc-estimate {
  background: var(--green-700); color: var(--cream-50); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-lg);
}
.calc-estimate__title { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--cream-50); margin: 0 0 16px; }
.calc-line { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-ui); font-size: 14px; padding: 5px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); color: var(--green-100); }
.calc-line .up { color: var(--gold-300); }
.calc-line .down { color: var(--gold-300); font-weight: 700; }
.calc-price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 2px solid rgba(255, 255, 255, 0.25); margin-top: 8px; }
.calc-price-row .plabel { font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--cream-50); }
.calc-price-row .pamt { font-family: var(--font-ui); font-weight: 800; font-size: 32px; color: var(--cream-50); line-height: 1; letter-spacing: -0.01em; }
.calc-price-row.first { opacity: 0.82; border-top: 1px dashed rgba(255, 255, 255, 0.3); margin-top: 4px; }
.calc-price-row.first .pamt { font-size: 22px; }
.calc-discount {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  background: var(--gold-100); color: var(--gold-800); font-family: var(--font-ui);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--radius-pill);
}
.calc-estimate__note { font-family: var(--font-ui); font-size: 12.5px; color: var(--green-200); margin: 14px 0 0; line-height: 1.5; font-style: italic; }

/* Required phone field inside the estimate panel */
.calc-field { margin-top: 18px; }
.calc-field__label {
  display: block; font-family: var(--font-ui); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--cream-50); margin-bottom: 7px;
}
.calc-field__req { color: var(--gold-300); }
.calc-field__input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; background: var(--cream-50); color: var(--ink-900);
  font-family: var(--font-ui); font-size: 15px; outline: none;
  transition: box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.calc-field__input::placeholder { color: var(--neutral-400); }
.calc-field__input:focus { border-color: var(--gold-400); box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35); }
.calc-field.invalid .calc-field__input { border-color: var(--azalea-400); box-shadow: 0 0 0 3px rgba(227, 93, 131, 0.3); }
.calc-field__error {
  display: none; font-family: var(--font-ui); font-size: 12px; line-height: 1.4;
  color: var(--gold-200); margin-top: 7px;
}
.calc-field.invalid .calc-field__error { display: block; }

.calc-estimate .btn { margin-top: 18px; }

/* Booking email fallback */
.calc-fallback { display: none; margin-top: 16px; background: rgba(255, 255, 255, 0.12); border-radius: var(--radius-md); padding: 16px; font-family: var(--font-ui); font-size: 13px; line-height: 1.5; color: var(--cream-50); }
.calc-fallback strong { color: var(--gold-300); }
.calc-fallback__text { width: 100%; min-height: 120px; padding: 12px; border-radius: 8px; border: none; font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-900); background: var(--cream-50); resize: vertical; margin-top: 8px; }
.calc-copy { margin-top: 10px; background: var(--cream-50); color: var(--green-800); }
.calc-copy:hover { background: #fff; }
.calc-confirm { display: none; align-items: center; justify-content: center; gap: 6px; text-align: center; margin-top: 8px; font-size: 13px; color: var(--green-100); }

@media (min-width: 920px) {
  .calc-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  /* Pin the estimate column itself: its containing block is the tall grid,
     so sticky has real travel room and stays visible while the form scrolls.
     Offset clears the 55px sticky header so the box never tucks beneath it. */
  .calc-estimate-col { position: sticky; top: 75px; align-self: start; }
}
@media (max-width: 600px) {
  .calc-intro__title { font-size: 34px; }
  .calc-types { grid-template-columns: 1fr; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 56px; }
  .hero__media { order: -1; }
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .about__media { order: -1; }
  .book__grid { grid-template-columns: 1fr; gap: 36px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
  .site-nav { gap: 14px; }
  .site-nav__link, .site-nav__phone span { display: none; }
  .site-header { min-height: 63px; padding: 12px 18px; gap: 12px; } /* 12px*2 + 38px btn + 1px border */
  /* stack the tagline under the wordmark as a compact lockup on mobile */
  .site-header .logo { flex-direction: column; align-items: flex-start; gap: 1px; }
  .site-header .logo__word { font-size: 21px; line-height: 1.04; }
  .site-header .logo__sub { font-size: 8.5px; }
  .site-nav, .backlink { flex-shrink: 0; }
  .hero, .services, .about, .book { padding-left: 20px; padding-right: 20px; }
  .reviews { padding-left: 20px; padding-right: 20px; }
  .hero__title { font-size: 38px; }
  .section-head__title, .about__title { font-size: 32px; }
  .book__title { font-size: 34px; }
  .reviews__title { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; gap: 6px; }
  /* keep the floating chips inside the viewport on small screens */
  .review-chip { left: 8px; right: 8px; bottom: 10px; }
  .about__chip { right: 8px; top: 10px; }
}

@media (max-width: 420px) {
  .hero__cta .btn { width: 100%; }
  .hero__title { font-size: 33px; }
}
