/* Шрифт исходного сайта */
@font-face {
  font-family: "Nunito Sans";
	src: url("../fonts/nunito-sans/NunitoSans-SemiBold.woff") format("woff");
	font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Верхнее меню */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: 0 0 15px -10px #151515;
}

.site-header .navbar {
  padding: 17px 0;
}

.site-header .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
  position: relative;
}

.site-logo {
  display: block;
  margin: 0;
  padding: 0;
}

.site-logo img {
  display: block;
  width: 175px;
  height: auto;
}

.site-header .navbar-nav {
  gap: 40px;
}

.site-header .nav-link {
  padding: 0;
  color: #151515;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 6px;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
  color: #ac2e30;
  text-decoration: underline;
}

.site-header .navbar-toggler {
  padding: 6px 10px;
}

/* Отступ при переходе к разделам */
main [id] {
  scroll-margin-top: 110px;
}

/* Компьютеры */
@media (min-width: 1200px) {
  .site-logo {
    position: absolute;
    left: calc(40% + 4px);
    transform: none;
  }

  .site-header .navbar-collapse {
    min-height: 60px;
    justify-content: space-between;
  }

  .site-header .navbar-nav {
    flex: 0 0 40%;
  }

  .site-header .navbar-nav .nav-link {
    padding: 0;
  }
}

/* Планшеты и телефоны */
@media (max-width: 1199.98px) {
  .site-header .navbar {
    padding: 12px 0;
  }

  .site-logo img {
    width: 150px;
  }

  .site-header .navbar-collapse {
    padding-top: 20px;
  }

  .site-header .navbar-nav {
    gap: 0;
  }

  .site-header .nav-link {
    padding: 12px 0;
  }
}

/* Главный слайдер */
.hero-slider {
  position: relative;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
}

.hero-slider .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.hero-slide {
  position: relative;
  min-height: 650px;
  height: calc(100vh - 94px);
  height: max(650px, calc(100svh - 94px));
}

.hero-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Затемнение фотографии, как в оригинале */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 25, 25, 0.8) 0%,
    rgba(25, 25, 25, 0) 57.3%
  );
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 45px;
  padding-bottom: 85px;
}

.hero-content {
  width: 100%;
  max-width: 655px;
}

.hero-title {
  margin: 0 0 30px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 55px;
  font-weight: 500;
  line-height: 1.024;
  text-transform: uppercase;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-bottom: 60px;
  padding: 14px 35px;
  border: 1px solid #ac2e30;
  border-radius: 5px;
  background: #ac2e30;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.hero-button:hover {
  background-color: #c43b3e;
  border-color: #c43b3e;
  box-shadow: 0 0 18px rgba(196, 59, 62, 0.5);
  color: #fff;
}

.hero-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 507px;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 30px 8px 22px;
  border: 1px solid rgba(236, 236, 236, 0.2);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.12)
  );
  backdrop-filter: blur(3px);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.111;
  text-align: center;
}

.hero-feature img {
  flex-shrink: 0;
}

/* Переключатели внизу слева */
.hero-indicators-container {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 0;
  z-index: 2;
}

.hero-slider .carousel-indicators {
  position: static;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}

.hero-slider .carousel-indicators button {
  width: 3px;
  height: 14px;
  margin: 0;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-radius: 3px;
  background-color: #fff;
  background-clip: padding-box;
  opacity: 0.5;
}

.hero-slider .carousel-indicators .active {
  background-color: #ac2e30;
  opacity: 1;
}

/* Планшеты */
@media (max-width: 1199.98px) {
  .hero-slide {
    height: max(650px, calc(100svh - 76px));
  }
}

/* Телефоны */
@media (max-width: 575.98px) {
  .hero-slide {
    min-height: 740px;
    height: max(740px, calc(100svh - 76px));
  }

  .hero-slide::after {
    background: linear-gradient(
      90deg,
      rgba(25, 25, 25, 0.75),
      rgba(25, 25, 25, 0.15)
    );
  }

  .hero-container {
    align-items: flex-start;
    padding-top: 35px;
    padding-bottom: 65px;
  }

  .hero-title {
    max-width: 420px;
    margin-bottom: 20px;
    font-size: 30px;
    line-height: 1.4;
  }

  .hero-button {
    margin-bottom: 30px;
    padding-right: 25px;
    padding-left: 25px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 190px;
  }

  .hero-feature {
    gap: 10px;
    padding: 14px 10px;
    font-size: 15px;
  }

  .hero-indicators-container {
    bottom: 20px;
  }
}

