/* ============================================================================
   Paws Poo Patrol — mockup stylesheet
   Base: Avada "Nutritionist" prebuilt, re-skinned to the client's logo palette.

   The structure here mirrors the Avada template one-for-one so the WordPress
   build is a settings exercise: Global Colors 2/5/7 change, Typography 1 swaps
   Caudex -> Fredoka, corner radii go up. Nothing else.

   Tokens are documented in context/02-brand-and-design-system.md
   ========================================================================= */

/* --- 1. Tokens ----------------------------------------------------------- */
:root {
  /* Brand — sampled from the client's own Facebook ad (Aug 2026) and the logo.
     The ad is the reference: royal blue banners, saturated golden yellow, white,
     hard contrast. Deliberately bolder than the Avada Nutritionist prebuilt. */
  --ppp-royal:       #1A56A8;   /* the ad's banner blue. Dominant, not accent */
  --ppp-royal-dark:  #12417F;   /* hover / gradient foot */
  --ppp-blue:        #2E90DA;   /* the logo banner's brighter blue */
  --ppp-blue-deep:   #0A6FB0;   /* link + body-copy-safe blue */
  --ppp-blue-tint:   #E4F0FB;
  --ppp-sky:         #E9F3FD;   /* cool section band — the new default alternate */
  --ppp-ink:         #0B2B57;   /* replaces Avada color7 (#212934). Navy, not charcoal */
  --ppp-yellow:      #FFC800;   /* replaces Avada color5 (#e61f12). The ad's gold */
  --ppp-amber:       #F0A500;

  /* Warm secondary — the "doodle" range. Used sparingly now; the ad has no cream. */
  --ppp-gold:        #E3A45F;
  --ppp-sand:        #FCEBC9;
  --ppp-cream:       #FFFBF2;   /* replaces Avada color2 (#fff9f4) — much less peach */

  /* Neutrals */
  --ppp-white:       #FFFFFF;
  --ppp-mist:        #F2F6FA;
  --ppp-line:        #D9E3EE;
  --ppp-muted:       #55677C;
  --ppp-body:        #1F2E42;

  /* Semantic */
  --ppp-success:     #2E9E5B;
  --ppp-alert:       #D9452F;

  /* Type */
  --font-display: 'Fredoka', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --font-body:    'Heebo', 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-ui:      'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Rhythm */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(56px, 8vw, 104px);

  /* Surfaces */
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 43, 87, .08);
  --shadow:    0 12px 32px rgba(11, 43, 87, .12);
  --shadow-lg: 0 24px 60px rgba(11, 43, 87, .18);

  --header-h: 76px;
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--ppp-white);
  color: var(--ppp-body);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ppp-blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ppp-ink); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  /* h1/h2 go heavier below — the ad leans on weight for impact */
  color: var(--ppp-ink);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); font-weight: 700; letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.6rem); }
h4 { font-size: 1.18rem; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .45em; }

