/* =============================================================
   СТК Украина — генераторы. Вёрстка (без скриптов).
   Дизайн-токены + компоненты + адаптив.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg-page:      #f2f2f0;
  --white:        #ffffff;
  --ink:          #1e2024;
  --ink-soft:     #4c5055;
  --ink-2:        #17191c;   /* footer bg */
  --accent:       #e8641a;
  --accent-dark:  #cf5310;
  --tint:         #fdf3ec;   /* orange tint */
  --green:        #1f7a3d;

  --muted:        #6e7278;
  --muted-2:      #8a8f95;
  --muted-3:      #55595e;
  --muted-4:      #7d8288;
  --on-dark:      #b9bcc0;
  --on-dark-2:    #9ca1a7;

  --line:         #e4e4e2;
  --line-2:       #eeeeec;
  --line-3:       #e0e0dd;
  --line-4:       #f0f0ee;
  --line-5:       #e8e8e6;
  --line-6:       #d8d8d5;
  --dline:        #34383d;   /* dark section line */
  --dline-2:      #3a3e44;
  --dline-3:      #33373d;
  --dline-4:      #26292d;

  --font:      Barlow, Helvetica, Arial, sans-serif;
  --font-cond: "Barlow Condensed", Barlow, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 3px;
  --cw: 1280px;                    /* container width, overridden per page */
  --pad: 32px;                     /* container side padding */
  --header-h: 88px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-page);
  font-family: var(--font);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; transition: color 160ms; }
a:hover { color: var(--accent); }
img { border-style: none; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }

.page { width: 100%; background: var(--white); }

/* Per-page container width (shared chrome follows the page) */
.page-catalog,
.page-about,
.page-delivery,
.page-contacts,
.page-text { --cw: 1440px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--cw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.container--1240 { max-width: 1240px; }
.container--1040 { max-width: 1040px; }
.container--1000 { max-width: 1000px; }

.icon { display: block; flex: none; }
.icon--invert { opacity: .8; filter: invert(1); }
.icon--dim { opacity: .6; }
.icon--dim2 { opacity: .4; }

.eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
}
.eyebrow__line { display: block; width: 22px; height: 1px; background: var(--accent); flex: none; }
.eyebrow__text {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted-2);
}
.eyebrow--sm .eyebrow__line { width: 14px; }
.eyebrow--sm .eyebrow__text { letter-spacing: .16em; }

.section-title {
  font-family: var(--font-cond); font-weight: 600; line-height: 1.08;
  letter-spacing: -.005em; margin: 0;
}

/* Accent bullet list */
.bullets { display: flex; flex-direction: column; }
.bullet {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 18px;
  padding: 20px 0; border-top: 1px solid var(--line-2); align-items: start;
}
.bullet:last-child { border-bottom: 1px solid var(--line-2); }
.bullet__dot { display: block; width: 8px; height: 8px; margin-top: 9px; background: var(--accent); border-radius: var(--radius); }
.bullet__title { font-weight: 600; margin-bottom: 4px; }
.bullet__text { font-size: 15px; color: var(--muted); }

/* Buttons */
.btn { cursor: pointer; border-radius: var(--radius); font-family: var(--font); text-transform: uppercase; transition: background 160ms, color 160ms, border-color 160ms; }
.btn--accent { background: var(--accent); color: var(--white); border: 0; }
.btn--accent:hover { background: var(--accent-dark); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--outline { background: var(--white); color: var(--ink); border: 1px solid var(--line-6); }
.btn--outline:hover { border-color: var(--ink); }

/* Dark CTA banner (about / delivery bottom) */
.cta-dark {
  background: var(--ink); color: var(--white); border-radius: var(--radius);
  padding: 36px 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-dark__title { font-family: var(--font-cond); font-size: 24px; font-weight: 600; line-height: 1.1; }
.cta-dark__text { margin: 8px 0 0; font-size: 15px; color: var(--on-dark-2); max-width: 480px; }
.cta-dark__btn {
  display: inline-flex; align-items: center; gap: 12px; background: var(--accent); color: var(--white);
  border-radius: var(--radius); height: 52px; padding: 0 30px; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; flex: none; transition: background 160ms, color 160ms;
}
.cta-dark__btn:hover { background: var(--white); color: var(--ink); }
.cta-dark__btn span { font-size: 15px; line-height: 1; }

/* =============================================================
   Topbar
   ============================================================= */
.topbar { background: var(--ink); color: var(--on-dark); font-size: 13px; }
.topbar .container { padding: 6px 24px; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar__left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; row-gap: 6px; }
.topbar__mail { display: flex; align-items: center; gap: 8px; }
.topbar__mail a { color: var(--on-dark); }
.topbar__mail a:hover { color: var(--accent); }
.topbar__messengers { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; row-gap: 6px; }
.msgr {
  display: flex; align-items: center; gap: 7px; color: #dcdfe2; border: 1px solid var(--dline-2);
  border-radius: var(--radius); padding: 4px 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  transition: color 160ms, border-color 160ms, background 160ms;
}
.msgr:hover { color: var(--white); border-color: var(--accent); background: var(--accent); }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__hours { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-4); }
.lang { display: flex; align-items: center; gap: 2px; }
.lang__btn {
  background: transparent; color: var(--on-dark-2); border: 1px solid var(--dline-2);
  border-radius: var(--radius); padding: 4px 9px; font-family: var(--font); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms;
}
.lang__btn:hover { color: var(--white); }
.lang__btn.is-active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* =============================================================
   Header
   ============================================================= */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .container { padding: 0 24px; min-height: var(--header-h); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; row-gap: 12px; }
.site-header__logo { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.site-header__logo .custom-logo-link { display: block; line-height: 0; max-width: 100%; }
.logo-img, .site-header__logo img, .site-header__logo .custom-logo { display: block; height: 42px; width: auto; max-width: 100%; max-height: 42px; object-fit: contain; flex: none; }

/* Catalog button + mega menu (opens on hover / focus, no JS) */
.catalog { position: relative; display: flex; align-items: center; flex: none; }
.catalog__btn {
  display: flex; align-items: center; gap: 12px; background: var(--accent); color: var(--white); border: 0;
  border-radius: var(--radius); height: 48px; padding: 0 22px; flex: none; font-family: var(--font);
  font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: background 160ms;
}
.catalog__btn:hover { background: var(--accent-dark); }
.burger { display: flex; flex-direction: column; gap: 3px; width: 16px; }
.burger span { height: 2px; background: var(--white); display: block; }
.catalog__menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 50; min-width: 300px;
  background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius);
  box-shadow: 0 22px 44px rgba(30, 32, 36, .18); padding: 10px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 160ms, transform 160ms, visibility 160ms;
}
.catalog:hover .catalog__menu,
.catalog:focus-within .catalog__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.catalog__link {
  display: flex; align-items: center; height: 42px; padding: 0 14px; border: 1px solid var(--line-2);
  border-radius: var(--radius); color: var(--muted-3);
  transition: border-color 160ms, color 160ms, background 160ms;
}
.catalog__link span {
  font-family: var(--font); font-size: 14px; font-weight: 500; letter-spacing: .01em; line-height: 1;
}
.catalog__link svg { display: block; margin-left: auto; flex: none; opacity: .6; }
.catalog__link:hover { border-color: var(--accent); background: var(--tint); color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; row-gap: 6px; }
.main-nav a { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.header-contacts { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; line-height: 1.15; }
.header-phone__row { display: flex; align-items: center; gap: 6px; }
.header-phone__num { font-family: var(--font-cond); font-size: 22px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.header-phone__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.phones-toggle {
  display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 4px;
  padding: 0; background: transparent; border: 1px solid var(--line-6); border-radius: var(--radius); cursor: pointer;
}
.phones-toggle__caret {
  display: block; width: 6px; height: 6px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-1px, -1px);
}
.callback-btn {
  display: flex; align-items: center; justify-content: center; background: var(--white); color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--radius); height: 48px; width: 48px; padding: 0; flex: none;
  cursor: pointer; transition: background 160ms, color 160ms;
}
.callback-btn:hover { background: var(--ink); color: var(--white); }

