/* ============================================
   RESET & БАЗОВЫЕ СТИЛИ (все переменные сохранены)
   ============================================ */
:root {
  --color-bg: #ffffff;
  --color-surface: rgba(255, 255, 255, 0.9);
  --color-text: #111111;
  --color-muted: rgba(102, 102, 102, 0.8);
  --color-line: #ede9ea;
  --color-primary: #8e1f86;
  --color-primary-2: #6f1869;
  --color-shadow: rgba(0, 0, 0, 0.15);
  --color-hero-title: #0f5e7b;
  --color-hero-btn-text: #e9e9e9;
  --color-cta-bg: #5f9eb5;
  --color-link-dark-green: #2a6d7c;

  --container: 1400px;
  --gutter: 20px;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: #226984;
}

a.hover-link:hover {
  text-decoration: underline;
  color: #226984;
}

h1 {
  /* font-family: 'PF BeauSans Pro';*/
  font-style: normal;
  font-weight: 300;
  font-size: 32px;
  line-height: 113%;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
 /*  -webkit-text-stroke: 1px black;*/
  text-stroke: 1px black;
}

.bolt-text-title {
  font-weight: 700;
}

/* ============================================
   КОМПОНЕНТЫ (кнопки, заголовки и т.д.)
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.page__top-line {
  height: 2px;
  background: var(--color-line);
}

.section-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 6px 8px;
  border-radius: 0;
  border: 0;
  min-height: 48px;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 0.97;
  text-transform: none;
  color: #e9e9e9;
  background: linear-gradient(106.95deg, #358393 24.64%, #2A6D7C 77.55%);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  user-select: none;
  transition: filter 0.2s;
}

.button--hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 6px 8px;
  border-radius: 0;
  border: 0;
  min-height: 48px;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 0.97;
  text-transform: none;
  color: #e9e9e9;
  background: linear-gradient(106.95deg, #358393 24.64%, #2A6D7C 77.55%);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  user-select: none;
  transition: filter 0.2s;
  position: relative;
  overflow: hidden;
}

/* Анимация блика */
.button--hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20%,
  100% {
    left: 100%;
  }
}

.button:hover {
  background: #358393;
  color: white;
}

.button--hero {
  width: 140px;
  height: 48px;
}

.button--cta {
  width: 250px;
  height: 48px;
  padding: 6px 8px;
}

.small-table {
  max-width: 60%;
  margin: auto;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  width: 100%;
  height: 79px;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-line);
}


.header__container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: auto;
  padding-bottom: 10px;
}

/* Верхняя строка: логотип + контакты/иконки */
.header__top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Логотип*/
.header__logo-card {
  position: relative;
  width: 200px;
  height: auto;
  filter: drop-shadow(0px 4px 4.1px rgba(0, 0, 0, 0.25));
}

.header__logo-card-bg {
  display: flex;
  justify-content: center;
  width: 200.13px;
  height: 126.24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.2);
}

.header__logo-card-img {
  width: 156px;
  object-fit: contain;
}

.header__menu {
  display: flex;
  gap: 20px;
  margin-top: -51px;
  padding-left: 250px;
  background: transparent;
}

.header__menu-item {
  width: 125px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #ffffff;
  box-shadow: 0px 5px 6px rgba(0, 0, 0, 0.2);
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
  color: #262626;
}

