/* ==========================================================================
   Harbor: website template for local service businesses
   K&A Digital Studio · https://knadigitalstudio.com

   HOW TO CUSTOMIZE
   1. Brand color: change --brand below. Everything else follows it.
   2. Style: set data-style="clean" | "bold" | "warm" on <html>.
   3. Light/dark: follows the visitor's device. To lock it, set
      data-mode="light" or data-mode="dark" on <html> and remove the toggle.
   ========================================================================== */

/* --- Design tokens: Clean, light (default) ------------------------------- */
:root {
  --brand: #0f5ea8;                 /* your main color: buttons, links, accents */
  --alert: #c2410c;                 /* emergency banner */

  --bg: #ffffff;
  --bg-soft: #f4f6f9;               /* alternate section background */
  --surface: #ffffff;               /* cards */
  --text: #111827;
  --text-soft: #4b5563;
  --border: #e3e7ee;
  --brand-ink: #ffffff;             /* text on brand-colored buttons */
  --brand-text: var(--brand);       /* brand color used as text (links) */
  --brand-tint: color-mix(in srgb, var(--brand) 9%, var(--bg));
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.06), 0 8px 24px rgba(17, 24, 39, 0.07);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font);
  --head-weight: 800;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-btn: 10px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

/* --- Dark mode: device setting, unless the site is locked to light -------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) {
    --bg: #0e1520;
    --bg-soft: #131c29;
    --surface: #172231;
    --text: #eef2f7;
    --text-soft: #a7b3c2;
    --border: #253245;
    --brand-text: color-mix(in srgb, var(--brand) 55%, #ffffff);
    --brand-tint: color-mix(in srgb, var(--brand) 18%, var(--bg));
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
/* ...or the visitor's choice from the toggle */
:root[data-mode="dark"] {
  --bg: #0e1520;
  --bg-soft: #131c29;
  --surface: #172231;
  --text: #eef2f7;
  --text-soft: #a7b3c2;
  --border: #253245;
  --brand-text: color-mix(in srgb, var(--brand) 55%, #ffffff);
  --brand-tint: color-mix(in srgb, var(--brand) 18%, var(--bg));
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

/* --- Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-text); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 12px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius-btn); border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease, background 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn, .logo, .nav a, .header-phone { white-space: nowrap; }
.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Emergency banner ------------------------------------------------------ */
.alert-bar { background: var(--alert); color: #fff; font-size: 0.95rem; }
.alert-bar .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; padding-block: 9px; text-align: center; }
.alert-bar a { color: #fff; font-weight: 800; }

/* --- Header ---------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); }
.logo-mark .icon { width: 22px; height: 22px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text-soft); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.2; text-decoration: none; color: var(--text); margin-right: 6px; }
.header-phone small { color: var(--text-soft); font-size: 0.78rem; font-weight: 600; }
.header-phone strong { font-size: 1.05rem; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand-text); }
.icon-btn .icon { width: 20px; height: 20px; }
.menu-btn { display: none; }

/* light/dark toggle: shows the moon in light mode and the sun in dark mode */
.mode-toggle .sun { display: none; }
:root[data-mode="dark"] .mode-toggle .sun { display: block; }
:root[data-mode="dark"] .mode-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-mode]) .mode-toggle .sun { display: block; }
  :root:not([data-mode]) .mode-toggle .moon { display: none; }
}

