/* ============================================================
   STYLE.CSS — Design System, Layout, Shared Components
   Crystal Clean Exteriors · "warm & premium" app-frame language
   Themes are colour-only: <html data-theme="cleaning|christmas">
   is decided server-side (includes/season.php).
   ============================================================ */

/* ---- Custom Properties (shared) ---- */
:root {
  /* Titles: Barlow Condensed Bold, caps · UI (subtitles, buttons, nav):
     Montserrat SemiBold, caps, open tracking · Body: Montserrat Regular. */
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body:    'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --track-display: .01em;
  --track-ui:      .1em;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h4:   clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-h3:   clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --fs-h2:   clamp(2rem, 1.5rem + 2.2vw, 3.3rem);
  --fs-h1:   clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem);
  --fs-hero: clamp(3rem, 1.6rem + 6.2vw, 7.4rem);

  --radius-xs:   10px;
  --radius-sm:   16px;
  --radius:      24px;
  --radius-lg:   32px;
  --radius-pill: 999px;

  --gutter:    clamp(16px, 3.6vw, 40px);
  --container: 1240px;
  --frame-gap: clamp(8px, 1.2vw, 16px);

  --ease:     cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-rail:    40;
  --z-header:  50;
  --z-toggle:  60;
  --z-dialog:  100;
}

/* ---- Theme: Cleaning (blue & white) ---- */
:root,
[data-theme="cleaning"] {
  --bg:            #F7F6F2;
  --bg-2:          #EFEDE6;
  --surface:       #FFFFFF;
  --glass:         rgba(255, 255, 255, .62);
  --glass-strong:  rgba(255, 255, 255, .80);
  --glass-solid:   #F4F6F8;
  --ink:           #050A2F;
  --ink-muted:     #5B6478;
  --accent:        #51AEE5;
  --accent-deep:   #1F5F8B;
  --accent-text:   #1F5F8B;  /* accent used as text on light backgrounds (AA) */
  --accent-on-dark:#7CC4EE;  /* accent used on photos / dark cards (AA) */
  --accent-2:      #1F5F8B;
  --gold:          #51AEE5;
  --tint:          #E8F2F9;
  --dark-card:     #0B1638;
  --dark-card-2:   #13214A;
  --line:          rgba(5, 10, 47, .10);
  --line-strong:   rgba(5, 10, 47, .18);
  --hero-shade:    linear-gradient(100deg, rgba(5, 10, 47, .74) 0%, rgba(5, 10, 47, .46) 38%, rgba(5, 10, 47, .06) 70%);
  --hero-shade-b:  linear-gradient(0deg, rgba(5, 10, 47, .45) 0%, rgba(5, 10, 47, 0) 34%);
  --focus:         #1F5F8B;
  --shadow-soft:   0 14px 34px -16px rgba(5, 10, 47, .22), 0 2px 6px rgba(5, 10, 47, .05);
  --shadow-lift:   0 26px 56px -22px rgba(5, 10, 47, .34), 0 4px 10px rgba(5, 10, 47, .06);
}

