/* ============================================================
   HireJuno — Brand Design System v1.0
   "Local help. Done right."
   Tokens + shared components. Every page loads this first.
   Fonts: Outfit (display) / Work Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  /* Brand core */
  --juno-green:        #2E8B44;
  --juno-green-dark:   #1F6B33;
  --juno-green-deep:   #14532D;
  --juno-green-tint:   #E9F5EC;
  --juno-green-bright: #34C759;

  --navy:              #1B2A41;
  --navy-deep:         #0F1B2D;
  --navy-soft:         #2A3B55;

  --cream:             #FAF8F3;
  --paper:             #FFFFFF;
  --sand:              #F3EFE6;
  --line:              #E7E4DC;
  --line-strong:       #D8D4C9;

  /* Text */
  --ink:               #1B2A41;
  --ink-soft:          #4A5568;
  --ink-faint:         #8A94A6;
  --ink-on-dark:       #F5F7FA;
  --ink-on-dark-soft:  #B9C4D4;

  /* Service accents */
  --svc-cleaning:      #2E8B44;
  --svc-plumbing:      #2D7DD2;
  --svc-electrical:    #F5B800;
  --svc-lawns:         #6BA82F;
  --svc-handyman:      #7C5CBF;
  --svc-pest:          #C0392B;
  --svc-painting:      #E8611A;
  --svc-roofing:       #5D6D7E;
  --svc-aircon:        #16A5A5;

  /* Status */
  --success:           #22A06B;
  --warning:           #F5A623;
  --danger:            #D64545;
  --info:              #2D7DD2;

  /* Type */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --r-sm:  8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(27, 42, 65, .06), 0 1px 3px rgba(27, 42, 65, .08);
  --shadow-md: 0 4px 12px rgba(27, 42, 65, .08), 0 2px 4px rgba(27, 42, 65, .05);
  --shadow-lg: 0 12px 32px rgba(27, 42, 65, .12), 0 4px 8px rgba(27, 42, 65, .06);
  --shadow-green: 0 8px 24px rgba(46, 139, 68, .25);

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --container: 1160px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--juno-green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0 0 var(--s-4); color: var(--ink-soft); }
.lead { font-size: 1.15rem; }

