/*
 Theme Name:   Kadence Child - Химстрой
 Theme URI:    https://himstroy.com
 Description:  Дочерняя тема Kadence для сайта Химстрой (строго по ТЗ v1.0)
 Author:       Demir
 Author URI:   https://himstroy.com
 Template:     kadence
 Version:      2.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  kadence-child
*/

.content-home  {
	margin-top: 0 !important;
}

.entry-content-home  {
	padding: 0 !important;
}

.align-justify {
    text-align: justify;
	margin: 0 !important;
}

/* ═══════════════════════════════════════════════════
   ХИМСТРОЙ — единый CSS для всех блоков главной
   Порядок на странице:
   1. .prod      — Продукция              (светлый #F1F0EB)
   2. .props     — Ключевые свойства      (тёмный  #2D3436)
   3. .apply     — Где применяется        (светлый #F1F0EB)
   4. .hww       — Как мы работаем        (тёмный  #2D3436)
   5. .docs      — Документация           (светлый #F1F0EB)
   6. .pres      — Презентации            (тёмный  #2D3436)
   7. .faq       — Частые вопросы         (светлый #F1F0EB)
═══════════════════════════════════════════════════ */

/* ── Сброс и переменные ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #047148;
  --green-mid:   #349C72;
  --green-deep:  #13612e;
  --slate:       #5A656D;
  --slate-light: #889491;
  --mist:        #A9B5AE;
  --bg-light:    #F1F0EB;
  --white:       #FFFFFF;
  --charcoal:    #2D3436;
}

/* ── Анимация появления (общая) ── */
@keyframes stepIn {
  to { opacity: 1; transform: translateY(0); }
}


/* ═══════════════════════════════════════════
   ОБЩИЕ ПАТТЕРНЫ (переиспользуются во всех блоках)
═══════════════════════════════════════════ */

/* Секция */
.prod, .apply, .docs, .faq {
  padding: 80px 0 90px;
}

.props, .hww, .pres {
  padding: 80px 24px 90px;
}

.prod, .props, .apply, .hww,
.docs, .pres, .faq {
  font-family: 'PT Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Диагональная текстура на тёмных секциях */
.props::before, .hww::before, .pres::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
}

/* Диагональная текстура на светлых секциях */
.prod::before, .apply::before, .docs::before, .faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0,0,0,0.022) 0px,
    rgba(0,0,0,0.022) 1px,
    transparent 1px,
    transparent 12px
  );
  pointer-events: none;
}

/* Glow-акцент */
.prod::after, .props::after, .apply::after, .hww::after,
.docs::after, .pres::after, .faq::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  pointer-events: none;
}

/* Inner-контейнер */
.prod__inner, .props__inner, .apply__inner, .hww__inner,
.docs__inner, .pres__inner, .faq__inner {
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Шапка секции */
.prod__header, .props__header, .apply__header, .hww__header,
.docs__header, .pres__header, .faq__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  gap: 24px;
  flex-wrap: wrap;
}

/* Лейбл над заголовком */
.prod__label, .props__label, .apply__label, .hww__label,
.docs__label, .pres__label, .faq__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.prod__label::before, .prod__label::after,
.props__label::before, .props__label::after,
.apply__label::before, .apply__label::after,
.hww__label::before, .hww__label::after,
.docs__label::before, .docs__label::after,
.pres__label::before, .pres__label::after,
.faq__label::before, .faq__label::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--green-dark);
}
.prod__label::before, .props__label::before,
.apply__label::before, .hww__label::before,
.docs__label::before, .pres__label::before,
.faq__label::before { width: 32px; }
.prod__label::after, .props__label::after,
.apply__label::after, .hww__label::after,
.docs__label::after, .pres__label::after,
.faq__label::after  { width: 20px; }

/* Заголовок секции */
.prod__title, .props__title, .apply__title, .hww__title,
.docs__title, .pres__title, .faq__title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.prod__title em, .props__title em,
.apply__title em, .hww__title em,
.docs__title em, .pres__title em,
.faq__title em { font-style: normal; }

/* Подзаголовок справа */
.prod__subtitle, .props__subtitle,
.apply__subtitle, .hww__subtitle,
.docs__subtitle, .pres__subtitle,
.faq__subtitle {
  font-size: 15px;
  line-height: 1.6;
  max-width: 340px;
  text-align: right;
}

