@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jost/jost-normal-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jost/jost-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F;
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/jost/jost-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF;
}

:root {
  --red: #f71729;
  --dark: #222;
  --muted: #7a7a7a;
  --bg: #eff0f2;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Jost, "Segoe UI", sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.5;
}
a { color: var(--dark); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.page { overflow: hidden; }

.header { background: var(--bg); }
.top_bar { min-height: 106px; font-size: 15px; }
.topbar-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 106px;
  gap: 12px;
}
.logo img, .logo svg { height: 56px; width: auto; display: block; }
.footer-brand img { height: 52px; width: auto; display: block; margin-bottom: 12px; mix-blend-mode: lighten; }
.logo { justify-self: center; }
.top-contacts { color: #222; }
.top-item { margin: 4px 0; }
.top-item a { color: #222; }
.top-phone { text-align: right; justify-self: end; }
.top-phone a { font-size: 19px; font-weight: 700; color: #222; }
.top-phone a span { color: var(--red); }
.top-phone small { display: block; font-size: 15px; }
.city-switch { display: block; margin-top: 6px; font-size: 12px; color: #666; }
.city-switch select { max-width: 160px; font: inherit; }

.ico { display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: var(--red); }
.ico-mail { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 4h20v16H2z'/%3E%3Cpath fill='white' d='M2 4l10 8L22 4'/%3E%3C/svg%3E"); }
.ico-pin {
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  width: 10px; height: 10px;
}
.ico-phone { border-radius: 3px; }

.navwrap { padding-bottom: 8px; }
.nav-grid {
  display: flex;
  align-items: stretch;
  background: var(--red);
  border-radius: 6px;
  box-shadow: 0 3px 10px rgb(162 162 162 / 10%);
  min-height: 56px;
}
.nav { flex: 1; }
.nav .menu {
  list-style: none;
  margin: 0;
  padding: 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  min-height: 56px;
}
.nav .menu > li > a {
  color: #fff;
  display: block;
  padding: 16px 12px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .02em;
}
.nav .menu > li > a:hover { color: #000; }
.nav .sub {
  display: none;
  position: absolute;
  background: #fff;
  min-width: 240px;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 30;
  border-radius: 0 0 6px 6px;
}
.nav .has-sub { position: relative; }
.nav .has-sub:hover .sub,
.nav .has-sub:focus-within .sub { display: block; }
.nav .sub a { display: block; padding: 7px 16px; color: #222; font-size: 14px; }
.nav .sub a:hover { color: var(--red); }

.call-top-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  padding: 8px 28px 8px 40px;
  border-radius: 0 6px 6px 0;
  position: relative;
  white-space: nowrap;
  margin-left: auto;
}
.call-top-btn strong {
  color: #222;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}
.call-top-btn span { color: #222; opacity: .5; font-size: 13px; }
.plus-clb {
  width: 26px; height: 26px; border-radius: 6px;
  position: absolute; left: 0; top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 0 5px #f71729;
}
.plus-clb:before, .plus-clb:after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
}
.plus-clb:before { width: 12px; height: 2px; }
.plus-clb:after { width: 2px; height: 12px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent;
  margin: 6px;
}
.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  display: block; width: 22px; height: 2px; background: #fff; position: relative;
}
.menu-btn span:before, .menu-btn span:after {
  content: ""; position: absolute; left: 0;
}
.menu-btn span:before { top: -7px; }
.menu-btn span:after { top: 7px; }

.hero {
  background: var(--bg);
  padding: 28px 0 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 20px;
  align-items: end;
  min-height: 520px;
}
.hero-txt { max-width: 520px; padding-bottom: 48px; }
.hero-kicker {
  text-transform: uppercase;
  font-size: 17px;
  color: var(--red);
  font-weight: 400;
  margin: 0 0 8px;
}
.hero h1 {
  color: #000;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.flag { font-size: 28px; vertical-align: middle; }
.hero p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 12px;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.hero-pills a {
  background: #fff;
  color: #222;
  border-radius: 5px;
  padding: 4px 12px 5px;
  box-shadow: 0 2px 8px rgb(67 29 29 / 5%);
  font-size: 14px;
}
.hero-actions { margin-top: 25px; display: flex; align-items: center; }
.btn-red {
  background: var(--red);
  color: #fff !important;
  border: 0;
  padding: 15px 36px;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  display: inline-block;
}
.btn-red:hover { background: #d51222; color: #fff !important; }
.tb-btn-sep { height: 1px; width: 35px; background: #c9c9c9; margin: 0 20px; }
.link-dash {
  font-size: 19px;
  border-bottom: 1px dashed;
  line-height: 1.2;
}
.hero-photo { align-self: end; }
.hero-photo img { display: block; width: 100%; object-fit: contain; }

.fid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  box-shadow: 0 -8px 24px rgb(0 0 0 / 4%);
  position: relative;
  z-index: 2;
}
.fid-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 28px 24px;
  border-right: 1px solid #f0f0f0;
}
.fid-item:last-child { border-right: 0; }
.fid-ico {
  width: 48px; height: 48px; min-width: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #3a4660;
}
.fid-ico img { width: 40px; height: 40px; }
.fid-item span { color: #888; font-size: 13px; text-transform: uppercase; display: block; }
.fid-item b { display: block; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }

.section { padding: 56px 0; }
.section h2 {
  font-size: 32px;
  margin: 0 0 8px;
}
.section .lead { color: var(--muted); margin: 0 0 28px; max-width: 46rem; }

.cards, .hit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px 20px;
}
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.section-alt { background: #f7f7f7; }
.btn-wide {
  width: auto;
  min-width: 96px;
  padding: 0 12px;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  text-transform: uppercase;
}
.catalog-item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 10px rgb(43 52 59 / 10%);
  overflow: hidden;
  color: #222;
}
.catalog-item:hover { color: #222; }
.catalog-item-img {
  position: relative;
  height: 250px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #fff;
  padding: 12px 8px 0;
}
.catalog-item-img img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.catalog-item-img.is-placeholder,
.product-gallery.is-placeholder {
  background: #eff0f2;
}
.catalog-item-img.is-placeholder img,
.product-gallery.is-placeholder img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.buy-tag {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 6px;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.catalog-item .name {
  display: block;
  text-align: center;
  padding: 14px 12px 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  min-height: 52px;
}
.catalog-item-bar {
  display: flex;
  align-items: stretch;
  margin-top: auto;
}
.price-item { padding: 10px 14px; flex: 1; font-size: 13px; }
.price-item-txt { color: #a4a4a4; display: block; font-size: 12px; }
.catalog-item .price { color: #222; font-weight: 500; display: block; }
.btn-item {
  background: var(--red);
  width: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow {
  background: #fff;
  border-radius: 50%;
  width: 28px; height: 28px;
  display: block;
  position: relative;
  box-shadow: 0 3px 6px rgb(147 123 123 / 50%);
}
.arrow:after {
  content: "";
  position: absolute;
  left: 9px; top: 8px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--red);
  border-top: 2px solid var(--red);
  transform: rotate(45deg);
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { text-align: center; padding: 8px 12px; }
.step .n {
  display: inline-flex;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  border: 1px solid #ececec;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 28px; margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.about-factory {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.about-photo img { width: 100%; display: block; border-radius: 2px; }
.about-txt h2 { margin-top: 0; }
.about-years { font-size: 18px; }
.about-years b { color: var(--red); }
.about-check { list-style: none; padding: 0; margin: 16px 0 0; }
.about-check li { padding: 4px 0 4px 22px; position: relative; }
.about-check li:before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat b { display: block; font-size: 40px; color: #111; font-weight: 700; }
.stat span { color: var(--muted); font-size: 14px; }

.home-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.home-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 0 10px rgb(43 52 59 / 8%);
}

.price-table { width: 100%; border-collapse: collapse; }
.price-table td { border-bottom: 1px solid #eee; padding: 10px 8px; }
.price-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

.reviews { display: grid; gap: 16px; }
blockquote {
  margin: 0;
  background: #f7f7f7;
  padding: 18px 20px;
  border-radius: 6px;
}
blockquote cite { display: block; margin-top: 8px; color: var(--muted); }

.title-block { background: var(--bg); padding: 28px 0 18px; }
.title-block h1 { margin: 0; font-size: 32px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 10px;
  font-size: 14px;
  color: #8a8a8a;
}
.crumbs a { color: #8a8a8a; }
.crumbs a:hover { color: var(--red); }
.crumbs span { color: var(--red); }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}
.pills a {
  display: block;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgb(67 29 29 / 4%);
}
.content { padding: 28px 0 48px; }
.prose { max-width: 50rem; }
.list { columns: 2; gap: 24px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pager a, .pager span { padding: 6px 10px; border: 1px solid #ddd; }
.pager span { background: var(--red); color: #fff; border-color: var(--red); }
.flash { background: #e8f6e8; border: 1px solid #b7e0b7; padding: 12px 16px; margin: 12px auto; }
.flash-error { background: #fdecec; border-color: #f5c2c2; color: #a10; }
.related { margin: 48px 0 8px; }
.related h2 { margin: 0 0 20px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-gallery {
  background: #fff;
  display: flex;
  justify-content: center;
  padding: 12px;
}
.product-gallery img { max-height: 520px; width: auto; object-fit: contain; }
.price-kicker { color: var(--red); margin: 0 0 4px; font-weight: 600; font-size: 15px; }
.product .price { color: #222; font-size: 32px; font-weight: 700; margin: 0 0 16px; }
.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  background: #f4f5f7;
  padding: 12px 16px;
  border-radius: 6px;
  list-style: none;
  margin: 0 0 20px;
  font-size: 13px;
}
.benefits li { position: relative; padding-left: 18px; }
.benefits li:before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.props { width: 100%; border-collapse: collapse; margin-top: 16px; }
.props th, .props td { border-bottom: 1px solid #eee; padding: 8px; text-align: left; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 22px 24px;
  position: relative;
  z-index: 2;
  margin-bottom: -28px;
}
.contact-card { display: flex; gap: 14px; align-items: center; }
.contact-card b { display: block; }
.contact-card a, .contact-card span { color: #555; }
.contact-ico {
  width: 56px; height: 56px; min-width: 56px;
  border: 2px solid var(--red);
  border-radius: 50%;
}
.contacts-map { width: 100%; overflow: hidden; }
.contacts-map img { width: 100%; display: block; }
.contacts-form { max-width: 920px; margin: 36px auto 0; }
.finish-grid, .works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.finish-item, .work-item {
  margin: 0;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 10px rgb(43 52 59 / 8%);
}
.finish-item img, .work-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.finish-item span, .work-item figcaption { display: block; padding: 10px 12px; font-size: 14px; }

.site-footer {
  background: #1b1b1b;
  color: #ddd;
  padding: 48px 0 0;
  font-size: 14px;
}
.site-footer a { color: #fff; }
.footer-brand {
  display: inline-block;
  color: #fff;
  margin-bottom: 10px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; padding-bottom: 32px; }
.site-footer h3 { color: #fff; font-size: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.plain { list-style: none; padding: 0; }
.copyright {
  border-top: 1px solid #333;
  text-align: center;
  padding: 16px;
  color: #aaa;
  font-size: 13px;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.popup.is-open { display: flex; }
.popup-card {
  background: #fff;
  width: min(920px, 100%);
  padding: 32px 28px 24px;
  position: relative;
  max-height: 90vh;
  overflow: auto;
}
.popup-close {
  position: absolute; right: 12px; top: 8px;
  border: 0; background: none; font-size: 28px; cursor: pointer; color: #888;
}
.popup-form { display: grid; gap: 12px; }
.popup-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.popup-form input, .popup-form textarea {
  width: 100%;
  padding: 14px 12px;
  border: 0;
  background: #f4f5f7;
  font: inherit;
}
.popup-form .btn-red {
  justify-self: center;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  min-width: 260px;
}
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; justify-content: center; }
.check input { width: auto; margin-top: 3px; }
.form-wrap { display: grid; gap: 12px; }
.form-error { color: var(--red); text-align: center; margin: 0; }
.error-msg { color: var(--red); text-align: center; margin: 0; }
.success-msg { display: none; text-align: center; padding: 24px 0; font-size: 18px; }
.success-msg span { font-size: 15px; color: #555; }
form.form-success .form-wrap { display: none; }
form.form-success .success-msg { display: block; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 980px) {
  .topbar-grid, .hero-grid, .fid, .steps, .footer-grid, .product, .popup-row, .contact-cards, .about-factory { grid-template-columns: 1fr; }
  .stats, .cols-4, .home-gallery { grid-template-columns: 1fr 1fr; }
  .top-contacts { display: none; }
  .list { columns: 1; }
  .hero h1 { font-size: 30px; }
  .menu-btn { display: block; }
  .nav { display: none; }
  body.nav-open .nav { display: block; }
  .nav .menu { flex-direction: column; align-items: stretch; }
  .nav .sub { position: static; display: block; background: transparent; box-shadow: none; }
  .nav .sub a { color: #fff; }
  .call-top-btn span { display: none; }
}
