/* Rentura.es — фирменный стиль баннера: navy + yellow Kärcher */

:root {
  --navy: #0e2a4d;
  --navy-2: #163a66;
  --navy-3: #1f4b80;
  --yellow: #ffc61a;
  --yellow-2: #ffd84d;
  --ink: #10233f;
  --muted: #5a6b82;
  --line: #d7e0ec;
  --paper: #ffffff;
  --soft: #f3f7fb;
  --cleaning: #6fb800;
  --cleaning-2: #9ad420;
  --cleaning-deep: #4a8600;
  --construction: #1a4a9e;
  --construction-2: #3d7ae8;
  --construction-deep: #0a2a6e;
  --water: #0096e0;
  --water-2: #4dc4ff;
  --water-deep: #005fa8;
  --garden: #2e9e3e;
  --garden-2: #5ec96a;
  --garden-deep: #1c6b28;
  --services: #ff6a15;
  --services-2: #ff9a4a;
  --services-deep: #c44500;
  --about: #0e2a4d;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 30px rgba(14, 42, 77, .12);
  --font: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
  --strip-h: 28px;
  --masthead-h: calc(var(--header-h) + var(--strip-h));
  --callbar-h: 64px;
  --max: 1120px;
  --accent: var(--yellow);
  --glow: rgba(255, 198, 26, .35);
  --page-bg:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 198, 26, .12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(23, 169, 220, .1), transparent 50%),
    linear-gradient(180deg, #f7fafc 0%, var(--paper) 40%, #eef4fa 100%);
}

html[data-active="cleaning"] { --accent: var(--cleaning); --glow: rgba(111, 184, 0, .35); }
html[data-active="construction"] { --accent: var(--construction); --glow: rgba(26, 74, 158, .4); }
html[data-active="water"] { --accent: var(--water); --glow: rgba(0, 150, 224, .35); }
html[data-active="garden"] { --accent: var(--garden); --glow: rgba(46, 158, 62, .35); }
html[data-active="about"],
html[data-active="services"] { --accent: var(--services); --glow: rgba(255, 106, 21, .38); }

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Brand scrollbar: yellow thumb on navy track (Firefox + Chromium) */
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) var(--navy);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px));
}
html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: var(--navy);
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--navy) 12%, transparent);
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe27a, var(--yellow-2));
  background-clip: padding-box;
}
html::-webkit-scrollbar-corner {
  background: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .6rem; line-height: 1.15; letter-spacing: -.02em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--yellow); color: var(--navy); padding: .6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 3.2rem 0; }
.section--soft { background: var(--soft); }
.section--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #0a1f3a 100%);
  color: #fff;
}
.section--center { text-align: center; padding: 5rem 0; }
.section-lead { color: var(--muted); font-size: 1rem; }
.section-lead--light { color: rgba(255,255,255,.82); }
.prose { color: var(--muted); max-width: 65ch; }
.prose p + p { margin-top: .8rem; }

.h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--navy); }
.h1--product {
  display: block;
}
.pager--h1 {
  display: inline;
  margin-left: .2em;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--muted);
  font-size: .42em;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  vertical-align: super;
  position: relative;
  top: -.15em;
}
.h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: var(--navy); }
.h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.h1--stroke, .h2--stroke { position: relative; display: inline-block; max-width: 100%; }
.h1--stroke::after, .h2--stroke::after {
  content: "";
  position: absolute;
  left: 0; bottom: .08em;
  width: 100%; height: .28em;
  background: linear-gradient(90deg, var(--yellow) 0%, rgba(255,198,26,.15) 100%);
  z-index: -1;
  transform: skewX(-8deg);
  border-radius: 2px;
}
/* Заголовок страницы всегда с новой строки под eyebrow */
.page-head .h1,
.page-head .h1--stroke {
  display: block;
  width: fit-content;
  max-width: 100%;
}
.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-3);
  margin: 0 0 .55rem;
}
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--inline { display: inline-block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; padding: .7rem 1.15rem;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 18px rgba(255,198,26,.35); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { border-color: var(--navy); background: #fff; }
.btn--sm { min-height: 40px; padding: .45rem .9rem; font-size: .88rem; }
.btn__ico { width: 1.15rem; height: 1.15rem; }
.btn__return {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.15rem; height: 1.15rem;
  font-size: 1.15rem; line-height: 1; flex-shrink: 0;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 700; color: var(--navy); margin-top: 1rem;
}
.link-arrow__ico { width: 1rem; height: 1rem; transition: transform .15s ease; }
.link-arrow:hover .link-arrow__ico { transform: translateX(3px); }

/* Header */
.masthead {
  position: sticky; top: 0; z-index: 50;
}
.header {
  position: relative; z-index: 2;
  background: rgba(14, 42, 77, .96);
  backdrop-filter: blur(10px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .28s ease, box-shadow .28s ease;
  overflow: visible;
}
.header.is-previewing {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}
.header[data-preview="cleaning"] {
  background:
    linear-gradient(145deg, var(--cleaning-deep) 0%, var(--cleaning) 48%, var(--cleaning-2) 100%),
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.22), transparent 55%);
  background-blend-mode: soft-light, normal;
  background-color: var(--cleaning);
}
.header[data-preview="construction"] {
  background:
    linear-gradient(145deg, var(--construction-deep) 0%, var(--construction) 50%, var(--construction-2) 100%),
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.2), transparent 55%);
  background-blend-mode: soft-light, normal;
  background-color: var(--construction);
}
.header[data-preview="water"] {
  background:
    linear-gradient(145deg, var(--water-deep) 0%, var(--water) 50%, var(--water-2) 100%),
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.22), transparent 55%);
  background-blend-mode: soft-light, normal;
  background-color: var(--water);
}
.header[data-preview="about"],
.header[data-preview="services"] {
  background:
    linear-gradient(145deg, var(--services-deep) 0%, var(--services) 50%, var(--services-2) 100%),
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,.2), transparent 55%);
  background-blend-mode: soft-light, normal;
  background-color: var(--services);
}
.header__inner {
  width: min(100% - 1.5rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
  height: var(--header-h);
  min-height: var(--header-h);
  max-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: nowrap;
  overflow: visible;
}
.header__cluster {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: .55rem;
  height: 100%;
}
.header__center {
  flex: 1 1 0%;
  min-width: 0;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.header__preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}
.header.is-previewing .header__preview {
  visibility: visible;
  pointer-events: auto;
  animation: preview-in .28s ease;
}
.header.is-previewing .nav {
  visibility: hidden;
  pointer-events: none;
}
.header__preview-disc {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,.18); color: #fff;
}
.header__preview-ico { width: 1.25rem; height: 1.25rem; }
.header__preview-body { min-width: 0; flex: 1; }
.header__preview-title {
  display: block; font-size: .98rem; font-weight: 800; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.header__preview-note {
  display: none;
  margin-top: .2rem;
  font-size: .78rem; font-weight: 600; line-height: 1.35;
  opacity: .9;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes preview-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; color: #fff; }
.brand__logo {
  display: block;
  height: 53px;
  width: auto;
  /* SVG 490.78×99.46 → при 53px высоты ≈ 262px ширины */
  max-width: min(262px, 45vw);
  object-fit: contain;
}
.brand__mark {
  width: 42px; height: 42px; object-fit: contain;
  filter: brightness(0) invert(1);
}
.brand__word { display: block; font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; line-height: 1; }
.brand__accent { color: var(--yellow); }
.brand__sub { display: block; font-size: .68rem; opacity: .7; margin-top: .15rem; letter-spacing: .04em; text-transform: uppercase; }
.brand--footer { color: #fff; margin-bottom: 1rem; }
.brand--footer .brand__logo {
  height: 64px;
  max-width: min(280px, 85%);
}

.nav { display: none; gap: .15rem; flex: 1; min-width: 0; justify-content: center; overflow: hidden; }
.nav__link {
  padding: .4rem .55rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.82);
  white-space: nowrap; letter-spacing: -.01em;
}
.nav__link:hover, .nav__link.is-current { color: #fff; background: rgba(255,255,255,.1); }
.nav__link.is-current { box-shadow: inset 0 -2px 0 var(--yellow); border-radius: 0; background: transparent; }

.nav__accordion { display: none; }
.nav__link--mobile { display: none; }

.header__side {
  display: flex; align-items: center; gap: .55rem;
  flex-shrink: 0; flex-wrap: nowrap;
}

.search { position: static; flex-shrink: 0; }
.search__toggle {
  width: 42px; height: 42px; border: 0; background: rgba(255,255,255,.1);
  border-radius: 10px; color: #fff; display: grid; place-content: center; cursor: pointer;
  flex-shrink: 0; position: relative; z-index: 3;
}
.search__ico { width: 1.15rem; height: 1.15rem; }
.search__panel { display: contents; }
.search__box {
  display: none;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  padding: 0 .35rem 0 .55rem;
  min-width: 0;
}
.search.is-open .search__box { display: flex; }
.search__input {
  flex: 1; min-width: 0; height: 36px; border: 0;
  background: transparent; color: #fff;
  font: inherit; font-size: .82rem; font-weight: 600;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
}
.search__input::placeholder { color: rgba(255,255,255,.55); }
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.search__input::-ms-clear { display: none; }
.search__close {
  width: 28px; height: 28px; border: 0; background: transparent;
  color: #fff; font-size: 1.25rem; line-height: 1; cursor: pointer; border-radius: 8px;
}
.search__close:hover { background: rgba(255,255,255,.12); }
.search__drop {
  position: absolute;
  top: calc(100% + 2px);
  right: .75rem;
  width: min(420px, calc(100vw - 1.5rem));
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 70;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(70vh, 28rem);
  padding: .35rem;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Brand scrollbar: yellow thumb on navy track (Firefox + Chromium) */
  scrollbar-width: thin;
  scrollbar-color: var(--yellow) var(--navy);
}
.search__drop::-webkit-scrollbar {
  width: 8px;
}
.search__drop::-webkit-scrollbar-track {
  margin: .35rem 0;
  background: var(--navy);
  border-radius: 999px;
}
.search__drop::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--yellow-2), var(--yellow));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--navy) 12%, transparent);
}
.search__drop::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe27a, var(--yellow-2));
  background-clip: padding-box;
}
.search__drop::-webkit-scrollbar-corner {
  background: transparent;
}
.search__drop::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: 14px;
}
.search__hit {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .55rem; border-radius: 10px; color: var(--navy);
}
.search__hit:hover, .search__hit.is-active { background: var(--soft); }
.search__hit--task { background: rgba(255, 198, 26, .12); }
.search__hit--task:hover, .search__hit--task.is-active { background: rgba(255, 198, 26, .22); }
.search__thumb {
  width: 40px; height: 40px; object-fit: cover;
  border-radius: 8px; background: var(--soft); flex-shrink: 0;
}
.search__thumb--empty { display: block; }
.search__body { min-width: 0; flex: 1; }
.search__title {
  display: block; font-size: .88rem; font-weight: 800; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search__cat {
  display: block; font-size: .72rem; color: var(--muted); font-weight: 600; margin-top: .12rem;
}
.search__price { font-size: .78rem; font-weight: 800; white-space: nowrap; }
.search__badge {
  flex-shrink: 0; font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  background: var(--navy); color: var(--yellow);
  padding: .28rem .5rem; border-radius: 999px;
}
.search__hint { display: none; }
.search__empty {
  margin: 0; padding: .85rem .7rem; color: var(--muted); font-weight: 600; font-size: .88rem;
}
.search.is-loading .search__ico--field { opacity: .4; }

.langs {
  display: flex;
  align-items: center;
  gap: .1rem;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  padding: .15rem;
  flex-shrink: 0;
  position: relative;
}
.langs__quick { display: flex; gap: .15rem; }
.lang {
  min-width: 34px; height: 30px; display: grid; place-items: center;
  border-radius: 999px; font-size: .72rem; font-weight: 800; color: rgba(255,255,255,.75);
}
.lang.is-current { background: var(--yellow); color: var(--navy); }
.langs__more { position: relative; flex-shrink: 0; }
.langs__more-btn {
  min-width: 28px; height: 30px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 999px;
  color: rgba(255,255,255,.75); cursor: pointer; padding: 0 .4rem;
  transition: background .16s ease, color .16s ease;
}
.langs__more-btn:hover,
.langs__more.is-open .langs__more-btn {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.langs__more-ico {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .18s ease;
}
.langs__more.is-open .langs__more-ico { transform: rotate(180deg); }
.langs__drop {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  min-width: 7.5rem;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 70;
  padding: .35rem;
  display: none;
  flex-direction: column;
  gap: .15rem;
}
.langs__more.is-open .langs__drop { display: flex; }
.langs__drop::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: .5rem;
}
.langs__drop-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: .4rem .85rem;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--navy);
  transition: background .16s ease, color .16s ease;
}
.langs__drop-item:hover,
.langs__drop-item:focus-visible {
  background: var(--soft);
  outline: none;
}
.header__wa { display: none; flex-shrink: 0; white-space: nowrap; }

