/* =========================================================
   SECTIONS: общие секции, цены, услуги, SEO-блоки,
   преимущества, этапы, CTA-strip, отзывы, FAQ
   ========================================================= */

/* =========================================================
   ОБЩИЕ КЛАССЫ СЕКЦИЙ
   ========================================================= */
.section {
  padding: var(--sp-8) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--sp-10) 0; }
}
.section--alt {
  background: var(--c-bg-soft);
  position: relative;
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-7);
}
.section__head--narrow { max-width: 640px; }

/* Автонумерация секций для технического вида */
main { counter-reset: section; }
.section { counter-increment: section; }

.section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-3);
}
.section__kicker::before {
  content: counter(section, decimal-leading-zero);
  color: var(--c-accent);
  font-weight: 600;
}
.section__kicker::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--c-line-strong);
  margin-left: 4px;
}
.section__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.02em;
}
.section__lead {
  margin: 0;
  font-size: var(--fs-lg);
  color: var(--c-ink-2);
  line-height: 1.55;
}
.section__foot {
  text-align: right;
  margin-top: var(--sp-5);
}
.section__foot--center { text-align: center; }

/* Блок с CTA-кнопками внутри секции — для усиления коммерческих факторов.
   Используется после блоков «Методы», «Признаки», «Преимущества» и т.п. */
.section__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  align-items: center;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px dashed var(--c-line);
}
.section__cta-text {
  margin: 0 var(--sp-3) 0 0;
  font-size: 0.95rem;
  color: var(--c-ink-2);
  font-weight: 500;
}
@media (max-width: 640px) {
  .section__cta-text {
    width: 100%;
    margin: 0 0 var(--sp-2);
    text-align: center;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--c-accent);
  transition: gap var(--t-fast);
}
.link-arrow:hover {
  color: var(--c-accent-hi);
  gap: 10px;
}

/* =========================================================
   PRICE TABLE
   ========================================================= */
.price-table-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  /* На мобайле — горизонтальный скролл, не ломая лейаут */
  overflow-x: auto;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px; /* чтобы на узких экранах включался скролл */
}
.price-table thead th {
  background: transparent;
  color: var(--c-muted);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 2px solid var(--c-ink);
}
.price-table tbody tr {
  border-bottom: 1px solid var(--c-line);
  transition: background var(--t-fast);
}
.price-table tbody tr:last-child { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--c-bg); }
.price-table td {
  padding: var(--sp-3) var(--sp-4);
  vertical-align: middle;
  font-size: 0.95rem;
}
.price-table__price {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-ink);
  white-space: nowrap;
  font-feature-settings: "tnum" 1;
}
.price-table__action {
  text-align: right;
  white-space: nowrap;
}

/* =========================================================
   SERVICES (3 крупные карточки направлений)
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--t-base), box-shadow var(--t-base);
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.service-card__num {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-5);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 3rem;
  color: var(--c-bg-soft);
  line-height: 1;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.service-card__desc {
  margin: 0;
  color: var(--c-ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}
.service-card__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--c-line);
}
.service-card__list li a {
  display: inline-block;
  padding: 4px 8px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  color: var(--c-ink-2);
  transition: all var(--t-fast);
}
.service-card__list li a:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}
.service-card .link-arrow { margin-top: auto; }

/* =========================================================
   SEO-TEXT (длинные текстовые блоки)
   ========================================================= */
.seo-text {
  max-width: 920px;
  margin: 0 auto;
}
.seo-text h2 {
  font-size: var(--fs-2xl);
  margin: 0 0 var(--sp-5);
  letter-spacing: -0.02em;
}
.seo-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-ink-2);
  margin: 0 0 var(--sp-4);
}
.seo-text p:last-child { margin-bottom: 0; }
.seo-text strong { color: var(--c-ink); font-weight: 600; }

/* =========================================================
   ADVANTAGES (сетка преимуществ)
   ========================================================= */
.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(3, 1fr); }
}

.advantage {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.advantage__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--c-accent);
  border-radius: 0;
  margin-bottom: var(--sp-2);
}
.advantage__icon svg { width: 28px; height: 28px; stroke-width: 1.6; }
.advantage__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.advantage__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-ink-2);
  line-height: 1.55;
}

/* =========================================================
   STAGES (этапы работы — горизонтальная лента/вертикальная на мобиле)
   ========================================================= */
.stages {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  counter-reset: stages;
}
@media (min-width: 768px) {
  .stages { grid-template-columns: repeat(5, 1fr); gap: var(--sp-3); }
}