.header__menu-item:hover {
  background: linear-gradient(106.95deg, #358393 24.64%, #2A6D7C 77.55%);
  color: white;
}

/* Контакты (телефон/email) */
.header__right__column {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 50px;
  gap: 20px;
  align-items: center;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.header__contact {
  padding: 2px 10px;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 0.97;
  color: #666666;
}

a.header__contact:hover {
  text-decoration: underline;
  color: #226984;
}

/* Поиск, корзина, кнопка вызова */
.header__icon-link.header__search {
  display: block;
}

.header__search {
  display: flex;
  align-items: center;

}

.header__search-icon {
  width: 44px;
  height: 44px;
}

.header__search-icon:hover {
  background: #E9E9E9;
}

.header__cart {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #757474;
}

.header__cart-icon {
  width: 22px;
  height: 22px;
  margin: 10px;
}

.header__cart:hover {
  background: #E9E9E9;
}

.header__cart-divider {
  width: 1px;
  height: 21px;
  background: #757474;
}

.header__cart-count {
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: #757474;
}

.header__call {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 140px;
  height: 48px;
  padding: 6px 14px;
}

.header__call-icon {
  width: 20px;
  height: 20px;
}

.header__call-text {
  font-family: Commissioner, var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 0.97;
  text-transform: none;
  color: #e9e9e9;
}

.header__call:hover {
  background: linear-gradient(106.95deg, #2A6D7C 24.64%, #358393 77.55%);
  color: white;
}

/* Планшетные/мобильные элементы – по умолчанию скрыты */
.header__icon-link,
.header__menu-toggle {
  display: none;
}

.header__icon-link:hover {
  background: #E9E9E9;
}

.header__search-icon:hover {
  background: none;
}


/* ============================================
   ПЛАВНЫЕ СТИЛИ ДЛЯ SCROLL (С ОТРИЦАТЕЛЬНЫМ margin-top)
   ============================================ */
@media (min-width: 1025px) {
  .header.scrolled .header__container {
    flex-direction: row !important;
    align-items: center !important;
    gap: clamp(10px, 1.5vw, 20px) !important;
  }

  .header.scrolled .header__top-row {
    margin-bottom: 0 !important;
    flex: 1 !important;
  }

  .header.scrolled .header__right__column {
    margin-bottom: 0 !important;
    gap: clamp(10px, 1.5vw, 20px) !important;
  }

  /* Меню — отрицательный margin-top плавно меняется */
  .header.scrolled .header__menu {
    /* clamp(минимум, желаемое значение, максимум) */
    /* margin-top меняется от -60px до -80px в зависимости от ширины экрана */
    margin-top: clamp(-62px, -5vw, -60px) !important;
    padding-left: clamp(100px, 13vw, 200px) !important;
    order: 2 !important;
    gap: clamp(8px, 1.2vw, 20px) !important;
  }

  .header.scrolled .header__menu-item {
    width: clamp(85px, 9vw, 125px) !important;
    height: clamp(32px, 3.5vw, 40px) !important;
    font-size: clamp(11px, 1.2vw, 15px) !important;
    background: none !important;
    box-shadow: none !important;
  }

  .header.scrolled .header__menu-item:hover {
    color: #2A6D7C !important;
  }

  .header.scrolled .header__logo-card-bg {
    width: clamp(100px, 10vw, 140px) !important;
    height: clamp(63px, 6vw, 72px) !important;
    box-shadow: none !important;
    background: rgb(255 255 255 / 0%);
  }

  .header.scrolled .header__logo-card {
    filter: none !important;
  }

  .header.scrolled .header__logo-card-img {
    width: clamp(80px, 8vw, 115px) !important;
  }

  .header.scrolled .header__contact {
    font-size: clamp(11px, 1.2vw, 14px) !important;
  }

  .header.scrolled .header__call {
    width: clamp(90px, 9vw, 120px) !important;
    height: clamp(34px, 3.8vw, 40px) !important;
  }

  .header.scrolled .header__search-icon {
    width: clamp(30px, 3.5vw, 40px) !important;
    height: clamp(30px, 3.5vw, 40px) !important;
  }

  .header.scrolled .header__cart-count {
    font-size: clamp(14px, 1.8vw, 18px) !important;
  }

  .header.scrolled .header__call-text {
    font-size: clamp(10px, 1.2vw, 12px) !important;
  }

  .header.scrolled .header__menu {
    /* Фиксируем вертикальное положение */
    align-self: flex-start !important;
    position: relative !important;
    top: 0 !important;
  }

  .header.scrolled .header__menu-item {
    /* Фиксируем внутреннее выравнивание */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transition: all 0.2s ease-out !important;
  }

  /* Фиксируем высоту контейнера меню */
  .header.scrolled {
    min-height: auto !important;
  }

  .header.scrolled .header__container {
    min-height: auto !important;
  }
}

@media (max-width: 1074px) {
  .header__contacts {
    margin-right: -15px;
  }
}

@media (max-width: 1068px) {
  .header {
    height: 68px;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  z-index: -1;
}

.hero__container {
  position: relative;
  max-width: 1400px;
  width: 100%;
  height: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  align-items: flex-end;
}

.hero-slider__card {
  display: flex;
  flex-direction: column;
  width: 559px;
  height: 245px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  margin-right: auto;
}

.hero-slider__heading {
  flex: 1;
}

.hero-slider__title {
  font-size: 32px;
  line-height: 1.13;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-hero-title);
  margin: 0;
}

.hero-slider__title_small {
  color: ;
  font-size: 26px;
  font-weight: bold;
}

.hero-slider__button-wrap {
  align-content: flex-end;
  text-align: end;
  margin-bottom: 20px;
}

.hero-slider__controls {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  gap: 10px;
}

.hero-slider__arrow {
  width: 45px;
  height: 45px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.hero-slider__arrow-icon {
  width: 75px;
  height: 75px;
}

/* Остальные стили слайдера */
.hero-slider {
  width: 560px;
  max-width: 100%;
}

.hero-slider__viewport {
  position: relative;
}

.hero-slider__track {
  position: relative;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 240ms ease;
  pointer-events: none;
}

.hero-slider__slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.hero__bg {
  background-image: url('../assets/images/hero-723174.png');
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 48px 0 40px;
}

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

.about__lead {
  margin: 0;
  font-size: 32px;
  line-height: 1.13;
  color: #93178b;
}

.about__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #262626;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 60px 0 0;

  background: linear-gradient(180deg, #FFFFFF 0%, #D9D9D9 100%);
  overflow: hidden;
}

.products__container {
  position: relative;
  max-width: 1400px;
}

.products__header {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
  z-index: 1;
}

.products__title {
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.09;
  text-transform: none;
  color: #666666;
  z-index: 1;
}

.products__to-catalog {
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 0.97;
  color: var(--color-link-dark-green);
}

/* Декоративные элементы  */
.products__decor--left {
  position: absolute;
  height: 489px;
  left: -19.23%;
  right: 90.36%;
  top: -120px;
  background: url('../assets/images/Бензол1.png');
  transform: matrix(-1, 0, 0, 1, 0, 0);
}

.products__decor--right {
  position: absolute;
  right: -186px;
  top: -29px;
}

img.products__decor-img--left {
  height: 484px;
  opacity: 0.74;
}

.products__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 37px;
}

.product-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  z-index: 1;
}

.product-card__media {
  height: 268px;
  background: #f3f3f6;
}

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

.product-card__body {
  padding: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 92px;
}

.product-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
}

.products__button {
  display: none;
  text-align: center;
}

.products__cta-row {
  display: flex;
  gap: 97px;
  justify-content: flex-end;
  margin-top: 42px;
  flex-wrap: wrap;
  z-index: 1;
}

.button--cta {
  background: #5F9EB5;
  z-index: 1;
}

.products__nav--prev,
.products__nav--next {
  display: none;
}

/* ============================================
   NEWS
   ============================================ */
.news {
  padding: 50px 0 50px;
}

.news__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 30px;
}

