/*
Theme Name: STK Potok Child
Template: generatepress
Version: 1.1
Author: Spirit Digital
Description: Child theme для stk-potok.spiritdigital.ru — Tilda 1:1 port
*/

/* === DESIGN SYSTEM === */
:root {
  /* Палитра Тильды 1-в-1 */
  --c-orange:        #ff8115;
  --c-orange-hover:  #ff8725;
  --c-orange-active: #d26c19;
  --c-blue-light:    #d6e7f5;
  --c-blue-light-2:  #e8f0fa;
  --c-blue-gray:     #94aecc;
  --c-text:          #161616;
  --c-text-2:        #303030;
  --c-muted:         #717171;
  --c-bg-section:    #fcf9f9;
  --c-dark:          #2c2c2c;
  --c-white:         #ffffff;

  --font-main: 'Manrope', Arial, sans-serif;
  --font-alt:  'Onest', Arial, sans-serif;

  --font-size-base: 16px;
  --font-size-h1: clamp(32px, 4.8vw, 56px);
  --font-size-h2: clamp(24px, 2.8vw, 36px);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-1: 0 2px 8px rgba(0,0,0,.04);
  --shadow-2: 0 6px 24px rgba(0,0,0,.08);

  --container-width: 1280px;
  --section-py: 72px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  font-weight: 400;
  color: var(--c-text);
  line-height: 1.55;
  background: #fff;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
input, textarea, select { font: inherit; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 800; line-height: 1.15; color: var(--c-text); }
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: 20px; font-weight: 700; }
.accent { color: var(--c-orange); }
.text-muted { color: var(--c-muted); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--c-orange);
  color: #fff;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.btn:hover { background: var(--c-orange-hover); }
.btn:active { background: var(--c-orange-active); }
.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--outline {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-text);
}
.btn--outline:hover { background: var(--c-text); color: #fff; }
.btn--white {
  background: #fff;
  color: var(--c-orange);
}
.btn--white:hover { background: #f5f5f5; }

/* ===================================================== */
/* === PROMO BAR (3 партнёрских баннера над хедером) === */
/* ===================================================== */
.promo {
  padding: 16px 0 0;
}
.promo__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 18px;
  border: 1.5px solid #ffd2a8;
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: stretch;
}
.promo__lead {
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-text);
  padding-left: 12px;
}
.promo__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-md);
  padding: 18px 24px;
  color: #fff;
  font-weight: 700;
  min-height: 96px;
  transition: transform .2s, box-shadow .2s;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); color: #fff; }