.stage {
  position: relative;
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.stage__num {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--sp-3);
}
.stage__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--sp-2);
  letter-spacing: -0.01em;
}
.stage__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--c-ink-2);
  line-height: 1.5;
}
/* Тонкая соединительная линия между этапами на десктопе */
@media (min-width: 768px) {
  .stage:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--sp-5) + 17px);
    right: -10px;
    width: 20px;
    height: 2px;
    background: var(--c-accent);
    opacity: 0.35;
    z-index: 0;
  }
}

/* =========================================================
   CTA-STRIP (форма посреди страницы — компактная горизонталь)
   ========================================================= */
.cta-strip {
  padding: var(--sp-7) 0;
  background: var(--c-ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(232,93,47,.12), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(30,58,95,.18), transparent 50%);
  pointer-events: none;
}
.cta-strip--dark {
  background: linear-gradient(135deg, #0E1219 0%, #1E3A5F 100%);
}
.cta-strip__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: center;
}
@media (min-width: 900px) {
  .cta-strip__inner { grid-template-columns: 1fr 1.2fr; gap: var(--sp-7); }
}
.cta-strip__title {
  font-size: var(--fs-2xl);
  margin: 0 0 var(--sp-2);
  color: #fff;
  letter-spacing: -0.02em;
}
.cta-strip__sub {
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 0.95rem;
  line-height: 1.5;
}
.cta-strip__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.cta-strip__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 600px) {
  .cta-strip__fields {
    grid-template-columns: 1fr 1fr auto;
  }
}
.cta-strip__form .field__input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.cta-strip__form .field__input::placeholder { color: rgba(255,255,255,.5); }
.cta-strip__form .field__input:focus {
  background: rgba(255,255,255,.12);
  border-color: var(--c-accent);
}

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.review__head {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: var(--sp-3);
  align-items: center;
}
.review__avatar {
  width: 40px; height: 40px;
  background: var(--c-info);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.review__name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
}
.review__meta {
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-top: 2px;
}
.review__stars {
  color: var(--c-accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.review__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--c-ink-2);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.faq__item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t-fast);
}
.faq__item[open] { box-shadow: var(--shadow-sm); }

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  transition: color var(--t-fast);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex-shrink: 0;
  width: 24px; height: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M12 5v14M5 12h14' stroke='%23E85D2F' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--t-base);
}
.faq__item[open] .faq__q::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M5 12h14' stroke='%23E85D2F' stroke-width='2' stroke-linecap='round'/></svg>");
  transform: rotate(180deg);
}
.faq__q:hover { color: var(--c-accent); }
.faq__a {
  padding: 0 var(--sp-5) var(--sp-5);
}
.faq__a p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-ink-2);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  position: relative;
  background: var(--c-ink);
  color: rgba(255,255,255,.7);
  padding: var(--sp-9) 0 var(--sp-5);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(232,93,47,.08), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(30,58,95,.18), transparent 50%);
  pointer-events: none;
}
.footer > .container { position: relative; }

/* ----- Главная сетка футера ----- */
.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 640px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6) var(--sp-5);
  }
}
@media (min-width: 1024px) {
  .footer__main {
    /* Brand широкий, Дезинсекция широкий, остальные обычные */
    grid-template-columns: 1.35fr 1fr 1.4fr 1fr 1fr;
  }
}

/* ----- Brand-блок ----- */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
@media (min-width: 640px) and (max-width: 1023px) {
  .footer__brand { grid-column: 1 / -1; }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.footer__logo-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  background: var(--c-accent);
  color: var(--c-ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 10px;
  flex-shrink: 0;
}
.footer__logo-name {
  display: block;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.1;
}
.footer__logo-tag {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,.5);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.footer__about {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  max-width: 340px;
}
.footer__phone {
  display: flex;
  flex-direction: column;
  color: #fff !important;
  line-height: 1.15;
  margin-top: var(--sp-1);
}
.footer__phone-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.footer__phone-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* ----- Соцсети ----- */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-2);
}
.footer__social-link {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: rgba(255,255,255,.7);
  transition: all var(--t-fast);
}
.footer__social-link:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  transform: translateY(-2px);
}
.footer__social-link svg {
  width: 18px;
  height: 18px;
}

