@font-face {
  font-family: "Tilda Sans";
  src: url("assets/fonts/TildaSans-VF.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #161c1c;
  --muted: #656962;
  --olive: #a0a467;
  --olive-dark: #606536;
  --line: #e5e5e5;
  --soft: #f8f8f6;
  --content-inset: clamp(17px, 2.1vw, 40px);
  --sans: "Tilda Sans", Arial, sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--olive-dark);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1.08;
}
h2 {
  font-size: clamp(30px, 3.5vw, 52px);
  letter-spacing: -0.025em;
}
button {
  border: 0;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link:focus {
  position: fixed;
  z-index: 99;
  top: 8px;
  left: 8px;
  background: #fff;
  padding: 12px;
}
.site-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  left: var(--content-inset);
  right: var(--content-inset);
  height: 86px;
  padding: 10px 16px;
  background: var(--olive);
  border-radius: 10px;
  color: #fff;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 24px;
  align-items: center;
}
.brand {
  display: block;
  width: 204px;
}
.brand img {
  display: block;
  width: 204px;
  height: 66px;
  object-fit: contain;
}
.opening-hours {
  position: absolute;
  left: 50%;
  top: 9px;
  transform: translateX(-50%);
  font-size: 12px;
}
.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 18px;
}
.main-nav a {
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-button,
.header-icon,
.menu-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: transparent;
  text-decoration: none;
  border-radius: 8px;
  padding: 10px;
}
.icon-button svg,
.header-icon svg,
.menu-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.count-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  font-size: 11px;
  text-align: center;
  line-height: 18px;
}
.menu-button {
  display: none;
}
.mobile-menu {
  position: fixed;
  z-index: 19;
  inset: 0;
  background: var(--olive);
  color: #fff;
  padding: 100px 24px 32px;
  overflow: auto;
}
.mobile-menu > p {
  font-size: 14px;
  border-bottom: 1px solid #ffffff66;
  padding: 16px 0 24px;
}
.mobile-menu-links {
  display: grid;
  gap: 24px;
  padding-top: 30px;
}
.mobile-menu-links a {
  text-decoration: none;
  font-size: 22px;
}
.menu-open {
  overflow: hidden;
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  height: min(820px, 58vw);
  padding: 178px var(--content-inset) 64px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(24, 34, 19, 0.82),
    rgba(24, 34, 19, 0.48) 45%,
    rgba(24, 34, 19, 0.04) 85%
  );
}
.hero-copy {
  max-width: 720px;
}
.kicker {
  font-size: 15px;
}
.hero h1 {
  font-size: clamp(42px, 4.7vw, 72px);
  letter-spacing: -0.03em;
  margin: 20px 0 24px;
  line-height: 1.04;
}
.hero-description {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.5;
  color: #fffffff0;
}
.hero-cta {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  margin-top: 28px;
  background: var(--olive);
  padding: 15px 24px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}
