:root {
  --red: #d83d3b;
  --red2: #b7282b;
  --ink: #17191d;
  --muted: #6c7078;
  --line: #dedfe2;
  --paper: #f4f4f2;
  --white: #fff;
  --radius: 4px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
.shell {
  width: min(1240px, calc(100% - 48px));
  margin: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
.topline {
  background: #111317;
  color: #bfc2c8;
  font-size: 0.78rem;
}
.topbar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toplinks {
  display: flex;
  gap: 26px;
}
.toplinks a:hover {
  color: #fff;
}
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 21, 23, 0.09);
}
.headrow {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand img {
  width: 190px;
  height: 46px;
  object-fit: contain;
  background: #17191d;
  padding: 9px 12px;
  border-radius: 2px;
}
.brand span {
  font-size: 0.68rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #777;
  width: 90px;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav a {
  position: relative;
}
.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--red);
  transition: 0.2s;
}
.nav a:hover:after {
  right: 0;
}
.contacts {
  border-left: 1px solid var(--line);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
}
.contacts small {
  color: var(--muted);
  font-size: 0.72rem;
}
.contacts a {
  font-weight: 800;
  font-size: 1rem;
}
.menu {
  display: none;
  background: none;
  border: 0;
}
.hero {
  min-height: 680px;
  position: relative;
  background: #15181e;
  color: #fff;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 14, 20, 0.98) 0%,
      rgba(11, 14, 20, 0.78) 35%,
      rgba(11, 14, 20, 0.06) 74%
    ),
    url("hero.png") center/cover no-repeat;
  transform: scale(1.01);
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(transparent, rgba(10, 12, 15, 0.3));
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 92px;
}
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
}
.eyebrow:before,
.kicker:before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.kicker.light {
  color: #ff7d78;
}
.hero h1 {
  font-size: clamp(3.4rem, 6.8vw, 6.4rem);
  letter-spacing: -0.065em;
  line-height: 0.88;
  margin: 28px 0 30px;
  max-width: 870px;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}
.hero-content > p {
  font-size: 1.18rem;
  color: #d1d4da;
  max-width: 600px;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 38px;
}
.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  font: 700 0.9rem inherit;
  cursor: pointer;
  transition: 0.2s;
}
.btn.primary {
  background: var(--red);
  color: #fff;
}
.btn.primary:hover {
  background: var(--red2);
  transform: translateY(-2px);
}
.btn.ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.btn.ghost span {
  margin-left: 24px;
}
.btn.ghost:hover {
  background: #fff;
  color: #111;
}
.hero-facts {
  display: flex;
  gap: 0;
  margin-top: 62px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 760px;
}
.hero-facts div {
  padding: 22px 44px 0 0;
  margin-right: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
}
.hero-facts div:last-child {
  border: 0;
}
.hero-facts b {
  font-size: 0.95rem;
}
.hero-facts span {
  font-size: 0.76rem;
  color: #9ca2ac;
}
.catalog {
  padding: 110px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}
.section-head h2,
.turnkey h2,
.delivery h2,
.request h2,
.faq h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 18px 0 0;
}
.section-head > p {
  max-width: 430px;
  color: var(--muted);
  margin: 0;
}
.catalog-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}
.category {
  min-height: 210px;
  padding: 27px 28px;
  background: var(--paper);
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: end;
  transition: 0.25s;
  border: 1px solid transparent;
}
.category.large {
  grid-row: span 2;
  min-height: 434px;
  background: linear-gradient(145deg, #f0f1f2, #d8dade);
}
.category.dark {
  background: #202329;
  color: #fff;
}
.category.outline {
  background: #fff;
  border-color: var(--line);
}
.category:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(26, 28, 33, 0.12);
}
.num {
  align-self: start;
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 800;
}
.category h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}
.category p {
  margin: 0;
  color: #777;
  font-size: 0.9rem;
}
.dark p {
  color: #aeb3bc;
}
.arrow {
  align-self: start;
  font-size: 1.7rem;
  color: var(--red);
}
.turnkey {
  background: #191c21;
  color: #fff;
  padding: 110px 0;
}
.turnkey-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.turnkey .lead {
  color: #b8bdc5;
  font-size: 1.08rem;
  max-width: 520px;
}
.text-link {
  display: inline-flex;
  gap: 30px;
  margin-top: 36px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--red);
  font-weight: 700;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #343840;
}
.steps li {
  display: grid;
  grid-template-columns: 66px 1fr;
  border-bottom: 1px solid #343840;
  padding: 24px 0;
}
.steps li > span {
  font-size: 0.72rem;
  color: #ff7771;
}
.steps b {
  font-size: 1.12rem;
}
.steps p {
  margin: 4px 0 0;
  color: #8f96a0;
  font-size: 0.9rem;
}
.benefits {
  padding: 110px 0;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.benefit-grid article {
  padding: 34px 30px 10px 0;
  border-right: 1px solid var(--line);
  min-height: 240px;
}
.benefit-grid article + article {
  padding-left: 30px;
}
.benefit-grid article:last-child {
  border: 0;
}
.benefit-grid span {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 800;
}
.benefit-grid h3 {
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 52px 0 12px;
}
.benefit-grid p {
  color: var(--muted);
  margin: 0;
}
.delivery {
  background: var(--red);
  color: #fff;
  padding: 82px 0;
}
.delivery-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: center;
}
.delivery p {
  font-size: 1.08rem;
}
.delivery .note {
  font-size: 0.82rem;
  opacity: 0.72;
}
.request {
  padding: 110px 0;
}
.request-card {
  background: var(--paper);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.request-card > div > p {
  color: var(--muted);
  max-width: 430px;
}
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
label:nth-child(3),
form .btn,
form small,
.success {
  grid-column: 1/-1;
}
label span {
  font-size: 0.75rem;
  font-weight: 700;
}
input,
select {
  width: 100%;
  height: 52px;
  border: 0;
  border-bottom: 1px solid #bbb;
  background: transparent;
  font: inherit;
  border-radius: 0;
  outline: none;
}
input:focus,
select:focus {
  border-color: var(--red);
}
form small {
  font-size: 0.7rem;
  color: #81858b;
}
.success {
  display: none;
  padding: 12px;
  background: #e4f1e7;
  color: #236a35;
}
.success.show {
  display: block;
}
.faq {
  padding: 0 0 110px;
}
.faq h2 {
  margin-bottom: 40px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.faq details p {
  color: var(--muted);
  max-width: 700px;
}
footer {
  background: #121417;
  color: #fff;
  padding: 70px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 70px;
}
.footer-brand img {
  width: 230px;
  background: #24272c;
  padding: 12px;
}
.footer-brand p {
  color: #858b95;
  max-width: 300px;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-grid > div > span {
  font-size: 0.72rem;
  color: #858b95;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.footer-grid a:hover {
  color: #ff7771;
}
.copyright {
  border-top: 1px solid #292c31;
  margin-top: 55px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #696f78;
  font-size: 0.72rem;
}
@media (max-width: 950px) {
  .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 28px;
    flex-direction: column;
  }
  .nav.open {
    display: flex;
  }
  .contacts {
    margin-left: auto;
  }
  .menu {
    display: block;
    width: 40px;
    height: 40px;
  }
  .menu span {
    display: block;
    height: 2px;
    background: #111;
    margin: 8px 0;
  }
  .brand span {
    display: none;
  }
  .turnkey-grid,
  .delivery-row {
    gap: 50px;
  }
  .request-card {
    gap: 45px;
  }
  .hero-facts {
    max-width: 680px;
  }
}
@media (max-width: 700px) {
  .shell {
    width: min(100% - 30px, 1240px);
  }
  .toplinks.right,
  .contacts {
    display: none;
  }
  .headrow {
    height: 72px;
  }
  .brand img {
    width: 158px;
    height: 40px;
  }
  .nav {
    top: 72px;
  }
  .hero {
    min-height: 690px;
  }
  .hero-image {
    background:
      linear-gradient(90deg, rgba(11, 14, 20, 0.94), rgba(11, 14, 20, 0.65)),
      url("hero.png") 64% center/cover;
  }
  .hero-content {
    padding-top: 74px;
  }
  .hero h1 {
    font-size: 3.35rem;
  }
  .hero-content > p {
    font-size: 1rem;
  }
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 42px;
  }
  .hero-facts div {
    padding-right: 16px;
    margin-right: 16px;
  }
  .hero-facts div:last-child {
    display: none;
  }
  .section-head {
    align-items: start;
    gap: 28px;
    flex-direction: column;
  }
  .catalog,
  .benefits,
  .request {
    padding: 78px 0;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .category.large {
    grid-row: auto;
    min-height: 240px;
  }
  .category {
    min-height: 190px;
  }
  .turnkey {
    padding: 78px 0;
  }
  .turnkey-grid,
  .delivery-row,
  .request-card {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .benefit-grid article,
  .benefit-grid article + article {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
  }
  .benefit-grid h3 {
    margin-top: 28px;
  }
  .delivery {
    padding: 70px 0;
  }
  .request-card {
    padding: 34px 24px;
  }
  form {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .copyright {
    gap: 18px;
    flex-direction: column;
  }
  .section-head h2,
  .turnkey h2,
  .delivery h2,
  .request h2,
  .faq h2 {
    font-size: 2.65rem;
  }
}

/* v31: reviews carousel and submission dialog */
.reviews {
  padding: 100px 0 110px;
}
.reviews-head {
  margin-bottom: 42px;
}
.reviews-intro {
  max-width: 390px;
}
.reviews-intro p {
  margin: 0 0 22px;
  color: var(--muted);
}
.review-open {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 17px;
  border: 1px solid rgba(215, 25, 32, 0.3);
  border-radius: 9px;
  background: #fff;
  color: var(--red);
  font-weight: 700;
  cursor: pointer;
  transition: 0.22s ease;
}
.review-open:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.reviews-carousel {
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 3px 1px 28px;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 310px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  border: 1px solid rgba(25, 28, 33, 0.07);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f8f8f6);
  box-shadow: 0 14px 38px rgba(25, 28, 33, 0.075);
}
.review-stars {
  color: var(--red);
  letter-spacing: 0.13em;
  font-size: 0.95rem;
}
.review-card > p {
  margin: 24px 0 30px;
  color: #34383e;
  font-size: 1rem;
  line-height: 1.65;
}
.review-card .review-author {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(25, 28, 33, 0.08);
  background: transparent;
  color: var(--ink);
}
.review-card .review-author b {
  font-size: 0.95rem;
}
.review-card .review-author span {
  color: var(--muted);
  font-size: 0.78rem;
}
.reviews-arrow {
  position: absolute;
  top: calc(50% - 42px);
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  box-shadow: 0 12px 30px rgba(27, 31, 37, 0.13);
  font-size: 1.35rem;
  cursor: pointer;
  transition: 0.22s ease;
}
.reviews-arrow:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}
.reviews-prev { left: -72px; }
.reviews-next { right: -72px; }
.review-dialog[hidden] { display: none; }
.review-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 24px;
  display: grid;
  place-items: center;
  background: rgba(14, 17, 22, 0.64);
  backdrop-filter: blur(8px);
}
.review-dialog-card {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 42px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}
.review-dialog-card h2 {
  margin: 12px 0 28px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.review-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f1;
  color: #25282d;
  font-size: 1.5rem;
  cursor: pointer;
}
#reviewForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
#reviewForm label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#reviewForm label > span {
  font-size: 0.78rem;
  font-weight: 700;
}
#reviewForm input,
#reviewForm select,
#reviewForm textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #dedfdf;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}
#reviewForm input:focus,
#reviewForm select:focus,
#reviewForm textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.08);
}
#reviewForm textarea { resize: vertical; }
#reviewForm .review-text-field,
#reviewForm .btn,
#reviewForm small {
  grid-column: 1 / -1;
}
#reviewForm small {
  color: var(--muted);
  text-align: center;
}
.review-dialog-open { overflow: hidden; }

@media (max-width: 950px) {
  .review-card { flex-basis: calc((100% - 18px) / 2); }
  .reviews-prev { left: -18px; }
  .reviews-next { right: -18px; }
}
@media (max-width: 700px) {
  .reviews { padding: 78px 0; }
  .reviews-head { margin-bottom: 30px; }
  .review-card { flex-basis: 88%; min-height: 300px; padding: 24px; }
  .reviews-arrow { width: 46px; height: 46px; top: calc(50% - 38px); }
  .reviews-prev { left: 8px; }
  .reviews-next { right: 8px; }
  .review-dialog-card { padding: 34px 22px 26px; }
  #reviewForm { grid-template-columns: 1fr; }
  #reviewForm .review-text-field,
  #reviewForm .btn,
  #reviewForm small { grid-column: auto; }
}