/* Mobile header language switcher (dropdown) */
.lang-switch--mobile { display: none; position: relative; flex-shrink: 0; }
.lang-switch__toggle {
  width: 42px; height: 42px; border: 0; background: rgba(255,255,255,.1);
  border-radius: 10px; color: #fff; display: grid; place-content: center; cursor: pointer;
  flex-shrink: 0; position: relative; z-index: 3;
  font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  transition: background .18s ease;
}
.lang-switch__toggle:hover,
.lang-switch.is-open .lang-switch__toggle {
  background: rgba(255,255,255,.14);
}
.lang-switch__code { line-height: 1; }
.lang-switch__drop {
  position: absolute;
  top: calc(100% + .4rem);
  right: 0;
  min-width: 7.5rem;
  background: #fff;
  color: var(--navy);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 70;
  padding: .35rem;
  display: none;
  flex-direction: column;
  gap: .15rem;
}
.lang-switch.is-open .lang-switch__drop { display: flex; }
.lang-switch__drop::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 100%;
  height: .45rem;
}
.lang-switch__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: .45rem .85rem;
  border-radius: 10px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--navy);
  transition: background .16s ease, color .16s ease;
}
.lang-switch__item:hover,
.lang-switch__item:focus-visible {
  background: var(--soft);
  outline: none;
}
.lang-switch__item.is-current {
  background: var(--yellow);
  color: var(--navy);
}

/* Header tooltips (lang switcher, WhatsApp) */
.has-tip { position: relative; }
.has-tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: .35rem .65rem;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 80;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.has-tip::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--navy);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 80;
}
.has-tip:hover::after,
.has-tip:focus-visible::after,
.has-tip:hover::before,
.has-tip:focus-visible::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.burger {
  width: 42px; height: 42px; border: 0; background: rgba(255,255,255,.1);
  border-radius: 10px; display: grid; gap: 5px; place-content: center; cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}

body.nav-open .header__preview { display: none !important; }
body.nav-open .header { /* цвет панели меню не зависит от превью раздела */
  background: var(--navy);
}

/* Delivery strip */
.strip {
  position: relative; z-index: 1;
  background: var(--yellow);
  color: var(--navy);
  min-height: var(--strip-h);
}
.strip__inner {
  position: relative;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--strip-h);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem .75rem;
  flex-wrap: wrap;
  padding-block: .15rem;
  font-size: .72rem; font-weight: 700;
  line-height: 1.2;
}
.strip[data-mode="hint"] .strip__inner,
.strip[data-mode="rental"] .strip__inner,
.strip[data-mode="services"] .strip__inner {
  justify-content: center;
}
.strip__pane[hidden] { display: none !important; }
.strip__pane[data-hint-pane="default"] {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem .75rem; flex: 1; min-width: 0;
}
.strip__main { display: inline-flex; align-items: center; gap: .35rem; min-width: 0; }
.strip__main span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip__cities { display: none; align-items: center; gap: .35rem; margin: 0; font-weight: 600; opacity: .85; font-size: .72rem; }
.strip__ico, .strip__arrow, .strip__pin { width: .8rem; height: .8rem; flex-shrink: 0; }
.strip__hint {
  margin: 0; flex: 0 1 auto; min-width: 0;
  font-weight: 700; line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.strip[data-mode="hint"] .strip__hint {
  position: absolute;
  left: var(--hint-anchor-x, 50%);
  top: 50%;
  transform: translate(-50%, -50%);
}
.strip__menu {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .3rem .4rem;
}
.strip[data-mode="rental"] .strip__menu[data-hint-pane="rental"],
.strip[data-mode="services"] .strip__menu[data-hint-pane="services"] {
  position: absolute;
  left: var(--hint-anchor-x, 50%);
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 1rem);
}
.strip__chip {
  display: inline-flex; align-items: center;
  padding: .22rem .6rem; border-radius: 999px;
  background: rgba(14, 42, 77, .1);
  font-weight: 800; font-size: .78rem;
  white-space: nowrap;
}
.strip__chip:hover { background: var(--navy); color: var(--yellow); }

/* Product page strip: category + back-to-catalog (same compact height as global strip) */
.strip--product .strip__inner { flex-wrap: nowrap; }
.strip--product .strip__pane--product {
  flex: 1;
  min-width: 0;
  width: 100%;
  flex-wrap: nowrap;
}
.strip__cat { color: var(--navy); text-decoration: none; }
.strip__cat:hover { color: var(--navy-2); }
.strip__catalog {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .22rem;
  padding: .12rem .42rem;
  white-space: nowrap;
  font-size: inherit;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(14, 42, 77, .28);
  border-radius: 999px;
  color: var(--navy);
  text-decoration: none;
}
.strip__catalog:hover {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(14, 42, 77, .55);
  color: var(--navy);
}
.strip__catalog-ico {
  width: .75rem;
  height: .75rem;
  font-size: .75rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Page head */
.page-head {
  padding: 1.4rem 0 1.2rem;
}
.page-head__grid {
  display: grid;
  gap: 1.2rem;
  align-items: center;
}
.page-head__copy .h1,
.page-head__copy .h1--stroke {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-weight: 800;
  letter-spacing: -.03em;
}
.page-head .section-lead {
  margin: .85rem 0 0;
}
.page-head[data-cat="cleaning"] { --cat-accent: var(--cleaning); }
.page-head[data-cat="construction"] { --cat-accent: var(--construction); }
.page-head[data-cat="water"] { --cat-accent: var(--water); }
.page-head[data-cat="sale"] { --cat-accent: var(--construction); }
.page-head .eyebrow {
  color: var(--cat-accent, var(--navy-3));
}
.page-head .h1--stroke::after {
  background: color-mix(in srgb, var(--cat-accent, var(--yellow)) 42%, white);
  opacity: .9;
  height: .22em;
  bottom: .1em;
}
.page-head__media {
  display: none;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft);
  box-shadow: var(--shadow);
}
.page-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-intro {
  display: grid;
  gap: 1rem;
  margin-top: .4rem;
}
.crumbs { margin-bottom: .85rem; font-size: .85rem; color: var(--muted); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: .35rem .6rem; }
.crumbs__item:not(:last-child)::after { content: "/"; margin-left: .6rem; opacity: .5; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

.page-category .section {
  padding-top: 1.6rem;
}
.page-category .prose {
  margin-bottom: 1.1rem;
}
.page-category .product-grid {
  margin-top: 1.6rem;
}
.cat-article {
  margin-top: 3.2rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.6rem;
}
.cat-article .h2 { margin-bottom: .55rem; }
.prose--wide { max-width: 72ch; }
.page-product .cat-article {
  margin-top: 2.6rem;
}

/* Hero + emblem */
.hero--photo {
  position: relative;
  padding: 1.4rem 0 2rem;
  color: #fff;
  overflow: hidden;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 22, 42, .88) 0%, rgba(8, 22, 42, .72) 42%, rgba(8, 22, 42, .35) 100%),
    linear-gradient(0deg, rgba(8, 22, 42, .55), transparent 40%);
}
.hero--photo .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid; gap: 1.2rem; align-items: center;
}
.brand-lockup {
  font-size: clamp(2.4rem, 10vw, 4.2rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.04em;
  line-height: .95;
  margin: 0 0 .55rem;
  color: #fff;
}
.brand-lockup__tld {
  color: var(--yellow);
  font-size: .55em;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-left: .04em;
  vertical-align: .08em;
}
.eyebrow--on-dark { color: rgba(255,255,255,.78); }
.h1--light, .h2--light { color: #fff; }
.h1--light { font-size: clamp(1.45rem, 4.6vw, 2.35rem); max-width: 16ch; }
.hero__lead { color: var(--muted); font-size: 1.05rem; max-width: 42ch; }
.hero__lead--light { color: rgba(255,255,255,.86); font-size: .98rem; max-width: 36ch; margin-bottom: 1.2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn--glass {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.btn--glass:hover { background: rgba(255,255,255,.2); border-color: #fff; }

.page-home .hero__stage .hint { color: rgba(255,255,255,.72); }
.page-home .emblem {
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.35));
  width: min(64vw, 280px);
  animation: emblem-in .7s ease both;
}
@keyframes emblem-in {
  from { opacity: 0; transform: translateY(12px) scale(.96); }
  to { opacity: 1; transform: none; }
}

.stage { display: grid; justify-items: center; gap: .8rem; }
.emblem {
  position: relative;
  width: min(58vw, 300px);
  aspect-ratio: 1;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,.4));
}
.emblem__layer {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; pointer-events: none;
  opacity: 1;
  filter: none;
  transform: none;
  transition: opacity .28s ease, filter .28s ease, transform .32s cubic-bezier(.22,.7,.3,1);
  z-index: 1;
}
/* Без активного сектора — полный цветной круг */
html[data-active] .emblem__layer {
  opacity: .42;
  filter: brightness(.88) saturate(.75);
}
html[data-active="water"] .emblem__layer[data-layer="water"],
html[data-active="cleaning"] .emblem__layer[data-layer="cleaning"],
html[data-active="construction"] .emblem__layer[data-layer="construction"],
html[data-active="services"] .emblem__layer[data-layer="services"],
html[data-active="about"] .emblem__layer[data-layer="services"] {
  opacity: 1;
  filter: drop-shadow(0 0 22px var(--glow));
  z-index: 2;
}
html[data-active="water"] .emblem__layer[data-layer="water"] { transform: translate(-2.5%, -2.5%) scale(1.055); }
html[data-active="cleaning"] .emblem__layer[data-layer="cleaning"] { transform: translate(2.5%, -2.5%) scale(1.055); }
html[data-active="construction"] .emblem__layer[data-layer="construction"] { transform: translate(2.5%, 2.5%) scale(1.055); }
html[data-active="services"] .emblem__layer[data-layer="services"],
html[data-active="about"] .emblem__layer[data-layer="services"] { transform: translate(-2.5%, 2.5%) scale(1.055); }

.emblem__hit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: auto; }
.sector { cursor: pointer; outline: none; }
.sector path {
  fill: rgba(0, 0, 0, 0.001); /* прозрачный, но кликабельный (fill:none / transparent иногда игнорят клики) */
  pointer-events: fill;
}
.sector:focus-visible path { stroke: #fff; stroke-width: 8; fill: rgba(255,255,255,.06); }
.hint { font-size: .82rem; color: var(--muted); text-align: center; max-width: 28ch; }

/* Mobile quick directions */
.quick {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.quick__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .25rem;
  padding: .45rem 0;
}
.quick__item {
  display: grid; justify-items: center; gap: .25rem;
  padding: .35rem .2rem;
  border-radius: 12px;
  text-align: center;
  min-width: 0;
}
.quick__item:active { background: var(--soft); }
.quick__disc {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--soft); color: var(--navy);
}
.quick__item[data-cat="cleaning"] .quick__disc { background: rgba(111,184,0,.16); color: var(--cleaning-deep); }
.quick__item[data-cat="construction"] .quick__disc { background: rgba(26,74,158,.14); color: var(--construction); }
.quick__item[data-cat="water"] .quick__disc { background: rgba(0,150,224,.14); color: var(--water); }
.quick__item[data-cat="services"] .quick__disc { background: rgba(255,106,21,.16); color: var(--services-deep); }
.quick__ico { width: 1.05rem; height: 1.05rem; }
.quick__label {
  font-size: .68rem; font-weight: 800; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

.section-head { margin-bottom: 1.4rem; }
.section-head--row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem;
}