hr { border: 0; border-top: 1px solid var(--ppp-line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--ppp-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ppp-ink); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-family: var(--font-ui); font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--ppp-cream); }
.section--sky   { background: var(--ppp-sky); }
/* Full royal band. High-impact, use once or twice a page at most. */
.section--brand { background: var(--ppp-royal); color: #DCEAF8; }
.section--brand h2, .section--brand h3, .section--brand h4 { color: #fff; }
.section--brand .eyebrow { color: var(--ppp-yellow); }
.section--brand .lead { color: #C3DAF0; }
.section--brand .step { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.section--brand .step h3 { color: #fff; }
.section--brand .step p { color: #C3DAF0; }
.section--brand .step__n { color: var(--ppp-yellow); -webkit-text-stroke: 0; }
.section--mist  { background: var(--ppp-mist); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }

.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* --- 4. Type helpers ----------------------------------------------------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ppp-royal);
  margin: 0 0 .85rem;
  display: block;
}

.lead { font-size: clamp(1.06rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--ppp-muted); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }

.muted { color: var(--ppp-muted); }
.small { font-size: .9rem; }

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-ui); font-size: .95rem; font-weight: 600;
  padding: .95em 1.9em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--ppp-yellow); color: var(--ppp-ink); box-shadow: 0 3px 0 var(--ppp-amber); }
.btn--primary:hover { background: var(--ppp-amber); color: var(--ppp-ink); box-shadow: 0 3px 0 #C98700; }

.btn--dark { background: var(--ppp-royal); color: #fff; }
.btn--dark:hover { background: var(--ppp-royal-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ppp-royal); border-color: var(--ppp-royal); }
.btn--ghost:hover { background: var(--ppp-royal); color: #fff; }

.btn--light { background: #fff; color: var(--ppp-ink); }
.btn--light:hover { background: var(--ppp-cream); color: var(--ppp-ink); }

.btn--sm { padding: .7em 1.35em; font-size: .875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* --- 6. Header ----------------------------------------------------------- */
.topbar {
  background: var(--ppp-royal);
  color: #C9DEF4;
  font-family: var(--font-ui);
  font-size: .8125rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--ppp-yellow); }
.topbar__meta { display: flex; gap: 22px; align-items: center; }
@media (max-width: 860px) { .topbar__meta { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--ppp-line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 12px; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.22rem;
  color: var(--ppp-ink); line-height: 1.05; letter-spacing: -.015em;
}
.brand__tag {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ppp-blue-deep);
}
@media (max-width: 420px) { .brand__tag { display: none; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-ui); font-size: .93rem; font-weight: 500;
  color: var(--ppp-ink); text-decoration: none;
  padding: 10px 13px; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--ppp-blue-tint); color: var(--ppp-royal); }
.nav__cta { margin-left: 10px; }

@media (max-width: 1080px) { .nav { display: none; } .nav__cta { display: none; } }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--ppp-ink); color: #fff; border: 0;
  width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center;
}
@media (max-width: 1080px) { .nav-toggle { display: inline-flex; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--ppp-line);
  background: #fff;
  padding: 14px var(--gutter) 24px;
  max-height: 72vh; overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 12px 4px; font-family: var(--font-ui); font-weight: 500;
  color: var(--ppp-ink); text-decoration: none; border-bottom: 1px solid var(--ppp-line);
}
.mobile-nav .btn { margin-top: 16px; width: 100%; }

/* --- 7. Hero ------------------------------------------------------------- */
.hero { background: var(--ppp-sky); padding-block: clamp(44px, 7vw, 88px); position: relative; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 56ch; }
.hero .btn-row { margin-top: 30px; }

.hero__media { position: relative; isolation: isolate; }
.hero__media img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero__blob {
  position: absolute; inset: auto -28px -28px auto;
  width: 210px; height: 210px; border-radius: 50%;
  background: var(--ppp-yellow); opacity: .55; z-index: 0;
}

/* Home hero: the client's own logo with the tagline as its caption. The logo PNG
   is transparent, so it sits straight on the sky band with no card or crop. */
.hero__logo { margin: 0; text-align: center; }
.hero__logo img { width: min(100%, 440px); height: auto; margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(11,43,87,.16)); }
.hero__logo figcaption {
  margin-top: 14px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.2;
  color: var(--ppp-royal);
}
@media (max-width: 900px) { .hero__logo { order: -1; } .hero__logo img { width: min(70%, 300px); } }

/* Service-area map (service-areas.html hero). Inline SVG; every color is a token. */
.area-map { margin: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px 14px 12px; }
.area-map svg { display: block; width: 100%; height: auto; font-family: var(--font-ui); }
.area-map__hull { fill: var(--ppp-sky); stroke: var(--ppp-sky); stroke-width: 46; stroke-linejoin: round; }
.area-map__road { fill: none; stroke: #B9C6D6; stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.area-map__roadlabel, .area-map__county-label, .area-map__muted { font-size: 11px; fill: #5B6B80; font-weight: 600; }
.area-map__county { stroke: #C9D3DF; stroke-width: 1.5; stroke-dasharray: 6 5; }
.area-map__downtown { fill: #8A97A8; }
.area-map__dot { fill: var(--ppp-royal); stroke: #fff; stroke-width: 2; }
.area-map__dot--key { fill: var(--ppp-ink); }
.area-map__edge { fill: #fff; stroke: var(--ppp-royal); stroke-width: 2; stroke-dasharray: 3 2; }
.area-map__home { fill: none; stroke: var(--ppp-yellow); stroke-width: 4; }
.area-map__labels text { font-size: 12.5px; font-weight: 600; fill: var(--ppp-ink); paint-order: stroke; stroke: #fff; stroke-width: 3.5px; stroke-linejoin: round; }
.area-map figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 8px; font-family: var(--font-ui); font-size: .8125rem; color: var(--ppp-ink); }
.area-map figcaption span { display: inline-flex; align-items: center; gap: 7px; }
.area-map__key { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.area-map__key--core { background: var(--ppp-royal); }
.area-map__key--edge { border: 2px dashed var(--ppp-royal); }
.area-map__key--home { border: 3px solid var(--ppp-yellow); }

.byline { font-family: var(--font-ui); font-weight: 600; font-size: .95rem; color: var(--ppp-ink); margin-top: 4px; }

.signoff { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ppp-royal); margin-top: 6px; }

.hero--compact { padding-block: clamp(36px, 5vw, 60px); }
.hero--compact .hero__inner { grid-template-columns: 1fr; }
/* Service and city heroes keep the two-column split — as a class, never an inline
   style, so the 900px collapse below still wins. */
.hero--compact.hero--split .hero__inner { grid-template-columns: 1.05fr .95fr; }
@media (max-width: 900px) {
  .hero--compact.hero--split .hero__inner { grid-template-columns: 1fr; }
}
.hero--compact h1 { max-width: 20ch; }

.breadcrumbs {
  font-family: var(--font-ui); font-size: .8125rem; color: var(--ppp-muted);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--ppp-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ppp-blue-deep); text-decoration: underline; }
.breadcrumbs span { margin-inline: 7px; opacity: .55; }

/* --- 8. Trust chips ------------------------------------------------------ */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--ppp-line); border-radius: 999px;
  padding: 8px 15px; font-family: var(--font-ui); font-size: .82rem; font-weight: 600;
  color: var(--ppp-ink); box-shadow: var(--shadow-sm);
}
.chip svg { width: 16px; height: 16px; color: var(--ppp-royal); flex: none; }

.chipbar { border-block: 1px solid var(--ppp-line); background: #fff; }
.chipbar .grid { padding-block: 30px; }
.chipbar__item { display: flex; gap: 13px; align-items: flex-start; }
.chipbar__item svg { width: 26px; height: 26px; color: var(--ppp-royal); flex: none; margin-top: 2px; }
.chipbar__item strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ppp-ink); }
.chipbar__item span { font-size: .875rem; color: var(--ppp-muted); line-height: 1.5; }

/* --- 9. Cards ------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ppp-mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.22rem; margin-bottom: .45em; }
.card__body h3 a { color: inherit; text-decoration: none; }
.card__body p { font-size: .95rem; color: var(--ppp-muted); }
.card__more {
  margin-top: auto; padding-top: 16px;
  font-family: var(--font-ui); font-weight: 700; font-size: .875rem;
  color: var(--ppp-royal); text-decoration: none;
}
.card__more::after { content: ' →'; }
.card__tag {
  display: inline-block; font-family: var(--font-ui); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ppp-royal);
  background: var(--ppp-blue-tint); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px;
}

.card--plain { border-radius: var(--radius); padding: 26px; background: #fff; }

/* --- 10. Split ----------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split--reverse .split__media { order: 0; } }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}

/* --- 11. Steps ----------------------------------------------------------- */
.step { background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius); padding: 30px 26px; }
.step__n {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 600;
  color: var(--ppp-yellow); line-height: 1; margin-bottom: 14px;
  -webkit-text-stroke: 1px var(--ppp-amber);
}
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; color: var(--ppp-muted); margin: 0; }