/* Footer секции */
.prod__footer, .props__footer, .apply__footer, .hww__footer,
.docs__footer, .pres__footer, .faq__footer {
  margin-top: 56px;
  display: flex;
  align-items: center;

  /* ВАЖНО: вместо gap (который даёт row-gap при переносе) */
  column-gap: 12px;
  row-gap: 0;

  padding-top: 40px;

  /* ВАЖНО: чтобы CTA не падала вниз на десктопе */
  flex-wrap: nowrap;
}

.props__footer, .apply__footer, .hww__footer,
.pres__footer, .faq__footer {
  justify-content: center;
}

/* Иконка в footer */
.prod__footer-icon, .props__footer-icon,
.apply__footer-icon, .hww__footer-icon,
.docs__footer-icon, .pres__footer-icon,
.faq__footer-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Текст в footer */
.prod__footer p,
.props__footer-text,
.apply__footer-text,
.docs__footer p,
.pres__footer-text,
.faq__footer p {
  font-size: 14px;
  line-height: 1.55;
  min-width: 0; /* чтобы текст мог сжиматься внутри строки */
}

/* CTA кнопка */
.props__cta, .apply__cta, .hww__cta,
.docs__cta, .pres__cta, .faq__cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border: 1px solid var(--green-mid);
  transition: background 0.25s, box-shadow 0.25s;
}
.props__cta:hover, .apply__cta:hover, .hww__cta:hover,
.docs__cta:hover, .pres__cta:hover, .faq__cta:hover {
  background: var(--green-mid);
  box-shadow: 0 4px 20px rgba(52,156,114,0.35);
  color: var(--white);
}
.props__cta i, .apply__cta i, .hww__cta i,
.docs__cta i, .pres__cta i, .faq__cta i { font-size: 13px; }


/* ═══════════════════════════════════════════
   1. ПРОДУКЦИЯ — светлый фон
═══════════════════════════════════════════ */
.prod {
  background: var(--bg-light);
}
.prod::after {
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(4,113,72,0.1) 0%, transparent 70%);
}

.prod__label  { color: var(--green-dark); }
.prod__title  { color: var(--charcoal); }
.prod__title em { color: var(--green-dark); }
.prod__subtitle { color: var(--slate); }

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

.prod__card {
  background: var(--white);
  border: 1px solid rgba(4,113,72,0.1);
  border-top: 3px solid var(--green-dark);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-top-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(24px);
  animation: stepIn 0.55s ease forwards;
  cursor: default;
}
.prod__card:nth-child(1) { animation-delay: 0.05s; }
.prod__card:nth-child(2) { animation-delay: 0.18s; }
.prod__card:nth-child(3) { animation-delay: 0.31s; }
.prod__card:hover {
  border-top-color: var(--green-mid);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(4,113,72,0.12);
  z-index: 2;
}

.prod__card-num {
  position: absolute;
  top: 14px; right: 22px;
  font-family: 'Oswald', sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: rgba(4,113,72,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s;
}
.prod__card:hover .prod__card-num { color: rgba(4,113,72,0.1); }

.prod__icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.3s;
}
.prod__icon-wrap i {
  font-size: 26px;
  color: var(--green-dark);
  transition: color 0.3s, transform 0.3s;
}
.prod__card:hover .prod__icon-wrap {
  border-color: var(--green-mid);
  background: var(--green-dark);
  box-shadow: 0 0 0 6px rgba(4,113,72,0.1), 0 12px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}
.prod__card:hover .prod__icon-wrap i { color: var(--white); transform: scale(1.1); }

.prod__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-dark);
  border: 1px solid rgba(4,113,72,0.25);
  padding: 4px 10px;
  margin-bottom: 14px;
  width: fit-content;
}

.prod__card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 16px;
}

.prod__card-desc {
  font-size: 13.5px;
  color: var(--slate);
  line-height: 1.7;
  flex: 1;
}
.prod__card-desc strong { color: var(--charcoal); font-weight: 700; }

.prod__card-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.prod__card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  text-decoration: none;
  transition: color 0.3s, gap 0.3s;
}
.prod__card:hover .prod__card-link { color: var(--green-mid); gap: 12px; }
.prod__card-link i { font-size: 11px; }