/* ---- Theme: Christmas (cranberry & evergreen) ---- */
[data-theme="christmas"] {
  --bg:            #F6F1E9;
  --bg-2:          #EEE6DA;
  --surface:       #FFFDF8;
  --glass:         rgba(255, 253, 248, .60);
  --glass-strong:  rgba(255, 253, 248, .80);
  --glass-solid:   #F8F3EA;
  --ink:           #1B2420;
  --ink-muted:     #5E6660;
  --accent:        #A3202F;
  --accent-deep:   #7E1824;
  --accent-text:   #A3202F;
  --accent-on-dark:#E3C47F;
  --accent-2:      #1F4D36;
  --gold:          #C9A45C;
  --tint:          #F2E6DA;
  --dark-card:     #13291F;
  --dark-card-2:   #1B3A2C;
  --line:          rgba(27, 36, 32, .11);
  --line-strong:   rgba(27, 36, 32, .2);
  --hero-shade:    linear-gradient(100deg, rgba(10, 18, 14, .78) 0%, rgba(10, 18, 14, .5) 38%, rgba(10, 18, 14, .08) 70%);
  --hero-shade-b:  linear-gradient(0deg, rgba(10, 18, 14, .5) 0%, rgba(10, 18, 14, 0) 34%);
  --focus:         #A3202F;
  --shadow-soft:   0 14px 34px -16px rgba(27, 36, 32, .26), 0 2px 6px rgba(27, 36, 32, .05);
  --shadow-lift:   0 26px 56px -22px rgba(27, 36, 32, .38), 0 4px 10px rgba(27, 36, 32, .06);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
[hidden] { display: none !important; }

/* ---- Focus (visible, styled, never removed) ---- */
:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: #fff; }

/* ---- Typography ---- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: .98;
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.05; }
h4 { font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; letter-spacing: var(--track-ui); text-transform: uppercase; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
.accent { color: var(--accent-text); }
.on-dark .accent, .hero .accent { color: var(--accent-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1.5px;
  background: currentColor;
  opacity: .6;
}
.eyebrow--plain::before { display: none; }
.lead { font-size: var(--fs-lg); color: var(--ink-muted); line-height: 1.6; max-width: 62ch; }

/* ---- Layout ---- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }
.section--alt { background: var(--bg-2); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 820px; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--flush { margin: 0; }
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
}
@media (max-width: 720px) { .section-head--split { grid-template-columns: 1fr; align-items: start; } }
.section-head h2 { max-width: 18ch; }
.section-head--center h2 { max-width: 22ch; }
.section-head p { color: var(--ink-muted); max-width: 56ch; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: 16px; top: -100px;
  z-index: 1000;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 6px 8px 6px 26px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn__circle {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  flex: none;
  transition: transform .35s var(--ease);
}
.btn:hover .btn__circle { transform: translateX(3px); }
.btn--plain { padding: 0 26px; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light .btn__circle { background: var(--ink); color: #fff; }
.btn--accent { --btn-bg: var(--accent-deep); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface); }
.btn--sm { min-height: 44px; padding: 4px 6px 4px 18px; font-size: .75rem; }
.btn--sm .btn__circle { width: 34px; height: 34px; }
.btn--block { width: 100%; justify-content: space-between; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
/* Caps + tracking make long labels wide: let them wrap on phones instead of pushing the layout. */
@media (max-width: 560px) {
  .btn { white-space: normal; line-height: 1.35; text-align: left; letter-spacing: .07em; }
}

.link-play {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px;
  font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: var(--track-ui); text-transform: uppercase;
  text-decoration: none;
}
.link-play__circle {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid currentColor;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.link-play:hover .link-play__circle { transform: scale(1.06); background: #fff; color: var(--ink); border-color: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: var(--track-ui); text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  min-height: 44px;
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--glass-strong);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .6);
  transition: transform .3s var(--ease), background .25s;
}
.icon-btn:hover { transform: translateY(-2px); background: #fff; }
.icon-btn--dark { background: var(--ink); color: #fff; border-color: transparent; }

/* Pill filter / pagination buttons (gallery filters, blog categories, pager) */
.pill-btn {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-size: var(--fs-sm); font-weight: 600;
  text-decoration: none; background: transparent; color: inherit;
  transition: background .2s, color .2s, border-color .2s;
}
.pill-btn:hover { background: var(--surface); }
.pill-btn[aria-pressed="true"], .pill-btn[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============================================================
   GLASS
   ============================================================ */
.glass {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-soft);
}
.glass--strong { background: var(--glass-strong); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass--strong { background: var(--glass-solid); }
}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  position: relative;
  z-index: calc(var(--z-header) + 1);
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-xs);
  text-align: center;
  padding: 9px var(--gutter);
}
.announce a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.announce .icon { display: inline-block; vertical-align: -3px; margin-right: 6px; color: var(--accent-on-dark); }

/* ============================================================
   HEADER — pill navigation over the app frame
   ============================================================ */