/* --- Hero ------------------------------------------------------------------ */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--brand-tint), var(--bg) 85%); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 34rem; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-soft); font-weight: 600; font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--brand-text); }
.hero-media { position: relative; }
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .photo { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.hero-media .photo img { object-position: 75% 40%; }   /* keep the face in frame when cropped */
.hero-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 20px; color: var(--text-soft); text-decoration: none; font-size: 0.95rem; }
.hero-rating strong { color: var(--text); font-size: 1.05rem; }
.hero-rating:hover strong { text-decoration: underline; }
.stars { display: flex; gap: 2px; color: #f5a524; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* --- Trust bar ------------------------------------------------------------- */
.trust { border-block: 1px solid var(--border); background: var(--surface); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.trust li div span { display: block; font-weight: 500; color: var(--text-soft); font-size: 0.9rem; }
.trust .icon-tile { width: 44px; height: 44px; }

.icon-tile { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-text); }
.icon-tile .icon { width: 26px; height: 26px; }

/* --- Services -------------------------------------------------------------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { margin: 8px 0 0; }
.card p { color: var(--text-soft); margin: 0; }
.card .price { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--text); }
.card .price small { color: var(--text-soft); font-weight: 500; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.card-link .icon { width: 18px; height: 18px; transition: transform 0.15s ease; }
.card-link:hover .icon { transform: translateX(3px); }

/* --- Why us ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.reasons { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.reasons li { display: flex; gap: 16px; }
.reasons h3 { margin-bottom: 4px; }
.reasons p { color: var(--text-soft); margin: 0; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.stat strong { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--brand-text); }
.stat span { color: var(--text-soft); font-size: 0.88rem; }

/* --- Service area ---------------------------------------------------------- */
.area { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.towns { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.towns li a:hover { border-color: var(--brand-text); }
.map { aspect-ratio: 16 / 11; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--border); }
.map svg, .map iframe { width: 100%; height: 100%; display: block; border: 0; }

/* --- Reviews --------------------------------------------------------------- */
.review { gap: 14px; margin: 0; }
.review blockquote { margin: 0; font-size: 1.04rem; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; color: var(--text-soft); font-size: 0.92rem; }
.review figcaption strong { display: block; color: var(--text); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-text); font-weight: 800; }
.reviews-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 32px; color: var(--text-soft); }

/* --- FAQ ------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--brand-text); transition: transform 0.2s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--text-soft); }

/* --- Final call to action ------------------------------------------------- */
.cta { background: var(--brand); color: var(--brand-ink); border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0; opacity: 0.92; }
.cta .btn--light { background: #fff; color: #111827; }
.cta .btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--border); background: var(--bg-soft); color: var(--text-soft); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.site-footer h2 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-soft); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--brand-text); margin-top: 3px; }
.footer-base { border-top: 1px solid var(--border); padding-block: 18px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.88rem; }

/* --- Sticky call bar (phones) --------------------------------------------- */
.call-bar { display: none; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1240px) {
  .header-phone { display: none; }
}
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .header-actions { margin-left: auto; }
  .nav.is-open {
    display: grid; position: absolute; left: 0; right: 0; top: 100%; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px var(--gutter) 16px;
  }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero .container, .split, .area, .cta { grid-template-columns: 1fr; }
  .hero-media .photo, .split .photo { aspect-ratio: 16 / 9; max-height: 420px; }
  .split .photo { order: 2; }
  .hero .lead { max-width: none; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }    /* room for the call bar */
  .site-header .container { gap: 12px; }
  .header-actions { gap: 8px; }
  .logo { font-size: 1.02rem; gap: 8px; }
  .logo-mark { width: 34px; height: 34px; }
  .header-actions .btn { display: none; }
  .trust ul { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.08);
  }
  .call-bar .btn { min-height: 50px; }
}
@media (max-width: 380px) {
  /* very small phones: let a long business name wrap instead of pushing the buttons off screen */
  .site-header .logo { white-space: normal; line-height: 1.15; min-width: 0; }
  .icon-btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Photos sit slightly dimmer in dark mode so they don't glare */
:root[data-mode="dark"] .photo img { filter: brightness(0.88); }
@media (prefers-color-scheme: dark) {
  :root:not([data-mode="light"]) .photo img { filter: brightness(0.88); }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--brand-tint), var(--bg)); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch; }
.page-hero .lead { max-width: 40rem; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: 0.9rem; color: var(--text-soft); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--text-soft); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* Two columns: content + sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.aside-stack { display: grid; gap: 20px; position: sticky; top: 96px; }
.with-aside > *, .split > *, .area > * { min-width: 0; }   /* let long content shrink instead of widening the page */
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 40px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose p, .prose li { color: var(--text-soft); }
.prose strong { color: var(--text); }

.checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; color: var(--text-soft); }
.checklist .icon { color: var(--brand-text); margin-top: 2px; }
.checklist--cols { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* Price guide */
.price-list { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.price-list th, .price-list td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.price-list tr:last-child td { border-bottom: 0; }
.price-list th { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-soft); background: var(--bg-soft); }
.price-list td:last-child { font-weight: 700; text-align: right; }
.price-list td { overflow-wrap: anywhere; }
.note { font-size: 0.9rem; color: var(--text-soft); margin-top: 10px; }

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font-weight: 800; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--text-soft); margin: 0; }