.prod__footer {
  border-top: 2px solid rgba(4,113,72,0.15);
}
.prod__footer-icon {
  background: rgba(4,113,72,0.08);
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
}
.prod__footer p { color: var(--slate); }
.prod__footer p strong { color: var(--charcoal); }


/* ═══════════════════════════════════════════
   2. КЛЮЧЕВЫЕ СВОЙСТВА — тёмный фон
═══════════════════════════════════════════ */
.props {
  background: var(--charcoal);
}
.props::after {
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(4,113,72,0.18) 0%, transparent 70%);
}

.props__label  { color: var(--green-mid); }
.props__title  { color: var(--white); }
.props__title em { color: var(--green-mid); }
.props__subtitle { color: var(--mist); }

.props__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.props__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: stretch;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(52,156,114,0.12);
  border-left: 3px solid var(--green-deep);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: stepIn 0.55s ease forwards;
  transition: background 0.3s, border-left-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.props__item:nth-child(1) { animation-delay: 0.05s; }
.props__item:nth-child(2) { animation-delay: 0.18s; }
.props__item:nth-child(3) { animation-delay: 0.31s; }
.props__item:nth-child(4) { animation-delay: 0.44s; }
.props__item:nth-child(5) { animation-delay: 0.57s; }
.props__item:hover {
  background: rgba(4,113,72,0.09);
  border-left-color: var(--green-mid);
  transform: translateX(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.props__icon-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4,113,72,0.1);
  border-right: 1px solid rgba(52,156,114,0.15);
  transition: background 0.3s;
}
.props__item:hover .props__icon-cell { background: var(--green-dark); }
.props__icon-cell i {
  font-size: 24px;
  color: var(--green-mid);
  transition: color 0.3s, transform 0.3s;
}
.props__item:hover .props__icon-cell i { color: var(--white); transform: scale(1.1); }

.props__text { padding: 20px 24px; }

.props__item-title {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.props__item-desc {
  font-size: 13.5px;
  color: var(--mist);
  line-height: 1.6;
}
.props__item-desc strong { color: var(--white); font-weight: 700; }

.props__footer {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.props__footer-icon {
  background: rgba(4,113,72,0.15);
  border: 1px solid var(--green-dark);
  color: var(--green-mid);
}
.props__footer-text { color: var(--slate-light); }
.props__footer-text strong { color: var(--white); }


/* ═══════════════════════════════════════════
   3. ГДЕ ПРИМЕНЯЕТСЯ — светлый фон (2 в ряд всегда)
═══════════════════════════════════════════ */
.apply {
  background: var(--bg-light);
}
.apply::after {
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(4,113,72,0.1) 0%, transparent 70%);
}

.apply__label  { color: var(--green-dark); }
.apply__title  { color: var(--charcoal); }
.apply__title em { color: var(--green-dark); }
.apply__subtitle { color: var(--slate); }

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

.apply__tile {
  background: var(--white);
  border: 1px solid rgba(4,113,72,0.1);
  border-left: 3px solid var(--green-dark);
  padding: 26px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
  animation: stepIn 0.55s ease forwards;
  transition: background 0.3s, border-left-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.apply__tile:nth-child(1) { animation-delay: 0.05s; }
.apply__tile:nth-child(2) { animation-delay: 0.15s; }
.apply__tile:nth-child(3) { animation-delay: 0.25s; }
.apply__tile:nth-child(4) { animation-delay: 0.35s; }
.apply__tile:nth-child(5) { animation-delay: 0.45s; }
.apply__tile:nth-child(6) { animation-delay: 0.55s; }
.apply__tile:nth-child(7) { animation-delay: 0.65s; }
.apply__tile:nth-child(8) { animation-delay: 0.75s; }
.apply__tile:hover {
  border-left-color: var(--green-mid);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(4,113,72,0.1);
  z-index: 2;
}

.apply__icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.3s;
}
.apply__icon-wrap i {
  font-size: 20px;
  color: var(--green-dark);
  transition: color 0.3s, transform 0.3s;
}
.apply__tile:hover .apply__icon-wrap {
  border-color: var(--green-mid);
  background: var(--green-dark);
  box-shadow: 0 0 0 5px rgba(4,113,72,0.1);
  transform: translateY(-4px);
}
.apply__tile:hover .apply__icon-wrap i { color: var(--white); transform: scale(1.1); }

.apply__tile-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.35;
  padding-top: 3px;
}
.apply__tile--w2 .apply__tile-title { font-size: 16px; }