.news__title {
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.09;
  text-transform: none;
  color: #666666;
  margin: 0;
}

.news__all {
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 0.97;
  color: #2a6d7c;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.news-card {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
  border-bottom: 1px solid #66666630;
}

.news-card:hover {
  border-radius: 0px;
  background: #ffffff;
  box-shadow: 5px 5px 30px #d9d9d9, -5px -5px 30px #ffffff;
  border-bottom: 1px solid #666666;
}

.news-card__media {
  width: 100%;
  overflow: hidden;
}

.news-card__img {
 width: 100%;
  object-fit: cover;
}

.news-card__body {
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-card__tag {
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  color: #8e1f86;
}

.news-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  font-family: "PF BeauSans Pro", var(--font-sans);
  color: #262626;
}

.news-card__text {
  margin: 0;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.4;
  color: #262626;
}

.news__nav--prev,
.news__nav--next {
  display: none;
}

.news__button {
  text-align: center;
  display: none;
}

/*/* ============================================
   media-block
   ============================================ */
.media-content {
  background: linear-gradient(360deg, #FFFFFF 0%, #EAEAEA 100%);
  padding: 10px 0 30px 0;
}

.media__container {
  position: relative;
  max-width: 1400px;
}

.media-content__container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-evenly;
  z-index: 1;
}

.media-content__decor--left {
  position: absolute;
  height: 489px;
  left: -19.23%;
  right: 90.36%;
  top: -45px;
  transform: matrix(-1, 0, 0, 1, 0, 0);
}

img.media-content__decor-img--left {
  height: 484px;
  opacity: 0.74;
}

.media-block__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 37px;
}

.media-content-img__container {
  width: 100%;
  z-index: 1;
}

.media-content-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/*/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 50px 0;
}

.contact__title {
  margin-bottom: 30px;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.09;
  text-transform: none;
  color: #666666;
}

.contact-form {
  display: grid;
  grid-template-columns: 30% 60%;
  /* Фиксированная ширина под поля */
  gap: 20px;
  align-items: start;
  justify-content: space-between;
}

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

.contact-field__control {
  width: 100%;
  /* Растягивается на всю ширину родителя */
  height: 40px;
  padding: 0 12px;
  border: 1px solid #c0c0c0;
  border-radius: 0;
  outline: none;
  background: #fff;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #262626;
  box-sizing: border-box;
  box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.07);
}

.contact-field__control:hover {
  border: 1px solid #0F5E7B;
}

.contact-field__control::placeholder {
  color: #c3c3c3;
  opacity: 1;
}

/* Textarea */
.contact-field--textarea {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #262626;
  box-sizing: border-box;
  box-shadow: 0px 0px 14px rgba(0, 0, 0, 0.07);
}

.contact-field__control--textarea {
  width: 100%;
  height: 100%;
  min-height: 153px;
  resize: vertical;
  padding: 10px 12px;
  vertical-align: middle;
  align-items: center;
}


.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #666666;
  grid-column: 2;
  margin-top: 0;
}