/* Photo direction cards */
.section--dirs { padding-top: 2rem; }
.dirs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.dir {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  min-height: 210px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.dir:active { transform: scale(.985); }
.dir__media {
  position: absolute; inset: 0;
}
.dir__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.dir::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,22,42,.15) 0%, rgba(8,22,42,.78) 58%, rgba(8,22,42,.92) 100%);
}
.dir__body {
  position: relative; z-index: 1;
  margin-top: auto;
  padding: .9rem .85rem 1rem;
  display: grid; gap: .25rem;
}
.dir__disc {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.16);
  margin-bottom: .2rem;
}
.dir[data-cat="cleaning"] .dir__disc { background: linear-gradient(145deg, var(--cleaning-deep), var(--cleaning-2)); }
.dir[data-cat="construction"] .dir__disc { background: linear-gradient(145deg, var(--construction-deep), var(--construction-2)); }
.dir[data-cat="water"] .dir__disc { background: linear-gradient(145deg, var(--water-deep), var(--water-2)); }
.dir[data-cat="services"] .dir__disc { background: linear-gradient(145deg, var(--services-deep), var(--services-2)); color: var(--navy); }
.dir__ico { width: 1.05rem; height: 1.05rem; }
.dir__title { font-size: .98rem; line-height: 1.15; }
.dir__note {
  font-size: .72rem; opacity: .86; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dir__go {
  display: inline-flex; align-items: center; gap: .25rem;
  margin-top: .35rem; font-size: .75rem; font-weight: 800; color: var(--yellow);
}
.dir__arrow { width: .85rem; height: .85rem; }
html[data-active="cleaning"] .dir[data-cat="cleaning"],
html[data-active="construction"] .dir[data-cat="construction"],
html[data-active="water"] .dir[data-cat="water"],
html[data-active="services"] .dir[data-cat="services"] {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Categories (legacy compact chips still used on 404 etc.) */
.cats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: .8rem;
}
.cat {
  display: flex; align-items: center; gap: .8rem;
  padding: 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.cat:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
html[data-active="cleaning"] .cat[data-cat="cleaning"],
html[data-active="construction"] .cat[data-cat="construction"],
html[data-active="water"] .cat[data-cat="water"],
html[data-active="services"] .cat[data-cat="services"] {
  border-color: transparent;
  box-shadow: var(--shadow);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.cat__disc {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--soft); color: var(--navy); flex-shrink: 0;
}
.cat[data-cat="cleaning"] .cat__disc { background: rgba(111,184,0,.14); color: var(--cleaning-deep); }
.cat[data-cat="construction"] .cat__disc { background: rgba(26,74,158,.12); color: var(--construction); }
.cat[data-cat="water"] .cat__disc { background: rgba(0,150,224,.12); color: var(--water); }
.cat[data-cat="services"] .cat__disc { background: rgba(255,106,21,.14); color: var(--services-deep); }
.cat__title { display: block; font-size: 1rem; color: var(--navy); }
.cat__note { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.cat__arrow { margin-left: auto; width: 1rem; height: 1rem; opacity: .45; }

.cat-cards, .service-cards, .product-grid, .service-grid, .info-grid, .contact-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.product-grid {
  overflow: visible;
  padding: .45rem;
  margin-inline: -.45rem;
}
.cat-card, .service-card, .info-card, .contact-card, .callout, .delivery-note {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
}
.cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cat-card__disc, .service-card__disc, .service-tile__disc {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--soft); color: var(--navy); margin-bottom: .9rem;
}
.cat-card[data-cat="cleaning"] .cat-card__disc { background: rgba(111,184,0,.14); color: var(--cleaning-deep); }
.cat-card[data-cat="construction"] .cat-card__disc { background: rgba(26,74,158,.12); color: var(--construction); }
.cat-card[data-cat="water"] .cat-card__disc { background: rgba(0,150,224,.12); color: var(--water); }
.cat-card__title a, .service-card__title a { color: var(--navy); }
.cat-card__lead, .service-card__lead { color: var(--muted); font-size: .95rem; }
.cat-card__count, .service-card__price { font-weight: 800; color: var(--navy); margin: .8rem 0 1rem; }
.cat-card__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  margin-top: auto;
  padding-top: .75rem;
}
.cat-card__meta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.25;
  text-align: center;
}
.cat-card__foot .btn { flex-shrink: 0; }
.service-card__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.product__cta {
  display: flex;
  flex-wrap: nowrap;
  gap: .55rem;
  align-items: stretch;
  width: 100%;
}
.product__cta .btn {
  flex: 1 1 0;
  min-width: 0;
}
@media (max-width: 479px) {
  .product__cta {
    flex-direction: column;
  }
}
.card__actions {
  display: flex; flex-wrap: nowrap; gap: .4rem;
  flex: 0 0 auto;
  align-items: center;
  align-self: stretch;
}
.card__actions .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  height: auto;
  padding: .35rem .55rem;
  font-size: .8rem;
  gap: .3rem;
  white-space: nowrap;
}
.card__actions .btn__ico { width: 1rem; height: 1rem; flex-shrink: 0; }

/* Badges */
.badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: .9rem;
}
.badge { display: flex; gap: .8rem; align-items: flex-start; }
.badge__disc {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--yellow);
  display: grid; place-items: center; flex-shrink: 0;
}
.badge__title { display: block; font-size: .95rem; color: var(--navy); }
.badge__note { display: block; font-size: .82rem; color: var(--muted); margin-top: .15rem; }

/* Stats / split */
.split {
  display: grid; gap: 1.5rem; align-items: center;
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.stat {
  background: #fff; border-radius: var(--radius); padding: 1rem; text-align: center;
  border: 1px solid var(--line);
}
.stats--on-dark { margin: 1.2rem 0 1.4rem; }
.stats--on-dark .stat {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.14);
  color: #fff;
}
.stats--on-dark .stat__value { color: var(--yellow); }
.stats--on-dark .stat__label { color: rgba(255,255,255,.78); }
.stat__value { display: block; font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.stat__label { display: block; font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* Photo service tiles */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
.svc {
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}
.svc:active { transform: scale(.985); }
.svc__media { aspect-ratio: 4/3; overflow: hidden; background: var(--soft); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; }
.svc__body { padding: .8rem .75rem 1rem; display: grid; gap: .35rem; }
.svc__disc {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(111,184,0,.14); color: var(--cleaning-deep);
}
.svc__ico { width: 1rem; height: 1rem; }
.svc__title { color: var(--navy); font-size: .9rem; line-height: 1.25; }
.svc__price { font-weight: 800; color: var(--cleaning); font-size: .82rem; }

.service-tile {
  display: grid; gap: .55rem; padding: 1.1rem; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .15s ease, transform .15s ease;
}
.service-tile:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.service-tile__title { color: var(--navy); }
.service-tile__price { font-weight: 800; color: var(--cleaning); font-size: .92rem; }

/* Photo bands */
.band {
  position: relative;
  color: #fff;
  padding: 3rem 0;
  overflow: hidden;
}
.band--delivery { min-height: 420px; display: flex; align-items: center; }
.band--delivery .eyebrow { color: var(--yellow); }
.band__media {
  position: absolute; inset: 0;
}
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,22,42,.9) 0%, rgba(8,22,42,.72) 48%, rgba(8,22,42,.45) 100%);
}
.band__content, .band__split { position: relative; z-index: 1; }
.band--karcher {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0a1f3a 100%);
}
.band__split {
  display: grid; gap: 1.4rem; align-items: center;
}
.band__photo {
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 16/11;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.band__photo img { width: 100%; height: 100%; object-fit: cover; }
.karcher { max-width: 48rem; }
.karcher .h2 { color: #fff; }

.cta-final {
  background: var(--yellow);
  color: var(--navy);
  padding: 2.4rem 0;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Жёлтая плашка стыкуется с футером без белого зазора */
main:has(> .cta-final:last-child) + .footer {
  margin-top: 0;
}
.cta-final__inner {
  display: grid; gap: 1.2rem;
}
.cta-final .h2 { color: var(--navy); }
.cta-final p { margin: 0; color: rgba(14,42,77,.78); max-width: 42ch; }
.cta-final .btn--navy {
  background: var(--navy); color: var(--yellow); border-color: var(--navy);
  box-shadow: 0 8px 18px rgba(14,42,77,.22);
}
.cta-final .btn--navy:hover { background: #163a66; color: #fff; }
.cta-final .btn--ghost {
  background: transparent; border-color: rgba(14,42,77,.35); color: var(--navy);
}
.cta-final .btn--ghost:hover { background: #fff; border-color: var(--navy); }

/* Cities */
.cities { padding: 3rem 0; }
.cities__list {
  display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.2rem 0 1.5rem;
}
.cities__item {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem .85rem; font-weight: 700; font-size: .88rem; color: var(--navy);
}
.cities__ico { width: .95rem; height: .95rem; color: var(--yellow); fill: var(--yellow); stroke: var(--navy); }

/* Timeline — «Как это работает» */
.timeline {
  list-style: none;
  margin: 1.2rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--yellow) 0%, rgba(255,198,26,.15) 100%);
}
.timeline__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .85rem;
  align-items: start;
  position: relative;
  padding: 0 0 1.25rem;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
}
.timeline__num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--navy);
  font-weight: 800; font-size: .95rem;
  box-shadow: 0 0 0 6px #fff, 0 8px 18px rgba(14,42,77,.12);
}
.timeline__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .95rem 1rem;
}
.timeline__title {
  margin: 0 0 .35rem;
  font-size: 1rem;
  color: var(--navy);
}
.timeline__text {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem; margin: 1.2rem 0;
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem;
}
.step__num {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow); color: var(--navy); font-weight: 800; margin-bottom: .7rem;
}
.step__title { font-size: 1rem; }
.step__text { color: var(--muted); font-size: .92rem; margin: 0; }

/* Cards / products */
.card {
  position: relative;
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  min-width: 0;
}
.product-grid .card {
  transform-origin: center center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-grid .card:hover {
  z-index: 2;
  transform: scale(1.03);
  box-shadow: 0 14px 32px rgba(14, 42, 77, .16);
}
.card__media {
  position: relative;
  flex: 0 0 auto;
}
.card__photo {
  position: relative; display: block; background: transparent; overflow: hidden;
  aspect-ratio: 1 / 1;
}
.card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; display: block;
  object-fit: contain;
}
.card__photo .photo-stub {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  aspect-ratio: auto; min-height: 0;
}
.photo-stub {
  width: 100%; aspect-ratio: 1 / 1; min-height: 140px;
  display: grid; place-content: center; gap: .5rem; text-align: center;
  color: var(--muted); background:
    linear-gradient(135deg, rgba(14,42,77,.04), rgba(255,198,26,.12));
}
.photo-stub__ico { width: 2.4rem; height: 2.4rem; margin-inline: auto; }
.photo-stub__text { font-size: .8rem; font-weight: 600; }
.card__brand, .product__brand {
  position: absolute; right: .7rem; top: .7rem; left: auto; z-index: 2;
  background: var(--navy); color: var(--yellow);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  padding: .3rem .55rem; border-radius: 999px;
  max-width: 46%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Use badges — category tint (product page «Где применяется» chips) */
.product[data-cat="cleaning"] {
  --use-bg: rgba(111, 184, 0, .24);
  --use-fg: var(--cleaning-deep);
  --use-border: rgba(111, 184, 0, .45);
  --use-shadow: rgba(74, 134, 0, .14);
}
.product[data-cat="construction"] {
  --use-bg: rgba(26, 74, 158, .18);
  --use-fg: var(--construction-deep);
  --use-border: rgba(26, 74, 158, .34);
  --use-shadow: rgba(10, 42, 110, .14);
}
.product[data-cat="water"] {
  --use-bg: rgba(0, 150, 224, .18);
  --use-fg: var(--water-deep);
  --use-border: rgba(0, 150, 224, .34);
  --use-shadow: rgba(0, 95, 168, .14);
}
.product[data-cat="garden"] {
  --use-bg: rgba(46, 158, 62, .18);
  --use-fg: var(--garden-deep);
  --use-border: rgba(46, 158, 62, .34);
  --use-shadow: rgba(28, 107, 40, .14);
}
.product[data-cat="services"] {
  --use-bg: rgba(255, 106, 21, .18);
  --use-fg: var(--services-deep);
  --use-border: rgba(255, 106, 21, .34);
  --use-shadow: rgba(196, 69, 0, .14);
}
.card__pagers, .product__pagers {
  position: absolute; left: .6rem; top: .6rem; z-index: 2;
  display: flex; flex-direction: column; flex-wrap: wrap;
  align-items: flex-start; gap: .38rem;
  max-width: calc(100% - 5.5rem);
  max-height: calc(100% - 1.2rem);
  margin: 0; padding: 0; list-style: none;
  pointer-events: none;
}
.pager {
  display: inline-flex; align-items: center;
  background: var(--use-bg, rgba(255, 255, 255, .96));
  color: var(--use-fg, var(--navy));
  border: 1px solid var(--use-border, rgba(14, 42, 77, .14));
  box-shadow: 0 2px 6px var(--use-shadow, rgba(14, 42, 77, .1));
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  font-size: .72rem; font-weight: 700; line-height: 1.3;
  letter-spacing: -.01em;
  padding: .4rem .68rem; border-radius: 999px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card__pagers .pager,
.product__pagers .pager {
  background: rgba(255, 255, 255, .85);
  color: var(--navy);
  border-color: rgba(14, 42, 77, .12);
  box-shadow: 0 1px 4px rgba(14, 42, 77, .08);
  font-size: .68rem;
  padding: .32rem .56rem;
}
.card__body {
  padding: 1rem 1.05rem 1.15rem;
  display: flex; flex-direction: column; gap: .65rem;
  flex: 1 1 auto; min-height: 0;
}
.card__title { font-size: 1.05rem; margin: 0; flex: 0 0 auto; }
.card__title a { color: var(--navy); }
.card__lead {
  color: var(--muted); font-size: .9rem; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 0 0 auto;
}
.card__prices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem;
  margin: 0;
  margin-top: auto;
  flex: 0 0 auto;
  align-self: stretch;
  align-items: start;
}
.card__price {
  position: relative;
  background: var(--soft); border-radius: 10px; padding: .45rem .55rem;
  align-self: start;
}
.card__price dt { font-size: .65rem; line-height: 1.25; color: var(--muted); }
.card__price dd { margin: 0; font-weight: 800; color: var(--navy); font-size: .95rem; }
.card__price--main { background: rgba(255,198,26,.22); }
.card__price--week { background: var(--yellow); }
.priceboard__tip {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + .35rem);
  z-index: 6;
  background: var(--navy); color: #fff;
  font-size: .75rem; font-weight: 500; line-height: 1.35;
  padding: .65rem .75rem; border-radius: 10px;
  box-shadow: 0 10px 24px rgba(14,42,77,.18);
  opacity: 0; pointer-events: none;
  transform: translateY(.2rem);
  transition: opacity .18s ease, transform .18s ease;
}
.priceboard__item--deposit:hover .priceboard__tip,
.priceboard__item--deposit:focus .priceboard__tip,
.priceboard__item--deposit:focus-visible .priceboard__tip {
  opacity: 1; transform: none;
}
.card__kind {
  position: absolute; right: .7rem; top: .7rem; left: auto; z-index: 2;
  background: var(--yellow); color: var(--navy);
  font-size: .72rem; font-weight: 800; letter-spacing: .04em;
  padding: .3rem .55rem; border-radius: 999px;
}
.priceboard__item--deposit {
  grid-column: auto;
  background: #fff; color: var(--navy);
  cursor: help;
}
.priceboard__item--deposit dt { color: var(--muted); }
.priceboard__item--deposit dd { color: var(--navy); }
.cat-consumables-title { margin: 2.2rem 0 1rem; }
.page-head[data-cat="garden"] { --cat-accent: var(--garden); }
.cat[data-cat="garden"] .cat__disc,
.cat-card[data-cat="garden"] .cat-card__disc { background: rgba(46,158,62,.14); color: var(--garden-deep); }
.sale-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

