/* ==========================================================================
   Watch Needs Love — общие блоки внутренних страниц (первый экран, карточки, строки, форма)
   Подключается после base.css, components.css и theme.css.
   ========================================================================== */

.page-blog main { position: relative; z-index: 1; }

/* ---------- Первый экран ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 clamp(48px, 5vw, 72px);
}
.page-hero__heading { min-width: 0; }
.page-hero__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(28px, 2.6vw, 36px);
  border-bottom: 1px solid var(--c-line);
}
.page-hero__eyebrow {
  margin-bottom: 18px;
  font-size: clamp(14px, 1.4vw, 19px);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.page-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin: 0 14px 0.3em 0;
  vertical-align: middle;
  background: var(--c-accent);
}
.page-hero__title { font-size: clamp(34px, 4.4vw, 60px); }

/* Фото в рамке с красной чертой сверху, как у карточек сайта */
.page-hero__photo {
  position: relative;
  flex: none;
  align-self: flex-start;
  width: clamp(120px, 12vw, 168px);
  aspect-ratio: 121 / 160;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(44, 43, 54, 0.8), rgba(14, 14, 20, 0.85));
  border: 1px solid var(--c-line-soft);
}
.page-hero__photo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  width: 40px;
  height: 2px;
  background: var(--c-accent);
}
.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transform: scale(1.08);
}

.page-hero__bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-top: clamp(32px, 3.6vw, 50px);
}
.page-hero__btn { min-width: min(307px, 100%); font-size: 14px; }
.page-hero__lead {
  max-width: 582px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.4;
  color: var(--c-muted);
}

/* ---------- Статьи ---------- */
.blog-posts { padding-top: clamp(32px, 3vw, 48px); }
.blog-posts__title { margin-bottom: clamp(24px, 2.2vw, 30px); }
.blog-posts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.9vw, 26px);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 314px;
  padding: 26px 22px 22px;
  background: linear-gradient(145deg, rgba(44, 43, 54, 0.78) 0%, rgba(22, 22, 30, 0.7) 42%, rgba(28, 28, 36, 0.74) 100%);
  border: 1px solid var(--c-line-soft);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.post-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 40px;
  height: 2px;
  background: var(--c-accent);
  transition: width 0.4s var(--ease);
}
.post-card:hover { border-color: rgba(255, 255, 255, 0.28); }
.post-card:hover::after { width: calc(100% - 44px); }

.post-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.post-card__meta span:last-child { opacity: 0.7; }
.post-card__title {
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
}
.post-card__text {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--c-muted);
}
.post-card__btn {
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  font-size: 13px;
}
.post-card__text { margin-bottom: 24px; }

/* ---------- О чём мы пишем ---------- */
.blog-topics__title { margin-bottom: clamp(24px, 3.4vw, 48px); }
.topics { border-top: 1px solid var(--c-line); }
.topic {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 470px) minmax(0, 1fr) 249px;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--c-line);
}
/* красная черта проезжает по линии при наведении */
.topic::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--c-accent-hover);
  transition: width 0.6s var(--ease);
}
.topic:hover::after { width: 100%; }
.topic__num { font-size: 13px; font-weight: 300; color: var(--c-accent-hover); letter-spacing: 0.08em; }
.topic__title {
  font-size: clamp(18px, 1.8vw, 25px);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}
.topic__text {
  max-width: 400px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--c-muted);
}
.topic__btn { width: 100%; min-height: 42px; font-size: 13px; }