:focus-visible {
  outline: 3px solid var(--juno-green);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.section { padding: var(--s-8) 0; }
.section--tight { padding: var(--s-7) 0; }
.section--dark { background: var(--navy-deep); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--ink-on-dark); }
.section--dark p { color: var(--ink-on-dark-soft); }
.section--tint { background: var(--juno-green-tint); }
.section--sand { background: var(--sand); }
.section-head { max-width: 640px; margin: 0 auto var(--s-7); text-align: center; }
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: var(--s-7) 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--juno-green); color: #fff; box-shadow: var(--shadow-green); }
.btn--primary:hover { background: var(--juno-green-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-soft); }
.btn--outline { background: transparent; color: var(--juno-green); border-color: var(--juno-green); }
.btn--outline:hover { background: var(--juno-green-tint); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--sand); }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; font-family: var(--font-display);
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--juno-green-tint); color: var(--juno-green-dark);
}
.badge--dark { background: rgba(255,255,255,.12); color: var(--ink-on-dark); }
.badge--warn { background: #FDF3DC; color: #8A6200; }
.badge--info { background: #E3EEFB; color: #1D5A9E; }
.badge--danger { background: #FBE4E4; color: #A32F2F; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--paper); border: 1.5px solid var(--line-strong);
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--juno-green); color: var(--juno-green-dark); }
.chip.is-active { background: var(--juno-green); border-color: var(--juno-green); color: #fff; }

/* ---------- Cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card--flat { box-shadow: none; }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--juno-green-tint); color: var(--juno-green);
  margin-bottom: var(--s-4);
}
.card__icon svg { width: 26px; height: 26px; }

/* ---------- Tick list ---------- */
.tick-list { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.tick-list li {
  position: relative; padding-left: 30px; margin-bottom: var(--s-3);
  color: var(--ink-soft); font-weight: 500;
}
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--juno-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.section--dark .tick-list li { color: var(--ink-on-dark-soft); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; color: #F5B800; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 243, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: var(--s-5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand__mark { width: 36px; height: 36px; }
.brand__word {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--navy); letter-spacing: -0.02em;
}
.brand__word b { color: var(--juno-green); font-weight: 800; }
.brand__tag { font-size: .7rem; color: var(--ink-faint); display: block; margin-top: -4px; }

/* Brand logo — master lockup image (mascot + wordmark) */
.brand__logo { height: 40px; width: auto; display: block; }
.brand__logo--onDark { height: 40px; }             /* white-text lockup — reads directly on dark, no chip needed */
.navbar .brand__logo--onDark { height: 32px; }     /* admin dark header — keep compact next to the nav */
@media (max-width: 560px) {
  .brand__logo { height: 34px; }
  .brand__logo--onDark { height: 34px; }
}
.nav-links { display: flex; align-items: center; gap: var(--s-5); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  color: var(--ink); text-decoration: none !important;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--juno-green); }
.nav-toggle {
  display: none; background: none; border: none; padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 880px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: var(--s-3) var(--s-5) var(--s-5);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { padding: 10px 0; }
  .nav-toggle { display: block; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--ink-on-dark-soft); padding: var(--s-8) 0 var(--s-6); }
.footer h4 { color: var(--ink-on-dark); margin-bottom: var(--s-4); font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.footer a { color: var(--ink-on-dark-soft); display: block; padding: 4px 0; font-size: .95rem; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-6); margin-bottom: var(--s-7); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--s-5);
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  font-size: .85rem; flex-wrap: wrap;
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Hero patterns ---------- */
.hero { padding: var(--s-8) 0 var(--s-8); overflow: hidden; }
.hero--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-7); align-items: center; }
@media (max-width: 880px) { .hero--split { grid-template-columns: 1fr; } }
.hero__eyebrow { margin-bottom: var(--s-4); }
.hero__actions { display: flex; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-5); }
.trust-strip {
  display: flex; gap: var(--s-6); flex-wrap: wrap; align-items: center;
  padding: var(--s-5) 0; margin-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.trust-strip__item { display: flex; align-items: center; gap: 10px; }
.trust-strip__item svg { width: 22px; height: 22px; color: var(--juno-green); flex-shrink: 0; }
.trust-strip__item span { font-size: .9rem; font-weight: 600; color: var(--ink-soft); font-family: var(--font-display); }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--s-4); }
.field label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; margin-bottom: 6px; color: var(--ink);
}
.input, .select, .textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--juno-green);
  box-shadow: 0 0 0 3px rgba(46, 139, 68, .15);
}
.field__hint { font-size: .82rem; color: var(--ink-faint); margin-top: 4px; }
.field__error { font-size: .82rem; color: var(--danger); margin-top: 4px; font-weight: 500; }
.input.is-invalid { border-color: var(--danger); }

/* Counter (qty stepper) */
.counter { display: inline-flex; align-items: center; gap: var(--s-4); }
.counter button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: var(--paper);
  font-size: 1.2rem; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s ease;
}
.counter button:hover:not(:disabled) { border-color: var(--juno-green); color: var(--juno-green); }
.counter button:disabled { opacity: .35; cursor: not-allowed; }
.counter span { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; min-width: 24px; text-align: center; }

/* ---------- Booking stepper ---------- */
.steps { display: flex; gap: var(--s-2); margin-bottom: var(--s-6); }
.steps__item {
  flex: 1; text-align: center; position: relative;
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  color: var(--ink-faint); padding-top: 14px;
}
.steps__item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 5px; border-radius: var(--r-pill); background: var(--line);
}
.steps__item.is-done::before, .steps__item.is-active::before { background: var(--juno-green); }
.steps__item.is-active { color: var(--juno-green-dark); }
.steps__item.is-done { color: var(--juno-green); }
@media (max-width: 640px) { .steps__item { font-size: 0; } .steps__item::before { height: 4px; } }

/* ---------- Price summary panel ---------- */
.summary {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-md); position: sticky; top: 96px;
}
.summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; color: var(--ink-soft); }
.summary__row--total {
  border-top: 2px solid var(--line); margin-top: var(--s-3); padding-top: var(--s-4);
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink);
}
.summary__row--credit { color: var(--juno-green-dark); font-weight: 600; }