/* --- 12. Checklist ------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .98rem; }
.checklist svg { width: 21px; height: 21px; color: var(--ppp-success); flex: none; margin-top: 3px; }
.checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .checklist--2 { grid-template-columns: 1fr; } }

/* --- 13. Pricing --------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.plan {
  background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
}
.plan--best { border-color: var(--ppp-yellow); border-width: 3px; box-shadow: var(--shadow); }
.plan__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ppp-yellow); color: var(--ppp-ink);
  font-family: var(--font-ui); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 15px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 1.35rem; margin-bottom: .25em; }
.plan__blurb { font-size: .9rem; color: var(--ppp-muted); margin-bottom: 20px; }
.plan__price { font-family: var(--font-display); font-weight: 600; color: var(--ppp-ink); line-height: 1; }
.plan__price b { font-size: 2.75rem; color: var(--ppp-royal); }
.plan__price span { font-size: .95rem; color: var(--ppp-muted); font-family: var(--font-body); font-weight: 400; }
.plan__month { font-size: .875rem; color: var(--ppp-muted); margin: 10px 0 22px; }
.plan .checklist { margin-bottom: 26px; }
.plan .checklist li { font-size: .92rem; }
.plan .btn { margin-top: auto; width: 100%; }

.price-note {
  background: var(--ppp-blue-tint); border-left: 4px solid var(--ppp-royal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; font-size: .95rem;
}

/* --- 14. Accordion (FAQ) ------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq details[open] { border-color: var(--ppp-royal); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 54px 20px 24px; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ppp-ink);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 24px; top: 27px;
  width: 11px; height: 11px; border-right: 2.5px solid var(--ppp-royal); border-bottom: 2.5px solid var(--ppp-royal);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 31px; }
.faq__a { padding: 0 24px 22px; color: var(--ppp-muted); font-size: .97rem; }
.faq__a p:last-child { margin-bottom: 0; }

.faq-group { margin-bottom: clamp(32px, 4vw, 48px); }
.faq-group > h3 { font-size: 1.3rem; margin-bottom: 18px; }

/* --- 15. Reviews --------------------------------------------------------- */
.review {
  background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.review__stars { color: var(--ppp-amber); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.review p { font-size: .97rem; color: var(--ppp-body); }
.review__by {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ppp-line);
  font-family: var(--font-ui); font-size: .85rem;
}
.review__by strong { color: var(--ppp-ink); display: block; }
.review__by span { color: var(--ppp-muted); }

/* --- 16. Area grid ------------------------------------------------------- */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .areas { grid-template-columns: 1fr; } }
.areas a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius-sm);
  padding: 15px 18px; text-decoration: none; color: var(--ppp-ink);
  font-family: var(--font-ui); font-weight: 600; font-size: .92rem;
  transition: border-color .15s ease, transform .15s ease;
}
.areas a:hover { border-color: var(--ppp-royal); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.areas a em { font-style: normal; font-weight: 400; font-size: .78rem; color: var(--ppp-muted); }

/* --- 17. CTA band -------------------------------------------------------- */
.cta-band { background: var(--ppp-ink); color: #C9DAE6; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px); }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: #B9CBD9; }
.cta-band__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .cta-band__inner { grid-template-columns: 1fr; } }
.cta-band .btn-row { justify-content: flex-start; }

.callout {
  background: var(--ppp-sand); border-radius: var(--radius);
  padding: 26px 28px; font-size: .98rem;
}
.callout strong { color: var(--ppp-ink); }

/* --- 18. Answer box (blog) ---------------------------------------------- */
.answer-box {
  background: var(--ppp-blue-tint);
  border: 1px solid #BFDCF6;
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 36px;
}
.answer-box .eyebrow { margin-bottom: .5rem; }
.answer-box p { font-size: 1.1rem; line-height: 1.65; color: var(--ppp-ink); margin: 0; }

.takeaways { background: var(--ppp-cream); border-radius: var(--radius); padding: 28px 32px; margin: 36px 0; }
.takeaways h3 { font-size: 1.15rem; margin-bottom: 14px; }

/* --- 19. Article --------------------------------------------------------- */
.article { font-size: 1.06rem; }
.article h2 { margin-top: 2.2em; }
.article h2:first-child { margin-top: 0; }
.article strong { color: var(--ppp-ink); }
.article ul { padding-left: 1.25em; }
.article__meta {
  font-family: var(--font-ui); font-size: .85rem; color: var(--ppp-muted);
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 20px;
}
.article__hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; }

