/* ═══════════════════════════════════════════════════════════════════════════
   המבריק הדרומי — עיצוב האתר
   Mobile-first, RTL, light theme committed (no dark variant by design —
   a local service business reads more trustworthy with one consistent look).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  /* Brand: teal reads "clean water", not "medical". */
  --brand-900: #05363a;
  --brand-800: #07494f;
  --brand-700: #0a6a72;
  --brand-600: #0d8b96;
  --brand-500: #14a8b4;
  --brand-100: #d5f2f5;
  --brand-50:  #eefafb;

  /* Accessible accent — #e8890a was 2.62:1 with white text. */
  --accent-600: #9a5a00;
  --accent-500: #f5a524;
  --accent-100: #fef2dd;

  /* WhatsApp brand green is 1.98:1 with white text and cannot be used for a
     button. This is the nearest accessible green (5.39:1); the bright brand
     green survives only as a decorative icon fill on light backgrounds. */
  --wa: #0b7a4a;
  --wa-dark: #095f3a;
  --wa-bright: #25d366;

  --ink-900: #0a1b1d;
  --ink-700: #2b4448;
  --ink-500: #5b7377;
  --ink-300: #9bb0b3;

  --surface: #ffffff;
  --surface-alt: #f4fafb;
  --surface-sunk: #e8f4f6;
  /* Decorative edges only. Interactive controls use --line-strong, which
     clears 3:1 against both white and --surface-alt. */
  --line: #dbe9eb;
  --line-strong: #6b9297;

  --ok: #0b7f46;
  --warn-bg: #fff6e5;
  --warn-line: #f5d48a;
  --warn-ink: #7a4f00;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(6, 50, 54, .06), 0 2px 8px rgba(6, 50, 54, .05);
  --shadow-md: 0 4px 12px rgba(6, 50, 54, .08), 0 12px 32px rgba(6, 50, 54, .07);
  --shadow-lg: 0 12px 28px rgba(6, 50, 54, .12), 0 28px 64px rgba(6, 50, 54, .10);

  --wrap: 1120px;
  --header-h: 64px;

  --font: 'Rubik', 'Heebo', -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--surface);
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand-500); outline-offset: 2px; border-radius: 6px; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
section { padding: 40px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.section-head h2 { font-size: clamp(26px, 5vw, 38px); margin-bottom: .3em; }
.section-head p { color: var(--ink-500); font-size: 17px; margin: 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--brand-800); background: var(--brand-50);
  padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.alt { background: var(--surface-alt); }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-primary { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-800); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-md); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { background: #fff; color: var(--brand-800); border: 2px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand-500); background: var(--brand-50); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--brand-900); }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center; color: #fff;
}
.logo-mark svg { width: 19px; height: 19px; }
.nav { display: none; margin-inline-start: auto; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--ink-700); font-weight: 500; font-size: 16px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand-800); text-decoration: underline; }
.header-cta { margin-inline-start: auto; }
.nav + .header-cta { margin-inline-start: 0; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--brand-50) 0%, #fff 62%);
  padding: 36px 0 44px;
}
.hero::before,
.hero::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 420px; height: 420px; top: -180px; inset-inline-start: -140px;
  background: radial-gradient(circle, rgba(20, 168, 180, .16), transparent 68%);
}
.hero::after {
  width: 340px; height: 340px; bottom: -160px; inset-inline-end: -110px;
  background: radial-gradient(circle, rgba(245, 165, 36, .14), transparent 68%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(31px, 7.2vw, 54px); margin-bottom: .35em; }
.hero h1 .hl { color: var(--brand-800); }
.hero-sub { font-size: clamp(16.5px, 2.4vw, 19px); color: var(--ink-700); max-width: 540px; margin-bottom: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 26px; }

.trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px;
  padding: 0; margin: 0; list-style: none;
}
.trust li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--ink-700); font-weight: 500; }
.trust svg { width: 19px; height: 19px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 560px) {
  /* Stacked CTAs look ragged when each sizes to its own label, but letting
     them span a whole phone width reads as a wall of button. Cap them. */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; max-width: 360px; }
  .section-head .hero-cta, .cta-band .hero-cta, .err-page .hero-cta { align-items: center; }
  /* The header pill eats half the bar on a small phone — icon is enough. */
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
}

@media (min-width: 760px) {
  section { padding: 64px 0; }
  .hero { padding: 68px 0 72px; }
  .trust { grid-template-columns: repeat(4, 1fr); }
}