.product__grid {
  display: grid; gap: 1.5rem; align-items: start;
}
.product__media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: transparent;
}
.product__media--gallery {
  overflow: visible;
}
.product__img { width: 100%; height: auto; display: block; object-fit: contain; }
.gallery { display: grid; gap: .65rem; }
.gallery__stage {
  position: relative; border-radius: var(--radius);
  overflow: hidden; background: transparent;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  /* Height set by JS from the active image; smooth when slides differ in aspect. */
  transition: height .3s ease;
}
.gallery__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0; transition: opacity .25s ease;
  pointer-events: none;
}
.gallery__img.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .gallery__stage { transition: none; }
}
.gallery__hint {
  position: absolute; right: .7rem; bottom: .7rem; z-index: 3;
  appearance: none; border: 0; cursor: zoom-in;
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(14,42,77,.82); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  padding: .35rem .55rem; border-radius: 999px;
}
.gallery__hint:hover { background: var(--navy); }
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  appearance: none; border: 0; cursor: pointer;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(14,42,77,.78); color: #fff;
  font-size: 1.45rem; line-height: 1;
  transition: background .15s ease, color .15s ease;
}
.gallery__nav:hover { background: var(--yellow); color: var(--navy); }
.gallery__nav--prev { left: .55rem; }
.gallery__nav--next { right: .55rem; }
.gallery__counter {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 3;
  background: rgba(14,42,77,.78); color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: .3rem .55rem; border-radius: 999px;
  pointer-events: none;
}
.gallery__thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: .45rem;
}
.gallery__thumb {
  appearance: none; border: 2px solid transparent; padding: 0;
  border-radius: 10px; overflow: hidden; cursor: pointer;
  aspect-ratio: 1 / 1; background: var(--soft);
}
.gallery__thumb img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  background: linear-gradient(135deg, rgba(14,42,77,.03), rgba(255,198,26,.08));
}
.gallery__thumb.is-active { border-color: var(--yellow); }
.gallery__thumb:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.product__video { margin-top: .65rem; width: 100%; }
.product__video-label {
  margin: 0 0 .4rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}
.product__video-el {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius); background: #111;
}
.product__video-el--youtube { border: 0; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: max(.75rem, env(safe-area-inset-top)) max(.75rem, env(safe-area-inset-right))
    max(.75rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
  background: rgba(8, 18, 34, .88);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox__frame {
  position: relative; width: min(96vw, 920px); max-height: min(88vh, 920px);
  display: grid; place-items: center;
}
.lightbox__img {
  max-width: 100%; max-height: min(88vh, 920px);
  width: auto; height: auto; object-fit: contain;
  border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.35);
  background: #fff;
}
.lightbox__close,
.lightbox__nav {
  appearance: none; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff;
  transition: background .15s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,198,26,.95); color: var(--navy); }
.lightbox__close {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  width: 2.6rem; height: 2.6rem; border-radius: 999px; font-size: 1.4rem; line-height: 1;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.8rem; height: 2.8rem; border-radius: 999px; font-size: 1.5rem;
}
.lightbox__nav--prev { left: .4rem; }
.lightbox__nav--next { right: .4rem; }
.lightbox__counter {
  position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%);
  color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 600;
  background: rgba(0,0,0,.35); padding: .3rem .7rem; border-radius: 999px;
}
body.lightbox-open { overflow: hidden; }