/* refined brand header */
.headrow {
  gap: 28px;
}
.brand img {
  width: 210px;
  height: auto;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.nav {
  gap: 23px;
}
.catalog-link {
  display: flex;
  align-items: center;
  gap: 7px;
}
.catalog-link.active,
.catalog-link:hover {
  color: var(--red);
}
.catalog-mark {
  font-size: 1rem;
  color: var(--red);
}
.contacts {
  position: relative;
  padding-right: 75px;
  min-width: 245px;
}
.contact-icons {
  position: absolute;
  right: 0;
  bottom: 2px;
  display: flex;
  gap: 6px;
}
.contact-icons a {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--red);
  transition: 0.2s;
}
.contact-icons a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.footer-brand img {
  width: 230px;
  background: #fff;
  padding: 9px 10px;
}

/* catalog preview */
.catalog-preview {
  border-top: 1px solid var(--line);
}
.catalog-preview > a {
  position: relative;
  display: grid;
  grid-template-columns: 62px 1.1fr 1fr 30px;
  align-items: center;
  gap: 20px;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  transition: 0.22s;
}
.catalog-preview > a:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: 0.25s;
  z-index: -1;
}
.catalog-preview > a:hover {
  color: #fff;
  padding-left: 18px;
  padding-right: 18px;
}
.catalog-preview > a:hover:before {
  transform: scaleY(1);
}
.catalog-preview h3 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin: 0;
}
.catalog-preview p {
  color: var(--muted);
  margin: 0;
  font-size: 0.88rem;
}
.catalog-preview > a:hover p {
  color: #aeb3bc;
}
.catalog-preview i {
  font-size: 1.5rem;
  font-style: normal;
  color: var(--red);
}
.all-catalog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--red);
  color: #fff;
  padding: 20px 25px;
  margin-top: 22px;
  font-weight: 800;
}
.all-catalog:hover {
  background: var(--red2);
}