/* =============================================================
   Breadcrumbs
   ============================================================= */
.breadcrumbs { background: var(--bg-page); border-bottom: 1px solid var(--line); }
.breadcrumbs .container { padding: 14px 32px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted-2); }
.breadcrumbs a { color: var(--muted-2); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__current { color: var(--ink); }

/* =============================================================
   Decorative glow blobs (dark & light sections)
   ============================================================= */
.glow { position: absolute; border-radius: 50%; pointer-events: none; display: block; }

/* =============================================================
   Home — hero slider
   ============================================================= */
.hero { background: var(--bg-page); padding: 28px 0 0; }
.slider { position: relative; overflow: hidden; border-radius: var(--radius); }
.slider__track { display: flex; width: 300%; transition: transform 500ms cubic-bezier(.4, 0, .2, 1); }
.slide { overflow: hidden; }
.slide img { display: block; width: 100%; height: auto; }
.slide--ph { display: flex; align-items: flex-end; padding: 28px; }
.slide--ph2 { background-color: #dfd7d0; background-image: repeating-linear-gradient(135deg, #d4cac1 0 10px, #dfd7d0 10px 20px); }
.slide--ph3 { background-color: #d5d8da; background-image: repeating-linear-gradient(135deg, #c9ccce 0 10px, #d5d8da 10px 20px); }
.slide__note {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: var(--white); border-radius: var(--radius); padding: 8px 12px;
}
.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0;
  border-radius: var(--radius); background: rgba(30, 32, 36, .72); color: var(--white); font-size: 18px;
  cursor: pointer; transition: background 160ms;
}
.slider__arrow:hover { background: var(--accent); }
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__dots { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 6px; }
.slider__dot { width: 10px; height: 10px; border: 0; border-radius: var(--radius); cursor: pointer; background: rgba(255, 255, 255, .65); transition: width 200ms, background 200ms; }
.slider__dot.is-active { width: 26px; background: var(--accent); }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 24px; }
.stat { background: var(--white); padding: 20px 24px; }
.stat__num { font-family: var(--font-cond); font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat__label { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 6px; }

/* =============================================================
   Home — categories
   ============================================================= */
.section { padding: 72px 0 80px; }
.section--light { background: var(--bg-page); }
.section--white { background: var(--white); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-head__title { font-size: 34px; }
.link-underline {
  font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border-bottom: 2px solid var(--accent); padding-bottom: 4px;
}

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: border-color 200ms, box-shadow 200ms;
}
.cat-card:hover { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cat-card__media { position: relative; display: block; height: 230px; overflow: hidden; }
.cat-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms cubic-bezier(.25, .6, .3, 1); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__media--left img { object-position: left center; }
.cat-card__media--right img { object-position: right center; }
.cat-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,32,36,.06) 0%, rgba(30,32,36,.14) 100%); display: block; pointer-events: none; }
.cat-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line-2); }
.cat-card__name { font-family: var(--font-cond); font-size: 24px; font-weight: 600; letter-spacing: .01em; line-height: 1; color: var(--ink); }
.cat-card__more { display: flex; align-items: center; gap: 9px; flex: none; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.cat-card__more svg { display: block; }

/* =============================================================
   Home — about split
   ============================================================= */
.about-split {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: 64px; align-items: center;
}
.about-photo { position: relative; }
.about-photo__frame { position: absolute; top: -14px; left: -14px; right: 40px; bottom: 40px; border: 1px solid var(--accent); border-radius: var(--radius); display: block; }
.ph-hatch { background-color: #ececeb; background-image: repeating-linear-gradient(135deg, #e2e2e0 0 9px, #ececeb 9px 18px); }
.about-photo__img { position: relative; height: 520px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.ph-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.about-photo__badge {
  position: absolute; right: 22px; bottom: 22px; background: rgba(30, 32, 36, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .16);
  color: var(--white); border-radius: var(--radius); padding: 22px 26px; display: flex; align-items: baseline; gap: 12px;
}
.about-photo__badge b { font-family: var(--font-cond); font-size: 34px; font-weight: 600; line-height: 1.08; color: var(--accent); }
.about-photo__badge span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--white); max-width: 96px; line-height: 1.3; }

.about-body__title { font-size: 40px; margin-bottom: 22px; }
.about-body__lead { margin: 0 0 32px; font-size: 18px; color: var(--ink-soft); max-width: 560px; }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; padding: 28px 0;
  border-top: 1px solid var(--line-5); border-bottom: 1px solid var(--line-5); margin-bottom: 32px;
}
.feature { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; align-items: start; }
.feature__dot { display: block; width: 8px; height: 8px; margin-top: 8px; background: var(--accent); border-radius: var(--radius); }
.feature__title { font-weight: 600; margin-bottom: 3px; }
.feature__text { font-size: 15px; color: var(--muted); }

.about-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.about-actions__cta {
  display: inline-flex; align-items: center; gap: 12px; background: var(--accent); color: var(--white);
  border-radius: var(--radius); height: 54px; padding: 0 32px; font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; transition: background 160ms, color 160ms;
}
.about-actions__cta:hover { background: var(--ink); color: var(--white); }
.about-actions__cta span { font-size: 15px; line-height: 1; }
.metric-pair { display: flex; align-items: stretch; gap: 24px; padding-left: 24px; border-left: 1px solid var(--line-5); }
.metric { display: flex; align-items: baseline; gap: 10px; }
.metric b { font-family: var(--font-cond); font-size: 34px; font-weight: 700; line-height: 1; color: var(--ink); white-space: nowrap; }
.metric span { font-size: 12px; line-height: 1.25; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); max-width: 92px; }
.metric-pair__div { width: 1px; background: var(--line-5); display: block; }