.product__model { display: none; color: var(--muted); font-weight: 600; margin: -.2rem 0 .8rem; }
.priceboard {
  display: grid;
  grid-template-columns: repeat(var(--price-count, 1), minmax(0, 1fr));
  gap: .6rem; margin: 1.1rem 0 .5rem;
}
.priceboard[data-count="1"] {
  grid-template-columns: minmax(0, 25%);
}
@media (max-width: 1023px) {
  .priceboard {
    gap: .35rem;
    margin: .85rem 0 .4rem;
  }
  .priceboard[data-count="1"] {
    grid-template-columns: minmax(0, 50%);
  }
  .priceboard__item {
    min-width: 0;
    padding: .45rem .3rem;
    border-radius: 8px;
  }
  .priceboard__item dt {
    font-size: .58rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .priceboard__item dd {
    font-size: .9rem;
    line-height: 1.15;
    margin-top: .1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.kit-heading {
  margin: .85rem 0 .4rem;
  font-size: .82rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.35;
}
.kit-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: .5rem;
  margin: 0 0 1rem;
}
.kit-card__media {
  position: relative;
  width: 100%;
}
.kit-card {
  display: grid; gap: .28rem; justify-items: center;
  text-align: center; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: .45rem .4rem .55rem;
}
.kit-card:hover { border-color: var(--yellow); }
.kit-card__img, .kit-card .photo-stub {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: var(--soft); border-radius: 8px;
}
.kit-card__spec { font-size: .78rem; font-weight: 800; color: var(--navy); }
.kit-card__prices {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  align-items: center;
  line-height: 1.25;
}
.kit-card__price { font-size: .72rem; color: var(--muted); font-weight: 700; }
.kit-card__price--sale { color: var(--navy); }
.priceboard__item {
  position: relative;
  border: 1px solid var(--line); border-radius: 12px; padding: .8rem;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.priceboard__item dt { font-size: .7rem; line-height: 1.25; color: var(--muted); }
.priceboard__item dd { margin: .15rem 0 0; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.priceboard__item.is-main { background: var(--navy); border-color: var(--navy); color: #fff; }
.priceboard__item.is-main dt { color: rgba(255,255,255,.7); }
.priceboard__item.is-main dd { color: var(--yellow); }
.priceboard__item.priceboard__item--week {
  background: var(--yellow); border-color: var(--yellow); color: var(--navy);
}
.priceboard__item.priceboard__item--week dt { color: rgba(14,42,77,.7); }
.priceboard__item.priceboard__item--week dd { color: var(--navy); }
.priceboard__item.priceboard__item--deposit {
  background: #fff; border-color: var(--line); color: var(--navy); cursor: help;
}
.priceboard__item.priceboard__item--deposit dt { color: var(--muted); }
.priceboard__item.priceboard__item--deposit dd { color: var(--navy); }
.priceboard__item.priceboard__item--sale {
  background: rgba(31, 138, 59, .12); border-color: rgba(31, 138, 59, .35); color: var(--navy);
}
.priceboard__item.priceboard__item--sale dt { color: var(--muted); }
.priceboard__item.priceboard__item--sale dd { color: #1f8a3b; }
a.priceboard__item.priceboard__item--link {
  text-decoration: none; color: inherit; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
@media (hover: hover) {
  a.priceboard__item.priceboard__item--link:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 138, 59, .65);
    box-shadow: 0 10px 24px rgba(31, 138, 59, .16);
  }
}
a.priceboard__item.priceboard__item--link:focus-visible {
  outline: 2px solid rgba(31, 138, 59, .55);
  outline-offset: 2px;
}
.priceboard__item--calc { cursor: help; outline: none; }
@media (hover: hover) {
  .priceboard__item--calc:hover {
    transform: translateY(-2px);
    border-color: rgba(255,198,26,.85);
    box-shadow: 0 10px 24px rgba(14,42,77,.12);
    z-index: 2;
  }
  .priceboard__item--calc:hover .priceboard__calc {
    max-height: 6rem; opacity: 1;
    margin-top: .55rem; padding-top: .55rem; border-top-width: 1px;
  }
}
.priceboard__item--calc:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,198,26,.85);
  box-shadow: 0 10px 24px rgba(14,42,77,.12);
  z-index: 2;
}
.priceboard__calc {
  display: grid; gap: .2rem;
  margin-top: .55rem; padding-top: .55rem;
  border-top: 1px dashed rgba(14,42,77,.18);
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; padding-top: 0; border-top-width: 0;
  transition: max-height .28s ease, opacity .22s ease, margin .22s ease, padding .22s ease, border-width .22s ease;
}
.priceboard__item--calc:focus-visible .priceboard__calc {
  max-height: 6rem; opacity: 1;
  margin-top: .55rem; padding-top: .55rem; border-top-width: 1px;
}
.priceboard__formula {
  font-size: .72rem; color: var(--muted); font-weight: 600;
}
.priceboard__daily {
  font-size: .92rem; color: var(--navy); font-weight: 800;
}
.priceboard__save {
  font-size: .72rem; font-weight: 700; color: #1f8a3b;
}
.price-note { font-size: .85rem; color: var(--muted); }

.priceboard-wrap { margin: 0; }

.product__catalog { display: none; }

@media (min-width: 1024px) {
  .page-product .page-head__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .page-product .page-head__row .crumbs {
    margin-bottom: 0;
    min-width: 0;
  }
}

.product__detail {
  display: grid; gap: 2rem;
}
.product__how-rent {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.specs, .pricelist { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.specs__row, .pricelist__row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  padding: .75rem 1rem; border-bottom: 1px solid var(--line);
}
.specs__row:last-child, .pricelist__row:last-child { border-bottom: 0; }
.specs__row dt, .pricelist__row dt { color: var(--muted); }
.specs__row dd, .pricelist__row dd { margin: 0; font-weight: 700; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .85rem 0 1.25rem; }
.chip {
  background: var(--soft); border-radius: 999px; padding: .42rem .78rem;
  font-size: .85rem; font-weight: 600; color: var(--navy);
  line-height: 1.35;
}
.chips--uses .chip {
  background: var(--use-bg, var(--soft));
  color: var(--use-fg, var(--navy));
  border: 1px solid var(--use-border, var(--line));
  box-shadow: 0 1px 4px var(--use-shadow, rgba(14, 42, 77, .07));
  font-size: .88rem;
  font-weight: 700;
  padding: .5rem .95rem;
}
.chips--uses .chip a {
  color: inherit;
  text-decoration: none;
}
.chips--uses .chip a:hover {
  text-decoration: underline;
}

.task-filter {
  margin: 0 0 1.35rem;
}
.task-filter__title {
  margin: 0 0 .7rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.task-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.task-filter__btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
  padding: .45rem .8rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
a.task-filter__btn:visited {
  color: var(--navy);
}
a.task-filter__btn.is-active:visited {
  color: var(--yellow);
}
.task-filter__btn:hover {
  border-color: rgba(14, 42, 77, .35);
  transform: translateY(-1px);
}
.task-filter__btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--yellow);
}
.task-filter__btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
.cat-eyebrow {
  text-align: center;
  margin: 0 0 1.1rem;
  color: var(--cat-accent, var(--navy-3));
}
.cat-eyebrow[data-cat="cleaning"] { --cat-accent: var(--cleaning); }
.cat-eyebrow[data-cat="construction"] { --cat-accent: var(--construction); }
.cat-eyebrow[data-cat="water"] { --cat-accent: var(--water); }
.cat-eyebrow[data-cat="garden"] { --cat-accent: var(--garden); }
.cat-eyebrow[data-cat="sale"] { --cat-accent: var(--construction); }
.product-grid .card.is-filtered-out {
  display: none;
}
[data-product-grid] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  scroll-margin-top: calc(var(--masthead-h) + 0.375rem);
}
@media (min-width: 640px) {
  [data-product-grid],
  [data-product-grid][data-cols="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  [data-product-grid][data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  [data-product-grid][data-cols="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .page-category .page-head .crumbs {
    display: none;
  }
  .page-category .page-head .h1,
  .page-category .page-head .h1--stroke {
    text-align: center;
    width: 100%;
    margin-inline: auto;
  }
  .page-category .page-head .section-lead {
    display: none;
  }
  .page-category .task-filter__title {
    text-align: center;
    width: 100%;
  }
  .page-head .h1--stroke::after {
    background: var(--yellow);
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 639px) {
  .table:not(.price-table) th,
  .table:not(.price-table) td {
    padding: .6rem .5rem;
    font-size: .82rem;
    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .table:not(.price-table) th { font-size: .76rem; }
  .table:not(.price-table) .city-cell { gap: .3rem; }
  .table:not(.price-table) .tag { font-size: .72rem; padding: .15rem .45rem; }

  .page-category .page-head .h1 {
    font-size: clamp(1.45rem, 5.5vw, 1.75rem);
  }
  .page-category .task-filter__title {
    font-size: 1rem;
    margin-bottom: .55rem;
  }
  .page-category .task-filter__btn {
    font-size: .75rem;
    padding: .38rem .65rem;
  }

  /* Compact product cards in 2-col grids */
  .product-grid .card {
    min-width: 0;
  }
  .product-grid .card__pagers,
  .product-grid .card__brand {
    display: none;
  }
  .product-grid .card__body {
    min-width: 0;
    padding: .75rem .65rem .85rem;
    gap: .45rem;
  }
  .product-grid .card__title {
    font-size: .9rem;
  }
  .product-grid .card__lead {
    font-size: .78rem;
  }
  .product-grid .card__prices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .3rem;
    margin-top: auto;
  }
  .product-grid .card__price {
    min-width: 0;
    padding: .3rem .42rem;
    border-radius: 8px;
  }
  .product-grid .card__price:only-child {
    grid-column: 1 / -1;
  }
  .product-grid .card__price dt {
    font-size: .58rem;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
  .product-grid .card__price dd {
    font-size: .8rem;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
  }
  .product-grid .card__actions .btn--ghost {
    display: none;
  }
  .product-grid .card__actions .btn--yellow {
    flex: 1 1 100%;
    width: 100%;
  }

  .page-rental .cat-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  .page-rental .cat-card {
    padding: .85rem .75rem;
  }
  .page-rental .cat-card__disc {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: .55rem;
  }
  .page-rental .cat-card__title {
    font-size: .88rem;
  }
  .page-rental .cat-card__lead {
    font-size: .78rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .page-rental .cat-card__foot {
    margin-top: auto;
    padding-top: .5rem;
    gap: .4rem;
  }
  .page-rental .cat-card__meta {
    font-size: .72rem;
  }
  .page-rental .cat-card__foot .btn {
    padding: .32rem .55rem;
    font-size: .72rem;
    min-height: 32px;
  }
}
.cat-foot-note {
  margin: 1.75rem 0 1rem;
}

.delivery-note { display: flex; gap: .9rem; margin: 1.4rem 0; background: rgba(255,198,26,.12); border-color: rgba(255,198,26,.45); }
.delivery-note__disc {
  width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--yellow);
  display: grid; place-items: center; flex-shrink: 0;
}
.delivery-note__title { display: block; color: var(--navy); margin-bottom: .25rem; }
.delivery-note__text { margin: 0; color: var(--muted); font-size: .92rem; }

/* Zone notice: first child of .section.product > .wrap.product__grid (same width as product).
   When present, shrink section top padding so the alert sits under breadcrumbs (not below 3.2rem). */
.section.product:has(.product-zone-notice),
.section.product.is-zone-notice {
  padding-top: .85rem;
}
.product__grid > [data-zone-notice-mount][hidden] {
  display: none;
}
.product__grid > .product-zone-notice {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0 0 .15rem;
  box-sizing: border-box;
}
.product-zone-notice {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: .55rem 2.4rem .55rem 1rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(255, 198, 26, .38);
  background:
    linear-gradient(165deg, rgba(255, 248, 220, .72), rgba(255, 216, 77, .38) 55%, rgba(255, 198, 26, .28)),
    rgba(255, 255, 255, .28);
  color: var(--navy);
  box-shadow:
    0 10px 28px rgba(14, 42, 77, .07),
    0 1px 0 rgba(255, 255, 255, .55) inset,
    0 0 0 1px rgba(255, 255, 255, .22) inset;
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  box-sizing: border-box;
  position: relative;
  opacity: 0;
  transform: translateY(-.45rem) scale(.985);
  transition:
    opacity .45s cubic-bezier(.22, 1, .36, 1),
    transform .5s cubic-bezier(.22, 1, .36, 1);
}
.product-zone-notice.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .product-zone-notice {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.product-zone-notice__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0 .25rem;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}
.product-zone-notice__place,
.product-zone-notice__area {
  font-weight: 800;
}
.product-zone-notice__link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .12em;
}
.product-zone-notice__link:hover {
  color: var(--navy-2);
}
.product-zone-notice__close {
  flex-shrink: 0;
  position: absolute;
  top: .35rem;
  right: .4rem;
  width: 1.75rem;
  height: 1.75rem;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .35);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
  z-index: 1;
}
.product-zone-notice__close:hover,
.product-zone-notice__close:focus-visible {
  opacity: 1;
  background: rgba(14, 42, 77, .1);
  outline: none;
}
.product-zone-notice[hidden] { display: none; }

.callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  margin: 1.5rem 0; background: var(--soft);
}
.callout p { margin: 0; font-weight: 600; color: var(--navy); max-width: 48ch; }

.process { display: grid; gap: .65rem; margin: 1rem 0; }
.process__item {
  display: flex; align-items: flex-start; gap: .7rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1rem;
}
.process__num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex-shrink: 0;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.table-wrap + .info-grid { margin-top: 1.5rem; }
.info-grid + .callout { margin-top: 1.5rem; }
.table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.table th, .table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--navy); color: #fff; font-size: .85rem; }
.table tr:last-child td { border-bottom: 0; }
.table:not(.price-table) th:nth-child(1),
.table:not(.price-table) td:nth-child(1) { width: 38%; }
.table:not(.price-table) th:nth-child(2),
.table:not(.price-table) td:nth-child(2) { width: 34%; }
.table:not(.price-table) th:nth-child(3),
.table:not(.price-table) td:nth-child(3) { width: 28%; }

/* --- Price list --- */
.price-list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}
.price-list-note {
  flex: 1 1 280px;
  margin: 0;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
}
.price-list-export {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.price-table-host {
  --price-table-sticky-top: var(--masthead-h);
}
.price-table-sticky {
  z-index: 4;
  margin: 0;
}
.price-table-sticky[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
  border: 0;
}
.price-table-sticky[hidden] .price-table-sticky__scroll {
  border: 0;
}
.price-table-sticky:not([hidden]) {
  visibility: visible;
  pointer-events: auto;
}
.price-table-sticky__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #fff;
}
.price-table-sticky__scroll::-webkit-scrollbar { display: none; }
.price-table-sticky__row {
  display: grid;
  min-width: 900px;
}
.price-table-sticky__cell {
  padding: .85rem 1rem;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-align: right;
  box-shadow: 0 2px 6px rgba(14, 42, 77, .18);
}
.price-table-sticky__cell--name {
  text-align: left;
}
.price-table-wrap {
  margin-top: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.price-table-host:has(.price-table-sticky:not([hidden])) .price-table-wrap {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.price-table { min-width: 900px; }
.price-table thead th {
  background: var(--navy);
}
.price-table__col-name,
.price-table__name {
  width: 40%;
  min-width: 400px;
}
.price-table__category th {
  position: static;
  background: var(--soft);
  color: var(--navy);
  font-size: .9rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table__name a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}
.price-table__name a:hover { text-decoration: underline; }
.price-table__price {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.city-cell { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); }
.city-cell__ico { width: 1rem; height: 1rem; color: var(--yellow); }
.tag { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.tag--free { background: rgba(111,184,0,.18); color: var(--cleaning-deep); }

.info-card__ico { display: inline-flex; color: var(--navy); margin-bottom: .5rem; }
.info-card__ico .ico { width: 1.5rem; height: 1.5rem; }
.info-card p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { display: grid; gap: .55rem; margin-top: 1rem; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .2rem 1rem;
}
.faq__q {
  cursor: pointer; font-weight: 700; color: var(--navy); padding: .85rem 0; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__a { color: var(--muted); padding: 0 0 1rem; margin: 0; }

/* Contacts */
.contact-card--main { background: var(--navy); color: #fff; border-color: var(--navy); }
.contact-card--main .h3 { color: #fff; }
.contact-card--main p { color: rgba(255,255,255,.8); }
.contact-card__link, .contact-card__plain {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1.15rem; color: var(--navy);
}

/* Footer */
.footer {
  background: var(--navy); color: rgba(255,255,255,.78); padding: 3rem 0 2rem;
  margin-top: 2rem;
}
.footer__inner {
  width: min(100% - 1.5rem, var(--max)); margin-inline: auto;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.footer__title { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer__about { font-size: .92rem; max-width: 36ch; }
.footer__karcher { display: inline-flex; align-items: center; gap: .45rem; color: var(--yellow); font-weight: 700; font-size: .88rem; }
.footer__list { display: grid; gap: .45rem; }
.footer__list a:hover { color: var(--yellow); }
.footer__list--contact a, .footer__plain {
  display: inline-flex; align-items: center; gap: .45rem;
}
.footer__ico { width: 1rem; height: 1rem; }
.footer__bottom {
  width: min(100% - 1.5rem, var(--max)); margin: 2rem auto 0;
  padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: .75rem 1.25rem;
  font-size: .82rem;
}
.footer__cities {
  display: inline-flex; align-items: center; gap: .4rem; margin: 0;
  justify-self: start; min-width: 0;
}
.footer__dev { margin: 0; justify-self: center; line-height: 0; }
.footer__rights {
  margin: 0; opacity: .7; justify-self: end; text-align: right; min-width: 0;
}
.footer__col--contact { display: flex; flex-direction: column; }
.footer__dev-link {
  display: inline-block;
  line-height: 0;
  opacity: .85;
  transition: opacity .15s ease;
}
.footer__dev-link:hover { opacity: 1; }
.footer__dev-logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}
@media (max-width: 720px) {
  .footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: .85rem;
  }
  .footer__cities,
  .footer__dev,
  .footer__rights {
    justify-self: center;
    text-align: center;
  }
  .footer__cities { flex-wrap: wrap; justify-content: center; }
}

/* Admin edit float (manager only) */
.admin-edit-float {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 61;
  display: inline-flex; align-items: center;
  padding: .85rem 1.1rem; border-radius: 999px;
  font-weight: 800; font-size: .92rem; text-decoration: none;
  background: rgba(255,255,255,.96); color: var(--navy);
  border: 2px solid var(--navy);
  box-shadow: 0 12px 28px rgba(14,42,77,.18);
}
.admin-edit-float:hover { background: var(--navy); color: #fff; }

.card__admin-edit {
  position: absolute; left: .45rem; bottom: .45rem; top: auto; z-index: 3;
  padding: .28rem .5rem; border-radius: 999px;
  font-size: .65rem; font-weight: 800; text-decoration: none;
  background: rgba(255,255,255,.82); color: var(--navy);
  border: 1px solid rgba(14,42,77,.35);
  box-shadow: 0 2px 8px rgba(14,42,77,.12);
  backdrop-filter: blur(4px);
}
.card__admin-edit:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* WhatsApp float + callbar */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: none; align-items: center; gap: .55rem;
  background: var(--yellow); color: var(--navy);
  padding: .85rem 1.1rem; border-radius: 999px;
  font-weight: 800; box-shadow: 0 12px 28px rgba(14,42,77,.25);
}
.wa-float__ico { width: 1.35rem; height: 1.35rem; }
.wa-float__text { display: none; }

.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: .55rem; padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(14, 42, 77, .96); backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,.08);
}
.callbar__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 48px; border-radius: 999px; font-weight: 800;
  border: none; font: inherit; cursor: pointer;
}
.callbar__btn--wa { flex: 1; background: var(--yellow); color: var(--navy); font-weight: 800; }
.callbar__btn--share,
.callbar__btn--call { width: 52px; flex-shrink: 0; background: rgba(255,255,255,.1); color: #fff; }
.callbar__ico { width: 1.2rem; height: 1.2rem; }

.share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--callbar-h) + .75rem + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  transform: translate(-50%, .5rem);
  max-width: calc(100% - 2rem);
  padding: .55rem .85rem;
  border-radius: 999px;
  background: rgba(14, 42, 77, .96);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 8px 24px rgba(14, 42, 77, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.share-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Language suggestion (client-injected, bottom-left) */
.lang-suggest {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 65;
  display: flex;
  align-items: center;
  gap: .65rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: .55rem .55rem .55rem .85rem;
  border-radius: var(--radius-sm);
  background: rgba(14, 42, 77, .96);
  color: #fff;
  box-shadow: 0 10px 28px rgba(14, 42, 77, .28);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(.4rem);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.lang-suggest.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-suggest__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.lang-suggest__actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
}
.lang-suggest__switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .38rem .7rem;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  font-size: .75rem;
  line-height: 1.2;
  white-space: nowrap;
}
.lang-suggest__switch:hover {
  background: var(--yellow-2);
}
.lang-suggest__close {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.lang-suggest__close:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

@media (max-width: 759px) {
  .lang-suggest {
    bottom: calc(var(--callbar-h) + .75rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 760px) and (max-width: 1023px) {
  .product__kits .kit-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }
}

@media (max-width: 759px) {
  .product__kits .kit-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .38rem;
  }
  .product__kits .kit-card {
    padding: .32rem .25rem .4rem;
    gap: .18rem;
    border-radius: 10px;
  }
  .product__kits .kit-card__spec {
    font-size: .66rem;
    line-height: 1.2;
  }
  .product__kits .kit-card__price {
    font-size: .6rem;
  }
  .product__kits .kit-card .card__brand {
    font-size: .55rem;
    padding: .22rem .36rem;
    max-width: 58%;
    right: .28rem;
    top: .28rem;
  }

  .admin-edit-float {
    bottom: calc(var(--callbar-h) + .85rem + env(safe-area-inset-bottom, 0px));
  }
  .card__pagers,
  .product__pagers {
    left: .5rem; top: .5rem;
    gap: .32rem;
    max-width: calc(100% - 4.5rem);
  }
  .card__pagers .pager,
  .product__pagers .pager {
    font-size: .62rem;
    padding: .28rem .5rem;
  }
  .product-grid .card__brand,
  .product-grid .card__kind,
  .kit-card .card__brand {
    font-size: .62rem;
    padding: .28rem .5rem;
    max-width: 52%;
  }
  .product-grid .card__brand,
  .product-grid .card__kind {
    right: .5rem;
    top: .5rem;
  }
  .kit-card .card__brand {
    right: .35rem;
    top: .35rem;
  }
  .chips--uses { gap: .42rem; }
  .chips--uses .chip {
    font-size: .82rem;
    padding: .42rem .78rem;
  }
}

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .wa-float { display: inline-flex; }
  .wa-float__text { display: inline; }
  .header__wa { display: inline-flex; }
  .header__cluster { position: relative; }
  .search { position: static; display: flex; align-items: center; }
  .search__toggle { display: grid; }
  .search__panel { display: contents; }
  .search__box {
    position: absolute;
    left: 0;
    right: 42px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    overflow: hidden;
    min-width: 0;
    height: 42px;
    padding: 0 .35rem 0 .7rem;
    border-width: 1px;
    border-color: rgba(255,255,255,.14);
    border-radius: 10px 0 0 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 2;
  }
  .search.is-open .search__box {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .search.is-open .search__toggle {
    border-radius: 0 10px 10px 0;
    background: rgba(255,255,255,.12);
  }
  .search__ico--field { display: none; }
  .search__drop {
    left: 0;
    right: 42px;
    width: auto;
    top: calc(100% + 2px);
  }
  .header.is-search-open .nav,
  .header.is-search-open .header__preview {
    visibility: hidden;
    pointer-events: none;
  }
  .strip__cities { display: inline-flex; }
  .strip__inner { font-size: .82rem; padding-block: .2rem; gap: .6rem .9rem; }
  .strip__ico, .strip__arrow, .strip__pin { width: .9rem; height: .9rem; }
  .strip__cities { font-size: .74rem; }
  :root { --strip-h: 36px; }
  .strip[data-mode="default"] .strip__main span { white-space: nowrap; }
  .quick { display: none; }
  .hero--photo {
    min-height: min(86vh, 780px);
    padding: 2.5rem 0 3rem;
  }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 2rem; }
  .page-head--split .page-head__grid {
    grid-template-columns: 1.05fr .95fr;
    gap: 2rem;
    align-items: stretch;
  }
  .page-head__media {
    display: block;
    min-height: 100%;
    aspect-ratio: auto;
  }
  .page-home .emblem { width: min(36vw, 400px); }
  .dirs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .dir { min-height: 320px; }
  .dir:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14,42,77,.2); }
  .dir:hover .dir__media img { transform: scale(1.06); }
  .dir__title { font-size: 1.15rem; }
  .dir__note { font-size: .82rem; -webkit-line-clamp: 3; }
  .svc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .band__split { grid-template-columns: 1.1fr .9fr; gap: 2rem; }
  .cta-final__inner {
    grid-template-columns: 1.2fr auto;
    align-items: center;
  }
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .timeline::before {
    left: 8%;
    right: 8%;
    top: 18px;
    bottom: auto;
    width: auto;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow) 0%, rgba(255,198,26,.2) 100%);
  }
  .timeline__item {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    justify-items: stretch;
    align-items: start;
    text-align: center;
    padding: 0;
    gap: .8rem;
    height: 100%;
  }
  .timeline__marker {
    justify-self: center;
  }
  .timeline__card {
    text-align: left;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .timeline__num {
    box-shadow: 0 0 0 6px var(--soft), 0 8px 18px rgba(14,42,77,.12);
  }
  .split { grid-template-columns: 1.2fr .8fr; }
  .product__detail { grid-template-columns: 1fr 1fr; }
  .product__detail--single { grid-template-columns: minmax(0, 46rem); }
  .stat__value { font-size: 1.6rem; }
  .stat__label { font-size: .78rem; }
}