.hero-cta:hover {
  background: #b5b982;
}
.section-number {
  font-size: 13px;
  font-weight: 500;
  color: var(--olive-dark);
  margin-bottom: 16px;
}
.brief,
.scenarios,
.constructor,
.unique,
.process,
.faq {
  width: calc(100% - var(--content-inset) * 2);
  margin: 96px auto;
}
.brief {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.brief-intro p:last-child {
  max-width: 380px;
  margin-top: 18px;
  color: var(--muted);
}
.brief-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
}
label small {
  font-size: 12px;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
}
select {
  padding-right: 28px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--olive);
}
.section-heading,
.constructor-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 30px;
}
.section-heading > p,
.constructor-heading > p {
  max-width: 370px;
  color: var(--muted);
  font-size: 15px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.scenario-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
  min-height: 250px;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 24px;
  gap: 12px;
}
.scenario-card:hover {
  border-color: var(--olive);
}
.scenario-card.is-active {
  background: #eff0e3;
  border-color: var(--olive);
}
.scenario-index {
  font-size: 14px;
  color: var(--olive-dark);
}
.scenario-card strong {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
  white-space: pre-line;
}
.scenario-description {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.scenario-price {
  font-size: 20px;
  margin-top: auto;
}
.scenario-card small {
  font-size: 12px;
  color: var(--muted);
}
.scenario-card .scenario-budget-note.is-over-budget {
  color: #895321;
}
.constructor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.product-area {
  min-width: 0;
}
.catalogue-toolbar {
  background: var(--soft);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  display: grid;
  gap: 16px;
}
.catalogue-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
.catalogue-filters select {
  font-size: 14px;
}
.reset-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 50px;
  padding: 12px;
  font-size: 14px;
}
.catalogue-count-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.catalogue-count-row p span {
  color: var(--muted);
  margin-left: 4px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.check-label input {
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  accent-color: var(--olive-dark);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 20px;
}
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-image-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  background: var(--soft);
  overflow: hidden;
  border-radius: 10px;
}
.product-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; isolation: isolate; border-radius: 10px; background: var(--soft); }
.product-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-height: none; margin: 0; }
.product-photo .product-photo-foreground { object-fit: cover; object-position: center; background: transparent; }
.product-origin-badge { display: table; width: fit-content; padding: 4px 8px; border-radius: 5px; background: #eef0e5; color: var(--olive-dark); font-size: 12px; line-height: 16px; }
.product-image-wrap .product-photo-foreground { object-fit: cover; object-position: center; }
.product-image-wrap .product-origin-badge, .product-photo .product-origin-badge { position: absolute; z-index: 1; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 7px; color: #fff; background: rgb(55 53 46 / 72%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); line-height: 16px; text-align: left; pointer-events: none; }
@media (max-width: 600px) {
  .product-image-wrap .product-origin-badge, .product-photo .product-origin-badge { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 6px 8px; font-size: 11px; line-height: 14px; }
}
.product-dialog .product-photo { margin: 12px 0 20px; }
.selected-badge {
  position: absolute;
  z-index: 1;
  bottom: 8px;
  left: 8px;
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 12px;
}
.product-meta {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.product-card h3 {
  min-width: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.product-title-button {
  display: block;
  width: 100%;
  background: none;
  padding: 0;
  color: inherit;
  text-align: left;
  font: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 2px;
}
.product-price {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.product-bottom .card-button {
  position: relative;
  min-height: 33px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.product-bottom .card-button::after {
  content: "";
  position: absolute;
  inset: -6px 0;
}
.card-button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--olive);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.card-button:hover {
  background: #b4b881;
}
.catalogue-empty {
  grid-column: 1/-1;
  max-width: 540px;
  color: var(--muted);
  padding: 24px 0;
}
.notice {
  padding: 16px;
  background: #f4f0e7;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}
.set-panel {
  position: sticky;
  top: 124px;
  background: var(--soft);
  border-radius: 10px;
  padding: 24px;
  max-height: calc(100dvh - 145px);
  overflow: auto;
}
.set-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.set-panel h3 {
  font-size: 25px;
}
.set-panel h3 span {
  font-size: 16px;
  color: var(--olive-dark);
  margin-left: 4px;
}
.set-items {
  display: grid;
  gap: 14px;
  padding: 24px 0;
}
.empty-set {
  font-size: 14px;
  color: var(--muted);
}
.set-item {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.set-item strong {
  font-size: 14px;
  font-weight: 500;
}
.set-item-price {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}
.quantity-controls button {
  width: 36px;
  min-height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  border-radius: 6px;
  font-size: 18px;
}
.quantity-controls span {
  min-width: 20px;
  text-align: center;
}
.set-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 16px 0;
  font-size: 13px;
}
.set-total strong {
  font-size: 21px;
  font-weight: 500;
  white-space: nowrap;
}
.budget-status {
  font-size: 13px;
  color: var(--olive-dark);
  margin-bottom: 16px;
}
.is-over-budget {
  color: #8a4b23;
}
.set-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 10px;
  background: var(--olive);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.primary-button {
  width: 100%;
}
.primary-button:hover,
.secondary-button:hover {
  background: #b4b881;
}
.text-button {
  background: none;
  color: var(--muted);
  padding: 12px;
  width: 100%;
  text-decoration: underline;
  font-size: 13px;
}
.scenarios,
.unique {
  background: #eef0e5;
  border-radius: 10px;
  padding: 52px;
}
.scenarios .scenario-card {
  background: var(--paper);
}
.scenarios .scenario-card.is-active {
  background: #eff0e3;
}
.unique {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 60px;
}
.unique h2 {
  max-width: 780px;
}
.unique p:not(.section-number):not(.unique-mark) {
  max-width: 610px;
  color: var(--muted);
  margin: 22px 0;
}
.unique-mark {
  align-self: center;
  text-align: center;
}
.unique-mark strong {
  display: block;
  font-size: 100px;
  line-height: 1;
  font-weight: 400;
  color: var(--olive-dark);
}
.unique-mark span {
  display: block;
  margin-top: 12px;
  font-size: 16px;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-list li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.process-list li > span {
  font-size: 14px;
  color: var(--olive-dark);
}
.process-list h3 {
  font-size: 26px;
  margin: 30px 0 12px;
}
.process-list p {
  font-size: 15px;
  color: var(--muted);
}
.faq-list {
  max-width: 960px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-size: 22px;
  padding-right: 20px;
}
.faq details p {
  max-width: 780px;
  margin: 16px 0 4px;
  color: var(--muted);
}
@font-face { font-family: "Tilda Footer"; src: url("assets/fonts/TildaSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
/* Measured against tsumkazan.ru: desktop 1440px and mobile 375px. */
.site-footer { --footer-unit: 1px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-family: "Tilda Footer", var(--sans); background: var(--olive); color: #fff; padding: calc(31 * var(--footer-unit)) calc(30 * var(--footer-unit)) calc(32 * var(--footer-unit)); font-size: calc(16 * var(--footer-unit)); font-weight: 500; line-height: calc(20 * var(--footer-unit)); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: calc(3 * var(--footer-unit)); }
.site-footer a:focus-visible { outline: calc(2 * var(--footer-unit)) solid #fff; outline-offset: calc(5 * var(--footer-unit)); }
.footer-main { display: grid; grid-template-columns: 20.58% 30.14% minmax(0, 1fr); }
.footer-brand { padding-left: calc(20 * var(--footer-unit)); }
.footer-brand img { display: block; width: calc(129 * var(--footer-unit)); height: calc(230 * var(--footer-unit)); object-fit: contain; }
.footer-contact, .footer-navigation { padding-top: calc(31 * var(--footer-unit)); }
.site-footer address { font-style: normal; font-size: calc(24 * var(--footer-unit)); line-height: calc(24 * var(--footer-unit)); }
.footer-hours { display: grid; gap: calc(5 * var(--footer-unit)); margin-top: calc(10 * var(--footer-unit)); color: #ffffffb3; line-height: calc(16 * var(--footer-unit)); }
.footer-contact-links { display: grid; gap: calc(10 * var(--footer-unit)); margin-top: calc(69 * var(--footer-unit)); font-size: calc(24 * var(--footer-unit)); line-height: calc(24 * var(--footer-unit)); }
.footer-socials { display: flex; gap: calc(10 * var(--footer-unit)); margin-top: calc(16 * var(--footer-unit)); }
.footer-socials a { display: inline-flex; align-items: center; justify-content: center; padding: calc(10 * var(--footer-unit)) calc(14 * var(--footer-unit)); background: #fff; color: var(--olive); font-size: calc(12 * var(--footer-unit)); line-height: calc(15 * var(--footer-unit)); border-radius: calc(7 * var(--footer-unit)); }
.footer-navigation { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: calc(42 * var(--footer-unit)) calc(60 * var(--footer-unit)); align-content: start; padding-right: calc(11 * var(--footer-unit)); }
.footer-group { display: grid; gap: calc(6 * var(--footer-unit)); align-content: start; }
.footer-group h2 { font-size: calc(20 * var(--footer-unit)); font-weight: 500; line-height: calc(20 * var(--footer-unit)); }
.footer-group a { color: #ffffff80; line-height: calc(20 * var(--footer-unit)); }
.footer-group a:hover { color: #fff; }
.footer-bottom { display: grid; grid-template-columns: 50.72% minmax(0,1fr); margin-top: calc(34 * var(--footer-unit)); padding-top: calc(19 * var(--footer-unit)); border-top: calc(1 * var(--footer-unit)) solid #ffffff4d; }
.footer-bottom p { font-size: calc(16 * var(--footer-unit)); line-height: calc(20 * var(--footer-unit)); }
.footer-credits { display: flex; flex-direction: column; align-items: flex-start; gap: calc(20 * var(--footer-unit)); }
.footer-partner { display: inline-flex; align-items: center; gap: calc(10 * var(--footer-unit)); font-size: calc(13 * var(--footer-unit)); line-height: calc(20 * var(--footer-unit)); }
/* Same five-color, one-second hover cycle as labki.tatar. */
.footer-partner-mark { display: block; flex: 0 0 calc(67 * var(--footer-unit)); width: calc(67 * var(--footer-unit)); height: calc(24 * var(--footer-unit)); background: #fff; -webkit-mask: url("assets/brand/kit-lab-logo.svg") center / contain no-repeat; mask: url("assets/brand/kit-lab-logo.svg") center / contain no-repeat; }
.footer-partner img { display: block; width: calc(67 * var(--footer-unit)); height: calc(24 * var(--footer-unit)); object-fit: contain; opacity: 0; }
@keyframes footer-partner-palette {
  0%, 100% { background-color: #99b1ff; }
  20% { background-color: #dcfc75; }
  40% { background-color: #e1d2f3; }
  60% { background-color: #fbf7f4; }
  80% { background-color: #ff6f6f; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .footer-partner:hover .footer-partner-mark { animation: footer-partner-palette 1s steps(1) infinite; }
}
@media (prefers-reduced-motion: no-preference) {
  .footer-partner:focus-visible .footer-partner-mark { animation: footer-partner-palette 1s steps(1) infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-partner:hover .footer-partner-mark, .footer-partner:focus-visible .footer-partner-mark { background: #99b1ff; }
}
.footer-legal { display: grid; grid-template-columns: minmax(0, 460fr) minmax(0, 194fr); gap: calc(10 * var(--footer-unit)) calc(26 * var(--footer-unit)); font-size: calc(16 * var(--footer-unit)); line-height: calc(20 * var(--footer-unit)); align-content: start; }
.footer-legal-group { display: flex; flex-direction: column; gap: calc(10 * var(--footer-unit)); }
@media (min-width: 1024px) {
  .site-footer { --footer-unit: calc(100vw / 1440); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .site-footer { padding: 32px 24px; }
  .footer-main { grid-template-columns: 40% minmax(0,1fr); row-gap: 28px; }
  .footer-brand { grid-column: 1/-1; padding-left: 0; }
  .footer-brand img { width: 200px; height: 64px; }
  .footer-contact, .footer-navigation { padding-top: 0; }
  .footer-navigation { gap: 32px 20px; padding-right: 0; }
  .site-footer address, .footer-contact-links { font-size: 18px; line-height: 22px; }
  .footer-contact-links { margin-top: 32px; }
  .footer-group h2 { font-size: 16px; }
  .footer-group a, .footer-legal, .footer-bottom p { font-size: 14px; }
  .footer-bottom { grid-template-columns: 40% minmax(0,1fr); }
  .footer-credits { padding-right: 24px; }
}
@media (max-width: 767px) {
  .site-footer { --footer-unit: calc(100vw / 375); padding: calc(32 * var(--footer-unit)) calc(16 * var(--footer-unit)); font-size: calc(14 * var(--footer-unit)); line-height: calc(21 * var(--footer-unit)); }
  .footer-main, .footer-navigation { grid-template-columns: 1fr; gap: calc(28 * var(--footer-unit)); }
  .footer-brand { padding-left: 0; }
  .footer-brand img { width: calc(199.5 * var(--footer-unit)); height: calc(64 * var(--footer-unit)); }
  .footer-contact, .footer-navigation { padding: 0; }
  .site-footer address, .footer-contact-links { font-size: calc(14 * var(--footer-unit)); line-height: calc(21 * var(--footer-unit)); }
  .footer-hours { display: flex; gap: calc(6 * var(--footer-unit)); margin-top: calc(6 * var(--footer-unit)); color: #fff; line-height: calc(21 * var(--footer-unit)); }
  .footer-contact-links { margin-top: calc(6 * var(--footer-unit)); gap: calc(6 * var(--footer-unit)); }
  .footer-socials { margin-top: calc(28 * var(--footer-unit)); }
  .footer-socials a { font-size: calc(14 * var(--footer-unit)); line-height: calc(21 * var(--footer-unit)); }
  .footer-group { gap: calc(10 * var(--footer-unit)); }
  .footer-group h2 { font-size: calc(14 * var(--footer-unit)); line-height: calc(21 * var(--footer-unit)); font-weight: 700; }
  .footer-group a { color: #ffffffb3; line-height: calc(21 * var(--footer-unit)); }
  .footer-bottom { display: flex; flex-direction: column-reverse; gap: calc(12 * var(--footer-unit)); margin-top: calc(28 * var(--footer-unit)); padding-top: calc(28 * var(--footer-unit)); border-color: #ffffff1a; }
  .footer-legal { grid-template-columns: 1fr; gap: calc(12 * var(--footer-unit)); font-size: calc(12 * var(--footer-unit)); line-height: calc(18 * var(--footer-unit)); }
  .footer-legal-group { gap: calc(12 * var(--footer-unit)); }
  .footer-bottom p { font-size: calc(12 * var(--footer-unit)); line-height: calc(18 * var(--footer-unit)); }
  .footer-credits { gap: calc(20 * var(--footer-unit)); }
  .footer-partner { gap: calc(10 * var(--footer-unit)); font-size: calc(13 * var(--footer-unit)); line-height: calc(20 * var(--footer-unit)); }
  .footer-partner-mark { flex-basis: calc(67 * var(--footer-unit)); }
  .footer-partner-mark, .footer-partner img { width: calc(67 * var(--footer-unit)); height: calc(24 * var(--footer-unit)); }
}

.quote-dialog,
.product-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  overflow: auto;
}
.quote-dialog::backdrop,
.product-dialog::backdrop {
  background: #161c1c99;
}
.dialog-shell {
  position: relative;
  padding: 36px;
}
.dialog-close {
  position: sticky;
  top: 12px;
  display: block;
  margin: -16px -16px 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft);
  font-size: 28px;
  z-index: 1;
}
.dialog-shell h2 {
  font-size: 40px;
  max-width: 480px;
  margin: 12px 0 16px;
}
.dialog-shell > p,
#quote-description {
  font-size: 15px;
  color: var(--muted);
}
.quote-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.quote-form textarea {
  resize: vertical;
  min-height: 100px;
}
.individual-request-fields {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.individual-request-fields legend {
  margin-bottom: 14px;
  font-size: 16px;
}
.quote-summary {
  background: var(--soft);
  padding: 16px;
  border-radius: 8px;
  font-size: 14px;
  display: grid;
  gap: 8px;
}
.quote-summary ul {
  padding-left: 20px;
  margin: 0;
}
.contact-note {
  font-size: 12px;
  color: var(--muted);
}
.form-error {
  color: #9a3828;
  background: #fff3ed;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
}
.dialog-status {
  padding-bottom: 20px;
}
.dialog-status > p {
  margin: 20px 0;
}
.product-detail-description {
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: var(--muted);
  margin-bottom: 20px;
}
.product-detail-price {
  font-size: 26px;
  margin-bottom: 12px;
}
.mobile-set-dock {
  display: none;
}
@media (max-width: 1100px) {
  .main-nav,
  .opening-hours {
    display: none;
  }
  .site-header {
    grid-template-columns: 1fr auto;
    height: 68px;
    gap: 12px;
  }
  .brand,
  .brand img {
    width: 170px;
    height: 50px;
  }
  .menu-button {
    display: flex;
  }
  .constructor-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalogue-filters {
    grid-template-columns: 1fr 1fr;
  }
  .set-panel {
    top: 100px;
    max-height: calc(100dvh - 120px);
    padding: 18px;
  }
  .brief {
    gap: 32px;
  }
  .scenario-card strong {
    font-size: 28px;
  }
}
@media (max-width: 800px) {
  .constructor-layout {
    grid-template-columns: 1fr;
  }
  .set-panel {
    position: static;
    max-height: none;
  }
  .brief {
    grid-template-columns: 1fr;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
  }
  .scenario-card {
    min-height: 0;
  }
  .scenario-card strong {
    font-size: 32px;
  }
  .scenarios, .unique {
    padding: 32px;
  }
  .unique {
    grid-template-columns: 1fr 130px;
    gap: 24px;
  }
  .unique-mark strong {
    font-size: 80px;
  }
  .section-heading,
  .constructor-heading {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero {
    min-height: 600px;
    height: auto;
    padding-top: 150px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-set-dock {
    position: fixed;
    z-index: 10;
    left: 17px;
    right: 17px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    min-height: 54px;
    padding: 14px 18px;
    background: var(--olive);
    color: var(--ink);
    border-radius: 10px;
    box-shadow: 0 3px 20px #161c1c22;
    font-size: 14px;
  }
  .mobile-set-dock strong {
    font-size: 18px;
  }
  .has-set .site-footer {
    padding-bottom: 110px;
  }
}
@media (max-width: 540px) {
  html {
    scroll-padding-top: 90px;
  }
  .site-header {
    top: 8px;
    height: 60px;
    padding: 6px 10px;
  }
  .brand,
  .brand img {
    width: 140px;
    height: 44px;
  }
  .header-actions {
    gap: 0;
  }
  .icon-button,
  .header-icon,
  .menu-button {
    width: 40px;
    height: 44px;
    padding: 8px;
  }
  .hero {
    min-height: 580px;
    padding: 126px var(--content-inset) 44px;
  }
  .hero h1 {
    font-size: clamp(30px, 8.4vw, 44px);
    line-height: 1.1;
  }
  .hero-description {
    font-size: 16px;
  }
  .hero::after {
    background: linear-gradient(90deg, #182213cf, #18221355);
  }
  .hero-background {
    object-position: 62% center;
  }
  .brief,
  .scenarios,
  .constructor,
  .unique,
  .process,
  .faq {
    margin: 64px auto;
  }
  .brief {
    padding-bottom: 40px;
  }
  .brief-form {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
  .product-card h3 {
    font-size: 14px;
    line-height: 1;
  }
  .product-image-wrap {
    aspect-ratio: 1;
  }
  .product-meta {
    font-size: 11px;
  }
  .product-bottom {
    gap: 8px;
  }
  .product-card.is-price-request .product-bottom {
    grid-template-columns: 1fr;
  }
  .product-price {
    font-size: 14px;
  }
  .product-bottom .card-button {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 12px;
  }
  .product-bottom .card-button::after {
    inset: -8px 0;
  }
  .catalogue-toolbar {
    padding: 16px;
  }
  .catalogue-filters {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .catalogue-filters label:first-child,
  .catalogue-filters .ui-field:first-child {
    grid-column: 1/-1;
  }
  .catalogue-filters .reset-button {
    grid-column: 1/-1;
  }
  .catalogue-filters label,
  .catalogue-filters .ui-field {
    font-size: 12px;
  }
  .catalogue-filters select {
    padding-left: 10px;
    padding-right: 18px;
    font-size: 13px;
  }
  .catalogue-count-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .scenarios, .unique {
    padding: 28px;
  }
  .unique {
    grid-template-columns: 1fr;
  }
  .unique-mark {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .unique-mark strong {
    font-size: 64px;
  }
  .unique-mark span {
    margin: 0;
  }
  .process-list {
    gap: 26px 20px;
  }
  .process-list h3 {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .process-list p {
    font-size: 14px;
  }
  .faq summary {
    font-size: 19px;
  }
  .dialog-shell {
    padding: 24px;
  }
  .dialog-shell h2 {
    font-size: 32px;
  }
  .individual-request-fields {
    grid-template-columns: 1fr;
  }
  .set-panel {
    padding: 22px;
  }
  .quantity-controls button {
    width: 44px;
    min-height: 44px;
  }
  .mobile-menu-links a {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.data-use {
  max-width: 760px;
  margin: 64px auto;
  padding: 0 24px;
}
.data-use h1 {
  font-size: 44px;
  margin: 40px 0 24px;
}
.data-use h2 {
  font-size: 28px;
  margin: 32px 0 16px;
}
.data-use p {
  margin: 16px 0;
  line-height: 1.65;
}

/* Branded form controls, shared by the brief, catalogue and quote dialog. */
.ui-field { display: grid; gap: 8px; align-content: start; min-width: 0; font-size: 14px; }
.ui-field small { font-size: 12px; color: var(--muted); }
.brief-form > label { align-content: start; }
.ui-control { min-width: 0; }
.ui-trigger { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #ebebeb; border-radius: 8px; background: white; color: var(--ink); text-align: left; font: inherit; }
.ui-trigger > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ui-trigger:hover, .ui-trigger[aria-expanded=true] { border-color: var(--olive); }
.ui-trigger.is-placeholder { color: var(--muted); }
.ui-trigger:disabled { opacity: .55; cursor: default; }
.ui-chevron { flex: 0 0 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-right: 3px; }
.ui-trigger[aria-expanded=true] .ui-chevron { transform: rotate(225deg) translate(-2px, -1px); }
.ui-calendar-icon { width: 17px; height: 16px; flex-shrink: 0; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(currentColor,currentColor) 0 4px / 100% 1px no-repeat; }
.ui-popover { position: fixed; inset: auto; margin: 0; padding: 6px; max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow: auto; border: 1px solid #e5e5e5; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a; font-family: inherit; font-size: 14px; }
.ui-options { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; }
.ui-option { display: block; width: 100%; min-height: 42px; text-align: left; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; }
.ui-option:hover, .ui-option:focus-visible, .ui-day:hover:enabled { background: #a0a46718; }
.ui-option[aria-selected=true] { background: #a0a46724; color: #646b32; }
.ui-search { margin-bottom: 6px; min-height: 42px; font: inherit; }
.ui-empty { padding: 12px; color: var(--muted); }
.ui-calendar { padding: 12px; }
.ui-calendar-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 8px; }
.ui-calendar-head > span { text-transform: capitalize; font-weight: 500; }
.ui-calendar button { font: inherit; color: inherit; border: 0; border-radius: 6px; background: transparent; }
.ui-calendar .ui-month-arrow { width: 40px; height: 40px; font-size: 26px; }
.ui-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.ui-weekday { text-align: center; padding: 8px 0; color: var(--muted); font-size: 12px; }
.ui-calendar .ui-day { height: 40px; padding: 0; }
.ui-day[aria-current=date] { box-shadow: inset 0 0 0 1px var(--olive); }
.ui-calendar .ui-day[aria-pressed=true] { background: var(--olive); color: white; }
.ui-calendar button:disabled { color: #b8bab5; cursor: default; }
.ui-calendar-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 6px; }
.ui-calendar-actions button { min-height: 40px; padding: 6px 10px; color: #646b32; }

.catalogue-pagination { margin-top: 32px; }
.catalogue-pagination[hidden] { display: none; }
.pagination-summary { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.pagination-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.pagination-numbers { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 8px; }
.pagination-numbers .page-button { width: 40px; min-width: 40px; padding-inline: 0; }
.page-button { flex: 0 0 auto; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: inherit; }
.page-button[aria-current="page"] { background: var(--olive-dark); color: white; }
.page-button:disabled { opacity: .4; cursor: default; }
.page-gap { padding: 0 2px; }
#product-grid { scroll-margin-top: 90px; }

/* Keep catalogue photographs compact on wide desktops. */
@media (min-width: 1440px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-card h3 { font-size: 18px; line-height: 1.25; }
  .product-title-button {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    white-space: normal;
  }
  .product-card.is-price-request .product-bottom { grid-template-columns: 1fr; }
}
@media (min-width: 1920px) {
  .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.pagination-controls.is-compact { gap: 6px; flex-wrap: nowrap; }
.pagination-controls.is-compact .pagination-numbers { gap: 4px; flex-wrap: nowrap; }
.pagination-controls.is-compact > .page-button { width: 36px; min-width: 36px; padding: 0; font-size: 26px; }
.pagination-controls.is-compact .pagination-numbers .page-button { width: 32px; min-width: 32px; padding-inline: 0; font-size: 14px; }
.pagination-controls.is-compact .page-gap { padding: 0; font-size: 12px; }