/* ── Calculator ───────────────────────────────────────────────────────────── */
.calc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 760px; margin-inline: auto;
}
.calc-head { background: linear-gradient(140deg, var(--brand-700), var(--brand-900)); color: #fff; padding: 22px 24px; }
.calc-head h3 { margin: 0 0 4px; font-size: 21px; color: #fff; }
.calc-head p { margin: 0; font-size: 15px; opacity: .85; }
.calc-body { padding: 24px; }

.field { margin-bottom: 22px; }
.field > label,
.field-label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.field-hint { font-size: 14px; color: var(--ink-500); font-weight: 400; margin-inline-start: 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 10px 17px; border-radius: var(--radius-pill);
  border: 2px solid var(--line-strong); background: #fff;
  font-size: 15.5px; font-weight: 500; color: var(--ink-700);
  transition: all .14s ease;
}
.chip:hover { border-color: var(--brand-500); color: var(--brand-700); }
.chip[aria-pressed="true"],
.chip.is-on {
  background: var(--brand-700); border-color: var(--brand-700); color: #fff;
}

.num-row { display: flex; align-items: center; gap: 12px; }
.stepper { display: flex; align-items: center; gap: 4px; border: 2px solid var(--line-strong); border-radius: var(--radius-pill); padding: 3px; }
.stepper button {
  width: 36px; height: 36px; border-radius: 50%; font-size: 21px; line-height: 1;
  color: var(--brand-800); background: var(--brand-50); font-weight: 600;
}
.stepper button:hover { background: var(--brand-100); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 42px; text-align: center; font-weight: 700; font-size: 18px; }

input[type="number"], input[type="text"], input[type="email"], textarea, select {
  width: 100%; padding: 12px 15px; border: 2px solid var(--line-strong);
  border-radius: var(--radius); background: #fff; font-size: 16px;
}
input:focus, select:focus { border-color: var(--brand-500); outline: none; }
.input-narrow { max-width: 170px; }

.calc-items { list-style: none; padding: 0; margin: 0 0 18px; }
.calc-items li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 15px; background: var(--surface-alt);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 9px;
}
.calc-items .ci-desc { flex: 1; font-weight: 500; font-size: 15.5px; }
.calc-items .ci-price { font-weight: 700; color: var(--brand-800); white-space: nowrap; }
.calc-items .ci-remove {
  width: 30px; height: 30px; border-radius: 50%; color: var(--ink-500);
  font-size: 19px; line-height: 1; flex-shrink: 0;
}
.calc-items .ci-remove:hover { background: #fde8e8; color: #c0392b; }

.calc-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 18px 20px; background: var(--brand-50);
  border: 2px solid var(--brand-100); border-radius: var(--radius); margin-bottom: 16px;
}
.calc-total .lbl { font-weight: 600; font-size: 17px; }
.calc-total .amt { font-weight: 800; font-size: 30px; color: var(--brand-800); }
.calc-total .amt small { font-size: 18px; font-weight: 600; }

.notice {
  padding: 15px 17px; border-radius: var(--radius); font-size: 15.5px;
  border: 1px solid; margin-bottom: 16px;
}
.notice-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.notice-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }
.notice strong { display: block; margin-bottom: 3px; }

.calc-notes { list-style: none; padding: 0; margin: 16px 0 0; }
.calc-notes li {
  display: flex; gap: 8px; font-size: 14.5px; color: var(--ink-500);
  margin-bottom: 7px; line-height: 1.5;
}
.calc-notes svg { width: 17px; height: 17px; color: var(--brand-700); flex-shrink: 0; margin-top: 3px; }

.calc-empty { text-align: center; padding: 28px 16px; color: var(--ink-500); }
.calc-empty svg { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--brand-100); }

/* ── Service cards ────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-500); font-size: 15.5px; margin: 0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px;
  background: var(--brand-50); color: var(--brand-800);
  display: grid; place-items: center;
}
.card-icon svg { width: 24px; height: 24px; }
.card-price {
  display: block; margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 22px; font-weight: 800; color: var(--brand-800);
}
.card-price small { font-size: 14px; font-weight: 500; color: var(--ink-500); }

/* ── Steps ────────────────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 8px; }
.step-num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-700); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 20px; margin-bottom: 14px;
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--ink-500); font-size: 15.5px; margin: 0; }

/* ── Areas ────────────────────────────────────────────────────────────────── */
.areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-chip {
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line);
  font-weight: 500; font-size: 15.5px; color: var(--ink-700);
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
}
.faq details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.faq summary {
  padding: 17px 20px; font-weight: 600; font-size: 16.5px; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 24px; font-weight: 400; color: var(--brand-800);
  line-height: 1; flex-shrink: 0; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 20px 18px; color: var(--ink-700); font-size: 16px; }
.faq .faq-body p:last-child { margin: 0; }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(140deg, var(--brand-800), var(--brand-900));
  color: #fff; text-align: center; border-radius: var(--radius-lg);
  padding: 44px 24px; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 4.6vw, 34px); }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 480px; margin-inline: auto; margin-bottom: 24px; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .72); padding: 44px 0 90px; font-size: 15.5px; }
.site-footer a { color: #fff; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 12px; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.hours-row { display: flex; justify-content: space-between; gap: 14px; max-width: 250px; }
.hours-row .v { color: #fff; font-weight: 500; }
.footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
}
.site-footer .logo { color: #fff; margin-bottom: 12px; }

@media (min-width: 760px) { .site-footer { padding-bottom: 44px; } }

/* ── Floating WhatsApp ────────────────────────────────────────────────────── */
.fab {
  position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(11, 122, 74, .42);
  transition: transform .18s ease;
}
.fab:hover { transform: scale(1.07); text-decoration: none; }
.fab svg { width: 30px; height: 30px; }

/* ── Chat widget ──────────────────────────────────────────────────────────── */
.chat-fab {
  position: fixed; inset-inline-end: 16px; bottom: 84px; z-index: 60;
  display: none; align-items: center; gap: 9px;
  padding: 12px 20px 12px 16px; border-radius: var(--radius-pill);
  background: var(--brand-700); color: #fff; font-weight: 600; font-size: 15.5px;
  box-shadow: 0 6px 20px rgba(10, 106, 114, .4);
  transition: transform .18s ease;
}
.chat-fab.is-available { display: inline-flex; }
.chat-fab:hover { transform: scale(1.04); text-decoration: none; }
.chat-fab svg { width: 21px; height: 21px; }

.chat-panel {
  position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 70;
  width: min(calc(100vw - 32px), 390px); height: min(calc(100vh - 32px), 580px);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line);
}
.chat-panel.is-open { display: flex; }
.chat-header {
  background: linear-gradient(140deg, var(--brand-700), var(--brand-900));
  color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 11px;
}
.chat-header .avatar {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18);
  display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.chat-header .meta { flex: 1; min-width: 0; }
.chat-header .nm { font-weight: 700; font-size: 15.5px; }
.chat-header .st { font-size: 12.5px; opacity: .8; display: flex; align-items: center; gap: 5px; }
.chat-header .st::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
}
.chat-close { color: #fff; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; opacity: .8; }
.chat-close:hover { background: rgba(255, 255, 255, .15); opacity: 1; }

.chat-log { flex: 1; overflow-y: auto; padding: 16px; background: var(--surface-alt); }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; margin-bottom: 10px; font-size: 15.5px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.msg-bot { background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; }
.msg-user { background: var(--brand-700); color: #fff; margin-inline-start: auto; border-end-end-radius: 4px; }
.msg-err { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); max-width: 100%; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-300); animation: blink 1.3s infinite; }
.typing i:nth-child(2) { animation-delay: .18s; }
.typing i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; border-radius: var(--radius-pill); padding: 11px 17px; }
.chat-form button {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand-700); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.chat-form button:hover { background: var(--brand-700); }
.chat-form button:disabled { opacity: .45; cursor: not-allowed; }
.chat-form svg { width: 19px; height: 19px; }

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.err-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 40px 0; }
.err-code { font-size: clamp(76px, 17vw, 140px); font-weight: 800; color: var(--brand-100); line-height: 1; margin-bottom: 8px; }

