/* =========================================================
   Оконика — сайт
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img, picture, svg, video { display: block; max-width: 100%; }

button { font: inherit; cursor: pointer; background: none; border: 0; padding: 0; color: inherit; }

a { color: inherit; text-decoration: none; }

input, textarea, select { font: inherit; color: inherit; }

/* ---------- Tokens ---------- */
:root {
  --primary: #00ADEE;
  --primary-dark: #0090C8;
  --primary-light: #E5F7FE;
  --text: #2D3436;
  --text-muted: #636E72;
  --text-soft: #888;
  --bg: #F5F6FA;
  --white: #FFFFFF;
  --border: #E0E4E8;
  --wa: #25D366;
  --tg: #2AABEE;
  --success: #2E7D32;
  --success-bg: #E8F5E9;

  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.08);

  --container: 1440px;
  --gutter: 48px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

html, body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Default icon sizing — every .icon inherits 1em so it scales with text */
.icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  vertical-align: middle;
  display: inline-block;
  fill: none;
  stroke: currentColor;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: 48px 0; }
.section--tight { padding: 32px 0; }
.section--lg { padding: 56px 0; }
.section--gray { background: var(--bg); }
.section--white { background: var(--white); }

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}
.section-title--lg { font-size: 32px; }
.section-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-s);
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 16px; height: 16px; }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover { background: var(--primary); color: #fff; }

.btn--dark { background: #1A2A3A; color: #fff; }
.btn--dark:hover { background: #0f1a26; }

.btn--sm { padding: 7px 14px; font-size: 12px; }
.btn--lg { padding: 11px 22px; font-size: 14px; border-radius: var(--radius-m); gap: 8px; }
.btn--lg .icon { width: 18px; height: 18px; }
.btn--xl { padding: 13px 26px; font-size: 15px; border-radius: var(--radius-m); gap: 8px; }
.btn--xl .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 30; }

.top-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 105;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.top-bar__logo { height: 34px; display: block; }
.top-bar__logo img { height: 100%; width: auto; display: block; }
.top-bar__spacer { flex: 1; }
.top-bar__info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}
.top-bar__info--bold { font-weight: 600; color: var(--text); }
.top-bar__info .icon { color: var(--primary); width: 16px; height: 16px; }

.messenger-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.messenger-btn:hover { transform: scale(1.08); box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.messenger-btn--wa { background: var(--wa); }
.messenger-btn--tg { background: var(--tg); }
.messenger-btn .icon { width: 16px; height: 16px; }

.nav-bar {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-bar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 10px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s ease;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-item:hover,
.nav-item.is-active { color: var(--primary); }
.nav-item .icon { width: 14px; height: 14px; }

.has-dropdown { position: relative; }
/* Базовый контейнер дропдауна */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 22px 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 40;
  max-width: calc(100vw - 32px);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:nth-last-child(-n+3) .dropdown,
.has-dropdown.has-dropdown--right .dropdown {
  left: auto;
  right: 0;
}

/* 1 колонка — компактный список */
.dropdown.dropdown--cols-1 {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 280px;
}
/* 2 колонки — через CSS columns, авто-балансировка */
.dropdown.dropdown--cols-2 {
  display: block;
  column-count: 2;
  column-gap: 40px;
  column-fill: balance;
  width: 600px;
}
.dropdown.dropdown--cols-2 .dropdown__link,
.dropdown.dropdown--cols-2 .dropdown__col {
  break-inside: avoid;
  margin-bottom: 14px;
}
.dropdown.dropdown--cols-2 .dropdown__link:last-child,
.dropdown.dropdown--cols-2 .dropdown__col:last-child {
  margin-bottom: 0;
}

/* Ссылка в плоском списке: заголовок + опц. подзаголовок */
.dropdown__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.dropdown__link-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(45,52,54,.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  line-height: 1.3;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.dropdown__link-desc {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}
.dropdown__link:hover .dropdown__link-title {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

.dropdown__link--all { padding-top: 4px; }
.dropdown__link--all .dropdown__link-title { font-weight: 600; }
.dropdown__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dropdown__col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  text-decoration: underline;
  text-decoration-color: rgba(45,52,54,.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.dropdown__col h4 a { color: inherit; }
.dropdown__col h4 a:hover { color: var(--primary); }
.dropdown__col > a {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
  transition: color .15s ease;
}
.dropdown__col > a:hover { color: var(--primary); }

/* (legacy .dropdown--list заменён на .dropdown--cols-1 / .dropdown--cols-2 выше) */

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: transparent;
  border: 0;
  transition: background .15s ease, color .15s ease;
}
.burger:hover { background: var(--primary-light); }
.burger:active { background: var(--primary-light); color: var(--primary-dark); }
.burger .icon { width: 26px; height: 26px; stroke-width: 2.25; }

/* Mobile menu extras — hidden on desktop by default */
.nav-bar__mobile-extras { display: none; }

/* ---------- Hero (landing) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,.8) 55%, rgba(255,255,255,.53) 65%, rgba(255,255,255,0) 80%);
  z-index: 2;
}
.hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter);
  min-height: 550px;
  display: flex;
  align-items: center;
}
.hero__content {
  max-width: 672px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text);
}
.hero__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 620px;
}

.badges { display: flex; flex-wrap: wrap; gap: 16px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--primary-light);
  border-radius: var(--radius-s);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.badge .icon { width: 18px; height: 18px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 400px;
  background: var(--white);
}
.page-hero--lg { min-height: 500px; }
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.93) 45%, rgba(255,255,255,0) 100%);
  z-index: 2;
}
.page-hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter);
  min-height: 400px;
  display: flex;
  align-items: center;
}
.page-hero__content {
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-hero__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.page-hero__sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 4px;
}
.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .sep { color: var(--text-muted); }

/* ---------- Tag ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.tag--success { background: var(--success-bg); color: var(--success); }
.tag--sm { padding: 4px 10px; font-size: 11px; border-radius: var(--radius-s); }

/* ---------- Marquee (brand strip) ---------- */
.marquee {
  position: relative;
  background: var(--white);
  padding: 40px 0;
  overflow: hidden;
}
.marquee--gray { background: var(--bg); }
.marquee__track {
  display: flex;
  gap: 32px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: 0 0 auto;
  width: 180px;
  height: 72px;
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--text);
  overflow: hidden;
}
.marquee__item img { max-width: 80%; max-height: 70%; object-fit: contain; display: block; }
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--white), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--white), transparent); }
.marquee--gray::before { background: linear-gradient(90deg, var(--bg), transparent); }
.marquee--gray::after { background: linear-gradient(-90deg, var(--bg), transparent); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 16px)); }
}