/* Лёгкое начертание для основного текста */
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans/NunitoSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Заголовки разделов */
.section-title {
  margin: 0 0 40px;
  color: #151515;
  font-family: "Lora", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.324;
  letter-spacing: 1.2px;
  text-align: center;
  text-transform: uppercase;
}

.section-title span {
  color: #ac2e30;
}

.section-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 15px auto 0;
  background: #555;
}

/* Преимущества */
.advantages-section {
  padding-top: 90px;
  padding-bottom: 0;
}

.advantages-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

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

.advantage-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 44px 25px 35px;
  border-radius: 10px;
  background: #f9f9f9;
  text-align: center;
}

.advantage-icon {
  display: block;
  width: 120px;
  height: 100px;
  margin-bottom: 35px;
  object-fit: contain;
}

.advantage-card h3 {
  margin: 0 0 15px;
  color: #151515;
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.444;
  text-transform: uppercase;
}

.advantage-card p {
  margin: 0;
  color: #151515;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.43;
}

/* Планшеты */
@media (max-width: 950px) {
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Телефоны */
@media (max-width: 700px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .advantages-section {
    padding-top: 60px;
  }

  .section-title {
    margin-bottom: 25px;
    font-size: 30px;
  }

  .advantage-icon {
    margin-bottom: 25px;
  }
}

/* Обычное начертание текста */
@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans/NunitoSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Характеристики радиаторов */
.radiator-section {
  padding-top: 90px;
}

.radiator-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.radiator-model {
  display: grid;
  grid-template-columns: 402px minmax(0, 1fr);
  align-items: start;
  gap: 45px;
}

.radiator-model + .radiator-model {
  margin-top: 70px;
}

.radiator-model-reverse {
  grid-template-columns: minmax(0, 1fr) 402px;
}

.radiator-model-reverse .radiator-main {
  grid-column: 2;
  grid-row: 1;
}

.radiator-model-reverse .radiator-content {
  grid-column: 1;
  grid-row: 1;
}

.radiator-photo {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.radiator-photo:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 4px;
}

.radiator-main {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.radiator-main img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.radiator-title {
  margin: 0 0 30px;
  color: #151515;
  font-family: "Lora", Georgia, serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.2;
}

.radiator-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 15px;
  background: #555;
}

.radiator-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.radiator-spec-list {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  line-height: 1.375;
}

.radiator-spec-list > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #ebebeb;
}

.radiator-spec-list > div:first-child {
  padding-top: 0;
}

.radiator-spec-list > div:last-child {
  border-bottom: 0;
}

.radiator-spec-list dt {
  color: #444;
  font-weight: 600;
}

.radiator-spec-list dd {
  margin: 0;
  color: #555;
  font-weight: 400;
}

.radiator-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  color: #ac2e30;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-underline-offset: 4px;
}

.radiator-request:hover {
  color: #c43b3e;
}

.radiator-request span {
  font-size: 24px;
}

.radiator-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.radiator-thumbnails img {
  display: block;
  width: 100%;
  height: 175px;
  object-fit: contain;
}