/* ── Utilities ────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }
.text-center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   Components added with the multi-page build
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Skip link — first stop for a keyboard user ───────────────────────────── */
.skip-link {
  /* fixed, not absolute: a keyboard user who tabs here after scrolling must
     still see it, without relying on the browser scrolling it into view. */
  position: fixed; top: 0; inset-inline-start: 50%; transform: translate(50%, -120%);
  z-index: 200; background: var(--brand-800); color: #fff;
  padding: 12px 22px; border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600; transition: transform .16s ease;
}
.skip-link:focus { transform: translate(50%, 0); text-decoration: none; }

/* ── Mobile nav ───────────────────────────────────────────────────────────── */
.nav-toggle {
  margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; border: 2px solid var(--line-strong); background: #fff;
}
.nav-toggle-bars { display: grid; gap: 4px; }
.nav-toggle-bars span { display: block; width: 19px; height: 2px; background: var(--ink-900); border-radius: 2px; }

@media (max-width: 460px) {
  /* Keep the brand on one line so the header stays at its fixed height. */
  .logo { font-size: 16.5px; white-space: nowrap; }
  .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
  .logo-mark svg { width: 17px; height: 17px; }
  .header-cta { padding: 9px 14px; font-size: 14.5px; }
  .nav-toggle { width: 40px; height: 40px; }
}

@media (max-width: 999px) {
  /* The base rule is `.nav { display: none }`, overridden only at >=1000px.
     Without this the panel "opened" (hidden removed, aria-expanded true) and
     stayed invisible — the menu was unreachable on every phone. */
  .nav:not([hidden]) { display: block; }
  .nav[hidden] { display: none; }

  .nav {
    position: absolute; inset-inline: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 8px 0;
    animation: nav-drop .22s cubic-bezier(.2, .7, .3, 1) both;
  }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 20px; font-size: 17px; }
  .nav a:hover, .nav a:focus-visible { background: var(--brand-50); }
  .nav a[aria-current="page"] { background: var(--brand-50); font-weight: 600; }
  .header-cta { margin-inline-start: 10px; }
}

@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hamburger morphs into an X so the control reads as a toggle, not a button
   that did nothing (which is how it behaved until the rule above). */
.nav-toggle-bars span { transition: transform .22s ease, opacity .18s ease; transform-origin: center; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] { border-color: var(--brand-700); background: var(--brand-50); }

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.breadcrumbs { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 14.5px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: '‹'; margin-inline-end: 6px; color: var(--ink-500); }
.breadcrumbs a { color: var(--ink-700); }
.breadcrumbs [aria-current] { color: var(--ink-900); font-weight: 600; }
@media (max-width: 640px) {
  /* A long guide title used to push this to four lines. One line, truncated. */
  .breadcrumbs ol { flex-wrap: nowrap; }
  .breadcrumbs li { white-space: nowrap; }
  .breadcrumbs li:last-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
}

/* ── Narrow reading column ────────────────────────────────────────────────── */
.wrap.narrow { width: min(100% - 32px, 648px); }

/* The hero illustration and the contents list may run a little wider than the
   text column — it reads as an editorial layout rather than a misalignment. */
@media (min-width: 760px) {
  .article-hero, .toc { width: calc(100% + 56px); margin-inline: -28px; }
  .article-hero .illus { border-radius: var(--radius-lg); }
}

/* ── Tables ───────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table caption { text-align: start; }
.price-table th, .price-table td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--brand-50); font-weight: 700; color: var(--brand-900); }
.price-table td:last-child { font-weight: 700; color: var(--brand-800); white-space: nowrap; }
.price-table tbody tr:last-child td { border-bottom: none; }

/* ── Tick lists ───────────────────────────────────────────────────────────── */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 10px; font-size: 15.5px; }
.ticks svg { width: 19px; height: 19px; color: var(--ok); flex-shrink: 0; margin-top: 3px; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 10px; align-items: center; margin-bottom: 11px; font-size: 16px; }
.contact-list svg { width: 20px; height: 20px; color: var(--brand-700); flex-shrink: 0; }