.contact-consent__control {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-consent__box {
  flex-shrink: 0;
  width: 23px;
  height: 22px;
  border: 1px solid #666666;
  background: #ffffff;
  cursor: pointer;
}

.contact-consent__control:checked + .contact-consent__box {
  background: rgba(42, 109, 124, 0.12);
}

.contact-consent__text {
  flex: 1;
}

.contact-consent__link {
  text-decoration: underline;
}

.contact-consent__link:hover {
  color: #5F9EB5;
}

.contact-consent__link:visited {
  color: #5F9EB5;
}

.contact-form__submit {
  justify-self: end;
  width: 140px;
  height: 48px;
  grid-column: 2;
  margin-top: 20px;
  cursor: pointer;
}

.contact-field {
  position: relative;
  display: block;
}

.contact-field__control {
  padding-top: 14px;
  padding-bottom: 14px;
}

.contact-field__control + span {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  color: #c3c3c3;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: #ffffff;
  padding: 0 4px;
}

@media (max-width: 1020px) {
	.contact-field__control + span {
  		 background: #ffffff00;
	}
}

.contact-field--textarea .contact-field__control + span {
  top: 20px;
  transform: translateY(0);
}

.contact-field__control:focus + span,
.contact-field__control:not(:placeholder-shown) + span {
  top: 0;
  transform: translateY(-50%) scale(0.85);
  font-size: 15px;
  color: #5F9EB5;
}

.contact-field__control::placeholder {
  opacity: 0;
}

.contact-field--textarea .contact-field__control:focus + span,
.contact-field--textarea .contact-field__control:not(:placeholder-shown) + span {
  top: -1px;
}

/* ============================================
   FOOTER (flexbox)
   ============================================ */
.footer {
  background: #cfd5df;
  padding: 40px 0;
}

.footer__container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Ряд 1: Логотип с надписью + Соцсети */
.footer__row--top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer__logo-row {
  display: flex;
  align-items: center;
  gap: 100px;
}

.footer__logo {
  width: 95px;
  height: auto;
}

.footer__logo-text {
  max-width: 510px;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #226984;
}

.footer__social {
  display: flex;
  gap: 1px;
  width: 30%;
}

.footer__social-item {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.footer__social-icon {
  width: 100%;
  height: auto;
}

.footer__social-icon:hover {
  filter: contrast(1.3);
}

/* Линия */
.footer__line {
  width: 100%;
  height: 1px;
  background: rgba(10, 77, 135, 0.35);
}

.footer__line--bottom {
  height: 2.63px;
}

/* Ряд 2: Меню + Контакты (телефоны) */
.footer__row--middle {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer__menu {
  display: flex;
  gap: 137px;
  padding-left: 197px;
}

.footer__menu-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__menu-link {
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #0a4d87;
  text-decoration: none;
}

.footer__line-mobil {
  display: none;
}

.footer__contacts {
  display: flex;
  width: 30%;
  flex-direction: column;
  gap: 11px;
  text-align: right;
}

.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact-icon--phone {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.footer__contact-icon--address {
  width: 23px;
  height: 23px;
}

.footer__contact-phone {
  display: flex;
  flex-direction: column;
  font-family: "PF BeauSans Pro", var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #0a4d87;
}

.footer__contact-link {
  text-align: start;
  text-decoration: none;
  color: #0a4d87;
}

.footer__contact-text {
  text-align: left;
}

/* Ряд 3: Копирайт */
.footer__row--bottom {
  display: flex;
  justify-content: center;
}

.footer__copy {
  text-align: center;
  font-family: Roboto, var(--font-sans);
  font-weight: 400;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #191919;
}

/* ============================================
   АДАПТИВ ДЛЯ ПЛАНШЕТОВ (1100px и меньше)
   ============================================ */
@media (max-width: 1200px) {
  .products {
    height: 100%;
  }

  .product-card__media {
    height: 209px;
  }
}

@media (max-width: 1020px) {
  :root {
    --container: 960px;
  }

  .header {
    display: flex;
  }

  /* ============================================
     HEADER
     ============================================ */
  .header__logo-card {
    filter: none;
    width: 10%;
  }

  .header__logo-card-bg {
    box-sizing: border-box;
    width: 86.35px;
    height: 49px;
    /*border: 1px solid rgba(42, 109, 124, 0.54);*/
    box-shadow: none;
  }

  .header__logo-card-img {
    height: 49px;
  }

  .header__right__column {
    margin-bottom: 0px;
    display: flex;
    width: 85%;
  }

  .header__container {
    padding-bottom: 0px;
    margin: auto;
  }

  .header__menu,
  .header__contacts {
    display: none;
  }

  .header__icon-link {
    display: flex;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px;
    gap: 10px;
    width: 44.18px;
    height: 44px;
    border: 1px solid rgba(42, 109, 124, 0.54);
    margin: auto;
  }

  .header__menu-toggle {
    display: flex;
    border: none;
    background: white;
  }

  .header__container {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .header__icon-link.header__search {
    display: flex;
  }

  /* Порядок на планшете */
  .header__logo {
    order: 1;
  }

  .header__icon-link--email {
    order: 2;
  }

  .header__icon-link--phone {
    order: 3;
  }

  .header__search {
    order: 4;
  }

  .header__cart {
    display: none;
  }

  .header__menu-toggle {
    order: 7;
  }

  .header__call {
    order: 3;
  }

  .header__call {
    margin: auto;
  }

  /* ============================================
     HERO
     ============================================ */
  .hero {
    align-items: flex-end;
    min-height: 445px;
  }

  .hero__container {
    padding: 0;
  }

  .hero-slider__card {
    width: 480px;
    height: 228px;
    padding-bottom: 5px;
  }

  .hero-slider__title {
    font-size: 24px;
    line-height: 1.3;
  }
  
  .hero-slider__title_small {
	font-size: 21px!important;  
  }

  .hero-slider__controls {
    margin-bottom: 25px;
    padding-right: 10px;
  }

  .hero-slider__arrow {
    width: 40px;
  }

  /* ============================================
     ABOUT
     ============================================ */
  .about__lead {
    font-size: 24px;
  }

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

  .about__text {
    font-size: 16px;
  }

  /* ============================================
     PRODUCTS - АДАПТИВ С ГОРИЗОНТАЛЬНОЙ ПРОКРУТКОЙ
     ============================================ */
  .products {
    height: auto;
    padding: 40px 0;
    overflow: hidden;
  }

  .products__container {
    position: relative;
    width: 100%;
    padding: 0 20px;
    height: auto;
  }

  .products__grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 15px;
    margin-top: 30px;
  }

  /* Стилизация скроллбара (опционально) */
  .products__grid::-webkit-scrollbar {
    height: 6px;
  }

  .products__grid::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
  }

  .products__grid::-webkit-scrollbar-thumb {
    background: #5F9EB5;
    border-radius: 10px;
  }

  .products__grid::-webkit-scrollbar-thumb:hover {
    background: #4a7e94;
  }

  .product-card {
    flex: 0 0 calc(25% - 10px);
    min-width: 285px;
    scroll-snap-align: start;
  }

  .product-card__media {
    height: 238px;
    max-width: 100%;
  }

  .product-card__body {
    min-height: 80px;
    padding: 12px;
  }

  .product-card__title {
    font-size: 16px;
  }

  .products__cta-row {
    justify-content: space-around;
    gap: 20px;
    margin-top: 30px;
  }

  /* Скрываем декоративные элементы на планшете, если мешают */
  .products__decor--left,
  .products__decor--right {
    display: none;
  }

  .products__nav--prev {
    display: block;
    position: absolute;
    top: 45%;
    opacity: 0.5;
    z-index: 3;
    left: -10px;
    background: none;
    border: none;
  }

  .products__nav--next {
    display: block;
    position: absolute;
    top: 45%;
    opacity: 0.5;
    z-index: 3;
    right: -10px;
    background: none;
    border: none;
  }

  /* ============================================
     NEWS - АДАПТИВ С ГОРИЗОНТАЛЬНОЙ ПРОКРУТКОЙ
     ============================================ */
  .news {
    height: auto;
    padding: 40px 0;
    overflow: hidden;
  }

  .news__container {
    position: relative;
    width: 100%;
    padding: 0 10px;
    height: auto;
  }

  .news__grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 45px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 15px;
    margin-top: 30px;
  }

  /* Стилизация скроллбара */
  .news__grid::-webkit-scrollbar {
    height: 6px;
  }

  .news__grid::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 10px;
  }

  .news__grid::-webkit-scrollbar-thumb {
    background: #5F9EB5;
    border-radius: 10px;
  }

  .news__grid::-webkit-scrollbar-thumb:hover {
    background: #4a7e94;
  }

  .news-card {
    flex: 0 0 calc(25% - 10px);
    min-width: 258px;
    scroll-snap-align: start;
  }

  .news-card__body {
    min-height: 80px;
    padding: 12px;
  }

  .news-card__title {
    font-size: 16px;
  }

  .news__nav--prev {
    display: block;
    position: absolute;
    top: 45%;
    opacity: 0.5;
    z-index: 3;
    left: -15px;
    background: none;
    border: none;
  }

  .news__nav--next {
    display: block;
    position: absolute;
    top: 45%;
    opacity: 0.5;
    z-index: 3;
    right: -15px;
    background: none;
    border: none;
  }

  .media__text {
    font-size: 15px !important;
  }

  /* ============================================
     CONTACT
     ============================================ */
  .contact {
    background: linear-gradient(360deg, #FFFFFF 1.82%, #D9D9D9 100%);
  }

  .contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: "PF BeauSans Pro", var(--font-sans);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0.01em;
    color: #666666;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 20px;
  }

  .footer__logo-row {
    gap: 30px;
  }

  .footer__menu {
    padding-left: 0;
  }

  .footer__contact-link {
    font-size: 14px;
  }

  .footer__contacts {
    width: 40%;
  }
}

@media (max-width: 1000px) {
  .media-content__container {
    padding: 0 10px 0 25px !important;
  }

  .media-content-img__container {
    padding: 0 !important;
  }

  .media-block__grid {
    gap: 0 !important;
  }
}

/* ============================================
   МОБИЛЬНЫЕ УСТРОЙСТВА (< 768px)
   ============================================ */
@media (max-width: 768px) {
  .header__right__column {
    width: 75%;
  }

  .hero {
    position: relative;
    min-height: 310px;
  }

  .hero__container {
    position: relative;
    height: 270px;
    padding: 20px;
  }

  .hero-slider {
    width: 100%;
  }

  .hero-slider__card {
    width: 316px;
    height: 158px;
    padding: 16px;
  }

  .hero-slider__buttom {
    position: absolute;
    left: 42%;
    bottom: 5px;
    margin-bottom: 0;
  }

  .hero-slider__title {
    font-size: 22px;
  }

  .hero-slider__title_small {
    font-size: 14px !important;
  }

  .hero-slider__controls {
    justify-content: center;
    gap: 10px;
  }

  .about {
    padding: 48px 0 0;
  }

  .about__text {
    font-size: 16px;
  }

  .products {
    padding: 40px 0 0;
  }

  .products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 37px;
    overflow-x: inherit;
    overflow-y: inherit;
    justify-items: center;
  }

  .product-card {
    max-width: 285px;
    min-width: 100%;
  }

  .product-card__media {
    max-height: 238px;
  }

  .products__nav {
    display: none;
  }

  .news {
    padding: 40px 20px;
  }

  .news__grid {
    display: grid;
    overflow-x: inherit;
    overflow-y: initial;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    justify-items: center;
  }

  .news-card {
    max-width: 100%;
  }

  .news__nav {
    display: none;
  }

  .media-block__grid {
    grid-template-columns: 1fr !important;
  }

  .media-block__grid > :nth-child(1) {
    order: 1;
  }

  .media-block__grid > :nth-child(2) {
    order: 2;
  }

  .media-block__grid > :nth-child(3) {
    order: 3;
  }

  .media-block__grid > :nth-child(4) {
    order: 2;
  }

  .media-content__container {
    gap: 30px !important;
    padding: 30px !important;
  }
  
  .media__lead {
	text-align: center!important;
  }

  /* ============================================
     CONTACT - ФОРМА В ОДНУ КОЛОНКУ
     ============================================ */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
  }

  .contact-form__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .contact-field--textarea {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .contact-field__control--textarea {
    width: 100%;
    min-height: 153px;
    resize: vertical;
    padding: 10px 12px;
  }

  .contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
  }

  .contact-consent__text {
    flex: 1;
  }

  /* Кнопка отправки */
  .contact-form__submit {
    align-self: center;
    cursor: pointer;
  }

  .contact-field__control {
    font-size: 16px;
  }

  /* ============================================
     FOOTER - АДАПТИВ ДЛЯ МОБИЛЬНЫХ
     ============================================ */
  .footer {
    padding: 30px 0;
  }

  .footer__container {
    gap: 15px;
  }

  .footer__logo-text {
    display: none;
  }

  /* Ряд 2: Меню + Контакты */
  .footer__row--middle {
    flex-direction: column;
    gap: 25px;
  }

  /* Меню в один ряд, раздвинуто по левому и правому краю */
  .footer__menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
    padding-left: 0;
    width: 90%;
    margin: 0 auto;
  }

  .footer__menu-col {
    gap: 8px;
    width: 44%;
  }

  .footer__menu-col:first-child {
    align-items: flex-start;
  }

  .footer__menu-link {
    font-size: 14px;
  }

  .footer__line-mobil {
    display: block;
  }

  /* Контакты: телефоны слева, адрес справа */
  .footer__contacts {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
  }

  .footer__contact-row {
    align-items: flex-start;
    gap: 8px;
    width: 50%;
  }

  .footer__contact-row--phone {
    align-items: flex-start;
  }

  .footer__contact-row--address {
    align-items: flex-start;
    text-align: right;
    width: 50%;
  }

  .footer__contact-icon--phone,
  .footer__contact-icon--address {
    width: 18px;
    height: 18px;
  }

  .footer__contact-phone {
    font-size: 14px;
  }

  .footer__contact-link {
    font-size: 14px;
  }

  /* Черта над контактами */
  .footer__line--bottom {
    margin-top: 5px;
  }

  /* Ряд 3: Копирайт */
  .footer__row--bottom {
    justify-content: center;
  }

  .footer__copy {
    font-size: 9px;
  }
}