/* dedicated catalog */
.catalog-hero {
  padding: 70px 0 76px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  color: #8a8e94;
  font-size: 0.78rem;
  margin-bottom: 45px;
}
.catalog-hero h1 {
  font-size: clamp(4rem, 8vw, 7.4rem);
  letter-spacing: -0.07em;
  line-height: 0.86;
  margin: 24px 0;
}
.catalog-hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.06rem;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 70px;
  padding-top: 72px;
  padding-bottom: 110px;
}
.catalog-side {
  position: sticky;
  top: 145px;
  height: max-content;
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--ink);
}
.catalog-side > b {
  padding: 20px 0 15px;
}
.catalog-side > a {
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}
.catalog-side > a:hover {
  color: var(--red);
  padding-left: 8px;
}
.side-help {
  background: var(--ink);
  color: #fff;
  padding: 25px;
  margin-top: 30px;
}
.side-help span {
  color: #ff7771;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.side-help p {
  color: #b5bac2;
  font-size: 0.85rem;
}
.side-help a {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}
.catalog-content {
  min-width: 0;
}
.catalog-group {
  scroll-margin-top: 140px;
  padding: 0 0 72px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.group-title {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: start;
  margin-bottom: 25px;
}
.group-title > span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 800;
  padding-top: 12px;
}
.group-title h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
  line-height: 1;
  margin: 0;
}
.product-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-left: 60px;
}
.product-links > a {
  position: relative;
  min-height: 170px;
  background: var(--paper);
  padding: 25px;
  display: flex;
  flex-direction: column;
  transition: 0.22s;
}
.product-links b {
  font-size: 1.08rem;
  line-height: 1.2;
  max-width: 90%;
}
.product-links small {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}
.product-links i {
  font-style: normal;
  color: var(--red);
  margin-top: auto;
  align-self: flex-end;
}
.product-links > a:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-4px);
}
.product-links > a:hover small {
  color: #9fa4ad;
}
.product-links.compact {
  grid-template-columns: repeat(2, 1fr);
}
.product-links.compact > a {
  min-height: 104px;
}
.catalog-page footer {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .headrow {
    gap: 18px;
  }
  .nav {
    gap: 15px;
    font-size: 0.82rem;
  }
  .brand img {
    width: 180px;
  }
  .contacts {
    min-width: 220px;
  }
  .catalog-layout {
    grid-template-columns: 230px 1fr;
    gap: 40px;
  }
  .product-links {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 950px) {
  .brand img {
    width: 185px;
  }
  .contacts {
    padding-right: 75px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-side {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
  }
  .catalog-side > b,
  .side-help {
    grid-column: 1/-1;
  }
  .product-links {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .brand img {
    width: 170px;
    height: auto;
  }
  .catalog-preview > a {
    grid-template-columns: 40px 1fr 24px;
    gap: 12px;
    padding: 20px 0;
  }
  .catalog-preview p {
    grid-column: 2/3;
  }
  .catalog-preview > a:hover {
    padding-left: 10px;
    padding-right: 10px;
  }
  .catalog-preview h3 {
    font-size: 1.2rem;
  }
  .catalog-hero {
    padding: 45px 0 55px;
  }
  .catalog-hero h1 {
    font-size: 4rem;
  }
  .catalog-layout {
    padding-top: 50px;
    padding-bottom: 75px;
  }
  .catalog-side {
    display: none;
  }
  .catalog-group {
    padding-bottom: 52px;
    margin-bottom: 48px;
  }
  .group-title {
    grid-template-columns: 40px 1fr;
  }
  .group-title h2 {
    font-size: 2.2rem;
  }
  .product-links,
  .product-links.compact {
    grid-template-columns: 1fr;
    margin-left: 0;
  }
  .product-links > a {
    min-height: 135px;
  }
  .product-links.compact > a {
    min-height: 90px;
  }
}

/* dropdown catalog */
.header {
  isolation: isolate;
}
.catalog-link {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 0;
  font: 600 0.92rem inherit;
  color: var(--ink);
  cursor: pointer;
}
.catalog-link:hover,
.catalog-link[aria-expanded="true"] {
  color: var(--red);
}
.chevron {
  font-size: 0.85rem;
  transition: 0.2s;
}
.catalog-link[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(16, 18, 22, 0.18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: 0.22s;
  z-index: 30;
}
.mega-menu.open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.mega-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 45px;
  padding-top: 36px;
  padding-bottom: 40px;
}
.mega-intro {
  background: var(--ink);
  color: #fff;
  padding: 27px;
}
.mega-intro > span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff7771;
}
.mega-intro h2 {
  font-size: 1.65rem;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 17px 0;
}
.mega-intro p {
  font-size: 0.8rem;
  color: #9fa5ae;
}
.mega-intro a {
  font-size: 0.76rem;
  font-weight: 800;
  display: inline-block;
  margin-top: 20px;
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
}
.mega-groups {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}
.mega-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.mega-group b {
  font-size: 0.78rem;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
}
.mega-group a {
  font-size: 0.76rem;
  line-height: 1.25;
  color: var(--muted);
  transition: 0.18s;
}
.mega-group a:hover {
  color: var(--red);
  transform: translateX(3px);
}
.mega-group.accent b {
  border-color: var(--red);
}
.mega-group.accent a {
  color: var(--ink);
  font-weight: 600;
}
.mega-open:after {
  content: "";
  position: fixed;
  inset: 126px 0 0;
  background: rgba(10, 12, 16, 0.42);
  z-index: 15;
  pointer-events: none;
}
.all-catalog {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: 800 1rem inherit;
}
.hero-catalog-trigger {
  font-family: inherit;
}
.footer-catalog-trigger {
  background: none;
  border: 0;
  color: #fff;
  padding: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.footer-catalog-trigger:hover {
  color: #ff7771;
}
@media (max-width: 1100px) {
  .mega-groups {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 28px;
  }
  .mega-inner {
    grid-template-columns: 220px 1fr;
  }
}
@media (max-width: 950px) {
  .nav .catalog-link {
    font-size: inherit;
    font-weight: 600;
  }
  .mega-menu {
    position: fixed;
    top: 126px;
    bottom: 0;
    overflow: auto;
    transform: translateY(-6px);
  }
  .mega-inner {
    grid-template-columns: 1fr;
    padding-top: 24px;
    padding-bottom: 30px;
  }
  .mega-intro {
    display: none;
  }
  .mega-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 38px;
  }
  .mega-open:after {
    display: none;
  }
}
@media (max-width: 700px) {
  .mega-menu {
    top: 110px;
  }
  .mega-inner {
    width: min(100% - 30px, 1240px);
  }
  .mega-groups {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .mega-group b {
    font-size: 0.9rem;
  }
  .mega-group a {
    font-size: 0.88rem;
  }
  .mega-open {
    overflow: hidden;
  }
}

/* cleaner catalog menu */
.mega-inner.menu-v2 {
  grid-template-columns: 310px 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  padding-top: 0;
  padding-bottom: 0;
  max-height: 610px;
}
.menu-tabs {
  padding: 27px 0;
  border-right: 1px solid var(--line);
}
.menu-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding: 0 28px 20px 0;
  margin-right: 28px;
  border-bottom: 1px solid var(--line);
}
.menu-title span {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.menu-title small {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.menu-tab {
  width: 100%;
  height: 62px;
  padding: 0 26px 0 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ececee;
  display: grid;
  grid-template-columns: 36px 1fr 20px;
  align-items: center;
  text-align: left;
  font: 600 0.9rem inherit;
  color: var(--ink);
  cursor: pointer;
  transition: 0.18s;
}
.menu-tab span {
  font-size: 0.65rem;
  color: #a1a5ab;
}
.menu-tab i {
  font-style: normal;
  color: var(--red);
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.18s;
}
.menu-tab:hover,
.menu-tab.active {
  color: var(--red);
  padding-left: 10px;
}
.menu-tab.active {
  background: #fafafa;
}
.menu-tab:hover i,
.menu-tab.active i {
  opacity: 1;
  transform: none;
}
.menu-panels {
  padding: 34px 0 30px 42px;
  min-width: 0;
}
.menu-panel {
  display: none;
}
.menu-panel.active {
  display: block;
  animation: panelIn 0.22s ease;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.panel-heading {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: start;
  margin-bottom: 28px;
}
.panel-heading > span {
  color: var(--red);
  font-size: 0.66rem;
  font-weight: 800;
  padding-top: 8px;
}
.panel-heading h2 {
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 9px;
}
.panel-heading p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}
.panel-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.panel-links a {
  position: relative;
  min-height: 106px;
  padding: 19px 46px 18px 20px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: 0.18s;
}
.panel-links b {
  font-size: 0.9rem;
}
.panel-links small {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 5px;
}
.panel-links i {
  position: absolute;
  right: 18px;
  top: 17px;
  font-style: normal;
  color: var(--red);
}
.panel-links a:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.panel-links a:hover small {
  color: #aeb3bc;
}
.menu-bottom {
  grid-column: 1/-1;
  height: 54px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.77rem;
}
.menu-bottom span {
  color: var(--muted);
}
.menu-bottom a {
  color: var(--red);
  font-weight: 800;
}
.mega-groups,
.mega-intro {
  display: none;
}
@media (max-width: 950px) {
  .mega-inner.menu-v2 {
    display: block;
    max-height: none;
  }
  .menu-tabs {
    border-right: 0;
    padding: 14px 0;
  }
  .menu-title {
    margin: 0;
    padding: 8px 0 17px;
  }
  .menu-tab {
    padding: 0 6px;
  }
  .menu-tab:hover,
  .menu-tab.active {
    padding-left: 8px;
  }
  .menu-panels {
    padding: 22px 0;
  }
  .menu-panel:not(.active) {
    display: none;
  }
  .panel-heading {
    margin-bottom: 20px;
  }
  .panel-heading h2 {
    font-size: 1.8rem;
  }
  .menu-bottom {
    justify-content: space-between;
  }
  .mega-menu {
    top: 126px;
  }
}
@media (max-width: 700px) {
  .mega-menu {
    top: 110px;
  }
  .menu-title small {
    display: none;
  }
  .menu-tabs {
    padding-bottom: 0;
  }
  .menu-tab {
    height: 52px;
  }
  .menu-panels {
    padding-top: 18px;
  }
  .panel-heading {
    grid-template-columns: 30px 1fr;
  }
  .panel-heading h2 {
    font-size: 1.55rem;
  }
  .panel-heading p {
    font-size: 0.76rem;
  }
  .panel-links {
    grid-template-columns: 1fr;
  }
  .panel-links a {
    min-height: 78px;
  }
  .menu-bottom {
    height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

/* image catalog cards */
.catalog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 285px;
  gap: 14px;
}
.catalog-card {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.catalog-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 15, 0.08) 15%,
    rgba(10, 12, 15, 0.9) 100%
  );
  z-index: -1;
  transition: 0.35s;
}
.catalog-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  opacity: 0;
  z-index: -1;
  transition: 0.3s;
}
.catalog-card:hover:before {
  background: linear-gradient(
    180deg,
    rgba(10, 12, 15, 0.18),
    rgba(10, 12, 15, 0.75)
  );
}
.catalog-card:hover:after {
  opacity: 0.32;
}
.catalog-card:hover {
  transform: translateY(-4px);
}
.catalog-card .num {
  color: #fff;
  font-size: 0.7rem;
}
.catalog-card > div {
  max-width: 90%;
}
.catalog-card h3 {
  font-size: 1.5rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 9px;
}
.catalog-card p {
  font-size: 0.78rem;
  color: #d8dbe0;
  margin: 0;
}
.catalog-card i {
  position: absolute;
  right: 25px;
  top: 22px;
  font-size: 1.4rem;
  font-style: normal;
  color: #fff;
  transition: 0.25s;
}
.catalog-card:hover i {
  transform: translate(4px, -4px);
}
.catalog-card.card-wide {
  grid-column: span 2;
}
.card-cladding {
  background-image: url("catalog-cladding.png");
}
.card-system,
.card-insulation {
  background-image: url("catalog-system.png");
}
.card-roof,
.card-sheets {
  background-image: url("catalog-roof.png");
}
.card-turnkey {
  background-image: url("hero.png");
  background-position: 68% center;
}
.catalog-card.card-wide h3 {
  font-size: 2rem;
}
.catalog-card.card-wide > div {
  max-width: 58%;
}
@media (max-width: 900px) {
  .catalog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-card.card-wide {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .catalog-cards {
    grid-template-columns: 1fr;
    grid-auto-rows: 235px;
  }
  .catalog-card.card-wide {
    grid-column: auto;
  }
  .catalog-card.card-wide h3 {
    font-size: 1.5rem;
  }
  .catalog-card.card-wide > div {
    max-width: 90%;
  }
}

/* typography and footer refinements */
.nav .catalog-link {
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
  letter-spacing: inherit;
}
.btn,
.all-catalog {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.all-catalog {
  font-size: 1.08rem;
}
.menu-title span {
  font-size: 1.65rem;
}
.menu-title small {
  font-size: 0.75rem;
}
.menu-tab {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
}
.menu-tab span {
  font-size: 0.72rem;
}
.panel-heading h2 {
  font-size: 2.45rem;
}
.panel-heading p {
  font-size: 0.95rem;
  line-height: 1.45;
}
.panel-links a {
  min-height: 116px;
  padding: 21px 48px 20px 22px;
}
.panel-links b {
  font-size: 1rem;
  line-height: 1.25;
}
.panel-links small {
  font-size: 0.84rem;
  line-height: 1.4;
}
.menu-bottom {
  font-size: 0.86rem;
}
.footer-brand img {
  width: 245px;
  height: auto;
  background: transparent;
  padding: 0;
}
@media (max-width: 950px) {
  .menu-tab {
    font-size: 1rem;
  }
  .panel-heading h2 {
    font-size: 2rem;
  }
  .panel-heading p {
    font-size: 0.9rem;
  }
  .panel-links b {
    font-size: 1rem;
  }
  .panel-links small {
    font-size: 0.84rem;
  }
}
@media (max-width: 700px) {
  .btn,
  .all-catalog {
    font-size: 1rem;
  }
  .menu-title span {
    font-size: 1.55rem;
  }
  .menu-tab {
    font-size: 0.98rem;
  }
  .panel-heading h2 {
    font-size: 1.75rem;
  }
  .panel-heading p {
    font-size: 0.86rem;
  }
  .panel-links a {
    min-height: 92px;
  }
  .panel-links b {
    font-size: 1rem;
  }
  .panel-links small {
    font-size: 0.82rem;
  }
  .footer-brand img {
    width: 220px;
  }
}

/* video and completed projects */
.media-section {
  padding: 110px 0;
  background: var(--ink);
  color: #fff;
}
.media-head > p {
  color: #aeb3bc;
}
.video-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}
.video-card {
  background: #24272d;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}
.video-card:hover {
  transform: translateY(-6px);
  background: #2b2f36;
}
.video-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}
.video-card:hover img {
  transform: scale(1.035);
}
.play {
  position: absolute;
  left: 22px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  color: #fff;
  box-shadow: 0 9px 28px rgba(0, 0, 0, 0.25);
}
.video-copy {
  padding: 24px 25px 27px;
}
.video-copy > span {
  font-size: 0.75rem;
  color: #aeb3bc;
}
.video-copy h3 {
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
}
.video-copy p {
  font-size: 0.9rem;
  color: #aeb3bc;
  margin: 12px 0 0;
}
.video-card-main .video-copy h3 {
  font-size: 1.55rem;
}
.projects {
  padding: 110px 0;
}
.projects-intro {
  max-width: 390px;
}
.projects-intro p {
  color: var(--muted);
  margin: 0 0 18px;
}
.projects-intro a {
  font-weight: 800;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 440px;
  gap: 14px;
}
.project-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: 0.3s;
}
.project-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 14, 18, 0.1),
    rgba(12, 14, 18, 0.9)
  );
  z-index: -1;
}
.project-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  opacity: 0;
  z-index: -1;
  transition: 0.3s;
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-card:hover:after {
  opacity: 0.23;
}
.project-one {
  background-image: url("hero.png");
  background-position: 65% center;
}
.project-two {
  background-image: url("catalog-system.png");
}
.project-three {
  background-image: url("catalog-cladding.png");
}
.project-index {
  font-size: 0.75rem;
  font-weight: 800;
}
.project-card small {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e0e2e5;
}
.project-card h3 {
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 11px 0;
}
.project-card p {
  font-size: 0.86rem;
  color: #d4d7dc;
  margin: 0;
}
.project-card i {
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 1.45rem;
  font-style: normal;
}
.project-card:hover i {
  transform: translate(4px, -4px);
}
@media (max-width: 1080px) {
  .nav {
    gap: 13px;
  }
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
  .video-card-main {
    grid-column: span 2;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-one {
    grid-column: span 2;
  }
}
@media (max-width: 700px) {
  .media-section,
  .projects {
    padding: 78px 0;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
  .video-card-main {
    grid-column: auto;
  }
  .video-card-main .video-copy h3 {
    font-size: 1.35rem;
  }
  .projects-intro {
    max-width: none;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
  }
  .project-one {
    grid-column: auto;
  }
  .project-card h3 {
    font-size: 1.45rem;
  }
}

/* polished mobile header and first screen */
.btn {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  background: transparent;
}
.btn.primary {
  background: var(--red);
}
.button-arrow {
  width: 12px;
  height: 12px;
  margin-left: 22px !important;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}
@media (max-width: 700px) {
  .topbar {
    height: 34px;
  }
  .topline {
    font-size: 0.72rem;
  }
  .toplinks {
    gap: 18px;
  }
  .headrow {
    height: 68px;
  }
  .brand img {
    width: 164px;
  }
  .menu {
    position: relative;
    width: 42px;
    height: 42px;
    padding: 8px;
    appearance: none;
    -webkit-appearance: none;
  }
  .menu span {
    width: 25px;
    margin: 7px auto;
    transition: 0.2s;
  }
  .menu[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  .menu[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  .nav {
    display: flex;
    top: 68px;
    left: 0;
    right: 0;
    padding: 12px 22px 20px;
    gap: 0;
    box-shadow: 0 24px 45px rgba(12, 14, 18, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: 0.2s;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav > a,
  .nav .catalog-link {
    width: 100%;
    min-height: 48px;
    border-bottom: 1px solid #ececee;
    display: flex;
    align-items: center;
    font-size: 0.96rem;
  }
  .nav a:after {
    display: none;
  }
  .hero {
    min-height: 610px;
  }
  .hero-content {
    padding-top: 56px;
    padding-bottom: 30px;
  }
  .eyebrow {
    font-size: 0.67rem;
    letter-spacing: 0.12em;
  }
  .eyebrow:before {
    width: 22px;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.15rem);
    line-height: 0.92;
    margin: 24px 0 24px;
    letter-spacing: -0.055em;
  }
  .hero-content > p {
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .actions {
    margin-top: 30px;
    gap: 10px;
  }
  .btn {
    min-height: 54px;
  }
  .btn.ghost {
    background: transparent;
    color: #fff;
  }
  .btn.ghost:hover {
    background: transparent;
    color: #fff;
  }
  .hero-facts {
    margin-top: 34px;
  }
  .hero-facts div {
    padding-top: 18px;
  }
  .hero-facts b {
    font-size: 0.88rem;
  }
  .hero-facts span {
    font-size: 0.7rem;
  }
  .mega-menu {
    top: 102px;
  }
  .mega-inner {
    width: min(100% - 30px, 1240px);
  }
}

/* equal media cards and real project photography */
.video-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.video-card-main {
  grid-column: auto;
}
.video-card-main .video-copy h3 {
  font-size: 1.3rem;
}
.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.project-one,
.project-two,
.project-three {
  grid-column: auto;
  background-position: center;
  background-size: cover;
}
.project-one {
  background-image: url("https://urfomarket.ru/images/obekt_lenina_8_sekcija_3_1.jpg");
}
.project-two {
  background-image: url("https://urfomarket.ru/images/obekt_lenina_8_sekcija_5_1.jpg");
}
.project-three {
  background-image: url("https://urfomarket.ru/images/obekt_architecton_1.jpg");
}
.project-card {
  justify-content: flex-end;
}
.project-index {
  display: none;
}
@media (max-width: 900px) {
  .video-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video-card-main,
  .project-one {
    grid-column: auto;
  }
}
@media (max-width: 600px) {
  .video-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* reliable icons and mobile navigation */
.menu-tab i,
.panel-links i,
.catalog-card i,
.project-card i {
  font-size: 0;
  width: 15px;
  height: 15px;
  display: block;
  color: currentColor;
}
.menu-tab i::before,
.panel-links i::before,
.catalog-card i::before,
.project-card i::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  border-top: 1.7px solid currentColor;
  border-right: 1.7px solid currentColor;
}
.menu-tab i::after,
.panel-links i::after,
.catalog-card i::after,
.project-card i::after {
  content: "";
  display: block;
  width: 12px;
  height: 1.7px;
  background: currentColor;
  transform: rotate(-45deg) translate(1px, -5px);
  transform-origin: right center;
}
.chevron {
  font-size: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.catalog-link[aria-expanded="true"] .chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}
.all-catalog span,
.text-link span,
.menu-bottom a,
.projects-intro a {
  font-family: Arial, sans-serif;
  font-variant-emoji: text;
}
@media (max-width: 950px) {
  .header {
    z-index: 100;
  }
  .nav {
    z-index: 60;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  body.nav-open {
    overflow: hidden;
  }
}
@media (max-width: 700px) {
  .nav {
    top: 68px !important;
    left: -15px !important;
    right: -15px !important;
    width: auto;
    background: #fff;
    padding: 10px 22px 18px !important;
    box-shadow: 0 24px 45px rgba(12, 14, 18, 0.2);
  }
  .nav > a,
  .nav .catalog-link {
    flex: 0 0 auto;
    min-height: 50px;
  }
}

/* Safari-safe catalog overlay and crisp one-piece arrows */
.menu-tab i,
.panel-links i,
.catalog-card i,
.project-card i {
  width: 18px;
  height: 18px;
  font-size: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 12.5 12.5 3.5M6 3.5h6.5V10' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 12.5 12.5 3.5M6 3.5h6.5V10' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.menu-tab i::before,
.menu-tab i::after,
.panel-links i::before,
.panel-links i::after,
.catalog-card i::before,
.catalog-card i::after,
.project-card i::before,
.project-card i::after {
  display: none !important;
}
@media (max-width: 950px) {
  .mega-menu {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mega-inner.menu-v2 {
    min-height: 100%;
    max-height: none;
  }
}

/* complete mobile first screen and compact header contacts */
.mobile-phone,
.mobile-city {
  display: none;
}
@media (max-width: 700px) {
  .topbar > .toplinks:not(.right) {
    display: none;
  }
  .toplinks.right {
    display: flex !important;
    width: 100%;
    margin: 0;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .toplinks.right .mobile-phone {
    display: block;
    font-weight: 700;
    color: #fff;
  }
  .toplinks.right .mobile-city {
    display: block;
    color: #fff;
  }
  .toplinks.right a[href^="mailto:"] {
    font-size: 0;
  }
  .toplinks.right a[href^="mailto:"]::after {
    content: "Почта";
    font-size: 0.72rem;
  }
  .toplinks.right a[href^="https://max.ru"] {
    font-size: 0;
  }
  .toplinks.right a[href^="https://max.ru"]::after {
    content: "MAX";
    font-size: 0.72rem;
  }
  .toplinks.right a[href="#faq"] {
    display: none;
  }
  .hero {
    min-height: calc(100svh - 102px);
  }
  .hero-content {
    padding-top: 44px;
    padding-bottom: 24px;
  }
  .hero h1 {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .hero-content > p {
    margin-top: 0;
    margin-bottom: 0;
  }
  .actions {
    margin-top: 24px;
  }
  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 26px;
  }
  .hero-facts div {
    display: flex !important;
    padding-right: 10px;
    margin-right: 10px;
  }
  .hero-facts div:last-child {
    display: flex !important;
  }
  .hero-facts b {
    font-size: 0.78rem;
    line-height: 1.2;
  }
  .hero-facts span {
    font-size: 0.62rem;
    line-height: 1.3;
    margin-top: 4px;
  }
}

/* compact contact line and conventional three-bar menu */
@media (max-width: 700px) {
  .toplinks.right {
    justify-content: flex-start;
    gap: 22px;
  }
  .headrow {
    gap: 0;
  }
  .menu {
    margin-left: auto;
    margin-right: -8px;
    width: 44px;
    height: 44px;
    padding: 8px;
  }
  .menu span {
    width: 27px;
    height: 2px;
    margin: 5.5px auto;
    transform-origin: center;
    transition:
      transform 0.2s,
      opacity 0.15s;
  }
  .menu[aria-expanded="true"] span:first-child {
    transform: translateY(7.5px) rotate(45deg);
  }
  .menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu[aria-expanded="true"] span:last-child {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

/* clearer mobile hero facts */
@media (max-width: 700px) {
  .toplinks.right {
    gap: 14px;
    font-size: 0.67rem;
    white-space: nowrap;
  }
  .toplinks.right a[href^="mailto:"]::after,
  .toplinks.right a[href^="https://max.ru"]::after {
    font-size: 0.67rem;
  }
  .hero-facts {
    width: 100%;
    max-width: none;
  }
  .hero-facts div {
    min-width: 0;
    margin-right: 0;
    padding: 17px 10px 0;
  }
  .hero-facts div:first-child {
    padding-left: 0;
  }
  .hero-facts div:last-child {
    padding-right: 0;
  }
  .hero-facts b {
    font-size: 0.84rem;
    line-height: 1.18;
  }
  .hero-facts span {
    font-size: 0.7rem;
    line-height: 1.28;
    margin-top: 6px;
  }
}

/* keep media cards inside the mobile viewport */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
.video-grid,
.video-card,
.video-cover,
.video-copy {
  min-width: 0;
  max-width: 100%;
}
.video-grid {
  width: 100%;
}
.video-card {
  width: 100%;
  overflow: hidden;
}
.video-cover img {
  max-width: 100%;
}
.video-copy h3,
.video-copy p {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 30px), 1240px);
  }
  .media-section .shell {
    max-width: calc(100% - 30px);
  }
  .video-grid {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }
}

/* v23: large, expressive desktop contact and action bar */
@media (min-width: 951px) {
  .toplinks.right {
    display: none;
  }
  .headrow {
    height: 88px;
  }
  .brand img {
    width: 205px;
  }
  .headrow .contacts {
    display: none;
  }
  .nav {
    margin-left: auto;
    gap: 30px;
    font-size: 0.9rem;
  }
  .header-actions-wrap {
    display: block;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .header-actions {
    height: 82px;
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 0.65fr 1.05fr 1.2fr;
    padding: 0;
  }
  .header-action {
    min-width: 0;
    height: 82px;
    padding: 0 22px;
    border: 0;
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    cursor: pointer;
  }
  .header-action:first-child {
    border-left: 1px solid var(--line);
  }
  .header-action span:last-child {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .header-action b {
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 850;
    white-space: nowrap;
  }
  .header-action small {
    font-size: 0.73rem;
    line-height: 1.15;
    color: #90939a;
    white-space: nowrap;
  }
  .action-icon {
    font:
      700 1.35rem/1 Arial,
      sans-serif;
    flex: 0 0 auto;
  }
  .action-catalog,
  .action-calc {
    color: #fff;
  }
  .action-catalog {
    background: var(--red);
  }
  .action-catalog:hover {
    background: var(--red2);
  }
  .action-calc {
    background: #24272c;
  }
  .action-calc:hover {
    background: #15171a;
  }
  .action-catalog small,
  .action-calc small {
    color: rgba(255, 255, 255, 0.72);
  }
  .action-max b,
  .action-mail b {
    color: var(--red);
  }
  .action-phone b {
    font-size: 1.08rem;
  }
}
@media (max-width: 1180px) and (min-width: 951px) {
  .nav {
    gap: 18px;
    font-size: 0.82rem;
  }
  .header-action {
    padding: 0 15px;
  }
  .header-action b {
    font-size: 0.88rem;
  }
  .header-action small {
    font-size: 0.67rem;
  }
  .action-phone b {
    font-size: 0.94rem;
  }
}
@media (max-width: 950px) {
  .header-actions-wrap {
    display: none;
  }
}

/* mobile contact line: city left, contacts right */
@media (max-width: 700px) {
  .topbar {
    justify-content: space-between;
    gap: 10px;
  }
  .topbar > .toplinks:not(.right) {
    display: flex;
    flex: 0 0 auto;
    gap: 0;
  }
  .topbar > .toplinks:not(.right) a[href="#delivery"] {
    display: none;
  }
  .toplinks.right {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 9px;
    font-size: 0.64rem;
  }
  .toplinks.right .mobile-city {
    display: none;
  }
  .toplinks.right .mobile-phone {
    font-size: 0.64rem;
  }
  .toplinks.right a[href^="mailto:"] {
    font-size: 0.64rem;
  }
  .toplinks.right a[href^="mailto:"]::after {
    content: none;
  }
  .toplinks.right a[href^="https://max.ru"]::after {
    font-size: 0.64rem;
  }
  .hero-facts div:last-child b {
    white-space: nowrap;
  }
}

/* In-fas-style header — v24 */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 0;
  backdrop-filter: none;
}
.headrow {
  height: 96px;
  display: grid;
  grid-template-columns: 230px 165px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand img {
  width: 220px;
  height: auto;
  background: transparent;
  padding: 0;
}
.header-city {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.header-city > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.header-city b {
  font-size: 0.92rem;
  font-weight: 800;
}
.header-city small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}
.city-pin {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid var(--red);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.city-pin:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  left: 6px;
  top: 6px;
  background: var(--red);
  border-radius: 50%;
}
.nav {
  margin-left: auto;
  justify-content: flex-end;
  gap: 30px;
  font-size: 0.9rem;
  font-weight: 700;
}
.header-actions-wrap {
  display: block;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.header-actions {
  height: 94px;
  display: grid;
  grid-template-columns: 1.22fr 1.13fr 0.85fr 1.15fr 1.25fr;
  padding: 0;
}
.header-action {
  min-width: 0;
  height: 94px;
  padding: 0 24px;
  border: 0;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.header-action:first-child {
  border-left: 1px solid var(--line);
}
.header-action > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.header-action b {
  font-size: 1rem;
  line-height: 1.08;
  font-weight: 850;
  white-space: nowrap;
}
.header-action small {
  font-size: 0.72rem;
  line-height: 1.15;
  color: #8a8e94;
  white-space: nowrap;
}
.header-action .action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--red);
  font:
    800 1.25rem/1 Arial,
    sans-serif;
}
.action-catalog {
  background: var(--red);
  color: #fff;
}
.action-catalog .action-icon {
  color: #fff;
}
.action-catalog small {
  color: rgba(255, 255, 255, 0.76);
}
.action-catalog:hover {
  background: var(--red2);
}
.action-calc {
  background: #f2f2f0;
}
.action-calc:hover {
  background: #e8e8e5;
}
.action-max-mark {
  border: 2px solid var(--red);
  border-radius: 50%;
  font-size: 0.9rem !important;
}
.action-max b,
.action-mail b {
  color: var(--red);
}
.action-phone b {
  font-size: 1.08rem;
}
.header-action:not(.action-catalog):hover {
  color: var(--red);
}

@media (max-width: 1180px) and (min-width: 951px) {
  .headrow {
    grid-template-columns: 190px 145px 1fr;
    gap: 20px;
  }
  .brand img {
    width: 185px;
  }
  .nav {
    gap: 18px;
    font-size: 0.82rem;
  }
  .header-actions {
    grid-template-columns: 1.18fr 1.12fr 0.78fr 1.12fr 1.25fr;
  }
  .header-action {
    padding: 0 15px;
    gap: 10px;
  }
  .header-action b {
    font-size: 0.86rem;
  }
  .header-action small {
    font-size: 0.65rem;
  }
  .header-action .action-icon {
    flex-basis: 28px;
    width: 28px;
  }
  .action-phone b {
    font-size: 0.92rem;
  }
}
@media (max-width: 950px) {
  .headrow {
    height: 76px;
    display: flex;
    gap: 22px;
  }
  .brand img {
    width: 185px;
  }
  .header-city {
    margin-left: auto;
  }
  .nav {
    top: 76px;
  }
  .header-actions-wrap {
    display: none;
  }
}
@media (max-width: 700px) {
  .headrow {
    height: 68px;
    gap: 10px;
  }
  .brand img {
    width: 158px;
  }
  .header-city {
    gap: 7px;
  }
  .header-city small {
    display: none;
  }
  .header-city b {
    font-size: 0.72rem;
  }
  .city-pin {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }
  .city-pin:after {
    width: 5px;
    height: 5px;
    left: 4px;
    top: 4px;
  }
  .nav {
    top: 68px;
  }
}
@media (max-width: 430px) {
  .header-city {
    display: none;
  }
  .brand img {
    width: 170px;
  }
}

/* Exact compact in-fas header proportions — v25 */
@media (min-width: 951px) {
  .headrow {
    height: 100px;
    display: grid;
    grid-template-columns: auto auto 1fr 250px;
    align-items: center;
    gap: 28px;
  }
  .brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .brand {
    flex: 0 0 auto;
  }
  .brand img {
    width: 180px;
  }
  .brand-descriptor {
    display: block;
    border-left: 1px solid #cfd1d4;
    padding-left: 14px;
    font-size: 0.69rem;
    font-weight: 750;
    line-height: 1.18;
    color: #202328;
    white-space: nowrap;
  }
  .header-city {
    gap: 5px;
  }
  .header-city b {
    font-size: 0.84rem;
  }
  .header-city small,
  .city-pin {
    display: none;
  }
  .city-caret {
    display: block;
    font-size: 0.8rem;
    color: #5f6369;
    transform: translateY(-2px);
  }
  .nav {
    gap: 23px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .site-search {
    display: block;
    margin: 0;
  }
  .site-search input {
    height: 48px;
    width: 250px;
    padding: 0 15px;
    border: 1px solid #d9dade;
    background: #fff;
    font-size: 0.82rem;
  }
  .site-search input:focus {
    border-color: #aeb1b6;
  }
  .header-actions-wrap {
    height: 92px;
    display: flex;
    align-items: center;
  }
  .header-actions {
    height: 92px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
  }
  .header-action {
    height: auto;
    padding: 0;
    border: 0 !important;
    background: transparent;
    gap: 11px;
    flex: 0 0 auto;
  }
  .header-action > span:last-child {
    gap: 3px;
  }
  .header-action b {
    font-size: 0.91rem;
    text-transform: none;
  }
  .header-action small {
    font-size: 0.67rem;
  }
  .header-action .action-icon {
    flex: 0 0 35px;
    width: 35px;
    height: 35px;
  }
  .action-catalog,
  .action-calc {
    height: 52px;
    padding: 0 22px;
    color: #fff;
    border-radius: 3px !important;
    justify-content: flex-start;
  }
  .action-catalog {
    width: 225px;
    background: var(--red);
  }
  .action-calc {
    width: 205px;
    background: #3f4145;
  }
  .action-catalog:hover {
    background: var(--red2);
  }
  .action-calc:hover {
    background: #2e3033;
    color: #fff;
  }
  .action-catalog .action-icon,
  .action-calc .action-icon {
    color: #fff;
    flex-basis: 26px;
    width: 26px;
  }
  .action-max {
    margin-left: 8px;
  }
  .action-max b {
    color: var(--ink);
  }
  .contact-round {
    border: 1px solid #aeb1b6;
    border-radius: 50%;
    font-size: 0.9rem !important;
    color: #5c6066 !important;
  }
  .action-max-mark {
    border: 2px solid var(--red);
    color: var(--red) !important;
  }
  .action-phone b {
    font-size: 1rem;
  }
  .action-mail b {
    font-size: 0.94rem;
    color: var(--red);
  }
}
@media (max-width: 1250px) and (min-width: 951px) {
  .headrow {
    grid-template-columns: auto auto 1fr 210px;
    gap: 18px;
  }
  .brand img {
    width: 160px;
  }
  .brand-descriptor {
    font-size: 0.62rem;
    padding-left: 10px;
  }
  .nav {
    gap: 15px;
    font-size: 0.75rem;
  }
  .site-search input {
    width: 210px;
  }
  .header-actions {
    gap: 14px;
  }
  .action-catalog {
    width: 205px;
  }
  .action-calc {
    width: 185px;
  }
  .action-catalog,
  .action-calc {
    padding: 0 15px;
  }
  .header-action b {
    font-size: 0.82rem;
  }
  .header-action small {
    font-size: 0.61rem;
  }
  .action-phone b {
    font-size: 0.89rem;
  }
  .action-mail b {
    font-size: 0.82rem;
  }
}
@media (max-width: 1080px) and (min-width: 951px) {
  .brand-descriptor,
  .site-search {
    display: none;
  }
  .headrow {
    grid-template-columns: auto auto 1fr;
  }
  .header-actions {
    gap: 12px;
  }
  .action-catalog {
    width: 190px;
  }
  .action-calc {
    width: 175px;
  }
  .action-max {
    margin-left: 0;
  }
}
@media (max-width: 950px) {
  .brand-wrap {
    display: flex;
    align-items: center;
  }
  .brand-descriptor,
  .site-search,
  .city-caret {
    display: none;
  }
}

/* Same header typeface as in-fas.ru */
.header,
.header button,
.header input {
  font-family: "Open Sans", Arial, sans-serif;
}
.header .nav {
  font-weight: 600;
}
.header-action b,
.header-city b {
  font-weight: 700;
}
.brand-descriptor {
  font-weight: 600;
}

/* Lighter in-fas typography weights */
.header {
  font-weight: 400;
}
.header .nav {
  font-weight: 400;
}
.header-city b {
  font-weight: 600;
}
.brand-descriptor {
  font-weight: 400;
}
.header-action b {
  font-weight: 600;
}
.header-action small {
  font-weight: 300;
  color: #989ba0;
}
.action-catalog b,
.action-calc b {
  font-weight: 700;
}
.action-phone b {
  font-weight: 600;
}
.action-mail b {
  font-weight: 600;
}
.site-search input {
  font-weight: 400;
}

/* Wider contact row, larger type and consistent vector icons */
.header-action svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.action-icon-plain svg {
  width: 24px;
  height: 24px;
}
.action-max-mark svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}
@media (min-width: 951px) {
  .header-city b {
    font-size: 0.9rem;
  }
  .nav {
    font-size: 0.88rem;
  }
  .header-actions {
    gap: 22px;
  }
  .action-catalog {
    width: 225px;
  }
  .action-calc {
    width: 205px;
  }
  .action-max,
  .action-phone,
  .action-mail {
    flex: 1 1 0;
    min-width: 0;
  }
  .action-max {
    margin-left: 10px;
  }
  .action-phone {
    flex-grow: 1.15;
  }
  .action-mail {
    flex-grow: 1.25;
  }
  .header-action b {
    font-size: 1rem;
  }
  .header-action small {
    font-size: 0.7rem;
  }
  .action-phone b {
    font-size: 1.08rem;
  }
  .action-mail b {
    font-size: 1.03rem;
  }
}
@media (max-width: 1250px) and (min-width: 951px) {
  .header-actions {
    gap: 14px;
  }
  .action-catalog {
    width: 205px;
  }
  .action-calc {
    width: 185px;
  }
  .header-action b {
    font-size: 0.9rem;
  }
  .header-action small {
    font-size: 0.65rem;
  }
  .action-phone b {
    font-size: 0.97rem;
  }
  .action-mail b {
    font-size: 0.92rem;
  }
}

/* Lower header row matched to in-fas.ru */
.header-actions,
.header-actions button {
  font-family: "Roboto", Arial, sans-serif;
}
.header-action svg {
  display: none;
}
.header-action .action-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (min-width: 951px) {
  .header-actions-wrap {
    height: 92px;
  }
  .header-actions {
    height: 92px;
    gap: 24px;
  }
  .action-catalog,
  .action-calc {
    height: 50px;
    border-radius: 3px !important;
    padding: 0 22px;
  }
  .action-catalog {
    width: 225px;
  }
  .action-calc {
    width: 225px;
  }
  .action-catalog b,
  .action-calc b {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
  }
  .action-catalog .action-icon {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }
  .action-calc .action-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  .action-max,
  .action-phone,
  .action-mail {
    flex: 1 1 0;
    gap: 12px;
  }
  .action-max {
    margin-left: 12px;
  }
  .action-max .action-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .action-phone .action-icon,
  .action-mail .action-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .action-max b,
  .action-phone b,
  .action-mail b {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.08;
    white-space: nowrap;
  }
  .action-mail b {
    color: #2367bb;
  }
  .header-action small {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.2;
    color: #a2a2a2;
  }
}
@media (max-width: 1250px) and (min-width: 951px) {
  .header-actions {
    gap: 16px;
  }
  .action-catalog,
  .action-calc {
    width: 205px;
    padding: 0 17px;
  }
  .action-catalog b,
  .action-calc b {
    font-size: 13px;
  }
  .action-max {
    margin-left: 4px;
  }
  .action-max b,
  .action-phone b,
  .action-mail b {
    font-size: 16px;
  }
  .header-action small {
    font-size: 11px;
  }
  .action-max .action-icon,
  .action-phone .action-icon,
  .action-mail .action-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

/* In-fas catalog mega menu */
.infas-catalog {
  padding-top: 34px;
  padding-bottom: 0;
  font-family: "Roboto", Arial, sans-serif;
}
.infas-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 27px;
  border-bottom: 1px solid #e2e2e2;
}
.infas-catalog-head h2 {
  margin: 0 0 5px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}
.infas-catalog-head p {
  margin: 0;
  color: #777;
  font-size: 15px;
  font-weight: 300;
}
.infas-catalog-head > a {
  color: var(--red);
  font-size: 14px;
  font-weight: 500;
}
.infas-catalog-head > a span {
  margin-left: 18px;
  font-size: 20px;
}
.infas-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
  padding: 30px 0 34px;
}
.infas-catalog-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.infas-catalog-group > a {
  font-size: 14px;
  line-height: 1.25;
  color: #4e5054;
  font-weight: 400;
  transition: 0.16s;
}
.infas-catalog-group > a:not(.infas-group-title):hover {
  color: var(--red);
  transform: translateX(3px);
}
.infas-group-title {
  width: 100%;
  min-height: 62px;
  margin-bottom: 7px;
  padding-bottom: 14px;
  border-bottom: 3px solid #212326;
  color: #15171a !important;
  font-size: 19px !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
}
.infas-group-title span {
  float: right;
  color: var(--red);
  font-size: 20px;
  font-weight: 400;
}
.infas-catalog-group:nth-child(3) .infas-group-title {
  border-color: var(--red);
}
.infas-services {
  min-height: 62px;
  border-top: 1px solid #e2e2e2;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
.infas-services b {
  font-size: 16px;
  margin-right: 8px;
}
.infas-services a {
  color: #53565b;
}
.infas-services a:hover {
  color: var(--red);
}
.infas-catalog-bottom {
  min-height: 82px;
  margin-left: calc((100vw - 100%) / -2);
  margin-right: calc((100vw - 100%) / -2);
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  background: #f1f1ef;
  display: flex;
  align-items: center;
  gap: 28px;
}
.infas-catalog-bottom > div {
  display: flex;
  flex-direction: column;
  min-width: 360px;
}
.infas-catalog-bottom b {
  font-size: 16px;
}
.infas-catalog-bottom span {
  font-size: 12px;
  color: #888;
  font-weight: 300;
}
.infas-help-phone {
  font-size: 17px;
  font-weight: 700;
}
.infas-help-button {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.infas-help-button:hover {
  background: var(--red2);
}
.mega-menu .menu-v2 {
  display: none !important;
}

@media (max-width: 950px) {
  .infas-catalog {
    padding-top: 24px;
  }
  .infas-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 36px;
    max-height: none;
  }
  .infas-catalog-bottom {
    margin-left: -24px;
    margin-right: -24px;
    padding: 20px 24px;
    flex-wrap: wrap;
  }
  .infas-catalog-bottom > div {
    min-width: 240px;
  }
}
@media (max-width: 600px) {
  .infas-catalog-head {
    align-items: flex-start;
    gap: 18px;
  }
  .infas-catalog-head h2 {
    font-size: 23px;
  }
  .infas-catalog-head > a {
    font-size: 12px;
    text-align: right;
  }
  .infas-catalog-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 24px;
  }
  .infas-group-title {
    min-height: auto;
  }
  .infas-services {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 20px 0;
  }
  .infas-services b {
    width: 100%;
  }
  .infas-catalog-bottom {
    display: grid;
    gap: 12px;
  }
  .infas-help-button {
    margin-left: 0;
    text-align: center;
  }
}

/* Pixel-matched in-fas catalog — v26 */
.infas-catalog-exact {
  padding: 24px 0 16px;
  font-family: "Roboto", Arial, sans-serif;
}
.infas-catalog-exact .infas-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
}
.infas-catalog-exact .infas-catalog-group {
  display: block;
  padding: 0 28px 20px;
  border-left: 1px solid #e5e5e5;
}
.infas-catalog-exact .infas-catalog-group:first-child {
  padding-left: 0;
  border-left: 0;
}
.infas-catalog-exact .infas-catalog-group:last-child {
  padding-right: 0;
}
.infas-group-head {
  min-height: 72px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 3px 0 18px;
  border-bottom: 1px solid #dcdcdc;
}
.infas-group-head > a {
  color: #222 !important;
  font-size: 16px !important;
  line-height: 1.14 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
}
.infas-category-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #e02f35;
}
.infas-category-icon-tools {
  width: 42px;
  flex-basis: 42px;
}
.infas-category-icon svg,
.infas-service-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.infas-group-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 19px;
}
.infas-group-links a {
  color: #454545;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 400;
  transition:
    color 0.16s,
    transform 0.16s;
}
.infas-group-links a:hover {
  color: var(--red);
  transform: translateX(2px);
}
.infas-catalog-exact .infas-services {
  min-height: 70px;
  border-top: 1px solid #dedede;
  display: grid;
  grid-template-columns: 34px 120px repeat(5, 1fr);
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.infas-service-icon {
  width: 31px;
  height: 28px;
  color: #e02f35;
}
.infas-catalog-exact .infas-services b {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}
.infas-catalog-exact .infas-services a {
  color: #3e3e3e;
  white-space: nowrap;
}
.infas-catalog-exact .infas-services a span {
  margin-left: 3px;
  color: #e02f35;
}
.infas-catalog-exact .infas-services a:hover {
  color: var(--red);
}
.infas-catalog-exact .infas-catalog-bottom {
  min-height: 74px;
  margin: 0;
  padding: 14px 18px;
  background: #f3f3f2;
  display: grid;
  grid-template-columns: 390px 1fr 68px;
  align-items: center;
  gap: 0;
}
.infas-help-copy {
  display: flex;
  flex-direction: column;
}
.infas-help-copy b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.infas-help-copy span {
  margin-top: 3px;
  color: #a0a0a0;
  font-size: 12px;
  font-weight: 300;
}
.infas-phone-field {
  display: block;
  height: 44px;
}
.infas-phone-field input {
  width: 100%;
  height: 44px;
  padding: 0 17px;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  background: #fff;
  color: #222;
  font:
    400 15px/1 "Roboto",
    Arial,
    sans-serif;
  outline: 0;
}
.infas-phone-field input:focus {
  border-color: #aaa;
}
.infas-help-submit {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d71920;
  color: #fff;
}
.infas-help-submit span {
  font:
    300 34px/1 Arial,
    sans-serif;
  transform: translateY(-1px);
}
.infas-help-submit:hover {
  background: #b81218;
  color: #fff;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 950px) {
  .infas-catalog-exact {
    padding-top: 20px;
  }
  .infas-catalog-exact .infas-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .infas-catalog-exact .infas-catalog-group {
    padding: 0 20px 24px;
    border-left: 1px solid #e5e5e5;
  }
  .infas-catalog-exact .infas-catalog-group:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .infas-catalog-exact .infas-services {
    grid-template-columns: 30px auto repeat(3, 1fr);
    padding: 12px 0;
  }
  .infas-catalog-exact .infas-services a:nth-last-child(-n + 2) {
    grid-column: auto;
  }
  .infas-catalog-exact .infas-catalog-bottom {
    grid-template-columns: 260px 1fr 60px;
  }
}
@media (max-width: 600px) {
  .infas-catalog-exact .infas-catalog-grid {
    grid-template-columns: 1fr;
  }
  .infas-catalog-exact .infas-catalog-group {
    padding: 0 0 26px !important;
    border-left: 0 !important;
  }
  .infas-group-head {
    min-height: auto;
  }
  .infas-catalog-exact .infas-services {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 20px;
    padding: 18px 0;
  }
  .infas-catalog-exact .infas-services b {
    margin-right: 20px;
  }
  .infas-catalog-exact .infas-catalog-bottom {
    grid-template-columns: 1fr 52px;
    padding: 14px;
  }
  .infas-help-copy {
    grid-column: 1/-1;
    margin-bottom: 10px;
  }
  .infas-help-submit {
    height: 44px;
  }
}

/* Lighter catalog type and authentic MAX color — v27 */
.action-max .action-icon {
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(145deg, #5b38f0 5%, #405cff 48%, #18bff2 100%);
  box-shadow: 0 0 0 1px rgba(74, 75, 236, 0.12);
}

.action-max .action-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  display: block;
  background: url("images/whatsapp_ico.png") center/contain no-repeat;
}
.infas-group-head > a {
  color: #343434 !important;
  font-weight: 600 !important;
}
.infas-group-links a {
  color: #5b5b5b;
  font-size: 15px;
  font-weight: 400;
}
.infas-catalog-exact .infas-services a {
  color: #555;
  font-size: 14.5px;
  font-weight: 400;
}
.infas-catalog-exact .infas-services b {
  color: #343434;
  font-weight: 600;
}
.infas-help-copy b {
  color: #3b3b3b;
  font-weight: 600;
}

/* v25: expanded catalog directory */
.catalog-directory {
  padding: 110px 0 100px;
}
.catalog-directory-head {
  margin-bottom: 52px;
}
.catalog-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catalog-menu-column {
  padding: 32px 30px 34px;
  border-right: 1px solid var(--line);
}
.catalog-menu-column:first-child {
  padding-left: 0;
}
.catalog-menu-column:last-child {
  padding-right: 0;
  border-right: 0;
}
.catalog-menu-title {
  min-height: 92px;
  display: flex;
  gap: 17px;
  align-items: flex-start;
  padding-bottom: 25px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.catalog-menu-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid #f1aaa8;
  color: var(--red);
  font-size: 1.35rem;
}
.catalog-menu-title h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.catalog-menu-column > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #5f646c;
  font-size: 0.9rem;
  transition: 0.2s;
}
.catalog-menu-column > a i {
  font-style: normal;
  color: var(--red);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.2s;
}
.catalog-menu-column > a:hover {
  color: var(--ink);
  padding-left: 6px;
}
.catalog-menu-column > a:hover i {
  opacity: 1;
  transform: none;
}
.catalog-service-row {
  display: grid;
  grid-template-columns: 130px repeat(5, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.catalog-service-row > b {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.catalog-service-row > a {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  color: #565b63;
}
.catalog-service-row a span {
  color: var(--red);
}
.catalog-help {
  margin-top: 24px;
  background: var(--paper);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.catalog-help > div {
  display: flex;
  flex-direction: column;
}
.catalog-help b {
  font-size: 0.93rem;
}
.catalog-help span {
  font-size: 0.75rem;
  color: #969aa0;
}
.catalog-help > a {
  min-width: 285px;
  background: var(--red);
  color: #fff;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.82rem;
}
.catalog-help > a:hover {
  background: var(--red2);
}
.catalog-help i {
  font-style: normal;
}

/* v25: dimensional video showcase */
.media-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: linear-gradient(135deg, #121419 0%, #1b1e24 58%, #111318 100%);
}
.media-section:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -210px;
  border-radius: 50%;
  background: rgba(216, 61, 59, 0.13);
  filter: blur(2px);
}
.media-section:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.media-section .shell {
  position: relative;
  z-index: 1;
}
.media-intro {
  max-width: 430px;
}
.media-intro p {
  color: #afb4bd;
  margin: 0 0 18px;
}
.media-intro a {
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--red);
  padding-bottom: 5px;
}
.video-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.75fr);
  gap: 18px;
  min-height: 590px;
}
.video-feature,
.video-mini {
  position: relative;
  overflow: hidden;
  display: block;
  background: #24272d;
  color: #fff;
  isolation: isolate;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}
.video-feature > img,
.video-mini > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}
.video-feature:hover > img,
.video-mini:hover > img {
  transform: scale(1.055);
}
.video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 10, 0.04) 25%,
    rgba(5, 7, 10, 0.92) 100%
  );
  z-index: 1;
}
.video-feature .video-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.82) 0%, rgba(5, 7, 10, 0.24) 62%),
    linear-gradient(180deg, transparent 38%, rgba(5, 7, 10, 0.88) 100%);
}
.video-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.video-overlay {
  position: absolute;
  left: 34px;
  right: 30px;
  bottom: 32px;
  z-index: 3;
}
.video-overlay small {
  display: block;
  color: #d0d3d8;
  font-size: 0.72rem;
  margin-bottom: 10px;
}
.video-overlay h3 {
  font-size: 1.55rem;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0;
}
.video-feature .video-overlay {
  left: 42px;
  bottom: 42px;
  max-width: 540px;
}
.video-feature .video-overlay h3 {
  font-size: clamp(2.4rem, 4vw, 4.25rem);
  line-height: 0.92;
}
.video-feature .video-overlay p {
  color: #d0d3d8;
  max-width: 470px;
  margin: 18px 0 0;
}
.video-label {
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 3;
  padding: 8px 11px;
  background: rgba(13, 15, 19, 0.72);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.play {
  z-index: 4;
  left: auto;
  right: 24px;
  bottom: 24px;
}
.play-large {
  right: 34px;
  top: 34px;
  bottom: auto;
  width: 72px;
  height: 72px;
  background: #fff;
  color: var(--red);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.video-feature:hover .play-large {
  background: var(--red);
  color: #fff;
  transform: scale(1.08);
}

@media (max-width: 1000px) {
  .catalog-menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-menu-column:nth-child(2) {
    border-right: 0;
  }
  .catalog-menu-column:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .catalog-menu-column:nth-child(3) {
    padding-left: 0;
  }
  .catalog-service-row {
    grid-template-columns: 130px repeat(3, 1fr);
  }
  .catalog-service-row a:nth-last-child(-n + 2) {
    display: none;
  }
  .video-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .video-feature {
    min-height: 560px;
  }
  .video-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 330px;
  }
  .video-mini {
    min-height: 330px;
  }
}
@media (max-width: 700px) {
  .catalog-directory {
    padding: 78px 0;
  }
  .catalog-menu-grid {
    grid-template-columns: 1fr;
  }
  .catalog-menu-column,
  .catalog-menu-column:first-child,
  .catalog-menu-column:nth-child(3),
  .catalog-menu-column:last-child {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .catalog-menu-column:last-child {
    border-bottom: 0;
  }
  .catalog-menu-title {
    min-height: 0;
  }
  .catalog-service-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
  }
  .catalog-service-row > b {
    grid-column: 1/-1;
  }
  .catalog-service-row a:nth-last-child(-n + 2) {
    display: flex;
  }
  .catalog-help {
    align-items: stretch;
    flex-direction: column;
  }
  .catalog-help > a {
    min-width: 0;
  }
  .media-section {
    padding: 78px 0;
  }
  .video-feature {
    min-height: 500px;
  }
  .video-feature .video-overlay {
    left: 24px;
    right: 24px;
    bottom: 26px;
  }
  .video-feature .video-overlay h3 {
    font-size: 2.4rem;
  }
  .video-feature .video-overlay p {
    display: none;
  }
  .play-large {
    width: 58px;
    height: 58px;
    right: 22px;
    top: 22px;
  }
  .video-side {
    grid-template-columns: 1fr;
    grid-template-rows: 300px 300px;
  }
  .video-overlay {
    left: 22px;
    bottom: 24px;
  }
  .video-overlay h3 {
    font-size: 1.35rem;
  }
}

/* v26: visual catalog directions without duplicating the mega menu */
.catalog-showcase {
  padding: 110px 0 100px;
}
.catalog-showcase-head {
  margin-bottom: 48px;
}
.catalog-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.catalog-direction {
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) minmax(250px, 1.1fr);
  min-height: 330px;
  background: var(--paper);
  border: 1px solid #e6e6e4;
  transition: 0.3s;
}
.catalog-direction:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(18, 20, 24, 0.1);
}
.direction-visual {
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background-size: cover;
  background-position: center;
}
.direction-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 15, 0.08),
    rgba(10, 12, 15, 0.88)
  );
  z-index: -1;
}
.direction-cladding .direction-visual {
  background-image: url("catalog-cladding.png");
}
.direction-systems .direction-visual {
  background-image: url("catalog-system.png");
}
.direction-turnkey .direction-visual {
  background-image: url("catalog-turnkey.png");
}
.direction-components .direction-visual {
  background-image: url("catalog-system.png");
  background-position: 72% center;
}
.direction-number {
  position: absolute;
  left: 22px;
  top: 20px;
  font-size: 0.72rem;
  font-weight: 800;
}
.direction-arrow {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 1.55rem;
  transition: 0.25s;
}
.direction-visual:hover .direction-arrow {
  transform: translate(4px, -4px);
}
.direction-visual small {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ddd;
}
.direction-visual h3 {
  font-size: 1.8rem;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 9px 0 0;
}
.direction-links {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.direction-links a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #d9d9d6;
  color: #555a61;
  font-size: 0.88rem;
}
.direction-links a:last-child {
  border-bottom: 0;
}
.direction-links a span {
  color: var(--red);
  opacity: 0;
  transform: translateX(-6px);
  transition: 0.2s;
}
.direction-links a:hover {
  color: var(--ink);
}
.direction-links a:hover span {
  opacity: 1;
  transform: none;
}
.catalog-quick {
  margin-top: 18px;
  padding: 19px 22px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
}
.catalog-quick > span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b8f95;
}
.catalog-quick > a {
  font-size: 0.86rem;
  font-weight: 700;
  border-bottom: 1px solid transparent;
}
.catalog-quick > a:hover {
  color: var(--red);
  border-color: var(--red);
}
.catalog-quick button {
  margin-left: auto;
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 13px 17px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}
.catalog-quick button i {
  font-style: normal;
  margin-left: 18px;
}