.hours-plain { list-style: none; padding: 0; margin: 0; }
.hours-plain li { margin-bottom: 8px; }
.hours-plain .hours-row { display: flex; justify-content: space-between; max-width: 260px; gap: 14px; }
.hours-plain .v { font-weight: 600; }

.muted { color: var(--ink-500); font-size: 15px; }

/* ── Guides ───────────────────────────────────────────────────────────────── */
.guide-group {
  font-size: 22px; margin: 38px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-100);
}
.guide-group:first-of-type { margin-top: 0; }

.article { padding: 36px 0 16px; }
.article h1 { font-size: clamp(27px, 5vw, 38px); margin-bottom: .4em; }
.article-cat { font-size: 14.5px; color: var(--ink-500); margin-bottom: 8px; }
.article-cat a { font-weight: 600; }
.article-lead { font-size: 19px; color: var(--ink-700); line-height: 1.6; margin-bottom: 14px; }
.article-body h2 { font-size: 24px; margin-top: 44px; margin-bottom: .5em; scroll-margin-top: 86px; }
.article-body h3 { font-size: 19.5px; margin-top: 30px; margin-bottom: .4em; }
.article-body h2 + p, .article-body h3 + p { margin-top: 0; }
.article-body p, .article-body li { font-size: 17.5px; line-height: 1.78; }
.article-body p { margin-bottom: 1.15em; }
.article-body ul, .article-body ol { padding-inline-start: 20px; margin: 0 0 1.3em; }
.article-body li { margin-bottom: 10px; padding-inline-start: 4px; }
.article-body li::marker { color: var(--brand-600); }
.article a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.article-cta {
  margin-top: 44px; padding: 26px; border-radius: var(--radius-lg);
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.article-cta h2 { margin-top: 0; font-size: 21px; }
.article-cta p { margin-bottom: 18px; }
.article-cta .hero-cta { margin-bottom: 0; }

/* ── Footer additions ─────────────────────────────────────────────────────── */
.footer-heading { color: #fff; font-size: 16px; margin-bottom: 12px; font-weight: 700; }
.footer-grid { grid-template-columns: 1fr; }
.footer-brand p { font-size: 15px; }
.footer-contact { list-style: none; padding: 0; margin: 14px 0 0; }
.footer-contact li { margin-bottom: 7px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }

/* ── Accessibility panel ──────────────────────────────────────────────────── */
.a11y-fab {
  position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 65;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--brand-800); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.a11y-fab svg { width: 26px; height: 26px; }
.a11y-fab:hover { background: var(--brand-900); }

.a11y-panel {
  position: fixed; inset-inline-start: 16px; bottom: 78px; z-index: 75;
  width: min(calc(100vw - 32px), 300px);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 16px;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y-head h2 { font-size: 17px; margin: 0; }
.a11y-close { width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--ink-700); }
.a11y-close:hover { background: var(--surface-alt); }
.a11y-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.a11y-list button {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius); font-size: 15px;
  border: 2px solid var(--line); background: #fff; text-align: start;
}
.a11y-list button:hover { border-color: var(--brand-500); background: var(--brand-50); }
.a11y-list button[aria-pressed="true"] { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.a11y-glyph { width: 26px; text-align: center; font-weight: 700; flex-shrink: 0; }
.a11y-foot { margin: 10px 0 0; font-size: 14px; text-align: center; }

/* ── Consent banner ───────────────────────────────────────────────────────── */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  background: var(--brand-900); color: rgba(255,255,255,.92);
  border-top: 3px solid var(--brand-600); box-shadow: 0 -6px 28px rgba(5,54,58,.28);
}
.consent[hidden] { display: none; }
.consent-inner {
  width: min(100% - 32px, var(--wrap)); margin-inline: auto;
  padding: 16px 0; display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
}
.consent p { margin: 0; font-size: 15px; max-width: 640px; }
.consent a { color: #fff; text-decoration: underline; }
.consent-actions { display: flex; gap: 9px; flex-shrink: 0; }
.consent .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.consent .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Keep the floating buttons clear of the banner while it is showing. */
body.has-consent .fab { bottom: 104px; }
body.has-consent .chat-fab { bottom: 172px; }
body.has-consent .a11y-fab { bottom: 104px; }
body.has-consent .a11y-panel { bottom: 166px; }

/* ── Calculator: multi-item ───────────────────────────────────────────────── */
fieldset { border: none; margin: 0 0 22px; padding: 0; }
legend { padding: 0; }

.calc-item {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 18px; margin-bottom: 14px; background: #fff;
}
.calc-item-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.calc-item-head h3 { margin: 0; font-size: 18px; flex: 1; }
.calc-item-price { font-weight: 800; font-size: 19px; color: var(--brand-800); white-space: nowrap; }
.calc-item-remove {
  width: 34px; height: 34px; border-radius: 50%; color: var(--ink-700);
  font-size: 20px; line-height: 1; flex-shrink: 0; border: 2px solid var(--line-strong);
}
.calc-item-remove:hover { background: #fde8e8; border-color: #c0392b; color: #a33226; }
.calc-item .field { margin-bottom: 16px; }
.calc-item .field:last-of-type { margin-bottom: 0; }
.calc-item-dup { margin-top: 14px; font-size: 14.5px; }

.calc-empty { text-align: center; padding: 26px 16px; color: var(--ink-500); }
.calc-empty p { margin: 0; }

.calc-summary {
  position: sticky; bottom: 0; background: #fff;
  border-top: 2px solid var(--brand-100); padding-top: 18px; margin-top: 8px;
}

@media (prefers-reduced-motion: reduce) { .calc-summary { position: static; } }

/* ═══════════════════════════════════════════════════════════════════════════
   Accessibility preference modes — toggled by the widget on <html>
   ═══════════════════════════════════════════════════════════════════════════ */

html[data-a11y-font="1"] body { font-size: 18.5px; }
html[data-a11y-font="2"] body { font-size: 20.5px; }
html[data-a11y-font="3"] body { font-size: 23px; }
html[data-a11y-font="-1"] body { font-size: 15.5px; }

html[data-a11y-contrast="on"] {
  --ink-900: #000; --ink-700: #111; --ink-500: #1c2b2d;
  --line: #333; --line-strong: #222;
  --surface-alt: #fff; --brand-50: #fff; --brand-100: #999;
}
html[data-a11y-contrast="on"] body { background: #fff; }
html[data-a11y-contrast="on"] .card,
html[data-a11y-contrast="on"] .calc-item { border-color: #333; }
html[data-a11y-contrast="on"] .hero::before,
html[data-a11y-contrast="on"] .hero::after { display: none; }
html[data-a11y-contrast="on"] .hero { background: #fff; }

html[data-a11y-invert="on"] { filter: invert(1) hue-rotate(180deg); }
html[data-a11y-invert="on"] img { filter: invert(1) hue-rotate(180deg); }

html[data-a11y-links="on"] a { text-decoration: underline !important; text-underline-offset: 3px; }

html[data-a11y-readable="on"] body,
html[data-a11y-readable="on"] button,
html[data-a11y-readable="on"] input {
  font-family: Arial, 'Segoe UI', sans-serif !important;
  letter-spacing: .02em; word-spacing: .08em; line-height: 1.85;
}

html[data-a11y-no-motion="on"] *,
html[data-a11y-no-motion="on"] *::before,
html[data-a11y-no-motion="on"] *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

html[data-a11y-big-cursor="on"], html[data-a11y-big-cursor="on"] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M8 4l26 15-11 3-4 12z' fill='%23fff' stroke='%23000' stroke-width='2.5'/%3E%3C/svg%3E") 6 4, auto;
}

/* Focus must stay visible in every mode. */
html[data-a11y-contrast="on"] :focus-visible { outline: 3px solid #000; outline-offset: 3px; }


/* ═══════════════════════════════════════════════════════════════════════════
   Quote calculator v2 — a price menu with quantities
   Prices are visible before the customer commits to anything, which was the
   single biggest problem with the previous card-based flow.
   ═══════════════════════════════════════════════════════════════════════════ */

.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 20px; }
.presets-label { font-size: 14.5px; color: var(--ink-500); font-weight: 500; }
.preset-chip {
  padding: 7px 15px; border-radius: var(--radius-pill); font-size: 14.5px; font-weight: 600;
  border: 1.5px dashed var(--line-strong); background: #fff; color: var(--brand-800);
}
.preset-chip:hover { border-style: solid; background: var(--brand-50); }

.menu-list { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }

.menu-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line);
}
.menu-row:last-child { border-bottom: none; }
.menu-row.is-active { background: var(--brand-50); }
.menu-info { flex: 1; min-width: 0; }
.menu-info h3 { margin: 0; font-size: 16.5px; font-weight: 600; }
.menu-info p { margin: 2px 0 0; font-size: 14px; color: var(--ink-500); }

.menu-qty { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.qty-btn {
  width: 38px; height: 38px; border-radius: 50%; font-size: 20px; line-height: 1; font-weight: 600;
  border: 2px solid var(--line-strong); background: #fff; color: var(--brand-800);
}
.qty-btn:hover:not(:disabled) { border-color: var(--brand-700); background: var(--brand-50); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-add { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.qty-add:hover { background: var(--brand-800); border-color: var(--brand-800); }
.qty-num { min-width: 30px; text-align: center; font-weight: 700; font-size: 16.5px; }

/* the added items of a service, tucked under its menu row */
.menu-lines { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.menu-lines:last-child { border-bottom: none; }

.item-line { padding: 11px 16px; border-bottom: 1px dashed var(--line); }
.item-line:last-child { border-bottom: none; }
.item-line-head { display: flex; align-items: center; gap: 10px; }
.item-line-title { flex: 1; font-size: 15px; font-weight: 500; min-width: 0; }
.item-line-price { font-weight: 700; color: var(--brand-800); white-space: nowrap; font-size: 15.5px; }
.item-line-edit {
  font-size: 13.5px; font-weight: 600; color: var(--brand-800);
  padding: 5px 11px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: #fff;
}
.item-line-edit:hover { background: var(--brand-50); }
.item-line-remove {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-500); flex-shrink: 0; border: 1.5px solid transparent;
}
.item-line-remove svg { width: 15px; height: 15px; }
.item-line-remove:hover { background: #fde8e8; color: #a33226; border-color: #e7b9b3; }

.item-line-body { margin-top: 10px; display: grid; gap: 9px; }
.item-line-ask { margin: 2px 0 0; font-size: 14px; color: var(--warn-ink); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 8px 11px; }

.opt-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: none; margin: 0; padding: 0; }
.opt-row legend, .opt-legend { font-size: 14px; color: var(--ink-700); font-weight: 500; min-width: 92px; padding: 0; float: none; }
.opt-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.opt-chip {
  padding: 6px 14px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink-700);
}
.opt-chip:hover { border-color: var(--brand-700); color: var(--brand-800); }
.opt-chip.is-on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.mini-stepper { display: flex; align-items: center; gap: 2px; }
.mini-stepper button {
  width: 32px; height: 32px; border-radius: 50%; font-size: 17px; line-height: 1; font-weight: 600;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--brand-800);
}
.mini-stepper button:hover:not(:disabled) { background: var(--brand-50); }
.mini-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.mini-stepper output { min-width: 28px; text-align: center; font-weight: 700; }

.size-inputs { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.size-inputs input { width: 84px; padding: 7px 10px; font-size: 15px; border-radius: 10px; }
.size-inputs .x { color: var(--ink-500); }
.size-inputs .sqm { font-weight: 700; color: var(--brand-800); font-size: 14.5px; }

.item-reject { margin-top: 9px; padding: 11px 13px; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); }
.item-reject p { margin: 0 0 9px; font-size: 14.5px; color: var(--warn-ink); }
.item-reject-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.item-reject-link { font-size: 14px; font-weight: 600; text-decoration: underline; }

.calc-summary { margin-top: 20px; }
.calc-pending { font-size: 14.5px; color: var(--warn-ink); background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 10px 13px; margin: 0 0 14px; }
.calc-nudge { font-size: 14.5px; color: var(--ink-500); margin: 12px 0 0; text-align: center; }
.calc-clear { display: block; margin: 16px auto 0; font-size: 14px; color: var(--ink-500); text-decoration: underline; }
.calc-clear:hover { color: #a33226; }

/* Sticky total on mobile — the basket must never be off-screen. */
.calc-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line-strong); box-shadow: 0 -4px 20px rgba(6,50,54,.13);
}
.calc-bar[hidden] { display: none; }
.calc-bar-inner {
  width: min(100% - 24px, var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0;
}
.calc-bar-total .lbl { font-size: 13.5px; color: var(--ink-500); display: block; }
.calc-bar-total strong { font-size: 21px; color: var(--brand-800); }
@media (min-width: 760px) { .calc-bar { display: none; } }

/* While the sticky total is up it already carries a WhatsApp CTA, so the
   floating WhatsApp and chat buttons are redundant — and three fixed
   elements in one corner cover the very prices the customer is reading.
   Accessibility stays reachable; it just moves clear of the bar. */
@media (max-width: 759px) {
  body.has-calc-bar .fab,
  body.has-calc-bar .chat-fab { display: none; }
  body.has-calc-bar .a11y-fab { bottom: 82px; }
  body.has-calc-bar .a11y-panel { bottom: 144px; }
}

/* ── owner note on /about/ ────────────────────────────────────────────────── */
.owner-note {
  max-width: 900px; margin: 0 auto 26px; padding: 22px 24px;
  background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--radius-lg);
}
.owner-note p { font-size: 16.5px; }
.owner-note p:last-of-type { margin-bottom: 16px; }
.owner-note .hero-cta { margin-bottom: 0; }



/* High-contrast mode must reach the new components too. */
html[data-a11y-contrast="on"] .menu-list,
html[data-a11y-contrast="on"] .menu-row,
html[data-a11y-contrast="on"] .calc-bar { border-color: #333; }
html[data-a11y-contrast="on"] .menu-row.is-active { background: #fff; outline: 2px solid #000; outline-offset: -2px; }


/* ═══════════════════════════════════════════════════════════════════════════
   Article page — illustration, meta, contents, engagement
   The old template put 2,679px of unbroken text between the title and the
   first visual element. Everything here exists to break that up.
   ═══════════════════════════════════════════════════════════════════════════ */

.article-head { margin-bottom: 20px; }

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--ink-500);
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.article-meta .article-author { font-weight: 600; color: var(--ink-700); }

.article-hero { margin: 0 0 26px; }
.article-hero .illus,
.card-thumb .illus { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
.article-hero .illus { box-shadow: var(--shadow-sm); }

/* Contents */
.toc {
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 20px; margin-bottom: 30px;
}
.toc-title { font-size: 15px; margin: 0 0 10px; color: var(--ink-700); letter-spacing: .02em; }
.toc ol { margin: 0; padding-inline-start: 20px; display: grid; gap: 7px; }
.toc li { font-size: 15.5px; }
.toc a { color: var(--brand-800); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc li::marker { color: var(--brand-600); font-weight: 600; }

/* Callout for the "what not to do" passages that recur across the guides */
.article-body .notice { margin: 24px 0; }

/* Engagement strip */
.engage {
  margin: 36px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line);
}
.engage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; }

.engage-like {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 2px solid var(--line-strong); background: #fff;
  font-size: 15.5px; font-weight: 600; color: var(--ink-700);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.engage-like svg { width: 19px; height: 19px; transition: transform .2s ease; }
.engage-like:hover { border-color: var(--brand-700); color: var(--brand-800); }
.engage-like[aria-pressed="true"] {
  background: var(--brand-50); border-color: var(--brand-700); color: var(--brand-800);
}
.engage-like[aria-pressed="true"] svg { fill: var(--brand-700); stroke: var(--brand-700); animation: like-pop .32s ease; }
.engage-like-count { font-weight: 700; color: var(--brand-800); }
@keyframes like-pop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }

.engage-share { display: flex; align-items: center; gap: 7px; }
.engage-share-label { font-size: 14.5px; color: var(--ink-500); }
.engage-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--line-strong); background: #fff; color: var(--ink-700);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.engage-btn svg { width: 19px; height: 19px; }
.engage-btn:hover { border-color: var(--brand-700); color: var(--brand-800); transform: translateY(-2px); text-decoration: none; }
.engage-btn.is-copied { border-color: var(--ok); color: var(--ok); }

.engage-views { margin: 12px 0 0; font-size: 14px; color: var(--ink-500); }
.engage-views[hidden] { display: none; }

/* Guide cards with a thumbnail */
.card-guide { padding: 0; overflow: hidden; }
.card-thumb { background: var(--brand-50); }
.card-thumb .illus { border-radius: 0; }
.card-guide h3 { font-size: 17px; line-height: 1.35; }
.card-guide p { font-size: 14.5px; }

/* ═══════════════════════════════════════════════════════════════════════════
   Motion — all of it opt-out. Content must never be left invisible.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Scoped to .js on purpose — see the inline head script. Without scripting
   these selectors never match and everything renders normally. */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .3, 1); }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(16px); }