.apply__footer {
  border-top: 2px solid rgba(4,113,72,0.15);
}
.apply__footer-icon {
  background: rgba(4,113,72,0.08);
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
}
.apply__footer-text { color: var(--slate); }
.apply__footer-text strong { color: var(--charcoal); }


/* ═══════════════════════════════════════════
   4. КАК МЫ РАБОТАЕМ — тёмный фон
═══════════════════════════════════════════ */
.hww {
  background: var(--charcoal);
}
.hww::after {
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(4,113,72,0.18) 0%, transparent 70%);
}

.hww__label  { color: var(--green-mid); }
.hww__title  { color: var(--white); }
.hww__title em { color: var(--green-mid); }
.hww__subtitle { color: var(--mist); }

.hww__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.hww__steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(10% + 0px);
  right: calc(10% + 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-dark) 100%);
  z-index: 0;
}

.hww__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
  cursor: default;
  opacity: 0;
  transform: translateY(24px);
  animation: stepIn 0.55s ease forwards;
}
.hww__step:nth-child(1) { animation-delay: 0.05s; }
.hww__step:nth-child(2) { animation-delay: 0.18s; }
.hww__step:nth-child(3) { animation-delay: 0.31s; }
.hww__step:nth-child(4) { animation-delay: 0.44s; }
.hww__step:nth-child(5) { animation-delay: 0.57s; }

.hww__icon-wrap {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.hww__icon-wrap::before {
  content: attr(data-num);
  position: absolute;
  top: -6px; right: -6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--green-dark);
  border: 2px solid var(--charcoal);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hww__icon-wrap i {
  font-size: 28px;
  color: var(--green-mid);
  transition: color 0.3s, transform 0.3s;
}
.hww__step:hover .hww__icon-wrap {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 6px rgba(52,156,114,0.12), 0 12px 32px rgba(0,0,0,0.45);
  transform: translateY(-4px);
}
.hww__step:hover .hww__icon-wrap i { color: var(--white); transform: scale(1.1); }

.hww__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px; right: -2px;
  width: 18px; height: 18px;
  border-right: 2px solid var(--green-mid);
  border-top: 2px solid var(--green-mid);
  transform: rotate(45deg);
  opacity: 0.5;
  z-index: 2;
}

.hww__step-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}

.hww__step-desc {
  font-size: 12.5px;
  color: var(--mist);
  line-height: 1.65;
}
.hww__step-desc strong { color: var(--green-mid); font-weight: 700; }

.hww__footer {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hww__footer-icon {
  background: rgba(4,113,72,0.15);
  border: 1px solid var(--green-dark);
  color: var(--green-mid);
}
.hww__footer-text { color: var(--slate-light); }
.hww__footer-text strong { color: var(--white); font-weight: 700; }

.hww__cta { margin-left: auto; }


/* ═══════════════════════════════════════════
   5. ДОКУМЕНТАЦИЯ — светлый фон
═══════════════════════════════════════════ */
.docs {
  background: var(--bg-light);
}
.docs::after {
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(4,113,72,0.1) 0%, transparent 70%);
}

.docs__label   { color: var(--green-dark); }
.docs__title   { color: var(--charcoal); }
.docs__title em { color: var(--green-dark); }
.docs__subtitle { color: var(--slate); }

.docs__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.docs__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid rgba(4,113,72,0.1);
  border-left: 3px solid var(--green-dark);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: stepIn 0.55s ease forwards;
  transition: background 0.3s, border-left-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.docs__item:nth-child(1) { animation-delay: 0.05s; }
.docs__item:nth-child(2) { animation-delay: 0.15s; }
.docs__item:nth-child(3) { animation-delay: 0.25s; }
.docs__item:nth-child(4) { animation-delay: 0.35s; }
.docs__item:nth-child(5) { animation-delay: 0.45s; }
.docs__item:hover {
  border-left-color: var(--green-mid);
  transform: translateX(6px);
  box-shadow: 0 6px 24px rgba(4,113,72,0.09);
}

.docs__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: rgba(4,113,72,0.06);
  border-right: 1px solid rgba(4,113,72,0.1);
  transition: background 0.3s;
}
.docs__item:hover .docs__item-icon { background: var(--green-dark); }
.docs__item-icon i {
  font-size: 22px;
  color: var(--green-dark);
  transition: color 0.3s, transform 0.3s;
}
.docs__item:hover .docs__item-icon i { color: var(--white); transform: scale(1.1); }