.site-header {
  position: absolute;
  z-index: var(--z-header);
  top: calc(var(--frame-gap) + 14px);
  left: 0; right: 0;
  padding-inline: calc(var(--frame-gap) + clamp(12px, 2vw, 28px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.has-announce .site-header { top: calc(var(--frame-gap) + 14px + 36px); }
.site-header__logo {
  justify-self: start;
  display: inline-flex; align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .6);
}
.site-header__logo img { width: clamp(150px, 15vw, 196px); height: auto; }
/* Christmas badge logo is almost square: size it by height instead. */
[data-theme="christmas"] .site-header__logo { padding: 4px 14px; }
[data-theme="christmas"] .site-header__logo img { width: auto; height: 60px; }

.nav-pill {
  display: flex; align-items: center; gap: 2px;
  padding: 6px;
  border-radius: var(--radius-pill);
}
.nav-pill a {
  display: inline-flex; align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--track-ui);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.nav-pill a:hover { background: rgba(255, 255, 255, .75); }
.nav-pill a[aria-current="page"] { background: var(--ink); color: #fff; }

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: grid; place-items: center;
  min-width: 46px; height: 46px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, .6);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em;
  text-decoration: none;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.lang-switch:hover { background: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav-pill { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: grid; }
  .site-header__actions .btn { display: none; }
}
@media (max-width: 560px) {
  .site-header { gap: 8px; }
  .site-header__logo { padding: 8px 14px; }
  .site-header__logo img { width: 138px; }
  [data-theme="christmas"] .site-header__logo img { width: auto; height: 48px; }
}

/* ---- Mobile menu (dialog) ---- */
.menu-dialog {
  position: fixed; inset: 0;
  z-index: var(--z-dialog);
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; border: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
}
.menu-dialog::backdrop { background: rgba(0, 0, 0, .3); }
.menu-dialog__inner {
  min-height: 100%;
  display: flex; flex-direction: column;
  padding: 20px var(--gutter) 32px;
  gap: 28px;
}
.menu-dialog__top { display: flex; justify-content: space-between; align-items: center; }
.menu-dialog__top img { width: 150px; }
[data-theme="christmas"] .menu-dialog__top img { width: auto; height: 56px; }
.menu-dialog nav ul { display: grid; gap: 2px; }
.menu-dialog nav a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  font-weight: 700;
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.menu-dialog nav a[aria-current="page"] { color: var(--accent-text); }
.menu-dialog__sub { display: grid; gap: 6px; padding-left: 4px; }
.menu-dialog__sub a { font-family: var(--font-body) !important; font-size: var(--fs-xs) !important; font-weight: 600 !important; letter-spacing: var(--track-ui); text-transform: uppercase; padding: 10px 4px !important; color: var(--ink-muted); }
.menu-dialog__foot { margin-top: auto; display: grid; gap: 12px; }
.menu-dialog__foot .btn { justify-content: space-between; }
@media (prefers-reduced-motion: no-preference) {
  .menu-dialog[open] { animation: menu-in .4s var(--ease-out); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } }

/* ---- Search box (404 page) ---- */
.search-box { padding: 20px; display: grid; gap: 14px; }
.search-box__field { display: flex; align-items: center; gap: 12px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); }
.search-box__field input { flex: 1; border: 0; background: transparent; min-height: 54px; outline: none; font-size: var(--fs-base); }
.search-box__field:focus-within { outline: 2.5px solid var(--focus); outline-offset: 2px; }
.search-results { display: grid; gap: 4px; max-height: 50vh; overflow: auto; }
.search-results a { display: block; padding: 12px 14px; border-radius: var(--radius-xs); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--tint); }
.search-results small { display: block; color: var(--ink-muted); font-size: var(--fs-xs); }
.search-results__empty { color: var(--ink-muted); padding: 8px 14px; font-size: var(--fs-sm); }

/* ============================================================
   RAIL — floating vertical glass pill (desktop ≥1200px)
   ============================================================ */
