/* ============================================================
   ЮК «ПРИОРИТЕТ» — посадочная «Патент на промышленный образец»
   Семейство страниц Тильды project 8902847 (Montserrat).
   Переменные в :root, классы БЭМ-лайт, секции в порядке страницы.
   ============================================================ */

/* ---------- 0. ШРИФТЫ ---------- */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. ПЕРЕМЕННЫЕ ---------- */

:root {
  --font: 'Montserrat', Arial, Helvetica, sans-serif;

  --c-accent:       #DB181F;
  --c-accent-hover: #B91219;
  --c-text:         #000000;
  --c-text-2:       #3A3A3A;
  --c-text-3:       #6E6E6E;
  --c-bg:           #FFFFFF;
  --c-bg-alt:       #F7F7F7;
  --c-watermark:    #E4E4E4;
  --c-border:       #E8E8E8;

  --container: 1200px;
  --pad: 20px;
  --header-h: 128px;    /* шапка + строка меню */
  --tap: 44px;          /* минимальная зона нажатия */
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
}

/* ---------- 2. БАЗА ---------- */

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

html {
  overflow-x: clip;           /* clip, не hidden: hidden убивает position:sticky */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text-2);
  background: var(--c-bg);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 3. ТИПОГРАФИКА СЕКЦИЙ ---------- */

.h2 {
  margin: 0 0 38px;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--c-text);
  text-align: center;
}
.h2 span { display: inline-block; }

section { padding: 62px 0; }

/* ---------- 4. КНОПКИ ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 12px 34px;
  border: 0;
  border-radius: 6px;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease;
}
.btn:hover { background: var(--c-accent-hover); }
.btn--sm { padding: 10px 24px; font-size: 13px; }
.btn--lg {
  min-height: 62px;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.btn--full { width: 100%; }

/* ---------- 5. ШАПКА ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 var(--c-border);
}

.hdr__deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 76px;
  background: url('../img/hatch.webp') no-repeat left top / contain;
  opacity: .5;
  pointer-events: none;
}

.hdr__in {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
  position: relative;
}

.hdr__logo { display: block; }
.hdr__logo img { width: 218px; height: auto; }

.hdr__addr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  max-width: 230px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--c-text-2);
}
.hdr__addr img { width: 15px; flex: 0 0 auto; }

.hdr__contacts { text-align: right; }
.hdr__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  font-size: 20px;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  white-space: nowrap;
}
.hdr__phone img { width: 18px; }
.hdr__mail {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: var(--c-text-3);
  text-decoration: none;
}
.hdr__mail:hover { color: var(--c-accent); }

.burger {
  display: none;
  width: var(--tap);
  height: var(--tap);
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 3px;
  margin: 4px 0;
  background: var(--c-accent);
  border-radius: 2px;
}

/* строка меню */
.nav { border-top: 1px solid var(--c-border); }
.nav__in {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: 15px;
  color: var(--c-accent);
  text-decoration: none;
}
.nav a:hover { color: var(--c-accent-hover); text-decoration: underline; }
.nav__addr, .nav__cta { display: none; }

/* ---------- 6. ХИРО ---------- */

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #EDEFF1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero-office.webp') no-repeat center top / cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .58);
}

.hero__in {
  position: relative;
  min-height: 760px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero__copy { position: relative; z-index: 3; max-width: 720px; }

.hero__h1 {
  margin: 0 0 34px;
  max-width: 745px;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 700;
  line-height: 1.16;
  text-transform: uppercase;
  color: #C1C1C1;
}

.hero__lead {
  margin: 0 0 46px;
  max-width: 580px;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--c-accent);
}

.hero__act {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.hero__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-text-2);
}

.hero__person {
  /* как в оригинале: снимок целиком, крупный, нижним краем по низу экрана,
     правая часть уходит за край и обрезается самим блоком, а не фоном */
  position: absolute;
  left: 38%;
  right: auto;
  bottom: 0;
  z-index: 1;
  width: 91%;
  height: auto;
  aspect-ratio: 994 / 585;
  margin: 0;
  background: url('../img/hero-person.webp') no-repeat left bottom / 100% 100%;
}
.hero__person img { display: none; }