/* ============================================
   МОБИЛЬНЫЕ УСТРОЙСТВА (< 544px)
   ============================================ */
@media (max-width: 544px) {
  .header {
    height: 50px;
  }

  .header__call {
    display: none;
  }

  .header__logo-card-bg {
    width: 71.35px;
    height: 47px;
  }

  .header__icon-link--email {
    display: none;
  }

  .header__right__column {
    width: 63%;
    align-items: center;
  }

  .header__icon-link {
    width: 45px;
    height: 36px;
    border: none;
  }

  .header__icon-link-img {
    width: 27px;
  }

  .header__menu-icon {
    width: 24px;
    height: 24px;
  }

  .hero {
    min-height: 220px;
  }

  .hero__container {
    position: relative;
    height: 270px;
    padding: 20px 0;
  }

  .hero-slider__card {
    width: 316px;
    height: 155px;
  }

  .hero-slider__title {
    font-size: 18px;
  }

  .hero-slider__buttom {
    position: absolute;
    left: 0;
    bottom: 0px;
    z-index: 9;
    margin-bottom: 0;
  }

  .section-title {
    font-size: 18px;
    text-align: center;
  }

  .products__to-catalog {
    display: none;
  }

  .products__header {
    justify-content: center;
  }

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

  .products__cta-row {
    text-align: center;
    flex-wrap: nowrap;
  }

  .products__button {
    display: block;
  }

  .button-to-catalog {
    padding: 23px 19px;
    text-transform: uppercase;
  }

  .about__lead {
    font-size: 20px;
  }

  .about__text {
    font-size: 16px;
  }

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

  .news__all {
    display: none;
  }

  .news__header {
    justify-content: center;
  }

  .news__button {
    display: block;
  }

  .button-news__all {
    padding: 10px 15px;
  }

  .footer__menu {
    width: 100%;
    justify-content: flex-start;
  }

  .footer__social {
    width: 60%;
  }

  .footer__logo {
    width: 116px;
    height: 54px;
  }

  .footer__menu-link {
    font-size: 14px;
  }

  .footer__contact-link {
    font-size: 14px;
  }

  .footer__contacts {
    flex-direction: column;
    gap: 15px;
  }

  .footer__contact-icon {
    display: none;
  }

  .footer__contact-row {
    width: 100%;
  }

  .footer__contact-row--address {
    align-items: flex-start;
    text-align: left;
  }

  .footer__contact-row--address .footer__contact-link {
    text-align: left;
  }
}