/* ----- Колонки со ссылками ----- */
.footer__group {
  display: flex;
  flex-direction: column;
}
.footer__heading {
  font-family: var(--f-display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 var(--sp-3);
}
.footer__heading:not(:first-child) {
  margin-top: var(--sp-5);
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}
.footer__list a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.7);
  transition: color var(--t-fast);
}
.footer__list a:hover { color: var(--c-accent); }

/* Дезинсекция: 2 подколонки начиная с 480px */
.footer__list--cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px 16px;
}
@media (min-width: 480px) {
  .footer__list--cols { grid-template-columns: 1fr 1fr; }
}

/* ----- Низ футера ----- */
.footer__bottom {
  position: relative;
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.5);
}
.footer__disclaimer {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,.35);
  line-height: 1.55;
  max-width: 720px;
}

/* =========================================================
   INTERNAL PAGES: компоненты для страниц услуг и категорий
   ========================================================= */

/* ----- BREADCRUMBS ----- */
.breadcrumbs {
  background: var(--c-bg);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.82rem;
  color: var(--c-muted);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: var(--c-muted);
  margin-left: 4px;
}
.breadcrumbs a {
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.breadcrumbs a:hover { color: var(--c-accent); }
.breadcrumbs [aria-current="page"] {
  color: var(--c-ink);
  font-weight: 500;
}

/* ----- HERO модификатор для внутренних страниц ----- */
.hero--inner { padding: var(--sp-6) 0 var(--sp-8); }
@media (min-width: 768px) {
  .hero--inner { padding: var(--sp-7) 0 var(--sp-9); }
}
.hero--inner .hero__title { font-size: var(--fs-3xl); }
.hero--inner .hero__shape {
  width: auto;
  height: auto;
  top: 0; right: 0; bottom: 0;
  /* унаследует blueprint-паттерн из layout.css */
}

/* Фоновая картинка hero внутренних страниц.
   Подкладывает /img/uslugi.png — замени файл, оставив то же имя.
   Настроено под фото-сюжет (бригада в работе, оборудование):
   - opacity 0.4 → фото видно, текст читается
   - grayscale → любая картинка не «оранжевит» страницу
   - градиент сверху делает левый край плотнее, чтобы H1 читался. */
/* Фото в шапке категорий/услуг — реальный <img class="hero__photo"> на странице.
   У каждой страницы свой src и alt (хорошо для SEO и поиска по картинкам).
   Картинка приглушается и обесцвечивается, чтобы текст читался. */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
  filter: grayscale(25%) contrast(1.1);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
/* Градиентный overlay: гарантирует читаемость H1 на любом фото */
.hero--inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    var(--c-bg) 0%,
    rgba(244,245,247,0.85) 30%,
    rgba(244,245,247,0.35) 65%,
    rgba(244,245,247,0) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero--inner > .container {
  position: relative;
  z-index: 2;
}

/* ----- SIGNS (признаки появления вредителя) ----- */
.signs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 600px) { .signs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .signs-grid { grid-template-columns: 1fr 1fr 1fr; } }

.sign {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  align-items: flex-start;
}
.sign__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(232,93,47,.12);
  color: var(--c-accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.sign__icon svg { width: 20px; height: 20px; }
.sign__body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.sign__body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--c-ink-2);
  line-height: 1.5;
}

/* ----- METHODS (методы обработки — 3 крупные карточки) ----- */
.methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 768px) { .methods-grid { grid-template-columns: repeat(3, 1fr); } }

.method-card {
  position: relative;
  padding: var(--sp-6);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.method-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.method-card--featured {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}
.method-card--featured h3,
.method-card--featured .method-card__features li { color: #fff; }
.method-card--featured .method-card__desc { color: rgba(255,255,255,.7); }

.method-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 8px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  border-radius: 2px;
}
.method-card--featured .method-card__tag {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.method-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}
.method-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--c-ink-2);
}
.method-card__features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--c-line);
  margin: auto 0 0;
}
.method-card--featured .method-card__features { border-top-color: rgba(255,255,255,.15); }
.method-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--c-ink-2);
  line-height: 1.4;
}
.method-card__features li::before {
  content: "✓";
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ----- PREPARATION (нумерованный список подготовки) ----- */
.prep-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  counter-reset: prep;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) { .prep-list { grid-template-columns: 1fr 1fr; } }

.prep-list li {
  position: relative;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) calc(var(--sp-4) + 48px);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--c-ink-2);
  counter-increment: prep;
}
.prep-list li::before {
  content: counter(prep, decimal-leading-zero);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-accent);
  line-height: 1;
}