@media (max-width: 1050px) {
  .radiator-model {
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 30px;
  }

  .radiator-model-reverse {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .radiator-specs {
    gap: 20px;
  }
}

@media (max-width: 880px) {
  .radiator-model,
  .radiator-model-reverse {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .radiator-model-reverse .radiator-main,
  .radiator-model-reverse .radiator-content {
    grid-column: auto;
    grid-row: auto;
  }

  .radiator-main {
    max-width: 402px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  .radiator-specs {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .radiator-request {
    margin-top: 25px;
  }

  .radiator-thumbnails {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .radiator-title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .radiator-section {
    padding-top: 60px;
  }
}

/* Заявка через WhatsApp */
.request-section {
  padding-top: 90px;
}

.request-background {
  position: relative;
  padding: 120px 0;
  background-color: #555;
  background-image: url("../images/request-bg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.request-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48, 48, 48, 0.4);
}

.request-section .container {
  position: relative;
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.request-content {
  width: 50%;
  margin-left: auto;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
}

.request-title {
  margin: 0 0 37px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.324;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.request-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 18px;
  background: #fff;
}

.request-text {
  margin: 0 0 37px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

.request-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.request-fields input {
  display: block;
  width: 100%;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.667;
}

.request-fields input::placeholder {
  color: #fff;
  opacity: 1;
}

.request-fields input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.request-button {
  margin-bottom: 0;
}

.request-note {
  max-width: 450px;
  margin: 15px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 819px) {
  .request-content {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .request-section {
    padding-top: 60px;
  }

  .request-background {
    padding: 60px 0;
  }

  .request-title {
    margin-bottom: 25px;
    font-size: 30px;
  }

  .request-text {
    margin-bottom: 25px;
    font-size: 16px;
  }

  .request-fields {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
  }
}

/* Зелёная кнопка в блоке «Обратный звонок» */
.request-button {
  background-color: #25d366;
  border-color: #25d366;
}

.request-button:hover {
  background-color: #1fba59;
  border-color: #1fba59;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.4);
}

/* Радиаторы в наличии */
.stock-section {
  padding-top: 90px;
}

.stock-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.stock-slider {
  --stock-count: 4;
  --stock-gap: 32px;
}

.stock-viewport {
  overflow-x: auto;
}

.stock-slider.is-ready .stock-viewport {
  overflow: hidden;
}

.stock-track {
  display: flex;
  gap: var(--stock-gap);
  align-items: stretch;
  transition: transform 0.5s ease;
}

.stock-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(
    (100% - (var(--stock-count) - 1) * var(--stock-gap))
    / var(--stock-count)
  );
  min-width: 0;
  font-family: "Nunito Sans", sans-serif;
}

.stock-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 25px;
  object-fit: contain;
}

.stock-description {
  flex-grow: 0;
  margin: 0 0 26px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e2e2e2;
  color: #151515;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.stock-price {
  margin: 0;
  color: #ac2e30;
  font-family: "Lora", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
}

.stock-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 35px;
}

.stock-arrow {
  display: flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  background: #fff;
  color: #555;
  font-family: Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.stock-arrow:hover {
  border-color: #ac2e30;
  color: #ac2e30;
}

.stock-dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stock-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.stock-dot::before {
  content: "";
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: #bbb;
  transition: height 0.2s, background-color 0.2s;
}

.stock-dot.active::before {
  height: 20px;
  background: #ac2e30;
}

.stock-arrow:focus-visible,
.stock-dot:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 3px;
}

.stock-note {
  margin: 25px 0 0;
  color: #555;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 766.98px) {
  .stock-slider {
    --stock-count: 3;
    --stock-gap: 20px;
  }
}

@media (max-width: 519.98px) {
  .stock-slider {
    --stock-count: 2;
    --stock-gap: 14px;
  }

  .stock-controls {
    gap: 10px;
  }

  .stock-dots {
    gap: 2px;
  }

  .stock-dot {
    width: 12px;
  }

  .stock-description {
    font-size: 14px;
  }

  .stock-price {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .stock-section {
    padding-top: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stock-track {
    transition: none;
  }
}

/* Галерея интерьеров */
.interior-section {
  padding-top: 90px;
}

.interior-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.interior-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.interior-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.interior-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 32px;
}

.interior-column a {
  display: block;
  min-width: 0;
  cursor: zoom-in;
}

.interior-column img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.interior-column a:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .interior-grid,
  .interior-column,
  .interior-pair {
    gap: 10px;
  }
}

/* На телефоне колонки перелистываются пальцем */
@media (max-width: 480px) {
  .interior-section {
    padding-top: 60px;
  }

  .interior-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #ac2e30 #eee;
  }

  .interior-column {
    flex: 0 0 calc((100% - 10px) / 2);
    scroll-snap-align: start;
  }
}

/* Сертификаты */
.certificates-section {
  padding-top: 170px;
}

.certificates-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.certificates-panel {
  display: flex;
  align-items: flex-end;
  gap: 100px;
  padding: 0 10px 50px 58px;
  border-radius: 10px;
  background: #f6f6f6;
}

.certificates-slider {
  flex: 0 0 40%;
  min-width: 0;
  width: 40%;
  margin: -80px 0 0;
  padding: 0 30px;
  overflow: visible;
}

.certificates-slider .swiper-slide {
  height: auto;
  background: #fff;
}

.certificate-image {
  position: relative;
  display: block;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.certificate-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/border.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

.certificate-image img {
  display: block;
  width: 100%;
  height: auto;
}

.certificates-slider .swiper-slide-shadow {
  background: none;
}

.certificates-content {
  flex: 1;
  min-width: 0;
  padding-bottom: 46px;
}

.certificates-content .section-title {
  text-align: left;
}

.certificates-content .section-title::after {
  margin-left: 0;
  margin-right: 0;
}

.certificates-text {
  margin: 0;
  color: #666;
  font-family: "Nunito Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.certificates-controls {
  display: flex;
  gap: 10px;
  margin-top: 23px;
}

.certificates-controls .swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 1050px) {
  .certificates-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding: 0 20px 30px;
  }

  .certificates-slider {
    flex: none;
    width: 100%;
    max-width: 440px;
    margin-right: auto;
    margin-left: auto;
  }

  .certificates-content {
    padding-bottom: 0;
  }
}

@media (max-width: 480px) {
  .certificates-section {
    padding-top: 140px;
  }

  .certificates-slider {
    max-width: 288px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .certificates-text {
    font-size: 14px;
  }
}

/* О производстве */
.production-section {
  position: relative;
  margin-top: 90px;
  padding: 98px 0;
  background-color: #555;
  background-image: url("../images/production-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.production-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(48, 48, 48, 0.7) 32.09%,
    rgba(48, 48, 48, 0) 94.65%
  );
}

.production-section .container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.production-content {
  width: 50%;
}

.production-title {
  margin: 0 0 37px;
  color: #fff;
  font-family: "Lora", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.324;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.production-title::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 18px;
  border-radius: 2px;
  background: #fff;
}

.production-text {
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.444;
}

.production-text p {
  margin: 0;
}

@media (max-width: 767px) {
  .production-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .production-section {
    margin-top: 60px;
    padding: 60px 0;
  }

  .production-title {
    margin-bottom: 25px;
    font-size: 30px;
  }

  .production-text {
    font-size: 16px;
  }
}

/* Производственная линейка и фотографии */
.factory-title {
  max-width: 835px;
  margin-right: auto;
  margin-bottom: 28px;
  margin-left: auto;
}

.factory-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1007px;
  margin: 0 auto 50px;
  color: #666;
  font-family: "Nunito Sans", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 23px;
  letter-spacing: 0.18px;
  text-align: center;
}

.factory-text p {
  margin: 0;
}

.factory-text strong {
  font-weight: 600;
}

/* Парные миниатюры выравниваем по высоте */
.factory-section .interior-pair {
  align-items: stretch;
}

.factory-section .interior-column img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .factory-title {
    margin-bottom: 20px;
  }

  .factory-text {
    margin-bottom: 35px;
    font-size: 16px;
  }
}

/* Радиаторы на Kaspi.kz */
.kaspi-section {
  margin-top: 90px;
  background: #f8f8f8;
}

.kaspi-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.kaspi-layout {
  display: flex;
  align-items: center;
  margin: 0 -60px;
}

.kaspi-content {
  flex: 0 0 40%;
  min-width: 0;
  padding: 40px 60px;
}

.kaspi-content .section-title {
  text-align: left;
}

.kaspi-content .section-title::after {
  margin-left: 0;
  margin-right: 0;
}

.kaspi-text {
  margin: 0 0 30px;
  color: #444;
  font-family: "Nunito Sans", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.364;
  letter-spacing: 0.22px;
}

.kaspi-button {
  display: inline-block;
  padding: 14px 27px;
  background: #ac2e30;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.3px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.kaspi-button:hover {
  background: #c43b3e;
  box-shadow: 0 0 20px rgba(172, 46, 48, 0.5);
  color: #fff;
}

.kaspi-button:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 4px;
}

.kaspi-image {
  flex: 0 0 60%;
  min-width: 0;
  margin-top: -40px;
  padding: 0 60px;
}

.kaspi-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 992px) {
  .kaspi-section {
    padding-top: 40px;
  }

  .kaspi-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    margin: 0;
  }

  .kaspi-content {
    flex: none;
    padding: 0;
  }

  .kaspi-image {
    flex: none;
    margin-top: 0;
    padding: 0;
  }

  .kaspi-text {
    margin-bottom: 20px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .kaspi-section {
    margin-top: 60px;
  }
}

/* Контакты и карта */
.contacts-section {
  padding-top: 90px;
}

.contacts-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  width: 100%;
  margin-bottom: 30px;
}