/* ============================================
       ОСНОВНОЙ КОНТЕНТ (страница новостей)
       ============================================ */
    .news-page {
      padding-top: 100px;
      padding-bottom: 80px;
    }

    .news-page__container {
      display: flex;
      gap: 40px;
      align-items: flex-start;
    }

    /* ========== ASIDE (стили как в catalog_section) ========== */
    .news-sidebar {
      position: relative;
      width: 300px;
      flex-shrink: 0;
      position: sticky;
      top: 165px;
      background: transparent;
    }

    /* Декоративный элемент как в каталоге */
    .sidebar-decor {
      position: absolute;
      top: -100px;
      left: -93%;
      z-index: -1;
      pointer-events: none;
    }

    .sidebar-decor-img {
      display: block;
      max-width: none;
      width: auto;
      height: auto;
      opacity: 0.74;
    }

    /* Блок тегов (кастомный, но в стилистике каталога) */
    .tags-block {
      margin-bottom: 30px;
      padding: 20px 0;
      border-bottom: 1px solid #e0d0df;
    }

    .tags-title {
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 600;
      font-size: 16px;
      line-height: 1.2;
      text-transform: uppercase;
      color: #262626;
      margin-bottom: 20px;
      padding-left: 15px;
      position: relative;
    }

    .tags-title::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 5px;
      background: #C4CACC;
    }

    .tags-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag-item a {
      display: inline-block;
      padding: 8px 16px;
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 500;
      font-size: 14px;
      color: #666666;
      background: #f5f5f5;
      transition: all 0.2s;
    }

    .tag-item a:hover {
      background: var(--color-link-dark-green);
      color: white;
    }

    /* Блок кнопки звонка в стиле catalog-sidebar__btn */
    .sidebar-call {
      margin-bottom: 30px;
    }

    .sidebar-call .button {
      width: 100%;
      justify-content: space-between;
      padding: 0 15px;
      gap: 10px;
      font-size: 14px;
    }

    /* Текстовый блок */
    .sidebar-text {
      padding: 20px 20px 20px 0;
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-size: 14px;
      line-height: 1.5;
      color: #666666;
    }

    .sidebar-text p {
      margin: 0 0 12px;
    }

    .sidebar-text p:last-child {
      margin-bottom: 0;
    }

    /* Кнопки как в catalog-sidebar__actions */
    .sidebar-actions {
      padding: 30px 0;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .sidebar-btn {
      width: 100%;
      min-height: 48px;
      font-size: 14px;
      justify-content: space-between;
      padding: 0 15px;
      gap: 10px;
    }

    /* ========== СЕТКА НОВОСТЕЙ (кладка с главной) ========== */
    .news-content {
      flex: 1;
    }

    .breadcrumbs {
      margin-bottom: 30px;
      font-size: 14px;
      color: #666;
    }

    .breadcrumbs__link {
      color: #888;
    }

    .breadcrumbs__separator {
      margin: 0 5px;
      color: #ccc;
    }

    .news-title {
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 600;
      font-size: 24px;
      line-height: 1.1;
      text-transform: uppercase;
      color: var(--color-primary);
      margin: 0 0 40px;
      padding-bottom: 20px;
      border-bottom: 1px solid #eee;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 30px;
    }


    .news-card {
      background: transparent;
      border-bottom: 1px solid #66666630;
      padding-bottom: 15px;
      transition: all 0.2s;
    }

    .news-card:hover {
      background: #ffffff;
      box-shadow: 5px 5px 30px #d9d9d9, -5px -5px 30px #ffffff;
      border-bottom: 1px solid #666666;
    }

    .news-card__media {
      width: 100%;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .news-card__img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .news-card__body {
      padding: 8px 8px 0;
    }

    .news-card__tag {
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 300;
      font-size: 14px;
      line-height: 1.4;
      color: #8e1f86;
      display: inline-block;
      margin-bottom: 8px;
    }

    .news-card__title {
      margin: 0 0 12px;
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 500;
      font-size: 16px;
      line-height: 1.4;
      color: #262626;
    }

    .news-card__text {
      margin: 0;
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 300;
      font-size: 14px;
      line-height: 1.45;
      color: #4a4a4a;
    }

    .news-more {
      margin-top: 48px;
      text-align: center;
    }

/* ============================================
       АДАПТИВ
       ============================================ */
    @media (max-width: 1100px) {
      .news-grid {
        grid-template-columns: repeat(4, 1fr);
      }
    }


@media (max-width: 1020px) {
      .news-page {
		padding-top: 20px;
    }
}
    @media (max-width: 900px) {
      .news-page__container {
        flex-direction: column;
      }

    }

    @media (max-width: 768px) {
      .header__contacts, .header__menu {
        display: none;
      }
      .header__icon-link {
        display: flex;
      }
      .header__right__column {
        margin-bottom: 0;
      }

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

    }

    @media (max-width: 544px) {
	.news-grid {
        grid-template-columns: 1fr;
      }
	  .news-card__img {
      height: 100%;
    }
      .news-title {
        font-size: 22px;
        text-align: center;
      }
      .sidebar-actions {
        flex-direction: column;
      }
      .sidebar-actions .sidebar-btn {
        width: 100%;
      }

    }


    /* ============================================
       УНИКАЛЬНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ДЕТАЛЬНОЙ НОВОСТИ
       ============================================ */
    .detail-page {
      padding-top: 130px;
      padding-bottom: 80px;
    }

    .detail-page__container {
      display: flex;
      gap: 40px;
      align-items: flex-start;
    }

    /* Боковая панель (переиспользуем структуру из catalog_section, но убираем лишнее) */
    .detail-sidebar {
      position: relative;
      width: 300px;
      flex-shrink: 0;
      position: sticky;
      top: 165px;
    }

    /* Декоративный элемент как в каталоге */
    .detail-sidebar .catalog-nav__decor--left {
      position: absolute;
      top: -220px;
      left: -93%;
      z-index: -1;
      pointer-events: none;
    }

    /* Блок тегов новостей */
    .tags-block {
      margin-bottom: 30px;
      padding: 0 0 20px 0;
      border-bottom: 1px solid #e0d0df;
    }

    .tags-title {
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 600;
      font-size: 16px;
      line-height: 1.2;
      text-transform: uppercase;
      color: #262626;
      margin-bottom: 20px;
      padding-left: 15px;
      position: relative;
    }

    .tags-title::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 5px;
      background: #C4CACC;
    }

    .tags-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .tag-item a {
      display: inline-block;
      padding: 8px 16px;
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 500;
      font-size: 14px;
      color: #666666;
      background: #f5f5f5;
      transition: all 0.2s;
    }

    .tag-item a:hover {
      background: var(--color-link-dark-green);
      color: white;
    }

    /* Текстовый блок */
    .sidebar-text {
      padding: 20px 20px 20px 0;
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-size: 14px;
      line-height: 1.5;
      color: #666666;
    }

    .sidebar-text p {
      margin: 0 0 12px;
    }

    .sidebar-text p:last-child {
      margin-bottom: 0;
    }

    /* КНОПКИ В САЙДБАРЕ — ТОЧНО КАК В КАТАЛОГЕ */
    .detail-sidebar .catalog-sidebar__actions {
      padding: 30px 0;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .detail-sidebar .catalog-sidebar__btn {
      width: 100%;
      min-height: 48px;
      font-size: 14px;
      justify-content: space-between;
      padding: 0 15px;
      gap: 10px;
    }

    /* ОСНОВНОЙ КОНТЕНТ */
    .detail-content {
      flex: 1;
    }

    .back-link {
      margin-bottom: 20px;
    }

    .detail-title {    
		font-family: "PF BeauSans Pro", var(--font-sans);
		font-weight: 600;
		font-size: 24px;
		line-height: 1.1;
		text-transform: uppercase;
		color: var(--color-primary);
		margin: 0 0 40px;
		padding-bottom: 20px;
		border-bottom: 1px solid #eee;
		-webkit-text-stroke: 0px black;
		text-shadow: none;
		
	}

    .detail-meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px;
      margin-bottom: 25px;
      padding-bottom: 20px;
      border-bottom: 1px solid #eee;
    }

    .detail-date {
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-size: 14px;
      color: #888;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .detail-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .detail-tag {

      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 400;
      font-size: 12px;
      color: var(--color-primary);

    }

    .detail-image {
      margin-bottom: 30px;
      overflow: hidden;
    }

    .detail-image img {
      width: 100%;
      max-height: 350px;
      object-fit: cover;
    }

    .detail-text {
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-size: 16px;
      line-height: 1.65;
      color: #333;
    }

    .detail-text p {
      margin-bottom: 20px;
    }

    .detail-text h2 {
      font-size: 22px;
      margin: 30px 0 15px;
      color: var(--color-link-dark-green);
    }

    .detail-text h3 {
      font-size: 18px;
      margin: 25px 0 12px;
      color: #444;
    }

    .detail-text ul,
    .detail-text ol {
      margin: 0 0 20px 20px;
      padding-left: 10px;
    }

    .detail-text li {
      margin-bottom: 8px;
    }

    /* НАВИГАЦИЯ МЕЖДУ НОВОСТЯМИ (вместо "поделиться") */
    .news-navigation {
      margin-top: 40px;
      padding-top: 30px;
      border-top: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .news-nav-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 500;
      font-size: 15px;
      color: var(--color-link-dark-green);
      transition: all 0.2s;
      padding: 10px 0;
    }

    .news-nav-link--prev {
      margin-right: auto;
    }

    .news-nav-link--next {
      margin-left: auto;
    }

    .news-nav-link:hover {
      color: #358393;
      gap: 15px;
    }

    .news-nav-link.disabled {
      opacity: 0.4;
      pointer-events: none;
      cursor: default;
    }

    /* Другие новости */
    .other-news {
      margin-top: 60px;
    }

    .other-news__title {
      font-family: "PF BeauSans Pro", var(--font-sans);
      font-weight: 600;
      font-size: 22px;
      color: #262626;
      margin-bottom: 25px;
      padding-bottom: 12px;
      border-bottom: 2px solid var(--color-link-dark-green);
      display: inline-block;
    }

    .other-news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 25px;
      margin-top: 20px;
    }

    .other-news-card {
      background: transparent;
      border-bottom: 1px solid #66666630;
      padding-bottom: 12px;
      transition: all 0.2s;
    }

    .other-news-card:hover {
      background: #ffffff;
      box-shadow: 5px 5px 30px #d9d9d9, -5px -5px 30px #ffffff;
      border-bottom: 1px solid #666666;
    }

    .other-news-card__img {
      width: 100%;
      height: 140px;
      object-fit: cover;
      margin-bottom: 10px;
    }

    .other-news-card__title {
      font-size: 15px;
      font-weight: 600;
      margin: 0 0 8px;
      line-height: 1.4;
      color: #262626;
    }

    .other-news-card__date {
      font-size: 12px;
      color: #999;
    }

    /* ============================================
       АДАПТИВ
       ============================================ */
	@media (max-width: 1115px) {
	  .detail-sidebar {
		display: none;
	  }
    }
    @media (max-width: 1100px) {
      .other-news-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 900px) {
      .detail-page__container {
        flex-direction: column;
      }
      .detail-sidebar {
        width: 100%;
        position: static;
      }
      .detail-sidebar .catalog-sidebar__actions {
        flex-direction: row;
        flex-wrap: wrap;
      }
      .detail-sidebar .catalog-sidebar__btn {
        width: auto;
        flex: 1;
      }
    }

    @media (max-width: 768px) {
      .detail-page {
        padding-top: 80px;
      }
      .detail-title {
        font-size: 24px;
      }
      .other-news-grid {
        grid-template-columns: 1fr;
      }
      .news-navigation {
        flex-direction: column;
        align-items: center;
        gap: 15px;
      }
      .news-nav-link--prev,
      .news-nav-link--next {
        margin: 0;
      }
    }

    @media (max-width: 544px) {
      .detail-title {
        font-size: 20px;
      }
      .detail-sidebar .catalog-sidebar__actions {
        flex-direction: column;
      }
      .detail-sidebar .catalog-sidebar__btn {
        width: 100%;
      }
      .detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }
    }