/* v26: light video section separates it from the dark turnkey section */
.media-section {
  background: #f3f3f1;
  color: var(--ink);
  padding: 120px 0;
}
.media-section:before {
  background: rgba(216, 61, 59, 0.09);
}
.media-section:after {
  display: none;
}
.media-head .kicker {
  color: var(--red);
}
.media-intro p {
  color: var(--muted);
}
.media-intro a {
  color: var(--ink);
}
.video-feature,
.video-mini {
  box-shadow: 0 28px 65px rgba(20, 22, 26, 0.16);
}
.video-showcase {
  min-height: 570px;
}

@media (max-width: 1000px) {
  .catalog-direction {
    grid-template-columns: 1fr;
  }
  .direction-visual {
    min-height: 270px;
  }
  .catalog-quick {
    flex-wrap: wrap;
  }
  .catalog-quick button {
    margin-left: 0;
  }
  .video-showcase {
    min-height: 0;
  }
}
@media (max-width: 700px) {
  .catalog-showcase {
    padding: 78px 0;
  }
  .catalog-showcase-grid {
    grid-template-columns: 1fr;
  }
  .catalog-direction {
    display: block;
  }
  .direction-visual {
    min-height: 250px;
  }
  .direction-links {
    padding: 18px 20px;
  }
  .catalog-quick {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .catalog-quick button {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .media-section {
    padding: 78px 0;
  }
}

/* v27: brighter premium catalog cards */
.catalog-showcase {
  background: linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}
.catalog-showcase-grid {
  gap: 24px;
}
.catalog-direction {
  position: relative;
  background: #fff;
  border: 1px solid rgba(25, 28, 33, 0.055);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(28, 32, 38, 0.075);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.catalog-direction:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.catalog-direction:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 61, 59, 0.14);
  box-shadow: 0 26px 65px rgba(28, 32, 38, 0.14);
}
.direction-visual {
  border-radius: 15px 0 0 15px;
  background-color: #eef0f1;
  transform: translateZ(0);
}
.direction-visual:before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(13, 16, 20, 0.12) 40%,
    rgba(13, 16, 20, 0.72) 100%
  );
  transition: background 0.35s ease;
}
.catalog-direction:hover .direction-visual:before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(13, 16, 20, 0.08) 42%,
    rgba(13, 16, 20, 0.66) 100%
  );
}
.direction-visual:after {
  content: "";
  position: absolute;
  inset: -50%;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.2) 48%,
    transparent 58%
  );
  transform: translateX(-45%);
  transition: transform 0.75s ease;
}
.catalog-direction:hover .direction-visual:after {
  transform: translateX(45%);
}
.direction-cladding .direction-visual {
  background-image: url("../images/fasad_kompozitnye_paneli.jpg");
  background-position: center;
}
.direction-systems .direction-visual {
  background-image: url("../images/alyuminievaya_podsistema_kompozita_max.jpg");
  background-position: center;
}
.direction-turnkey .direction-visual {
  background-image: url("../images/img_montazh.jpg");
  background-position: center;
}
.direction-components .direction-visual {
  background-image: url("../images/catalog-components-v2.png");
  background-position: center;
}
.direction-visual {
  background-size: cover;
  transition: background-size 0.65s ease;
}
.catalog-direction:hover .direction-visual {
  background-size: 108%;
}
.direction-number {
  padding: 7px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  backdrop-filter: blur(8px);
  box-shadow: 0 5px 16px rgba(20, 22, 26, 0.12);
}
.direction-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(20, 22, 26, 0.14);
}
.direction-visual:hover .direction-arrow {
  background: var(--red);
  color: #fff;
  transform: translate(3px, -3px) rotate(5deg);
}
.direction-visual small {
  color: rgba(255, 255, 255, 0.82);
}
.direction-links {
  background: #fff;
  padding: 25px 26px;
}
.direction-links a {
  position: relative;
  border-bottom: 1px solid #ececea;
  border-radius: 7px;
  padding: 13px 8px;
  margin: 0 -8px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    padding 0.2s ease;
}
.direction-links a:hover {
  background: #fff4f3;
  color: var(--ink);
  padding-left: 13px;
  padding-right: 13px;
}
.direction-links a span {
  opacity: 0.45;
  transform: none;
}
.direction-links a:hover span {
  opacity: 1;
  transform: translateX(3px);
}
.catalog-quick {
  border: 0;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(28, 32, 38, 0.065);
  padding: 20px 24px;
}
.catalog-quick button {
  border-radius: 8px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.catalog-quick button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(216, 61, 59, 0.25);
}