/* --- 20. Form ------------------------------------------------------------ */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field label {
  display: block; font-family: var(--font-ui); font-size: .85rem; font-weight: 600;
  color: var(--ppp-ink); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 13px 15px; border: 1px solid var(--ppp-line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ppp-body);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ppp-royal); outline-offset: 0; }
.field textarea { min-height: 120px; resize: vertical; }
.form__note { font-size: .82rem; color: var(--ppp-muted); }
.form__legend { margin: 0; }
/* Required marker: royal, so it reads as important without looking like an error. */
.req { color: var(--ppp-royal); font-weight: 700; }
.opt { font-weight: 400; color: var(--ppp-muted); }

/* Optional SMS consent: checkbox sits beside its label, not above it. */
.field--check { display: flex; gap: 10px; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; padding: 0; accent-color: var(--ppp-royal); }
.field--check label { font-weight: 400; font-size: .85rem; color: var(--ppp-muted); margin: 0; }

/* Honeypot: off-screen for people, still in the DOM for bots. Not display:none,
   which some bots skip. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__status { font-size: .95rem; font-weight: 600; padding: 12px 14px; border-radius: var(--radius-sm); }
.form__status.is-error { background: #FDECEC; color: #8A1C1C; }
.form__status.is-sending { background: var(--ppp-sky); color: var(--ppp-ink); }
.form [type="submit"][disabled] { opacity: .65; cursor: progress; transform: none; }

.form-card {
  background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow);
}

/* --- 21. Contact cards --------------------------------------------------- */
.contact-card {
  background: #fff; border: 1px solid var(--ppp-line); border-radius: var(--radius);
  padding: 26px;
}
.contact-card svg { width: 26px; height: 26px; color: var(--ppp-royal); margin-bottom: 14px; }
.contact-card h3 { font-size: 1.08rem; margin-bottom: .3em; }
.contact-card a { font-family: var(--font-ui); font-weight: 600; }
.contact-card p { font-size: .9rem; color: var(--ppp-muted); margin: 6px 0 0; }