.quote {
  position: absolute;
  right: 8%;
  bottom: 24px;
  z-index: 4;
  width: min(480px, 40%);
  margin: 0;
  padding: 24px 26px 20px;
  background: rgba(255, 255, 255, .92);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}
.quote__mark { width: 18px; margin-bottom: 10px; }
.quote__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--c-text-2);
}
.quote__who {
  padding-top: 14px;
  border-top: 2px solid var(--c-accent);
  text-align: right;
}
.quote__name { display: block; font-size: 15px; font-weight: 600; color: var(--c-text); }
.quote__role { display: block; font-size: 12px; color: var(--c-text-3); }

/* ---------- 7. ТАБЫ ---------- */

.tabs { padding-top: 48px; }

.tabs__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--c-border);
}
.tabs__btn {
  min-height: var(--tap);
  padding: 14px 10px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-text-2);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease;
}
.tabs__btn.is-active {
  color: var(--c-accent);
  font-weight: 600;
  border-bottom-color: var(--c-accent);
}

.tabs__panel { padding: 38px 0 6px; }
.tabs__panel[hidden] { display: none; }

.tabs__lead {
  margin: 0 0 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checks { margin: 0 0 26px; padding: 0; list-style: none; }
.checks li {
  position: relative;
  padding: 0 0 16px 46px;
  font-size: 15px;
  color: var(--c-accent);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 5px;
  width: 17px;
  height: 13px;
  background: url('../img/icon-check.svg') no-repeat center / contain;
}

.tabs__after { margin: 0; font-size: 14px; color: var(--c-text-2); }

/* ---------- 8. СТОИМОСТЬ ---------- */

.price { background: var(--c-bg-alt); text-align: center; }
.price__main {
  margin: 0 0 6px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--c-accent);
}
.price__term {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--c-text);
}
.price__fees { margin: 0 0 28px; font-size: 14px; color: var(--c-text-2); }
.price__fees p { margin: 0 0 2px; }

/* ---------- 9. ПОРЯДОК ДЕЙСТВИЙ ---------- */

.steps__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { text-align: center; position: relative; }

/* пунктир между кругами */
.step + .step::before {
  content: '';
  position: absolute;
  top: 52px;
  left: -32px;
  width: 46px;
  height: 8px;
  background-image: radial-gradient(circle, #F0B9BC 3.4px, transparent 3.6px);
  background-size: 15px 8px;
  background-repeat: repeat-x;
}

.step__mark {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
}
.step__word {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 2;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .62);
}
.step__num {
  position: absolute;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 1;
  font-size: 50px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.step__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--c-text-2); }

/* ---------- 10. ДЛЯ ЧЕГО НЕОБХОДИМА ---------- */

.why { background: var(--c-bg-alt); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}

.wcard {
  position: relative;
  min-height: 196px;
  padding: 26px 30px 30px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.wcard__num {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 118px;
  font-weight: 700;
  line-height: 1;
  color: #F1F1F1;
  z-index: 0;
}
.wcard p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
}

.why__note { margin: 52px 0 0; text-align: center; font-size: 15px; color: var(--c-text-2); }
.why__note p { margin: 0 0 4px; }
.why__note-title { font-weight: 700; color: var(--c-text); }
.why__act { margin: 40px 0 0; text-align: center; }

/* ---------- 11. ПРЕИМУЩЕСТВА ---------- */

.adv__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.acard {
  padding: 34px 28px 40px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.acard img { width: 96px; margin: 0 auto 26px; }
.acard h3 {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
}
.acard p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--c-text-2); }

/* ---------- 12. ПАРТНЕРЫ ---------- */

.partners { padding-bottom: 72px; }
.partners__rail { display: flex; align-items: center; gap: 12px; }

.partners__track {
  display: flex;
  gap: 34px;
  flex: 1 1 auto;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.partners__track::-webkit-scrollbar { display: none; }
.partners__track img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  scroll-snap-align: start;
  filter: grayscale(.15);
}