@media (max-width: 768px) {
    .hero {
        overflow: visible;
    }
	
		.hero-slider__slide {
		transform: translateY(0px);
	}
	
	.hero-slider__button-wrap {
		position: absolute;
		top: 147px;
		left: 50%;
	}
	
	.hero-slider__title {
        font-size: 24px;
    }
	
	.hero-slider__title_small {
        font-size: 15px !important;
    }
	
	.button--hero {
		width: 203px;
		height: 58px;
		font-size: 20px;
	}
	
	.hero-slider__text {
		margin: 5px 0;
	}
}

@media (max-width: 544px) {
	.hero-slider__button-wrap {
		position: absolute;
		top: 174px;
		left: 20px;
	}
	
	
	.hero-slider__title {
        font-size: 23px;
    }
	
	
	/*Добавлен класс в слайдере в тег <p> в карточке слайдера для текста */
	.hero-slider__text {
		margin: 5px 0;
	}
	
	.about {
        padding: 70px 0 0;
    }
	
}

/* ARTICLES */
.news-grid-articles{
display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.article {
 min-width: 100%!important;
}

@media (max-width: 1100px) {
    .news-grid-articles {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 960px) {
    .news-grid-articles {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .news-grid-articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 544px) {
    .news-grid-articles {
        grid-template-columns: repeat(1, 1fr);
    }
}

.products__cta-row {
    position: relative;
    z-index: 1;
}