.contacts-card {
  position: relative;
  min-width: 0;
  padding: 17px 13px;
  border: 1px solid #e8e8e8;
  border-radius: 5px;
  background: #fff;
  color: #555;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.contacts-card h3 {
  margin: 0 0 6px;
  color: #ac2e30;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.contacts-card p {
  margin: 0;
}

.contacts-card a {
  color: #555;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contacts-card a:hover {
  color: #ac2e30;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-card a:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 3px;
}

.contacts-links {
  display: flex;
  flex-direction: column;
}

.contacts-2gis {
  display: inline-block;
  margin-top: 5px;
}

.contacts-2gis img {
  display: block;
  object-fit: contain;
}

.contacts-phone {
  padding-right: 40px;
}

.contacts-phone .contacts-links a {
  white-space: nowrap;
}

.contacts-whatsapp {
  position: absolute;
  right: 10px;
  bottom: 20px;
  display: block;
}

.contacts-whatsapp img {
  display: block;
  width: 26px;
  height: 26px;
}

.contacts-map {
  height: 415px;
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1199.98px) {
  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
}

@media (max-width: 500px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contacts-section {
    padding-top: 60px;
  }
}

/* Мобильные номера с WhatsApp */
.contacts-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacts-phone-row > a:first-child {
  white-space: nowrap;
}