.rail { display: none; }
@media (min-width: 1200px) {
  .rail {
    position: fixed;
    z-index: var(--z-rail);
    left: calc(var(--frame-gap) + 18px);
    top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .rail.is-hidden { opacity: 0; pointer-events: none; transform: translate(-12px, -50%); }
  .rail__pill { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: var(--radius-pill); }
  .rail__pill a {
    position: relative;
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%;
    color: var(--ink);
    transition: background .25s, color .25s;
  }
  .rail__pill a:hover { background: rgba(255, 255, 255, .85); }
  .rail__pill a.is-active { background: var(--ink); color: #fff; }
  .rail__pill a span {
    position: absolute; left: calc(100% + 12px); top: 50%;
    transform: translate(-6px, -50%);
    white-space: nowrap;
    padding: 6px 12px; border-radius: var(--radius-pill);
    background: var(--ink); color: #fff;
    font-size: .75rem; font-weight: 600; letter-spacing: var(--track-ui); text-transform: uppercase;
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s var(--ease);
  }
  .rail__pill a:hover span, .rail__pill a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
  .rail__thumb {
    width: 52px; height: 52px; border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: var(--shadow-soft);
  }
  .rail__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .rail__video {
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--ink); color: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform .3s var(--ease);
  }
  .rail__video:hover { transform: scale(1.07); }
}

/* ============================================================
   ADMIN PREVIEW BAR (only in the admin's own browser)
   ============================================================ */
.admin-preview-bar {
  position: fixed;
  z-index: var(--z-toggle);
  left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink); color: #fff;
  font-size: var(--fs-xs); font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
}
.admin-preview-bar a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
  border-radius: var(--radius-pill); background: #fff; color: var(--ink); text-decoration: none;
}

/* ============================================================
   PAGE HERO — compact app frame for inner pages
   ============================================================ */
.page-hero { padding: var(--frame-gap); }
.page-hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: clamp(420px, 58vh, 620px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--dark-card);
  isolation: isolate;
}
.page-hero__frame--plain { background: var(--bg-2); color: var(--ink); min-height: clamp(360px, 46vh, 480px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__frame::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--hero-shade), var(--hero-shade-b);
}
.page-hero__frame--plain::after { display: none; }
.page-hero__content {
  width: 100%;
  padding: clamp(120px, 14vw, 170px) clamp(20px, 5vw, 72px) clamp(36px, 5vw, 64px);
  display: grid; gap: 18px;
}
@media (min-width: 1200px) { .page-hero__content { padding-left: 120px; } }
.page-hero h1 { max-width: 16ch; }
.page-hero .eyebrow { color: rgba(255, 255, 255, .86); }
.page-hero__frame--plain .eyebrow { color: var(--ink-muted); }
.page-hero__lead { max-width: 58ch; font-size: var(--fs-lg); color: rgba(255, 255, 255, .9); }
.page-hero__frame--plain .page-hero__lead { color: var(--ink-muted); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 6px; }

/* ---- Breadcrumbs ---- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: var(--fs-xs); font-weight: 500; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: '/'; opacity: .55; }
.breadcrumbs a { text-decoration: none; opacity: .86; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }
.breadcrumbs [aria-current] { opacity: .7; }

/* ============================================================
   CARDS (shared)
   ============================================================ */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.answer-box {
  display: grid; gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--surface);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-soft);
}
.answer-box__label { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.answer-box p { font-size: var(--fs-lg); line-height: 1.6; }

/* ---- Post card (blog index, home, related) ---- */
.post-grid { display: grid; gap: clamp(18px, 2vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-grid--spaced { margin-top: 40px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; height: 100%; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: grid; gap: 10px; padding: 22px 24px 26px; align-content: start; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-xs); color: var(--ink-muted); font-weight: 500; }
.post-card__cat { color: var(--accent-text); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.post-card h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); }
.post-card p { color: var(--ink-muted); font-size: var(--fs-sm); }
.post-card .link-arrow { margin-top: auto; }

/* ---- Review card ---- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
[data-theme="cleaning"] .stars { color: #E2A93B; }
.stars .icon { fill: currentColor; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--tint); color: var(--ink);
  font-size: 0.75rem; font-weight: 600; letter-spacing: .02em;
}
.chip--warn { background: #FFF1D6; color: #6A4A00; }

/* ============================================================
   FAQ — accessible accordion (<details>/<summary>)
   ============================================================ */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 24px;
  min-height: 64px;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-base);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; transition: transform .35s var(--ease); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item__answer { padding: 0 24px 22px; color: var(--ink-muted); max-width: 72ch; }
