:root {
  --container: 1400px;
  --page-space: 48px;
  --ink: #171a1e;
  --muted: #6f747b;
  --line: #e7e8ea;
  --soft: #f4f5f6;
  --surface: #ffffff;
  --dark: #171a1e;
  --header-top: 44px;
  --header-main: 96px;
  --header-nav: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-is-open, body.callback-is-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(calc(100% - (var(--page-space) * 2)), var(--container)); margin-inline: auto; }
.doorline-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 22px; height: 22px; }
.doorline-icon img { width: 100%; height: 100%; object-fit: contain; }

/* Header */
.site-header { position: relative; z-index: 50; background: rgba(255,255,255,.98); }
.site-header__top { height: var(--header-top); border-bottom: 1px solid var(--line); background: #f8f8f8; }
.site-header__top-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-header__top-contacts { display: flex; align-items: center; gap: 32px; }
.contact-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; color: #4f545a; font-size: 14px; font-weight: 400; line-height: 1.3; transition: color .2s ease; }
.contact-chip:hover { color: var(--ink); }
.contact-chip .doorline-icon { width: 17px; height: 17px; }
.site-header__main { height: var(--header-main); border-bottom: 1px solid var(--line); }
.site-header__main-inner { height: 100%; display: grid; grid-template-columns: minmax(220px, 300px) minmax(360px, 1fr) auto; align-items: center; gap: 46px; }
.site-logo { display: inline-flex; align-items: center; width: fit-content; min-width: 0; }
.site-logo__fallback { display: inline-flex; align-items: center; gap: 13px; }
.site-logo .custom-logo-link { display: inline-flex; }
.site-logo .custom-logo { width: auto; max-width: 260px; max-height: 64px; object-fit: contain; }
.site-logo__mark { display: grid; place-items: center; width: 52px; height: 52px; background: var(--dark); color: #fff; border-radius: 4px; font-size: 23px; font-weight: 500; letter-spacing: -.05em; }
.site-logo__text { display: grid; gap: 1px; }
.site-logo__text strong { font-size: 24px; line-height: 1; letter-spacing: .14em; font-weight: 500; }
.site-logo__text small { color: #8a8e93; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.site-search { min-width: 0; height: 54px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 5px 6px 5px 19px; border: 1px solid #dedfe2; border-radius: 18px; background: #f8f8f8; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.site-search:focus-within { background: #fff; border-color: #b8bcc1; box-shadow: 0 10px 30px rgba(24,28,32,.08); }
.site-search__icon { width: 20px; height: 20px; color: #787e85; }
.site-search input { min-width: 0; width: 100%; height: 42px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.site-search input::placeholder { color: #969ba1; }
.site-search button { height: 42px; padding: 0 22px; border: 0; border-radius: 13px; background: var(--dark); color: #fff; cursor: pointer; font-size: 14px; font-weight: 500; transition: transform .2s ease, background .2s ease; }
.site-search button:hover { transform: translateY(-1px); background: #2b3036; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-action { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; transition: background .2s ease, transform .2s ease; }
.header-action:hover { background: #f2f3f4; transform: translateY(-1px); }
.header-action .doorline-icon { width: 24px; height: 24px; }
.header-action--account { width: auto; justify-content: flex-start; gap: 10px; padding: 0 14px; border-radius: 16px; }
.header-action--account span { font-size: 13px; font-weight: 500; line-height: 1.25; }
.header-action--account small { color: #858a90; font-size: 11px; font-weight: 400; }
.header-action__count { position: absolute; top: 5px; right: 4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--dark); color: #fff; border: 2px solid #fff; font-size: 9px; line-height: 1; }
.header-action--menu, .header-action--search-toggle { display: none; }


/* Floating one-line header */
.floating-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 95;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity .28s ease, visibility .28s ease, transform .42s cubic-bezier(.22,.8,.22,1);
}
.floating-header.is-visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-header__bar {
  height: 84px;
  border-bottom: 1px solid rgba(23,26,30,.08);
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 42px rgba(20,24,28,.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.floating-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(210px, 285px) minmax(320px, 1fr) auto;
  align-items: center;
  gap: 34px;
}
.floating-header .site-logo__mark {
  width: 48px;
  height: 48px;
}
.floating-header .site-logo__text strong { font-size: 22px; }
.floating-header .site-logo__text small { font-size: 10px; }
.floating-header .custom-logo {
  max-height: 56px;
  max-width: 220px;
}
.floating-header__search { height: 50px; }
.floating-header__menu-button { display: inline-flex; }
.floating-header__menu-button .doorline-icon { width: 23px; height: 23px; }
body.menu-is-open .floating-header { pointer-events: none; }

@media (max-width: 1120px) {
  .floating-header__bar { height: 78px; }
  .floating-header__inner { grid-template-columns: minmax(190px, 240px) 1fr auto; gap: 20px; }
  .floating-header__search { height: 48px; }
}

@media (max-width: 760px) {
  .floating-header__bar { height: 72px; }
  .floating-header__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 14px;
  }
  .floating-header .site-logo__mark { width: 42px; height: 42px; }
  .floating-header .site-logo__text strong { font-size: 20px; }
  .floating-header .site-logo__text small { display: none; }
  .floating-header .custom-logo { max-width: 160px; max-height: 46px; }
  .floating-header__search {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 30;
    height: 54px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(24,28,32,.12);
    background: #fff;
    transition: opacity .2s ease, visibility .2s, transform .2s ease;
  }
  .floating-header__search.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .floating-header__search button { display: inline-flex; align-items: center; }
  .floating-header .header-actions { gap: 2px; }
  .floating-header .header-action { width: 42px; height: 42px; }
  .floating-header .header-action--account { display: none; }
  .floating-header .header-action--search-toggle { display: inline-flex; }
}

@media (max-width: 430px) {
  .floating-header .site-logo__mark { width: 40px; height: 40px; }
  .floating-header .site-logo__text strong { font-size: 18px; }
  .floating-header .header-action { width: 39px; height: 39px; }
}
.site-header__nav { height: var(--header-nav); border-bottom: 1px solid var(--line); }
.site-header__nav-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.main-nav { flex: 1 1 auto; min-width: 0; height: 100%; }
.main-nav__list { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; margin: 0; list-style: none; }
.main-nav__item { position: relative; display: flex; align-items: center; height: 100%; }
.main-nav__item > a { display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; font-size: 15px; font-weight: 400; white-space: nowrap; transition: color .2s ease; }
.main-nav__item:first-child > a { padding-left: 0; }
.main-nav__item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--dark); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.main-nav__item:first-child > a::after { left: 0; }
.main-nav__item:hover > a::after, .main-nav__item:focus-within > a::after { transform: scaleX(1); }
.main-nav__item--catalog > a { min-width: 170px; font-weight: 500; }
.main-nav__item--catalog > a .doorline-icon:first-child { width: 19px; height: 19px; }
.main-nav__chevron { width: 16px; height: 16px; transition: transform .25s ease; }
.has-dropdown:hover .main-nav__chevron, .has-dropdown:focus-within .main-nav__chevron { transform: rotate(180deg); }
.dropdown-panel { position: absolute; top: 100%; left: 0; z-index: 20; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s ease, transform .22s ease, visibility .22s; box-shadow: 0 22px 60px rgba(24,28,32,.12); border: 1px solid var(--line); background: #fff; }
.has-dropdown:hover > .dropdown-panel, .has-dropdown:focus-within > .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.catalog-dropdown { width: min(820px, calc(100vw - 48px)); padding: 22px; border-radius: 0 0 20px 20px; }
.catalog-dropdown__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.catalog-link { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; font-size: 14px; transition: background .2s ease, transform .2s ease; }
.catalog-link:hover { background: #f4f5f6; transform: translateX(2px); }
.catalog-link__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 11px; background: #eff0f1; overflow: hidden; color: #747a81; font-size: 15px; font-weight: 500; }
.catalog-link__icon img { width: 100%; height: 100%; padding: 10px; object-fit: contain; }
.simple-dropdown { min-width: 245px; padding: 10px; border-radius: 0 0 16px 16px; }
.simple-dropdown a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 14px; color: #3d4248; }
.simple-dropdown a:hover { background: #f4f5f6; color: var(--ink); }



/* Header callback button */
.callback-button {
  flex: 0 0 auto;
  min-width: 176px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 10px 0 20px;
  border: 1px solid var(--dark);
  border-radius: 14px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.callback-button:hover {
  transform: translateY(-1px);
  background: #2a2f35;
  box-shadow: 0 10px 26px rgba(23,26,30,.14);
}
.callback-button__arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
}
.callback-button__arrow .doorline-icon { width: 16px; height: 16px; }

/* Callback modal */
.callback-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  visibility: hidden;
  pointer-events: none;
}
.callback-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.callback-modal__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(13,15,18,.58);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity .3s ease;
}
.callback-modal.is-open .callback-modal__overlay { opacity: 1; }
.callback-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  padding: 48px;
  border: 1px solid rgba(23,26,30,.08);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(10,12,14,.24);
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .3s ease, transform .4s cubic-bezier(.22,.8,.22,1);
}
.callback-modal.is-open .callback-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.callback-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f1f2f3;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.callback-modal__close:hover { transform: rotate(4deg); background: #e9eaec; }
.callback-modal__close .doorline-icon { width: 18px; height: 18px; }
.callback-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #777d84;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.callback-modal__eyebrow::before { content: ""; width: 24px; height: 1px; background: #9da1a6; }
.callback-modal h2 {
  margin: 18px 0 0;
  max-width: 420px;
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
}
.callback-modal__lead {
  margin: 18px 0 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.callback-form { display: grid; gap: 18px; margin-top: 32px; }
.callback-form__field { display: grid; gap: 9px; }
.callback-form__field > span { font-size: 13px; font-weight: 500; line-height: 1.4; }
.callback-form__field input {
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid #dedfe2;
  border-radius: 14px;
  outline: 0;
  background: #f8f8f8;
  color: var(--ink);
  font-size: 15px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.callback-form__field input::placeholder { color: #9a9ea4; }
.callback-form__field input:focus {
  border-color: #aeb2b7;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24,28,32,.07);
}
.callback-form__consent {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  color: #6c7279;
  font-size: 12px;
  line-height: 1.55;
  cursor: pointer;
}
.callback-form__consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.callback-form__checkbox {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd2d6;
  border-radius: 7px;
  background: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.callback-form__checkbox svg {
  width: 14px;
  height: 14px;
  color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .18s ease, transform .18s ease;
}
.callback-form__consent input:checked + .callback-form__checkbox { border-color: var(--dark); background: var(--dark); }
.callback-form__consent input:checked + .callback-form__checkbox svg { opacity: 1; transform: scale(1); }
.callback-form__consent input:focus-visible + .callback-form__checkbox { outline: 2px solid #8f949a; outline-offset: 3px; }
.callback-form__consent a { color: var(--ink); border-bottom: 1px solid rgba(23,26,30,.38); }
.callback-form__submit {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
  padding: 0 18px 0 22px;
  border: 0;
  border-radius: 15px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.callback-form__submit:hover {
  transform: translateY(-1px);
  background: #2a2f35;
  box-shadow: 0 14px 32px rgba(23,26,30,.16);
}
.callback-form__submit .doorline-icon { width: 19px; height: 19px; }

@media (max-width: 1240px) {
  .site-header__nav-inner { gap: 14px; }
  .callback-button { min-width: 160px; padding-left: 16px; gap: 12px; }
  .callback-button__arrow { width: 28px; height: 28px; }
}

@media (max-width: 760px) {
  .callback-modal { padding: 14px; align-items: end; }
  .callback-modal__panel {
    width: 100%;
    padding: 42px 22px 24px;
    border-radius: 24px 24px 18px 18px;
    transform: translateY(40px);
  }
  .callback-modal__close { top: 16px; right: 16px; width: 40px; height: 40px; }
  .callback-modal h2 { padding-right: 42px; font-size: clamp(38px, 11vw, 50px); }
  .callback-modal__lead { font-size: 15px; line-height: 1.6; }
  .callback-form { margin-top: 28px; gap: 16px; }
  .callback-form__field input { height: 54px; }
  .callback-form__submit { min-height: 56px; }
}

/* Hero */
.hero { position: relative; min-height: 660px; height: min(710px, calc(100vh - 80px)); overflow: hidden; background: #303336; color: #fff; isolation: isolate; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .85s cubic-bezier(.22,.61,.36,1), visibility .85s; }
.hero__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 2; }
.hero__visual { position: absolute; inset: 0; background-color: #4a4b4c; background-image: linear-gradient(90deg, rgba(16,18,20,.78) 0%, rgba(16,18,20,.58) 35%, rgba(16,18,20,.12) 68%, rgba(16,18,20,.06) 100%), var(--hero-bg, linear-gradient(135deg,#4e4b47,#262a2d)); background-size: cover; background-position: center; transform: scale(1.025); transition: transform 7s ease; }
.hero__slide.is-active .hero__visual { transform: scale(1); }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 44%, rgba(255,255,255,.08), transparent 30%), linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18)); }
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-block: 70px 110px; }
.hero__content { max-width: 770px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(52px, 4.7vw, 82px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.hero__content > p { max-width: 690px; margin: 28px 0 0; color: rgba(255,255,255,.82); font-size: clamp(18px, 1.35vw, 22px); font-weight: 300; line-height: 1.55; }
.hero__buttons { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 26px; border: 1px solid transparent; border-radius: 15px; font-size: 15px; font-weight: 500; line-height: 1; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--light { background: #fff; color: var(--ink); }
.button--light:hover { background: #f0f1f2; }
.button--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(12px); }
.button--glass:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); }
.button--dark { background: var(--dark); color: #fff; }
.button__icon { width: 20px; height: 20px; transition: transform .2s ease; }
.button:hover .button__icon { transform: translateX(4px); }
.hero__arrow { position: absolute; z-index: 5; top: 50%; width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(17,20,23,.18); color: #fff; backdrop-filter: blur(13px); cursor: pointer; transform: translateY(-50%); transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.hero__arrow:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-50%) scale(1.04); }
.hero__arrow .doorline-icon { width: 23px; height: 23px; }
.hero__arrow--prev { left: max(22px, calc((100vw - var(--container)) / 2 - 92px)); }
.hero__arrow--prev .doorline-icon { transform: rotate(180deg); }
.hero__arrow--next { right: max(22px, calc((100vw - var(--container)) / 2 - 92px)); }
.hero__bottom { position: absolute; z-index: 5; left: 50%; bottom: 36px; display: flex; align-items: center; justify-content: space-between; gap: 30px; transform: translateX(-50%); }
.hero__count { display: flex; align-items: center; gap: 12px; min-width: 92px; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .08em; }
.hero__count span:first-child { color: #fff; }
.hero__count i { width: 26px; height: 1px; background: rgba(255,255,255,.35); }
.hero__progress { display: flex; align-items: center; gap: 10px; width: min(440px, 46vw); }
.hero__progress-item { position: relative; flex: 1 1 0; height: 18px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero__progress-item::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.28); }
.hero__progress-item span { position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: #fff; transform: translateY(-.5px); transition: width .45s ease; }
.hero__progress-item.is-active span { width: 100%; }

/* Temporary intro / continuation */
.home-intro { padding: 110px 0 125px; background: #fff; }
.home-intro__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 90px; align-items: start; }
.home-intro__label { padding-top: 11px; color: #858a90; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.home-intro__text { max-width: 900px; }
.home-intro h2 { margin: 0; font-size: clamp(40px, 4vw, 64px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.home-intro p { max-width: 760px; margin: 30px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }

/* Generic pages */
.page-shell { padding: 82px 0 120px; }
.content-layout { max-width: 1120px; }
.page-header { padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.page-header__eyebrow { display: block; margin-bottom: 18px; color: #8b9096; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.page-header h1 { max-width: 900px; margin: 0; font-size: clamp(46px, 5.2vw, 78px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
.content-prose { max-width: 860px; padding-top: 54px; }
.content-prose > *:first-child { margin-top: 0; }
.content-prose p, .content-prose li { font-size: 18px; line-height: 1.75; color: #4f555b; }
.content-prose h2 { margin: 56px 0 22px; font-size: 38px; font-weight: 500; line-height: 1.18; letter-spacing: -.03em; }
.content-prose h3 { margin: 42px 0 18px; font-size: 28px; font-weight: 500; line-height: 1.25; }
.error-page { min-height: 70vh; display: grid; place-items: center; padding: 90px 0; text-align: center; }
.error-page__inner > span { display: block; color: #d7d9dc; font-size: clamp(92px, 16vw, 220px); font-weight: 300; line-height: .8; letter-spacing: -.06em; }
.error-page h1 { margin: 34px 0 0; font-size: 48px; font-weight: 500; letter-spacing: -.04em; }
.error-page p { margin: 16px 0 32px; color: var(--muted); font-size: 18px; }

/* Footer */
.site-footer { background: #171a1e; color: #fff; }
.site-footer__top { display: grid; grid-template-columns: minmax(320px, 1.5fr) repeat(3, minmax(160px, 1fr)); gap: 70px; padding-block: 80px 74px; }
.site-footer__brand { max-width: 410px; }
.site-footer__logo { display: inline-block; font-size: 26px; font-weight: 500; letter-spacing: .14em; }
.site-footer__brand p { margin: 24px 0 0; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.7; }
.site-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.site-footer__title { margin-bottom: 8px; color: rgba(255,255,255,.42); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer__column a, .site-footer__column > span:not(.site-footer__title) { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.5; transition: color .2s ease; }
.site-footer__column a:hover { color: #fff; }
.site-footer__bottom { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: 12px; }

/* Mobile navigation */
.mobile-menu { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.mobile-menu.is-open { visibility: visible; pointer-events: auto; }
.mobile-menu__overlay { position: absolute; inset: 0; background: rgba(12,14,16,.52); opacity: 0; transition: opacity .3s ease; }
.mobile-menu.is-open .mobile-menu__overlay { opacity: 1; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; width: min(92vw, 470px); height: 100%; display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .36s cubic-bezier(.22,.61,.36,1); }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid var(--line); }
.mobile-menu__head strong { font-size: 18px; font-weight: 500; }
.mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f2f3f4; cursor: pointer; }
.mobile-menu__close .doorline-icon { width: 20px; height: 20px; }
.mobile-menu__body { flex: 1 1 auto; overflow-y: auto; padding: 12px 24px 32px; }
.mobile-menu__body details { border-bottom: 1px solid var(--line); }
.mobile-menu__body summary, .mobile-menu__link { min-height: 60px; display: flex; align-items: center; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; }
.mobile-menu__body summary::-webkit-details-marker { display: none; }
.mobile-menu__body summary::after { content: "+"; margin-left: auto; color: #7d838a; font-size: 20px; font-weight: 300; }
.mobile-menu__body details[open] summary::after { content: "–"; }
.mobile-menu__submenu { display: grid; gap: 2px; padding: 0 0 18px 15px; }
.mobile-menu__submenu a { padding: 9px 0; color: #646a71; font-size: 15px; }
.mobile-menu__foot { display: grid; gap: 8px; padding: 24px; border-top: 1px solid var(--line); background: #f7f7f7; }
.mobile-menu__foot a { font-size: 14px; }

@media (max-width: 1240px) {
  :root { --page-space: 34px; }
  .site-header__main-inner { grid-template-columns: 230px minmax(320px, 1fr) auto; gap: 28px; }
  .header-action--account span { display: none; }
  .header-action--account { width: 48px; padding: 0; justify-content: center; }
  .main-nav__list { gap: 4px; }
  .main-nav__item > a { padding-inline: 10px; font-size: 14px; }
  .main-nav__item > a::after { left: 10px; right: 10px; }
  .main-nav__item--catalog > a { min-width: 145px; }
  .hero__arrow--prev { left: 18px; }
  .hero__arrow--next { right: 18px; }
}

@media (max-width: 1024px) {
  :root { --page-space: 26px; --header-main: 82px; }
  .site-header__top { height: 40px; }
  .contact-chip--address { max-width: 42vw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .site-header__main-inner { grid-template-columns: minmax(190px, 240px) 1fr auto; gap: 20px; }
  .site-search { height: 50px; }
  .site-search button { display: none; }
  .site-header__nav { display: none; }
  .header-action--menu { display: inline-flex; }
  .hero { min-height: 640px; height: calc(100vh - 40px - var(--header-main)); }
  .hero__inner { padding-block: 60px 100px; }
  .hero h1 { max-width: 690px; }
  .hero__arrow { top: auto; bottom: 22px; width: 50px; height: 50px; transform: none; }
  .hero__arrow:hover { transform: scale(1.04); }
  .hero__arrow--prev { left: auto; right: 90px; }
  .hero__arrow--next { right: 26px; }
  .hero__bottom { bottom: 36px; padding-right: 150px; }
  .home-intro__grid { grid-template-columns: 1fr 2.4fr; gap: 44px; }
  .site-footer__top { grid-template-columns: 1.4fr repeat(2, 1fr); gap: 48px; }
  .site-footer__contacts { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  :root { --page-space: 20px; --header-main: 72px; }
  .site-header__top { height: 38px; }
  .site-header__top-inner { gap: 14px; justify-content: flex-end; }
  .contact-chip--address, .contact-chip--mail { display: none; }
  .site-header__top-contacts { width: 100%; justify-content: flex-end; gap: 14px; }
  .contact-chip { font-size: 13px; }
  .site-header__main { height: var(--header-main); }
  .site-header__main-inner { position: relative; display: flex; justify-content: space-between; gap: 14px; }
  .site-logo__mark { width: 42px; height: 42px; }
  .site-logo__text strong { font-size: 20px; }
  .site-logo__text small { display: none; }
  .site-logo .custom-logo { max-width: 160px; max-height: 46px; }
  .site-search { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 30; height: 54px; opacity: 0; visibility: hidden; transform: translateY(-8px); box-shadow: 0 14px 35px rgba(24,28,32,.12); background: #fff; transition: opacity .2s ease, visibility .2s, transform .2s ease; }
  .site-search.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-search button { display: inline-flex; align-items: center; }
  .header-actions { gap: 2px; }
  .header-action { width: 42px; height: 42px; }
  .header-action--account { display: none; }
  .header-action--search-toggle { display: inline-flex; }
  .header-action .doorline-icon { width: 22px; height: 22px; }
  .header-action__count { top: 2px; right: 0; }
  .hero { min-height: 680px; height: 100svh; }
  .hero__visual { background-image: linear-gradient(180deg, rgba(15,17,20,.42) 0%, rgba(15,17,20,.34) 38%, rgba(15,17,20,.72) 100%), var(--hero-mobile-bg, var(--hero-bg, linear-gradient(180deg,#5b5853,#25282b))); background-position: center; }
  .hero__inner { align-items: flex-start; padding-top: clamp(72px, 12svh, 130px); padding-bottom: 154px; }
  .hero__content { width: 100%; max-width: 100%; }
  .hero__eyebrow { margin-bottom: 20px; font-size: 11px; line-height: 1.5; }
  .hero__eyebrow::before { width: 24px; }
  .hero h1 { max-width: 100%; font-size: clamp(42px, 12vw, 62px); line-height: 1.04; letter-spacing: -.047em; }
  .hero__content > p { margin-top: 22px; font-size: 17px; line-height: 1.55; }
  .hero__buttons { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 30px; }
  .button { width: 100%; min-height: 56px; justify-content: space-between; padding-inline: 20px; border-radius: 14px; }
  .button--glass { justify-content: center; }
  .hero__arrow { bottom: 30px; width: 48px; height: 48px; }
  .hero__arrow--prev { right: 76px; }
  .hero__arrow--next { right: 20px; }
  .hero__bottom { bottom: 37px; align-items: center; padding-right: 124px; }
  .hero__count { min-width: 74px; gap: 8px; }
  .hero__count i { width: 16px; }
  .hero__progress { width: 100%; gap: 7px; }
  .home-intro { padding: 74px 0 84px; }
  .home-intro__grid { grid-template-columns: 1fr; gap: 30px; }
  .home-intro__label { padding: 0; }
  .home-intro h2 { font-size: clamp(38px, 10vw, 54px); }
  .home-intro p { margin-top: 24px; font-size: 17px; line-height: 1.65; }
  .page-shell { padding: 58px 0 82px; }
  .page-header { padding-bottom: 32px; }
  .page-header h1 { font-size: clamp(42px, 12vw, 58px); }
  .content-prose { padding-top: 38px; }
  .content-prose p, .content-prose li { font-size: 17px; line-height: 1.7; }
  .content-prose h2 { margin-top: 44px; font-size: 32px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 44px 26px; padding-block: 60px 52px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__contacts { grid-column: 1 / -1; }
  .site-footer__bottom { min-height: 96px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
}

@media (max-width: 430px) {
  :root { --page-space: 16px; }
  .contact-chip .doorline-icon { width: 15px; height: 15px; }
  .site-logo__mark { width: 40px; height: 40px; }
  .site-logo__text strong { font-size: 18px; }
  .header-action { width: 39px; height: 39px; }
  .hero__inner { padding-top: clamp(58px, 9svh, 96px); }
  .hero h1 { font-size: clamp(38px, 11.5vw, 50px); }
  .hero__content > p { font-size: 16px; }
  .hero__bottom { padding-right: 116px; }
  .hero__count { display: none; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__brand, .site-footer__contacts { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---- Stage 2 additions: static pages, content sections, refined typography ---- */
body {
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.14;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero__content > p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.72;
}

.hero__eyebrow,
.page-header__eyebrow,
.site-logo__text small {
  text-transform: none;
  letter-spacing: 0;
}

.home-intro h2,
.page-header h1,
.content-prose h2 {
  letter-spacing: 0;
}

.main-nav__item--catalog > a {
  min-width: auto;
  padding-right: 14px;
}

.button--dark {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.button--dark:hover { background: #2b3036; }
.button--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(23,26,30,.14);
}
.button--ghost:hover { background: #f3f5f6; }
.doorline-ui-icon,
.rating-stars .doorline-ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.rating-stars {
  display: flex;
  gap: 4px;
  color: #bf8d4b;
}
.dl-section {
  padding: 96px 0;
}
.dl-section--soft {
  background: linear-gradient(180deg, #fbfbfb 0%, #f5f6f7 100%);
}
.dl-section--article { padding-top: 28px; }
.dl-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 28px 56px;
  align-items: end;
  margin-bottom: 38px;
}
.dl-section__head h2,
.page-hero-card h1,
.page-header h1 {
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.12;
}
.dl-section__head p,
.page-hero-card p {
  margin: 0;
  color: #61656c;
  font-size: 16px;
  line-height: 1.72;
}
.dl-eyebrow,
.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #70757d;
  font-size: 14px;
  font-weight: 400;
}
.dl-eyebrow::before,
.page-header__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(23,26,30,.22);
}
.dl-slider { overflow: hidden; }
.dl-slider__track {
  display: grid;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.dl-slider__track::-webkit-scrollbar { display: none; }
.dl-slider__track > * { scroll-snap-align: start; }
.dl-slider__track--five {
  grid-template-columns: repeat(8, minmax(210px, 1fr));
}
.dl-slider__track--three {
  grid-template-columns: repeat(10, minmax(370px, 1fr));
}
.category-showcase,
.benefit-showcase,
.info-showcase-card,
.review-showcase,
.product-showcase,
.news-showcase,
.partner-card,
.stat-showcase,
.faq-showcase,
.vacancy-showcase,
.certificate-showcase,
.page-hero-card,
.cta-inline-card,
.article-preview-card {
  border: 1px solid rgba(23,26,30,.08);
  background: #fff;
  box-shadow: 0 20px 50px rgba(24,28,32,.06);
}
.category-showcase {
  min-height: 188px;
  padding: 24px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-showcase__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fafafa 0%, #f0f2f3 100%);
  color: #343a40;
}
.category-showcase__icon .doorline-ui-icon { width: 26px; height: 26px; }
.category-showcase h3 { font-size: 20px; line-height: 1.3; }
.product-showcase-grid,
.news-showcase-grid,
.benefits-showcase-grid,
.stats-showcase-grid,
.partners-grid,
.faq-showcase-grid,
.certificate-showcase-grid {
  display: grid;
  gap: 24px;
}
.product-showcase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-showcase {
  border-radius: 28px;
  overflow: hidden;
}
.product-showcase__media {
  position: relative;
  min-height: 250px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, #f2f3f4 0%, #e6e8eb 100%);
}
.product-showcase__media::before,
.news-showcase__media::before,
.about-story-grid__media::before,
.article-preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.86), transparent 42%);
}
.product-showcase__badge,
.news-showcase__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(23,26,30,.08);
  font-size: 13px;
}
.product-showcase__placeholder-title,
.news-showcase__placeholder,
.about-story-grid__media-caption,
.article-preview-card span {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 500;
}
.product-showcase__placeholder-text { position: relative; z-index: 1; color: #6f747b; margin-top: 8px; }
.product-showcase__body {
  padding: 24px;
}
.product-showcase__category {
  display: inline-block;
  color: #7a8088;
  font-size: 14px;
  margin-bottom: 10px;
}
.product-showcase h3 { font-size: 21px; line-height: 1.3; }
.product-showcase__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
}
.product-showcase__price-row strong { font-size: 22px; font-weight: 500; }
.product-showcase__price-row span { color: #8c9198; text-decoration: line-through; }
.promo-banner {
  min-height: 420px;
  padding: 50px;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(16,18,21,.92) 0%, rgba(45,49,54,.86) 52%, rgba(134,117,90,.75) 100%);
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 22%, rgba(255,255,255,.18), transparent 25%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.08), transparent 30%);
}
.promo-banner__content { position: relative; z-index: 1; max-width: 580px; color: #fff; }
.promo-banner__content .dl-eyebrow { color: rgba(255,255,255,.82); }
.promo-banner__content .dl-eyebrow::before { background: rgba(255,255,255,.4); }
.promo-banner__content h2 { color: #fff; font-size: clamp(32px, 3.5vw, 48px); margin-bottom: 16px; }
.promo-banner__content p { color: rgba(255,255,255,.82); margin: 0 0 28px; }
.benefits-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit-showcase,
.info-showcase-card,
.faq-showcase,
.certificate-showcase,
.partner-card,
.stat-showcase {
  border-radius: 28px;
  padding: 28px;
}
.benefit-showcase__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #f5f6f7;
  color: #343a40;
  margin-bottom: 22px;
}
.benefit-showcase__icon .doorline-ui-icon { width: 26px; height: 26px; }
.benefit-showcase h3,
.info-showcase-card h2,
.info-showcase-card h3,
.faq-showcase h3,
.certificate-showcase h3,
.vacancy-showcase h2,
.cta-inline-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.benefit-showcase p,
.info-showcase-card p,
.faq-showcase p,
.certificate-showcase p,
.cta-inline-card p { margin: 0; color: #646a72; }
.review-showcase {
  min-height: 290px;
  padding: 28px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
}
.review-showcase__text {
  margin: 20px 0 28px;
  color: #363b42;
  font-size: 18px;
  line-height: 1.72;
  flex: 1;
}
.review-showcase__author strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.review-showcase__author span { color: #787e86; font-size: 14px; }
.news-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-showcase {
  border-radius: 28px;
  overflow: hidden;
}
.news-showcase__media {
  position: relative;
  min-height: 250px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #eceef0 0%, #dfe3e7 100%);
}
.news-showcase__body { padding: 24px; }
.news-showcase__meta { color: #7b8088; font-size: 14px; margin-bottom: 12px; }
.news-showcase h3 { font-size: 24px; line-height: 1.22; margin-bottom: 12px; }
.news-showcase p { margin: 0; color: #666b73; }
.dl-center-link { display: flex; justify-content: center; margin-top: 34px; }
.page-shell--enhanced { padding-top: 0; }
.page-hero-block { padding: 34px 0 0; }
.page-hero-card {
  border-radius: 34px;
  padding: 46px 48px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}
.page-hero-card--article { padding-block: 38px; }
.article-shell { width: min(100%, 920px); }
.article-preview-card {
  position: relative;
  min-height: 370px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eceef0 0%, #dfe2e6 100%);
  margin-bottom: 34px;
}
.content-prose--article {
  max-width: 100%;
  margin: 0;
  padding-top: 0;
  border-top: 0;
}
.about-story-grid,
.two-panel-grid,
.contacts-page-grid {
  display: grid;
  gap: 28px;
}
.about-story-grid { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; }
.about-story-grid__content h2 { font-size: clamp(32px, 3.5vw, 44px); margin-bottom: 16px; }
.about-story-grid__content p { margin: 0 0 14px; color: #666b73; }
.about-story-grid__media {
  position: relative;
  min-height: 470px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eceef0 0%, #dfe2e6 100%);
}
.stats-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-showcase__value {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  font-weight: 500;
  margin-bottom: 12px;
}
.stat-showcase p { margin: 0; color: #666b73; }
.partners-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.partner-card {
  min-height: 126px;
  display: grid;
  place-items: center;
  color: #495059;
  font-size: 22px;
  font-weight: 500;
}
.two-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-showcase-card ul,
.vacancy-showcase ul { margin: 16px 0 0; padding-left: 18px; color: #5f6570; }
.info-showcase-card li,
.vacancy-showcase li { margin-bottom: 10px; }
.faq-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.review-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.review-showcase--archive { min-height: 0; }
.review-showcase.is-hidden,
.news-showcase.is-hidden { display: none; }
.vacancy-stack { display: grid; gap: 24px; }
.vacancy-showcase {
  padding: 34px;
  border-radius: 30px;
}
.vacancy-showcase__meta { color: #737881; margin-top: 12px; }
.vacancy-showcase__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.certificate-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.certificate-showcase {
  border-radius: 30px;
  overflow: hidden;
  padding: 0;
}
.certificate-showcase__visual {
  min-height: 220px;
  padding: 28px;
  background: linear-gradient(135deg, #121519 0%, #343a42 55%, #8c7354 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.certificate-showcase__chip {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
}
.certificate-showcase__title { font-size: 28px; font-weight: 500; }
.certificate-showcase__line { color: rgba(255,255,255,.8); }
.certificate-showcase__body { padding: 26px; }
.contacts-page-grid { grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: start; }
.contact-showcase-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.contact-showcase-form label { display: grid; gap: 8px; }
.contact-showcase-form label span { font-size: 14px; color: #666b73; }
.contact-showcase-form input,
.contact-showcase-form textarea {
  width: 100%;
  border: 1px solid rgba(23,26,30,.12);
  background: #fbfbfb;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
}
.contact-showcase-form textarea { resize: vertical; }
.contact-showcase-form__full { grid-column: 1 / -1; }
.map-showcase {
  position: sticky;
  top: 110px;
}
.map-showcase__embed {
  position: relative;
  min-height: 640px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(24,28,32,.06);
}
.map-showcase__embed iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
}
.map-showcase__pin {
  position: absolute;
  left: 57%;
  top: 43%;
  width: 22px;
  height: 22px;
  background: #171a1e;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 10px 26px rgba(23,26,30,.2);
}
.map-showcase__pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: #fff;
  border-radius: 50%;
}
.cta-inline-card {
  border-radius: 30px;
  padding: 32px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.variant-1 { background: linear-gradient(135deg, #f2f3f4 0%, #e2e5e9 100%); }
.variant-2 { background: linear-gradient(135deg, #ebe7e2 0%, #d9d2c7 100%); }
.variant-3 { background: linear-gradient(135deg, #edf0f4 0%, #dde1e8 100%); }
.variant-4 { background: linear-gradient(135deg, #f0ece8 0%, #e0d7cf 100%); }
.variant-5 { background: linear-gradient(135deg, #eceff0 0%, #d9dfe1 100%); }
.variant-6 { background: linear-gradient(135deg, #f4f4f2 0%, #e5e3df 100%); }

@media (max-width: 1240px) {
  .dl-section { padding: 84px 0; }
  .product-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certificate-showcase-grid,
  .benefits-showcase-grid,
  .faq-showcase-grid,
  .stats-showcase-grid,
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-page-grid { grid-template-columns: 1fr; }
  .map-showcase { position: relative; top: 0; }
}

@media (max-width: 1024px) {
  .hero h1 { font-size: clamp(40px, 5.8vw, 54px); }
  .dl-section__head,
  .about-story-grid,
  .two-panel-grid,
  .contacts-page-grid { grid-template-columns: 1fr; }
  .dl-slider__track--three { grid-template-columns: repeat(10, minmax(320px, 1fr)); }
  .product-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-archive-grid { grid-template-columns: 1fr; }
  .cta-inline-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .dl-section { padding: 68px 0; }
  .dl-section__head { gap: 18px; margin-bottom: 28px; }
  .dl-eyebrow, .page-header__eyebrow { font-size: 13px; margin-bottom: 14px; }
  .dl-eyebrow::before, .page-header__eyebrow::before { width: 22px; }
  .dl-section__head h2, .page-hero-card h1, .page-header h1 { font-size: clamp(30px, 9vw, 40px); }
  .hero h1 { font-size: clamp(36px, 9.8vw, 48px); }
  .hero__content > p { font-size: 16px; }
  .product-showcase-grid,
  .news-showcase-grid,
  .benefits-showcase-grid,
  .stats-showcase-grid,
  .partners-grid,
  .faq-showcase-grid,
  .certificate-showcase-grid,
  .product-showcase-grid { grid-template-columns: 1fr; }
  .page-hero-card { border-radius: 26px; padding: 30px 22px; }
  .category-showcase,
  .benefit-showcase,
  .info-showcase-card,
  .review-showcase,
  .stat-showcase,
  .faq-showcase,
  .vacancy-showcase,
  .partner-card,
  .certificate-showcase { border-radius: 22px; }
  .promo-banner { min-height: 340px; padding: 28px 22px; border-radius: 26px; }
  .about-story-grid__media { min-height: 320px; }
  .dl-slider__track--five { grid-template-columns: repeat(8, minmax(260px, 1fr)); }
  .dl-slider__track--three { grid-template-columns: repeat(10, minmax(280px, 1fr)); }
  .contact-showcase-form__grid { grid-template-columns: 1fr; }
  .contact-showcase-form__full { grid-column: auto; }
  .map-showcase__embed,
  .map-showcase__embed iframe { min-height: 420px; }
}

/* ---- Doorline refinements v1.2 ---- */
.hero__title,
.hero .hero__title {
  color: #fff !important;
}

.dl-section__head > :only-child {
  grid-column: 1 / -1;
  max-width: 820px;
}

.dl-section__head--with-controls {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.dl-slider {
  overflow: visible;
}

.dl-slider__viewport {
  overflow: hidden;
  margin: -16px;
  padding: 16px;
}

.dl-slider__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.dl-slider__track::-webkit-scrollbar {
  display: none;
}

.dl-slider__track > * {
  scroll-snap-align: start;
}

.dl-slider__track--five > * {
  flex: 0 0 calc((100% - 80px) / 5);
  min-width: 0;
}

.dl-slider__track--three > * {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

.dl-slider__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dl-slider__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(23,26,30,.12);
  background: #fff;
  color: #20242a;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(24,28,32,.07);
  transition: background .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease, transform .22s ease;
}

.dl-slider__arrow:hover:not(:disabled) {
  background: #171a1e;
  border-color: #171a1e;
  color: #fff;
  transform: translateY(-1px);
}

.dl-slider__arrow:disabled {
  opacity: .32;
  cursor: default;
  box-shadow: none;
}

.dl-slider__arrow .doorline-icon {
  width: 19px;
  height: 19px;
}

.dl-slider__arrow--prev .doorline-icon {
  transform: rotate(180deg);
}

.category-showcase,
.review-showcase {
  box-shadow: 0 4px 13px rgba(24,28,32,.045);
}

.category-showcase:hover,
.review-showcase:hover {
  box-shadow: 0 6px 17px rgba(24,28,32,.06);
}

.product-showcase__body {
  display: flex;
  flex-direction: column;
  min-height: 242px;
}

.product-showcase__price-row {
  margin-top: auto;
  padding-top: 18px;
}

.product-showcase__actions {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 10px;
  margin-top: 18px;
}

.product-showcase__details,
.product-showcase__cart {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(23,26,30,.12);
  font-size: 14px;
  font-weight: 500;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}

.product-showcase__details {
  background: #fff;
  color: #20242a;
}

.product-showcase__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  background: #171a1e;
  border-color: #171a1e;
  color: #fff;
}

.product-showcase__cart .doorline-icon {
  width: 18px;
  height: 18px;
}

.product-showcase__details:hover,
.product-showcase__cart:hover {
  transform: translateY(-1px);
}

.product-showcase__details:hover {
  background: #f2f3f4;
}

.product-showcase__cart:hover {
  background: #30353b;
  border-color: #30353b;
}

/* Static Products page */
.products-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 30px;
  align-items: center;
}

.products-intro-grid__content h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.4vw, 46px);
}

.products-intro-grid__content p {
  margin: 0 0 16px;
  color: #626870;
}

.products-intro-grid__visual {
  position: relative;
  min-height: 460px;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  box-shadow: 0 18px 44px rgba(24,28,32,.08);
}

.products-intro-grid__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 18%, rgba(255,255,255,.55), transparent 34%), linear-gradient(180deg, transparent 35%, rgba(20,24,28,.18));
}

.products-intro-grid__visual span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 30px;
  font-weight: 500;
}

.products-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.products-category-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(23,26,30,.08);
  background: #fff;
  box-shadow: 0 9px 28px rgba(24,28,32,.055);
}

.products-category-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 28px;
  background: #f2f4f5;
  color: #343a40;
}

.products-category-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.products-category-card p {
  margin: 0;
  color: #676d75;
  font-size: 15px;
}

.finish-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.finish-showcase {
  min-height: 310px;
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(24,28,32,.09);
}

.finish-showcase span {
  color: #fff;
  font-size: 27px;
  font-weight: 500;
}

.finish-showcase p {
  max-width: 320px;
  margin: 12px 0 0;
  color: rgba(255,255,255,.82);
}

.finish-showcase--graphite { background: linear-gradient(145deg, #16191d, #4b535c); }
.finish-showcase--brass { background: linear-gradient(145deg, #4a3a29, #b28a58); }
.finish-showcase--nickel { background: linear-gradient(145deg, #4b5157, #a7afb5); }

/* Full-width contacts map */
.contacts-map-hero {
  position: relative;
  min-height: 690px;
  margin-top: 0;
  overflow: hidden;
  background: #e8ebed;
}

.contacts-map-hero__map,
.contacts-map-hero__fallback,
.contacts-map-hero__api {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contacts-map-hero__fallback {
  border: 0;
  display: block;
}

.contacts-map-hero__api {
  z-index: 1;
  display: none;
}

.contacts-map-hero__api.is-ready {
  display: block;
}

.contacts-map-hero__container {
  position: relative;
  z-index: 3;
  min-height: 690px;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.contacts-overlay-card {
  width: min(440px, 100%);
  padding: 36px;
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(23,26,30,.08);
  box-shadow: 0 28px 70px rgba(24,28,32,.18);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.contacts-overlay-card h1 {
  margin-bottom: 28px;
  font-size: clamp(34px, 4vw, 48px);
}

.contacts-overlay-card__items {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.contacts-overlay-card__items > div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(23,26,30,.08);
}

.contacts-overlay-card__items span {
  color: #777d84;
  font-size: 13px;
}

.contacts-overlay-card__items strong,
.contacts-overlay-card__items a {
  color: #24292f;
  font-size: 16px;
  font-weight: 500;
}

.contacts-form-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: start;
}

.contacts-form-grid__intro h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 3.4vw, 44px);
}

.contacts-form-grid__intro p {
  margin: 0;
  color: #646a72;
}

.contact-showcase-form--wide {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid rgba(23,26,30,.08);
  background: #fff;
  box-shadow: 0 14px 36px rgba(24,28,32,.06);
}

.doorline-yandex-marker {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 18px 18px 18px 4px;
  transform: rotate(-45deg);
  display: grid;
  place-items: center;
  background: #171a1e;
  color: #fff;
  box-shadow: 0 16px 36px rgba(23,26,30,.26);
  border: 3px solid #fff;
}

.doorline-yandex-marker span {
  transform: rotate(45deg);
  font-size: 18px;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .dl-slider__track--five > * { flex-basis: calc((100% - 40px) / 3); }
  .dl-slider__track--three > * { flex-basis: calc((100% - 20px) / 2); }
  .products-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products-intro-grid { grid-template-columns: 1fr; }
  .contacts-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .dl-section__head--with-controls {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .dl-slider__arrow {
    width: 44px;
    height: 44px;
  }

  .dl-slider__track--five > *,
  .dl-slider__track--three > * {
    flex-basis: 84%;
  }

  .product-showcase__actions {
    grid-template-columns: 1fr;
  }

  .products-category-grid,
  .finish-showcase-grid {
    grid-template-columns: 1fr;
  }

  .products-intro-grid__visual {
    min-height: 330px;
  }

  .contacts-map-hero,
  .contacts-map-hero__container {
    min-height: 760px;
  }

  .contacts-map-hero__container {
    align-items: flex-end;
    padding-bottom: 18px;
  }

  .contacts-overlay-card {
    width: 100%;
    padding: 26px 22px;
    border-radius: 25px;
  }

  .contact-showcase-form--wide {
    padding: 22px;
  }
}

/* Doorline v1.2.1 refinements */
.category-slider-card {
  min-height: 230px;
  height: 100%;
  box-shadow: 0 9px 28px rgba(24,28,32,.055);
}

.category-slider-card .products-category-card__icon {
  margin-bottom: 24px;
}

.category-slider-card p {
  margin: 0;
  color: #676d75;
  font-size: 15px;
  line-height: 1.55;
}

.rating-stars svg {
  fill: currentColor;
  stroke: currentColor;
}

.contacts-map-hero__fallback {
  pointer-events: none;
}

.contacts-map-hero__api {
  touch-action: pan-y;
}

@media (max-width: 760px) {
  .category-slider-card {
    min-height: 220px;
  }
}