.promo-card__text {
  font-size: 17px;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 65%;
}
.promo-card__text small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: .8;
  margin-top: 6px;
  text-transform: none;
}
.promo-card__logo { max-height: 50px; max-width: 35%; object-fit: contain; }
.promo-card--temper { background: linear-gradient(120deg, #3a85cf 0%, #5ba8e8 100%); }
.promo-card--ezif   { background: linear-gradient(120deg, #2e3338 0%, #525960 100%); }
.promo-card--kpsr   {
  background: linear-gradient(120deg, #cfe0f1 0%, #b1c8df 100%);
  color: var(--c-text);
}
.promo-card--kpsr:hover { color: var(--c-text); }

/* ===================================================== */
/* === HEADER === */
/* ===================================================== */
.site-header { background: #fff; padding: 18px 0; }
.site-header__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}
.site-logo img { height: 32px; width: auto; display: block; }

.catalog-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1.5px solid var(--c-text);
  border-radius: var(--radius-md);
  background: #fff;
  font-weight: 700;
  font-size: 15px;
  color: var(--c-text);
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.catalog-btn:hover { background: var(--c-text); color: #fff; }
.catalog-btn__icon {
  width: 18px; height: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
}
.catalog-btn__icon span { background: currentColor; border-radius: 1px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  padding: 10px 14px;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--c-orange); }
.main-nav a.is-active { color: var(--c-orange); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.header-phone__icon {
  width: 44px; height: 44px;
  background: var(--c-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.header-phone__icon svg { width: 18px; height: 18px; fill: currentColor; }
.header-phone__text { line-height: 1.2; }
.header-phone__num {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}
.header-phone__email {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 2px;
}
.header-phone__email:hover { color: var(--c-orange); }
.header-phone__email span { color: var(--c-orange); cursor: pointer; }

.home-icon {
  width: 48px; height: 48px;
  background: var(--c-blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  flex-shrink: 0;
}
.home-icon svg { width: 20px; height: 20px; fill: currentColor; }
.home-icon:hover { background: var(--c-blue-gray); color: #fff; }

/* ===================================================== */
/* === HERO (full-width bg image + overlay) === */
/* ===================================================== */
.hero {
  margin-top: 16px;
  padding: 0;
}
.hero__bg {
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,25,45,.85) 0%, rgba(15,25,45,.55) 45%, rgba(15,25,45,.15) 80%, rgba(15,25,45,0) 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 80px;
}
.hero__text { max-width: 720px; color: #fff; }
.hero__h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  color: #fff;
  white-space: nowrap;
}
.hero__h1 .accent { color: var(--c-orange); }
.hero__h1 br { display: block; }
.hero__sub {
  font-size: 19px;
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
  line-height: 1.4;
}
.hero__bullets { margin-bottom: 44px; }
.hero__bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 17px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.4;
}
.hero__bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 10px; height: 10px;
  background: var(--c-orange);
  border-radius: 50%;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--c-orange);
  color: #fff;
  padding: 22px 44px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: background .2s, transform .15s;
}
.hero__cta:hover { background: var(--c-orange-hover); color: #fff; transform: translateY(-1px); }
.hero__cta-icon {
  width: 22px; height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  flex-shrink: 0;
}
.hero__cta-icon span { background: #fff; border-radius: 1px; }
@media (max-width: 900px) {
  .hero__bg { min-height: 520px; background-position: center; }
  .hero__h1 { white-space: normal; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(15,25,45,.5) 0%, rgba(15,25,45,.85) 70%);
  }
}

/* === FEATURES (3 карточки) === */
/* ===================================================== */
.features {
  padding: var(--section-py) 0;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--c-blue-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.feature__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature__icon img {
  max-width: 100%;
  max-height: 100%;
  /* Тильда отдаёт иконки с синим stroke (#0094ed). Перекрашиваем в оранжевый */
  filter: brightness(0) saturate(100%) invert(56%) sepia(80%) saturate(2500%) hue-rotate(355deg) brightness(101%) contrast(101%);
}
.feature__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature__text {
  font-size: 15px;
  color: var(--c-text-2);
  line-height: 1.5;
}

/* ===================================================== */
/* === MAP SECTION (карта России + чек-лист) === */
/* ===================================================== */
.map-section {
  padding: 56px 0;
  background-color: var(--c-bg-section);
  background-repeat: no-repeat;
  background-position: right -120px center;
  background-size: 780px auto;
  position: relative;
}
.map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-bg-section) 0%, var(--c-bg-section) 40%, rgba(252,249,249,.55) 75%, rgba(252,249,249,.4) 100%);
  pointer-events: none;
}
.map-section .container { position: relative; z-index: 1; }
.map-section__text { max-width: 680px; }
.map-section h2 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 28px;
}
.checklist li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-text-2);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 24px; height: 24px;
  background: var(--c-orange);
  border-radius: 50%;
}
.checklist li::after {
  content: '';
  position: absolute;
  left: 7px; top: 9px;
  width: 10px; height: 5px;
  border-left: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}
.map-section__map { display: flex; justify-content: center; }
.map-section__map img { max-width: 100%; height: auto; opacity: .65; }

/* ===================================================== */
/* === CATALOG BLOCK === */
/* ===================================================== */
.catalog-block {
  padding: var(--section-py) 0;
  background: #fff;
}
.catalog-block__title {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}
.catalog-block__lead {
  color: var(--c-muted);
  font-size: 16px;
  margin-bottom: 32px;
}
.catalog-block__grid {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.9fr;
  gap: 16px;
  margin-bottom: 32px;
}
.catalog-card {
  position: relative;
  background: var(--c-blue-light);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.catalog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.catalog-card__brand {
  position: absolute;
  top: 24px;
  left: 32px;
  max-width: 160px;
  max-height: 36px;
}
.catalog-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
  max-width: 60%;
  line-height: 1.25;
  position: relative;
  z-index: 2;
}
.catalog-card__title--big {
  font-size: 24px;
}
.catalog-card__img {
  position: absolute;
  right: 16px;
  bottom: 16px;
  max-width: 50%;
  max-height: 85%;
  object-fit: contain;
}
.catalog-block__cta {
  background: #2d8ad2;
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.catalog-block__cta::after {
  content: '';
  position: absolute;
  right: -40px; bottom: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,.1), transparent 70%);
  pointer-events: none;
}
.catalog-block__cta-icon {
  width: 64px; height: 64px;
  background: var(--c-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-block__cta-icon svg { width: 32px; height: 32px; }
.catalog-block__cta p {
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
  position: relative;
  z-index: 2;
}
.catalog-block__cta a {
  color: var(--c-orange);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: underline;
}
.catalog-block__btn-wrap {
  display: flex;
  justify-content: flex-end;
}

/* ===================================================== */
/* === CTA BANNER (оранжевый) === */
/* ===================================================== */
.cta-banner {
  background: var(--c-orange);
  padding: 64px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-banner__text { max-width: 720px; }
.cta-banner__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.25;
}
.cta-banner__title strong { font-weight: 800; }
.cta-banner__sub {
  font-size: 15px;
  opacity: .95;
  line-height: 1.5;
  margin-bottom: 28px;
}
.cta-banner__btn {
  background: var(--c-text);
  color: #fff;
}
.cta-banner__btn:hover { background: #000; color: #fff; }
.cta-banner__illust {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.cta-banner__illust img {
  max-width: 100%;
  max-height: 240px;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
@media (max-width: 900px) {
  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__illust { display: none; }
}

/* ===================================================== */
/* === BENEFITS (3 преимущества) === */
/* ===================================================== */
.benefits { padding: var(--section-py) 0; }
.benefits__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 36px;
  max-width: 900px;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit {
  background: var(--c-blue-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.benefit h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.benefit p { color: var(--c-text-2); font-size: 15px; line-height: 1.5; }

/* ===================================================== */
/* === INDUSTRIES SECTION === */
/* ===================================================== */
.industries { padding: var(--section-py) 0; background: #fff; }
.industries h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 36px;
  max-width: 900px;
  line-height: 1.15;
}
.industries__lead {
  font-size: 17px;
  color: var(--c-text-2);
  margin-bottom: 36px;
  max-width: 900px;
  line-height: 1.55;
}
.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.industry-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  cursor: pointer;
  transition: transform .25s;
}
.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.7) 100%);
}
.industry-card:hover { transform: translateY(-4px); }
.industry-card__label {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  z-index: 1;
}

.industries__below { max-width: 900px; }
.industries__below-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  margin-bottom: 14px;
}
.industries__below p {
  font-size: 16px;
  color: var(--c-text-2);
  line-height: 1.55;
}

/* Старый стиль .industry оставлен для других страниц */
.industry {
  background: #fff;
  border: 1.5px solid var(--c-blue-light);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-text);
  transition: border-color .2s, transform .2s;
}
.industry:hover { border-color: var(--c-orange); transform: translateY(-2px); }

/* ===================================================== */
/* === CLIENTS === */
/* ===================================================== */
.clients {
  padding: var(--section-py) 0;
  background: var(--c-bg-section);
}
.clients__title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
}
.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.client-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .2s, opacity .2s;
}
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 900px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================== */
/* === FORM BLOCK (тёмная форма) === */
/* ===================================================== */
.form-block {
  padding: 0;
  margin: 56px 0;
  scroll-margin-top: 24px;
}
.form-block__box {
  max-width: var(--container-width);
  margin: 0 auto;
  background: var(--c-dark);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  color: #fff;
}
.form-block__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.form-block__text { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 12px; line-height: 1.55; }
.form-block__highlight { color: var(--c-orange) !important; font-weight: 600; font-size: 15px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input,
.form textarea {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  width: 100%;
  transition: border-color .2s;
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(255,255,255,.45); }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--c-orange); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
  margin-top: 6px;
}
.form-check a { color: var(--c-orange); text-decoration: underline; }
.form button,
.form input[type="submit"] { margin-top: 6px; }
/* Submit от CF7 — повторяем .btn стили явно (WC/CF7 могут перекрыть) */
.form input[type="submit"].btn,
.form button[type="submit"].btn {
  background: var(--c-orange);
  color: #fff;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form input[type="submit"].btn:hover,
.form button[type="submit"].btn:hover { background: var(--c-orange-hover); }

/* === Contact Form 7 интеграция === */
/* CF7 заворачивает каждое поле в span.wpcf7-form-control-wrap — делаем блочным на всю ширину */
.form .wpcf7-form-control-wrap { display: block; width: 100%; }
.form .wpcf7-form-control-wrap > input,
.form .wpcf7-form-control-wrap > textarea { width: 100%; box-sizing: border-box; }
/* form-row: 2 колонки независимо от CF7 разметки */
.form .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .form__row > div > .wpcf7-form-control-wrap { display: block; width: 100%; }
/* acceptance чекбокс: переопределяем CF7-вложенность через label */
.form-check { display: block; }
.form-check .wpcf7-form-control-wrap,
.form-check .wpcf7-form-control,
.form-check .wpcf7-list-item { display: block; width: auto; margin: 0; }
.form-check label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; margin: 0;
  font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.45;
}
.form-check label input[type="checkbox"] {
  margin: 3px 0 0; flex-shrink: 0;
  width: 16px; height: 16px;
}
.form-check .wpcf7-list-item-label { color: inherit; flex: 1; }
.form-check a { color: var(--c-orange); text-decoration: underline; }
/* кастомные стили для file input */
.form input[type="file"] {
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  cursor: pointer;
}
.form input[type="file"]::file-selector-button {
  background: rgba(255,129,21,.15);
  border: 1px solid var(--c-orange);
  border-radius: var(--radius-sm);
  color: var(--c-orange);
  padding: 6px 12px;
  margin-right: 12px;
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 600;
}
/* ошибки/сообщения CF7 */
.wpcf7-not-valid-tip { color: var(--c-orange) !important; font-size: 12px; margin-top: 4px; display: block; }
.wpcf7-response-output {
  border: 1px solid rgba(255,255,255,.2) !important;
  color: #fff !important;
  font-size: 13px;
  padding: 10px 14px !important;
  margin: 12px 0 0 !important;
  border-radius: var(--radius-sm);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { border-color: var(--c-orange) !important; }
.wpcf7-spinner { margin: 0 12px; }

/* ===================================================== */
/* === PAGE TITLE (heading на внутренних страницах) === */
/* ===================================================== */
.page-head {
  padding: 48px 0 32px;
}
.page-head h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
}
.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 16px;
}
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-orange); }
.breadcrumbs span { color: var(--c-text-2); }
.breadcrumbs .sep { color: var(--c-muted); padding: 0 2px; }