.faq-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.faq-layout .section-head { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark-card);
  color: #fff;
  padding: clamp(40px, 6vw, 88px);
  display: grid; gap: 28px;
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  isolation: isolate;
}
.cta-band::before {
  content: ''; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -140px; top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent), transparent 65%);
  opacity: .55;
}
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 52ch; margin-top: 14px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* Quote teaser (embeddable compact quoter block) */
.quote-teaser {
  display: grid; gap: 22px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--radius);
}
.quote-teaser__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--accent-text); }
.quote-teaser h2 { font-size: var(--fs-h3); }
.quote-teaser p { color: var(--ink-muted); font-size: var(--fs-sm); }
@media (max-width: 720px) { .quote-teaser { grid-template-columns: 1fr; } }

/* ============================================================
   FORMS (shared: contact, quoter, admin)
   ============================================================ */
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: var(--fs-sm); }
.field__hint { font-size: var(--fs-xs); color: var(--ink-muted); }
.field__error { font-size: var(--fs-xs); color: #B3261E; font-weight: 600; }
.field__error:empty { display: none; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xs);
  background: var(--surface);
  font-size: var(--fs-base);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #B3261E; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-status { padding: 14px 18px; border-radius: var(--radius-xs); font-weight: 600; font-size: var(--fs-sm); }
.form-status:empty { display: none; }
.form-status--ok { background: #E3F4E8; color: #1D5B33; }
.form-status--err { background: #FCE8E6; color: #8C1D18; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: var(--frame-gap); }
.footer__frame {
  border-radius: var(--radius-lg);
  background: var(--dark-card);
  color: rgba(255, 255, 255, .86);
  padding: clamp(48px, 6vw, 88px) clamp(20px, 5vw, 72px) 28px;
  display: grid; gap: 48px;
}
.footer__top { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); }
.footer__brand img { width: 210px; }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: var(--fs-sm); }
.footer h2 { font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 4px; font-size: var(--fs-sm); }
.footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer address { font-style: normal; display: grid; gap: 4px; font-size: var(--fs-sm); }
.footer address > span { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.footer__social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .7);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer__credit a { color: #fff; font-weight: 600; }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   DIALOG (video, lightbox)
   ============================================================ */
.modal {
  border: 0; padding: 0;
  margin: auto;
  width: min(100% - 32px, 1100px);
  max-height: calc(100vh - 32px);
  background: transparent;
  color: #fff;
  overflow: visible;
}
.modal::backdrop { background: rgba(4, 8, 20, .82); }
.modal__close { position: absolute; top: -56px; right: 0; background: rgba(255, 255, 255, .14); color: #fff; border-color: transparent; }
.modal__media { border-radius: var(--radius); overflow: hidden; background: #000; }
.modal__media img, .modal__media video { width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.modal__embed { aspect-ratio: 16 / 9; width: min(100%, calc((100vh - 160px) * 16 / 9)); margin-inline: auto; }
.modal__embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.modal__caption { margin-top: 12px; font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); text-align: center; }
.modal__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.modal__nav--prev { left: 12px; } .modal__nav--next { right: 12px; }
.modal__soon { padding: clamp(28px, 5vw, 56px); text-align: center; display: grid; gap: 16px; justify-items: center; }
.modal__soon p { max-width: 46ch; color: rgba(255, 255, 255, .85); }

/* ============================================================
   REVEAL ON SCROLL (only when JS + motion allowed)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal[data-delay="1"] { transition-delay: .08s; }
  .js .reveal[data-delay="2"] { transition-delay: .16s; }
  .js .reveal[data-delay="3"] { transition-delay: .24s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
}

/* ---- Prose (blog body, legal pages) ---- */
.prose { font-size: 1.125rem; line-height: 1.75; max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); margin-top: 2em; line-height: 1.12; }
.prose h3 { font-size: clamp(1.3rem, 1.2rem + .5vw, 1.55rem); margin-top: 1.6em; }
.prose h4 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent-text); }
.prose a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 22px; font-size: var(--fs-lg); font-style: italic; }
.prose img { border-radius: var(--radius-sm); }
.prose figure figcaption { font-size: var(--fs-sm); color: var(--ink-muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
