/* =========================================================================
   Andria's Pet Care LLC — Ahwatukee Foothills, Phoenix AZ
   Palette sampled from the client's real logo: teal #24B3AF, orange #F8902D,
   leaf green #9DC250. Raw logo hues fail WCAG AA as text, so text/CTA
   variants are darkened until they pass — measured values in comments.
   OrangeSky sales layer keeps OrangeSky's own fixed brand colors.
   No inline styles anywhere. Mobile-first.
   ========================================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Client brand — contrast measured against --color-bg */
  --color-bg:            #FBFAF8;   /* warm near-white                          */
  --color-surface:       #EEF7F6;   /* teal tint                                */
  --color-border:        #D6E5E3;
  --color-anchor:        #0D403F;   /* deep teal — dark sections + footer       */
  --color-text:          #22312F;   /* 13.0:1                                   */
  --color-text-muted:    #5A6B69;   /*  5.4:1                                   */
  --color-primary:       #1A807D;   /*  4.55:1 · white-on-it 4.74 — owns CTAs   */
  --color-primary-hover: #13605E;   /*  7.03:1                                  */
  --color-accent:        #F8902D;   /* raw logo orange — 4.95:1 on --color-anchor */
  --color-accent-text:   #B45B06;   /*  4.53:1 — orange as TEXT on light only   */
  --color-green:         #627C2B;   /*  4.54:1                                  */
  --color-logo-teal:     #24B3AF;   /*  2.4:1  — DECORATION ONLY, never text    */
  --color-logo-green:    #9DC250;   /*  DECORATION ONLY                         */
  --color-star:          #F8902D;
  --color-success:       #2E7D4F;
  --color-warning:       #B26A00;
  --color-danger:        #A22C2C;

  /* OrangeSky agency brand — fixed, never recolored */
  --os-orange: #F7941D;
  --os-blue:   #0072BC;
  --os-green:  #0DB14B;
  --os-ink:    #231F20;
  --os-white:  #FFFFFF;

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

  --radius:    12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow:    0 2px 8px rgba(13,64,63,.06), 0 12px 32px rgba(13,64,63,.08);
  --shadow-lg: 0 8px 24px rgba(13,64,63,.10), 0 24px 64px rgba(13,64,63,.14);
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --bar-h: 46px;
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Bar (46px + 3px orange rule) + sticky header (140px) — offset anchors so headings
   never hide behind the permanent OrangeSky bar. */