/* === Каталог: общие === */
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--orange {
  background: var(--c-orange) !important;
  color: #fff !important;
  border-color: var(--c-orange) !important;
}
.btn--orange:hover { background: var(--c-orange-hover) !important; border-color: var(--c-orange-hover) !important; }

/* === Каталог: архив (список товаров) === */
.catalog-cats { padding: 32px 0 24px; }
.catalog-cats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.cat-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius-md);
  padding: 16px;
  text-decoration: none;
  color: var(--c-text);
  transition: border-color .2s, transform .15s;
}
.cat-card:hover { border-color: var(--c-orange); transform: translateY(-2px); }
.cat-card__img { width: 100%; aspect-ratio: 4/3; object-fit: contain; margin-bottom: 12px; }
.cat-card__placeholder {
  width: 100%; aspect-ratio: 4/3; background: var(--c-bg-section);
  border-radius: var(--radius-sm); margin-bottom: 12px;
}
.cat-card__title { font-weight: 600; font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.cat-card__count { font-size: 12px; color: var(--c-muted); }

.catalog-products { padding: 32px 0 72px; }
.catalog-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.product-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color .2s, transform .15s;
}
.product-card:hover { border-color: var(--c-orange); transform: translateY(-2px); }
.product-card__photo-link { display: block; }
.product-card__photo {
  width: 100%; aspect-ratio: 4/3; object-fit: contain;
  background: var(--c-bg-section); border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.product-card__photo--placeholder { display: block; }
.product-card__title {
  display: block;
  font-weight: 600; font-size: 15px; line-height: 1.35;
  color: var(--c-text); text-decoration: none;
  margin-bottom: 10px; min-height: 40px;
}
.product-card__title:hover { color: var(--c-orange); }
.product-card__bullets {
  list-style: none; padding: 0; margin: 0 0 14px;
  font-size: 13px; color: var(--c-muted);
}
.product-card__bullets li {
  position: relative; padding-left: 14px; line-height: 1.45; margin-bottom: 4px;
}
.product-card__bullets li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange);
}
.product-card__meta { font-size: 12px; color: var(--c-muted); margin: 0 0 14px; }
.product-card__btn { margin-top: auto; align-self: flex-start; }
.catalog-empty { padding: 48px 0; }
.catalog-empty p { color: var(--c-muted); font-size: 16px; text-align: center; }