/* ---------- Strengths (3 colored cards) ---------- */
.strengths { background: var(--bg); padding: 48px 0; }
.strengths__lead {
  font-size: 20px;
  font-weight: 700;
  color: #606060;
  margin-bottom: 24px;
  max-width: 1000px;
}
.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strength-card {
  padding: 28px;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
}
.strength-card:nth-child(1) { background: #cfe2ff; }
.strength-card:nth-child(2) { background: #d1e7dd; }
.strength-card:nth-child(3) { background: #e2d9f3; }
.strength-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.strength-card p {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 15px;
}

/* ---------- Reputation (rating cards) ---------- */
.reputation {
  background: var(--white);
  padding: 48px 0;
}
.reputation__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.reputation__text { max-width: 420px; font-size: 22px; line-height: 1.3; }
.reputation__text strong { font-weight: 700; display: block; }
.rating-cards { display: flex; gap: 24px; flex-wrap: wrap; }
.rating-card {
  background: #F0F0F0;
  border-radius: var(--radius-l);
  padding: 20px 24px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rating-card__top { display: flex; align-items: center; gap: 12px; }
.rating-card__pin {
  width: 28px; height: 28px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.rating-card__pin .icon { width: 16px; height: 16px; }
.rating-card__pin--yandex { background: #FF4433; }
.rating-card__pin--2gis { background: #3DAB2B; }
.rating-card__name { font-size: 18px; font-weight: 600; }
.rating-card__score { margin-left: auto; font-size: 18px; font-weight: 700; }
.rating-card__bottom {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
}
.stars { display: flex; gap: 2px; color: #F6B100; }
.stars .icon { width: 14px; height: 14px; fill: currentColor; }
.rating-card__count { font-size: 13px; color: var(--text-muted); }

/* ---------- Service cards (Services By Type) ---------- */
.service-cards {
  padding: 48px 0;
  background: var(--white);
}
.service-cards__head h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}
.service-cards__head h2 strong { display: block; font-weight: 700; }
.service-cards__head p { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.service-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.service-card {
  position: relative;
  height: 500px;
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10,42,74,.25);
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,42,74,.45) 0%, rgba(10,42,74,.6) 40%, rgba(10,42,74,.85) 70%, rgba(10,42,74,.94) 100%);
}
.service-card__body {
  position: relative;
  z-index: 2;
  padding: 24px;
  max-width: 400px;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.service-card ul { display: flex; flex-direction: column; gap: 6px; }
.service-card li {
  font-size: 14px;
  color: rgba(255,255,255,.92);
  padding-left: 16px;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
}

/* ---------- Service categories grid ---------- */
.categories {
  background: linear-gradient(180deg, #E8EAF6 0%, #EDE7F6 50%, #F3E5F5 100%);
  padding: 48px 0;
}
.categories__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A2E;
}
.categories__sub {
  color: #555570;
  font-size: 15px;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 820px;
}
.categories__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid #E0E0E0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card h3 {
  font-size: 20px;
  line-height: 1.2;
  color: #1A1A2E;
  margin-bottom: 12px;
}
.cat-card h3 .b { font-weight: 700; }
.cat-card h3 .n { font-weight: 600; margin-right: 4px; }
.cat-card p { color: #555570; font-size: 14px; line-height: 1.5; }
.cat-card__brands { color: #888; font-size: 13px; margin-top: 12px; }
.cat-card--wide { grid-column: span 4; }

/* ---------- Product cards grid (catalog, similar) ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card__img {
  aspect-ratio: 4 / 3;
  background: #eef0f4 linear-gradient(180deg, #D4E8F5, #E8F0FA);
  background-size: cover;
  background-position: center;
}
.product-card__body { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3; }
.product-card__desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.product-card__price {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--radius-s);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  margin-top: auto;
}

/* ---------- Contact form section ---------- */
.contact-form {
  position: relative;
  overflow: hidden;
  min-height: 486px;
  background: var(--bg);
}
.contact-form__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.contact-form__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #F0F2F5 0%, #F0F2F5 40%, rgba(240,242,245,.8) 55%, rgba(240,242,245,.53) 65%, rgba(240,242,245,0) 80%);
  z-index: 2;
}
.contact-form__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: flex;
}
.contact-form__box {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form__title {
  font-size: 32px;
  font-weight: 700;
  color: #1A2A3A;
}
.contact-form__sub {
  color: #555570;
  font-size: 16px;
  line-height: 1.5;
}

.input {
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-m);
  padding: 16px 20px;
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #999; }
.input:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,173,238,.15);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 480px;
}
.check-row input[type="checkbox"] { width: 0; height: 0; opacity: 0; position: absolute; }
.check-row label {
  display: flex;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: #555570;
  line-height: 1.5;
}
.check-row .check-box {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 6px;
  background: #0E7A6D;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-row .check-box .icon { width: 16px; height: 16px; stroke-width: 3; }

/* ---------- Measurer section ---------- */
.measurer {
  background: var(--primary-light);
  padding: 56px 0;
}
.measurer__inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: stretch;
}
.measurer__left { display: flex; flex-direction: column; gap: 24px; }
.measurer__icon { color: var(--primary); }
.measurer__icon .icon { width: 48px; height: 48px; }
.measurer__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}
.measurer__sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}
.measurer__form { display: flex; flex-direction: column; gap: 16px; }
.measurer__form .input { max-width: none; }
.benefits {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.benefits h3 { font-size: 20px; font-weight: 700; color: var(--text); }
.benefits ul { display: flex; flex-direction: column; gap: 18px; }
.benefits li { display: flex; gap: 12px; }
.benefits .icon-wrap { color: var(--primary); flex: 0 0 22px; }
.benefits .icon-wrap .icon { width: 22px; height: 22px; }
.benefits .t { font-size: 15px; font-weight: 600; color: var(--text); }
.benefits .d { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.site-footer__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter) 24px;
}
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-messengers { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-messengers a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
  transition: color .15s ease;
}
.footer-messengers a:hover { color: var(--primary); }
.footer-messengers .icon { width: 24px; height: 24px; }
.footer-messengers .wa-icon { color: var(--wa); }
.footer-messengers .tg-icon { color: #0088CC; }
.footer-logo { height: 46px; width: auto; display: block; }
.footer-company {
  text-align: right;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
.footer-company .phone { color: var(--primary); }
.site-footer__sep { height: 1px; background: var(--border); margin: 32px 0; }
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
.site-footer__bottom a { color: var(--primary); }
.site-footer__bottom .copy { color: #999; }

/* ---------- Catalog page sections ---------- */
.cat-section { padding: 56px 0; }
.cat-section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.cat-section__head h2 { font-size: 28px; font-weight: 700; }
.cat-section__head p { color: var(--text-muted); font-size: 14px; }

/* ---------- Product page ---------- */
.product-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: var(--text);
}
.product-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.product-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.93) 30%, rgba(255,255,255,0) 70%);
  z-index: 2;
}
.product-hero__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px var(--gutter);
  min-height: 500px;
  display: flex;
  align-items: center;
}
.product-hero__content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-hero__title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.product-hero__short {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 500px;
}
.product-hero__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.product-hero__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.product-hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.product-desc { padding: 48px 0; background: var(--white); border-top: 1px solid var(--border); }
.product-desc p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 1100px;
}
.product-desc h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 16px;
}
.product-advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.adv-card__icon { color: var(--primary); }
.adv-card__icon .icon { width: 24px; height: 24px; }
.adv-card h4 { font-size: 16px; font-weight: 600; }
.adv-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.specs { padding: 48px 0; background: var(--bg); }
.specs__title { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.specs-table {
  background: var(--white);
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  overflow: hidden;
}
.specs-table__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  gap: 16px;
}
.specs-table__row:last-child { border-bottom: 0; }
.specs-table__label { color: var(--text-muted); }
.specs-table__value { color: var(--text); font-weight: 600; text-align: right; display: flex; align-items: center; gap: 8px; }
.specs-table__value.success { color: var(--success); }