html { scroll-behavior: smooth; scroll-padding-top: 190px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
p { margin: 0 0 var(--space-4); max-width: 70ch; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 var(--space-4); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(1rem, 5vw, 4rem); }
.section { padding-block: 64px; }
.section--tint   { background: var(--color-surface); }
.section--anchor { background: var(--color-anchor); color: #DAE9E8; }
.section--anchor h2, .section--anchor h3 { color: #FFF; }
.section--anchor p { color: #C1D5D3; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section--anchor .eyebrow, .hero .eyebrow, .quote .eyebrow { color: var(--color-accent); } /* 4.95:1 on anchor */
.lede { font-size: 1.075rem; color: var(--color-text-muted); }
.section--anchor .lede { color: #B4C9C7; }
.accent { color: var(--color-primary); }
.section--anchor .accent, .hero .accent, .quote .accent { color: var(--color-accent); }

/* Alignment matches placement — a centered block has centered contents. */
.center { text-align: center; }
.center p { margin-inline: auto; }

/* ---------- 2b. INLINE LINKS — AA on every background, never color alone ---------- */
a { color: var(--color-primary); }
main p a, .faq p a, .lede a {
  color: var(--color-primary);              /* 4.55:1 on bg, 4.4+ on tint */
  text-decoration: underline;
  text-underline-offset: 2px;
}
main p a:hover { color: var(--color-primary-hover); }

/* On dark: invert to white + underline; hover to logo orange (4.95:1 on anchor) */
.section--anchor p a, .section--anchor .lede a,
.quote p a, .quote .lede a,
.hero p a, .footer p a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section--anchor p a:hover, .quote p a:hover, .hero p a:hover, .footer p a:hover { color: var(--color-accent); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-primary); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }
.section--anchor :focus-visible, .quote :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--color-accent); }

/* ---------- 3. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px;
  font: inherit; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn--primary { background: var(--color-primary); color: #fff; }        /* 4.74:1 */
.btn--primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.btn--accent { background: var(--color-accent-text); color: #fff; }     /* 4.73:1 */
.btn--accent:hover { background: #944A05; }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--phone { border-radius: var(--radius-pill); }
.btn--lg { min-height: 56px; padding: 16px 34px; font-size: 1rem; }
.btn--onDark { background: #fff; color: var(--color-anchor); }
.btn--onDark:hover { background: var(--color-surface); }
.btn--outlineLight { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outlineLight:hover { border-color: #fff; background: rgba(255,255,255,.16); }

/* ---------- 4. ORANGESKY SALES LAYER (fixed agency brand) ----------
   HARD RULE: the bar is permanent — never dismissible, no ✕, no hide flag.
   HARD RULE: it must stay visually separated from ANY client header
   (dark utility bars are common), hence the orange rule + shadow. */
.os-bar {
  position: sticky; top: 0; z-index: 9999;
  background: var(--os-ink);                    /* #231F20 — never orange */
  color: var(--os-white);
  border-bottom: 3px solid var(--os-orange);    /* the separator — always present */
  box-shadow: 0 2px 12px rgba(0,0,0,.35);       /* lifts it off a dark header */
}
.os-bar__inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 1200px; margin: 0 auto; min-height: var(--bar-h);
  padding: 6px clamp(1rem, 5vw, 4rem);
}
.os-bar__icon { width: 28px; height: 28px; flex: none; }
.os-bar__text { margin: 0; font-size: .9rem; font-weight: 500; flex: 1; max-width: none; }
.os-bar__short { display: none; }
.os-btn {
  display: inline-flex; align-items: center; min-height: 36px; padding: 8px 18px;
  background: var(--os-orange); color: var(--os-ink);   /* 7.15:1 */
  font-weight: 700; font-size: .85rem; text-decoration: none;
  border-radius: var(--radius-pill); white-space: nowrap;
  transition: transform .2s var(--ease), filter .2s var(--ease);
}
.os-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.os-btn--lg { min-height: 52px; padding: 15px 32px; font-size: 1rem; justify-content: center; }
/* The bar has no dismiss control by design — see mockup-rules.md, defect 27. */

.os-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.os-modal[hidden] { display: none; }
.os-modal__overlay { position: absolute; inset: 0; background: rgba(35,31,32,.72); }
.os-modal__card {
  position: relative; z-index: 1;
  width: min(480px, 100%); background: #fff; color: var(--os-ink);
  border-radius: 16px; padding: 40px 32px 32px; text-align: center;
  box-shadow: var(--shadow-lg); animation: osIn .28s var(--ease);
}
@keyframes osIn { from { opacity: 0; transform: translateY(12px); } }
.os-modal__logo { width: 220px; height: auto; margin: 0 auto var(--space-5); }
.os-modal__title { font-family: var(--font-body); font-size: 1.6rem; font-weight: 700; margin-bottom: var(--space-3); }
.os-modal__copy { font-size: .95rem; color: #4A4446; margin-inline: auto; margin-bottom: var(--space-5); }
.os-modal__fine { font-size: .78rem; color: #8A8386; margin: var(--space-4) auto 0; }
.os-modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; background: none; border: 0; font-size: 1.05rem; color: #8A8386; cursor: pointer; border-radius: 50%; }
.os-modal__close:hover { color: var(--os-ink); background: #F3F3F3; }

/* ---------- 5. UTILITY BAR ---------- */
.utility { background: var(--color-anchor); color: #C1D5D3; font-size: .82rem; }
.utility__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 4px; }
.utility__left { margin: 0; max-width: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.utility__phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; text-decoration: none; }
.utility__phone:hover { color: var(--color-accent); }
.utility__sep { color: #486C6B; }
.utility__badge { color: #A7C0BE; }
.utility .social__link { width: 34px; height: 34px; }

/* ---------- 6. SOCIAL ICONS ---------- */
.social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.10); color: #fff;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.social__link:hover { background: var(--color-primary); transform: translateY(-2px); }

/* ---------- 7. HEADER / NAV ---------- */
/* Sits directly under the permanent bar (bar height + its 3px orange rule). */
.header { position: sticky; top: calc(var(--bar-h) + 3px); z-index: 80; background: rgba(251,250,248,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--color-border); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: 140px; }

/* Her logo is a dense badge — illustration + two lines of type inside one square.
   The source file also carried 43% transparent padding, which has been cropped out.
   It needs real height to stay legible; height drives it, width follows the aspect. */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--color-text); flex: none; }
.brand__mark { height: 120px; width: auto; object-fit: contain; }
@media (max-width: 1023px) { .brand__mark { height: 84px; } }
@media (max-width: 600px)  { .brand__mark { height: 68px; } }

/* HARD RULE — nav renders on ONE line at every desktop width. Never wraps. */
.nav { display: none; align-items: center; flex-wrap: nowrap; gap: clamp(14px, 1.6vw, 28px); margin-inline: auto; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--color-text); font-weight: 600; font-size: .92rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.header__cta { display: none; align-items: center; gap: 10px; flex: none; }
.header .btn { white-space: nowrap; min-height: 44px; padding: 11px 20px; font-size: .88rem; }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; width: 24px; background: var(--color-text); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 95; background: var(--color-bg); padding: 96px 24px 24px; overflow-y: auto; }
.drawer[hidden] { display: none; }
.drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.drawer__nav a { padding: 16px 0; font-size: 1.1rem; font-weight: 600; color: var(--color-text); text-decoration: none; border-bottom: 1px solid var(--color-border); }
.drawer__nav .btn { margin-top: 16px; border-bottom: 0; }

@media (min-width: 1024px) {
  .nav, .header__cta { display: flex; }
  .burger { display: none; }
  .drawer { display: none !important; }
}
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav { gap: 14px; }
  .nav a { font-size: .86rem; }
  .header .btn { padding: 10px 14px; font-size: .82rem; }
}

/* ---------- 8. HERO — video background. A logo is NEVER a hero image. ---------- */
.hero { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; background: var(--color-anchor); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(13,64,63,.92) 0%, rgba(13,64,63,.76) 46%, rgba(13,64,63,.36) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 88px; }
.hero__copy { max-width: 660px; }
.hero__title { color: #fff; margin-bottom: var(--space-4); }
.hero__sub { font-size: 1.12rem; color: #D4E4E2; margin-bottom: var(--space-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--space-6); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hero__trust li {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.30);
  border-radius: var(--radius-pill); padding: 8px 16px;
  font-size: .82rem; font-weight: 600; color: #fff;
}
.hero__trust svg { color: var(--color-accent); flex: none; }
@media (max-width: 700px) { .hero { min-height: 540px; } .hero__inner { padding-block: 64px; } }

/* ---------- 9. TRUST STRIP — 3 items, 3 columns ---------- */
.trust { background: var(--color-surface); }
.trust__grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; padding-block: 40px; }
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item svg { color: var(--color-primary); flex: none; }
.trust__item strong { display: block; font-size: .98rem; }
.trust__item span { font-size: .84rem; color: var(--color-text-muted); }
@media (min-width: 760px) { .trust__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 10. GRIDS — even and symmetrical, complete rows only ----------
   Column count divides the item count. Never auto-fit into an orphan. */
.grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }   /* 4 -> 2 x 2 */
  .grid--3 { grid-template-columns: repeat(3, 1fr); }   /* 3 -> 3 x 1, never 2+orphan */
}
@media (min-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }   /* 4 -> 4 x 1 */
}

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: var(--space-6); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--color-surface); color: var(--color-primary); margin-bottom: var(--space-4); }
.card p { font-size: .93rem; color: var(--color-text-muted); }
.card__price { display: block; font-family: var(--font-display); font-weight: 700; color: var(--color-primary); font-size: 1.05rem; margin-bottom: var(--space-3); }
.card__price small { font-weight: 500; font-size: .78rem; color: var(--color-text-muted); display: block; }
.card__link { margin-top: auto; font-weight: 700; font-size: .88rem; color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.card__link:hover { color: var(--color-primary-hover); }

/* ---------- 11. APPROACH (3 steps) ---------- */
.steps { display: grid; gap: var(--space-6); margin-top: var(--space-7); grid-template-columns: 1fr; }
.step { display: flex; gap: var(--space-5); align-items: flex-start; }
.step__num { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--color-accent); color: var(--color-anchor); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.step h3 { margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } .step { flex-direction: column; } }
.approach__cta { margin-top: var(--space-8); }

/* ---------- 12. FEATURES ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature svg { flex: none; color: var(--color-primary); margin-top: 3px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.feature p { font-size: .92rem; color: var(--color-text-muted); margin-bottom: 0; }

/* ---------- 13. MEDIA SPLIT (real photography) ---------- */
.split { display: grid; gap: var(--space-7); align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin: 0; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .split { grid-template-columns: .9fr 1.1fr; } }
.split--flip .split__media { order: 2; }

.checklist { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; font-weight: 500; }
.checklist svg { color: var(--color-green); flex: none; margin-top: 4px; }
.section--anchor .checklist svg { color: var(--color-accent); }

/* ---------- 14. PHOTO GALLERY — 4 across, complete rows ---------- */
.gallery { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- 15. REVIEWS ---------- */
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: var(--space-5); }
.divider::before, .divider::after { content: ""; height: 1px; width: 60px; background: var(--color-border); }
.divider span { width: 8px; height: 8px; background: var(--color-accent); transform: rotate(45deg); }

.rating-pill {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-pill);
  padding: 10px 22px; box-shadow: var(--shadow); margin-bottom: var(--space-7);
}
.rating-pill strong { font-size: 1.05rem; }
.rating-pill small { color: var(--color-text-muted); font-size: .82rem; }
.stars { display: inline-flex; gap: 2px; color: var(--color-star); }

.review {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius);
  padding: var(--space-6); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: var(--space-4); text-align: left;
}
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 700; font-size: 1.05rem; }
.review__name { font-weight: 700; font-size: .95rem; display: block; }
.review__meta { font-size: .78rem; color: var(--color-text-muted); }
.review__quote { font-size: .93rem; color: #3B4A48; margin: 0; }
.review__tag { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; color: var(--color-text-muted); margin-top: auto; }
.review__tag svg { color: #1877F2; flex: none; }

/* Approved placeholder cards. They must look INTENTIONAL — same white card,
   same padding, same shadow. Never dashed, never greyed "review coming soon". */
.review--invite { justify-content: flex-start; }
.review--invite .review__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-surface); color: var(--color-primary); flex: none;
}
.review--invite p { font-size: .93rem; color: #3B4A48; margin: 0; }
.review--invite .card__link { margin-top: auto; }

/* ---------- 16. QUOTE / FORM ---------- */
.quote { background: var(--color-anchor); }
.quote__inner { display: grid; gap: var(--space-7); align-items: start; }
.quote h2 { color: #fff; }
.quote .lede { color: #B4C9C7; }
.form-card { background: #fff; border-radius: var(--radius); padding: var(--space-6); box-shadow: var(--shadow-lg); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--color-text); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: .95rem; color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgba(26,128,125,.20); }
.field--hp { position: absolute; left: -9999px; }
.form-card .btn { width: 100%; }
.form-note { font-size: .78rem; color: var(--color-text-muted); text-align: center; margin: var(--space-4) 0 0; }
.form-success { background: #EAF5EE; border: 1px solid #B7DCC5; color: #1F5C3A; border-radius: var(--radius-sm); padding: var(--space-5); margin-bottom: var(--space-5); }
.form-success h3 { color: #1F5C3A; margin-bottom: 6px; }
.form-success p { margin: 0; font-size: .92rem; }
@media (min-width: 900px) { .quote__inner { grid-template-columns: 1fr 1fr; } }

/* ---------- 17. FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; text-align: left; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; min-height: 44px; font-weight: 600; font-size: .98rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 22px 20px; margin: 0; font-size: .93rem; color: var(--color-text-muted); }

/* ---------- 18. SERVICE AREAS — chips centered under a centered heading ---------- */
.areas__list {
  list-style: none; padding: 0; margin: var(--space-5) 0 0;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;                 /* alignment matches placement */
}
.areas__list li { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: 9px 18px; font-size: .88rem; font-weight: 600; }

/* ---------- 19. FOOTER ---------- */
.footer { background: var(--color-anchor); color: #A7C0BE; padding-top: var(--space-8); font-size: .9rem; }
.footer__grid { display: grid; gap: var(--space-7); grid-template-columns: 1fr; padding-bottom: var(--space-7); }
.footer .brand { margin-bottom: var(--space-4); }
.footer .brand__mark { height: 170px; width: auto; }
.footer__mission { font-size: .9rem; color: #A7C0BE; margin-bottom: var(--space-5); }
.footer__head { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a { color: #C1D5D3; text-decoration: none; }
.footer__list a:hover { color: var(--color-accent); text-decoration: underline; }
.footer__phone { font-weight: 700; color: #fff; font-size: 1.05rem; text-decoration: none; }
.footer__phone:hover { color: var(--color-accent); }
.footer__note { font-size: .8rem; color: #7C9997; margin-top: var(--space-4); }

/* HARD RULE — text alignment matches block placement; never inherited. */
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: initial;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-block: var(--space-5);
}
.footer__bottom > *:first-child { text-align: left; }
.footer__bottom > *:last-child  { text-align: right; }
.footer__sig { margin: 0; font-size: .82rem; color: #8DA8A6; max-width: none; }
.footer__sig a { color: var(--os-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal { margin: 0; font-size: .82rem; max-width: none; }
.footer__legal a { color: #8DA8A6; text-decoration: underline; text-underline-offset: 2px; }
.footer__legal span { margin-inline: 8px; color: #486C6B; }

@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
@media (max-width: 768px) {
  .footer__bottom { flex-direction: column; align-items: center; }
  .footer__bottom > * { text-align: center; }
}

/* ---------- 20. FLOATING CALL + A11Y TOOLBAR ---------- */
.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--color-primary); color: #fff; box-shadow: var(--shadow-lg);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.float-call:hover { transform: scale(1.06); background: var(--color-primary-hover); }

.a11y { position: fixed; left: 18px; bottom: 18px; z-index: 70; }
.a11y__toggle { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--color-anchor); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow); }
.a11y__panel { position: absolute; bottom: 60px; left: 0; width: 216px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px; }
.a11y__panel[hidden] { display: none; }
.a11y__title { font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin: 4px 0 10px 6px; }
.a11y__panel button { display: block; width: 100%; text-align: left; min-height: 40px; padding: 9px 12px; background: none; border: 0; border-radius: var(--radius-sm); font: inherit; font-size: .86rem; color: var(--color-text); cursor: pointer; }
.a11y__panel button:hover { background: var(--color-surface); }
.a11y__reset { margin-top: 6px; border-top: 1px solid var(--color-border) !important; border-radius: 0; color: var(--color-primary) !important; font-weight: 700; }

.a11y-grayscale { filter: grayscale(1); }
.a11y-negative  { filter: invert(1) hue-rotate(180deg); }
.a11y-contrast  { filter: contrast(1.35); }
.a11y-lightbg body, .a11y-lightbg .section--tint, .a11y-lightbg .card { background: #fff !important; }
.a11y-underline a { text-decoration: underline !important; }
.a11y-readable, .a11y-readable body { font-family: Verdana, Geneva, sans-serif !important; }
.a11y-readable h1, .a11y-readable h2, .a11y-readable h3, .a11y-readable h4 { font-family: Verdana, Geneva, sans-serif !important; }

/* ---------- 21. MOTION ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__video { display: none; }   /* the <video> poster attribute still paints */
}

/* ---------- 22. RESPONSIVE TWEAKS ---------- */
@media (max-width: 600px) {
  .os-bar__full { display: none; }
  .os-bar__short { display: inline; }
  .os-bar__text { font-size: .82rem; }
  .os-btn { padding: 8px 14px; font-size: .78rem; }
  .utility__hours, .utility__badge, .utility__sep { display: none; }
  .utility .social { margin-left: auto; }
  .section { padding-block: 56px; }
}
@media (min-width: 768px) { .section { padding-block: 96px; } }