/* =============================================================
   Home — advantages (dark)
   ============================================================= */
.advantages { position: relative; background: var(--ink); color: var(--white); padding: 76px 0 84px; overflow: hidden; }
.advantages .eyebrow__text { color: var(--white); }
.advantages .section-head { margin-bottom: 40px; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dline-3); border: 1px solid var(--dline-3); border-radius: var(--radius); }
.adv { background: var(--ink); padding: 32px 28px 36px; }
.adv__num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 22px; }
.adv__title { font-family: var(--font-cond); font-size: 21px; font-weight: 600; margin: 0 0 10px; }
.adv__text { margin: 0; font-size: 16px; color: var(--white); }

/* =============================================================
   SEO collapsible block
   ============================================================= */
.seo__title { font-size: 30px; line-height: 1.12; margin: 0 0 24px; }
.seo__body { position: relative; overflow: hidden; transition: max-height 320ms ease; max-height: 280px; }
.seo__body.is-open { max-height: 1600px; }
.seo__text { font-size: 16px; color: var(--muted-3); display: flex; flex-direction: column; gap: 16px; }
.seo__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white)); }
.seo__toggle { margin-top: 24px; height: 48px; padding: 0 26px; font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.seo__label--top { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: var(--ink-2); color: var(--on-dark-2); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { display: block; height: 34px; width: auto; }
.footer-about { margin: 0 0 20px; font-size: 15px; max-width: 340px; color: var(--white); }
.socials { display: flex; gap: 8px; }
.social {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid var(--dline); border-radius: var(--radius); transition: border-color 160ms, background 160ms;
}
.social:hover { border-color: var(--accent); background: var(--accent); }
.footer-col__head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.footer-col__head span:first-child { display: block; width: 14px; height: 1px; background: var(--accent); flex: none; }
.footer-col__head b { font-family: var(--font-cond); font-size: 18px; font-weight: 600; letter-spacing: .02em; line-height: 1.1; color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-links a { color: var(--white); }
.footer-links a:hover { color: var(--accent); }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts__row { display: flex; align-items: center; gap: 10px; }
.footer-phone { color: var(--white); font-family: var(--font-cond); font-size: 22px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.footer-phone:hover { color: var(--accent); }
.footer-msgrs { display: flex; align-items: center; gap: 6px; }
.msgr-sq { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--dline); border-radius: var(--radius); transition: border-color 160ms; }
.msgr-sq:hover { border-color: var(--accent); }
.footer-contacts__row a { color: var(--white); }
.footer-contacts__row a:hover { color: var(--accent); }
.footer-contacts__row--mail a { font-size: 15px; overflow-wrap: anywhere; }
.footer-contacts__row--txt { font-size: 15px; color: var(--white); }
.footer-contacts__row--txt.is-sm { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--dline-4); padding: 20px 0 26px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; font-size: 13px; color: var(--muted);
}
.footer-bottom__links { display: flex; align-items: center; gap: 20px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom__lang { display: flex; gap: 10px; }

/* =============================================================
   Catalog page
   ============================================================= */
.cat-hero { position: relative; background: var(--bg-page); padding: 36px 0 64px; overflow: hidden; }
.cat-hero__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: 56px; align-items: end; margin-bottom: 34px; }
.cat-hero__title { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }
.cat-hero__title span { color: var(--accent); }
.cat-hero__lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink); }
.cat-hero__lead strong { font-weight: 600; }
.cat-hero__lead .accent { color: var(--accent); font-weight: 600; }

.catalog-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }

/* Filters */
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 104px; }
.filters__head {
  padding: 18px 22px; border-top: 2px solid var(--accent); display: flex; align-items: center;
  justify-content: space-between; gap: 12px; background: var(--white); border-bottom: 1px solid var(--line-2);
}
.filters__head-title { display: flex; align-items: center; gap: 10px; }
.filters__head-title b { font-family: var(--font-cond); font-size: 20px; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.filters__head-actions { display: flex; align-items: center; gap: 10px; }
.filters__reset { background: none; border: 0; padding: 0; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); cursor: pointer; transition: color 160ms; }
.filters__reset:hover { color: var(--accent); }
.filters__close { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; padding: 0; background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius); font-size: 15px; line-height: 1; color: var(--muted-3); cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms; }
.filters__close:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Кнопка «Фильтр» над каталогом (моб.) + подложка выезжающей панели */
.filter-open { display: none; align-items: center; gap: 9px; height: 40px; padding: 0 16px; background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius); font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); cursor: pointer; transition: background 160ms, color 160ms; }
.filter-open:hover { background: var(--ink); color: var(--white); }
.filters-backdrop { display: none; position: fixed; inset: 0; z-index: 290; background: rgba(23, 25, 28, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 300ms ease, visibility 0s linear 300ms; }
.filters-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.filter-group { padding: 22px; border-bottom: 1px solid var(--line-2); }
.filter-group__label { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-3); margin-bottom: 16px; }
.filter-group__label span { display: block; width: 12px; height: 1px; background: var(--accent); flex: none; }
.filter-list { display: flex; flex-direction: column; gap: 2px; }
.check {
  display: flex; align-items: center; gap: 11px; width: 100%; background: transparent; border: 0;
  border-radius: var(--radius); padding: 9px 10px; margin: 0 -10px; font-family: var(--font); font-size: 14px;
  color: var(--muted-3); cursor: pointer; text-align: left;
}
.check:hover { background: var(--tint); }
.check__box { width: 18px; height: 18px; flex: none; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; border: 1px solid #cfd1d4; background: var(--white); }
.check__box i { width: 9px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg) translate(1px, -1px); display: none; }
.check__label { flex: 1; text-align: left; }
.check__count { font-family: var(--font-mono); font-size: 10px; color: var(--muted); background: var(--bg-page); border-radius: var(--radius); padding: 3px 7px; }
.check.is-on { background: var(--tint); color: var(--ink); }
.check.is-on .check__box { border-color: var(--accent); background: var(--accent); }
.check.is-on .check__box i { display: block; }