/* ---------- Service (Остекление) ---------- */
.text-content { padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.text-content p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 1100px;
}

/* ---------- Gallery ---------- */
.filter-tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.filter-tabs__wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter);
}
.filter-tabs__list { display: flex; flex-wrap: wrap; gap: 12px; }
.filter-tab {
  padding: 10px 24px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-card {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-card__img {
  height: 240px;
  background-size: cover;
  background-position: center;
}
.gallery-card__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gallery-card__title { font-size: 15px; font-weight: 600; }
.gallery-card__desc { font-size: 13px; color: var(--text-muted); }
.gallery-card__tag { align-self: flex-start; }

.load-more-wrap { text-align: center; margin-top: 32px; }
.load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  color: var(--text);
  font-weight: 500;
}
.load-more:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Contacts page ---------- */
.contacts-info {
  background: var(--white);
  padding: 64px 0;
}
.contacts-info__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.contacts-info__row--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.contact-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-col__icon { color: var(--primary); }
.contact-col__icon .icon { width: 24px; height: 24px; }
.contact-col__label { font-size: 16px; font-weight: 700; }
.contact-col__value { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.contact-col__value a { color: var(--primary); }

.map-section { background: var(--bg); padding: 64px 0; }
.map-section__title { font-size: 28px; font-weight: 700; margin-bottom: 32px; }
.map-frame {
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* ---------- Lightbox ---------- */
.gallery-card__img { position: relative; }
.gallery-card__count {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gallery-card__count .icon { width: 13px; height: 13px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.92);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 16px;
}
.lightbox.is-open { display: flex; }
.lightbox__main {
  max-width: 92vw;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 65vh;
  border-radius: var(--radius-l);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  display: block;
}
.lightbox__title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  min-height: 1.4em;
}
.lightbox__counter {
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-weight: 500;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1010;
  transition: background .15s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 4px 12px;
  max-width: 92vw;
  scrollbar-width: thin;
}
.lightbox__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: .55;
  transition: opacity .15s, border-color .15s;
}
.lightbox__thumb:hover { opacity: .85; }
.lightbox__thumb.is-active { opacity: 1; border-color: #fff; }

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__close .icon { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */

/* ===== Tablet landscape (≤1199px): compact desktop ===== */
@media (max-width: 1199px) {
  :root { --gutter: 32px; }
  .hero__title { font-size: 32px; }
  .page-hero__title { font-size: 36px; }
  .product-hero__title { font-size: 36px; }
  .categories__grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card--wide { grid-column: span 3; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .service-cards__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { height: 440px; }
  .measurer__inner { grid-template-columns: 1fr; }
  .benefits { max-width: none; }
  .product-advantages { grid-template-columns: repeat(2, 1fr); }
  .strengths__grid { grid-template-columns: 1fr; gap: 16px; }
  .top-bar__info--addr { font-size: 12px; }
}

/* ===== Tablet (≤1023px) ===== */
@media (max-width: 1023px) {
  :root { --gutter: 24px; }

  /* Top bar — hide address, keep phone+hours */
  .top-bar__inner { gap: 12px; padding: 10px var(--gutter); flex-wrap: wrap; }
  .top-bar__info--addr { display: none; }
  .top-bar__logo { height: 30px; }
  .top-bar__inner .btn { padding: 7px 12px; font-size: 12px; }

  /* Nav becomes horizontal scroll */
  .nav-bar__inner { overflow-x: auto; gap: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-bar__inner::-webkit-scrollbar { display: none; }
  .dropdown { display: none; }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.is-open .dropdown { display: none; }

  /* Hero */
  .hero__inner { min-height: 440px; padding: 40px var(--gutter); }
  .hero__title { font-size: 28px; }
  .hero__sub { font-size: 15px; }
  .hero__overlay {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 60%, rgba(255,255,255,.4) 85%, rgba(255,255,255,0) 100%);
  }
  .page-hero,
  .page-hero--lg { min-height: 340px; }
  .page-hero__inner { min-height: 340px; padding: 48px var(--gutter); }
  .page-hero__title { font-size: 32px; }
  .page-hero__overlay {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.96) 55%, rgba(255,255,255,.3) 85%, rgba(255,255,255,0) 100%);
  }
  .product-hero { min-height: 420px; }
  .product-hero__inner { min-height: 420px; padding: 40px var(--gutter); }
  .product-hero__title { font-size: 30px; }
  .product-hero__overlay {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.95) 55%, rgba(255,255,255,.3) 90%, rgba(255,255,255,0) 100%);
  }

  /* Section titles */
  .section-title--lg,
  .contact-form__title,
  .measurer__title,
  .categories__title,
  .map-section__title { font-size: 26px; }

  /* Grids */
  .products-grid,
  .categories__grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card--wide { grid-column: span 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-info__row { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .service-card { height: 420px; }

  /* Contact form — stack, full-width box */
  .contact-form { background: var(--bg); }
  .contact-form__bg { opacity: .25; }
  .contact-form__overlay {
    background: linear-gradient(180deg, rgba(240,242,245,.98) 0%, rgba(240,242,245,.92) 100%);
  }
  .contact-form__inner { padding: 40px var(--gutter); }
  .contact-form__box { max-width: 100%; }
  .input { max-width: 100%; }

  /* Reputation stack */
  .reputation__inner { flex-direction: column; align-items: flex-start; }
  .rating-cards { width: 100%; }
  .rating-card { flex: 1 1 260px; width: auto; min-width: 0; }

  /* Footer */
  .site-footer__top { flex-direction: column; align-items: flex-start; text-align: left; gap: 20px; }
  .footer-company { text-align: left; }
}

/* ===== Mobile (≤767px) ===== */
@media (max-width: 767px) {
  :root { --gutter: 16px; }

  /* Section paddings */
  .section,
  .section--lg { padding: 32px 0; }
  .cat-section,
  .measurer,
  .strengths,
  .reputation,
  .service-cards,
  .categories,
  .product-desc,
  .specs,
  .contacts-info,
  .map-section,
  .text-content { padding: 32px 0; }

  /* Top bar — compact, show only logo + phone */
  .top-bar__inner { padding: 10px var(--gutter); gap: 10px; flex-wrap: nowrap; }
  .top-bar__info--hours { display: none; }
  .top-bar__info--phone { margin-left: auto; font-size: 13px; }
  .top-bar__info--phone .icon { width: 14px; height: 14px; }
  .top-bar__spacer { display: none; }
  .top-bar__inner .btn,
  .top-bar__inner .messenger-btn { display: none; }
  .top-bar__logo { height: 28px; }

  /* Nav bar — collapsed; burger sits in top-bar */
  .nav-bar { display: none; }
  .burger { display: inline-flex; margin-left: 4px; flex-shrink: 0; }

  /* Full-screen mobile menu opens BELOW top-bar, which stays visible */
  .nav-bar.is-open {
    display: block;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: var(--white);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 0;
    padding: 0;
  }
  .nav-bar.is-open .nav-bar__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0 24px;
    max-width: none;
    overflow: visible;
  }
  .nav-bar.is-open .nav-item,
  .nav-bar.is-open .has-dropdown { width: 100%; }
  .nav-bar.is-open .nav-item {
    padding: 16px var(--gutter);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
    white-space: normal;
  }
  .nav-bar.is-open .has-dropdown > .nav-item { cursor: pointer; }
  .nav-bar.is-open .has-dropdown > .nav-item .icon { transition: transform .2s ease; }
  .nav-bar.is-open .has-dropdown.is-open > .nav-item .icon { transform: rotate(180deg); }

  /* Nested dropdown inside mobile menu — white bg, indented items */
  .nav-bar.is-open .dropdown {
    display: none;
    position: static;
    width: 100%;
    max-width: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px var(--gutter) 12px calc(var(--gutter) + 12px);
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--border);
  }
  .nav-bar.is-open .has-dropdown.is-open .dropdown { display: grid; }
  .nav-bar.is-open .has-dropdown.is-open > .nav-item { border-bottom: 0; }
  .nav-bar.is-open .dropdown__col { padding: 10px 0; }
  .nav-bar.is-open .dropdown__col h4 { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
  .nav-bar.is-open .dropdown__col a { padding: 7px 0; font-size: 14px; color: var(--text); font-weight: 500; }

  /* Mobile extras (CTAs + messengers) */
  .nav-bar__mobile-extras {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px var(--gutter) 0;
    margin-top: 8px;
  }
  .nav-bar__mobile-actions { display: flex; flex-direction: column; gap: 10px; }
  .nav-bar__mobile-actions .btn { justify-content: center; width: 100%; }
  .nav-bar__mobile-messengers { display: flex; gap: 12px; }
  .nav-bar__mobile-messengers a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-m);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    width: auto;
    height: auto;
  }
  .nav-bar__mobile-messengers a .icon { width: 18px; height: 18px; }
  .nav-bar__mobile-messengers .messenger-btn--wa { background: var(--wa); }
  .nav-bar__mobile-messengers .messenger-btn--tg { background: var(--tg); }

  /* Body lock when mobile menu is open */
  body.is-menu-open { overflow: hidden; }
  body.is-menu-open .top-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 110; }
  body.is-menu-open { padding-top: 50px; }

  /* Hero */
  .hero__inner { min-height: auto; padding: 28px var(--gutter); }
  .hero__content { gap: 16px; max-width: 100%; }
  .hero__title { font-size: 24px; line-height: 1.25; }
  .hero__sub { font-size: 14px; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 65%, rgba(255,255,255,.75) 100%);
  }
  .page-hero,
  .page-hero--lg { min-height: auto; }
  .page-hero__inner { min-height: auto; padding: 36px var(--gutter); }
  .page-hero__content { gap: 14px; max-width: 100%; }
  .page-hero__title { font-size: 26px; }
  .page-hero__sub { font-size: 14px; }
  .page-hero__overlay {
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 55%, rgba(255,255,255,.7) 100%);
  }
  .product-hero { min-height: auto; }
  .product-hero__inner { min-height: auto; padding: 32px var(--gutter); }
  .product-hero__title { font-size: 24px; }
  .product-hero__content { gap: 12px; max-width: 100%; }
  .product-hero__price { font-size: 22px; }
  .product-hero__overlay {
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 55%, rgba(255,255,255,.75) 100%);
  }
  .product-hero__buttons { width: 100%; }
  .product-hero__buttons .btn { flex: 1 1 auto; justify-content: center; }

  /* Badges — smaller on mobile */
  .badges { gap: 6px; }
  .badge { padding: 8px 12px; font-size: 12px; gap: 6px; }
  .badge .icon { width: 14px; height: 14px; }

  /* Section titles */
  .section-title { font-size: 22px; }
  .section-title--lg,
  .contact-form__title,
  .measurer__title,
  .categories__title,
  .map-section__title,
  .cat-section__head h2,
  .specs__title { font-size: 22px; }
  .reputation__text { font-size: 18px; }

  /* All grids stack to 1 column */
  .products-grid,
  .categories__grid,
  .gallery-grid,
  .service-cards__grid,
  .contacts-info__row,
  .contacts-info__row--2,
  .product-advantages { grid-template-columns: 1fr; gap: 16px; }
  .cat-card--wide { grid-column: span 1; }
  .cat-card { padding: 20px; }
  .cat-card h3 { font-size: 18px; }

  /* Strengths cards — reduce padding */
  .strength-card { padding: 20px; }
  .strength-card h3 { font-size: 19px; margin-bottom: 8px; }
  .strength-card p { font-size: 14px; }

  /* Service cards — reasonable height */
  .service-card { height: 340px; }
  .service-card__body { padding: 20px; }
  .service-card h3 { font-size: 19px; margin-bottom: 12px; }
  .service-card li { font-size: 13px; }

  /* Product cards */
  .product-card__img { aspect-ratio: 16 / 10; }

  /* Rating cards */
  .rating-card { width: 100%; padding: 16px 18px; }
  .rating-card__name { font-size: 16px; }
  .rating-card__score { font-size: 16px; }

  /* Contact form */
  .contact-form__inner { padding: 28px var(--gutter); }
  .contact-form__box { gap: 14px; }
  .contact-form__sub { font-size: 14px; }
  .input { padding: 12px 14px; font-size: 14px; }

  /* Measurer */
  .measurer__inner { gap: 24px; }
  .measurer__sub { font-size: 14px; }
  .benefits { padding: 20px; gap: 14px; }
  .benefits ul { gap: 14px; }

  /* Marquee slower + smaller logos */
  .marquee { padding: 24px 0; }
  .marquee__item { width: 130px; height: 56px; }
  .marquee__track { gap: 16px; animation-duration: 28s; }

  /* Breadcrumb */
  .breadcrumb { font-size: 12px; flex-wrap: wrap; }

  /* Filter tabs — horizontal scroll */
  .filter-tabs__wrap { padding: 16px var(--gutter); }
  .filter-tabs__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
  }
  .filter-tabs__list::-webkit-scrollbar { display: none; }
  .filter-tab { white-space: nowrap; padding: 8px 16px; font-size: 13px; }

  /* Specs table — stack label/value */
  .specs-table__row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; font-size: 14px; }
  .specs-table__value { text-align: left; }

  /* Product description */
  .product-desc p,
  .text-content p { font-size: 14px; line-height: 1.65; }

  /* Advantage cards */
  .adv-card { padding: 18px; }

  /* Map */
  .map-frame { height: 260px; }

  /* Footer */
  .site-footer__wrap { padding: 28px var(--gutter) 20px; }
  .footer-messengers { gap: 20px; }
  .footer-messengers a { font-size: 13px; }
  .site-footer__sep { margin: 20px 0; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }
  .footer-logo { height: 36px; }

  /* Lightbox */
  .lightbox { padding: 16px; }
  .lightbox__close { top: 12px; right: 12px; width: 40px; height: 40px; }
}

/* ===== Small mobile (≤420px) ===== */
@media (max-width: 420px) {
  .top-bar__info--phone span,
  .top-bar__info--phone { font-size: 12px; }
  .hero__title { font-size: 22px; }
  .page-hero__title { font-size: 24px; }
  .product-hero__title { font-size: 22px; }
  .service-card { height: 300px; }
  .service-card h3 { font-size: 17px; }
  .strength-card h3 { font-size: 18px; }
  .section-title,
  .section-title--lg,
  .contact-form__title,
  .measurer__title,
  .categories__title,
  .map-section__title,
  .cat-section__head h2 { font-size: 20px; }
  .rating-card { padding: 14px 16px; }
  .marquee__item { width: 110px; height: 48px; }
  .product-hero__price { font-size: 20px; }
  .contact-form__inner,
  .page-hero__inner,
  .hero__inner,
  .product-hero__inner { padding: 24px var(--gutter); }
}