@media (min-width: 760px) and (max-width: 1099px) {
  .header__wa { min-width: 42px; min-height: 42px; padding: 0 .7rem; }
  .header__wa span { display: none; }
}

@media (max-width: 1023px) {
  .header__inner { gap: .65rem; }
  .header__side { gap: .4rem; }
  .brand__logo { height: 44px; max-width: min(200px, 42vw); }
}

@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav__link--desktop { display: inline-flex; }
  .nav__link--mobile { display: none !important; }
  .nav__accordion { display: none !important; }
  .burger { display: none; }
  .header__preview-note { display: block; }
  .product__grid { grid-template-columns: .95fr 1.05fr; gap: 2rem; }
  .page-head--split .page-head__grid {
    grid-template-columns: 3fr 1fr;
    gap: 1.5rem;
    align-items: center;
  }
  .page-head--split .page-head__media {
    min-height: 0;
    max-height: 220px;
    aspect-ratio: 4 / 3;
    align-self: center;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .header__inner { gap: .65rem; }
  .brand__logo { height: 46px; max-width: min(210px, 26vw); }
  .nav { gap: .1rem; }
  .nav__link { padding: .35rem .4rem; font-size: .76rem; }
  .strip__chip { font-size: .74rem; padding: .2rem .5rem; }
}

@media (min-width: 1280px) {
  .nav__link { font-size: .84rem; padding: .4rem .6rem; }
}

@media (min-width: 1100px) {
  .emblem { width: 420px; }
  .wa-float { right: 1.5rem; bottom: 1.5rem; }
}