.kw-range { display: flex; align-items: center; gap: 10px; }
.kw-range input { width: 100%; height: 42px; border: 1px solid var(--line-3); border-radius: var(--radius); padding: 0 12px; font-family: var(--font-mono); font-size: 13px; color: var(--ink); background: var(--white); }
.kw-range input:focus { border-color: var(--accent); outline: none; }
.kw-range span { color: #c4c7ca; }
.filter-actions { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.filter-actions .btn { height: 50px; font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.filter-actions .btn--accent:hover { background: var(--ink); }

/* Results */
.results-bar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.results-bar__count { font-size: 14px; color: var(--muted); }
.results-bar__count strong { color: var(--ink); }
.results-bar__div { width: 1px; height: 24px; background: var(--line-2); display: block; }
.results-bar__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.sort { display: flex; gap: 6px; flex-wrap: wrap; }
.sort__btn { background: var(--white); color: var(--muted-3); border: 1px solid var(--line-3); border-radius: var(--radius); height: 34px; padding: 0 14px; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms; }
.sort__btn:hover { border-color: var(--ink); }
.sort__btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }

.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* Synced horizontal scrollbars: one above, one below the table */
.table-scroll-top { overflow-x: auto; overflow-y: hidden; border-bottom: 1px solid var(--line-4); }
.table-scroll-spacer { height: 1px; }
.table-scroll { overflow-x: auto; }

/* Table styled with NO classes — pure structure + :nth-child */
.table-scroll table { width: 100%; min-width: 1320px; border-collapse: collapse; font-size: 14px; }
.table-scroll thead tr { background: var(--ink); color: var(--white); }
.table-scroll th {
  text-align: left; padding: 14px 12px; font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); white-space: nowrap;
}
.table-scroll th:nth-child(1), .table-scroll th:nth-child(8) { color: var(--white); }        /* key columns */
.table-scroll th:nth-child(4), .table-scroll th:nth-child(5),
.table-scroll th:nth-child(6), .table-scroll th:nth-child(7),
.table-scroll th:nth-child(8) { text-align: right; }
.table-scroll th:nth-child(10) { text-align: center; }

.table-scroll td { padding: 15px 12px; border-bottom: 1px solid var(--line-4); color: var(--muted-3); white-space: nowrap; }
.table-scroll tbody tr { transition: background 140ms; }
.table-scroll tbody tr:nth-child(even) { background: #fafaf9; }
.table-scroll tbody tr:hover td { background: var(--tint); }
.table-scroll tbody tr.is-hidden { display: none; }

/* Column alignment / typography by position */
.table-scroll td:nth-child(3) { font-family: var(--font-mono); font-size: 13px; }
.table-scroll td:nth-child(4), .table-scroll td:nth-child(5) { text-align: right; font-family: var(--font-mono); font-size: 13px; }
.table-scroll td:nth-child(6), .table-scroll td:nth-child(7) { text-align: right; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink); }
.table-scroll td:nth-child(8) { text-align: right; }
.table-scroll td:nth-child(10) { text-align: center; }
.table-scroll td:nth-child(11) { color: var(--ink); }

/* Model link (col 1) */
.table-scroll td:nth-child(1) a { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--accent); }
.table-scroll td:nth-child(1) a:hover { color: var(--accent); }

/* Price (col 8): in-stock rows wrap the number in <span>; request rows are plain text */
.table-scroll td:nth-child(8) span { font-family: var(--font-cond); font-size: 21px; font-weight: 600; color: var(--ink); }
.table-scroll tr[data-status="request"] td:nth-child(8) { font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted-2); }

/* Stock (col 9): in-stock <span> is green; request plain text is grey */
.table-scroll td:nth-child(9) { font-size: 13px; color: var(--muted-2); }
.table-scroll td:nth-child(9) span { display: inline-block; color: var(--green); }

/* PDF button (col 10) */
.table-scroll td:nth-child(10) a {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid var(--line-3); border-radius: var(--radius); transition: border-color 160ms, background 160ms;
}
.table-scroll td:nth-child(10) a:hover { border-color: var(--accent); background: var(--accent); }
.table-scroll td:nth-child(10) a img { display: block; }

/* Voltage badge (col 13) */
.table-scroll td:nth-child(13) span {
  display: inline-block; border: 1px solid var(--line-3); border-radius: var(--radius); padding: 3px 8px;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted-3); white-space: nowrap;
}

.pagination { display: flex; gap: 6px; margin-top: 20px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border-radius: var(--radius); font-weight: 600; }
.pagination span.is-current { background: var(--accent); color: var(--white); }
.pagination a { background: var(--white); border: 1px solid var(--line-3); }
.pagination a:hover { border-color: var(--accent); }

.makers { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.makers__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #a5a9ae; }
.maker { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; transition: color 160ms, border-color 160ms; }
.maker:hover, .maker.is-on { color: var(--accent); border-color: var(--accent); }

/* =============================================================
   Simple page hero (about / delivery / contacts)
   ============================================================= */
.page-hero { position: relative; background: var(--bg-page); padding: 44px 0 48px; overflow: hidden; }
.page-hero__eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.page-hero__title { font-size: 42px; font-weight: 600; line-height: 1.05; letter-spacing: -.005em; max-width: 900px; }
.page-hero__lead { margin: 22px 0 0; font-size: 18px; color: var(--muted-3); }

.content { padding: 56px 0 80px; background: var(--white); }
.content-stack { display: flex; flex-direction: column; gap: 56px; }
.block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.block__head .eyebrow__line { width: 22px; }
.block__head h2 { font-family: var(--font-cond); font-size: 26px; font-weight: 600; letter-spacing: -.005em; margin: 0; line-height: 1.05; }
.prose p { margin: 0 0 14px; font-size: 16px; color: var(--muted-3); }
.prose p:last-child { margin-bottom: 0; }

/* About — story split */
.story-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 44px; align-items: start; }
.story-photo { position: relative; }
.story-photo__frame { position: absolute; top: -14px; left: -14px; right: 34px; bottom: 34px; border: 1px solid var(--accent); border-radius: var(--radius); display: block; }
.story-photo img { display: block; position: relative; width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }

.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.mini-card__title { font-family: var(--font-cond); font-size: 20px; font-weight: 600; line-height: 1.1; margin-bottom: 8px; }
.mini-card__text { font-size: 15px; color: var(--muted); }

.numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); }
.number { background: var(--white); padding: 24px; }
.number__num { font-family: var(--font-cond); font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1; }
.number__label { font-size: 13px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font-family: var(--font-mono); font-size: 12px; color: var(--muted-3); }

/* Delivery — payment rows / project placeholders */
.info-rows { display: flex; flex-direction: column; }
.info-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.info-row:last-child { border-bottom: 1px solid var(--line-2); }
.info-row b { font-weight: 600; }
.info-row span { font-size: 15px; color: var(--muted); }
.tri-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 20px; }
.tri-card { background: var(--white); padding: 24px; }
.tri-card__title { font-family: var(--font-cond); font-size: 20px; font-weight: 600; }
.tri-card__text { margin: 8px 0 0; font-size: 15px; color: var(--muted); }
.projects-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.project-ph { display: flex; align-items: center; justify-content: center; height: 190px; border-radius: var(--radius); text-align: center; }