/* ---------- Вопрос специалисту ---------- */
.ask__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(28px, 3.2vw, 44px);
}
.ask__title { max-width: 560px; }
.ask__text { max-width: 350px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.4; }
.ask__form {
  display: grid;
  grid-template-columns: 357fr 356fr 446fr;
  column-gap: 46px;
  row-gap: 17px;
}
.ask__form .btn { width: 100%; }
.ask__form .request-form__consent { grid-column: 1 / 3; max-width: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .blog-posts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card { min-height: 280px; }
  .topic { grid-template-columns: 44px minmax(0, 1fr) 200px; row-gap: 10px; }
  .topic__text { grid-column: 2; grid-row: 2; max-width: 520px; }
  .topic__btn { grid-column: 3; grid-row: 1 / 3; }
  .ask__form { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .ask__form .btn,
  .ask__form .request-form__consent { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .page-hero { padding-top: calc(var(--header-h) + 72px); }
  .page-hero__bottom { flex-direction: column-reverse; gap: 24px; }
  .page-hero__btn { width: 100%; }
  .ask__head { flex-direction: column; gap: 14px; }
}

@media (max-width: 640px) {
  .page-hero { padding-top: calc(var(--header-h) + 56px); }
  .page-hero__top { gap: 16px; align-items: flex-end; }
  .page-hero__photo { width: 76px; }
  .page-hero__eyebrow { margin-bottom: 12px; font-size: 12px; }
  .page-hero__eyebrow::before { width: 20px; margin-right: 10px; }
  .page-hero__title { font-size: clamp(22px, 5.9vw, 32px); }
  .page-blog .page-hero__title { white-space: nowrap; }
  .page-blog .page-hero__eyebrow { white-space: nowrap; }
  .blog-posts__grid { grid-template-columns: 1fr; gap: 14px; }
  .post-card { min-height: 0; padding: 24px 20px 20px; }
  .post-card::after { left: 20px; }
  .post-card:hover::after { width: calc(100% - 40px); }
  .topic { grid-template-columns: 32px minmax(0, 1fr); gap: 10px 12px; padding: 24px 0; }
  .topic__num { align-self: start; padding-top: 4px; }
  .topic__text { grid-column: 2; }
  .topic__btn { grid-column: 2; grid-row: auto; margin-top: 8px; }
  .ask__form { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Общие блоки внутренних страниц
   ========================================================================== */

/* Кнопки: светлая (вторая кнопка первого экрана) */
.btn--light { background: #fff; color: #0b0b10; border-color: #fff; }
.btn--light:hover { background: var(--c-chip); border-color: var(--c-chip); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero__actions .btn { min-width: min(240px, 100%); font-size: 13px; }

/* Секция и её шапка: заголовок слева, пояснение справа */
.sec { position: relative; padding-block: var(--section-pad); }
.sec--tight { padding-top: clamp(16px, 2vw, 32px); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(26px, 3.2vw, 46px);
}
.sec-head .h-section { max-width: 720px; }
.sec-head__text {
  max-width: 440px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--c-muted);
}
.sec-note { margin-top: 22px; max-width: 760px; font-size: 13px; font-weight: 300; line-height: 1.45; color: var(--c-muted); }
.text-col { display: grid; gap: 14px; font-size: 14px; font-weight: 300; line-height: 1.5; color: var(--c-muted); }
.text-col strong { color: var(--c-text); font-weight: 400; }

/* Стеклянная карточка с красной чертой — общая основа */
.glass {
  position: relative;
  background: linear-gradient(145deg, rgba(44, 43, 54, 0.78) 0%, rgba(22, 22, 30, 0.7) 42%, rgba(28, 28, 36, 0.74) 100%);
  border: 1px solid var(--c-line-soft);
}

/* Красный значок с иконкой */
.ibadge {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 42px;
  background: var(--c-accent);
}
.ibadge svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Карточки с иконкой ---------- */
.icards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.icard {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px 22px 26px;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease);
}
.icard:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
.icard__title { margin-top: auto; padding-top: 40px; font-size: 15px; font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.icard__text { margin-top: 10px; font-size: 13px; font-weight: 300; line-height: 1.45; color: var(--c-muted); }

/* ---------- Три карточки на «циферблате» ---------- */
.ocards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 80px);
  padding: 20px 0 40px;
}
.ocards__decor { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ocard { position: relative; z-index: 1; padding: 24px 24px 28px; }
.ocard:nth-of-type(1) { grid-column: 3; grid-row: 1; }
.ocard:nth-of-type(2) { grid-column: 1; grid-row: 2; margin-top: -40px; }
.ocard:nth-of-type(3) { grid-column: 2; grid-row: 3; margin-top: 70px; }
.ocard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.ocard__title { font-size: 15px; font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.ocard__text { font-size: 12.5px; font-weight: 300; line-height: 1.5; color: var(--c-muted); }
.ibadge--cross svg { width: 24px; height: 24px; stroke-width: 1.2; }

/* ---------- Строки «номер · заголовок · текст» ---------- */
.topics--steps .topic { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 420px); padding: 24px 0; }
.topics--steps .topic__title { font-size: clamp(16px, 1.45vw, 20px); }

/* ---------- Плашки с плюсом ---------- */
.pluses { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.plus {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 10px 20px 10px 16px;
  border: 1px solid var(--c-line);
  background: rgba(26, 25, 31, 0.6);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  transition: border-color 0.3s var(--ease);
}
.plus::before { content: "+"; font-size: 20px; font-weight: 200; line-height: 1; color: var(--c-accent-hover); }
.plus:hover { border-color: rgba(255, 255, 255, 0.45); }

/* ---------- Баннер с механизмом справа ---------- */
.banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  align-items: center;
  gap: 24px;
  min-height: 230px;
  padding: clamp(26px, 3vw, 40px);
  overflow: visible;
}
.banner__body { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: start; }
.banner__title { max-width: 620px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.banner__text { max-width: 620px; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--c-muted); }
.banner__body .btn { margin-top: 10px; }
.banner__media { position: relative; align-self: stretch; }
.banner__media img {
  position: absolute;
  right: -2%;
  bottom: -10%;
  width: min(118%, 560px);
  max-width: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  transition: transform 1.2s var(--ease);
}
.banner:hover .banner__media img { transform: translateY(-6px) rotate(-1.5deg); }

/* ---------- Текст + фото до края экрана ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(460px, 44vw, 640px);
}
.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: var(--section-pad) clamp(24px, 4vw, 64px) var(--section-pad) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.split--rev .split__body { order: 2; padding-left: clamp(24px, 4vw, 64px); padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.split__body .btn { align-self: flex-start; margin-top: 8px; }
.split__media { position: relative; overflow: hidden; min-height: 320px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.split.is-in .split__media img,
.split.is-visible .split__media img,
.split:hover .split__media img { transform: scale(1); }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 5, 11, 0.55), rgba(6, 5, 11, 0) 35%); pointer-events: none; }
.split--rev .split__media::after { background: linear-gradient(270deg, rgba(6, 5, 11, 0.55), rgba(6, 5, 11, 0) 35%); }
.check-list { display: grid; gap: 6px; font-size: 14px; font-weight: 300; color: var(--c-muted); }
.check-list li { position: relative; padding-left: 22px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 6px; border-left: 1.5px solid var(--c-accent-hover); border-bottom: 1.5px solid var(--c-accent-hover); transform: rotate(-45deg); }

/* ---------- Фото на всю ширину с текстом ---------- */
.bleed {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: clamp(520px, 52vw, 760px);
  padding-block: clamp(48px, 5vw, 72px);
  overflow: hidden;
}
.bleed__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.bleed::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6, 5, 11, 0.55) 0%, rgba(6, 5, 11, 0.15) 45%, rgba(6, 5, 11, 0.8) 100%); }
.bleed > .container { position: relative; z-index: 2; }
.bleed__head { display: flex; justify-content: space-between; gap: 32px; }
.bleed__head .h-section { max-width: 700px; }
.bleed__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 32px; }
.bleed__cols p { max-width: 320px; font-size: 13.5px; font-weight: 300; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.bleed__cols .btn { justify-self: end; }

/* ---------- Форма: вариант с кнопками вместо полей ---------- */
.ask__buttons { display: grid; gap: 14px; min-width: min(420px, 100%); }
.ask__buttons .btn { width: 100%; }
.ask__msgs { display: flex; gap: 10px; }

/* ---------- Адаптив общих блоков ---------- */
@media (max-width: 1100px) {
  .icards { --cols: 2 !important; }
  .ocards { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .ocard:nth-of-type(n) { grid-column: auto; grid-row: auto; margin-top: 0; }
  .ocard:nth-of-type(3) { grid-column: 1 / -1; max-width: 560px; justify-self: center; }
  .ocards__decor { display: none; }
  .banner { grid-template-columns: 1fr; }
  .banner__media { min-height: 200px; }
  .banner__media img { position: relative; right: auto; bottom: auto; width: min(100%, 460px); margin: 0 auto -40px; display: block; }
  .bleed__cols { grid-template-columns: 1fr 1fr; }
  .bleed__cols .btn { grid-column: 1 / -1; justify-self: start; }
  .topics--steps .topic { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 360px); }
  .topics--steps .topic__text { grid-column: 3; grid-row: auto; }
}
@media (max-width: 900px) {
  .sec-head { flex-direction: column; align-items: flex-start; }
  .split,
  .split--rev { grid-template-columns: 1fr; }
  .split__body,
  .split--rev .split__body { order: 1; padding: var(--section-pad) var(--gutter) 32px; }
  .split__media { order: 2; min-height: 0; aspect-ratio: 4 / 3; }
  .split__media::after { background: linear-gradient(180deg, rgba(6, 5, 11, 0.6), rgba(6, 5, 11, 0) 30%); }
  .topics--steps .topic { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .topics--steps .topic__text { grid-column: 2; grid-row: 2; }
  .bleed__head { flex-direction: column; }
}
@media (max-width: 640px) {
  .icards { --cols: 1 !important; }
  .icard { min-height: 0; }
  .icard__title { padding-top: 28px; }
  .ocards { grid-template-columns: 1fr; }
  .ocard:nth-of-type(3) { max-width: none; }
  .plus { width: 100%; }
  .bleed__cols { grid-template-columns: 1fr; gap: 18px; }
  .topics--steps .topic { grid-template-columns: 32px minmax(0, 1fr); }
}

/* ---------- Строки услуг: фото · название · описание · кнопка ---------- */
.svc-rows { border-top: 1px solid var(--c-line-soft); }
.svc-rows[hidden] { display: none; }
.svc-row {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr) minmax(0, 300px) 272px;
  align-items: center;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--c-line-soft);
  animation: svc-in 0.6s var(--ease) both;
}
.svc-row:nth-child(2) { animation-delay: 0.05s; }
.svc-row:nth-child(3) { animation-delay: 0.1s; }
.svc-row:nth-child(4) { animation-delay: 0.15s; }
.svc-row:nth-child(5) { animation-delay: 0.2s; }
@keyframes svc-in { from { opacity: 0; transform: translateY(14px); } }
.svc-row__img { width: 114px; height: 65px; object-fit: cover; transition: transform 0.5s var(--ease); }
.svc-row:hover .svc-row__img { transform: scale(1.06); }
.svc-row__title { font-size: clamp(15px, 1.3vw, 18px); font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.svc-row__text { font-size: 12.5px; font-weight: 300; line-height: 1.45; color: var(--c-muted); }
.svc-row__btn { min-height: 52px; padding-inline: 18px; font-size: 13px; }

@media (max-width: 1100px) {
  .svc-row { grid-template-columns: 114px minmax(0, 1fr) 240px; row-gap: 8px; }
  .svc-row__img { grid-row: 1 / 3; }
  .svc-row__text { grid-column: 2; grid-row: 2; }
  .svc-row__btn { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 640px) {
  .svc-row { grid-template-columns: 88px minmax(0, 1fr); gap: 8px 16px; padding: 20px 0; }
  .svc-row__img { width: 88px; height: 58px; grid-row: 1 / 3; }
  .svc-row__btn { grid-column: 1 / -1; grid-row: auto; margin-top: 8px; min-height: 44px; }
}

/* ---------- Номер этапа вместо крестика ---------- */
.ibadge--num { font-size: 15px; font-weight: 400; letter-spacing: 0.04em; color: #fff; }

/* ---------- Тёмные карточки поверх фото ---------- */
.bleed__cols--cards { align-items: stretch; gap: clamp(10px, 1vw, 14px); }
.bcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 210px;
  padding: 24px 24px 28px;
  background: rgba(24, 24, 30, 0.88);
  border-top: 2px solid transparent;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease), transform 0.35s var(--ease);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.bcard:hover { border-top-color: var(--c-accent-hover); background: rgba(30, 30, 38, 0.94); transform: translateY(-4px); }
.bcard__title { font-size: clamp(15px, 1.3vw, 18px); font-weight: 500; text-transform: uppercase; }
.bcard__text { max-width: 300px; font-size: 13px; font-weight: 300; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }
.bleed__cols--cards p { max-width: 300px; }

/* ---------- Отзывы карточками ---------- */
.sec-reviews__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sec-reviews__head { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 14px; justify-items: start; }
.sec-reviews__head .btn { margin-top: 10px; }
.rcards { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.rcard {
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.rcard:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateX(-4px); }
.rcard__img { width: 114px; height: 138px; object-fit: cover; }
.rcard__body { display: flex; flex-direction: column; min-width: 0; padding: 4px 4px 2px 0; }
.rcard__quote { margin: 0; font-size: 13px; font-weight: 300; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }
.rcard__author { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 400; text-transform: uppercase; }
.rcard__link { align-self: flex-start; margin-top: 6px; font-size: 10.5px; font-weight: 400; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; color: var(--c-muted); transition: color 0.2s var(--ease); }
.rcard__link:hover { color: var(--c-accent-hover); }

/* ---------- Полоса-призыв ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(24px, 3vw, 40px); }
.cta::after { content: ""; position: absolute; top: 0; left: clamp(24px, 3vw, 40px); width: 40px; height: 2px; background: var(--c-accent); }
.cta__body { display: grid; gap: 10px; max-width: 640px; }
.cta__title { font-size: clamp(17px, 1.6vw, 22px); font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.cta__text { font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--c-muted); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__actions .btn { min-width: 240px; font-size: 13px; }

@media (max-width: 1100px) {
  .bleed__cols--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bcard { min-height: 180px; padding: 20px; }
}
@media (max-width: 900px) {
  .sec-reviews__grid { grid-template-columns: 1fr; }
  .sec-reviews__head { position: static; }
  .bleed__cols--cards { grid-template-columns: 1fr; }
  .bcard { min-height: 0; gap: 16px; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .rcard { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .rcard__img { width: 84px; height: 104px; }
  .cta__actions { width: 100%; flex-direction: column; }
  .cta__actions .btn { width: 100%; min-width: 0; }
}
.page-hero__note { margin-top: 22px; max-width: 520px; font-size: 12px; font-weight: 300; line-height: 1.45; color: rgba(255, 255, 255, 0.5); }
@media (max-width: 640px) {
  .page-hero__actions { width: 100%; flex-direction: column; }
  .page-hero__actions .btn { width: 100%; }
}
.cta--plain { padding-inline: 0; }
.cta--plain::after { display: none; }
.cta--plain .cta__title { font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; }

/* ---------- Срок гарантии в рамке ---------- */
.term { justify-self: start; margin-top: 18px; padding: 12px 18px; border: 1px solid var(--c-line); font-size: 13px; text-transform: uppercase; color: var(--c-text); }
.term b { font-weight: 500; color: var(--c-accent-hover); }

/* ---------- Две фотографии лесенкой ---------- */
.duo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas: "title text-a img-a" "text-b img-b .";
  gap: clamp(20px, 2.6vw, 36px);
}
.duo__title { grid-area: title; max-width: 380px; }
.duo__text { max-width: 300px; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--c-muted); }
.duo__text--a { grid-area: text-a; align-self: center; }
.duo__text--b { grid-area: text-b; align-self: end; }
.duo__img { position: relative; overflow: hidden; aspect-ratio: 1 / 0.8; }
.duo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo__img:hover img { transform: scale(1.05); }
.duo__img--a { grid-area: img-a; }
.duo__img--b { grid-area: img-b; margin-top: calc(-1 * clamp(40px, 6vw, 90px)); }
@media (max-width: 900px) {
  .duo__grid { grid-template-columns: 1fr 1fr; grid-template-areas: "title title" "text-a text-b" "img-a img-b"; }
  .duo__img--b { margin-top: 40px; }
  .duo__text--b { align-self: start; }
}
@media (max-width: 640px) {
  .duo__grid { grid-template-columns: 1fr; grid-template-areas: "title" "text-a" "img-a" "text-b" "img-b"; }
  .duo__img--b { margin-top: 0; }
}

/* ---------- Портфолио: фильтр и сетка «до/после» ---------- */
.pf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.pf__grid [hidden] { display: none; }
.pf__grid .compare { animation: svc-in 0.5s var(--ease) both; }

/* ---------- Видео-карточки ---------- */
.vcards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.vcard { position: relative; grid-column: span 2; overflow: hidden; aspect-ratio: 620 / 351; margin: 0; cursor: pointer; }
.vcard--big { grid-column: span 3; }
.vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.vcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 5, 11, 0) 45%, rgba(6, 5, 11, 0.85)); }
.vcard:hover img { transform: scale(1.05); }
.vcard__play {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(201, 40, 42, 0.92);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.vcard__play svg { width: 22px; height: 22px; margin-left: 3px; fill: #fff; }
.vcard:hover .vcard__play { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 10px rgba(201, 40, 42, 0.25); }
.vcard__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; font-size: 13px; font-weight: 400; text-transform: uppercase; }

/* ---------- FAQ: группы вопросов ---------- */
.faq-groups .faq--group { padding-block: clamp(28px, 3vw, 48px); }
.faq-groups .faq--group:first-child { padding-top: clamp(16px, 2vw, 32px); }

@media (max-width: 900px) {
  .pf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard, .vcard--big { grid-column: span 3; }
}
@media (max-width: 640px) {
  .pf__grid { grid-template-columns: 1fr; }
  .vcards { grid-template-columns: 1fr; }
  .vcard, .vcard--big { grid-column: auto; }
  .vcard__play { width: 46px; height: 46px; }
}

/* ---------- Академия: материалы ---------- */
.mats { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.vcard--feature { grid-column: auto; aspect-ratio: auto; min-height: 100%; }
.vcard--feature .vcard__play { width: 72px; height: 72px; }
.vcard--feature .vcard__play svg { width: 28px; height: 28px; }
.vcard--feature .vcard__cap { font-size: clamp(14px, 1.3vw, 18px); }
.mats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.mcard { display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 22px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.mcard::after { content: ""; position: absolute; top: 0; left: 22px; width: 40px; height: 2px; background: var(--c-accent); transition: width 0.4s var(--ease); }
.mcard:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-3px); }
.mcard:hover::after { width: calc(100% - 44px); }
.mcard__title { font-size: 15px; font-weight: 400; text-transform: uppercase; }
.mcard__text { font-size: 13px; font-weight: 300; line-height: 1.45; color: var(--c-muted); }
.mcard__link { margin-top: auto; font-size: 12px; text-transform: uppercase; color: var(--c-accent-hover); }
.mcard__link span { display: inline-block; transition: transform 0.3s var(--ease); }
.mcard:hover .mcard__link span { transform: translateX(4px); }

/* ---------- Контакты ---------- */
.cinfo { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px 32px; padding-block: clamp(24px, 3vw, 40px); border-block: 1px solid var(--c-line-soft); }
.cinfo__item { display: flex; align-items: center; gap: 14px; }
.cinfo__item .ibadge { width: 36px; height: 34px; }
.cinfo__item .ibadge svg { width: 18px; height: 18px; }
.cinfo__label { margin-bottom: 4px; font-size: 11px; font-weight: 300; color: var(--c-muted); }
.cinfo__val { font-size: 14px; font-weight: 400; line-height: 1.35; }
.cinfo__val a:hover { color: var(--c-accent-hover); }
.socials--lg a svg { width: 30px; height: 30px; }
.ask--msg .ask__head { align-items: center; }
.ask--msg .socials { flex: none; }

.ltiles-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.ltiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ltile { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 8px 8px 8px 18px; font-size: 13px; text-transform: uppercase; transition: border-color 0.3s var(--ease); }
.ltile .ibadge { transition: transform 0.35s var(--ease), background-color 0.3s var(--ease); }
.ltile:hover { border-color: rgba(255, 255, 255, 0.3); }
.ltile:hover .ibadge { transform: rotate(-45deg); background: var(--c-accent-hover); }

@media (max-width: 1100px) {
  .cinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mats { grid-template-columns: 1fr; }
  .vcard--feature { aspect-ratio: 620 / 351; min-height: 0; }
  .ltiles-wrap { grid-template-columns: 1fr; }
  .ask--msg .ask__head { align-items: flex-start; }
}
@media (max-width: 640px) {
  .mats__list { grid-template-columns: 1fr; }
  .mcard { min-height: 0; }
  .cinfo { grid-template-columns: 1fr; }
  .ltiles { grid-template-columns: 1fr; }
}

/* Подстраницы услуг: подзаголовок и связанные услуги в блоке стоимости */
.split__sub { margin: 28px 0 10px; font-size: 18px; font-weight: 500; letter-spacing: 0.01em; color: #fff; }
.split__links { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.split__links a { color: var(--c-accent-hover); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.2); text-underline-offset: 3px; transition: text-decoration-color 0.25s var(--ease); }
.split__links a:hover { text-decoration-color: currentColor; }
.bleed .sec-head__text a { color: var(--c-accent-hover); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Документы: товарный знак и гарантийный талон ---------- */
.docblock__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.docblock--rev .docblock__text { order: 2; }
.docblock__text { display: grid; gap: 16px; align-content: start; }
.docblock__text > p { max-width: 560px; font-weight: 300; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.docblock__eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent-hover) !important; }
.docblock__note { font-size: 13px; color: var(--c-muted) !important; }
.docblock__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 6px 0 4px; }
.docblock__facts dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-muted); }
.docblock__facts dd { margin: 4px 0 0; font-size: clamp(16px, 1.4vw, 20px); font-weight: 400; }
.docblock__btn { justify-self: start; margin-top: 6px; }
.docblock__paper { position: relative; display: block; justify-self: center; width: min(100%, 400px); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); transform: rotate(-2deg); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.docblock__paper::before { content: ""; position: absolute; z-index: 1; top: 0; left: 14px; width: 40px; height: 2px; background: var(--c-accent); }
.docblock__paper img { display: block; width: 100%; height: auto; }
.docblock__paper:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6); }