@media (max-width: 1000px) {
  .direction-visual {
    border-radius: 15px 15px 0 0;
  }
  .catalog-direction:hover .direction-visual {
    background-size: 105%;
  }
}
@media (max-width: 700px) {
  .catalog-showcase-grid {
    gap: 18px;
  }
  .catalog-direction {
    border-radius: 14px;
  }
  .catalog-direction:hover {
    transform: translateY(-4px);
  }
  .direction-visual {
    border-radius: 13px 13px 0 0;
  }
}

/* v28: keep catalog imagery stable on hover */
.direction-visual,
.catalog-direction:hover .direction-visual {
  background-size: cover;
}

/* v29: full catalog on the home page */
.catalog-showcase #homeCatalog + .catalog-showcase-grid,
.catalog-showcase #homeCatalog ~ .catalog-quick {
  display: none;
}
.catalog-page-menu {
  width: 100%;
  max-width: none;
  margin-top: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.catalog-page-menu .infas-catalog-grid {
  border-top: 0;
}
.catalog-page-menu .infas-catalog-bottom {
  margin: 22px 0 0;
  border: 1px solid rgba(28, 32, 38, 0.06);
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 18px 40px rgba(24, 28, 34, 0.10),
    0 3px 10px rgba(24, 28, 34, 0.05);
  overflow: hidden;
}
.catalog-page-menu .infas-help-submit {
  margin-right: 2px;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(215, 25, 32, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.catalog-page-menu .infas-help-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.30);
}
.catalog-showcase {
  background: transparent;
}

@media (max-width: 700px) {
  .catalog-page-menu {
    margin-top: 28px;
  }
  .catalog-page-menu .infas-catalog-bottom {
    margin-top: 16px;
    border-radius: 12px;
  }
}

/* v29: unified modern homepage system */
main {
  overflow: hidden;
}
.turnkey {
  position: relative;
  padding: 110px 0;
  background: linear-gradient(135deg, #121419 0%, #1b1e24 68%, #17191d 100%);
  overflow: hidden;
}
.turnkey:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -240px;
  bottom: -330px;
  border-radius: 50%;
  background: rgba(216, 61, 59, 0.16);
  filter: blur(4px);
}
.turnkey-grid {
  position: relative;
  z-index: 1;
  gap: 82px;
}
.turnkey-grid > div:first-child {
  align-self: center;
}
.turnkey .lead {
  color: #b7bbc3;
  max-width: 510px;
}
.turnkey .text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  transition: 0.25s;
}
.turnkey .text-link:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-3px);
}
.steps {
  gap: 10px;
}
.steps li {
  position: relative;
  padding: 23px 24px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}