.contacts-wa-link {
  display: inline-flex;
  flex-shrink: 0;
}

.contacts-wa-link img {
  display: block;
  width: 24px;
  height: 24px;
}

/* Почта без разрыва адреса */
.contacts-email a {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

/* Видимая ссылка на Instagram */
.contacts-card .contacts-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #555;
  text-decoration: none;
}

.contacts-card .contacts-instagram svg {
  flex-shrink: 0;
}

.contacts-card .contacts-instagram:hover {
  color: #ac2e30;
  text-decoration: none;
}

.contacts-card .contacts-instagram:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Иконки перед заголовками контактов */
.contacts-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contacts-heading-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

/* Дилеры */
.dealers-section {
  padding-top: 40px;
}

.dealers-section .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

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

.dealer-card {
  min-width: 0;
  padding: 20px;
  border-radius: 20px;
  background: #f6f6f6;
  color: #ac2e30;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.dealer-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dealer-heading > a,
.dealer-heading > img {
  flex: 0 0 50px;
}

.dealer-heading img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.dealer-heading h3,
.dealer-heading p {
  margin: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.dealer-heading h3 {
  margin-bottom: 5px;
}

.dealer-address {
  margin: 0 0 15px;
}

.dealer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dealer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.dealer-links a:hover {
  color: #ac2e30;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dealer-card a:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 3px;
}

.dealer-phone::before {
  content: "";
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ac2e30;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6 19.8 19.8 0 0 1-3.1-8.7A2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.9a2 2 0 0 1-.5 2.1L8 10a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.9.6 2.9.7a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 17px;
}

.dealer-whatsapp img {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

@media (max-width: 1199.98px) {
  .dealers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dealers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 519.98px) {
  .dealers-grid {
    grid-template-columns: 1fr;
  }
}

/* Сайт, почта и соцсети дилеров */
.dealer-links .dealer-detail {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Нижнее меню */
.site-footer {
  margin-top: 90px;
  padding: 44px 0 19px;
  background: #f6f6f6;
  font-family: "Nunito Sans", sans-serif;
}

.site-footer .container {
  max-width: 1280px;
  padding-right: 20px;
  padding-left: 20px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-menu a {
  color: #444;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-menu a:hover {
  color: #ac2e30;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 33px;
  padding-top: 19px;
  border-top: 1px solid #e8e8e8;
}

.footer-bottom p {
  margin: 0;
  color: #646464;
  font-size: 13px;
  font-weight: 400;
}

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

.footer-socials a,
.footer-socials img {
  display: block;
}

.footer-socials a {
  transition: opacity 0.2s;
}

.footer-socials a:hover {
  opacity: 0.7;
}

.site-footer a:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 4px;
}

/* Плавающая кнопка WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1020;
  display: block;
  border-radius: 50%;
  transition: transform 0.2s;
}

.floating-whatsapp img {
  display: block;
  width: 70px;
  height: 70px;
}

.floating-whatsapp:hover {
  transform: scale(1.07);
}

.floating-whatsapp:focus-visible {
  outline: 2px solid #ac2e30;
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 15px;
    padding-bottom: 55px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer {
    margin-top: 60px;
    padding: 30px 0 15px;
  }

  .footer-menu {
    flex-direction: column;
    gap: 25px;
  }

  .footer-menu a {
    font-size: 14px;
  }

  .floating-whatsapp {
    right: 10px;
    bottom: 10px;
  }

  .floating-whatsapp img {
    width: 50px;
    height: 50px;
  }
}
/* Показываем управление после инициализации карусели. */
.stock-slider.is-ready .stock-controls {
  display: flex;
}

/* Подпись почтового ящика может переноситься отдельно от адреса. */
.contacts-email .contacts-links > div {
  min-width: 0;
}

/* На узком телефоне контакты располагаются в одну колонку. */
@media (max-width: 575.98px) {
  .contacts-grid { grid-template-columns: 1fr; }
}

/* Сохраняем отступы Kaspi без выхода за края узкого экрана. */
@media (min-width: 993px) and (max-width: 1359.98px) {
  .kaspi-layout { margin-left: 0; margin-right: 0; }
  .kaspi-content { padding-left: 0; padding-right: 30px; }
  .kaspi-image { padding-left: 30px; padding-right: 0; }
}