/* WooCommerce пагинация */
.woocommerce-pagination ul {
  display: flex; gap: 6px; list-style: none; padding: 0; margin: 32px 0 0;
  justify-content: center;
}
.woocommerce-pagination a, .woocommerce-pagination span {
  display: inline-block; padding: 8px 14px;
  background: #fff; border: 1px solid #ececec; border-radius: var(--radius-sm);
  color: var(--c-text); font-size: 14px; text-decoration: none;
}
.woocommerce-pagination .current { background: var(--c-orange); color: #fff; border-color: var(--c-orange); }
.woocommerce-pagination a:hover { border-color: var(--c-orange); color: var(--c-orange); }

/* === Каталог: карточка товара (single-product) === */
.product-hero { padding: 32px 0 48px; }
.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 480px) 1fr;
  gap: 48px;
  align-items: start;
}
.product-hero__photo img {
  width: 100%; max-width: 480px; height: auto;
  background: var(--c-bg-section); border-radius: var(--radius-md);
  padding: 24px; box-sizing: border-box;
}
.product-hero__photo--placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--c-bg-section); border-radius: var(--radius-md);
}
.product-hero__lead { font-size: 17px; line-height: 1.55; color: var(--c-text-2); margin-bottom: 16px; }
.product-hero__bullets {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.product-hero__bullets li {
  position: relative; padding-left: 22px; line-height: 1.6; margin-bottom: 6px;
  font-size: 15px;
}
.product-hero__bullets li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--c-orange);
}
.product-hero__cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.product-hero__cta-note { font-size: 13px; color: var(--c-muted); margin: 0; }