.steps li:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 125, 120, 0.35);
}
.steps li > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(216, 61, 59, 0.13);
  color: #ff8c87;
}
.steps li b {
  font-size: 1.05rem;
}
.steps li p {
  color: #9ca2ac;
  margin-top: 5px;
}

.media-section {
  background: linear-gradient(180deg, #f6f6f4 0%, #fff 100%);
}
.video-feature,
.video-mini {
  border-radius: 16px;
}
.video-feature:after,
.video-mini:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
}
.video-side {
  gap: 20px;
}
.video-feature,
.video-mini {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.video-feature:hover,
.video-mini:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 75px rgba(20, 22, 26, 0.22);
}
.video-feature > img,
.video-mini > img {
  transition:
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.4s;
}
.video-feature:hover > img,
.video-mini:hover > img {
  transform: scale(1.035);
  filter: saturate(1.06);
}
.play {
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}
.video-mini:hover .play {
  transform: scale(1.1);
  background: #fff;
  color: var(--red);
}

.projects {
  padding: 120px 0;
}
.projects-grid {
  gap: 22px;
}
.project-card {
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(25, 28, 33, 0.11);
  transition:
    transform 0.38s ease,
    box-shadow 0.38s ease;
}
.project-card:before {
  transition: background 0.4s ease;
}
.project-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 30px 68px rgba(25, 28, 33, 0.2);
}
.project-card:hover:before {
  background: linear-gradient(
    180deg,
    rgba(12, 14, 18, 0.03),
    rgba(12, 14, 18, 0.82)
  );
}
.project-card i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.2rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: 0.28s;
}
.project-card:hover i {
  background: var(--red);
  color: #fff;
  transform: translate(3px, -3px) rotate(5deg);
}
.projects-intro a {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid #f0b0ae;
  border-radius: 8px;
  border-bottom-width: 1px;
  transition: 0.22s;
}
.projects-intro a:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-2px);
}

