/* ===== WP OVERRIDES ===== */
body {
  margin: 0 !important;
  padding: 0 !important;
}

.wp-site-blocks,
.entry-content,
#main-content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --content-width: 1160px;
  --h-pad: max(20px, calc((100% - var(--content-width)) / 2));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #0D0D0D;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.02em;
}

body.body--no-scroll {
  overflow: hidden;
}

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

ul, ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

/* ===== TOP BAR ===== */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--h-pad);
  background: #0D0D0D;
  gap: 59px;
  position: relative;
  transition: transform 0.3s;
}

.top-bar--hidden {
  transform: translateY(-100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__city {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1em;
  cursor: pointer;
}

.top-bar__city img:first-child {
  width: 28px;
  height: 28px;
}

.top-bar__city-chevron {
  width: 7px;
  height: 4px;
}

.top-bar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.top-bar__nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 16px;
  line-height: 1em;
  white-space: nowrap;
}

.top-bar__nav a img {
  width: 7px;
  height: 4px;
}

/* City Selector Dropdown */
.top-bar__city,
.footer__city {
  position: relative;
  cursor: pointer;
}

.city-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 8px 0;
  min-width: 160px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.city-dropdown--up {
  top: auto;
  bottom: calc(100% + 8px);
}

.city-dropdown--open {
  display: block;
}

.city-dropdown__item {
  display: block;
  width: 100%;
  padding: 10px 20px;
  text-align: left;
  font-size: 15px;
  color: #ccc;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.city-dropdown__item:hover {
  color: #FE741D;
}

.city-dropdown__item--active {
  color: #FE741D;
  font-weight: 600;
}

.top-bar__nav li {
  list-style: none;
  position: relative;
}

.top-bar__nav .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 4px;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid #fff;
  vertical-align: middle;
}

.top-bar__nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 12px 0;
  min-width: 220px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  margin-top: 8px;
  list-style: none;
  padding-left: 0;
}

.top-bar__nav li:hover > .sub-menu {
  display: block;
}

.top-bar__nav .sub-menu li {
  list-style: none;
}

.top-bar__nav .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: #ccc;
  white-space: nowrap;
  transition: color 0.2s;
}

.top-bar__nav .sub-menu a:hover {
  color: #FE741D;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar__cta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border: 1px solid #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  white-space: nowrap;
  transition: background 0.3s;
}

.top-bar__cta:hover {
  background: #FE741D;
}

.top-bar__brand {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 17px;
  background: #fff;
  border-radius: 100px;
  color: #FE741D;
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  white-space: nowrap;
}

.top-bar__brand-dot {
  width: 6px;
  height: 6px;
  background: #FE741D;
  border-radius: 50%;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--h-pad);
  background: #fff;
  gap: 14px;
  transition: all 0.3s;
}

.header__logo {
  flex-shrink: 0;
}

.header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__logo img {
  width: 250px;
  height: 20px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__catalog {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 14px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1em;
  white-space: nowrap;
}

.header__catalog img {
  width: 23px;
}

.header__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
  width: 385px;
  cursor: pointer;
}

.header__search img {
  width: 13.5px;
  height: 13.5px;
}