@media (max-width: 1023px) {
  .product__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
  .page-product .page-head { display: none; }
  .page-product .section.product {
    padding-top: 1rem;
  }
  .page-product .section.product:has(.product-zone-notice),
  .page-product .section.product.is-zone-notice {
    padding-top: .75rem;
  }
  .page-product .product__info > .h1,
  .page-product .product__info > .product__model,
  .page-product .product__info > .section-lead {
    text-align: center;
    width: 100%;
  }
  .page-product .h1--product .pager--h1 {
    font-size: .41em;
    font-weight: 600;
    margin-left: .35em;
    padding: .12em .28em;
    top: -.1em;
    letter-spacing: 0;
    border-radius: 999px;
    background: rgba(14, 42, 77, .06);
    border: 1px solid rgba(14, 42, 77, .1);
  }
  .page-product .product__info > .h1 {
    order: 2;
    font-size: clamp(1.25rem, 5.2vw, 1.55rem);
    margin-bottom: 0;
  }
  .page-product .h2 {
    font-size: clamp(1.08rem, 4.2vw, 1.35rem);
  }
  .page-product .product__info > .section-lead {
    font-size: .92rem;
    margin-top: -.75rem;
    margin-bottom: -.75rem;
    margin-inline: auto;
  }
  .page-product .kit-heading {
    font-size: .76rem;
  }
  .priceboard {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .priceboard[data-count="1"] {
    grid-template-columns: minmax(0, 50%);
  }
  .product__media,
  .product__info {
    display: contents;
  }
  .page-product .product__info > .product__model {
    order: 3;
    margin-top: -.85rem;
    margin-bottom: 0;
  }
  .product__info > .section-lead { order: 4; }
  .product__grid > .product-zone-notice {
    order: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .product__media > .gallery,
  .product__media > .product__img {
    order: 5;
    width: 100%;
    min-height: min-content;
  }
  .product__media > .gallery {
    display: grid;
    gap: .65rem;
  }
  .product__media > .product__pagers { order: 5; }
  .product__media > .product__brand { order: 5; }
  .product__media > .product__video { order: 6; width: 100%; min-height: min-content; }
  .product__info > .priceboard-wrap { order: 7; width: 100%; min-height: min-content; }
  .page-product .product__info > .price-note {
    order: 8;
    text-align: center;
    width: 100%;
  }
  .product__info > .product__cta { order: 9; }
  .product__info > .product__kits { order: 10; width: 100%; }
  .product__info > .reviews { order: 11; width: 100%; }
  .gallery__thumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: .45rem;
    padding-bottom: .2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .gallery__thumb {
    flex: 0 0 4rem;
    width: 4rem;
  }

  .header__side .langs { display: none; }
  .lang-switch--mobile { display: block; }

  body.nav-open {
    overflow: hidden;
  }
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    top: var(--header-h);
    background: rgba(0, 0, 0, .42);
    z-index: 45; /* below .masthead (50) so nav/langs stay bright + clickable */
  }
  body.nav-open .header {
    z-index: 70;
    background: var(--navy) !important;
    box-shadow: none;
  }
  body.nav-open .header__center {
    overflow: visible;
  }
  body.nav-open .nav {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    inset: var(--header-h) 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 60;
    visibility: visible !important;
    pointer-events: auto !important;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 55%, #0a1f3a 100%);
    padding: 1.75rem 1.5rem calc(1.5rem + var(--callbar-h) + env(safe-area-inset-bottom, 0px));
    gap: 0;
    border: 0;
    box-shadow: none;
    min-height: calc(100dvh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
  }
  body.nav-open .nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 22rem;
    min-height: 3.25rem;
    padding: .95rem 2.5rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.92);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -.01em;
    text-align: center;
    white-space: normal;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
  }
  body.nav-open .nav__link--desktop {
    display: none !important;
  }
  body.nav-open .nav__link:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  body.nav-open .nav__link.is-current {
    background: transparent;
    color: var(--yellow);
    box-shadow: none;
    border-radius: 0;
    border-bottom: 2px solid var(--yellow);
  }
  .nav__link--desktop { display: none; }
  body.nav-open .nav__accordion {
    display: block;
    width: 100%;
    max-width: 22rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav__accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    position: relative;
    width: 100%;
    min-height: 3.25rem;
    padding: .95rem 2.75rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: rgba(255,255,255,.92);
    font: inherit;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -.01em;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
  }
  .nav__accordion-toggle:hover,
  .nav__accordion.is-expanded .nav__accordion-toggle {
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  .nav__accordion-toggle.is-current {
    background: transparent;
    color: var(--yellow);
    box-shadow: none;
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: .35em;
  }
  .nav__accordion-chevron {
    position: absolute;
    right: 1rem;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    transform: rotate(90deg);
    transition: transform .28s ease;
    opacity: .8;
  }
  .nav__accordion.is-expanded .nav__accordion-chevron {
    transform: rotate(-90deg);
  }
  .nav__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .35s ease;
  }
  .nav__accordion.is-expanded .nav__submenu {
    max-height: 18rem;
    opacity: 1;
    padding: .35rem 0 .85rem;
  }
  .nav__submenu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .7rem 1.25rem;
    border-radius: 12px;
    color: rgba(255,255,255,.82);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: background .2s ease, color .2s ease;
  }
  .nav__submenu-link + .nav__submenu-link,
  .nav__submenu li + li .nav__submenu-link {
    margin-top: .15rem;
  }
  .nav__submenu-link:hover {
    background: rgba(255,255,255,.07);
    color: #fff;
  }
  .nav__submenu-link.is-current {
    background: transparent;
    color: var(--yellow);
    box-shadow: none;
    border-radius: 0;
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: .25em;
  }
  body.nav-open .burger {
    background: rgba(255,255,255,.14);
  }
  body.nav-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .burger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  body.nav-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 759px) {
  /* Catalog microcards: natural row height, no flex-basis collapse */
  .product-grid,
  [data-product-grid] {
    align-items: start;
  }
  .product-grid .card {
    height: auto;
  }
  .product-grid .card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Header search only — do not apply to .search--home (always .is-open).
     Keep masthead sticky; box/drop stay in the sticky stacking context. */
  .search:not(.search--home).is-open .search__box {
    position: absolute;
    left: .75rem; right: .75rem;
    top: calc(100% + .4rem);
    z-index: 72;
    min-width: 0;
    background: rgba(14, 42, 77, .98);
  }
  .search:not(.search--home).is-open .search__drop {
    left: .75rem; right: .75rem;
    width: auto;
    top: calc(100% + 3.55rem);
    /* Nested scroll: sticky masthead would otherwise pin a tall list. */
    overflow-y: auto;
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  /* Home search: full-height results — page scrolls (not under sticky header). */
  .search--home .search__drop {
    max-height: none;
    overflow: visible;
    touch-action: auto;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .product-grid .card:hover {
    transform: none;
  }
}

/* —— Home MVP: purpose, search, category chips —— */
.home-shell {
  position: relative;
}
.home-stage {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--masthead-h) * -1);
  padding-top: var(--masthead-h);
  padding-bottom: 0;
  /* Visible so .search__drop can extend past the stage; slides clip via .home-stage__bg */
  overflow: visible;
  /* Shared band: soft page-bg fade + «Ещё задачи» */
  --home-seam-h: 2.75rem;
}
/* Drop paints above .home-feed-section (z-index: 2) + tasks veil, still under sticky .masthead (50) */
.home-stage:has(.search__drop:not([hidden])) {
  z-index: 8;
}
.home-stage__bg,
.home-stage__dim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-stage__bg {
  z-index: 0;
  overflow: hidden;
}
.home-stage__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .55s ease, transform 1.1s ease;
}
.home-stage__slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.home-stage__dim {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 22, 42, .42) 0%, rgba(8, 22, 42, .2) 42%, rgba(8, 22, 42, .08) 72%, rgba(255, 255, 255, .35) 100%);
}
.home-stage__content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-inline: auto;
}
.home-stage__panel {
  position: relative;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-radius: 0;
  padding: 1.05rem 0 0;
  /* Seam lives in padding — fade + «Ещё задачи» share it */
  padding-bottom: var(--home-seam-h);
  box-shadow: none;
}
.home-stage__panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--home-seam-h);
  pointer-events: none;
  z-index: 3;
  background: var(--page-bg);
  background-attachment: fixed;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 38%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .35) 38%, #000 100%);
}
/* Home: translucent masthead over the stage photo */
body.page-home.is-home-hero .header {
  background: rgba(14, 42, 77, .48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, .1);
  transition: background .3s ease, box-shadow .3s ease;
}
body.page-home.is-home-hero .header.is-previewing,
body.page-home.is-home-hero .header[data-preview] {
  /* Keep photo visible through header; skip solid category color washes */
  background: rgba(14, 42, 77, .42);
  background-blend-mode: normal;
}
body.page-home.is-home-hero .strip {
  background: rgba(255, 198, 26, .9);
}

.home-purpose {
  position: relative;
  padding: .35rem 0 .35rem;
  overflow: visible;
  text-align: center;
}
.home-purpose::before {
  display: none;
}
.home-purpose__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-inline: auto;
  animation: home-purpose-in .55s ease both;
}
@keyframes home-purpose-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.home-purpose .brand-lockup--ink {
  color: var(--navy);
  font-size: clamp(1.7rem, 6.2vw, 2.55rem);
  margin: 0 auto .55rem;
}
.home-purpose__h1 {
  font-size: clamp(1.15rem, 3.4vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.28;
  color: var(--navy);
  max-width: 28em;
  margin: 0 auto;
  text-wrap: balance;
}

.home-search {
  position: relative;
  /* Above .home-tasks__veil (4) so .search__drop covers «Ещё задачи» */
  z-index: 5;
  padding-top: .65rem;
  padding-bottom: .15rem;
}
/* Drop is trapped in this stacking context — must beat .home-tasks__veil (z-index: 4) */
.home-search:has(.search__drop:not([hidden])) {
  z-index: 6;
}
.home-filters {
  padding-top: .85rem;
}
.home-feed-section {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-top: .7rem;
}
.search--home {
  position: relative;
  width: 100%;
  display: block;
  flex-shrink: 1;
}
.search--home .search__panel {
  display: block;
  position: relative;
  width: 100%;
  z-index: 2;
}
.search--home .search__box,
.search--home.is-open .search__box {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  display: flex !important;
  width: 100%;
  min-height: 3.15rem;
  height: auto;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 28px rgba(14, 42, 77, .08);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding: .35rem .55rem .35rem .75rem;
  transition: border-color .2s ease, box-shadow .2s ease;
  z-index: 1;
}
.search--home.is-open .search__box,
.search--home .search__box:focus-within {
  border-color: var(--navy-3);
  box-shadow: 0 14px 32px rgba(14, 42, 77, .12);
}
.search--home .search__input {
  font-size: 1.02rem;
  font-weight: 600;
  height: 2.4rem;
  color: var(--ink);
  color-scheme: light;
}
.search--home .search__input::placeholder {
  color: var(--muted);
}
.search--home .search__ico--field {
  display: block;
  color: var(--navy);
  flex-shrink: 0;
}
.search--home .search__close {
  color: var(--navy);
}
.search--home .search__drop,
.search--home.is-open .search__drop {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .35rem);
  width: 100%;
  margin-top: 0;
  border-radius: 14px;
  z-index: 30;
  max-height: min(55vh, 28rem);
  max-height: min(55dvh, 28rem);
  overflow-x: hidden;
  overflow-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
@media (max-width: 759px) {
  .search--home .search__drop,
  .search--home.is-open .search__drop {
    max-height: none;
    overflow: visible;
    touch-action: auto;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: auto;
  }
}
.search--home .search__toggle { display: none !important; }

.search-quick {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .2rem .55rem;
  width: 100%;
  margin-top: .45rem;
  overflow: hidden;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.75rem), transparent);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 1.75rem), transparent);
}
.search-quick__chip {
  appearance: none;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--muted) 35%, transparent);
  text-underline-offset: .18em;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.search-quick__chip:hover,
.search-quick__chip:focus-visible {
  color: var(--navy);
  text-decoration-color: color-mix(in srgb, var(--navy) 45%, transparent);
  outline: none;
}