/* --- 22. Footer ---------------------------------------------------------- */
.site-footer { background: var(--ppp-ink); color: #9FB6C6; padding-block: clamp(48px, 6vw, 72px) 0; font-size: .93rem; }
.site-footer h4 {
  color: #fff; font-family: var(--font-ui); font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; margin-bottom: 18px;
}
.site-footer a { color: #C9DAE6; text-decoration: none; }
.site-footer a:hover { color: var(--ppp-yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { width: 52px; height: 52px; border-radius: 12px; }
.footer__brand strong { font-family: var(--font-display); font-size: 1.2rem; color: #fff; }
.footer__phone { font-family: var(--font-display); font-size: 1.5rem; color: #fff; display: inline-block; margin: 6px 0 4px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.09);
  display: inline-flex; align-items: center; justify-content: center;
}
.footer__social a:hover { background: var(--ppp-yellow); color: var(--ppp-ink); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 24px 30px; display: flex; flex-wrap: wrap; gap: 10px 24px;
  justify-content: space-between; font-size: .82rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* --- 23. Sticky mobile bar ---------------------------------------------- */
.mobile-bar { display: none; }
@media (max-width: 780px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
    border-top: 1px solid var(--ppp-line);
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  }
  .mobile-bar .btn { width: 100%; padding: .85em 1em; }
  body { padding-bottom: 78px; }
}

/* --- 24. Misc ------------------------------------------------------------ */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 1.5em; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--ppp-line); }
th { font-family: var(--font-ui); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ppp-ink); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-list li { margin: 0; }
.pill-list a {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ppp-line);
  font-family: var(--font-ui); font-size: .84rem; font-weight: 500;
  color: var(--ppp-ink); text-decoration: none;
}
.pill-list a:hover { border-color: var(--ppp-royal); color: var(--ppp-royal); }

.legal-body h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-body { font-size: 1rem; }

.notice {
  border: 2px dashed var(--ppp-amber); background: #FFFBEF;
  border-radius: var(--radius-sm); padding: 16px 20px; font-size: .9rem;
  font-family: var(--font-ui); color: #6B4E05; margin-bottom: 28px;
}
.notice strong { color: #4A3603; }

/* --- 25. Motion ---------------------------------------------------------- */
/* Every effect here has a native Avada equivalent; see context/04-wordpress-build-notes.md.
   Scroll reveals only apply once site.js adds .motion to <html>, and site.js never adds it
   when reduced motion is requested — so nothing is ever hidden without a way back. */

:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-pop: cubic-bezier(.2, .9, .3, 1.25); }

/* Header gains depth once the page moves. */
.site-header { transition: box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(11, 43, 87, .09); }

/* Scroll reveal: fade + rise. Columns of a split slide in from their own side. */
.motion .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 85ms);
}
.motion .reveal--left  { transform: translateX(-40px); }
.motion .reveal--right { transform: translateX(40px); }
.motion .reveal--zoom  { transform: scale(.95); }
.motion .reveal.is-in  { opacity: 1; transform: none; }