[data-reveal-stagger].is-in > * { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .3, 1); }
[data-reveal-stagger].is-in > *:nth-child(1) { transition-delay: .00s; }
[data-reveal-stagger].is-in > *:nth-child(2) { transition-delay: .07s; }
[data-reveal-stagger].is-in > *:nth-child(3) { transition-delay: .14s; }
[data-reveal-stagger].is-in > *:nth-child(4) { transition-delay: .21s; }
[data-reveal-stagger].is-in > *:nth-child(5) { transition-delay: .28s; }
[data-reveal-stagger].is-in > *:nth-child(6) { transition-delay: .35s; }

/* Three independent escape hatches, and each must leave content VISIBLE. */
.no-motion [data-reveal],
.no-motion [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
html[data-a11y-no-motion="on"] [data-reveal],
html[data-a11y-no-motion="on"] [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }

/* Hero with an illustration beside the copy */
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 44px; } }
.hero-art { position: relative; }
.hero-art .illus { width: 100%; height: auto; filter: drop-shadow(0 18px 38px rgba(6, 50, 54, .18)); }
.illus-hero { overflow: visible; }

/* The ambient drift and sweep are decoration; stop them when asked. */
@media (prefers-reduced-motion: reduce) { .illus-hero animate, .illus-hero animateTransform { display: none; } }
html[data-a11y-no-motion="on"] .illus-hero animate,
html[data-a11y-no-motion="on"] .illus-hero animateTransform { display: none; }
@media (max-width: 899px) { .hero-art { max-width: 420px; margin-inline: auto; order: -1; } }