.partners__arrow {
  flex: 0 0 auto;
  width: var(--tap);
  height: var(--tap);
  border: 0;
  background: none;
  color: var(--c-accent);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 13. ПОДВАЛ ---------- */

.ftr { background: var(--c-accent); color: #fff; }
.ftr__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.ftr__logo { width: 210px; }
.ftr__mid { text-align: center; font-size: 14px; }
.ftr__mid p { margin: 0 0 8px; }
.ftr__mid a { color: #fff; }
.ftr__contacts { text-align: right; }
.ftr__phone {
  display: inline-block;
  min-height: 28px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.ftr__mail { display: block; margin-top: 2px; font-size: 14px; color: rgba(255,255,255,.9); }

/* ---------- 14. ПОПАП И ФОРМА ---------- */

.modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__back { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.modal__win {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 38px 34px 30px;
  background: #fff;
  border-radius: var(--radius);
}
.modal__x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: var(--tap);
  height: var(--tap);
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: var(--c-text-3);
  cursor: pointer;
}
.modal__title { margin: 0 0 6px; font-size: 24px; font-weight: 600; color: var(--c-text); text-align: center; }
.modal__sub { margin: 0 0 24px; font-size: 14px; color: var(--c-text-3); text-align: center; }

.form__row { display: block; margin: 0 0 16px; }
.form__label { position: absolute; left: -9999px; }
.form__inp {
  width: 100%;
  min-height: var(--tap);
  padding: 12px 16px;
  border: 1px solid #D9D9D9;
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: #fff;
}
.form__inp:focus { border-color: var(--c-accent); outline: none; }
.form__inp.is-err { border-color: var(--c-accent); background: #FFF5F5; }

.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__consent {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--c-text-3);
  text-align: center;
}
.form__consent a { color: var(--c-text-3); }

.form__msg { margin: 14px 0 0; font-size: 14px; text-align: center; min-height: 20px; }
.form__msg.is-ok { color: #1B7A38; }
.form__msg.is-err { color: var(--c-accent); }

/* ---------- 15. КУКИ ---------- */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(760px, calc(100% - 32px));
  padding: 16px 20px;
  background: #F4F4F4;
  box-shadow: var(--shadow);
  font-size: 13px;
  line-height: 1.45;
  color: var(--c-text-2);
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie a { color: var(--c-accent); }
.cookie__ok {
  flex: 0 0 auto;
  min-width: 72px;
  min-height: 40px;
  padding: 10px 24px;
  border: 0;
  border-radius: 6px;
  background: var(--c-accent);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  color: #fff;
  cursor: pointer;
}
.cookie__ok:hover { background: var(--c-accent-hover); }

/* ---------- 16. ПЛАНШЕТ ---------- */

@media (max-width: 1100px) {
  :root { --header-h: 76px; }

  .hdr__in { grid-template-columns: auto 1fr auto; gap: 16px; min-height: 68px; }
  .hdr__addr, .hdr__cta { display: none; }
  .hdr__deco { display: none; }
  .burger { display: block; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__in { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 18px; }
  .nav a { min-height: var(--tap); font-size: 16px; }
  .nav__addr { display: block; margin: 10px 0; font-size: 14px; color: var(--c-text-2); }
  .nav__cta { display: inline-flex; }


  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 34px 18px; }
  .step + .step::before { display: none; }
  .adv__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

/* ---------- 16а1. ПЛАНШЕТ: КОМПОЗИЦИЯ СОХРАНЯЕТСЯ, ПРОСТО УЖЕ ---------- */

@media (max-width: 1100px) and (min-width: 681px) {
  .hero__in { min-height: 640px; padding-top: 42px; padding-bottom: 42px; }
  .hero__copy { max-width: none; }
  .hero__h1 { max-width: 56%; }
  .hero__lead { max-width: 54%; }
  .hero__list { max-width: 56%; }
  /* монитор не режем: contain вместо cover, фотография целиком */
  .hero__person { left: 38%; width: 82%; height: auto; aspect-ratio: 994 / 585; background-size: 100% 100%; }
  .hero__act { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__note { max-width: 52%; }
  .quote { right: 6%; bottom: 16px; width: min(460px, 52%); padding: 20px 22px 16px; }
  .quote__text { font-size: 13px; margin-bottom: 12px; }
}

/* ниже 960 карточка уходит к левому краю, вровень с кнопкой */
@media (max-width: 960px) and (min-width: 681px) {
  .quote {
    left: var(--pad);
    right: auto;
    width: min(560px, 66%);
  }
}

/* ---------- 16а2. ТЕЛЕФОН: ХИРО РАСКЛАДЫВАЕТСЯ ---------- */

@media (max-width: 680px) {
  .hero__in {
    min-height: 0;
    padding-bottom: 36px;
  }
  .hero__copy { max-width: none; }

  .hero__h1 { max-width: none; }
  .hero__lead { max-width: 560px; margin-bottom: 30px; }

  .hero__person {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 1;
    width: 86%;
    max-width: 470px;
    height: auto;
    aspect-ratio: 994 / 585;
    background-size: contain;
    background-position: right bottom;
    margin: 18px 0 0 auto;
  }

  /* карточка наезжает на низ фото, как в исходной композиции */
  .quote {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    width: min(100%, 430px);
    margin: -104px 0 0;
  }
}

/* ---------- 17. МОБИЛЬНЫЙ ---------- */

@media (max-width: 640px) {
  section { padding: 44px 0; }

  .hdr__logo img { width: 168px; }
  .hdr__phone { font-size: 17px; }
  .hdr__phone img { display: none; }
  .hdr__mail { font-size: 12px; }

  .hero__in { padding-top: 34px; padding-bottom: 40px; }
  .hero__h1 { margin-bottom: 22px; }
  .hero__lead { margin-bottom: 28px; }
  .hero__act { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn--lg { width: auto; min-height: 54px; padding: 14px 26px; font-size: 16px; }
  .hero__list li { font-size: 15px; padding-bottom: 9px; }
  .hero__note { font-size: 13px; }

  /* Решение от 20.09: на телефоне фотография юриста и карточка с цитатой
     не показываются. Они декоративные, а их подгонка под узкий экран
     съела несколько итераций и ломала композицию. */
  .hero__person, .quote { display: none; }
  .hero__note { text-align: left; }

  .tabs__head { grid-template-columns: 1fr; }
  .tabs__btn {
    border: 1px solid var(--c-border);
    border-bottom-width: 3px;
    text-align: left;
  }
  .tabs__btn.is-active { border-color: var(--c-accent); }

  .steps__list { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; gap: 18px; }
  .wcard { min-height: 0; }

  .partners__track img { width: 160px; }

  .ftr__in { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; }
  .ftr__contacts { text-align: center; }

  .cookie { flex-direction: column; align-items: stretch; gap: 12px; text-align: left; }

  .modal__win { padding: 30px 22px 24px; }
}

/* ---------- 18. СЛУЖЕБНЫЕ СТРАНИЦЫ (политика, cookies, 404) ---------- */

.doc { padding: 54px 0 72px; }
.doc__h1 {
  margin: 0 0 32px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-text);
}
.doc__body {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-2);
}
.doc__body h2 {
  margin: 34px 0 14px;
  font-size: 20px;
  font-weight: 600;
  color: var(--c-text);
}
.doc__body h3 { margin: 24px 0 10px; font-size: 17px; font-weight: 600; color: var(--c-text); }
.doc__body p { margin: 0 0 14px; }
.doc__body ul, .doc__body ol { margin: 0 0 16px; padding-left: 22px; }
.doc__body li { margin-bottom: 8px; }
.doc__body a { color: var(--c-accent); }
.doc__body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.doc__body th, .doc__body td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc__body th { background: var(--c-bg-alt); font-weight: 600; color: var(--c-text); }

.err404 { padding: 90px 0 110px; text-align: center; }
.err404__code { font-size: clamp(64px, 12vw, 128px); font-weight: 700; line-height: 1; color: var(--c-watermark); }
.err404__text { margin: 12px 0 30px; font-size: 18px; color: var(--c-text-2); }

/* ---------- 19. СТРАНИЦА «ПРОМЫШЛЕННЫЙ ОБРАЗЕЦ»: ДОПОЛНЕНИЯ ---------- */

/* карточка патентного поверенного в хиро (вместо цитаты) */
.quote--person { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.quote--person .quote__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.quote--person .quote__text { margin: 0 0 6px; font-size: 13px; line-height: 1.45; }
.quote--person .quote__who { padding-top: 8px; text-align: left; }
.quote--person .quote__name { font-size: 15px; }
.quote--person .quote__role { font-size: 12px; }

/* стоимость: две карточки услуг */
.price__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 980px;
  margin: 0 auto 30px;
  text-align: left;
}
.pcard {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pcard__title { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.35; color: var(--c-text); }
.pcard__price { margin: 0 0 4px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; color: var(--c-accent); }
.pcard__term { margin: 0 0 18px; font-size: 14px; color: var(--c-text-3); }
.pcard__lead { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--c-text); }
.pcard .checks { margin: 0 0 18px; }
.pcard .checks li { padding-bottom: 10px; font-size: 14px; color: var(--c-text-2); }
.pcard__note { margin: 0 0 20px; font-size: 13px; line-height: 1.5; color: var(--c-text-3); }
.pcard .btn { align-self: flex-start; margin-top: auto; }
.price__fees { max-width: 760px; margin: 0 auto; text-align: left; }
.price__fees p:first-child { font-weight: 600; color: var(--c-text); margin-bottom: 8px; }
.price__fees ul { margin: 0; padding-left: 20px; }
.price__fees li { margin: 0 0 4px; }

/* что можно запатентовать */
.what__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 48px;
}
.ocard {
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--radius);
}
.ocard h3 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--c-text); }
.ocard p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--c-text-2); }