/* =============================================================
   Contacts page
   ============================================================= */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.contacts-phones { margin-top: 22px; }
.contacts-phones__label,
.field__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 12px; }
.phones-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; }
.phone-item { display: flex; flex-direction: column; gap: 7px; padding: 8px 2px; }
.phone-item__num { font-family: var(--font-cond); font-size: 23px; font-weight: 600; line-height: 1.1; letter-spacing: .06em; white-space: nowrap; color: var(--ink-soft); }
.phone-item__num:hover { color: var(--accent); }
.phone-item__msgrs { display: flex; align-items: center; gap: 5px; }
.msgr-sm { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1px solid var(--line-3); border-radius: var(--radius); transition: border-color 160ms; }
.msgr-sm:hover { border-color: var(--accent); }
.city-tag { display: inline-flex; align-self: flex-start; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--accent); background: var(--tint); border-radius: var(--radius); padding: 2px 8px; }
.phone-item .city-tag { font-size: 15px; padding: 3px 10px; }

.detail-rows { margin-top: 30px; }
.detail-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line-2); align-items: baseline; }
.detail-row__val { font-size: 17px; font-weight: 600; }
.detail-row__val a { font-size: 17px; font-weight: 600; }
.detail-row__sub { font-size: 14px; color: var(--muted-2); margin-top: 3px; }
.hours-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: 300px; }
.hours-row span:first-child { font-size: 16px; color: var(--muted-3); }
.hours-row span:last-child { font-size: 17px; font-weight: 600; }
.hours-row.is-off span:last-child { font-size: 16px; font-weight: 400; color: var(--muted-2); }

.social-pills { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.social-pill { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-3); border-radius: var(--radius); height: 46px; padding: 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: border-color 160ms, color 160ms; }
.social-pill:hover { border-color: var(--accent); color: var(--accent); }

.map-ph { margin-top: 28px; height: 320px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }

/* Contact form */
.contact-form { background: #f7f7f5; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; position: sticky; top: 104px; }
.contact-form__title { font-family: var(--font-cond); font-size: 24px; font-weight: 600; letter-spacing: -.005em; margin: 0 0 8px; line-height: 1.05; }
.contact-form__note { margin: 0 0 26px; font-size: 15px; color: var(--muted); }
.form-fields { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field input, .field textarea { border: 1px solid var(--line-3); border-radius: var(--radius); font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--white); }
.field input { height: 50px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.channels { display: flex; gap: 6px; }
.channel { background: var(--white); color: var(--muted-3); border: 1px solid var(--line-3); border-radius: var(--radius); height: 40px; padding: 0 16px; font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms; }
.channel:hover { border-color: var(--ink); }
.channel.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.form-submit { height: 54px; border: 0; border-radius: var(--radius); font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); background: #c9ccd0; cursor: not-allowed; transition: background 160ms; }
.form-agree { font-size: 13px; color: var(--muted-2); }
.form-agree a { color: var(--muted-2); border-bottom: 1px solid var(--line-6); }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .cat-hero__head { grid-template-columns: 1fr; gap: 20px; }
  .catalog-layout { grid-template-columns: 260px minmax(0, 1fr); }
}

/* =============================================================
   Mobile header — burger + off-canvas drawer
   ============================================================= */
.nav-toggle {
  display: none; align-items: center; gap: 8px; height: 42px; padding: 0 12px; flex: none;
  border: 1px solid var(--line-6); border-radius: var(--radius); background: var(--white); cursor: pointer;
}
.nav-toggle__box { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 18px; }
.nav-toggle__box span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 220ms, opacity 160ms; }
.nav-toggle__text { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* phones-toggle: обычный вид — «уголок»; в мобильной шапке — телефон + шеврон */
.phones-toggle__stack { display: none; align-items: center; gap: 3px; color: var(--ink); }
.phones-toggle__stack svg { display: block; }

/* Off-canvas drawer — выезжает справа, плавно открывается и закрывается */
.nav-drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; transition: visibility 0s linear 320ms; }
.nav-drawer.is-open { visibility: visible; transition-delay: 0s; }
.nav-drawer__backdrop { position: absolute; inset: 0; background: rgba(23, 25, 28, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity 300ms ease; }
.nav-drawer.is-open .nav-drawer__backdrop { opacity: 1; }
.nav-drawer__panel {
  position: absolute; top: 0; right: 0; height: 100vh; height: 100dvh; width: 86%; max-width: 360px; background: var(--white);
  box-shadow: -22px 0 60px rgba(23, 25, 28, .28); display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(100%); transition: transform 320ms cubic-bezier(.22, .61, .36, 1);
}
.nav-drawer.is-open .nav-drawer__panel { transform: translateX(0); }
.nav-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; padding: 18px 20px 16px; border-bottom: 1px solid var(--line-2); }
.nav-drawer__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px 20px 24px; }
.nav-drawer__logo img { height: 34px; width: auto; display: block; }
.nav-drawer__close {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none;
  background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius); font-size: 18px; line-height: 1;
  color: var(--muted-3); cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms;
}
.nav-drawer__close:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.nav-drawer__section { padding: 18px 0 4px; }
.nav-drawer__section + .nav-drawer__section { border-top: 1px solid var(--line-2); }
.nav-drawer__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.nav-drawer__catalog { display: flex; flex-direction: column; gap: 8px; }
.nav-drawer__catalog a {
  display: flex; align-items: center; height: 46px; padding: 0 14px; border: 1px solid var(--line-2);
  border-radius: var(--radius); font-size: 15px; font-weight: 500; color: var(--muted-3);
  transition: border-color 160ms, background 160ms, color 160ms;
}
.nav-drawer__catalog a:first-child, .nav-drawer__catalog a:hover { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.nav-drawer__nav { display: flex; flex-direction: column; }
.nav-drawer__nav a { display: flex; align-items: center; padding: 12px 4px; font-size: 16px; font-weight: 600; letter-spacing: .01em; border-bottom: 1px solid var(--line-2); }
.nav-drawer__nav a:first-child { border-top: 1px solid var(--line-2); }
.nav-drawer__nav a:hover { color: var(--accent); }
.nav-drawer__foot { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.nav-drawer__foot .lang { gap: 6px; }
.nav-drawer__foot .lang__btn { color: var(--muted-3); border-color: var(--line-3); }
.nav-drawer__foot .lang__btn:hover { color: var(--ink); }
.nav-drawer__foot .lang__btn.is-active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.nav-drawer__mail, .nav-drawer__hours { display: flex; align-items: center; gap: 10px; }
.nav-drawer__mail { font-size: 15px; color: var(--ink-soft); }
.nav-drawer__mail:hover { color: var(--accent); }
.nav-drawer__hours { font-size: 14px; color: var(--muted-2); }
.nav-drawer__mail img, .nav-drawer__hours img { opacity: .55; }
@media (min-width: 1025px) { .nav-drawer { display: none; } }

@media (max-width: 1024px) {
  :root { --pad: 24px; }
  .about-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about-body, .about-photo { min-width: 0; }
  .about-body__lead { max-width: 100%; }
  .about-photo__img { height: 420px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .story-split { grid-template-columns: 1fr; gap: 28px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { position: static; }

  /* Каталог: фильтр становится выезжающей справа панелью, таблица не вылетает */
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .catalog-results { min-width: 0; }
  .table-wrap { min-width: 0; }
  .filter-open { display: inline-flex; }
  .filters__head-actions .filters__close { display: flex; }
  .filters-backdrop { display: block; }
  .filters {
    position: fixed; top: 0; right: 0; z-index: 300; width: 88%; max-width: 360px; height: 100vh; height: 100dvh;
    border: 0; border-radius: 0; box-shadow: -22px 0 60px rgba(23, 25, 28, .28);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform 320ms cubic-bezier(.22, .61, .36, 1);
  }
  .filters.is-open { transform: translateX(0); }
  .filters__head { position: sticky; top: 0; z-index: 1; }
  .filter-list { display: flex; flex-direction: column; gap: 2px; }

  /* --- Мобильная шапка включается уже с 1024px (десктопная не «плывёт») --- */
  /* Топбар: только мессенджеры, по центру */
  .topbar .container { justify-content: center; padding: 5px 16px; min-height: 0; }
  .topbar__left { gap: 10px; justify-content: center; }
  .topbar__mail, .topbar__hours, .topbar .lang { display: none; }
  .topbar__messengers { justify-content: center; }

  /* Шапка: лого + phones-toggle + callback + бургер «Меню», в одну строку */
  .site-header .container { min-height: 0; padding: 10px 20px; flex-wrap: nowrap; gap: 12px; }
  .logo-img, .site-header__logo img, .site-header__logo .custom-logo { height: 34px; max-height: 34px; }
  .catalog, .main-nav { display: none; }              /* уходят в боковое меню */
  .header-contacts { margin-left: auto; gap: 8px; }
  .header-phone__num, .header-phone__label { display: none; }
  .header-phone, .header-phone__row { gap: 0; }
  .site-header .phones-toggle { width: auto; min-width: 46px; height: 42px; margin-left: 0; padding: 0 11px; border-color: var(--line-6); }
  .site-header .phones-toggle__caret { display: none; }
  .site-header .phones-toggle__stack { display: flex; }
  .callback-btn { width: 42px; height: 42px; }
  .nav-toggle { display: flex; }
}

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-cards { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .tri-cards { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section { padding: 56px 0 60px; }
  .page-hero__title, .cat-hero__title { font-size: 36px; }
  .about-body__title { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .phones-cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --pad: 16px; }
  .site-header .container { padding: 10px 14px; gap: 10px; }
  .cat-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .about-actions { flex-direction: column; align-items: flex-start; }
  .metric-pair { flex-direction: column; align-items: flex-start; gap: 12px; padding-left: 0; border-left: 0; }
  .metric-pair__div { display: none; }
  .cta-dark, .contact-form { padding: 24px; }
  .cta-dark__btn { width: 100%; justify-content: center; }
  .page-hero__title, .cat-hero__title { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .detail-row { grid-template-columns: 1fr; gap: 6px; }
  .projects-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   Phones modal (markup present, hidden until wired up)
   ============================================================= */
.phones-modal[hidden] { display: none; }
.phones-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-start; justify-content: center;
  padding: 24px; overflow-y: auto; background: rgba(23, 25, 28, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.phones-modal__box {
  width: 100%; max-width: 460px; margin: auto; background: var(--white); border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(23, 25, 28, .35); padding: 24px 30px 20px;
  max-height: calc(100vh - 48px); display: flex; flex-direction: column;
}
.phones-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex: none; }
.phones-modal__title { font-family: var(--font-cond); font-size: 26px; font-weight: 600; line-height: 1.1; }
.phones-modal__close {
  display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: none;
  background: var(--white); border: 1px solid var(--line-3); border-radius: var(--radius); cursor: pointer;
  font-family: var(--font); font-size: 18px; line-height: 1; color: var(--muted-3); transition: background 160ms, color 160ms, border-color 160ms;
}
.phones-modal__close:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.phones-modal__list { display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; min-height: 0; padding-right: 4px; }
.phones-modal__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid #f4f4f2; }
.phones-modal__num { font-family: var(--font-cond); font-size: 23px; line-height: 1.1; font-weight: 600; letter-spacing: .06em; white-space: nowrap; color: var(--ink-soft); }
.phones-modal__num:hover { color: var(--accent); }
.phones-modal__call { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: none; border-radius: var(--radius); transition: background 160ms; }
.phones-modal__call:hover { background: #f4f4f2; }
.phones-modal__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted-2); }
.phones-modal__foot a { color: var(--muted-2); border-bottom: 1px solid var(--line-6); }

/* =============================================================
   Decorative glow blobs — positioned variants (no inline styles)
   ============================================================= */
.advantages .glow-1 { top: -220px; left: -140px; width: 560px; height: 560px; filter: blur(34px);
  background: radial-gradient(circle, rgba(232,100,26,.28) 0%, rgba(232,100,26,0) 70%); }
.advantages .glow-2 { bottom: -280px; right: -160px; width: 620px; height: 620px; filter: blur(40px);
  background: radial-gradient(circle, rgba(232,100,26,.16) 0%, rgba(232,100,26,0) 70%); }
.advantages .glow-3 { top: 40px; left: 46%; width: 480px; height: 480px; filter: blur(36px);
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 70%); }

.cat-hero .glow-1 { top: -180px; left: -120px; width: 520px; height: 520px; filter: blur(30px);
  background: radial-gradient(circle, rgba(232,100,26,.16) 0%, rgba(232,100,26,0) 70%); }
.cat-hero .glow-2 { top: 420px; right: -160px; width: 620px; height: 620px; filter: blur(40px);
  background: radial-gradient(circle, rgba(30,32,36,.12) 0%, rgba(30,32,36,0) 70%); }
.cat-hero .glow-3 { bottom: -220px; left: 32%; width: 560px; height: 560px; filter: blur(36px);
  background: radial-gradient(circle, rgba(232,100,26,.10) 0%, rgba(232,100,26,0) 70%); }

.page-hero .glow-1 { top: -200px; left: -120px; width: 520px; height: 520px; filter: blur(30px);
  background: radial-gradient(circle, rgba(232,100,26,.16) 0%, rgba(232,100,26,0) 70%); }
.page-hero .glow-2 { top: -80px; right: -180px; width: 600px; height: 600px; filter: blur(40px);
  background: radial-gradient(circle, rgba(30,32,36,.12) 0%, rgba(30,32,36,0) 70%); }
.page-hero .glow-3 { bottom: -300px; left: 38%; width: 520px; height: 520px; filter: blur(36px);
  background: radial-gradient(circle, rgba(232,100,26,.10) 0%, rgba(232,100,26,0) 70%); }

/* Keep content above decorative glows */
.advantages > .container,
.cat-hero > .container,
.page-hero > .container { position: relative; }

/* Small helpers used on inner pages */
.eyebrow__text--ink { color: var(--muted-3); }

/* Prose text (containers and standalone) */
.prose { font-size: 16px; color: var(--muted-3); }
.delivery-projects { margin-top: 26px; }

.phones-modal__body { display: flex; flex-direction: column; gap: 4px; }

/* =============================================================
   JS-driven states
   ============================================================= */
.seo__body.is-open .seo__fade { display: none; }

/* Catalog mega-menu: also openable via JS click (touch) */
.catalog.is-open .catalog__menu { opacity: 1; visibility: visible; transform: translateY(0); }

/* Contact form — enabled submit + success view */
.form-submit.is-ready { background: var(--accent); cursor: pointer; }
.form-submit.is-ready:hover { background: var(--accent-dark); }
.contact-form__success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 0; }
.contact-form__success-mark { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: var(--accent); border-radius: var(--radius); }
.contact-form__success-mark i { width: 20px; height: 11px; border-left: 3px solid var(--white); border-bottom: 3px solid var(--white); transform: rotate(-45deg) translate(2px, -2px); display: block; }
.contact-form__success h2 { font-family: var(--font-cond); font-size: 30px; font-weight: 700; text-transform: uppercase; margin: 0; line-height: 1.05; }
.contact-form__success p { margin: 0; font-size: 15px; color: var(--muted); }
.contact-form__again { height: 48px; padding: 0 24px; font-size: 13px; font-weight: 600; letter-spacing: .1em; }

[hidden] { display: none !important; }

/* =============================================================
   Текстовая страница — стилизация чистых HTML-тегов
   (всё внутри .text-content, без классов на самих тегах)
   ============================================================= */
.text-content { max-width: 820px; margin: 0 auto; color: var(--muted-3); font-size: 17px; line-height: 1.7; }
.text-content > *:first-child { margin-top: 0; }
.text-content > *:last-child { margin-bottom: 0; }

.text-content h1 { font-family: var(--font-cond); font-size: 44px; font-weight: 700; line-height: 1.06; letter-spacing: -.01em; color: var(--ink); margin: 0 0 22px; }
.text-content h2 { font-family: var(--font-cond); font-size: 30px; font-weight: 600; line-height: 1.12; color: var(--ink); margin: 46px 0 16px; }
.text-content h3 { font-family: var(--font-cond); font-size: 23px; font-weight: 600; line-height: 1.15; color: var(--ink); margin: 34px 0 12px; }
.text-content h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 28px 0 10px; }
.text-content h5, .text-content h6 { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin: 24px 0 8px; }

.text-content p { margin: 0 0 18px; }
.text-content a { color: var(--accent); border-bottom: 1px solid rgba(232, 100, 26, .35); transition: border-color 160ms; }
.text-content a:hover { border-bottom-color: var(--accent); }
.text-content strong, .text-content b { color: var(--ink); font-weight: 600; }
.text-content em, .text-content i { font-style: italic; }
.text-content small { font-size: 14px; color: var(--muted-2); }
.text-content mark { background: var(--tint); color: var(--ink); padding: 0 4px; border-radius: 2px; }
.text-content sup, .text-content sub { font-size: 12px; }
.text-content abbr { text-decoration: underline dotted; cursor: help; }

.text-content ul, .text-content ol { margin: 0 0 20px; padding-left: 22px; }
.text-content li { margin: 0 0 9px; }
.text-content li::marker { color: var(--accent); }
.text-content ul ul, .text-content ul ol, .text-content ol ol, .text-content ol ul { margin: 9px 0 0; }

.text-content blockquote { margin: 28px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--accent); color: var(--ink); font-size: 20px; line-height: 1.5; }
.text-content blockquote p { color: var(--ink); }
.text-content blockquote p:last-child { margin-bottom: 0; }
.text-content blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-style: normal; color: var(--muted-2); }
.text-content blockquote cite::before { content: "— "; }

.text-content code { font-family: var(--font-mono); font-size: .86em; background: var(--bg-page); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 2px 6px; color: var(--ink); }
.text-content pre { margin: 24px 0; padding: 18px 20px; background: var(--ink); color: #e6e7e9; border-radius: var(--radius); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.text-content pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.text-content kbd { font-family: var(--font-mono); font-size: 12px; background: var(--white); border: 1px solid var(--line-3); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; color: var(--ink); }

.text-content hr { border: 0; border-top: 1px solid var(--line); margin: 42px 0; }

.text-content img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
.text-content figure { margin: 28px 0; }
.text-content figcaption { margin-top: 10px; font-size: 14px; color: var(--muted-2); text-align: center; }

.text-content table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px; }
.text-content thead th { background: var(--ink); color: var(--white); font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.text-content th, .text-content td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.text-content td { color: var(--muted-3); }
.text-content tbody tr:nth-child(even) { background: #fafaf9; }
.text-content caption { caption-side: bottom; margin-top: 10px; font-size: 13px; color: var(--muted-2); text-align: left; }

.text-content dl { margin: 0 0 20px; }
.text-content dt { font-weight: 600; color: var(--ink); margin-top: 14px; }
.text-content dd { margin: 4px 0 0; color: var(--muted-3); }

@media (max-width: 560px) {
  .text-content { font-size: 16px; }
  .text-content h1 { font-size: 32px; }
  .text-content h2 { font-size: 25px; }
  .text-content h3 { font-size: 20px; }
  .text-content blockquote { font-size: 18px; }
  .text-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* AJAX-каталог: состояние загрузки */
.catalog-results.is-loading { opacity: .55; pointer-events: none; transition: opacity 120ms; }

/* =============================================================
   Каталог: сортировка в results-bar + пагинация
   ============================================================= */
.results-bar__sort { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.results-bar__sort-label { color: var(--muted-2); font-size: 13px; }
.sort-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line-3); border-radius: 999px; background: var(--white); color: var(--muted); font: inherit; font-size: 13px; line-height: 1; cursor: pointer; transition: border-color 140ms, color 140ms, background 140ms; }
.sort-btn:hover { border-color: var(--muted-2); color: var(--ink); }
.sort-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort-btn .sort-arrow { width: 0; height: 0; display: inline-block; }
.sort-btn.is-desc .sort-arrow { border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.sort-btn.is-asc .sort-arrow { border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 5px solid currentColor; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 28px 0 4px; }
.pagination__btn { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-3); background: var(--white); color: var(--muted); border-radius: 9px; font: inherit; font-size: 14px; cursor: pointer; transition: border-color 140ms, color 140ms, background 140ms; }
.pagination__btn:hover:not(:disabled):not(.is-active) { border-color: var(--muted-2); color: var(--ink); }
.pagination__btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; cursor: default; }
.pagination__btn:disabled { opacity: .4; cursor: not-allowed; }
.pagination__nav { font-size: 18px; line-height: 1; }
.pagination__dots { padding: 0 4px; color: var(--muted-2); }

@media (max-width: 560px) {
  .results-bar__sort-label { display: none; }
  .sort-btn { padding: 6px 10px; }
}

/* Переключатель языков — ссылки вместо кнопок */
.lang__btn { text-decoration: none; }
.footer-bottom__lang a.is-active { color: var(--accent); }

/* Производители под таблицей категории */
.cat-brands { margin: 26px 0 4px; }
.cat-brands__title { font-family: var(--font-cond); font-size: 18px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.cat-brands__list { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line-3); border-radius: 999px; background: var(--white); color: var(--muted); font-size: 13px; text-decoration: none; transition: border-color 140ms, color 140ms, background 140ms; }
a.brand-tag:hover { border-color: var(--accent); color: var(--ink); }
.brand-tag__count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--bg-page); color: var(--muted-2); font-size: 11px; }