/* ----- RELATED SERVICES (похожие услуги) ----- */
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 600px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(4, 1fr); } }

.related-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: all var(--t-fast);
}
.related-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.related-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.related-card__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-accent);
  margin: 0;
}
.related-card__link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-ink-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast);
}
.related-card:hover .related-card__link { color: var(--c-accent); gap: 8px; }

/* =========================================================
   SERVICE-TILES (плитки услуг на категорийных страницах)
   ========================================================= */
.service-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 600px) {
  .service-tiles { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .service-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .service-tiles { grid-template-columns: repeat(4, 1fr); }
}

.service-tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  transition: all var(--t-fast);
  color: inherit;
  text-decoration: none;
  position: relative;
}
.service-tile:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.service-tile__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.service-tile__desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.4;
  flex-grow: 1;
}
.service-tile__price {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-accent);
  margin: var(--sp-2) 0 0;
}
.service-tile__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-ink-2);
  transition: gap var(--t-fast);
  margin-top: 2px;
}
.service-tile:hover .service-tile__link {
  color: var(--c-accent);
  gap: 8px;
}

/* =========================================================
   STATIC PAGES (компоненты для статических страниц)
   ========================================================= */

/* ----- Карточки способов связи ----- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 640px) {
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-fast);
}
.contact-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.contact-card__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  background: rgba(232,93,47,.12);
  color: var(--c-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.contact-card__icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.contact-card__body {
  flex: 1 1 auto;
  min-width: 0;
}
.contact-card__label {
  font-size: 0.78rem;
  color: var(--c-muted);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.contact-card__value {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-ink);
  margin: 0;
  letter-spacing: -0.01em;
  word-break: break-word;
}
.contact-card__sub {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin: 4px 0 0;
}

/* ----- Таблица реквизитов ----- */
.requisites {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.requisites dl {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
}
@media (min-width: 640px) {
  .requisites dl { grid-template-columns: 220px 1fr; }
}
.requisites dt,
.requisites dd {
  padding: var(--sp-3) var(--sp-4);
  margin: 0;
  border-bottom: 1px solid var(--c-line);
}
.requisites dt {
  font-size: 0.85rem;
  color: var(--c-muted);
  background: var(--c-bg);
  font-weight: 500;
}
.requisites dd {
  font-weight: 500;
  color: var(--c-ink);
}
.requisites dt:nth-last-of-type(1),
.requisites dd:nth-last-of-type(1) { border-bottom: none; }

/* ----- Карта сайта ----- */
.sitemap {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 768px) {
  .sitemap { grid-template-columns: 1fr 1fr; }
}
.sitemap__group {
  background: #fff;
  padding: var(--sp-4);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.sitemap__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-line);
}
.sitemap__title a {
  color: var(--c-ink);
  text-decoration: none;
}
.sitemap__title a:hover { color: var(--c-accent); }
.sitemap__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sitemap__list li { font-size: 0.92rem; }
.sitemap__list a {
  color: var(--c-ink-2);
  text-decoration: none;
}
.sitemap__list a:hover {
  color: var(--c-accent);
  text-decoration: underline;
}

/* ----- Документы и лицензии (плитки) ----- */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
@media (min-width: 600px) { .docs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .docs-grid { grid-template-columns: repeat(3, 1fr); } }

.doc-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}
.doc-card__preview {
  aspect-ratio: 1 / 1.4;
  background: var(--c-bg);
  border: 1px dashed var(--c-line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-bottom: var(--sp-2);
}
.doc-card__title {
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}
.doc-card__sub {
  font-size: 0.82rem;
  color: var(--c-muted);
  margin: 0;
}
.doc-card__actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-2);
}

/* ----- Длинный текст юридических страниц ----- */
.legal-text {
  max-width: 760px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--c-ink-2);
}
.legal-text h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: var(--sp-6) 0 var(--sp-3);
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--c-ink);
  margin: var(--sp-4) 0 var(--sp-2);
}
.legal-text p { margin: 0 0 var(--sp-3); }
.legal-text ul, .legal-text ol {
  margin: var(--sp-2) 0 var(--sp-3);
  padding-left: var(--sp-4);
}
.legal-text li { margin-bottom: 6px; }
.legal-text strong { color: var(--c-ink); font-weight: 600; }
.legal-meta {
  display: inline-block;
  padding: 6px 12px;
  background: var(--c-bg);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: var(--sp-5);
}