.home-cats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  width: 100%;
  margin-bottom: 1.15rem;
}
.home-cat {
  appearance: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--navy);
  border-radius: 14px;
  padding: .85rem .4rem .8rem;
  min-height: 5.6rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .4rem;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 42, 77, .12);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.home-cat__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.home-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  filter: blur(3.5px) saturate(1.05);
  transition: transform .45s ease, filter .35s ease;
}
.home-cat__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(8, 22, 42, .42) 0%, rgba(8, 22, 42, .72) 48%, rgba(8, 22, 42, .88) 100%);
  transition: background .25s ease, opacity .25s ease;
}
.home-cat__disc,
.home-cat__label {
  position: relative;
  z-index: 2;
}
.home-cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(14, 42, 77, .2);
}
.home-cat:hover .home-cat__media img {
  transform: scale(1.28);
  filter: blur(2.5px) saturate(1.12) brightness(1.08);
}
.home-cat:hover .home-cat__scrim {
  background:
    linear-gradient(165deg, rgba(8, 22, 42, .32) 0%, rgba(8, 22, 42, .58) 48%, rgba(8, 22, 42, .78) 100%);
}
.home-cat.is-active,
.home-cat[aria-pressed="true"] {
  border-color: var(--yellow);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--yellow) 70%, #fff),
    0 12px 28px rgba(14, 42, 77, .22);
}
.home-cat.is-active .home-cat__scrim,
.home-cat[aria-pressed="true"] .home-cat__scrim {
  background:
    linear-gradient(165deg, rgba(8, 22, 42, .22) 0%, rgba(14, 42, 77, .48) 42%, rgba(8, 22, 42, .7) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--yellow) 18%, transparent), transparent 55%);
}
.home-cat.is-active .home-cat__media img,
.home-cat[aria-pressed="true"] .home-cat__media img {
  transform: scale(1.22);
  filter: blur(2px) saturate(1.15) brightness(1.12);
}
.home-cat:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.home-cat__disc {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}
.home-cat[data-home-cat="cleaning"] .home-cat__disc {
  background: color-mix(in srgb, var(--cleaning) 55%, rgba(255, 255, 255, .2));
}
.home-cat[data-home-cat="construction"] .home-cat__disc {
  background: color-mix(in srgb, var(--construction) 55%, rgba(255, 255, 255, .18));
}
.home-cat[data-home-cat="garden"] .home-cat__disc {
  background: color-mix(in srgb, var(--garden) 55%, rgba(255, 255, 255, .18));
}
.home-cat[data-home-cat="water"] .home-cat__disc {
  background: color-mix(in srgb, var(--water) 55%, rgba(255, 255, 255, .18));
}
.home-cat.is-active .home-cat__disc,
.home-cat[aria-pressed="true"] .home-cat__disc {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: none;
}
.home-cat__ico { width: 1.15rem; height: 1.15rem; }
.home-cat__label {
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  color: #fff;
  text-shadow: 0 1px 2px rgba(8, 22, 42, .45);
}
.home-tasks {
  /* Chip row ≈ padding + line-height + 1px borders; gap matches .task-filter__list */
  --home-tasks-chip-h: calc(.45rem * 2 + .82rem * 1.25 + 2px);
  --home-tasks-gap: .45rem;
  /* 3 fully readable chip rows (overflow measured against this) */
  --home-tasks-rows-h: calc(
    3 * var(--home-tasks-chip-h) + 2 * var(--home-tasks-gap)
  );
  /* Fade covers peeking chips; link sits in panel seam (--home-seam-h) */
  --home-tasks-fade-band: calc(var(--home-tasks-chip-h) * .95);
  --home-tasks-collapsed-h: calc(
    var(--home-tasks-rows-h) + var(--home-tasks-gap) + var(--home-tasks-fade-band)
  );
  margin-bottom: 0;
  scroll-margin-top: calc(var(--masthead-h) + 0.375rem);
}
.home-tasks .task-filter__head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem .65rem;
  margin: 0 0 .7rem;
}
.home-tasks .task-filter__head .task-filter__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.home-tasks .task-filter__reset {
  --reset-red: #d21f3c;
  --reset-red-deep: #b01830;
  --reset-red-soft: #fff0f2;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1.5px solid var(--reset-red);
  background: var(--reset-red-soft);
  color: var(--reset-red-deep);
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  padding: .32rem .7rem .32rem .4rem;
  margin: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  max-width: 100%;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(210, 31, 60, .12);
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.home-tasks .task-filter__reset-ico {
  width: 1.15rem;
  height: 1.15rem;
  padding: .12rem;
  border-radius: 50%;
  background: var(--reset-red);
  color: #fff;
  stroke-width: 2.6;
  box-sizing: border-box;
}
.home-tasks .task-filter__reset:hover {
  background: var(--reset-red);
  border-color: var(--reset-red-deep);
  color: #fff;
  box-shadow: 0 4px 12px rgba(210, 31, 60, .28);
}
.home-tasks .task-filter__reset:hover .task-filter__reset-ico {
  background: #fff;
  color: var(--reset-red);
}
.home-tasks .task-filter__reset:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}
@media (max-width: 479px) {
  .home-tasks .task-filter__head .task-filter__title {
    font-size: .95rem;
  }
  .home-tasks .task-filter__reset {
    font-size: .72rem;
    gap: .28rem;
    padding: .28rem .55rem .28rem .32rem;
  }
  .home-tasks .task-filter__reset-ico {
    width: 1.05rem;
    height: 1.05rem;
  }
}
.home-tasks .task-filter__reset[hidden] {
  display: none !important;
}
.home-tasks .task-filter__btn[hidden] {
  display: none !important;
}
.home-tasks .task-filter__list {
  justify-content: center;
}
.home-tasks__body {
  position: relative;
}
.home-tasks:not(.is-expanded) .home-tasks__body {
  /* No extra padding — «Ещё задачи» uses the panel seam below */
  padding-bottom: 0;
}
.home-tasks:not(.is-expanded) .task-filter__list {
  max-height: var(--home-tasks-collapsed-h);
  overflow: hidden;
}
/* Mask only when there is overflow («Ещё задачи» visible) */
.home-tasks:not(.is-expanded).has-more .task-filter__list {
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - var(--home-tasks-fade-band)),
    rgba(0, 0, 0, .45) calc(100% - var(--home-tasks-fade-band) * .35),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 calc(100% - var(--home-tasks-fade-band)),
    rgba(0, 0, 0, .45) calc(100% - var(--home-tasks-fade-band) * .35),
    transparent 100%
  );
}
/* Measure overflow against 3 rows only (ignore the fade/more bands) */
.home-tasks.is-measuring .task-filter__list {
  max-height: var(--home-tasks-rows-h);
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}
.home-tasks__veil {
  position: absolute;
  left: 0;
  right: 0;
  /* Hang into panel seam — same band as soft page-bg fade */
  bottom: calc(-1 * var(--home-seam-h, 2.75rem));
  height: var(--home-seam-h, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
}
.home-tasks__veil[hidden] {
  display: none !important;
}
.home-tasks__fade {
  display: none;
}
.home-tasks__more {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  pointer-events: auto;
  appearance: none;
  border: none;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.2;
  padding: .35rem .55rem;
  margin: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .15em;
  text-shadow: none;
}
.home-tasks__more:hover {
  color: var(--navy-3, var(--navy));
}
.home-tasks__more:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Expanded: no clip/fade; «Свернуть» sits under the cloud */
.home-tasks.is-expanded .home-tasks__veil {
  position: static;
  height: auto;
  bottom: auto;
  margin-top: .55rem;
  pointer-events: auto;
}
.home-tasks.is-expanded .task-filter__list {
  -webkit-mask-image: none;
  mask-image: none;
}
.home-tasks.is-expanded .home-tasks__fade {
  display: none;
}
.home-feed-head {
  margin-bottom: 1rem;
  scroll-margin-top: calc(var(--masthead-h) + 0.375rem);
}
.home-feed-head__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .65rem;
}
.home-feed-head__row .h2 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.home-feed-head__catalog {
  flex: 0 0 auto;
  white-space: nowrap;
}
.home-feed-head .section-lead {
  margin: .45rem 0 0;
}
.home-feed-head .section-lead[hidden] {
  display: none !important;
}
@media (max-width: 759px) {
  .home-feed-head__catalog.btn--sm {
    min-height: 2rem;
    padding: .28rem .65rem;
    font-size: .78rem;
    gap: .25rem;
  }
  .home-feed-head__catalog .btn__ico {
    width: .85rem;
    height: .85rem;
  }
}
.home-feed-empty {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 600;
}
.card__kind--service {
  background: var(--services);
  color: #fff;
}
.card--service .card__photo {
  background: #eef2f7;
}
.card--service .card__img {
  object-fit: cover;
}
.kit-card--service .card__kind {
  left: .4rem;
  right: auto;
  top: .4rem;
}
.kit-card--service .kit-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 560px) {
  .home-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .home-stage {
    padding-top: calc(var(--masthead-h) + 1.45rem);
    --home-seam-h: 3.5rem;
  }
  .home-stage__content {
    width: min(100%, calc(var(--max) + 7rem));
  }
  .home-stage__panel {
    border: 1px solid rgba(255, 255, 255, .72);
    border-bottom: none;
    border-radius: 22px 22px 0 0;
    padding: 1.35rem 0 0;
    padding-bottom: var(--home-seam-h);
    box-shadow: 0 -10px 36px rgba(14, 42, 77, .1);
  }
  .home-purpose { padding: .55rem 0 .45rem; }
  .home-purpose__inner { max-width: 52rem; }
  .home-purpose__h1 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
  .home-cats { gap: .75rem; }
  .home-cat { padding: 1rem .55rem .9rem; min-height: 6.25rem; }
  .home-cat__label { font-size: .8rem; }
  .search--home .search__box { min-height: 3.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .home-purpose__inner { animation: none !important; }
  .home-stage__slide {
    transition: none !important;
  }
  .home-cat,
  .home-cat__media img,
  .home-cat__scrim {
    transition: none !important;
  }
  .home-cat:hover { transform: none; }
  .home-cat:hover .home-cat__media img,
  .home-cat.is-active .home-cat__media img,
  .home-cat[aria-pressed="true"] .home-cat__media img {
    transform: scale(1.18);
  }
}

.sale-groups {
  display: grid;
  gap: 2rem;
}
.sale-group__title {
  margin: 0 0 .85rem;
}
.sale-group__title a {
  color: inherit;
  text-decoration: none;
}
.sale-group__title a:hover {
  color: var(--accent, #ff6a15);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.sale-groups .sale-group + .sale-group {
  padding-top: .35rem;
}

.product__alt-mode {
  margin: 0 0 .85rem;
  font-size: .92rem;
  font-weight: 700;
}
.product__alt-mode a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: .15em;
}
.product__alt-mode a:hover {
  color: var(--accent, #ff6a15);
}

/* Product reviews */
.reviews {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(14, 42, 77, .1);
  width: 100%;
}
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .55rem 1rem;
  margin-bottom: .85rem;
}
.reviews__head .h2 { margin: 0; font-size: 1.15rem; }
.reviews__summary {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
}
.reviews__stars,
.reviews__item-stars {
  color: #e6a700;
  letter-spacing: .05em;
}
.reviews__count { color: var(--muted); font-weight: 600; }
.reviews__empty {
  margin: 0 0 .85rem;
  color: var(--muted);
  font-size: .95rem;
}
.reviews__clip {
  position: relative;
  margin: 0 0 .75rem;
}
.reviews__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}
.reviews__item {
  padding: .75rem .85rem;
  background: rgba(14, 42, 77, .035);
  border-radius: 12px;
}
.reviews__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .65rem;
  margin-bottom: .35rem;
}
.reviews__author { font-size: .95rem; color: var(--navy); }
.reviews__text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.45;
  color: var(--text, #243447);
}
.reviews__fade {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.25rem;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(247, 250, 252, 0) 0%,
    rgba(247, 250, 252, .72) 42%,
    #f7fafc 100%
  );
}
.reviews__expand {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: -.35rem 0 .85rem;
  cursor: pointer;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  font-size: .9rem;
  text-align: left;
}
.reviews__expand:hover { color: var(--accent, #ff6a15); }
.reviews__expand:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.reviews.is-clipped:not(.is-expanded) .reviews__clip {
  overflow: hidden;
  max-height: var(--reviews-clip-max);
}
.reviews.is-clipped:not(.is-expanded) .reviews__fade {
  display: block;
}
/* Add-review under spoiler while clipped (desktop column clip + mobile 3-review clip). */
.reviews.is-clipped:not(.is-expanded) .reviews__add {
  display: none;
}
.reviews__add { width: 100%; margin-top: .25rem; }

.reviews-dialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: min(100vw - 1.5rem, 440px);
  max-height: min(90vh, 720px);
  box-shadow: 0 20px 50px rgba(14, 42, 77, .25);
}
.reviews-dialog::backdrop { background: rgba(8, 20, 40, .45); }
.reviews-dialog__form { padding: 1rem 1.1rem 1.15rem; }
.reviews-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.reviews-dialog__title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy);
}
.reviews-dialog__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}
.reviews-field {
  display: grid;
  gap: .3rem;
  margin-bottom: .75rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
.reviews-field input,
.reviews-field textarea,
.reviews-field select {
  width: 100%;
  border: 1px solid rgba(14, 42, 77, .18);
  border-radius: 10px;
  padding: .55rem .7rem;
  font: inherit;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
}
.reviews-field--rating { border: 0; padding: 0; margin: 0 0 .75rem; }
.reviews-field--rating legend { margin-bottom: .3rem; }
.reviews-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: .15rem;
}
.reviews-rating input { position: absolute; opacity: 0; pointer-events: none; }
.reviews-rating label {
  cursor: pointer;
  font-size: 1.55rem;
  color: #c9d0da;
  line-height: 1;
}
.reviews-rating input:checked ~ label,
.reviews-rating label:hover,
.reviews-rating label:hover ~ label {
  color: #e6a700;
}
.reviews-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}
.reviews-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .35rem;
}
.reviews-dialog__actions .btn { flex: 1 1 auto; }
.reviews-dialog__hint {
  margin: .65rem 0 0;
  font-size: .88rem;
  color: var(--muted);
}
.reviews-dialog__hint.is-error { color: #b42318; }
.reviews-ai-list {
  display: grid;
  gap: .75rem;
  max-height: 52vh;
  overflow: auto;
  margin: .5rem 0 .75rem;
  padding-right: .15rem;
}
.reviews-ai-card {
  padding: .75rem;
  border: 1px solid rgba(14, 42, 77, .12);
  border-radius: 12px;
  background: #f7f9fc;
}
.reviews-ai-card.is-published { opacity: .55; }
.reviews-ai-card__actions {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}
.reviews-ai-card__actions .btn { flex: 1 1 auto; }

/* —— Scroll / load reveals (fade + soft rise) ——
   Waiting: opacity only (no transform → fewer compositor layers).
   Rise: one-shot animation; fade: opacity transition. JS drops .reveal after. */
html.reveal-on .reveal:not(.is-inview) {
  opacity: 0;
}
html.reveal-on .reveal.is-inview:not(.reveal--fade) {
  animation: reveal-rise-in .52s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms) both;
}
html.reveal-on .reveal--fade.is-inview {
  opacity: 1;
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay, 0ms);
}

/* Home stage: gentle first-paint load-in (LCP bg untouched) */
.home-search {
  animation: reveal-fade-in .45s cubic-bezier(.22, 1, .36, 1) .06s backwards;
}
.home-cat {
  animation: reveal-rise-in .45s cubic-bezier(.22, 1, .36, 1) backwards;
  animation-delay: calc(.08s + var(--cat-i, 0) * 36ms);
}
.home-tasks {
  animation: reveal-rise-in .5s cubic-bezier(.22, 1, .36, 1) .18s backwards;
}

@keyframes reveal-rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes reveal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html.reveal-on .reveal,
  html.reveal-on .reveal:not(.is-inview),
  html.reveal-on .reveal.is-inview {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .home-search,
  .home-cat,
  .home-tasks {
    animation: none !important;
  }
}


