/* Naki Family — colors from the logo (sky-blue house, navy wordmark) + a warm CTA accent.
   Logical properties throughout so the same sheet serves RTL (he) and LTR (en). */
:root {
  --navy: #1d3a6e;
  --navy-2: #142a52;
  --blue: #3f86d4;
  --blue-50: #eef5fc;
  --blue-100: #dbe9f8;
  --accent: #ff9f1c;
  --accent-2: #f08a00;
  --wa: #0e7a40;        /* was #128c4a: white on it 4.3:1 → 5.4:1 */
  --wa-2: #0b6a37;
  --link: #0f6ccc;      /* text links: 5.2:1 on white (the lighter --blue stays for icons / buttons) */
  --ink: #16233a;
  --muted: #5a6880;
  --line: #dfe6f0;
  --bg: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(20, 42, 82, .10);
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.tiny { font-size: 13px; }
.mt { margin-top: 40px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; inset-inline-start: 10px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ic { width: 20px; height: 20px; flex: none; }
[dir="rtl"] .ic-dir { transform: scaleX(-1); }

/* top bar */
.topbar { background: var(--navy-2); color: #dbe6f7; font-size: 14px; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; min-height: 38px; }
.topbar a { text-decoration: none; display: inline-flex; gap: 6px; align-items: center; color: #fff; }
.tb-hours { display: inline-flex; gap: 6px; align-items: center; }
.tb-lang { margin-inline-start: auto; border: 1px solid rgba(255,255,255,.35); padding: 2px 12px; border-radius: 99px; }
.tb-lang:hover { background: rgba(255,255,255,.1); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .logo { height: 64px; width: auto; }
.brand-foot .logo { height: 72px; }
.brand strong { display: block; font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.brand small { display: block; font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.hdr-cta { white-space: nowrap; }
.nav a:hover { background: var(--blue-50); color: var(--navy); }
.nav-toggle { display: none; margin-inline-start: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--navy); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy-2); }
.btn-accent:hover { background: var(--accent-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--blue-50); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-block { width: 100%; }
.link { color: var(--blue); font-weight: 700; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px; background:
  radial-gradient(circle at 15% 20%, rgba(63,134,212,.16) 0 140px, transparent 141px),
  radial-gradient(circle at 85% 85%, rgba(63,134,212,.10) 0 220px, transparent 221px),
  linear-gradient(160deg, var(--blue-50), #fff 70%); }
.hero-inner { padding: 40px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.01em; }
.lead { font-size: 19px; color: #33435e; }
.badge { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--blue-100); color: var(--navy); padding: 6px 14px; border-radius: 99px; font-weight: 500; font-size: 15px; box-shadow: 0 2px 8px rgba(20,42,82,.06); }
.badge .ic { color: var(--blue); }
.stats { list-style: none; padding: 0; margin: 28px 0; display: flex; gap: 36px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 40px; font-weight: 800; color: var(--blue); line-height: 1; }
.stats small { font-size: 18px; margin-inline-start: 4px; }
.stats span { color: var(--muted); font-size: 15px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.center-row { justify-content: center; }

/* quote card */
.quote-card, .lead-form, .panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.quote-card h2, .lead-form h2 { font-size: 24px; margin-bottom: 4px; }
fieldset { border: 0; padding: 0; margin: 16px 0 8px; }
legend, .field > span { font-weight: 700; color: var(--navy); margin-bottom: 8px; display: block; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-size: 15px; font-weight: 500; transition: border-color .15s, background .15s; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip .ic { color: var(--blue); }
.chip:has(input:checked) { border-color: var(--blue); background: var(--blue-50); color: var(--navy); }
.chip:has(input:focus-visible) { outline: 3px solid var(--accent); }
.field { display: block; margin: 14px 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-100); }
.quote-card .btn { margin-top: 6px; }
.quote-card .tiny { text-align: center; margin: 10px 0 0; }

/* trust strip */
.trust { background: var(--navy); color: #dbe6f7; padding: 36px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.trust-item { display: flex; gap: 14px; }
.trust-item .ic { width: 36px; height: 36px; color: var(--accent); }
.trust-item h2 { color: #fff; font-size: 19px; margin: 0 0 4px; }
.trust-item p { margin: 0; font-size: 15px; }

/* sections */
.section { padding: 72px 0; }
[id] { scroll-margin-top: 90px; }
.footer-bottom { padding-inline-end: 200px; }
@media (max-width: 640px) { .footer-bottom { padding-inline-end: 16px; } }
.section.alt { background: var(--blue-50); }
.h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.h3 { font-size: 22px; }
.section .lead.center { max-width: 720px; margin-inline: auto; margin-bottom: 36px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.prose p { font-size: 18px; }
.prose h1 { font-size: 40px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue); margin-bottom: 14px; }
.card-ic .ic { width: 28px; height: 28px; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; }
.reviews { columns: 3 280px; column-gap: 20px; margin: 28px 0 8px; }
.review { break-inside: avoid; margin: 0 0 20px; background: #fff; border: 1px solid #e9ecef; border-radius: var(--radius); padding: 22px 24px; }
.review .tg-stars { font-size: .95rem; }
.review blockquote { margin: 8px 0 12px; font-size: 17px; line-height: 1.6; color: #2d3250; font-weight: 500; }
.review figcaption { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.review figcaption .ic { color: #1877f2; width: 16px; height: 16px; }
.mission { margin: 0 0 20px; padding: 18px 22px; border-inline-start: 4px solid var(--blue); background: var(--blue-50); border-radius: 12px; }
.mission p { margin: 0 0 8px; font-size: 18px; color: var(--navy); font-weight: 500; }
.mission p:last-child { margin: 0; }

/* steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); position: relative; }
.num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.steps h3 { font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

/* checks */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks .ic { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 2px; }
.split > .checks { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }

/* table */
.when { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 24px; }
.when th, .when td { padding: 16px 20px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
.when tr:last-child th, .when tr:last-child td { border-bottom: 0; }
.when th { color: var(--navy); width: 34%; background: #fafcff; }

/* faq */
.faq { margin-top: 24px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: #33435e; }

/* cities */
.city-list { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.city-list a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 99px; font-weight: 500; }
.city-list a:hover { border-color: var(--blue); color: var(--navy); }
.city-list .ic { color: var(--blue); width: 18px; height: 18px; }

/* breadcrumbs */
.crumbs { position: relative; z-index: 1; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-inline-end: 6px; }
[dir="rtl"] .crumbs li + li::before { content: '‹'; }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs + .hero { margin-top: -38px; padding-top: 70px; }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--blue)); color: #fff; padding: 52px 0; }
.cta-band .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 30px; }
.cta-band p { margin: 0; color: #e3ecf9; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* about / contact */
.about-logo img { width: 100%; max-width: 380px; margin: 40px auto 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.contact-info p { display: flex; gap: 8px; align-items: center; margin: 0; flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--navy-2); color: #c5d3ea; padding: 56px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 32px; }
.site-footer h2 { color: #fff; font-size: 17px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .cols2 { grid-template-columns: 1fr 1fr; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { display: flex; gap: 8px; align-items: center; }
.site-footer li a { display: inline-flex; gap: 8px; align-items: center; }
.brand-foot strong { color: #fff; font-size: 20px; }
.brand-foot { margin-bottom: 12px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: 14px; }

/* contractor packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package { gap: 6px; }
.package .checks { margin: 10px 0 22px; flex: 1; align-content: start; }
.package.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); position: relative; }
.b2b-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.b2b-strip h3 { margin: 0 0 4px; }
.b2b-strip p { margin: 0; color: var(--muted); }
@media (max-width: 980px) { .packages { grid-template-columns: 1fr; } }

/* review ribbon — values taken from top1airductcleaning.com (.reviews-marquee / .review-pill / .trust-google) */
.ribbon { display: flex; align-items: center; gap: 20px; max-width: var(--wrap); margin: 0 auto; padding: 22px 20px; }
.trust-fb { flex: none; display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; background: #fff; border: 1px solid rgba(13, 44, 110, .14); border-radius: 999px; padding: .45rem 1rem; color: #2d3250; font-size: 15px; font-weight: 700; transition: transform .15s, box-shadow .15s, border-color .15s; }
.trust-fb:hover { border-color: rgba(13, 44, 110, .35); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(13, 44, 110, .09); }
.trust-fb .ic { color: #1877f2; width: 18px; height: 18px; }
.trust-fb strong { white-space: nowrap; }
.tg-stars { color: #fbbc05; font-size: 1.05rem; letter-spacing: .05em; line-height: 1; }
.reviews-marquee { flex: 1; min-width: 0; overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.reviews-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: reviews-scroll 90s linear infinite; }
[dir="rtl"] .reviews-track { animation-name: reviews-scroll-rtl; }
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
/* spacing is a margin (not gap) so the doubled track is exactly 2× one pass and -50% loops cleanly */
.review-pill { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; margin-right: .8rem; padding: .42rem 1rem; border-radius: 999px; background: #f5f7fa; border: 1px solid #e9ecef; color: #2d3250; font-size: .92rem; font-weight: 600; }
.review-pill::before { content: "★★★★★"; color: #fbbc05; font-size: .7rem; letter-spacing: -.03em; flex-shrink: 0; }
[dir="rtl"] .review-pill { direction: rtl; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes reviews-scroll-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .reviews-marquee { overflow-x: auto; } .reviews-track { animation: none; } }

/* work gallery */
.section.dark { background: var(--navy-2); color: #c5d3ea; }
.section.dark .h2 { color: #fff; }
.section.dark .lead { color: #c5d3ea; }
.section.dark .link { color: var(--accent); }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.work { margin: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.work video, .work img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #000; display: block; }
.work-photo img { object-fit: cover; }
.work figcaption { padding: 14px 16px 16px; display: grid; gap: 4px; font-size: 15px; }
.work figcaption strong { color: #fff; font-size: 16px; }

/* ad landing pages */
.lp-header .wrap { justify-content: space-between; }
.lp-actions { display: flex; gap: 8px; }
.btn-sm { padding: 9px 14px; font-size: 15px; }
.lp-bullets { margin: 0 0 24px; }
.site-footer-min { padding-top: 28px; }
.site-footer-min p { margin: 0; }
.site-footer-min .footer-bottom { margin-top: 20px; }

/* floating + mobile bar */
.float-wa { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; display: inline-flex; gap: 8px; align-items: center; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 99px; box-shadow: 0 8px 24px rgba(18,140,74,.35); }
.float-wa .ic { width: 24px; height: 24px; }
.mobile-bar { display: none; }

/* responsive */
/* 7 nav links + CTA need ~1120px; below that use the menu button */
@media (max-width: 1120px) {
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav-toggle { display: inline-flex; }
  .hdr-cta { margin-inline-start: 8px; }
}
/* compact two-column form (contractors) */
.lead-form.compact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.lead-form.compact > :is(h2, .tiny, .btn, .field-wide) { grid-column: 1 / -1; }
.lead-form.compact .field { margin: 8px 0; }
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav-toggle { display: inline-flex; }
  .hdr-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { padding-inline: 16px; }
  .tb-hours { display: none; }
  .brand .logo { height: 50px; }
  .hide-sm { display: none; }
  .ribbon { flex-direction: column; gap: 12px; padding: 16px 16px; }
  .reviews-marquee { width: 100%; }
  .trust-fb { font-size: 13px; padding: .4rem .85rem; }
  .works { grid-template-columns: 1fr 1fr; gap: 12px; }
  .work figcaption { padding: 10px 12px 12px; font-size: 13px; }
  .work figcaption strong { font-size: 14px; }
  .site-header .wrap { min-height: 64px; }
  .hero { padding: 36px 0 48px; }
  .stats { gap: 22px; }
  .stats strong { font-size: 32px; }
  .trust-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .chips { grid-template-columns: 1fr; }
  .when th, .when td { display: block; width: 100%; }
  .when th { border-bottom: 0; padding-bottom: 4px; }
  .float-wa { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(20,42,82,.12); }
  .mobile-bar a { display: flex; gap: 8px; align-items: center; justify-content: center; padding: 16px; font-weight: 700; text-decoration: none; color: #fff; }
  .mb-call { background: var(--navy); }
  .mb-wa { background: var(--wa); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- audit fixes (4.11.2026) ---------- */
/* link blue on white was 3.4:1 — --link keeps AA (4.5:1) for text-size links; buttons keep the brand blue */
.link, .more, .crumbs a { color: var(--link); }
/* top bar + footer links: 24px+ tap targets */
.topbar a { padding-block: 8px; }
.site-footer li a, .footer-bottom a { padding-block: 4px; min-height: 28px; display: inline-flex; align-items: center; }
@media (max-width: 640px) {
  /* hero: the CTA before the stats, and the four stats in a 2×2 grid */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .badge { align-self: flex-start; }
  .hero-copy .stats { order: 10; }
  .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 22px 0 0; }
  .stats li { padding: 10px 8px !important; text-align: center; }
  .stats strong { font-size: 26px; }
  .stats small { font-size: 14px; }
  .stats span { font-size: 12px; line-height: 1.3; display: block; }
}

/* ---------- cookie consent banner (consent.js) ---------- */
.consent { position: fixed; inset-inline: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(20,42,82,.12); font-size: 15px; }
.consent[hidden] { display: none; }
.consent-inner { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-block: 14px; padding-inline-start: 80px; padding-inline-end: 200px; }
.consent p { margin: 0; flex: 1 1 420px; line-height: 1.5; }
.consent a { color: var(--link); font-weight: 700; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn-sm { white-space: nowrap; }
@media (max-width: 640px) {
  .consent { bottom: 58px; }
  .consent-inner { padding-inline: 16px; gap: 12px; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}

/* ---------- accessibility menu (a11y.js) ---------- */
.a11y-btn { position: fixed; inset-inline-start: 16px; bottom: 20px; z-index: 65; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(20,42,82,.3); cursor: pointer; display: grid; place-items: center; padding: 0; }
.a11y-btn .ic { width: 28px; height: 28px; }
.a11y-btn:hover { background: var(--navy-2); }
.a11y-panel { position: fixed; inset-inline-start: 16px; bottom: 80px; z-index: 66; width: min(340px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(20,42,82,.25); padding: 16px; max-height: calc(100vh - 110px); overflow: auto; }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.a11y-head h2 { font-size: 18px; margin: 0; }
.a11y-x { background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; }
.a11y-x:hover { background: var(--blue-50); color: var(--navy); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); background: #f7fbff; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; min-height: 48px; text-align: start; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.a11y-grid button::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--blue); flex: none; }
.a11y-grid button[aria-pressed="true"] { background: var(--blue-50); border-color: var(--blue); }
.a11y-grid button[aria-pressed="true"]::before { background: var(--blue); }
.a11y-grid b { margin-inline-start: auto; color: var(--link); }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 14px; gap: 8px; }
.link-btn { background: none; border: 0; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 4px; }
.a11y-foot a { color: var(--link); font-weight: 700; }
.a11y-list { margin: 8px 0 20px; }
.a11y-contact { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; }
.a11y-contact a { color: var(--link); }
@media (max-width: 640px) {
  .a11y-btn { bottom: 70px; width: 44px; height: 44px; }
  .a11y-panel { bottom: 124px; }
  .consent:not([hidden]) ~ .a11y { display: none; } /* one bottom corner on a phone: the banner wins until answered */
}

/* ---------- accessibility modes (a11y.js sets data-a11y-* on <html>) ---------- */
html[data-a11y-font="1"] body { zoom: 1.15; }
html[data-a11y-font="2"] body { zoom: 1.3; }
html[data-a11y-contrast] body, html[data-a11y-contrast] body *:not(img):not(video):not(svg):not(svg *) { background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; -webkit-text-fill-color: #fff; }
html[data-a11y-contrast] a, html[data-a11y-contrast] .link, html[data-a11y-contrast] .more, html[data-a11y-contrast] .stats strong { color: #ffeb3b !important; -webkit-text-fill-color: #ffeb3b; text-decoration: underline; }
html[data-a11y-contrast] .btn, html[data-a11y-contrast] button, html[data-a11y-contrast] .field input, html[data-a11y-contrast] .field select, html[data-a11y-contrast] .field textarea, html[data-a11y-contrast] .chip { border: 2px solid #fff !important; }
html[data-a11y-contrast] .chip:has(input:checked), html[data-a11y-contrast] [aria-pressed="true"] { outline: 3px solid #ffeb3b !important; }
html[data-a11y-contrast] :is(.hero-photo, .hero-wash, .hero-shine, .side-bubbles, .bubbles) { display: none !important; }
html[data-a11y-contrast] .hero::after, html[data-a11y-contrast] .btn::after { display: none !important; }
html[data-a11y-gray] { filter: grayscale(1); }
html[data-a11y-links] a { text-decoration: underline !important; text-underline-offset: 3px; }
html[data-a11y-headings] :is(h1, h2, h3) { background: #ffeb3b !important; color: #000 !important; -webkit-text-fill-color: #000; outline: 2px dashed #000; outline-offset: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
html[data-a11y-font-readable] body, html[data-a11y-font-readable] body * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }
html[data-a11y-motion] *, html[data-a11y-motion] *::before, html[data-a11y-motion] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-a11y-motion] :is(.rv, .hero-in) { opacity: 1 !important; transform: none !important; }
html[data-a11y-motion] :is(.side-bubbles, .bubbles, .glint, .sweep) { display: none !important; }
html[data-a11y-motion] .reviews-marquee { overflow-x: auto; }
html[data-a11y-cursor], html[data-a11y-cursor] * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l14 11-6 1 4 7-3 1-4-7-5 5z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 4 4, auto !important; }
html[data-a11y-focus] :focus { outline: 4px solid #ff3d00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #fff !important; }

/* service × city pages: two-column "what's included" list */
.checks.cols2 { columns: 2 260px; column-gap: 32px; }
.checks.cols2 li { break-inside: avoid; }

/* HTML site map (/sitemap/) */
.sitemap-group { margin-bottom: 40px; }
.sitemap-group > h2 { border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.sitemap-region { font-size: 17px; margin: 22px 0 6px; color: var(--muted); }
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sitemap-list li:last-child { border-bottom: 0; }
.sitemap-list a { font-weight: 700; color: var(--navy); text-decoration: none; }
.sitemap-list a:hover { text-decoration: underline; }
.sitemap-list p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sitemap-sub { margin-top: 8px; padding-inline-start: 22px; border-inline-start: 2px solid var(--line); }
.sitemap-sub li { padding: 8px 0; }

/* areas page · extended area: how it works + links to each extended-zone city */
.ext-area { background: var(--blue-50, #eef6ff); }
.ext-lead { max-width: 760px; font-size: 17px; color: var(--ink-2, #33465f); margin: 8px 0 24px; }
.ext-steps { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ext-steps li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 8px 24px -18px rgba(20,42,82,.4); }
.ext-steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #1d8cf8, #22d3ee); color: #fff; font-weight: 800; }
.ext-steps h3 { font-size: 17px; margin: 2px 0 4px; color: var(--navy); }
.ext-steps p { margin: 0; font-size: 15px; color: var(--muted, #5b6b82); }
.ext-region { margin-bottom: 18px; }
.ext-region h3 { font-size: 16px; margin: 0 0 10px; color: var(--navy); }
.ext-links { display: flex; flex-wrap: wrap; gap: 8px; }
.ext-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; transition: border-color .15s, color .15s; }
.ext-links a:hover, .ext-links a:focus-visible { border-color: var(--blue); color: var(--blue); }
.ext-links .ic { width: 16px; height: 16px; color: var(--blue); }
.ext-area .btn-wa { margin-top: 10px; }
@media (max-width: 760px) { .ext-steps { grid-template-columns: 1fr; } }

/* ---------- mobile breakpoints (8.11.2026) ---------- */
/* grid columns may shrink below their content's min width, so a wide child (form, long word) can't push the page sideways */
.hero-grid > *, .split > *, .contact-grid > *, .footer-grid > *, .packages > *, .trust-grid > *, .steps > * { min-width: 0; }
h1, h2, h3, .btn { overflow-wrap: anywhere; }

/* phones (≤640) */
@media (max-width: 640px) {
  .lead-form.compact { grid-template-columns: 1fr; }
  .quote-card, .lead-form, .panel { padding: 20px 18px; }
  .split > .checks { padding: 20px 18px; }
  .prose h1 { font-size: clamp(28px, 8vw, 36px); }
  .h3, .card h3 { font-size: 19px; }
  .card, .steps li { padding: 20px; }
  .cta-band { padding: 40px 0; }
  .cta-band h2 { font-size: 24px; }
  .cta-band p { font-size: 16px; }
  .cta-actions, .cta-actions .btn, .b2b-strip .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .b2b-strip { padding: 18px; }
  .reviews { columns: 1; }
  .faq details { padding: 0 16px; }
  .faq summary { padding: 16px 0; }
  .city-list { gap: 8px; }
  .city-list a { padding: 8px 13px; font-size: 15px; }
  .checks.cols2 { columns: 1; }
  .sitemap-sub { padding-inline-start: 14px; }
  .lp-actions .btn-sm { padding: 8px 12px; font-size: 14px; }
  .site-footer { padding-top: 40px; }
  [id] { scroll-margin-top: 76px; }
}

/* small phones (≤380: iPhone SE / mini, older Androids) */
@media (max-width: 380px) {
  body { font-size: 15.5px; }
  .wrap { padding-inline: 14px; }
  .topbar .wrap { gap: 12px; }
  html .brand .logo, html .site-header.is-scrolled .brand .logo { height: 44px; }
  .site-header .wrap { min-height: 58px; gap: 12px; }
  .hero h1 { font-size: 27px; }
  .lead { font-size: 17px; }
  html .hero-bubble { padding: 14px 14px 12px; }
  .badge { font-size: 13px; padding: 5px 12px; }
  .stats strong { font-size: 22px; }
  .stats span { font-size: 11px; }
  .h2 { font-size: 24px; }
  .btn { padding: 12px 16px; }
  .lp-actions { gap: 6px; }
  .lp-actions .btn-sm { padding: 7px 10px; font-size: 13px; }
  .mobile-bar a { padding: 14px 8px; font-size: 15px; }
  .works { gap: 10px; }
  .a11y-grid { grid-template-columns: 1fr; }
}

/* phones held sideways: short screen, so the header stops sticking and the hero tightens */
@media (max-height: 500px) and (max-width: 980px) and (orientation: landscape) {
  .site-header { position: relative; }
  html .site-header .wrap, html .site-header.is-scrolled .wrap { min-height: 56px; }
  html .brand .logo, html .site-header.is-scrolled .brand .logo { height: 42px; }
  .nav { max-height: calc(100vh - 60px); overflow-y: auto; }
  html .hero { padding: 24px 0 64px; }
  html .hero-inner { padding-bottom: 40px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 44px 0; }
  [id] { scroll-margin-top: 12px; }
  .a11y-panel { max-height: calc(100vh - 100px); }
}

/* Honeypot field on lead forms (bots fill it, people never see it) */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; } /* clipped in place: left:-9999px made RTL pages scroll sideways */

/* services dropdown in the nav (two audience columns) — main.js toggles it; Escape / click outside close it */
.nav-dd { position: relative; display: flex; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: 4px; font: inherit; font-weight: 600; color: inherit; background: none; border: 0; padding: 8px 10px; border-radius: 99px; cursor: pointer; white-space: nowrap; }
.nav-dd-btn:hover, .nav-dd-btn[aria-expanded="true"] { background: var(--blue-50); color: var(--blue); }
.nav-caret { width: 16px; height: 16px; transition: transform .2s; }
.nav-dd-btn[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dd-panel { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; min-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.nav-dd-panel[hidden] { display: none; }
.nav-dd-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.nav-dd-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-dd-panel li a { display: block; padding: 6px 10px; font-weight: 500; white-space: normal; }
.nav-dd-all { grid-column: 1 / -1; justify-self: start; margin-top: 6px; font-weight: 700 !important; color: var(--blue); }
@media (max-width: 1120px) {
  .nav-dd { flex-direction: column; }
  .nav-dd-btn { padding: 12px; justify-content: space-between; width: 100%; }
  .nav-dd-panel { position: static; min-width: 0; grid-template-columns: 1fr; box-shadow: none; border: 0; border-radius: 0; padding: 0 12px 8px; }
}

/* services split by audience */
.svc-group + .svc-group { margin-top: 40px; }
.svc-group-h { font-size: 22px; margin: 0 0 16px; color: var(--navy); }
.svc-also { margin: 16px 0 0; color: var(--muted); line-height: 1.9; }
.svc-also strong { color: var(--ink, var(--navy)); margin-inline-end: 4px; }

/* homepage: contractors & businesses lead section (between the review ribbon and the trust strip) */
.section.biz-lead { position: relative; background: var(--blue-50) url('hero/condo-facade-2000.jpg') center 40% / cover no-repeat; }
@media (max-width: 980px) { .section.biz-lead { background-image: url('hero/condo-facade-1000.jpg'); } }
/* light wash over the photo (stronger on the text side), like the hero */
.biz-lead::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgba(244,250,255,.55) 0%, rgba(244,250,255,.3) 50%, rgba(244,250,255,.1) 100%); }
[dir="ltr"] .biz-lead::before { background: linear-gradient(to right, rgba(244,250,255,.55) 0%, rgba(244,250,255,.3) 50%, rgba(244,250,255,.1) 100%); }
.biz-lead > .wrap { position: relative; }
.biz-lead .hero-grid { align-items: start; }
/* the text sits in a frosted white bubble (same look as .hero-bubble) */
.biz-bubble { padding: 26px 30px 18px; border-radius: 24px; background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(8px) saturate(1.1); backdrop-filter: blur(8px) saturate(1.1); box-shadow: 0 18px 40px -22px rgba(20,42,82,.35); }
.biz-bubble .h2 { margin-top: 0; }
@media (max-width: 640px) { .biz-bubble { padding: 20px 18px 12px; } }
.biz-lead .badge { margin-bottom: 12px; }
.biz-lead .checks { margin: 18px 0; }

/* footer: brand · homes · businesses · cities · contact */
.footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr 1fr; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* contractors page: the business section is the hero */
.crumbs + .biz-hero { margin-top: -38px; padding-top: 64px; }
.biz-hero h1.h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 0; }
.biz-hero .hero-actions { margin-bottom: 8px; }
/* quote card highlight when a "get a quote" button is clicked (main.js) */
.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(29,140,248,.6), var(--shadow); } 40% { box-shadow: 0 0 0 10px rgba(29,140,248,.25), var(--shadow); } 100% { box-shadow: 0 0 0 0 rgba(29,140,248,0), var(--shadow); } }
@media (prefers-reduced-motion: reduce) { .flash { animation: none; outline: 3px solid var(--blue); } }
.field[hidden] { display: none !important; }
/* service-page lead form: two columns (name|phone, city|notes), button above the consent line — fits above the fold */
.svc-form > p.muted { grid-column: 1 / -1; margin: 0 0 4px; font-size: 15px; }
.svc-form textarea { min-height: 0; resize: vertical; }
.svc-form .btn { margin-top: 10px; }
.svc-form .tiny { margin: 8px 0 0; }
/* privacy checkbox on lead forms */
.agree { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; color: var(--muted); line-height: 1.45; cursor: pointer; grid-column: 1 / -1; }
.agree input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.agree a { color: var(--blue); }

/* ---- sections shared with v2 (homepage bottom): extended area, map, compare table, "who comes into your home".
   theme-v2.css restyles them for v2; these are the base-design versions. ---- */
.mt-sm { margin-top: 30px; }
.city-list-ext a { background: var(--blue-50); }
.map-box { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21 / 9; background: var(--blue-50); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted); }
.map-placeholder .ic { width: 42px; height: 42px; color: var(--blue); }
.map-placeholder p { margin: 0; max-width: 420px; }
.map .btn { margin-top: 18px; }
@media (max-width: 640px) { .map-box { aspect-ratio: 4 / 3; } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; width: 50%; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-size: 17px; }
.compare th:first-child { background: var(--navy); color: #fff; }
.compare th:last-child { background: #f3f5f9; color: var(--muted); }
.compare td:first-child { background: var(--blue-50); color: var(--navy); font-weight: 600; }
.compare td:last-child { color: var(--muted); }
.compare td .ic { color: #fff; background: var(--blue); border-radius: 50%; padding: 3px; width: 22px; height: 22px; vertical-align: -5px; margin-inline-end: 8px; }
@media (max-width: 640px) { .compare th, .compare td { padding: 12px; font-size: 15px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 700; font-size: 15px; color: var(--blue); }
.eyebrow::before { content: '\2726'; font-size: 13px; }
.section.whoin { background: linear-gradient(120deg, var(--navy-2), var(--navy) 70%, #24528f); color: #dbe6f7; }
.whoin .h2 { color: #fff; }
.whoin .lead { color: #c9d6ea; }
.whoin .eyebrow { color: var(--accent); }
.trust-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trust-cards li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 20px; }
.trust-cards .ic { width: 40px; height: 40px; color: var(--accent); grid-row: span 2; }
.trust-cards h3 { color: #fff; font-size: 18px; margin: 0 0 4px; }
.trust-cards p { margin: 0; font-size: 15px; color: #c9d6ea; }

/* bigger review cards (9.11.2026): two wide columns, larger quote text, more air */
.reviews { columns: 2 420px; column-gap: 26px; margin: 32px 0 10px; }
.review { margin: 0 0 26px; padding: 30px 34px 26px; border-radius: 20px; box-shadow: var(--shadow); }
.review .tg-stars { font-size: 1.25rem; }
.review blockquote { margin: 12px 0 16px; font-size: 20px; line-height: 1.65; }
.review figcaption { font-size: 15px; }
@media (max-width: 640px) { .reviews { columns: 1; } .review { padding: 22px 22px 18px; } .review blockquote { font-size: 18px; } }


/* ---------- phone contact bar: floating 3D buttons (overrides the docked bar above) ---------- */
@media (max-width: 640px) {
  body { padding-bottom: 96px; }
  .mobile-bar { left: 12px; right: 12px; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); grid-template-columns: 1fr 1.25fr; gap: 10px;
    background: none; box-shadow: none; pointer-events: none; }
  .mobile-bar a { pointer-events: auto; position: relative; overflow: hidden; isolation: isolate; min-height: 56px; padding: 12px 10px; gap: 9px;
    border-radius: 18px; font-size: 17px; font-weight: 800; letter-spacing: .01em; text-shadow: 0 1px 1px rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.22); transform: translateY(0); transition: transform .12s ease, box-shadow .12s ease;
    -webkit-tap-highlight-color: transparent; }
  .mobile-bar a .ic { width: 24px; height: 24px; flex: none; filter: drop-shadow(0 1px 1px rgba(0,0,0,.3)); }
  /* glossy top highlight */
  .mobile-bar a::before { content: ''; position: absolute; inset: 0 0 50% 0; z-index: -1; border-radius: 18px 18px 40% 40% / 18px 18px 14px 14px;
    background: linear-gradient(to bottom, rgba(255,255,255,.28), rgba(255,255,255,0)); }
  .mb-call { background: linear-gradient(180deg, #1f4f94 0%, #0c2d5a 100%);
    box-shadow: 0 5px 0 #061a36, 0 14px 26px -8px rgba(12,45,90,.65), inset 0 1px 0 rgba(255,255,255,.25); }
  .mb-wa { background: linear-gradient(180deg, #2fc566 0%, #16a34a 55%, #12873d 100%);
    box-shadow: 0 5px 0 #0b5f2b, 0 14px 28px -8px rgba(22,163,74,.75), inset 0 1px 0 rgba(255,255,255,.35); }
  /* pressed: the button sinks onto its ledge */
  .mobile-bar a:active { transform: translateY(4px); }
  .mb-call:active { box-shadow: 0 1px 0 #061a36, 0 6px 12px -6px rgba(12,45,90,.6), inset 0 1px 0 rgba(255,255,255,.2); }
  .mb-wa:active { box-shadow: 0 1px 0 #0b5f2b, 0 6px 12px -6px rgba(22,163,74,.6), inset 0 1px 0 rgba(255,255,255,.3); }
  .mobile-bar a:focus-visible { outline: 3px solid #fde047; outline-offset: 3px; }
  /* WhatsApp: shine sweep + a soft ring on the icon to draw the thumb */
  .mb-wa::after { content: ''; position: absolute; top: -10%; bottom: -10%; width: 38%; inset-inline-start: -60%; z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: mb-shine 4s ease-in-out infinite; }
  .mb-wa .ic { border-radius: 50%; animation: mb-ring 2.4s ease-out infinite; }
  @keyframes mb-shine { 0%, 55% { inset-inline-start: -60%; } 100% { inset-inline-start: 130%; } }
  @keyframes mb-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
  /* make room for the floating bar */
  .consent { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); margin-inline: 8px; border-radius: 18px; border: 1px solid var(--line); }
  .a11y-btn { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .a11y-panel { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 400px) { .mobile-bar a { font-size: 16px; min-height: 54px; } .mobile-bar { gap: 8px; inset-inline: 10px; left: 10px; right: 10px; } }
@media (prefers-reduced-motion: reduce) { .mb-wa::after, .mb-wa .ic { animation: none; } }

/* language switch in the top bar: plain "HE / EN" text, current language bold, no pill */
.tb-lang { border: 0; padding: 2px 4px; border-radius: 4px; font-size: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; direction: ltr; }
.tb-lang:hover { background: none; }
.tb-lang::before, .tb-lang::after { font-size: 14px; letter-spacing: .04em; line-height: 1; }
html[lang="he"] .tb-lang::before { content: "EN"; opacity: .7; }
html[lang="he"] .tb-lang::after { content: "/  HE"; white-space: pre; font-weight: 800; }
html[lang="en"] .tb-lang::before { content: "EN  /"; white-space: pre; font-weight: 800; }
html[lang="en"] .tb-lang::after { content: "HE"; opacity: .7; }
.tb-lang:hover::before, .tb-lang:hover::after { text-decoration: none; }
html[lang="he"] .tb-lang:hover::before, html[lang="en"] .tb-lang:hover::after { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
/* the switch reads left-to-right, so pin it to the far end of the bar with physical margins */
html[dir="rtl"] .tb-lang { margin-left: 0; margin-right: auto; }
html[dir="ltr"] .tb-lang { margin-right: 0; margin-left: auto; }