.header__search span {
  color: #AAAAAA;
  font-size: 18px;
  font-weight: 500;
  line-height: 1em;
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.header__social {
  width: 52px;
  height: 52px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__social--telegram {
  background: #23A0DC;
}

.header__social--whatsapp {
  background: #25D366;
}

.header__social img {
  width: 17px;
  height: 17px;
}

.header__phone-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone-icon-img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header__phone {
  font-size: 18px;
  font-weight: 600;
  line-height: 1em;
  color: #0D0D0D;
  white-space: nowrap;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #0D0D0D;
  border-radius: 2px;
  transition: all 0.3s;
}

.header__burger--active .header__burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 998;
  padding-top: 100px;
  overflow-y: auto;
}

.mobile-menu--open {
  display: block;
}

.mobile-menu__inner {
  padding: 20px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu__list li a {
  font-size: 18px;
  font-weight: 500;
  color: #0D0D0D;
  display: block;
  padding: 8px 0;
}

.mobile-menu__contacts {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu__phone {
  font-size: 20px;
  font-weight: 600;
}

.mobile-menu__socials {
  display: flex;
  gap: 16px;
}

.mobile-menu__socials a {
  font-size: 16px;
  font-weight: 500;
  color: #FE741D;
}

/* ===== SEARCH MODAL ===== */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.search-modal--open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.search-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
}

.search-modal__content {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  width: 600px;
  max-width: 90%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-modal__form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.search-modal__input {
  flex: 1;
  padding: 14px;
  font-size: 18px;
  border: 1px solid #E9E9E9;
  border-radius: 8px;
}

.search-modal__submit {
  padding: 14px;
  background: #FE741D;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.search-modal__submit img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.search-modal__close {
  font-size: 28px;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.modal--open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
}

.modal__content {
  position: relative;
  background: #0D0D0D;
  border-radius: 14px;
  padding: 38px;
  width: 500px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.modal__title {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form messages */
.form-message {
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 0;
}

.form-message--success {
  color: #25D366;
}

.form-message--error {
  color: #ff4444;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px var(--h-pad);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 52px;
  flex: 1;
}

.hero__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero__title {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.2em;
  color: #fff;
}

.hero__title span {
  color: #FE741D;
}

.hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4em;
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.hero__buttons {
  display: flex;
  align-items: stretch;
  border: 6px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: fit-content;
}

.hero__btn-phone {
  padding: 21px 30px;
  background: #fff;
  color: #0D0D0D;
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  border: none;
  outline: none;
  min-width: 200px;
}

.hero__btn-phone::placeholder {
  color: #AAAAAA;
}

.hero__btn-select {
  padding: 20px 30px;
  background: #FE741D;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1em;
  white-space: nowrap;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

.hero__callback {
  font-size: 20px;
  font-weight: 400;
  line-height: 1em;
  color: #fff;
  cursor: pointer;
}

.hero__image {
  position: relative;
  flex-shrink: 0;
  width: 558px;
  height: 500px;
}

.hero__image-glance {
  position: absolute;
  top: 0;
  left: 0;
  width: 558px;
  height: 500px;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
}

.hero__image img.hero__product {
  position: absolute;
  z-index: 1;
  width: 450px;
  height: 440px;
  object-fit: contain;
  top: 30px;
  left: 54px;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2em;
  text-align: center;
}

/* ===== ADVANTAGES ===== */
.advantages {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
}

.advantages__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.advantages__row {
  display: flex;
  gap: 28px;
}

.advantage-card {
  flex: 1;
  background: #fff;
  border: 1px solid #E9E9E9;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.advantage-card__header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.advantage-card__icon {
  display: flex;
  align-items: center;
  padding: 14px;
  background: #EFEFEF;
  border-radius: 100px;
  flex-shrink: 0;
}

.advantage-card__icon img {
  width: 40px;
  height: 40px;
}

.advantage-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
}

.advantage-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4em;
  color: #5E5E5E;
}

/* ===== CALCULATOR ===== */
.calculator {
  padding: 100px var(--h-pad) 120px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.calculator__wrapper {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.calculator__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.calculator__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.calculator__form {
  background: #0D0D0D;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 50%;
  margin-left: 50%;
}

.calculator__row {
  display: flex;
  gap: 14px;
}

.calculator__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.calculator__label {
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  color: #fff;
}

.calculator__input {
  background: #fff;
  border-radius: 6px;
  padding: 18px;
  font-size: 16px;
  color: #0D0D0D;
  width: 100%;
}

.calculator__input::placeholder {
  color: #AAAAAA;
}

.calculator__submit {
  padding: 20px 10px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1em;
  text-align: center;
  width: 100%;
}

.calculator__submit:hover {
  background: #e5671a;
}

/* ===== BRANDS ===== */
.brands {
  padding: 100px var(--h-pad) 0;
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
}

.brands__grid {
  display: flex;
  gap: 28px;
  width: 100%;
  align-self: stretch;
}

.brand-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 152px;
  overflow: hidden;
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-card--teplomash {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 14px 18px 18px;
}

.brand-card--teplomash img {
  max-height: 38px;
}

.brand-card__cta {
  padding: 14px 48px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  text-align: center;
  white-space: nowrap;
}

/* ===== WHY US ===== */
.why-us {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.why-us__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-us__row {
  display: flex;
  gap: 41px;
}

.why-us__row--bottom {
  gap: 28px;
}

.why-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.why-card__icon {
  display: flex;
  align-items: center;
  padding: 6px;
  border: 1px dashed #E9E9E9;
  border-radius: 100px;
  width: fit-content;
}

.why-card__icon img {
  width: 62px;
  height: 62px;
}

.why-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
}

.why-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3em;
  color: #5E5E5E;
}

/* ===== CASES ===== */
.cases {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.cases__slider-wrapper {
  position: relative;
}

.cases__slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cases__slider::-webkit-scrollbar {
  display: none;
}

.case-card {
  flex: 0 0 calc(33.333% - 19px);
  background: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-snap-align: start;
}

.case-card__image {
  position: relative;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 248px;
  object-fit: cover;
}

.case-card__badge {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border-radius: 100px;
  padding: 8px 12px;
}

.case-card__badge img {
  width: 28px;
  height: 28px;
}

.case-card__badge span {
  font-size: 16px;
  line-height: 1em;
  color: #0D0D0D;
}

.case-card__content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25em;
}

.case-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3em;
  color: #5E5E5E;
}

.cases__nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: -82px;
  right: -82px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.cases__nav-btn {
  width: 44px;
  height: 44px;
  background: #0D0D0D;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  cursor: pointer;
}

.cases__nav-btn img {
  width: 44px;
  height: 44px;
}

/* ===== REVIEWS ===== */
.reviews {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.reviews__content img {
  width: 100%;
}

/* ===== SECTIONS ===== */
.sections {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.sections__grid {
  display: flex;
  gap: 28px;
}

.section-card {
  flex: 1;
  background: #fff;
  border: 1px solid #E9E9E9;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.section-card__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-card__title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1em;
  padding: 0 28px;
  margin-top: 20px;
  color: #0D0D0D;
}

.section-card__list {
  padding: 18px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-card__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1em;
  color: #5E5E5E;
}

.section-card__item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #FE741D;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== POPULAR CATEGORIES ===== */
.categories {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.categories__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.categories__row {
  display: flex;
  gap: 28px;
}

.category-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.category-card__image {
  margin: 18px 18px 0;
  overflow: hidden;
  border: 1px solid #E9E9E9;
  border-radius: 14px;
}

.category-card__image img {
  width: 100%;
  height: 232px;
  object-fit: contain;
  display: block;
}

.category-card__footer {
  padding: 18px 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
}

.category-card__arrow {
  width: 44px;
  height: 44px;
  background: #FE741D;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-card__arrow img {
  width: 24px;
  height: 24px;
}

/* ===== DOCUMENTS ===== */
.documents {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
  position: relative;
}

.documents__tabs {
  display: flex;
  align-items: center;
  border: 1px solid #E9E9E9;
  border-radius: 100px;
  overflow: hidden;
  width: fit-content;
}

.documents__tab {
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  color: #0D0D0D;
  border: none;
  border-right: 1px solid #E9E9E9;
  background: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0;
}

.documents__tab:last-child {
  border-right: none;
}

.documents__tab--active {
  background: #FE741D;
  color: #fff;
}

.documents__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.documents__grid::-webkit-scrollbar {
  display: none;
}

.doc-card {
  flex: 1;
  min-width: 280px;
  background: #F1F1F1;
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doc-card__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.doc-card__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.doc-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25em;
}

.doc-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3em;
  color: #5E5E5E;
}

.doc-card__file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  width: fit-content;
}

.doc-card__file img {
  width: 17px;
  height: 18px;
}

.doc-card__file span {
  font-size: 14px;
  font-weight: 500;
  color: #0D0D0D;
}

.doc-card__download {
  padding: 14px 28px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1em;
  text-align: center;
  white-space: nowrap;
  display: block;
}

.doc-card__download:hover {
  background: #e5671a;
}

.documents__slider-wrapper {
  position: relative;
}

.documents__nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: -82px;
  right: -82px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq__item {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  cursor: pointer;
}

.faq__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq__question {
  font-size: 20px;
  font-weight: 500;
  line-height: 1em;
  flex: 1;
}

.faq__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq__item--open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding-top: 0;
}

.faq__item--open .faq__answer {
  max-height: 500px;
  padding-top: 18px;
}

.faq__answer-inner {
  font-size: 16px;
  line-height: 1.5em;
  color: #5E5E5E;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.about__content {
  display: flex;
  gap: 28px;
}

.about__image {
  flex-shrink: 0;
  width: 50%;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about__quote-line {
  width: 100%;
  height: 1px;
  background: #E9E9E9;
}

.about__quote {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
  padding: 0 10px;
}

.about__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about__paragraphs p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4em;
}

.about__btn {
  padding: 20px 30px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1em;
  width: fit-content;
}

.about__btn:hover {
  background: #e5671a;
}

/* ===== SEO SECTION ===== */
.seo {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.seo__content {
  display: flex;
  gap: 38px;
  align-items: flex-start;
}

.seo__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.seo__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2em;
}

.seo__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4em;
  color: #5E5E5E;
}

.seo__expand {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.seo__expand span {
  font-size: 20px;
  font-weight: 600;
  line-height: 1em;
  color: #FE741D;
}

.seo__expand img {
  width: 24px;
  height: 24px;
}

.seo__image {
  position: relative;
  width: 467px;
  height: 306px;
  flex-shrink: 0;
}

.seo__image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: url('../images/hero-bg.png') center/cover;
}

.seo__image-glance {
  position: absolute;
  width: 290px;
  height: 260px;
  object-fit: contain;
  top: 23px;
  left: 89px;
  z-index: 1;
}

.seo__image-product {
  position: absolute;
  width: 340px;
  height: 270px;
  object-fit: contain;
  top: 12px;
  left: 59px;
  z-index: 2;
}

/* ===== CONTACTS ===== */
.contacts {
  position: relative;
  min-height: 500px;
}

.contacts__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contacts__card {
  position: relative;
  z-index: 1;
  background: #FE741D;
  border-radius: 14px;
  padding: 48px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 38px;
  width: fit-content;
  max-width: 500px;
  top: 60px;
  left: var(--h-pad);
}

.contacts__title {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2em;
  color: #fff;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contacts__item a {
  color: #fff;
}

.contacts__item img {
  width: 24px;
  height: 24px;
}

.contacts__item span {
  font-size: 18px;
  font-weight: 600;
  line-height: 1em;
  color: #fff;
}

.contacts__item--address span {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4em;
}

/* ===== FOOTER ===== */
.footer {
  background: #0D0D0D;
  padding: 0;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--h-pad);
}

.footer__logo img {
  height: 20px;
}

.footer__search-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: #333;
}

.footer__main {
  display: flex;
  gap: 60px;
  padding: 48px var(--h-pad);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.footer__col--info {
  flex: 1.5;
}

.footer__col-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4em;
  color: #5E5E5E;
}

.footer__col--info .footer__col-title {
  color: #fff;
  font-size: 16px;
  line-height: 1.4em;
}

.footer__col-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link {
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer__link img {
  width: 7px;
  height: 4px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__contact-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__contact-icon img {
  width: 24px;
  height: 24px;
}

.footer__contact-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1em;
  color: #fff;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__social--telegram {
  background: #23A0DC;
}

.footer__social--whatsapp {
  background: #25D366;
}

.footer__social img {
  width: 17px;
  height: 17px;
}

.footer__nav-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-item--has-sub > .footer__link {
  cursor: pointer;
}

.footer__link-arrow {
  width: 7px;
  height: 4px;
  transition: transform 0.3s;
}

.footer__nav-item--open .footer__link-arrow {
  transform: rotate(180deg);
}

.footer__submenu {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-left: 14px;
}

.footer__nav-item--open .footer__submenu {
  display: flex;
}

.footer__sublink {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
  color: #AAAAAA;
  transition: color 0.2s;
}

.footer__sublink:hover {
  color: #fff;
}

.footer__address {
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  color: #fff;
}

.footer__divider2 {
  width: 100%;
  height: 1px;
  background: #333;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--h-pad) 28px;
}

.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__city {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  line-height: 1em;
}

.footer__copyright {
  font-size: 16px;
  line-height: 1em;
  color: #fff;
}

.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== CATALOG PAGE ===== */
.hero--catalog {
  padding: 0 var(--h-pad);
  height: 449px;
  display: flex;
  align-items: center;
}

.hero--catalog .hero__image {
  width: 487px;
  height: 400px;
}

.hero--catalog .hero__image-glance {
  width: 349px;
  height: 313px;
  top: 44px;
  left: 138px;
}

.hero--catalog .hero__image img.hero__product {
  width: 566px;
  height: 400px;
  top: 0;
  left: -40px;
}

/* ===== CATALOG GRID ===== */
.catalog-grid {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.catalog-grid__row {
  display: flex;
  gap: 28px;
}

.catalog-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.catalog-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
  color: #0D0D0D;
  position: relative;
  z-index: 2;
}

.catalog-card__circle {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: #FE741D;
  border-radius: 50%;
  z-index: 0;
}

.catalog-card__image {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 140px;
  height: 140px;
  object-fit: contain;
  z-index: 1;
}

.catalog-card__image--wide {
  width: 239px;
  height: 100px;
}

.catalog-card__image--vent {
  width: 226px;
  height: 148px;
}

.catalog-card__image--teplomash {
  width: 195px;
  height: 130px;
}

/* ===== CATALOG CALC ===== */
.catalog-calc {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.catalog-calc__wrapper {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.catalog-calc__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.catalog-calc__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px 0 0 14px;
}

.catalog-calc__form {
  background: #0D0D0D;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 50%;
  margin-left: 50%;
}

.catalog-calc__group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-calc__label {
  font-size: 18px;
  font-weight: 400;
  line-height: 1em;
  color: #fff;
}

.catalog-calc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-calc__tag {
  padding: 12px 17px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  color: #fff;
  border: 1px solid #555;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}

.catalog-calc__tag--active {
  border-color: #FE741D;
  color: #FE741D;
}

.catalog-calc__tag:hover {
  border-color: #FE741D;
}

/* ===== HELP FORM ===== */
.help-form {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.help-form__wrapper {
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.help-form__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
}

.help-form__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px 0 0 14px;
}

.help-form__fields {
  background: #0D0D0D;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 50%;
  margin-left: 50%;
}

.help-form__fields .vc-lead-form,
.calculator__form .vc-lead-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-message:empty {
  display: none;
}

/* ===== ARTICLES ===== */
.articles {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
  position: relative;
}

.articles__slider-wrapper {
  position: relative;
}

.articles__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.articles__grid::-webkit-scrollbar {
  display: none;
}

.article-card {
  flex: 1;
  min-width: 280px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.article-card__image {
  overflow: hidden;
  border-radius: 14px;
}

.article-card__image img {
  width: 100%;
  height: 248px;
  object-fit: cover;
  display: block;
}

.article-card__content {
  padding: 18px 28px 28px;
}

.article-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25em;
  color: #0D0D0D;
}

/* ===== SUBCATALOG ===== */
.hero--subcatalog {
  position: relative;
  height: 584px;
  padding: 0;
  overflow: visible;
}

.hero--subcatalog .hero__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero--subcatalog .hero__text {
  position: absolute;
  top: 100px;
  left: var(--h-pad);
  width: 594px;
}

.hero--subcatalog .hero__image {
  position: absolute;
  width: 514px;
  height: 460px;
  right: var(--h-pad);
  top: 12px;
}

.hero--subcatalog .hero__image-glance {
  width: 514px;
  height: 460px;
  top: 0;
  left: 0;
}

.hero--subcatalog .hero__image img.hero__product {
  width: 360px;
  height: 340px;
  top: 30px;
  left: 79px;
}

.hero__badges {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 28px;
  bottom: 100px;
  left: var(--h-pad);
  right: var(--h-pad);
}

.hero__badge {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #E9E9E9;
  border-radius: 14px;
  padding: 22px;
}

.hero__badge-icon {
  width: 38px;
  height: 38px;
  background: #FE741D;
  border-radius: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__badge-icon img {
  width: 22px;
  height: 22px;
}

.hero__badge span {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2em;
  color: #0D0D0D;
}

/* ===== PRODUCTS LISTING ===== */
.products {
  display: flex;
  gap: 34px;
  padding: 100px var(--h-pad);
  background: #EFEFEF;
}

.products__sidebar {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 257px;
  flex-shrink: 0;
  align-self: flex-start;
}

.sidebar__filter {
  cursor: pointer;
}

.sidebar__filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar__filter-header span,
.sidebar__filter > span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.15em;
  color: #0D0D0D;
}

.sidebar__filter-header img {
  width: 7px;
  height: 4px;
  flex-shrink: 0;
  filter: invert(1);
}

.sidebar__divider {
  height: 1px;
  background: #E9E9E9;
}

.products__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.product-card__thumb {
  background: #EFEFEF;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 145px;
}

.product-card__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.product-card__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1em;
}

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card__spec {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.product-card__spec span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1em;
  color: #5E5E5E;
}

.product-card__spec-line {
  height: 1px;
  background: #E9E9E9;
}

.product-card__btn {
  display: block;
  padding: 16px 10px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1em;
  text-align: center;
}

/* Pagination */
.products__pagination {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pagination__page {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1em;
  color: #0D0D0D;
  cursor: pointer;
  border: 1px solid #FE741D;
}

.pagination__page--active {
  background: #FE741D;
  color: #fff;
  font-weight: 600;
  border-color: #FE741D;
}

.pagination__arrow {
  width: 34px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.pagination__arrow img {
  width: 34px;
  height: 32px;
}

/* ===== USAGE ===== */
.usage {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
  position: relative;
}

.usage__slider-wrapper {
  position: relative;
}

.usage__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.usage__grid::-webkit-scrollbar {
  display: none;
}

.usage-card {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.usage-card__image {
  border-radius: 14px;
  overflow: hidden;
}

.usage-card__image img {
  width: 100%;
  height: 212px;
  object-fit: cover;
  display: block;
}

.usage-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2em;
}

/* ===== PRODUCT PAGE ===== */
.product-hero {
  display: flex;
  align-items: center;
  gap: 54px;
  padding: 100px var(--h-pad);
  background: #EFEFEF;
}

.product-hero__image {
  width: 566px;
  height: 486px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-hero__info {
  display: flex;
  flex-direction: column;
  gap: 38px;
  max-width: 817px;
}

.product-hero__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 500px;
}

.product-hero__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-hero__name {
  font-size: 38px;
  font-weight: 700;
  line-height: 1em;
}

.product-hero__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45em;
  color: #5E5E5E;
}

.product-hero__specs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-hero__spec-line {
  height: 1px;
  background: #D4D4D4;
}

.product-hero__spec {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-hero__spec img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.product-hero__spec span {
  font-size: 16px;
  line-height: 1em;
}

.product-hero__price-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-hero__price {
  font-size: 24px;
  font-weight: 700;
  line-height: 1em;
}

.product-hero__buttons {
  display: flex;
  gap: 14px;
  width: 100%;
}

.product-hero__btn-cart {
  flex: 1;
  padding: 21px 50px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1em;
  text-align: center;
  white-space: nowrap;
}

.product-hero__btn-calc {
  flex: 1;
  padding: 21px 60px;
  border: 1px solid #FE741D;
  border-radius: 100px;
  color: #FE741D;
  font-size: 18px;
  font-weight: 500;
  line-height: 1em;
  text-align: center;
  background: transparent;
  white-space: nowrap;
}

/* ===== SPECS TABLE ===== */
.specs-table {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.specs-table__grid {
  display: flex;
  width: 100%;
}

.specs-table__col {
  flex: 1;
  background: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.specs-table__col:first-child {
  border-radius: 14px 0 0 14px;
}

.specs-table__col:last-child {
  border-radius: 0 14px 14px 0;
}

.specs-table__divider {
  width: 1px;
  background: #E9E9E9;
}

.specs-table__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.specs-table__label {
  font-size: 16px;
  font-weight: 400;
  line-height: 1em;
}

.specs-table__value {
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  text-align: right;
}

.specs-table__line {
  height: 1px;
  background: #E9E9E9;
}

/* ===== MONTAGE ===== */
.montage {
  padding: 0 var(--h-pad) 100px;
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 38px;
}

.montage__title {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2em;
  text-align: center;
  max-width: 818px;
}

.montage__image {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
}

.montage__image img {
  width: 100%;
  display: block;
}

/* ===== RELATED PRODUCTS ===== */
.related {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
  position: relative;
}

.related__slider-wrapper {
  position: relative;
}

.related__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.related__grid::-webkit-scrollbar {
  display: none;
}

.related-card {
  flex: 1;
  min-width: 280px;
  border: 1px solid #E9E9E9;
  border-radius: 14px;
  padding: 14px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.related-card__image {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #E9E9E9;
  border-radius: 14px;
  overflow: hidden;
  height: 180px;
}

.related-card__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.related-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.related-card__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2em;
}

.related-card__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card__specs span {
  font-size: 12px;
  font-weight: 400;
  line-height: 1em;
  color: #5E5E5E;
}

.related-card__btn {
  display: block;
  padding: 16px 10px;
  background: #FE741D;
  border-radius: 100px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1em;
  text-align: center;
}

/* Questions form */
.questions-form {
  padding: 100px var(--h-pad);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

/* ===== BLOG PAGE ===== */
section.blog {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-card__image {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 14px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card__meta-item img {
  width: 12px;
  height: 12px;
}

.blog-card__meta-item span {
  font-size: 14px;
  font-weight: 400;
  line-height: 1em;
  color: #5E5E5E;
}

.blog-card__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card__title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3em;
}

.blog-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45em;
  color: #5E5E5E;
}

/* ===== ARTICLE PAGE ===== */
.breadcrumbs {
  padding: 20px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs a {
  font-size: 16px;
  line-height: 1em;
  color: #0D0D0D;
}

.breadcrumbs span,
.breadcrumbs__current {
  font-size: 16px;
  line-height: 1em;
  color: #AAAAAA;
}

.breadcrumbs img,
.breadcrumbs__sep {
  width: 12px;
  height: 10px;
}

/* Article Hero */
.article-hero {
  position: relative;
  padding: 100px var(--h-pad);
  min-height: 436px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 32px;
}

.article-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.article-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(13,13,13,0) 0%, rgba(13,13,13,1) 100%);
  z-index: 1;
}

.article-hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.article-hero__meta .blog-card__meta-item span {
  color: #fff;
}

.article-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-hero__title {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2em;
  color: #fff;
}

.article-hero__subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4em;
  color: #fff;
  max-width: 633px;
}

/* Article Content */
.article-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 65px;
  padding: 100px var(--h-pad);
  background: #fff;
}

.article-body__text {
  display: flex;
  flex-direction: column;
  gap: 55px;
  flex: 1;
}

.article-body__text h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2em;
}

.article-body__text h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2em;
}

.article-body__text p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3em;
  margin-bottom: 14px;
}

.article-body__text ul,
.article-body__text ol {
  margin: 14px 0;
  padding-left: 20px;
}

.article-body__text li {
  font-size: 18px;
  line-height: 1.4em;
  margin-bottom: 8px;
  list-style: disc;
}

.article-body__image {
  width: 467px;
  height: 567px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.article-body__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Read Also */
.read-also {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
  position: relative;
}

.read-also__slider-wrapper {
  position: relative;
}

.read-also__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.read-also__grid::-webkit-scrollbar {
  display: none;
}

.read-also__grid .blog-card {
  flex: 1;
  min-width: 280px;
}

/* ===== ABOUT PAGE ===== */
.about-hero {
  position: relative;
  padding: 120px var(--h-pad);
  min-height: 375px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.about-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, rgba(13,13,13,0) 0%, rgba(13,13,13,1) 100%);
  z-index: 1;
}

.about-hero__title {
  position: relative;
  z-index: 2;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.2em;
  color: #fff;
}

.about-hero__subtitle {
  position: relative;
  z-index: 2;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4em;
  color: #fff;
}

/* Team */
.team {
  padding: 100px var(--h-pad);
  background: #EFEFEF;
  display: flex;
  flex-direction: column;
  gap: 38px;
  position: relative;
}

.team__slider-wrapper {
  position: relative;
}

.team__grid {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.team__grid::-webkit-scrollbar {
  display: none;
}

.team-card {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.team-card__photo {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-card__name {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3em;
}

.team-card__role {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45em;
  color: #5E5E5E;
}

/* ===== WP PAGINATION OVERRIDES ===== */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.nav-links a,
.nav-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 100px;
  font-size: 16px;
  border: 1px solid #FE741D;
  color: #0D0D0D;
}

.nav-links .current {
  background: #FE741D;
  color: #fff;
  font-weight: 600;
}

/* ===== RESPONSIVE: 1200px ===== */
@media (max-width: 1200px) {
  .hero__image {
    width: 400px;
    height: 360px;
  }

  .hero__image-glance {
    width: 400px;
    height: 360px;
  }

  .hero__image img.hero__product {
    width: 320px;
    height: 320px;
  }

  .hero__title {
    font-size: 36px;
  }

  .seo__image {
    width: 350px;
    height: 230px;
  }

  .product-hero__image {
    width: 400px;
    height: 350px;
  }

  .cases__nav,
  .documents__nav {
    left: -20px;
    right: -20px;
  }
}

/* ===== RESPONSIVE: 992px ===== */
@media (max-width: 992px) {
  .top-bar__nav {
    display: none;
  }

  .header {
    gap: 20px;
  }

  .header__search {
    width: auto;
    flex: 1;
  }

  .header__burger {
    display: flex;
  }

  .header__contact {
    display: none;
  }

  .hero__content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .hero__image {
    width: 300px;
    height: 270px;
  }

  .hero__image-glance {
    width: 300px;
    height: 270px;
  }

  .hero__image img.hero__product {
    width: 240px;
    height: 240px;
    left: 30px;
    top: 15px;
  }

  .hero__actions {
    width: 100%;
  }

  .hero__title {
    font-size: 30px;
  }

  .advantages__row {
    flex-direction: column;
  }

  .why-us__row {
    flex-direction: column;
  }

  .about__content {
    flex-direction: column;
  }

  .about__image {
    width: 100%;
  }

  .seo__content {
    flex-direction: column;
  }

  .seo__image {
    width: 100%;
    height: 200px;
  }

  .calculator__form,
  .catalog-calc__form,
  .help-form__fields {
    width: 100%;
    margin-left: 0;
  }

  .calculator__image,
  .catalog-calc__image,
  .help-form__image {
    display: none;
  }

  .sections__grid {
    flex-direction: column;
  }

  .categories__row {
    flex-direction: column;
  }

  .faq__list {
    grid-template-columns: 1fr;
  }

  .product-hero {
    flex-direction: column;
  }

  .product-hero__image {
    width: 100%;
    height: 300px;
  }

  .specs-table__grid {
    flex-direction: column;
  }

  .specs-table__divider {
    width: 100%;
    height: 1px;
  }

  .specs-table__col:first-child {
    border-radius: 14px 14px 0 0;
  }

  .specs-table__col:last-child {
    border-radius: 0 0 14px 14px;
  }

  .product-hero__buttons {
    flex-direction: column;
  }

  .products {
    flex-direction: column;
  }

  .products__sidebar {
    width: 100%;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-body {
    flex-direction: column;
  }

  .article-body__text {
    width: 100%;
  }

  .article-body__image {
    width: 100%;
    height: 300px;
  }

  .footer__main {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer__col {
    flex-basis: 45%;
  }

  .footer__col--info {
    flex-basis: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 16px;
  }

  .catalog-grid__row {
    flex-direction: column;
  }

  .brands__grid {
    flex-wrap: wrap;
  }

  .brand-card {
    flex-basis: 45%;
  }

  .hero--subcatalog {
    height: auto;
    padding: 60px var(--h-pad);
  }

  .hero--subcatalog .hero__content {
    position: relative;
    flex-direction: column;
  }

  .hero--subcatalog .hero__text {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .hero--subcatalog .hero__image {
    position: relative;
    right: auto;
    top: auto;
    width: 300px;
    height: 270px;
    margin: 0 auto;
  }

  .hero__badges {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
  }
}

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
  .header__actions {
    flex: 1;
  }

  .header__search span {
    display: none;
  }

  .header__search {
    width: auto;
  }

  .hero__title {
    font-size: 26px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero__buttons {
    flex-direction: column;
    border: none;
    gap: 10px;
  }

  .hero__btn-phone {
    border-radius: 100px;
    text-align: center;
  }

  .hero__btn-select {
    border-radius: 100px;
  }

  .footer__main {
    flex-direction: column;
  }

  .footer__col {
    flex-basis: 100%;
  }

  .contacts__card {
    padding: 28px;
    max-width: 100%;
    left: 20px;
    right: 20px;
  }

  .contacts__title {
    font-size: 28px;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .related__grid,
  .articles__grid,
  .usage__grid,
  .team__grid {
    flex-direction: column;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }

  .article-hero__title {
    font-size: 30px;
  }
}

/* ===== RESPONSIVE: 576px ===== */
@media (max-width: 576px) {
  .top-bar__right {
    flex-direction: column;
    gap: 4px;
  }

  .top-bar__cta,
  .top-bar__brand {
    font-size: 14px;
    padding: 10px 14px;
  }

  .hero {
    padding: 60px var(--h-pad);
  }

  .hero__image {
    width: 220px;
    height: 200px;
  }

  .hero__image-glance {
    width: 220px;
    height: 200px;
  }

  .hero__image img.hero__product {
    width: 180px;
    height: 180px;
    left: 20px;
    top: 10px;
  }

  .calculator__row {
    flex-direction: column;
  }

  .product-hero__name {
    font-size: 28px;
  }

  .montage__title {
    font-size: 28px;
  }

  .about-hero__title {
    font-size: 32px;
  }

  .footer__top {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .footer__search-row {
    width: 100%;
  }
}

/* ===== RESPONSIVE: 360px ===== */
@media (max-width: 360px) {
  :root {
    --h-pad: 12px;
  }

  .hero__title {
    font-size: 22px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero__image {
    width: 180px;
    height: 160px;
  }

  .hero__image-glance {
    width: 180px;
    height: 160px;
  }

  .hero__image img.hero__product {
    width: 140px;
    height: 140px;
  }
}