.docs__item-text {
  padding: 18px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.3;
  transition: color 0.3s;
}
.docs__item:hover .docs__item-text { color: var(--green-deep); }

.docs__footer { border-top: 2px solid rgba(4,113,72,0.15); }
.docs__footer-icon {
  background: rgba(4,113,72,0.08);
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
}
.docs__footer p { color: var(--slate); }
.docs__footer p strong { color: var(--charcoal); }


/* ═══════════════════════════════════════════
   6. ПРЕЗЕНТАЦИИ — тёмный фон
═══════════════════════════════════════════ */
.pres {
  background: var(--charcoal);
}
.pres::after {
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(4,113,72,0.18) 0%, transparent 70%);
}

.pres__label   { color: var(--green-mid); }
.pres__title   { color: var(--white); }
.pres__title em { color: var(--green-mid); }
.pres__subtitle { color: var(--mist); }

.pres__card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(52,156,114,0.15);
  border-left: 4px solid var(--green-dark);
  padding: 36px 40px;
  opacity: 0;
  transform: translateY(24px);
  animation: stepIn 0.55s 0.05s ease forwards;
  transition: background 0.3s, border-left-color 0.3s, box-shadow 0.3s;
}
.pres__card:hover {
  background: rgba(4,113,72,0.09);
  border-left-color: var(--green-mid);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

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

.pres__pdf-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 2px solid var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.pres__pdf-icon i {
  font-size: 28px;
  color: var(--green-mid);
  transition: color 0.3s;
}
.pres__card:hover .pres__pdf-icon {
  border-color: var(--green-mid);
  background: var(--green-dark);
  box-shadow: 0 0 0 6px rgba(52,156,114,0.12);
}
.pres__card:hover .pres__pdf-icon i { color: var(--white); }

.pres__card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-mid);
  border: 1px solid rgba(52,156,114,0.28);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.pres__card-name {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.pres__card-desc {
  font-size: 13.5px;
  color: var(--mist);
  line-height: 1.6;
  max-width: 560px;
}

.pres__download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid var(--green-mid);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s, box-shadow 0.25s, gap 0.25s;
}
.pres__download:hover {
  background: var(--green-mid);
  box-shadow: 0 4px 20px rgba(52,156,114,0.4);
  color: var(--white);
  gap: 14px;
}
.pres__download i { font-size: 16px; }

.pres__footer { border-top: 1px solid rgba(255,255,255,0.07); }
.pres__footer-icon {
  background: rgba(4,113,72,0.15);
  border: 1px solid var(--green-dark);
  color: var(--green-mid);
}
.pres__footer-text { color: var(--slate-light); }
.pres__footer-text strong { color: var(--white); }


/* ═══════════════════════════════════════════
   7. FAQ — светлый фон
═══════════════════════════════════════════ */
.faq {
  background: var(--bg-light);
}
.faq::after {
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(4,113,72,0.1) 0%, transparent 70%);
}

.faq__label   { color: var(--green-dark); }
.faq__title   { color: var(--charcoal); }
.faq__title em { color: var(--green-dark); }
.faq__subtitle { color: var(--slate); }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq__item {
  background: var(--white);
  border: 1px solid rgba(4,113,72,0.1);
  border-left: 3px solid var(--green-dark);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: stepIn 0.55s ease forwards;
  transition: border-left-color 0.3s, box-shadow 0.3s;
}
.faq__item:nth-child(1) { animation-delay: 0.05s; }
.faq__item:nth-child(2) { animation-delay: 0.18s; }
.faq__item:nth-child(3) { animation-delay: 0.31s; }
.faq__item.is-open,
.faq__item:hover {
  border-left-color: var(--green-mid);
  box-shadow: 0 6px 24px rgba(4,113,72,0.09);
}

.faq__question {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr 48px;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-family: inherit;
  transition: background 0.3s;
}
.faq__question:hover { background: rgba(4,113,72,0.03); }
.faq__item.is-open .faq__question { background: rgba(4,113,72,0.04); }