.product-text { padding: 24px 0 32px; }
.product-text .container { max-width: 900px; font-size: 16px; line-height: 1.65; color: var(--c-text); }
.product-text p { margin-bottom: 12px; }

.product-chars { padding: 32px 0; background: var(--c-bg-section); }
.section-h2 { font-size: 28px; font-weight: 700; margin: 0 0 24px; }
.section-h2__count { font-size: 16px; font-weight: 400; color: var(--c-muted); }
.char-list { margin: 0; padding: 0; }
.char-list__row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e6e6e6;
}
.char-list__row dt { color: var(--c-muted); font-size: 14px; }
.char-list__row dd { margin: 0; color: var(--c-text); font-size: 15px; }

.product-sizes { padding: 48px 0; }
.sizes-table-wrap { overflow-x: auto; }
.sizes-table {
  width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px;
}
.sizes-table th, .sizes-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid #ececec;
}
.sizes-table thead th {
  background: var(--c-bg-section); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: .03em; color: var(--c-text-2);
}
.sizes-table tbody tr:hover { background: #fafafa; }
.sizes-table__action { text-align: right; white-space: nowrap; }

@media (max-width: 840px) {
  .product-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .product-hero__photo img { max-width: 100%; }
  .char-list__row { grid-template-columns: 1fr; gap: 4px; padding: 10px 0; }
  .char-list__row dt { font-weight: 600; }
}

/* ===================================================== */
/* === COMPANY PAGE === */
/* ===================================================== */
.company-block { padding: 32px 0 72px; }
.company-block__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.company-block h2 { font-size: 24px; margin-bottom: 16px; font-weight: 800; }
.company-block p { font-size: 16px; color: var(--c-text-2); margin-bottom: 14px; line-height: 1.6; }
.company-block__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.company-block__img img { width: 100%; height: 100%; object-fit: cover; }

/* — section tag (оранжевая вертикальная чёрточка слева) */
.section-tag {
  display: inline-block;
  position: relative;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--c-orange);
  margin: 28px 0 14px;
  padding-left: 14px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 4px;
  background: var(--c-orange);
  border-radius: 2px;
}