.delivery {
  padding: 30px 0 86px;
  background: #fff;
  color: #fff;
}
.delivery-row {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 360px;
  padding: 46px 54px;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  background: linear-gradient(125deg, #c92f31 0%, #e34b47 56%, #b82329 100%);
  box-shadow: 0 24px 60px rgba(183, 35, 40, 0.2);
}
.delivery-row:after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: -130px;
  top: -190px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.055),
    0 0 0 110px rgba(255, 255, 255, 0.035);
}
.delivery-row > div {
  position: relative;
  z-index: 1;
}
.delivery-copy h2 {
  font-size: clamp(2.35rem, 3.6vw, 4rem);
  line-height: 0.98;
}
.delivery .note {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}
.delivery p {
  color: rgba(255, 255, 255, 0.9);
}
.delivery-map {
  position: relative;
  align-self: center;
  min-width: 0;
  width: 100%;
}
.delivery-map img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(108, 13, 18, 0.16));
}
.delivery-map .delivery-routes {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.routes path {
  fill: none;
  stroke: #d53538;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  opacity: 0.42;
}
.map-point circle {
  fill: #d71920;
  stroke: #fff;
  stroke-width: 2;
}
.map-point text {
  fill: #741c20;
  font: 600 12px/1 "Roboto", Arial, sans-serif;
  letter-spacing: 0.01em;
}
.map-point-main text {
  fill: #b8171d;
  font-weight: 700;
}
.map-point .point-pulse {
  fill: none;
  stroke: #d71920;
  stroke-width: 1.5;
  opacity: 0.28;
}

.request {
  padding: 20px 0 120px;
}
.request-card {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(135deg, #f7f7f5, #fff);
  border: 1px solid rgba(25, 28, 33, 0.055);
  box-shadow: 0 22px 60px rgba(25, 28, 33, 0.095);
  overflow: hidden;
}
.request-card:before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -150px;
  top: -150px;
  border-radius: 50%;
  background: rgba(216, 61, 59, 0.09);
}
.request-card > * {
  position: relative;
}
.request-card input,
.request-card select {
  background: #fff;
  border: 1px solid #e3e4e5;
  border-radius: 9px;
  padding: 0 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.request-card input:focus,
.request-card select:focus {
  border-color: rgba(216, 61, 59, 0.7);
  box-shadow: 0 0 0 4px rgba(216, 61, 59, 0.09);
}
.request-card form .btn {
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(216, 61, 59, 0.2);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.request-card form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(216, 61, 59, 0.28);
}

.faq {
  padding: 0 0 120px;
}
.faq details,
.faq details:last-child {
  border: 1px solid #e8e8e6;
  border-radius: 12px;
  padding: 0 24px;
  margin: 12px 0;
  background: #fff;
  box-shadow: 0 8px 26px rgba(25, 28, 33, 0.045);
  transition:
    border-color 0.22s,
    box-shadow 0.22s,
    transform 0.22s;
}
.faq details:hover {
  border-color: rgba(216, 61, 59, 0.25);
  box-shadow: 0 14px 34px rgba(25, 28, 33, 0.08);
  transform: translateY(-2px);
}
.faq details[open] {
  border-color: rgba(216, 61, 59, 0.3);
  box-shadow: 0 16px 38px rgba(25, 28, 33, 0.09);
}
.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5f5f3;
  color: var(--red);
  font-size: 1.35rem;
  transition: 0.25s;
}
.faq details[open] summary:after {
  transform: translateY(-50%) rotate(45deg);
  background: var(--red);
  color: #fff;
}
.faq details p {
  margin-top: 0;
  padding-bottom: 20px;
}

footer {
  position: relative;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(135deg, #111317, #1c1f25);
  box-shadow: 0 -18px 55px rgba(18, 20, 24, 0.08);
}
.footer-grid a,
.footer-grid button {
  transition:
    color 0.2s,
    transform 0.2s;
}
.footer-grid a:hover,
.footer-grid button:hover {
  transform: translateX(4px);
}
.footer-brand img {
  border-radius: 9px;
}
.copyright {
  border-color: rgba(255, 255, 255, 0.1);
}

.reveal-ready .page-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.reveal-ready .page-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 950px) {
  .turnkey-grid {
    gap: 50px;
  }
  .delivery-row {
    min-height: 320px;
    padding: 38px 34px;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
  }
  .request-card {
    padding: 48px 40px;
  }
}
@media (max-width: 700px) {
  .turnkey {
    padding: 78px 0;
  }
  .steps li:hover {
    transform: translateX(4px);
  }
  .video-feature:hover,
  .video-mini:hover,
  .project-card:hover {
    transform: translateY(-4px);
  }
  .projects {
    padding: 78px 0;
  }
  .delivery {
    padding: 20px 0 78px;
  }
  .delivery-row {
    padding: 38px 24px;
    border-radius: 14px;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .delivery-copy h2 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }
  .delivery .note {
    margin-top: 16px;
  }
  .delivery-map {
    padding: 0 4px;
  }
  .map-point text {
    font-size: 11px;
  }
  .request {
    padding: 0 0 78px;
  }
  .request-card {
    padding: 34px 24px;
    border-radius: 14px;
  }
  .faq {
    padding-bottom: 78px;
  }
  .faq details {
    padding: 0 18px;
  }
  .faq summary {
    font-size: 1rem;
  }
  .footer-grid a:hover,
  .footer-grid button:hover {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .page-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .catalog-direction,
  .video-feature,
  .video-mini,
  .project-card,
  .steps li {
    transition: none !important;
  }
}

/* v30: projects carousel */
.projects-carousel {
  position: relative;
  width: 100%;
  overflow: visible;
}
.projects-carousel .projects-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
}
.projects-carousel .projects-grid::-webkit-scrollbar {
  display: none;
}
.projects-carousel .project-card,
.projects-carousel .project-one {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  min-height: 440px;
  scroll-snap-align: start;
}
.projects-controls {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.projects-controls button {
  position: absolute;
  top: calc(50% - 34px);
  width: 58px;
  height: 58px;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  box-shadow: 0 12px 30px rgba(27, 31, 37, 0.14);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: 0.22s ease;
}
.projects-prev {
  left: -78px;
}
.projects-next {
  right: -78px;
}
.projects-controls button:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 950px) {
  .projects-carousel .project-card,
  .projects-carousel .project-one {
    flex-basis: calc((100% - 18px) / 2.08);
    min-height: 420px;
  }
  .projects-prev {
    left: -20px;
  }
  .projects-next {
    right: -20px;
  }
}

@media (max-width: 700px) {
  .projects-controls button {
    top: calc(50% - 27px);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.96);
  }
  .projects-prev {
    left: 8px;
  }
  .projects-next {
    right: 8px;
  }
  .projects-carousel .project-card,
  .projects-carousel .project-one {
    flex-basis: 88%;
    min-height: 390px;
  }
}