/* Пагинация — ссылки вместо кнопок */
a.pagination__btn { text-decoration: none; }
.pagination__btn.is-disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.pagination__btn:hover:not(.is-disabled):not(.is-active) { border-color: var(--muted-2); color: var(--ink); }

/* Фасетный фильтр: недоступные опции скрываются */
.check.is-hidden { display: none; }

/* Caret телефонов виден на тёмном подвале */
.site-footer .phones-toggle__caret { border-color: rgba(255, 255, 255, .65); }

/* Баннер-ссылка заполняет слайд */
.slide a { display: block; width: 100%; }

/* Фото проектов (страница доставки) */
.project-ph { overflow: hidden; }
.project-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =============================================================
   Блог — карточки статей
   ============================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 180ms, transform 180ms, border-color 180ms; }
.blog-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .08); transform: translateY(-2px); border-color: var(--line-3); }
.blog-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-page); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms; }
.blog-card:hover .blog-card__media img { transform: scale(1.04); }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; }
.blog-card__date { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .02em; }
.blog-card__title { font-family: var(--font-cond); font-size: 20px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.blog-card:hover .blog-card__title { color: var(--accent); }
.blog-card__excerpt { font-size: 14px; line-height: 1.6; color: var(--muted-3); }

/* Пагинация WordPress (the_posts_pagination) */
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-3); background: var(--white); color: var(--muted); border-radius: 9px; font-size: 14px; text-decoration: none; transition: border-color 140ms, color 140ms, background 140ms; }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--muted-2); color: var(--ink); }
.pagination .page-numbers.dots { border: 0; background: none; min-width: 0; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* =============================================================
   Обратный звонок — попап
   ============================================================= */
.callback-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.callback-modal[hidden] { display: none; }
.callback-modal__backdrop { position: absolute; inset: 0; background: rgba(10, 12, 14, .55); }
.callback-modal__box { position: relative; z-index: 1; width: 100%; max-width: 400px; background: var(--white); border-radius: 14px; padding: 26px 24px 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); }
.callback-modal__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; background: var(--bg-page); border-radius: 8px; cursor: pointer; color: var(--muted); font-size: 15px; }
.callback-modal__close:hover { background: var(--tint); color: var(--ink); }
.callback-modal__title { font-family: var(--font-cond); font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.callback-modal__text { font-size: 14px; color: var(--muted-3); margin: 0 0 18px; line-height: 1.5; }
.callback-form { display: flex; flex-direction: column; gap: 10px; }
.callback-form input { width: 100%; padding: 12px 14px; border: 1px solid var(--line-3); border-radius: 9px; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); }
.callback-form input:focus { outline: none; border-color: var(--accent); }
.callback-form .btn { width: 100%; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 22px; margin-top: 6px; font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.callback-form .btn:disabled { opacity: .6; cursor: default; }
.callback-form__msg { font-size: 14px; padding: 8px 2px 0; }
.callback-form__msg.is-ok { color: #1f7a3d; }
.callback-form__msg.is-err { color: #c0392b; }

/* Теги-производители на «О компании» — как ссылки */
.tags a.tag { text-decoration: none; transition: border-color 140ms, color 140ms; }
.tags a.tag:hover { border-color: var(--accent); color: var(--ink); }

/* Города в модалке телефонов — крупнее */
.phones-modal__body .city-tag { font-size: 15px; padding: 3px 10px; }

/* Телефоны на мобильном — чуть меньше */
@media (max-width: 560px) {
  .phones-modal__box { padding: 20px 18px 16px; }
  .phones-modal__title { font-size: 21px; }
  .phones-modal__num { font-size: 19px; }
  .phone-item__num { font-size: 19px; }
}

/* Каналы связи иконками */
.channels .channel { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; padding: 0; }
.channels .channel.is-active img { filter: brightness(0) invert(1); }
.channels .channel img { display: block; }

/* =============================================================
   404
   ============================================================= */
.stk-404-section { display: flex; align-items: center; justify-content: center; min-height: 54vh; padding: 64px 0; background: var(--white); }
.stk-404 { max-width: 640px; margin: 0 auto; text-align: center; }
.stk-404__code { font-family: var(--font-cond); font-size: 130px; line-height: .95; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.stk-404__title { font-family: var(--font-cond); font-size: 34px; font-weight: 700; color: var(--ink); margin: 10px 0 12px; }
.stk-404__text { font-size: 16px; line-height: 1.65; color: var(--muted-3); margin: 0 0 26px; }
.stk-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.stk-404__actions .btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
@media (max-width: 560px) { .stk-404__code { font-size: 88px; } .stk-404__title { font-size: 26px; } }

/* Фото блока «О компании» на главной */
.about-photo__img { overflow: hidden; }
.about-photo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Пункты назначаемых меню (шапка/подвал) — без маркеров списка */
.main-nav li, .footer-links li { list-style: none; margin: 0; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