/* ---------- Tables (admin) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th {
  text-align: left; font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ink-faint); padding: 14px 16px;
  border-bottom: 1px solid var(--line); background: var(--sand);
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--cream); }

/* ---------- KPI tiles (admin) ---------- */
.kpi {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
}
.kpi__label { font-size: .82rem; font-weight: 600; color: var(--ink-faint); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; }
.kpi__value { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--ink); margin: 4px 0; }
.kpi__delta { font-size: .85rem; font-weight: 600; }
.kpi__delta--up { color: var(--success); }
.kpi__delta--down { color: var(--danger); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--line); border: none; margin: var(--s-6) 0; }
.text-center { text-align: center; }
.muted { color: var(--ink-faint); }
.price-tag { font-family: var(--font-display); font-weight: 800; color: var(--juno-green-dark); }
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: var(--r-md);
}
.skip-link:focus { left: 8px; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--navy); color: #fff; padding: 14px 24px;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  transition: transform .3s ease; z-index: 300; max-width: 90vw;
}
.toast.is-visible { transform: translateX(-50%) translateY(0); }

/* ============================================================
   HireJuno — Modern UI v2 utility layer
   APPEND-ONLY extension to brand.css (v1 stays frozen).
   Additive: no v1 selector or token is redefined here.
   All motion lives inside prefers-reduced-motion guards.
   Mobile-first: base = 375px, enhance at 680 / 1024.
   ============================================================ */