/* Category landing pages and shared menu consultation link */
.infas-help-link{display:inline-flex;align-items:center;gap:16px;margin-left:auto;padding:13px 20px;background:#c91922;color:#fff!important;font-weight:700;text-decoration:none;border-radius:6px;white-space:nowrap}.infas-help-link:hover{background:#a90d17}.infas-help-link span{font-size:22px}
.section-page{background:#f7f7f7}.section-page .section-hero{padding-top:32px;padding-bottom:65px}.breadcrumbs{display:flex;gap:12px;align-items:center;color:#777;font-size:13px;margin-bottom:56px}.breadcrumbs a{color:#555;text-decoration:none}.breadcrumbs a:hover{color:#c91922}.section-hero-inner{max-width:850px}.section-hero h1{font-size:clamp(38px,5vw,70px);line-height:1.07;letter-spacing:-.045em;margin:18px 0 22px;color:#202124}.section-hero p{font-size:clamp(17px,1.6vw,21px);line-height:1.6;color:#5b5b5b;max-width:700px;margin:0 0 32px}.section-consult{display:inline-flex;align-items:center;gap:26px;color:#fff;background:#c91922;padding:17px 23px;border-radius:6px;font-weight:700;text-decoration:none}.section-consult:hover{background:#a90d17}.section-switcher{display:flex;flex-wrap:wrap;gap:9px;padding-bottom:32px}.section-switch{padding:11px 16px;background:#fff;border:1px solid #dedede;border-radius:5px;color:#363636;text-decoration:none;font-weight:600}.section-switch:hover,.section-switch.current{border-color:#c91922;color:#b81720}.section-list{padding-bottom:80px}.section-list-head{margin:16px 0 26px}.section-list-head h2{font-size:clamp(28px,3vw,42px);margin:9px 0}.section-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.section-card{min-height:225px;padding:25px 27px;background:#fff;border:1px solid #e9e9e9;border-radius:10px;position:relative;text-decoration:none;color:#222;transition:transform .2s,border-color .2s,box-shadow .2s}.section-card:hover{transform:translateY(-3px);border-color:#d6a5a9;box-shadow:0 14px 28px #1b1b1b12}.section-card-number{font-size:13px;color:#c91922;font-weight:700}.section-card h2{font-size:23px;line-height:1.2;margin:30px 0 10px}.section-card p{color:#666;line-height:1.5;margin:0 0 26px}.section-card-arrow{position:absolute;right:24px;top:20px;color:#c91922;font-size:24px}.section-cta{margin-bottom:80px;padding:40px 44px;background:#222;color:white;border-radius:10px;display:flex;justify-content:space-between;align-items:center;gap:30px}.section-cta h2{font-size:clamp(25px,3vw,39px);margin:9px 0}.section-cta p{color:#d2d2d2;max-width:560px;margin:0}.section-cta a{background:#c91922;color:#fff;padding:16px 22px;border-radius:5px;text-decoration:none;font-weight:700;white-space:nowrap}
@media(max-width:900px){.section-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-cta{align-items:flex-start;flex-direction:column}.section-page .section-hero{padding-bottom:35px}.breadcrumbs{margin-bottom:32px}}
@media(max-width:600px){.section-card-grid{grid-template-columns:1fr}.section-card{min-height:190px}.section-cta{padding:29px 24px}.section-switcher{flex-wrap:nowrap;overflow:auto}.section-switch{flex:none}.infas-help-link{white-space:normal;margin-left:0}}
/* Compact category introduction: cards begin directly below the section tabs. */
.section-page .section-hero{padding-top:20px;padding-bottom:24px}
.section-page .breadcrumbs{margin-bottom:25px}
.section-page .section-hero-inner{max-width:1040px}
.section-page .section-hero h1{font-size:clamp(34px,3.2vw,49px);line-height:1.1;letter-spacing:-.03em;margin:10px 0 12px}
.section-page .section-hero p{font-size:16px;line-height:1.45;max-width:780px;margin:0 0 18px}
.section-page .section-consult{padding:12px 17px}
.section-page .section-switcher{padding-bottom:22px}
.section-page .section-list{padding-bottom:70px}
@media(max-width:900px){.section-page .section-hero{padding-bottom:20px}.section-page .breadcrumbs{margin-bottom:22px}}
.component-list{padding-bottom:75px}.component-list-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:20px}.component-list-head h2{font-size:clamp(28px,3vw,40px);margin:8px 0}.component-list-head p{color:#777;margin:0}.component-search input{width:min(350px,80vw);padding:14px 17px;background:#fff;border:1px solid #dedede;border-radius:6px;font:inherit}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:17px 18px;background:#fff;border:1px solid #e6e6e6;border-radius:6px;color:#282828;text-decoration:none;min-height:65px}.product-row:hover{border-color:#c91922;color:#b81720}.product-row span:last-child{color:#c91922}.product-row[hidden],.component-empty[hidden]{display:none}.component-empty{color:#666}@media(max-width:850px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.product-grid{grid-template-columns:1fr}.component-list-head{align-items:stretch;flex-direction:column}.component-search input{width:100%}}
.component-category-grid{gap:20px}.component-category-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e9e9e9;border-radius:9px;color:#252525;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}.component-category-card:hover{transform:translateY(-3px);border-color:#d5a2a7;box-shadow:0 14px 28px #1b1b1b12}.component-category-image{height:180px;display:flex;align-items:center;justify-content:center;background:#f2f3f4;padding:18px}.component-category-image img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}.component-category-body{display:flex;flex:1;flex-direction:column;padding:22px 25px 25px;gap:9px}.component-category-body small{color:#bd1b24;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.component-category-body strong{font-size:24px;line-height:1.2}.component-category-body>span{font-size:15px;line-height:1.5;color:#626262}.component-category-body b{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:22px;color:#b81720;font-size:14px}.component-category-body b span{font-size:22px;font-weight:400}
.family-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.family-card{display:flex;flex-direction:column;min-height:185px;background:#fff;border:1px solid #e4e4e4;border-radius:8px;padding:24px;color:#252525;text-decoration:none}.family-card:hover{border-color:#c91922;box-shadow:0 12px 25px #1616160d}.family-card small{color:#bc1a24;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.family-card h2{font-size:27px;margin:14px 0 7px}.family-card p{color:#626262;margin:0;line-height:1.5}.family-card>span{display:flex;align-items:center;justify-content:space-between;color:#b81720;font-weight:700;margin-top:auto;padding-top:20px}.family-card b{font-size:22px}.family-list{padding-top:48px}.family-list>h2{font-size:32px;margin:0 0 20px}.product-family{margin-bottom:12px;border:1px solid #e3e3e3;border-radius:7px;background:#fff;scroll-margin-top:25px}.product-family summary{display:flex;justify-content:space-between;gap:20px;padding:19px 22px;cursor:pointer;list-style:none}.product-family summary::-webkit-details-marker{display:none}.product-family summary strong{font-size:20px}.product-family summary span{color:#777}.product-family summary b{color:#c91922;padding-left:10px}.product-family[open] summary{border-bottom:1px solid #eee}.product-family .product-grid{padding:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.product-family .product-row{background:#fafafa}@media(max-width:650px){.family-grid,.product-family .product-grid{grid-template-columns:1fr}.family-card{min-height:160px}}

/* Component catalog table */
.component-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start;padding-bottom:75px}
.catalog-sidebar{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e5e5;border-radius:7px;padding:18px;position:sticky;top:18px}
.catalog-sidebar strong{font-size:18px;margin:0 0 14px}.catalog-sidebar a{padding:11px 12px;color:#333;text-decoration:none;border-radius:5px;font-weight:600}
.catalog-sidebar a:hover,.catalog-sidebar a[aria-current="page"]{background:#f3f3f3;color:#bd1b24}
.component-catalog{min-width:0}.component-table{width:100%;border-collapse:collapse;background:#fff;font-size:14px}
.catalog-table-scroll{overflow-x:auto;border:1px solid #dcdcdc;border-radius:6px}
.component-table th,.component-table td{border:1px solid #e3e3e3;padding:16px 13px;vertical-align:middle;text-align:left}
.component-table th{background:#f6f6f6;color:#333;font-weight:700}.component-table tr:first-child th{border-top:0}
.component-table tr[hidden]{display:none}.component-table tbody tr:hover{background:#fbf8f8}.catalog-number{width:55px;color:#999}
.catalog-product{color:#252525;text-decoration:none;font-weight:600}.catalog-product:hover{color:#bd1b24}
.catalog-model{min-width:120px;color:#555;font-weight:600}.catalog-size{min-width:135px;color:#444;white-space:nowrap}
.catalog-more{margin:20px auto 0;padding:12px 24px;border:1px solid #c91922;color:#c91922;background:#fff;border-radius:5px;font:inherit;font-weight:700;cursor:pointer;display:block}
.catalog-more[hidden]{display:none}.component-empty[hidden]{display:none}
@media(max-width:800px){.component-layout{grid-template-columns:1fr}.catalog-sidebar{position:static;display:flex;flex-flow:row wrap;gap:5px}.catalog-sidebar strong{width:100%;margin-bottom:5px}.component-table{min-width:650px}}

/* Homepage: equal gaps around the consultation card and the turnkey section. */
#catalog {
  --home-section-gap: 48px;
  padding-bottom: var(--home-section-gap);
}
#catalog .catalog-page-menu {
  padding-bottom: 0;
}
#catalog .catalog-page-menu .infas-catalog-bottom {
  margin-top: var(--home-section-gap);
}
#catalog + #turnkey {
  padding-top: 48px;
}
@media (max-width: 700px) {
  #catalog {
    --home-section-gap: 32px;
  }
  #catalog + #turnkey {
    padding-top: 32px;
  }
}

/* Native VK video players with feed-style cards. */
.vk-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.vk-video-card { min-width: 0; }
.vk-video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #181818;
}
.vk-video-player iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.vk-video-card h3 {
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.vk-video-card p {
  margin: 0;
  color: #777b83;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 1000px) {
  .vk-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 600px) {
  .vk-video-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Video carousel: new cards automatically join the scroll track. */
.vk-video-carousel { position: relative; }
.vk-video-carousel .vk-video-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.vk-video-grid::-webkit-scrollbar { display: none; }
.vk-video-carousel .vk-video-card {
  flex: 0 0 calc((100% - 24px) / 2);
  scroll-snap-align: start;
}
.vk-video-prev { left: -78px; }
.vk-video-next { right: -78px; }
@media (max-width: 1400px) {
  .vk-video-prev { left: -20px; }
  .vk-video-next { right: -20px; }
}
@media (max-width: 700px) {
  .vk-video-carousel .vk-video-card { flex-basis: 100%; }
  .vk-video-carousel .vk-video-controls { position: static; display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
  .vk-video-controls button { position: static; }
}

/* Each row opens its own product via its local link. */
.component-table .catalog-row { cursor: pointer; }
.component-table .catalog-row:hover .catalog-product { color: #bd1b24; }
.component-table .catalog-row:focus-within { background: #fbf8f8; }
.component-table .catalog-product:focus-visible {
  outline: 2px solid #bd1b24;
  outline-offset: 4px;
}
.component-table .catalog-size {
  white-space: normal;
  line-height: 1.55;
  min-width: 180px;
  overflow-wrap: anywhere;
}
.component-table th:last-child { width: 38%; }