/* Side box (quote, contact) */
.box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.box h2, .box h3 { font-size: 1.2rem; margin-bottom: 8px; }
.box p { color: var(--text-soft); }
.box .btn { width: 100%; }
.box .btn + .btn { margin-top: 10px; }
.box--brand { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.box--brand p { color: var(--brand-ink); opacity: 0.92; }
.box--brand .btn--light { background: #fff; color: #111827; }

/* Forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .hint { font-weight: 400; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); border-color: var(--brand-text); }
.form .btn { justify-self: start; }
.form-note { font-size: 0.88rem; color: var(--text-soft); margin: 0; }

/* Contact details */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; }
.contact-list span, .contact-list a { color: var(--text-soft); }
.contact-list a.directions { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--brand-text); font-weight: 600; text-decoration: none; }
.contact-list a.directions .icon { width: 16px; height: 16px; }
.contact-list a.directions:hover { text-decoration: underline; }
.contact-list div > a { display: block; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text-soft); }
.hours td:last-child { text-align: right; color: var(--text); font-weight: 600; }
.embed-slot { display: grid; place-items: center; gap: 8px; text-align: center; min-height: 220px; padding: 24px; border: 2px dashed var(--border); border-radius: var(--radius-sm); color: var(--text-soft); background: var(--bg-soft); }
.embed-slot .icon { width: 30px; height: 30px; color: var(--brand-text); }

/* Towns */
.town-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.town { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; scroll-margin-top: 100px; }
.town:target { border-color: var(--brand-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }
.town h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.town h3 .icon { color: var(--brand-text); }
.town p { color: var(--text-soft); margin: 0 0 10px; font-size: 0.95rem; }

/* Reviews summary */
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.rating-big { text-align: center; }
.rating-big strong { display: block; font-size: 3.4rem; line-height: 1; }
.rating-big .stars { justify-content: center; margin: 8px 0 4px; }
.rating-big span { color: var(--text-soft); font-size: 0.9rem; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 52px 1fr 40px; gap: 10px; align-items: center; font-size: 0.9rem; color: var(--text-soft); }
.bar-track { height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; }
.bar-fill { height: 100%; background: #f5a524; border-radius: 999px; }

/* Team */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.member { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; }
.member .avatar { width: 72px; height: 72px; margin: 0 auto 14px; font-size: 1.3rem; }
.member h3 { margin-bottom: 2px; }
.member p { color: var(--text-soft); margin: 0; font-size: 0.95rem; }

/* Simple centered pages (thank you, 404) */
.center-page { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) var(--gutter); }
.center-page .icon-tile { margin: 0 auto 20px; width: 64px; height: 64px; }
.center-page .icon-tile .icon { width: 32px; height: 32px; }
.center-page .btn-row { justify-content: center; margin-top: 26px; }

@media (max-width: 1020px) {
  .with-aside { grid-template-columns: 1fr; }
  .aside-stack { position: static; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .rating-summary { grid-template-columns: 1fr; }
  .price-list th, .price-list td { padding: 12px 14px; }
}

/* --- Services dropdown ----------------------------------------------------- */
.nav { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.sub-toggle { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--text-soft); cursor: pointer; }
.sub-toggle:hover { color: var(--text); background: var(--bg-soft); }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform 0.15s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: calc(100% + 14px); left: -16px; z-index: 60; min-width: 260px;
  list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow); display: none;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }   /* hover bridge */
.sub-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--brand-tint); }
.sub-menu .icon { color: var(--brand-text); }
.sub-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.sub-all a { color: var(--brand-text); }
@media (hover: hover) and (min-width: 1021px) {
  .has-sub:hover:not(.hover-off) .sub-menu { display: block; }
}
.has-sub:has(.sub-toggle[aria-expanded="true"]) .sub-menu { display: block; }

@media (max-width: 1020px) {
  .nav.is-open .nav-item { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--border); }
  .nav.is-open .nav-item > a { border-bottom: 0; flex: 1; }
  .nav.is-open .sub-toggle { width: 44px; height: 44px; }
  .nav.is-open .sub-menu { position: static; flex-basis: 100%; min-width: 0; box-shadow: none; border: 0; padding: 0 0 8px 8px; background: none; }
  .nav.is-open .sub-menu a { padding: 10px 8px; border-bottom: 0; font-weight: 500; color: var(--text-soft); }
  .nav.is-open .sub-menu::before { display: none; }
}