/* ---------- v2 tokens (new custom properties only) ---------- */
:root {
  --r-3xl: 32px;
  --teal-hint: #16A5A5;                     /* matches --svc-aircon */
  --v2-glass-bg: rgba(255, 255, 255, .62);
  --v2-glass-bg-dark: rgba(27, 42, 65, .55);
  --v2-glass-line: rgba(255, 255, 255, .65);
  --v2-glass-line-dark: rgba(255, 255, 255, .14);
  --v2-shadow-float: 0 24px 48px -12px rgba(27, 42, 65, .18), 0 8px 16px -8px rgba(27, 42, 65, .10);
  --v2-ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Mesh hero ----------
   Light, airy layered radial-gradient wash: juno green tints,
   warm cream, hint of teal. Content sits directly on top. */
.mesh-hero {
  position: relative;
  background:
    radial-gradient(52% 44% at 12% 8%,  rgba(46, 139, 68, .14) 0%, transparent 70%),
    radial-gradient(46% 40% at 88% 12%, rgba(22, 165, 165, .10) 0%, transparent 70%),
    radial-gradient(60% 52% at 78% 86%, rgba(52, 199, 89, .12) 0%, transparent 72%),
    radial-gradient(50% 46% at 18% 92%, rgba(243, 239, 230, .90) 0%, transparent 75%),
    linear-gradient(180deg, #FDFCF8 0%, var(--cream) 100%);
}
/* Navy variant with soft green glow accents (for dark sections) */
.mesh-hero--dark {
  background:
    radial-gradient(50% 42% at 15% 10%, rgba(46, 139, 68, .28) 0%, transparent 70%),
    radial-gradient(44% 38% at 85% 18%, rgba(52, 199, 89, .16) 0%, transparent 70%),
    radial-gradient(56% 50% at 80% 88%, rgba(22, 165, 165, .14) 0%, transparent 72%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.mesh-hero--dark h1, .mesh-hero--dark h2, .mesh-hero--dark h3 { color: var(--ink-on-dark); }
.mesh-hero--dark p { color: var(--ink-on-dark-soft); }

/* ---------- Glassmorphism card ----------
   Translucent panel for use over .mesh-hero / imagery.
   Falls back to a solid-ish tint where backdrop-filter is unsupported. */
.glass {
  background: var(--v2-glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--v2-glass-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: var(--s-5);
}
.glass--dark {
  background: var(--v2-glass-bg-dark);
  border-color: var(--v2-glass-line-dark);
  color: var(--ink-on-dark);
}
.glass--dark h1, .glass--dark h2, .glass--dark h3, .glass--dark h4 { color: var(--ink-on-dark); }
.glass--dark p { color: var(--ink-on-dark-soft); }

/* ---------- Bento grid ----------
   12-col responsive bento. Mobile: everything stacks (span 12).
   ≥680px: tiles = half width. ≥1024px: tiles = third width;
   modifiers reclaim columns/rows. */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-4);
}
.bento__tile {
  grid-column: span 12;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s-5);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
@media (min-width: 680px) {
  .bento { gap: var(--s-5); }
  .bento__tile { grid-column: span 6; }
  .bento__tile--wide { grid-column: span 12; }
  .bento__tile--tall { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .bento__tile { grid-column: span 4; }
  .bento__tile--2x { grid-column: span 8; grid-row: span 2; }  /* feature tile */
  .bento__tile--wide { grid-column: span 8; grid-row: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .bento__tile { transition: transform .2s var(--v2-ease), box-shadow .2s var(--v2-ease); }
  .bento__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}

/* ---------- Gradient display text ---------- */
.grad-text {
  background: linear-gradient(100deg, var(--juno-green-deep) 0%, var(--juno-green) 55%, var(--juno-green-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--juno-green-dark); /* fallback if clip unsupported */
}

/* ---------- Icon tile (service pickers) ----------
   Large tappable tile: 40px icon + label. Native-app feel:
   fast tactile transform + shadow (150–200ms). Toggle .is-selected. */
.icon-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 108px;
  padding: var(--s-4) var(--s-3);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--ink); text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.icon-tile svg { width: 40px; height: 40px; color: var(--juno-green); flex-shrink: 0; }
.icon-tile:hover { border-color: var(--juno-green); box-shadow: 0 0 0 3px rgba(46, 139, 68, .14), var(--shadow-md); }
.icon-tile.is-selected {
  background: var(--juno-green-tint);
  border: 2px solid var(--juno-green);
  color: var(--juno-green-deep);
}
/* Check treatment: badge pops into the top-right corner when selected */
.icon-tile.is-selected::after {
  content: '';
  position: absolute; top: 8px; right: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--juno-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.icon-tile--sm { min-height: 84px; padding: var(--s-3) var(--s-2); font-size: .82rem; border-radius: var(--r-lg); }
.icon-tile--sm svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .icon-tile { transition: transform .16s var(--v2-ease), box-shadow .18s var(--v2-ease), border-color .16s ease, background .16s ease; }
  .icon-tile:hover { transform: translateY(-2px); }
  .icon-tile:active { transform: scale(.97); }
  .icon-tile.is-selected::after { animation: v2-check-pop .2s var(--v2-ease); }
  @keyframes v2-check-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
}

/* ---------- App pricing components ----------
   "App price beats web price" merchandising set. */
.app-price {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; line-height: 1.1;
  color: var(--juno-green-dark);
}
.price-strike {
  color: var(--ink-faint);
  text-decoration: line-through;
  font-size: .95rem; font-weight: 500;
}
.save-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--juno-green); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap;
}
/* Compact horizontal promo card: left accent bar + subtle gradient */
.offer-card {
  position: relative;
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-4) var(--s-4) calc(var(--s-4) + 6px);
  background: linear-gradient(105deg, var(--juno-green-tint) 0%, var(--paper) 60%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.offer-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--juno-green-bright), var(--juno-green-dark));
}

/* ---------- Scroll reveal ----------
   Pages toggle .is-in via IntersectionObserver.
   Reduced motion: always visible, no transition (never hides content). */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .5s var(--v2-ease), transform .5s var(--v2-ease); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Pill tabs (segmented control) ----------
   Sliding feel comes from cross-fading bg + shadow on .is-active
   (no thumb element needed). Buttons get role="tab" in markup. */
.pill-tabs {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  max-width: 100%; overflow-x: auto;
}
.pill-tabs__btn {
  flex-shrink: 0;
  padding: 9px 18px; border: none; border-radius: var(--r-pill);
  background: transparent;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  color: var(--ink-soft); white-space: nowrap;
}
.pill-tabs__btn:hover { color: var(--ink); }
.pill-tabs__btn.is-active {
  background: var(--paper);
  color: var(--juno-green-dark);
  box-shadow: var(--shadow-sm);
}
@media (prefers-reduced-motion: no-preference) {
  .pill-tabs__btn { transition: background .18s var(--v2-ease), color .15s ease, box-shadow .18s var(--v2-ease); }
}

/* ---------- Stat ring ----------
   Sized shell for an SVG progress ring. Set --ring-size per instance:
   <div class="stat-ring" style="--ring-size:140px"><svg …></svg>
     <div class="stat-ring__value">98%</div></div> */
.stat-ring {
  position: relative;
  width: var(--ring-size, 120px);
  height: var(--ring-size, 120px);
  flex-shrink: 0;
}
.stat-ring svg { width: 100%; height: 100%; }
.stat-ring__value {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: calc(var(--ring-size, 120px) * .22);
  line-height: 1.1; color: var(--ink); text-align: center;
}

/* ---------- Floating "Book Now" action button ----------
   Fixed bottom-right, safe-area aware, hidden on print.
   Toggle .fab-book--hide (e.g. when footer CTA is in view). */
.fab-book {
  position: fixed;
  right: calc(var(--s-4) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 24px; border: none; border-radius: var(--r-pill);
  background: var(--juno-green); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  box-shadow: var(--shadow-green), var(--v2-shadow-float);
  text-decoration: none !important;
  cursor: pointer;
}
.fab-book svg { width: 20px; height: 20px; }
.fab-book:hover { background: var(--juno-green-dark); }
.fab-book--hide { opacity: 0; pointer-events: none; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .fab-book { transition: transform .18s var(--v2-ease), opacity .25s ease, background .18s ease, visibility .25s; }
  .fab-book:hover { transform: translateY(-2px); }
  .fab-book:active { transform: scale(.97); }
  .fab-book--hide { transform: translateY(12px); }
}
@media print { .fab-book { display: none !important; } }

/* ---------- Trust ticker ----------
   Duplicate-content pattern: put the item set in .ticker__track TWICE
   (second copy aria-hidden="true"); the track slides -50% and loops
   seamlessly. Reduced motion: animation off, row sits static and the
   strip becomes swipe-scrollable so nothing is unreachable. */
.ticker {
  overflow: hidden;
  padding: var(--s-4) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track {
  display: inline-flex; align-items: center;
  gap: var(--s-7);
  padding-right: var(--s-7); /* keeps the loop seam evenly spaced */
  width: max-content;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: v2-ticker 32s linear infinite; }
  .ticker:hover .ticker__track { animation-play-state: paused; }
  @keyframes v2-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .ticker__track { animation: none; }
}

/* ---------- Phone frame ----------
   Slim-bezel device mock for app / contractor demos.
   .phone__screen scrolls internally — drop any markup inside. */
.phone {
  position: relative;
  width: min(300px, 86vw);
  aspect-ratio: 9 / 19;
  margin: 0 auto;
  background: var(--navy-deep);
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--v2-shadow-float), inset 0 0 0 2px var(--navy-soft);
}
.phone__notch {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: var(--r-pill);
  background: var(--navy-deep);
  z-index: 2;
}
.phone__screen {
  height: 100%;
  border-radius: 34px;
  background: var(--cream);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.phone__screen::-webkit-scrollbar { display: none; }

/* ---------- Chip scroll row ----------
   Horizontal snap-scroll rail for mobile filters/cards. Scrollbar is
   hidden visually but the rail stays keyboard-accessible — give it
   tabindex="0" role="group" aria-label="…" in markup. Negative-margin
   bleed keeps first/last chips aligned to the container edge. */
.chip-scroll {
  display: flex; gap: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: var(--s-1) var(--s-5) var(--s-3);
  margin: 0 calc(-1 * var(--s-5));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chip-scroll::-webkit-scrollbar { display: none; }
.chip-scroll > * { scroll-snap-align: start; flex-shrink: 0; }
@media (min-width: 680px) {
  .chip-scroll { flex-wrap: wrap; overflow-x: visible; margin: 0; padding: 0; }
}

/* ---------- Small extras ---------- */
/* Deeper, softer modern shadow for floating feature cards */
.shadow-float { box-shadow: var(--v2-shadow-float); }
/* Extra-round corners for large media/feature blocks */
.rounded-3xl { border-radius: var(--r-3xl); }
/* Frosted sticky-bar helper. NOTE: v1 .navbar already ships its own
   backdrop blur — this class is for NEW bars (sub-navs, sticky CTA
   strips), never to restyle .navbar itself. */
.backdrop-blur-nav {
  background: rgba(250, 248, 243, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
/* Gradient hairline divider that fades at both ends */
.divider-fade {
  height: 1px; border: none; margin: var(--s-6) 0;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}

/* ============================================================
   End Modern UI v2 layer
   ============================================================ */

/* ============================================================
   Bubble design layer (Urban-Company-style) — appended by lead
   ============================================================ */

/* Icon bubbles — circular tinted service icons */
.bubble {
  --bubble-size: 64px;
  width: var(--bubble-size); height: var(--bubble-size);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--juno-green-tint); color: var(--juno-green-dark);
  transition: transform .18s ease, box-shadow .18s ease;
}
.bubble svg { width: calc(var(--bubble-size) * .46); height: calc(var(--bubble-size) * .46); }
.bubble--sm { --bubble-size: 48px; }
.bubble--lg { --bubble-size: 80px; }
.bubble--navy { background: #E8EDF5; color: var(--navy); }
.bubble--sun { background: #FDF3DC; color: #8A6200; }
.bubble--sky { background: #E3EEFB; color: #1D5A9E; }
.bubble--plum { background: #EFE9F8; color: #5B3E96; }
.svc-bubble { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer; background: none; border: none; padding: 6px; }
.svc-bubble span { font-family: var(--font-display); font-weight: 600; font-size: .8rem; color: var(--ink); line-height: 1.2; }
.svc-bubble:hover .bubble { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-md); }
.svc-bubble.is-selected .bubble { background: var(--juno-green); color: #fff; box-shadow: var(--shadow-green); }
.svc-bubble-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4) var(--s-2); }
@media (max-width: 380px) { .svc-bubble-grid { grid-template-columns: repeat(3, 1fr); } }

/* Sticky bottom cart bar */
.cart-bar {
  position: fixed; left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  background: var(--navy); color: #fff;
  border-radius: var(--r-pill);
  padding: 12px 12px 12px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 12px 32px rgba(15, 27, 45, .35);
  transform: translateY(140%); opacity: 0; pointer-events: none;
  transition: transform .28s cubic-bezier(.2,.9,.3,1.1), opacity .2s ease;
}
.cart-bar.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cart-bar__meta { font-family: var(--font-display); font-size: .95rem; font-weight: 600; }
.cart-bar__meta small { display: block; font-weight: 500; font-size: .75rem; color: var(--ink-on-dark-soft); }
.cart-bar .btn { padding: 11px 22px; }
@media (min-width: 881px) { .cart-bar { max-width: 480px; left: auto; right: 24px; } }
@media (prefers-reduced-motion: reduce) { .cart-bar { transition: none; } }

/* Bottom sheet (option picker) */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(15, 27, 45, .45);
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.sheet-backdrop.is-open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--paper);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 40px rgba(15, 27, 45, .25);
  max-height: 82vh; overflow-y: auto;
  padding: 10px var(--s-5) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  transform: translateY(105%); transition: transform .28s cubic-bezier(.2,.9,.3,1.05);
}
.sheet.is-open { transform: translateY(0); }
.sheet__handle { width: 44px; height: 5px; border-radius: var(--r-pill); background: var(--line-strong); margin: 8px auto 16px; }
@media (min-width: 881px) { .sheet { max-width: 560px; left: 50%; transform: translate(-50%, 105%); } .sheet.is-open { transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-backdrop { transition: none; } }

/* Option row (Urban-Company style list row) */
.option-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.option-row:last-child { border-bottom: none; }
.option-row__name { font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: var(--ink); }
.option-row__price { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.option-row__sub { font-size: .8rem; color: var(--ink-faint); }

/* Add pill that morphs into a stepper */
.qty-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 88px; height: 38px;
  border: 1.5px solid var(--juno-green); border-radius: var(--r-pill);
  background: var(--paper); color: var(--juno-green-dark);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  transition: background .15s ease, color .15s ease;
}
.qty-pill button {
  background: none; border: none; color: inherit; font-size: 1.05rem; font-weight: 700;
  width: 28px; height: 36px; display: flex; align-items: center; justify-content: center;
}
.qty-pill.is-empty button.qty-pill__minus, .qty-pill.is-empty .qty-pill__count { display: none; }
.qty-pill.is-empty::before { content: 'Add'; padding: 0 6px; cursor: pointer; }
.qty-pill:not(.is-empty) { background: var(--juno-green); color: #fff; }

/* Tiny rating badge */
.rate-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  color: var(--juno-green-dark); background: var(--juno-green-tint);
  padding: 2px 8px; border-radius: var(--r-pill);
}
.rate-badge svg { width: 11px; height: 11px; fill: currentColor; }

/* Priced icon tile (extras grid — price ON the tile) */
.icon-tile__price { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--juno-green-dark); }