.faq__q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  background: rgba(4,113,72,0.06);
  border-right: 1px solid rgba(4,113,72,0.1);
  transition: background 0.3s;
  min-height: 64px;
}
.faq__item.is-open .faq__q-icon,
.faq__question:hover .faq__q-icon { background: var(--green-dark); }
.faq__q-icon i {
  font-size: 20px;
  color: var(--green-dark);
  transition: color 0.3s;
}
.faq__item.is-open .faq__q-icon i,
.faq__question:hover .faq__q-icon i { color: var(--white); }

.faq__q-text {
  padding: 20px 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.3;
}

.faq__q-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  color: var(--green-dark);
  font-size: 14px;
  transition: transform 0.3s, color 0.3s;
  padding: 0 16px;
}
.faq__item.is-open .faq__q-toggle {
  transform: rotate(180deg);
  color: var(--green-mid);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq__item.is-open .faq__answer { max-height: 300px; }

.faq__answer-inner {
  padding: 18px 24px 24px 64px;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
  border-top: 1px solid rgba(4,113,72,0.08);
}
.faq__answer-inner strong { color: var(--charcoal); font-weight: 700; }

.faq__footer { border-top: 2px solid rgba(4,113,72,0.15); }
.faq__footer-icon {
  background: rgba(4,113,72,0.08);
  border: 1px solid var(--green-dark);
  color: var(--green-dark);
}
.faq__footer p { color: var(--slate); }
.faq__footer p strong { color: var(--charcoal); }


/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Продукция */
  .prod__grid { grid-template-columns: 1fr; }
  .prod__card:hover { transform: none; box-shadow: none; }
  .prod__header { flex-direction: column; }
  .prod__subtitle { text-align: left; max-width: 100%; }

  /* Свойства */
  .props__header { flex-direction: column; }
  .props__subtitle { text-align: left; max-width: 100%; }
  .props__item:hover { transform: none; }

  /* Применение */
  .apply__tile:hover { transform: none; box-shadow: none; }
  .apply__header { flex-direction: column; }
  .apply__subtitle { text-align: left; max-width: 100%; }

  /* Как работаем */
  .hww__steps { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .hww__steps::before { display: none; }
  .hww__step:not(:last-child)::after { display: none; }
  .hww__step:nth-child(5) { grid-column: 1 / -1; }
  .hww__header { flex-direction: column; }
  .hww__subtitle { text-align: left; max-width: 100%; }

  /* Документация */
  .docs__header { flex-direction: column; }
  .docs__subtitle { text-align: left; max-width: 100%; }
  .docs__item:hover { transform: none; box-shadow: none; }

  /* Презентации */
  .pres__header { flex-direction: column; }
  .pres__subtitle { text-align: left; max-width: 100%; }
  .pres__card { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .pres__download { width: 100%; justify-content: center; }

  /* FAQ */
  .faq__header { flex-direction: column; }
  .faq__subtitle { text-align: left; max-width: 100%; }
}

@media (max-width: 560px) {
  /* ВАЖНО: на мобиле возвращаем перенос в футерах */
  .prod__footer, .props__footer, .apply__footer, .hww__footer,
  .docs__footer, .pres__footer, .faq__footer {
    flex-wrap: wrap;
  }

  /* Свойства */
  .props__item { grid-template-columns: 60px 1fr; }
  .props__icon-cell i { font-size: 18px; }
  .props__cta { margin-left: 0; width: 100%; justify-content: center; }

  /* Применение (оставляем 2 колонки) */
  .apply__cta { margin-left: 0; width: 100%; justify-content: center; }

  /* Как работаем */
  .hww__steps { grid-template-columns: 1fr; gap: 28px; }
  .hww__step { flex-direction: row; text-align: left; gap: 20px; padding: 0; }
  .hww__icon-wrap { flex-shrink: 0; margin-bottom: 0; }
  .hww__step:nth-child(5) { grid-column: auto; }
  .hww__cta { margin-left: 0; width: 100%; justify-content: center; }

  /* Документация */
  .docs__item { grid-template-columns: 52px 1fr; }
  .docs__item-icon i { font-size: 18px; }
  .docs__cta { margin-left: 0; width: 100%; justify-content: center; }

  /* Презентации */
  .pres__card-left { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pres__cta { margin-left: 0; width: 100%; justify-content: center; }

  /* FAQ */
  .faq__question { grid-template-columns: 52px 1fr 44px; }
  .faq__answer-inner { padding-left: 20px; }
  .faq__cta { margin-left: 0; width: 100%; justify-content: center; }
}