/* The yellow step numerals land with a small bounce after their card arrives. */
.motion .step.reveal .step__n { transform: scale(.4); opacity: 0; transition: transform .55s var(--ease-pop), opacity .3s ease; transition-delay: calc(var(--d, 0) * 85ms + .25s); }
.motion .step.reveal.is-in .step__n { transform: none; opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance on load: copy rises in sequence, the visual pops in beside it. */
  .hero .breadcrumbs, .hero .eyebrow, .hero h1, .hero .lead, .hero .btn-row, .hero .chips {
    animation: ppp-rise .75s var(--ease-out) both;
  }
  .hero .eyebrow { animation-delay: .05s; }
  .hero h1       { animation-delay: .12s; }
  .hero .lead    { animation-delay: .2s; }
  .hero .btn-row { animation-delay: .28s; }
  .hero .chips   { animation-delay: .36s; }
  .hero__media, .hero__logo, .hero .area-map { animation: ppp-pop .9s var(--ease-pop) .2s both; }

  /* The mascot breathes. Slow and small: it should feel alive, not bounce. */
  .hero__logo img { animation: ppp-float 6s ease-in-out 1.2s infinite; }
  .hero__blob { animation: ppp-blob 10s ease-in-out infinite; }

  /* Service-area map: the core route fades up, then the dots ripple out from Greenwood. */
  .area-map__hull { animation: ppp-fade 1s ease .5s both; }
  .area-map circle {
    transform-box: fill-box; transform-origin: center;
    animation: ppp-dot .5s var(--ease-pop) both;
    animation-delay: calc(.75s + var(--i, 0) * 60ms);
  }
  .area-map__labels { animation: ppp-fade .8s ease 1.4s both; }

  /* FAQ answers ease open instead of snapping. */
  .faq details[open] .faq__a { animation: ppp-rise .35s var(--ease-out) both; }
}

/* Hover polish. Avada: Image "Hover Type: Zoom In", Column "Hover Type: Lift Up". */
.card__media img { transition: transform .6s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.06); }
.plan { transition: transform .22s ease, box-shadow .22s ease; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.review, .grid > .card--plain, .contact-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.review:hover, .grid > .card--plain:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.chipbar__item svg { transition: transform .3s var(--ease-pop); }
.chipbar__item:hover svg { transform: scale(1.15) rotate(-6deg); }
.split__media img { transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.split__media:hover img { transform: scale(1.015); box-shadow: var(--shadow-lg); }

@keyframes ppp-rise  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ppp-pop   { from { opacity: 0; transform: scale(.9) translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ppp-fade  { from { opacity: 0; } to { opacity: 1; } }
@keyframes ppp-dot   { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ppp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ppp-blob  { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08) translate(-6px, -4px); } }