html[data-a11y-contrast="on"] .article-hero .illus,
html[data-a11y-contrast="on"] .card-thumb .illus { outline: 2px solid #000; outline-offset: -2px; }


/* ═══════════════════════════════════════════════════════════════════════════
   Deal bar — today's offer plus a countdown, above the header
   ═══════════════════════════════════════════════════════════════════════════ */

.dealbar {
  background: linear-gradient(100deg, var(--brand-800), var(--brand-900) 62%, #0d4f55);
  color: #fff;
  border-bottom: 2px solid var(--accent-500);
}
.dealbar[hidden] { display: none; }

.dealbar-inner {
  width: min(100% - 24px, var(--wrap)); margin-inline: auto;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 0;
}

.dealbar-text {
  margin: 0; flex: 1; min-width: 0;
  font-size: 15px; font-weight: 600; line-height: 1.35;
  display: flex; align-items: center; gap: 8px;
}
.dealbar-flame { font-size: 17px; flex-shrink: 0; }

.dealbar-timer {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius-pill); padding: 4px 12px;
}
.dealbar-timer-label { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.dealbar-clock {
  font-size: 15px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;   /* stops the countdown jittering */
  letter-spacing: .04em;
}

.dealbar-cta {
  flex-shrink: 0; background: var(--accent-500); color: var(--brand-900);
  font-weight: 700; font-size: 14px; padding: 7px 16px;
  border-radius: var(--radius-pill); text-decoration: none;
  transition: transform .16s ease, background-color .16s ease;
}
.dealbar-cta:hover { background: #ffb84d; transform: translateY(-1px); text-decoration: none; }

.dealbar-close {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  color: rgba(255, 255, 255, .85); font-size: 20px; line-height: 1;
}
.dealbar-close:hover { background: rgba(255, 255, 255, .16); color: #fff; }

@media (max-width: 720px) {
  /* Wrapping made this 146px tall — a third of the fold on a phone, before
     the visitor had seen anything. One compact row instead: the offer,
     truncated, the countdown, and a way out. The CTA goes; the headline
     below it already leads to the calculator. */
  .dealbar-inner { flex-wrap: nowrap; gap: 8px; padding: 7px 0; }
  .dealbar-text {
    font-size: 13px; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
  }
  .dealbar-flame { display: none; }
  .dealbar-timer { padding: 3px 9px; gap: 5px; }
  .dealbar-timer-label { display: none; }
  .dealbar-clock { font-size: 13.5px; }
  .dealbar-cta { display: none; }
  .dealbar-close { width: 26px; height: 26px; font-size: 18px; }
}

/* The deal appears in the quote summary too, so the banner and the price
   can never tell the customer two different things. */
.calc-deal {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--brand-50); border: 1px solid var(--brand-100);
  border-radius: var(--radius); padding: 10px 14px; margin-bottom: 12px;
  font-size: 14.5px;
}
.calc-deal-label { font-weight: 600; color: var(--brand-800); }
.calc-deal-amount { font-weight: 800; color: var(--ok); white-space: nowrap; }
.calc-subtotal {
  display: flex; justify-content: space-between; font-size: 14.5px;
  color: var(--ink-500); margin-bottom: 6px;
}
.calc-subtotal s { text-decoration-thickness: 1.5px; }
.item-line-was { font-size: 13px; color: var(--ink-500); text-decoration: line-through; margin-inline-end: 6px; }

html[data-a11y-contrast="on"] .dealbar { background: #000; border-bottom-color: #fff; }
html[data-a11y-contrast="on"] .dealbar-cta { background: #fff; color: #000; }


/* ═══════════════════════════════════════════════════════════════════════════
   Guides index — a lead article, filters, and cards that say how long they are
   ═══════════════════════════════════════════════════════════════════════════ */

.guide-lead {
  display: grid; gap: 0; margin-bottom: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.guide-lead:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--brand-100); text-decoration: none; }
.guide-lead-art { background: var(--brand-50); }
.guide-lead-art .illus { width: 100%; height: auto; display: block; border-radius: 0; }
.guide-lead-text { padding: 22px; }
.guide-lead-text h2 { font-size: clamp(20px, 3vw, 26px); margin: 8px 0 8px; }
.guide-lead-text p { color: var(--ink-500); margin-bottom: 10px; }
.guide-lead-meta { font-size: 14px; color: var(--ink-500); }
@media (min-width: 760px) {
  .guide-lead { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .guide-lead-text { padding: 28px 30px; }
}

.guide-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter-chip {
  padding: 8px 16px; border-radius: var(--radius-pill); font-size: 14.5px; font-weight: 600;
  border: 2px solid var(--line-strong); background: #fff; color: var(--ink-700);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}
.filter-chip:hover { border-color: var(--brand-700); color: var(--brand-800); }
.filter-chip.is-on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

.guide-count { font-size: 14.5px; color: var(--ink-500); margin: 0 0 16px; }
.guide-count[hidden], .guide-empty[hidden] { display: none; }
.guide-empty { text-align: center; padding: 30px 0; color: var(--ink-500); }

/* Image on top at full card width — at 375px that renders the artwork around
   343x172, the same size as an article hero and comfortably legible. The
   earlier 104px square thumb made every illustration half-size and unreadable.
   The length this costs on /guides/ is paid for by the category filter. */
@media (max-width: 620px) {
  .card-guide .card-body { padding: 14px 16px 16px; }
  .card-guide h3 { font-size: 16.5px; }
}

.card-guide { display: flex; flex-direction: column; }
.card-guide .card-thumb { display: block; }
.card-guide .card-thumb .illus { width: 100%; height: auto; display: block; border-radius: 0; }
.card-guide .card-body { padding: 16px 18px 18px; }
.card-guide .card-meta { font-size: 13px; color: var(--ink-500); margin: 0 0 6px; }
.card-guide .card-cat { color: var(--brand-800); font-weight: 600; }
.card-guide h3 { margin: 0 0 6px; }
.card-guide p { margin: 0; }
/* Two lines keeps every card the same height in a grid row. */
.card-guide .card-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 14.5px;
}
.card-guide[hidden] { display: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   Trust ticker — a continuously scrolling strip under the hero
   ═══════════════════════════════════════════════════════════════════════════ */

/* Grid and flex children default to min-width:auto, so the max-content track
   inside pushed this to 1,579px instead of clipping. Both properties are
   needed: min-width:0 lets it shrink, max-width caps it. */
.ticker {
  min-width: 0; max-width: 100%;
  overflow: hidden; position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, var(--brand-50), #fff 50%, var(--brand-50));
  padding: 11px 0;
  /* Fades the strip into the page edges instead of cutting items mid-word. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track { display: flex; width: max-content; animation: ticker-scroll 26s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-list {
  display: flex; align-items: center; gap: 38px;
  list-style: none; margin: 0; padding: 0 19px;
}
.ticker-list li {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--ink-700);
}
.ticker-list svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; }

/* Translating by exactly half the track puts copy two where copy one began. */
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* RTL scrolls the other way, or the text appears to run backwards. */
[dir="rtl"] .ticker-track { animation-name: ticker-scroll-rtl; }
@keyframes ticker-scroll-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}

/* Motion off: the strip stops and simply reads as a row of claims. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}
html[data-a11y-no-motion="on"] .ticker-track { animation: none; }
html[data-a11y-no-motion="on"] .ticker { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }


/* ═══════════════════════════════════════════════════════════════════════════
   Lead capture — three optional details before the handoff
   Never a gate: the WhatsApp button sits below and works regardless.
   ═══════════════════════════════════════════════════════════════════════════ */

.calc-ref {
  margin: 0 0 12px; font-size: 13.5px; color: var(--ink-500);
  letter-spacing: .04em; font-variant-numeric: tabular-nums;
}

.lead {
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 16px 18px; margin-bottom: 14px;
}
.lead-title { margin: 0 0 4px; font-size: 16.5px; }
.lead-sub { margin: 0 0 14px; font-size: 14px; color: var(--ink-500); }

.lead-field { border: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.lead-field:last-child { margin-bottom: 0; }
.lead-field > label,
.lead-field > legend { font-size: 14px; font-weight: 600; color: var(--ink-700); padding: 0; }
.lead-field input,
.lead-field select { padding: 10px 13px; font-size: 15.5px; border-radius: var(--radius); background: #fff; }
.lead-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-500) 50%), linear-gradient(135deg, var(--ink-500) 50%, transparent 50%); background-position: 14px calc(50% - 2px), 19px calc(50% - 2px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-inline-start: 34px; }
.lead-field .opt-chips { gap: 7px; }

.calc-skip {
  display: block; margin: 10px auto 0; font-size: 14px;
  color: var(--ink-500); text-decoration: underline;
}
.calc-skip:hover { color: var(--brand-800); }

@media (min-width: 560px) {
  /* Name and town read as one row once there is space for them. */
  .lead { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .lead-title, .lead-sub { grid-column: 1 / -1; }
  .lead-field:nth-of-type(3), .lead-field:nth-of-type(4), .lead-field:nth-of-type(5) { grid-column: 1 / -1; }
}