/* — company-intro (с фото справа) */
.company-intro { padding: 24px 0 64px; }
.company-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.company-intro__text p {
  font-size: 16px;
  color: var(--c-text-2);
  line-height: 1.6;
  margin-bottom: 12px;
}
.company-intro__points {
  margin: 16px 0;
}
.company-intro__points li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  margin-bottom: 10px;
}
.company-intro__points li::before {
  content: '+';
  position: absolute;
  left: 0; top: 0;
  color: var(--c-orange);
  font-weight: 700;
}
.company-intro__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 24px;
}
.company-intro__img img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .company-intro__grid { grid-template-columns: 1fr; }
}

/* — голубой CTA-блок "Если вы ищете надёжного поставщика" */
.company-cta {
  padding: 32px 0 64px;
}
.company-cta__inner {
  background: var(--c-blue-light);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  position: relative;
  min-height: 220px;
}
.company-cta__text {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
}
.company-cta__img {
  position: relative;
}
.company-cta__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  max-height: 240px;
}
@media (max-width: 800px) {
  .company-cta__inner { grid-template-columns: 1fr; padding: 32px; }
}

/* — форма с картинкой слева */
.form-block__box--with-img {
  grid-template-columns: 0.8fr 1.2fr 1.2fr !important;
  gap: 32px;
  padding: 0 !important;
  overflow: hidden;
}
.form-block__side-img {
  position: relative;
  background: #1c1f23;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  min-height: 380px;
}
.form-block__side-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  opacity: .55;
}
.form-block__center { padding: 48px 0 48px 0; }
.form-block--with-img .form {
  padding: 48px 56px 48px 0;
}
@media (max-width: 900px) {
  .form-block__box--with-img {
    grid-template-columns: 1fr !important;
  }
  .form-block__side-img { display: none; }
  .form-block--with-img .form { padding: 0 32px 32px; }
  .form-block__center { padding: 32px 32px 0; }
}

/* — geo-section с большой картой */
.geo-section {
  padding: 24px 0 80px;
}
.section-h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
}
.geo-section__lead {
  font-size: 16px;
  color: var(--c-text-2);
  line-height: 1.55;
  max-width: 900px;
  margin-bottom: 32px;
}
.geo-section__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 460px;
}
.geo-section__map iframe { width: 100%; height: 100%; display: block; }

/* ===================================================== */
/* === CONTACTS PAGE === */
/* ===================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.contact-card {
  background: var(--c-blue-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.contact-card__icon {
  width: 44px; height: 44px;
  background: var(--c-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}
.contact-card__icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-card__label { font-size: 13px; color: var(--c-muted); margin-bottom: 4px; }
.contact-card__value { font-size: 16px; font-weight: 700; color: var(--c-text); line-height: 1.4; }
.contact-card__value a { color: var(--c-orange); }

.contacts-map {
  margin-bottom: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 14px;
}

/* ===================================================== */
/* === INFO PAGE (аккордеон + сертификаты) === */
/* ===================================================== */
.info-intro { padding: 12px 0 32px; }
.info-intro p { font-size: 17px; color: var(--c-text-2); line-height: 1.55; max-width: 900px; }

.accordion { margin: 24px 0 56px; }
.accordion__item {
  background: var(--c-blue-light);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}
.accordion__head {
  width: 100%;
  text-align: left;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-text);
  background: var(--c-blue-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.accordion__head::after {
  content: '+';
  font-size: 26px;
  font-weight: 300;
  color: var(--c-orange);
  flex-shrink: 0;
  transition: transform .2s;
}
.accordion__item.is-open .accordion__head::after { content: '−'; }
.accordion__body {
  padding: 0 28px 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-text-2);
  display: none;
}
.accordion__item.is-open .accordion__body { display: block; }

.certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
.cert {
  background: var(--c-bg-section);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: var(--c-text);
  transition: transform .2s, box-shadow .2s;
}
.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.cert__img {
  width: 140px; height: 140px;
  background: #ccc;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.cert__img-real {
  width: 160px;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  border: 1px solid #e5e5e5;
}
.cert__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.cert__text { font-size: 14px; color: var(--c-text-2); line-height: 1.5; }

/* ===================================================== */
/* === LEGAL TEXT (privacy) === */
/* ===================================================== */
.legal-text { padding: 12px 0 72px; }
.legal-text .container > * { max-width: 900px; }
.legal-text h2 { font-size: 22px; margin: 28px 0 12px; }
.legal-text p { font-size: 15px; color: var(--c-text-2); margin-bottom: 12px; line-height: 1.65; }
.legal-text ul { padding-left: 20px; margin: 8px 0 16px; }
.legal-text ul li { list-style: disc; color: var(--c-text-2); margin-bottom: 6px; }

/* ===================================================== */
/* === FOOTER === */
/* ===================================================== */
.site-footer {
  padding: 48px 0 32px;
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 0;
}
.site-footer__grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr 1.4fr;
  gap: 40px;
}
.site-footer__brand img { height: 28px; margin-bottom: 14px; }
.site-footer__brand small { display: block; font-size: 11px; color: #888; line-height: 1.5; }
.site-footer__title {
  font-size: 13px;
  color: var(--c-text);
  font-weight: 700;
  margin-bottom: 10px;
}
.site-footer__cta-text { font-size: 13px; color: var(--c-text); line-height: 1.45; margin-bottom: 14px; }
.site-footer__cta-btn {
  display: inline-block;
  border: 1.5px solid var(--c-text);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  color: var(--c-text);
  font-weight: 600;
  font-size: 14px;
}
.site-footer__cta-btn:hover { background: var(--c-text); color: #fff; }
.site-footer__phone {
  color: var(--c-orange);
  font-size: 18px;
  font-weight: 700;
  display: block;
}
.site-footer__phone:hover { color: var(--c-orange-hover); }
.site-footer__email { color: var(--c-text); display: block; margin-top: 4px; font-size: 14px; }
.site-footer__email:hover { color: var(--c-orange); }
.site-footer__hours { font-size: 12px; color: var(--c-muted); margin-top: 6px; }
.site-footer__address {
  font-style: normal;
  color: var(--c-text);
  line-height: 1.55;
  font-size: 14px;
}

/* ===================================================== */
/* === RESPONSIVE === */
/* ===================================================== */
@media (max-width: 1100px) {
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .header-phone { margin-left: 0; }
  .promo__inner { grid-template-columns: 1fr; }
  .promo__cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --section-py: 48px; }
  .hero__box { grid-template-columns: 1fr; padding: 40px 32px; min-height: auto; }
  .features__grid,
  .benefits__grid { grid-template-columns: 1fr; }
  .map-section__inner { grid-template-columns: 1fr; }
  .form-block__box { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .promo__cards { grid-template-columns: 1fr; }
  .company-block__grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .catalog-block__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .industries__grid,
  .contacts-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}

/* --- Логотип-ссылка в футере --- */
.site-footer__logo-link { display: inline-block; }

/* --- Модалка заявки --- */
.sp-modal { display: none; position: fixed; inset: 0; z-index: 9999; }
.sp-modal.is-open { display: block; }
html.sp-modal-lock { overflow: hidden; }
.sp-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.sp-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 24px auto;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.sp-modal__close {
  position: absolute; top: 14px; right: 18px;
  width: 36px; height: 36px;
  background: none; border: 0; cursor: pointer;
  color: rgba(255,255,255,.6); font-size: 30px; line-height: 1;
  transition: color .15s;
}
.sp-modal__close:hover { color: #fff; }
.sp-modal__title { font-size: clamp(22px, 3vw, 28px); font-weight: 800; color: #fff; margin: 0 0 12px; }
.sp-modal__text { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.55; margin: 0 0 8px; }
.sp-modal__highlight { color: var(--c-orange); font-weight: 600; font-size: 15px; margin: 0 0 20px; }
.sp-modal__form .form { margin-top: 8px; }
@media (max-width: 560px) {
  .sp-modal__dialog { padding: 32px 22px 26px; }
}