.crit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 980px;
  margin: 0 auto;
}
.crit__col {
  padding: 28px 30px 30px;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
}
.crit__col h3 { margin: 0 0 14px; font-size: 17px; font-weight: 700; color: var(--c-text); }
.crit__item { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--c-text-2); }
.crit__item b { color: var(--c-text); }
.crit__col ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.55; color: var(--c-text-2); }
.crit__col li { margin: 0 0 8px; }

/* вопросы и ответы */
.faq { background: var(--c-bg-alt); }
.faq__list { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid #DADADA; }
.faq__item summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--c-text);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  width: var(--tap);
  height: var(--tap);
  margin-top: -22px;
  font-size: 30px;
  font-weight: 400;
  line-height: var(--tap);
  text-align: center;
  color: var(--c-accent);
  transition: transform .18s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 44px 20px 0; font-size: 15px; line-height: 1.6; color: var(--c-text-2); }
.faq__body p { margin: 0 0 10px; }
.faq__body ul { margin: 0 0 10px; padding-left: 20px; }
.faq__body li { margin: 0 0 6px; }

/* команда */
.team__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 40px;
}
.tcard { text-align: center; }
.tcard img { width: 132px; height: 132px; margin: 0 auto 16px; border-radius: 50%; object-fit: cover; background: var(--c-bg-alt); }
.tcard__name { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--c-text); }
.tcard__role { margin: 0; font-size: 13px; line-height: 1.45; color: var(--c-text-3); }
.team__act { margin: 0; text-align: center; }

@media (max-width: 1100px) {
  .what__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
}
@media (max-width: 640px) {
  .quote--person { display: none; }   /* как у .quote в v11: на телефоне хиро без фото и карточки */
  .price__grid { grid-template-columns: 1fr; gap: 18px; }
  .pcard { padding: 24px 22px 26px; }
  .pcard .btn { align-self: stretch; }
  .what__grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .crit { grid-template-columns: 1fr; gap: 16px; }
  .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcard img { width: 112px; height: 112px; }
}