/* ==========================================================================
   Styles: Bold and Warm (Clean is the default above)
   Set data-style="bold" or data-style="warm" on <html>.
   Each style has a light and a dark version, like Clean.
   ========================================================================== */

/* --- Bold: high contrast, square corners, heavier type --------------------- */
:root[data-style="bold"] {
  --bg: #ffffff;
  --bg-soft: #f2f2f0;
  --surface: #ffffff;
  --text: #0b0b0c;
  --text-soft: #3d3d40;
  --border: #0b0b0c;
  --shadow: none;
  --head-weight: 900;
  --radius: 4px;
  --radius-sm: 3px;
  --radius-btn: 3px;
}
@media (prefers-color-scheme: dark) {
  :root[data-style="bold"]:not([data-mode="light"]) {
    --bg: #0b0b0c; --bg-soft: #141415; --surface: #141415;
    --text: #ffffff; --text-soft: #c9c9cc; --border: #f2f2f0;
    --brand-text: color-mix(in srgb, var(--brand) 45%, #ffffff);
  }
}
:root[data-style="bold"][data-mode="dark"] {
  --bg: #0b0b0c; --bg-soft: #141415; --surface: #141415;
  --text: #ffffff; --text-soft: #c9c9cc; --border: #f2f2f0;
  --brand-text: color-mix(in srgb, var(--brand) 45%, #ffffff);
}
[data-style="bold"] h1, [data-style="bold"] h2 { letter-spacing: -0.035em; text-transform: uppercase; line-height: 1.02; }
[data-style="bold"] h3 { font-weight: 800; }
[data-style="bold"] .kicker { color: var(--brand-ink); background: var(--brand); padding: 6px 10px; letter-spacing: 0.12em; }
[data-style="bold"] .hero, [data-style="bold"] .page-hero { background: var(--bg); border-bottom: 2px solid var(--border); }
[data-style="bold"] .card, [data-style="bold"] .box, [data-style="bold"] .area, [data-style="bold"] .stat,
[data-style="bold"] .faq details, [data-style="bold"] .town, [data-style="bold"] .member, [data-style="bold"] .steps li,
[data-style="bold"] .price-list, [data-style="bold"] .icon-btn, [data-style="bold"] .btn--outline { border-width: 2px; }
[data-style="bold"] .btn { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800; }
[data-style="bold"] .icon-tile { background: var(--brand); color: var(--brand-ink); }
[data-style="bold"] .trust { border-width: 2px 0; }
[data-style="bold"] .site-header { border-bottom-width: 2px; }

/* --- Warm: cream tones, serif headings, soft corners ----------------------- */
:root[data-style="warm"] {
  --bg: #fbf6ef;
  --bg-soft: #f3eadd;
  --surface: #fffdf9;
  --text: #2b2118;
  --text-soft: #67574a;
  --border: #e6d8c5;
  --shadow: 0 1px 2px rgba(60, 40, 20, 0.06), 0 10px 26px rgba(60, 40, 20, 0.08);
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --head-weight: 700;
  --radius: 22px;
  --radius-sm: 14px;
  --radius-btn: 999px;
}
@media (prefers-color-scheme: dark) {
  :root[data-style="warm"]:not([data-mode="light"]) {
    --bg: #1b1511; --bg-soft: #231b16; --surface: #2a211b;
    --text: #f4ebe1; --text-soft: #c7b6a4; --border: #3d3027;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
    --brand-text: color-mix(in srgb, var(--brand) 50%, #fff4e8);
  }
}
:root[data-style="warm"][data-mode="dark"] {
  --bg: #1b1511; --bg-soft: #231b16; --surface: #2a211b;
  --text: #f4ebe1; --text-soft: #c7b6a4; --border: #3d3027;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.35);
  --brand-text: color-mix(in srgb, var(--brand) 50%, #fff4e8);
}
[data-style="warm"] h1, [data-style="warm"] h2 { letter-spacing: -0.01em; }
[data-style="warm"] .kicker { letter-spacing: 0.06em; text-transform: none; font-style: italic; font-family: var(--font-head); font-size: 1rem; }
[data-style="warm"] .icon-tile { border-radius: 50%; }