.wcard { position: relative; justify-self: center; width: min(100%, 460px); padding: clamp(22px, 2.6vw, 34px); overflow: hidden; border: 1px solid var(--c-line-soft); border-top: 2px solid var(--c-accent); background: linear-gradient(160deg, rgba(44, 43, 54, 0.85), rgba(14, 14, 20, 0.92)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.wcard__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--c-line); }
.wcard__head img { width: 110px; height: auto; }
.wcard__no { display: flex; align-items: baseline; gap: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.wcard__no i { display: inline-block; width: 54px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.wcard__row { display: grid; grid-template-columns: 44% 1fr; align-items: end; gap: 12px; padding: 11px 0; font-size: 12px; font-weight: 300; color: var(--c-muted); }
.wcard__row i { min-height: 1.2em; border-bottom: 1px solid rgba(255, 255, 255, 0.22); font-style: normal; color: #fff; }
.wcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; font-size: 12px; font-weight: 300; color: var(--c-muted); }
.wcard__stamp { display: grid; place-items: center; width: 74px; aspect-ratio: 1; border: 1.5px solid rgba(193, 35, 32, 0.7); border-radius: 50%; font-size: 10px; line-height: 1.3; letter-spacing: 0.12em; text-align: center; color: rgba(214, 60, 56, 0.85); transform: rotate(-12deg); }
.wcard__mark { position: absolute; right: -44px; top: 22px; padding: 5px 50px; background: var(--c-accent); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; transform: rotate(35deg); }

@media (max-width: 900px) {
  .docblock__grid { grid-template-columns: 1fr; }
  .docblock--rev .docblock__text { order: 0; }
  .docblock__paper { width: min(78%, 340px); }
}
