/* ============================================
   FISENKO A.YU. — Юрист по недвижимости
   Стилистика: тёмно-синий, как bg63.ru
   ============================================ */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400.ttf') format('truetype');
}

/* ============================================
   REDESIGN PREVIEW — визуальная система buh.bg63.ru
   ============================================ */
:root {
  --bg-deep: #ffffff;
  --bg-base: #ffffff;
  --bg-card: #f4f5f7;
  --bg-card-hover: #eef1f6;
  --bg-elevated: #f3f5f8;
  --bg-lighter: #f7f8fa;
  --accent: #001e62;
  --accent-red: #c14554;
  --accent-glow: rgba(0, 30, 98, 0.12);
  --accent-subtle: rgba(0, 30, 98, 0.07);
  --text: #001e62;
  --text-secondary: #43516c;
  --text-muted: #758096;
  --line: rgba(0, 30, 98, 0.12);
  --line-hover: rgba(0, 30, 98, 0.25);
  --radius: 24px;
  --container: 1240px;
  --section-py: 96px;
}

body { background: #fff; color: var(--text); }
.header { background: rgba(255,255,255,.94); border-color: var(--line); }
.header__inner { height: 92px; }
.header__logo { gap: 18px; }
.header__logo-image { width: 134px; height: auto; }
.header__logo-text { padding-left: 18px; border-left: 1px solid var(--line); font-size: 13px; color: var(--accent-red); }
.header__logo-text small { color: var(--text-muted); letter-spacing: .02em; text-transform: none; }
.header__nav { gap: 22px; }
.header__nav a { color: var(--text-secondary); }
.header__nav a:hover, .header__phone:hover { color: var(--accent-red); }
.header__burger span { background: var(--accent); }

.btn { min-height: 56px; border-radius: 999px; padding: 0 10px 0 24px; }
.btn i { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 10px; border-radius: 50%; background: #fff; color: var(--accent); font-style: normal; font-size: 20px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #0a2f7a; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-hover); color: var(--accent); padding: 0 26px; }
.btn--ghost:hover { background: var(--bg-card); }

.hero { min-height: auto; padding: 52px 0 34px; background: #fff; }
.hero::before { display: none; }
.hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 22px; align-items: stretch; }
.hero__content { display: flex; flex-direction: column; justify-content: center; min-height: 650px; padding: 64px; border-radius: 30px; background: var(--bg-card); }
.hero__badge { display: inline-flex; align-items: center; width: fit-content; color: var(--text-secondary); border: 0; background: transparent; padding: 0; margin-bottom: 28px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.hero__badge span { width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: var(--accent-red); }
.hero__title { max-width: 770px; margin: 0; color: var(--accent); font-size: clamp(42px, 4.4vw, 67px); line-height: 1.03; letter-spacing: -.055em; }
.hero__subtitle { margin-top: 28px; color: var(--text-secondary); font-size: 18px; }
.hero__directions { display: none; }
.hero__actions { margin-top: 36px; }
.hero__side { display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; }
.hero__portrait { position: relative; flex: 1; min-height: 520px; overflow: hidden; border-radius: 30px; background: #eef2f7; }
.hero__portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero__person { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; flex-direction: column; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--accent); }
.hero__person strong { font-size: 18px; }
.hero__person span { font-size: 13px; color: var(--text-secondary); }
.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hero__stat { padding: 18px 14px; border: 0; border-radius: 18px; background: var(--accent); color: #fff; }
.hero__stat:last-child { border-bottom: 0; }
.hero__stat strong { display: block; font-size: 18px; line-height: 1.15; }
.hero__stat span { display: block; margin-top: 5px; font-size: 11px; line-height: 1.3; opacity: .72; }

.section { background: #fff; }
.section--alt, .section--cards { background: #fff; }
.section--accent { background: var(--accent); color: #fff; }
.section--accent .section__title { color: #fff; }
.section__head { max-width: 880px; margin-bottom: 42px; }
.section__head::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 10px; border-radius: 50%; background: var(--accent-red); }
.section__title { display: inline; color: var(--accent); font-size: clamp(34px, 4vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
.card, .feature, .service-mini, .guarantee { border: 0; border-radius: 22px; background: var(--bg-card); }
.card { min-height: 190px; padding: 28px; }
.card__num { color: var(--accent-red); }
.card__text, .feature__title, .service-mini__name { color: var(--accent); }
.grid--bordered { border: 0; gap: 14px; }
.grid--bordered > * { border: 0; }
.feature { padding: 28px; }
.priority { border-radius: 24px; background: #fff; color: var(--accent); }
.priority__desc, .priority__for { color: var(--text-secondary); }
.priority .btn { background: var(--accent); color: #fff; }
.service, .process, .case-item, .faq__item, .form, .contacts__info, .about { border-radius: 24px; border-color: var(--line); background: #fff; color: var(--accent); }
.service { box-shadow: 0 14px 40px rgba(0,30,98,.07); }
.service__body, .service__col { border-color: var(--line); }
.service__list, .process__text, .case-item__body, .faq__a, .about__quote { color: var(--text-secondary); }
.footer { background: var(--accent); }

@media (max-width: 980px) {
  .header__logo-text { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { min-height: auto; padding: 48px; }
  .hero__portrait { min-height: 620px; }
}

@media (max-width: 640px) {
  :root { --section-py: 72px; }
  .container { padding: 0 20px; }
  .header__inner { height: 82px; }
  .header__logo-image { width: 118px; }
  .hero { padding-top: 24px; }
  .hero__grid { gap: 10px; }
  .hero__content { padding: 34px 24px; border-radius: 22px; }
  .hero__title { font-size: 38px; }
  .hero__subtitle { font-size: 16px; }
  .hero__actions { align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__portrait { min-height: 490px; border-radius: 22px; }
  .hero__portrait > img { object-position: 50% 10%; }
  .hero__stats { grid-template-columns: 1fr; gap: 8px; }
  .hero__stat { display: flex; align-items: baseline; gap: 10px; padding: 16px 18px; }
  .hero__stat span { margin-top: 0; }
  .section__head { margin-bottom: 30px; }
  .section__title { font-size: 36px; }
}

/* Направление Елены Романовой: юридическая функция для бизнеса */
.elena-page .business-direction__title {
  max-width: 760px;
}

.elena-page .elena-portrait img {
  object-position: 50% 24%;
}

.elena-reasons .feature__title {
  min-height: 2.8em;
}

.elena-service-solutions h4 {
  min-height: 2.7em;
}

.elena-service-solutions article,
.elena-service-items article {
  display: flex;
  flex-direction: column;
}

.elena-service-solutions article > ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.elena-service-solutions article > ul li,
.elena-inline-details li {
  margin-bottom: 8px;
}

.elena-service-solutions--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elena-inline-details {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
}

.elena-inline-details summary {
  position: relative;
  padding: 18px 28px 4px 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.elena-inline-details summary::-webkit-details-marker {
  display: none;
}

.elena-inline-details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 24px;
  font-weight: 400;
}

.elena-inline-details[open] summary::after {
  content: "−";
}

.elena-inline-details ul {
  margin: 12px 0 0;
  padding-left: 22px;
  list-style: disc;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.elena-inline-details li::marker {
  color: var(--accent-red);
}

/* В абонентских форматах описания и раскрывающиеся списки начинаются на одном уровне. */
.elena-service-solutions--subscriptions > article > p {
  min-height: 6.6em;
}

.elena-project-group + .elena-project-group {
  margin-top: 12px;
}

.elena-service-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: var(--bg-base);
}

.elena-service-items article {
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-card);
}

.elena-service-items h4 {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.35;
}

.elena-service-items p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.elena-service-items--point {
  margin-top: 26px;
  padding: 0;
  background: transparent;
}


.elena-footer-grid {
  grid-template-columns: 2fr 1fr 1fr;
}

@media (max-width: 980px) {
  .elena-service-solutions--four,
  .elena-service-items {
    grid-template-columns: 1fr;
  }

  .elena-reasons .feature__title,
  .elena-service-solutions h4 {
    min-height: 0;
  }

  .elena-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .elena-page .elena-portrait img {
    object-position: 50% 20%;
  }

  .elena-service-items {
    padding: 12px;
  }

  .elena-service-items article {
    padding: 20px;
  }

  .elena-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Финальная унификация общей шапки и футера на всех четырех страницах. */
.home-header .home-header__nav {
  display: flex;
}

.home-header .home-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-footer .footer__grid {
  grid-template-columns:
    minmax(280px, 1.7fr)
    minmax(300px, 1.2fr)
    minmax(190px, .8fr)
    minmax(300px, 1fr);
}

@media (max-width: 1020px) {
  .home-header .home-header__nav {
    display: none;
  }

  .home-header .home-header__cta {
    display: inline-flex;
    margin-left: auto;
  }

  .home-footer .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .home-header .home-header__cta {
    display: none;
  }

  .home-footer .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Единая шапка и футер для главной и всех страниц направлений. */
.home-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #e3e7ef;
  box-shadow: 0 8px 24px rgba(0, 30, 98, .035);
  backdrop-filter: blur(16px);
}

.home-header .header__inner {
  width: 100%;
  max-width: 1920px;
  min-height: 132px;
  height: auto;
  padding: 18px 42px;
  gap: clamp(32px, 4vw, 82px);
}

.home-header .header__logo {
  gap: 28px;
}

.home-header .header__logo-image {
  width: 190px;
  height: auto;
}

.home-header .header__logo-text {
  min-width: 230px;
  padding-left: 30px;
  border-left: 1px solid #d8deea;
  color: #c14554;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.home-header .header__logo-text small {
  color: #73809a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.home-header__nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: clamp(28px, 3vw, 56px);
}

.home-header__nav a {
  color: #43516c;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.home-header__cta {
  flex: 0 0 auto;
  justify-content: center;
  min-height: 72px;
  padding: 0 38px;
  background: #001e62;
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

.home-footer {
  padding: clamp(100px, 10vw, 160px) 0 34px;
  border-top: 0;
  background: #001e62;
  color: #fff;
}

.home-footer .container {
  width: 100%;
  max-width: 1920px;
  padding-inline: 42px;
}

.home-footer .footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) minmax(300px, 1.15fr) minmax(190px, .75fr) minmax(300px, 1fr);
  gap: clamp(48px, 7vw, 130px);
  align-items: start;
  margin-bottom: clamp(110px, 11vw, 170px);
}

.home-footer .footer__col {
  gap: 22px;
}

.home-footer .home-footer__intro {
  align-self: center;
  padding-top: 58px;
}

.home-footer .footer__about,
.home-footer .footer__col a {
  color: rgba(255, 255, 255, .62);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.home-footer .footer__about {
  max-width: 500px;
}

.home-footer .footer__col a:hover,
.home-footer .footer__col a:focus-visible {
  color: #fff;
}

.home-footer .footer__bottom {
  padding-top: 0;
  border-top: 0;
  color: rgba(255, 255, 255, .52);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1280px) {
  .home-header .header__inner {
    min-height: 112px;
    padding-inline: 32px;
    gap: 28px;
  }

  .home-header .header__logo-image {
    width: 156px;
  }

  .home-header .header__logo-text {
    min-width: 190px;
    padding-left: 24px;
    font-size: 17px;
  }

  .home-header__nav {
    gap: 24px;
  }

  .home-header__nav a,
  .home-header__cta {
    font-size: 16px;
  }

  .home-header__cta {
    min-height: 60px;
    padding-inline: 28px;
  }

  .home-footer .footer__grid {
    grid-template-columns: 1.25fr 1fr .7fr 1fr;
    gap: 44px;
  }
}

@media (max-width: 1020px) {
  .home-header__nav {
    display: none;
  }

  .home-header .header__logo-text {
    display: block;
  }

  .home-header__cta {
    margin-left: auto;
  }

  .home-footer {
    padding-top: 88px;
  }

  .home-footer .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px 48px;
    margin-bottom: 90px;
  }

  .home-footer .home-footer__intro {
    align-self: start;
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .home-header .header__inner {
    min-height: 84px;
    padding: 12px 20px;
  }

  .home-header .header__logo {
    gap: 0;
  }

  .home-header .header__logo-image {
    width: 124px;
  }

  .home-header .header__logo-text,
  .home-header__cta {
    display: none;
  }

  .home-footer {
    padding: 68px 0 28px;
  }

  .home-footer .container {
    padding-inline: 22px;
  }

  .home-footer .footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-bottom: 68px;
  }

  .home-footer .footer__col {
    gap: 14px;
  }

  .home-footer .footer__about,
  .home-footer .footer__col a {
    font-size: 16px;
    line-height: 1.65;
  }

  .home-footer .footer__bottom {
    font-size: 13px;
  }
}

/* ============================================
   ГЛАВНАЯ: ОБЩАЯ ШАПКА И ФУТЕР
   ============================================ */
.home-page .home-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #e3e7ef;
  box-shadow: 0 8px 24px rgba(0, 30, 98, .035);
  backdrop-filter: blur(16px);
}

.home-page .home-header .header__inner {
  width: 100%;
  max-width: 1920px;
  min-height: 132px;
  height: auto;
  padding: 18px 42px;
  gap: clamp(32px, 4vw, 82px);
}

.home-page .home-header .header__logo {
  gap: 28px;
}

.home-page .home-header .header__logo-image {
  width: 190px;
  height: auto;
}

.home-page .home-header .header__logo-text {
  min-width: 230px;
  padding-left: 30px;
  border-left: 1px solid #d8deea;
  color: var(--home-red);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.home-page .home-header .header__logo-text small {
  color: #73809a;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.home-page .home-header__nav {
  margin-left: auto;
  gap: clamp(28px, 3vw, 56px);
}

.home-page .home-header__nav a {
  color: #43516c;
  font-size: 18px;
  font-weight: 500;
  white-space: nowrap;
}

.home-page .home-header__cta {
  flex: 0 0 auto;
  justify-content: center;
  min-height: 72px;
  padding: 0 38px;
  color: #fff;
  font-size: 18px;
  white-space: nowrap;
}

.home-page .home-footer {
  background: var(--home-navy);
  color: #fff;
  padding: clamp(100px, 10vw, 160px) 0 34px;
  border-top: 0;
}

.home-page .home-footer .container {
  width: 100%;
  max-width: 1920px;
  padding-inline: 42px;
}

.home-page .home-footer .footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) minmax(300px, 1.15fr) minmax(190px, .75fr) minmax(300px, 1fr);
  gap: clamp(48px, 7vw, 130px);
  align-items: start;
  margin-bottom: clamp(110px, 11vw, 170px);
}

.home-page .home-footer .footer__col {
  gap: 22px;
}

.home-page .home-footer .home-footer__intro {
  align-self: center;
  padding-top: 58px;
}

.home-page .home-footer .footer__about,
.home-page .home-footer .footer__col a {
  color: rgba(255, 255, 255, .62);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.home-page .home-footer .footer__about {
  max-width: 500px;
}

.home-page .home-footer .footer__col a:hover,
.home-page .home-footer .footer__col a:focus-visible {
  color: #fff;
}

.home-page .home-footer .footer__bottom {
  padding-top: 0;
  border-top: 0;
  color: rgba(255, 255, 255, .52);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 1280px) {
  .home-page .home-header .header__inner {
    min-height: 112px;
    padding-inline: 32px;
    gap: 28px;
  }

  .home-page .home-header .header__logo-image {
    width: 156px;
  }

  .home-page .home-header .header__logo-text {
    min-width: 190px;
    padding-left: 24px;
    font-size: 17px;
  }

  .home-page .home-header__nav {
    gap: 24px;
  }

  .home-page .home-header__nav a,
  .home-page .home-header__cta {
    font-size: 16px;
  }

  .home-page .home-header__cta {
    min-height: 60px;
    padding-inline: 28px;
  }

  .home-page .home-footer .footer__grid {
    grid-template-columns: 1.25fr 1fr .7fr 1fr;
    gap: 44px;
  }
}

@media (max-width: 1020px) {
  .home-page .home-header__nav {
    display: none;
  }

  .home-page .home-header .header__logo-text {
    display: block;
  }

  .home-page .home-header__cta {
    margin-left: auto;
  }

  .home-page .home-footer {
    padding-top: 88px;
  }

  .home-page .home-footer .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px 48px;
    margin-bottom: 90px;
  }

  .home-page .home-footer .home-footer__intro {
    align-self: start;
    padding-top: 0;
  }
}

@media (max-width: 700px) {
  .home-page .home-header .header__inner {
    min-height: 84px;
    padding: 12px 20px;
  }

  .home-page .home-header .header__logo {
    gap: 0;
  }

  .home-page .home-header .header__logo-image {
    width: 124px;
  }

  .home-page .home-header .header__logo-text,
  .home-page .home-header__cta {
    display: none;
  }

  .home-page .home-footer {
    padding: 68px 0 28px;
  }

  .home-page .home-footer .container {
    padding-inline: 22px;
  }

  .home-page .home-footer .footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-bottom: 68px;
  }

  .home-page .home-footer .footer__col {
    gap: 14px;
  }

  .home-page .home-footer .footer__about,
  .home-page .home-footer .footer__col a {
    font-size: 16px;
    line-height: 1.65;
  }

  .home-page .home-footer .footer__bottom {
    font-size: 13px;
  }
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА ЮРИДИЧЕСКИХ НАПРАВЛЕНИЙ
   ============================================ */
.home-page {
  --home-navy: #001e62;
  --home-red: #c14554;
  --home-paper: #f4f5f7;
  --home-ink: #001e62;
  --home-copy: #43516c;
  background: #fff;
}

.home-page .home-header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.home-page .home-header__nav a {
  color: var(--home-copy);
  font-size: 14px;
  font-weight: 600;
}

.home-page .home-header__nav a:hover {
  color: var(--home-red);
}

.home-header__cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--home-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.home-header__cta:hover {
  background: #0b337f;
  transform: translateY(-1px);
}

.home-hero {
  padding: 34px 0 74px;
}

.home-hero > .container {
  max-width: 1920px;
}

.home-hero__card {
  display: grid;
  grid-template-columns: minmax(380px, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(34px, 3.4vw, 66px);
  min-height: 0;
  padding: clamp(50px, 5.2vw, 100px);
  overflow: hidden;
  border-radius: 32px;
  background: #001e62;
  color: #fff;
  position: relative;
}

.home-hero__card::after {
  display: none;
}

.home-hero__photo {
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 24px;
  background: #d9dde5;
}

.home-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.1) saturate(1.03);
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.home-hero__eyebrow,
.home-about__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-hero__eyebrow {
  margin-bottom: 28px;
}

.home-hero__eyebrow::before,
.home-about__eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 50%;
  background: var(--home-red);
}

.home-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(40px, 3.55vw, 58px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.05em;
}

.home-hero h1 span {
  color: #fff;
}

.home-hero__directions {
  display: none;
  width: 100%;
  gap: 10px;
  margin: 34px 0 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.17);
  border-bottom: 1px solid rgba(255,255,255,.17);
}

.home-hero__directions li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  gap: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.home-hero__directions span {
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.home-page .home-hero__button {
  min-width: 225px;
  margin-top: 32px;
  background: #fff;
  color: var(--home-navy);
}

.home-page .home-hero__button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--home-red);
}

.home-directions {
  padding: 38px 0 30px;
}

.home-directions .section__head {
  margin-bottom: 54px;
}

.home-direction {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: 18px;
  margin-bottom: 26px;
}

.home-direction--reverse .home-direction__content {
  order: 2;
}

.home-direction--reverse .home-direction__visual {
  order: 1;
}

.home-direction__content,
.home-direction__visual {
  min-height: 610px;
  border-radius: 28px;
}

.home-direction__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 58px;
  background: var(--home-paper);
}

.home-direction__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--home-copy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.home-direction__eyebrow span {
  color: var(--home-red);
}

.home-direction h3 {
  max-width: 710px;
  margin: 0;
  color: var(--home-navy);
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.home-direction__content > p {
  max-width: 720px;
  margin-top: 24px;
  color: var(--home-copy);
  font-size: 17px;
  line-height: 1.65;
}

.home-direction__content ul {
  display: grid;
  gap: 8px;
  margin: 26px 0 32px;
}

.home-direction__content li {
  position: relative;
  padding-left: 22px;
  color: var(--home-navy);
  font-size: 15px;
  font-weight: 600;
}

.home-direction__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-red);
}

.home-direction__visual {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}

.home-direction__visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.home-direction:nth-of-type(2) .home-direction__visual > img {
  object-position: 50% 16%;
}

.home-direction:nth-of-type(3) .home-direction__visual > img {
  object-position: 50% 16%;
}

.home-direction:nth-of-type(4) .home-direction__visual > img {
  object-position: 50% 18%;
}

.home-direction__person {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(10px);
}

.home-direction__person strong {
  color: var(--home-navy);
  font-size: 18px;
}

.home-direction__person span {
  color: var(--home-copy);
  font-size: 13px;
  line-height: 1.4;
}

.home-about {
  padding: 0 0 36px;
}

.home-about > .container {
  max-width: 1920px;
}

.home-about__card {
  display: grid;
  grid-template-columns: minmax(430px, .68fr) minmax(0, 1.32fr);
  gap: clamp(72px, 5.5vw, 120px);
  align-items: center;
  min-height: 420px;
  padding: clamp(54px, 4.5vw, 86px) clamp(64px, 5.5vw, 110px);
  background: transparent;
  color: var(--home-copy);
}

.home-about__brand {
  display: grid;
  place-items: center;
  min-height: 255px;
  padding: 24px clamp(64px, 4.5vw, 88px) 24px 0;
  border-right: 1px solid rgba(0,30,98,.32);
}

.home-about__brand img {
  width: min(100%, 380px);
  filter: none;
  opacity: 1;
}

.home-about__eyebrow {
  color: var(--home-copy);
}

.home-about h2 {
  margin: 0;
  color: var(--home-copy);
  font-size: clamp(42px, 3.8vw, 62px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.home-about__content {
  width: 100%;
}

.home-about__content p {
  max-width: 980px;
  margin-top: 20px;
  color: var(--home-copy);
  font-size: clamp(18px, 1.25vw, 22px);
  line-height: 1.65;
}

.home-about__content .home-about__lead {
  color: var(--home-copy);
  font-size: clamp(21px, 1.55vw, 26px);
  line-height: 1.55;
  font-weight: 600;
}

.home-contacts {
  padding: 96px 0 110px;
  background: var(--home-paper);
}

.home-contacts__layout {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
  gap: 18px;
}

.home-contacts__info,
.home-form {
  min-height: 610px;
  border: 0;
  border-radius: 28px;
}

.home-contacts__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 54px;
  background: var(--home-navy);
  color: #fff;
}

.home-contacts__info > div {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.home-contacts__info > div:first-child {
  padding-top: 0;
}

.home-contacts__info > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-contacts__info span {
  display: block;
  margin-bottom: 9px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-contacts__info strong,
.home-contacts__info a {
  display: block;
  color: #fff;
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.home-contacts__info a:hover {
  color: #ef8190;
}

.home-form {
  padding: 54px;
  background: #fff;
}

.home-form .form__title {
  margin-bottom: 20px;
  color: var(--home-navy);
  font-size: 34px;
}

.home-form .form__intro {
  max-width: 620px;
  margin: 0 0 30px;
}

.home-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.home-form__botcheck {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.home-form .btn {
  min-width: 225px;
}

.home-footer .footer__grid {
  grid-template-columns: 1.7fr 1.2fr .8fr 1fr;
}

@media (max-width: 1120px) {
  .home-page .home-header__nav {
    display: none;
  }

  .home-hero__card {
    gap: 40px;
    padding: 46px;
  }

  .home-hero h1 {
    font-size: 40px;
  }

  .home-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
    column-gap: 40px;
  }

  .home-direction__content {
    padding: 44px;
  }
}

@media (max-width: 900px) {
  .home-hero__card,
  .home-direction,
  .home-about__card,
  .home-contacts__layout {
    grid-template-columns: 1fr;
  }

  .home-hero__content {
    display: block;
  }

  .home-hero__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .home-hero__content > p {
    margin-top: 25px;
  }

  .home-direction--reverse .home-direction__content,
  .home-direction--reverse .home-direction__visual {
    order: initial;
  }

  .home-direction--reverse .home-direction__visual {
    order: 2;
  }

  .home-direction__content,
  .home-direction__visual {
    min-height: 540px;
  }

  .home-about__card {
    gap: 36px;
  }

  .home-about__brand {
    min-height: 0;
    padding: 8px 0 34px;
    border-right: 0;
    border-bottom: 1px solid rgba(0,30,98,.32);
  }

  .home-contacts__info,
  .home-form {
    min-height: 0;
  }

  .home-footer .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .home-header .header__inner {
    height: 78px;
  }

  .home-header__cta {
    display: none;
  }

  .home-hero {
    padding: 18px 0 54px;
  }

  .home-hero__card {
    gap: 30px;
    min-height: 0;
    padding: 30px 24px 24px;
    border-radius: 24px;
  }

  .home-hero h1 {
    font-size: 36px;
  }

  .home-hero__content > p {
    font-size: 15px;
  }

  .home-hero__directions li {
    font-size: 14px;
  }

  .home-hero__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .home-directions {
    padding-top: 40px;
  }

  .home-direction {
    gap: 10px;
    margin-bottom: 18px;
  }

  .home-direction__content,
  .home-direction__visual {
    min-height: 0;
    border-radius: 22px;
  }

  .home-direction__content {
    padding: 34px 24px;
  }

  .home-direction h3 {
    font-size: 34px;
  }

  .home-direction__content > p {
    font-size: 15px;
  }

  .home-direction__visual {
    min-height: 470px;
  }

  .home-about {
    padding: 0 0 34px;
  }

  .home-about__card {
    padding: 28px 24px;
  }

  .home-about__brand {
    min-height: 0;
    padding: 4px 0 28px;
  }

  .home-about__content p {
    font-size: 15px;
  }

  .home-contacts {
    padding: 72px 0 80px;
  }

  .home-contacts__info,
  .home-form {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .home-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-form .btn {
    width: 100%;
  }

  .home-footer .footer__grid {
    grid-template-columns: 1fr;
  }
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800.ttf') format('truetype');
}

:root {
  /* Основная палитра — тёмный navy */
  --bg-deep: #080d24;
  --bg-base: #0b1030;
  --bg-card: #0f1540;
  --bg-card-hover: #141a4a;
  --bg-elevated: #161c50;
  --bg-lighter: #0e1338;

  /* Акцент — синий (как бриллиант) */
  --accent: #4747ff;
  --accent-glow: rgba(71, 71, 255, 0.3);
  --accent-subtle: rgba(71, 71, 255, 0.12);

  /* Текст */
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.45);

  /* Линии */
  --line: rgba(255, 255, 255, 0.08);
  --line-hover: rgba(255, 255, 255, 0.18);

  /* Утилиты */
  --radius: 4px;
  --container: 1240px;
  --gap: 24px;
  --section-py: 120px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   WAVE PATTERN (фоновый паттерн круговых волн)
   ============================================ */
.wave-pattern {
  position: relative;
}

.wave-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      circle at 70% 40%,
      transparent 0,
      transparent 60px,
      rgba(71, 71, 255, 0.03) 60px,
      rgba(71, 71, 255, 0.03) 61px
    );
  pointer-events: none;
  z-index: 0;
}

.wave-pattern > .container {
  position: relative;
  z-index: 1;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 13, 36, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 88px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  flex-shrink: 0;
}

.header__logo-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
}

.header__logo-text small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.header__nav a:hover {
  color: var(--text);
}

.header__phone {
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  color: var(--text);
}

.header__phone:hover {
  color: var(--accent);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.header__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: #5c5cff;
  border-color: #5c5cff;
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-hover);
}

.btn--ghost:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.05);
}

.btn--light {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
}

.btn--light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: 22px 48px;
  font-size: 16px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 80px 0 120px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 70% 0%, rgba(71, 71, 255, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(71, 71, 255, 0.08) 0%, transparent 50%),
    var(--bg-deep);
  position: relative;
  overflow: hidden;
}

/* Круговые волны на hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      circle at 75% 35%,
      transparent 0,
      transparent 50px,
      rgba(71, 71, 255, 0.025) 50px,
      rgba(71, 71, 255, 0.025) 51px
    );
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

/* Декоративный бриллиант в hero */
.hero__diamond {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(71, 71, 255, 0.4);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 32px;
  color: var(--text-secondary);
  background: var(--accent-subtle);
}

.hero__title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
  color: var(--text);
}

.hero__subtitle {
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
}

.hero__directions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__directions li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.hero__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.hero__stat {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.hero__stat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero__stat-num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 12px;
  color: var(--text);
}

.hero__stat-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: var(--section-py) 0;
  background: var(--bg-deep);
  position: relative;
}

.section--alt {
  background: var(--bg-base);
}

.section--cards {
  background: var(--bg-card);
}

.section--accent {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(71, 71, 255, 0.12) 0%, transparent 60%),
    var(--bg-base);
  position: relative;
  overflow: hidden;
}

/* Секции с волновым паттерном на карточках */
.section--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0,
      transparent 80px,
      rgba(71, 71, 255, 0.02) 80px,
      rgba(71, 71, 255, 0.02) 81px
    );
  pointer-events: none;
}

.section--accent > .container {
  position: relative;
  z-index: 1;
}

.section__head {
  margin-bottom: 64px;
  max-width: 800px;
}

.section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text);
}

/* ============================================
   GRID
   ============================================ */
.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--bordered {
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.grid--bordered > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ============================================
   CARDS (1.2)
   ============================================ */
.card {
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 200px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--line-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
}

.card__text {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

/* ============================================
   FEATURES (1.3)
   ============================================ */
.feature {
  padding: 48px 32px;
  background: var(--bg-card);
}

.feature__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}

.feature__text {
  font-size: 15px;
  color: var(--text-muted);
}

/* ============================================
   PRIORITY (1.4) — карточки с волновым паттерном
   ============================================ */
.priority {
  padding: 48px 40px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

/* Волновой паттерн на карточках — как на bg63.ru */
.priority::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(
      circle at 80% 80%,
      transparent 0,
      transparent 30px,
      rgba(71, 71, 255, 0.04) 30px,
      rgba(71, 71, 255, 0.04) 31px
    );
  pointer-events: none;
}

.priority > * {
  position: relative;
  z-index: 1;
}

.priority:hover {
  border-color: rgba(71, 71, 255, 0.3);
  background: var(--bg-card-hover);
}

.priority__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 32px;
}

.priority__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text);
}

.priority__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.priority__for {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.priority__for strong {
  color: var(--text);
}

.priority .btn {
  margin-top: auto;
}

/* ============================================
   SERVICES (детально)
   ============================================ */
.service {
  background: var(--bg-card);
  border: 1px solid var(--line);
  margin-bottom: 24px;
  overflow: hidden;
}

.service__head {
  padding: 40px 48px 32px;
  border-bottom: 1px solid var(--line);
}

.service__priority {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.service__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.service__body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.service__col {
  padding: 40px 48px;
  border-right: 1px solid var(--line);
}

.service__col:last-child {
  border-right: none;
}

.service__col--meta {
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.service__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.service__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.service__meta {
  margin-bottom: 16px;
}

.service__meta-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.service__meta-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

/* Other services (2.4) */
.other-services {
  margin-top: 64px;
}

.other-services__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.service-mini {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.service-mini:hover {
  border-color: var(--line-hover);
  background: var(--bg-card-hover);
}

.service-mini__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.service-mini__term {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   PROCESS (1.5)
   ============================================ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process__step {
  padding: 40px 24px 0 24px;
  border-right: 1px solid var(--line);
  position: relative;
}

.process__step:last-child {
  border-right: none;
}

.process__num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--accent);
  opacity: 0.6;
}

.process__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.process__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   GUARANTEES (1.6)
   ============================================ */
.guarantee {
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
  min-height: 140px;
  color: var(--text);
  transition: var(--transition);
}

.guarantee:hover {
  border-color: var(--line-hover);
  background: var(--bg-card-hover);
}

.guarantee::before {
  content: "✓";
  margin-right: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

/* ============================================
   CASES (1.7)
   ============================================ */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.case-item:hover {
  border-color: var(--line-hover);
}

.case-item[open] {
  border-color: rgba(71, 71, 255, 0.3);
}

.case-item__head {
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

.case-item__head::-webkit-details-marker {
  display: none;
}

.case-item__from {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
  flex-shrink: 0;
}

.case-item__arrow {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.case-item__to {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  flex-grow: 1;
}

.case-item__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
  margin-left: auto;
}

.case-item__toggle::before,
.case-item__toggle::after {
  content: "";
  position: absolute;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.case-item__toggle::before {
  width: 20px;
  height: 2px;
}

.case-item__toggle::after {
  width: 2px;
  height: 20px;
}

.case-item[open] .case-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.case-item__body {
  padding: 0 48px 40px;
  border-top: 1px solid var(--line);
  margin: 0 48px;
  padding-top: 32px;
  margin-top: -8px;
}

.case-item__body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.case-item__body p:last-child {
  margin-bottom: 0;
}

.case-item__body strong {
  color: var(--text);
}

.cases__cta {
  margin-top: 64px;
  text-align: center;
}

/* ============================================
   ABOUT — с бриллиантом
   ============================================ */
.about-section {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(71, 71, 255, 0.1) 0%, transparent 50%),
    var(--bg-base);
  position: relative;
  overflow: hidden;
}

.about-section .about__diamond {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 350px;
  opacity: 0.05;
  pointer-events: none;
}

.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about__name {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

.about__person {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--text);
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__list li {
  font-size: 18px;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
}

.about__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.about__quote {
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  padding: 40px;
  border-left: 3px solid var(--accent);
  color: var(--text-secondary);
}

/* ============================================
   PRICES (таблица)
   ============================================ */
.prices__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.prices__table th,
.prices__table td {
  padding: 24px 32px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.prices__table th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--bg-elevated);
}

.prices__table td {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
}

.prices__table tr:last-child td {
  border-bottom: none;
}

.prices__table tr:hover td {
  background: rgba(71, 71, 255, 0.04);
}

.prices__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 900px;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__q {
  padding: 32px 0;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--text);
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: "+";
  font-size: 32px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq__a {
  padding: 0 0 32px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 700px;
}

/* ============================================
   CONTACTS
   ============================================ */
.contacts {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 64px;
}

.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contacts__item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.contacts__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 12px;
}

.contacts__value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  display: block;
  color: var(--text);
}

a.contacts__value:hover {
  color: var(--accent);
}

.contacts__sub {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

/* FORM */
.form {
  background: var(--bg-card);
  padding: 48px;
  border: 1px solid var(--line);
}

.form__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text);
}

.form__field {
  margin-bottom: 24px;
}

.form__field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 16px 0;
  font-size: 16px;
  font-family: inherit;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  outline: none;
  transition: var(--transition);
  color: var(--text);
  resize: vertical;
}

.form__field input:focus,
.form__field textarea:focus {
  border-bottom-color: var(--accent);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--text-muted);
}

.form__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__check input {
  margin-top: 3px;
  flex-shrink: 0;
}

.form__check a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: var(--line-hover);
}

.form__check a:hover {
  color: var(--accent);
}

.form__status {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.5;
  min-height: 24px;
}

.form__status--success {
  color: #4ade80;
}

.form__status--error {
  color: #f87171;
}

/* MAP */
.map {
  border: 1px solid var(--line);
  overflow: hidden;
}

.map iframe {
  display: block;
  filter: brightness(0.8) saturate(0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-base);
  color: var(--text);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a,
.footer__col span {
  font-size: 14px;
  color: var(--text-muted);
}

.footer__col a:hover {
  color: var(--text);
}

.footer__logo {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.footer__about {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 360px;
}

.footer__diamond {
  width: 200px;
  margin-top: 24px;
  opacity: 0.7;
}

.footer__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 32px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Декоративный бриллиант в секции «Почему выбирают» */
.diamond-decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}

.diamond-decor--right {
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
}

.diamond-decor--left {
  left: -60px;
  bottom: -40px;
  width: 300px;
}

/* ============================================
   MODAL
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal__box {
  position: relative;
  background: var(--bg-card);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 56px 48px;
  border: 1px solid var(--line);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

.modal__close:hover {
  color: var(--accent);
}

.modal__box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.modal__box p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .header.menu-open .header__nav {
    display: flex;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: var(--bg-base);
    flex-direction: column;
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__diamond {
    width: 300px;
    right: -40px;
  }

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

  .service__body {
    grid-template-columns: 1fr;
  }

  .service__col {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .service__col:last-child {
    border-bottom: none;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    border-left: 1px solid var(--line);
  }

  .process__step {
    border-bottom: 1px solid var(--line);
    padding: 32px 24px;
  }

  .process__step:nth-child(2n) {
    border-right: none;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --section-py: 64px;
  }

  .container {
    padding: 0 20px;
  }

  .case-item__head {
    padding: 24px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .case-item__to {
    font-size: 20px;
    flex-basis: 100%;
  }

  .case-item__body {
    padding: 0 20px 24px;
    margin: 0 20px;
  }

  .header__phone {
    display: none;
  }

  .header__inner {
    height: 72px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero__title {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__directions li {
    font-size: 16px;
  }

  .hero__side {
    padding: 32px 24px;
  }

  .hero__stat-num {
    font-size: 42px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__diamond {
    width: 200px;
    opacity: 0.04;
  }

  .section__title {
    font-size: 32px;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .grid--bordered > * {
    border-right: none;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process__step {
    border-right: none;
  }

  .service__head {
    padding: 32px 24px 24px;
  }

  .service__title {
    font-size: 22px;
  }

  .service__col {
    padding: 28px 24px;
  }

  .form {
    padding: 32px 24px;
  }

  .prices__table th,
  .prices__table td {
    padding: 16px;
    font-size: 14px;
  }

  .prices__table {
    display: block;
    overflow-x: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .modal__box {
    padding: 48px 24px 32px;
  }

  .about__person {
    font-size: 32px;
  }

  .about__quote {
    font-size: 18px;
    padding: 24px;
  }

  .about-section .about__diamond {
    width: 180px;
    opacity: 0.03;
  }

  .diamond-decor {
    display: none;
  }
}

/* Финальный каскад первого превью */
:root { --bg-deep:#fff; --bg-base:#fff; --bg-card:#f4f5f7; --bg-card-hover:#eef1f6; --bg-elevated:#f3f5f8; --bg-lighter:#f7f8fa; --accent:#001e62; --accent-red:#c14554; --accent-glow:rgba(0,30,98,.12); --accent-subtle:rgba(0,30,98,.07); --text:#001e62; --text-secondary:#43516c; --text-muted:#758096; --line:rgba(0,30,98,.12); --line-hover:rgba(0,30,98,.25); --radius:24px; --section-py:96px; }
body { background:#fff; color:var(--text); }
.header { background:rgba(255,255,255,.94); border-color:var(--line); }
.header__inner { height:92px; }
.header__logo { gap:18px; }
.header__logo-image { width:134px; height:auto; }
.header__logo-text { padding-left:18px; border-left:1px solid var(--line); font-size:13px; color:var(--accent-red); }
.header__logo-text small { color:var(--text-muted); letter-spacing:.02em; text-transform:none; }
.header__nav { gap:22px; }
.header__nav a { color:var(--text-secondary); }
.header__nav a:hover,.header__phone:hover { color:var(--accent-red); }
.header__burger span { background:var(--accent); }
.btn { min-height:56px; border-radius:999px; }
.btn--primary { background:var(--accent); color:#fff; }
.btn--ghost { border-color:var(--line-hover); color:var(--accent); }
.btn i { display:grid; place-items:center; width:38px; height:38px; margin-left:10px; border-radius:50%; background:#fff; color:var(--accent); font-style:normal; font-size:20px; }
.hero { min-height:auto; padding:52px 0 34px; background:#fff; }
.hero::before { display:none; }
.hero__grid { grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr); gap:22px; align-items:stretch; }
.hero__content { display:flex; flex-direction:column; justify-content:center; min-height:650px; padding:64px; border-radius:30px; background:var(--bg-card); }
.hero__badge { display:inline-flex; align-items:center; width:fit-content; color:var(--text-secondary); border:0; background:transparent; padding:0; margin-bottom:28px; font-size:13px; text-transform:uppercase; letter-spacing:.06em; }
.hero__badge span { width:12px; height:12px; margin-right:10px; border-radius:50%; background:var(--accent-red); }
.hero__title { max-width:770px; margin:0; color:var(--accent); font-size:clamp(42px,4.4vw,67px); line-height:1.03; letter-spacing:-.055em; }
.hero__subtitle { margin-top:28px; color:var(--text-secondary); font-size:18px; }
.hero__directions { display:none; }
.hero__actions { margin-top:36px; }
.hero__side { display:flex; flex-direction:column; gap:14px; padding:0; border:0; }
.hero__portrait { position:relative; flex:1; min-height:520px; overflow:hidden; border-radius:30px; background:#eef2f7; }
.hero__portrait>img { width:100%; height:100%; object-fit:cover; object-position:50% 18%; transform:none; transform-origin:50% 50%; }
.hero__person { position:absolute; left:22px; right:22px; bottom:22px; display:flex; flex-direction:column; padding:18px 20px; border-radius:18px; background:rgba(255,255,255,.92); backdrop-filter:blur(10px); color:var(--accent); }
.hero__person strong { font-size:18px; }
.hero__person span { font-size:13px; color:var(--text-secondary); }
.hero__stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.hero__stat { padding:18px 14px; border:0; border-radius:18px; background:var(--accent); color:#fff; }
.hero__stat:last-child { border-bottom:0; }
.hero__stat strong { display:block; font-size:18px; line-height:1.15; }
.hero__stat span { display:block; margin-top:5px; font-size:11px; line-height:1.3; opacity:.72; }
.section { background:#fff; }
.section--alt,.section--cards { background:#fff; }
.section--accent { background:var(--accent); color:#fff; }
.section--accent .section__title { color:#fff; }
.section__title { color:var(--accent); font-size:clamp(34px,4vw,58px); line-height:1.05; letter-spacing:-.045em; }
.title-accent { display:inline-block; color:var(--accent-red); white-space:nowrap; }
.section__head { display:block; padding-left:38px; }
.section__head::before { content:none; }
.section__title { position:relative; display:block; }
.section__title::before { content:""; position:absolute; left:-38px; top:.525em; width:20px; height:20px; border-radius:50%; background:var(--accent-red); transform:translateY(-50%); }
.section--accent .section__title::before { background:#fff; }
.card,.feature,.service-mini,.guarantee { border:0; border-radius:22px; background:var(--bg-card); }
.card__num { color:var(--accent-red); }
.card { position:relative; display:flex; flex-direction:column; align-items:flex-start; min-height:230px; overflow:hidden; gap:0; }
.card__icon { position:static; box-sizing:border-box; flex:0 0 64px; width:64px; height:64px; margin-bottom:18px; padding:16px; border-radius:50%; background:#fff; fill:none; stroke:var(--accent-red); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; opacity:1; pointer-events:none; transition:transform .25s ease; }
.card__icon--inheritance { padding:12px; }
.card:hover .card__icon { transform:translateY(-2px); }
.card__text { color:var(--accent); font-size:21px; }
.feature__title,.service-mini__name { color:var(--accent); }
.grid--bordered { border:0; gap:14px; }
.grid--bordered>* { border:0; }
.priority { border-radius:24px; background:#fff; color:var(--accent); }
.priority__num { color:var(--accent-red); }
.priority__desc,.priority__for { color:var(--text-secondary); }
.priority .btn { background:var(--accent); color:#fff; }
.service,.process,.case-item,.faq__item,.form,.contacts__info,.about { border-radius:24px; border-color:var(--line); background:#fff; color:var(--accent); }
.service { box-shadow:0 14px 40px rgba(0,30,98,.07); }
.service__body,.service__col { border-color:var(--line); }
.service__list,.process__text,.case-item__body,.faq__a,.about__quote { color:var(--text-secondary); }
.footer { background:var(--accent); }
@media (max-width:980px) { .header__logo-text{display:none}.hero__grid{grid-template-columns:1fr}.hero__content{min-height:auto;padding:48px}.hero__portrait{min-height:620px} }
@media (max-width:640px) { :root{--section-py:72px}.container{padding:0 20px}.header__inner{height:82px}.header__logo-image{width:118px}.hero{padding-top:24px}.hero__grid{gap:10px}.hero__content{padding:34px 24px;border-radius:22px}.hero__title{font-size:38px}.hero__subtitle{font-size:16px}.hero__actions .btn{width:100%}.hero__portrait{min-height:490px;border-radius:22px}.hero__stats{grid-template-columns:1fr;gap:8px}.hero__stat{display:flex;align-items:baseline;gap:10px;padding:16px 18px}.hero__stat span{margin-top:0}.section__title{font-size:36px} }

.service__col--wide { grid-column: span 2; }
.service__text { color:var(--text-secondary); font-size:16px; line-height:1.7; }
.service__text + .service__text { margin-top:14px; }
.service__text--spaced { margin-top:22px; }
.service__col--contracts { grid-column:span 2; }
.service__list--prices li { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; padding:14px 0; border-bottom:1px solid var(--line); }
.service__list--prices li:last-child { border-bottom:0; }
.service__list--prices li::before { content:none; }
.service__list--prices span { color:var(--text-secondary); }
.service__list--prices strong { flex:0 0 auto; color:var(--accent); white-space:nowrap; }
.prices__table th:last-child,.prices__table td:last-child { width:220px; white-space:nowrap; }

@media (max-width:900px) {
  .service__col--wide,.service__col--contracts { grid-column:auto; }
}
@media (max-width:640px) {
  .section__head { padding-left:28px; }
  .section__title::before { left:-28px; width:16px; height:16px; }
  .card__icon { flex-basis:56px; width:56px; height:56px; margin-bottom:16px; padding:14px; }
  .card__icon--inheritance { padding:10px; }
  .card__text { font-size:20px; }
  .service__list--prices li { display:block; }
  .service__list--prices strong { display:block; margin-top:6px; }
  .prices__table th:last-child,.prices__table td:last-child { width:auto; }
}

/* Направление Романа Тюмкаева: юридические решения для бизнеса */
.business-direction {
  padding: 28px 0 var(--section-py);
  background: #fff;
}

.business-direction__intro {
  background: transparent;
  color: var(--accent);
}

.business-direction__intro::after {
  display: none;
}

.business-direction__eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.business-direction__eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-red);
}

.business-direction__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 22px;
  align-items: stretch;
}

.business-direction__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 650px;
  padding: 64px;
  border-radius: 30px;
  background: var(--bg-card);
}

.business-direction__portrait {
  position: relative;
  min-width: 0;
  min-height: 650px;
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
  background: #eef2f7;
}

.business-direction__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.business-direction__title {
  max-width: 770px;
  margin: 0;
  color: var(--accent);
  font-size: clamp(42px, 4.4vw, 67px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.business-direction__title span { color: var(--accent-red); }

/* На первых экранах длинное красное словосочетание должно переноситься
   внутри карточки, а не выходить на соседнюю колонку с фотографией. */
.business-direction__title .title-accent {
  display: inline;
  white-space: normal;
}

/* Заголовок Романа длиннее остальных: этот размер сохраняет общий стиль,
   но позволяет длинным словам оставаться внутри светлой карточки. */
#business-solutions .business-direction__title {
  font-size: clamp(38px, 3.8vw, 58px);
}

.business-direction__lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
}

.business-direction__person {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  color: var(--accent);
}

.business-direction__person > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-width: 680px;
}

.business-direction__person strong { font-size: 18px; }
.business-direction__person span { color: var(--text-secondary); font-size: 13px; line-height: 1.45; }
.business-direction__actions { margin-top: 36px; }

.business-situations {
  padding: var(--section-py) 0 0;
}

.business-situations__head {
  max-width: 980px;
}

.business-situations__grid {
  align-items: stretch;
}

.business-situation-card {
  position: relative;
  min-height: 238px;
  padding: 0;
  border-radius: 22px;
  background: var(--bg-card);
  color: var(--accent);
  overflow: hidden;
  height: 100%;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.business-situation-card[open] {
  background: #fff;
  box-shadow: 0 16px 44px rgba(5, 35, 105, .08);
}

.business-situation-card summary {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 30px;
  align-items: center;
  align-content: start;
  gap: 28px 18px;
  min-height: 238px;
  padding: 28px 26px 28px 30px;
  cursor: pointer;
  list-style: none;
}

.business-situation-card summary::-webkit-details-marker {
  display: none;
}

.business-situation-card__icon {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  width: 68px;
  height: 68px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.business-situation-card__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: var(--accent-red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.business-situation-card__icon .business-situation-card__icon-svg--clear {
  stroke-width: 2.2;
}

.business-situation-card h4 {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.business-situation-card p {
  margin: -8px 30px 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.business-situation-card__toggle {
  position: relative;
  grid-column: 3;
  grid-row: 1;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(5, 35, 105, .18);
  border-radius: 50%;
}

.business-situation-card__toggle::before,
.business-situation-card__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.business-situation-card__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .2s ease;
}

.business-situation-card[open] .business-situation-card__toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.business-situation-card[open] summary {
  min-height: 190px;
  padding-bottom: 20px;
}

.business-situation-card summary:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: -4px;
  border-radius: 22px;
}

.business-practices { margin-top: 26px; }

.business-practices__head {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr);
  gap: 40px;
  align-items: end;
  padding: 50px 6px 30px;
}

.business-practices__head h3 {
  margin: 0;
  color: var(--accent);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.business-practices__head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}

.business-practice {
  overflow: hidden;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-card);
}

.business-practice summary {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) 44px;
  gap: 22px;
  align-items: center;
  min-height: 132px;
  padding: 28px 34px;
  cursor: pointer;
  list-style: none;
}

.business-practice summary::-webkit-details-marker { display: none; }
.business-practice summary:focus-visible { outline: 3px solid rgba(193,69,84,.35); outline-offset: -3px; }

.business-practice__mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-red);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .04em;
}

.business-practice__summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.business-practice__summary strong {
  color: var(--accent);
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.2;
}

.business-practice__summary small {
  max-width: 900px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.business-practice__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
}

.business-practice__toggle::before,
.business-practice__toggle::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 21px;
  width: 18px;
  height: 2px;
  background: var(--accent);
  transition: transform .2s ease;
}

.business-practice__toggle::after { transform: rotate(90deg); }
.business-practice[open] .business-practice__toggle::after { transform: rotate(0); }

.business-practice__body {
  padding: 0 34px 34px 120px;
  border-top: 1px solid var(--line);
}

.business-practice__solutions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  padding: 28px 0;
}

.business-practice__solutions--single { grid-template-columns: 1fr; }

.business-practice__solutions article {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
}

.business-practice__solutions h4,
.business-practice__services h4 {
  margin: 0;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.35;
}

.business-practice__solutions p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.business-practice__services {
  padding: 28px 0 4px;
  border-top: 1px solid var(--line);
}

.business-practice__services ul {
  columns: 2;
  column-gap: 48px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.business-practice__services li {
  position: relative;
  break-inside: avoid;
  margin-bottom: 13px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.business-practice__services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
}

.business-direction__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 26px;
  padding: 34px 40px;
  border-radius: 24px;
  background: var(--accent-red);
  color: #fff;
}

.business-direction__contact > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.business-direction__contact span { color: rgba(255,255,255,.72); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.business-direction__contact strong { font-size: 28px; }

.business-direction__contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.business-direction__contact-links a {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}

.business-direction__contact-links a:hover { background: #fff; color: var(--accent-red); }

.business-service-group {
  margin-top: 18px;
}

.business-service-group__content {
  padding: 38px 48px 44px;
}

.business-service-group__intro {
  max-width: 940px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.service__head .business-service-group__intro {
  margin-top: 14px;
}

.business-service-group__label {
  margin: 38px 0 18px;
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.business-service-solutions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.business-service-solutions--single {
  grid-template-columns: 1fr;
}

.business-service-solutions--single h4 {
  min-height: 0;
}

.business-service-solutions article {
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-card);
}

.business-service-solutions h4 {
  margin: 0 0 14px;
  min-height: 4.05em;
  color: var(--accent);
  font-size: 19px;
  line-height: 1.35;
}

.business-service-solutions h4.business-service-solution__title--single-line {
  padding-top: 1.35em;
}

.business-service-solutions--single h4 {
  min-height: 0;
}

.business-service-solutions--two-line-titles h4 {
  min-height: 2.7em;
}

.business-service-solutions--four-line-titles h4 {
  height: 77px;
  min-height: 77px;
}

.business-service-solutions h4.business-service-solution__title--compact {
  font-size: 17px;
}

.business-service-solutions p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.business-service-list-toggle {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.business-service-list-toggle summary,
.business-service-static-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px 24px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.business-service-list-toggle summary::-webkit-details-marker {
  display: none;
}

.business-service-list-toggle summary:focus-visible {
  outline: 2px solid var(--accent-red);
  outline-offset: -4px;
}

.business-service-list-toggle summary i {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-hover);
  border-radius: 50%;
}

.business-service-list-toggle summary i::before,
.business-service-list-toggle summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.business-service-list-toggle summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.business-service-list-toggle[open] summary {
  border-bottom: 1px solid var(--line);
}

.business-service-list-toggle[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.business-service-list {
  columns: 2;
  column-gap: 48px;
  margin: 0;
  padding: 28px 52px 22px 64px;
  color: var(--text-secondary);
}

.business-service-list li {
  break-inside: avoid;
  margin: 0 0 14px;
  padding-left: 6px;
  overflow-wrap: break-word;
  font-size: 15px;
  line-height: 1.55;
}

.business-service-list li::marker {
  color: var(--accent-red);
  font-weight: 700;
}

.business-service-list--split {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.business-service-list__column {
  margin: 0;
  padding-left: 20px;
}

.business-service-group__cta {
  width: fit-content;
  margin-top: 24px;
  padding-right: 24px;
  height: auto;
  min-height: 54px;
  white-space: normal;
  text-align: center;
}

/* Направление Алексея: услуги без цен, в ритме карточек направления Романа */
.alexey-service-group .service__body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 38px 48px 44px;
}

.alexey-service-group .service__col {
  padding: 24px;
  border: 0;
  border-radius: 18px;
  background: var(--bg-card);
}

.alexey-service-group .service__col--wide,
.alexey-service-group .service__col--contracts {
  grid-column: 1 / -1;
}

.alexey-service-group .service__col--meta {
  grid-column: 1 / -1;
  align-items: flex-start;
  padding: 10px 0 0;
  background: transparent;
}

.alexey-service-group .service__col--meta .btn {
  width: fit-content;
  min-width: 220px;
}

/* Внешний юридический офис */
.business-office__intro {
  margin-bottom: 36px;
}

.business-office__intro h3 {
  max-width: none;
  margin: 0;
  color: var(--accent);
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.business-office__intro p {
  max-width: 920px;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
}

.business-office__audiences {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.business-office__card {
  padding: 32px;
  border-radius: 22px;
  background: var(--bg-card);
}

.business-office__card h3 {
  min-height: 4.05em;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1.35;
}

.business-office__card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.business-office__result {
  display: grid;
  grid-template-columns: minmax(205px, .5fr) minmax(0, 1.5fr);
  gap: 44px;
  margin-top: 18px;
  padding: 38px 42px;
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
}

.business-office__result h3 {
  align-self: center;
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.business-office__result ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-office__result li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  line-height: 1.55;
}

.business-office__result li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-red);
}

.business-office__cta {
  width: fit-content;
  height: auto;
  min-height: 58px;
  margin-top: 24px;
  padding: 16px 28px;
  white-space: normal;
  text-align: center;
}

/* Подтверждённый опыт */
.business-experience__label {
  margin-bottom: 18px;
  color: var(--accent-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.business-experience__facts article {
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.business-experience__facts p {
  margin: 0;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.business-experience__subtitle {
  margin: 58px 0 22px;
  color: var(--accent);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

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

.business-experience__projects article {
  padding: 32px;
  border-radius: 22px;
  background: var(--bg-card);
}

.business-experience__projects h3 {
  min-height: 3.9em;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 21px;
  line-height: 1.3;
}

.business-experience__projects p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

#business-why .feature__text {
  color: var(--text-secondary);
}

#business-why .feature__title {
  min-height: 0;
  margin-bottom: 12px;
}

.business-about__text p,
.business-about__role {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.business-about__text .business-about__lead {
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.business-about__role {
  margin-top: -20px;
}

.business-about__label {
  margin: 34px 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form__intro {
  margin: -14px 0 30px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .business-practice__toggle::after { transition: none; }
  .business-situation-card,
  .business-situation-card__toggle::after { transition: none; }
}

@media (max-width: 980px) {
  .alexey-service-group .service__body { grid-template-columns: 1fr; }
  .business-direction__top { grid-template-columns: 1fr; }
  .business-direction__copy { min-height: auto; padding: 48px; }
  .business-direction__portrait { min-height: 620px; }
  .business-situation-card { min-height: 0; }
  .business-practices__head { grid-template-columns: 1fr; gap: 14px; }
  .business-practice__body { padding-left: 34px; }
  .business-practice__solutions { grid-template-columns: 1fr; }
  .business-direction__contact { align-items: flex-start; flex-direction: column; }
  .business-direction__contact-links { justify-content: flex-start; }
  .business-service-list { columns: 1; }
  .business-service-solutions { grid-template-columns: 1fr; }
  .business-service-solutions h4,
  .business-service-solutions--two-line-titles h4,
  .business-service-solutions--four-line-titles h4 {
    height: auto;
    min-height: 0;
  }
  .business-service-solutions h4.business-service-solution__title--single-line { padding-top: 0; }
  .business-service-solutions h4.business-service-solution__title--compact { font-size: 19px; }
  .business-service-list--split { display: flex; flex-direction: column; gap: 0; }
  .business-office__intro { grid-template-columns: 1fr; gap: 20px; }
  .business-office__audiences { grid-template-columns: 1fr; }
  .business-office__card h3 { min-height: 0; }
  .business-office__result { grid-template-columns: 1fr; gap: 24px; }
  .business-experience__projects h3 { min-height: 0; }
}

@media (max-width: 640px) {
  .alexey-service-group .service__body { padding: 26px 20px 30px; }
  .alexey-service-group .service__col { padding: 20px; }
  .alexey-service-group .service__col--meta { padding: 6px 0 0; }
  .alexey-service-group .service__col--meta .btn { width: 100%; min-width: 0; }
  .business-direction { padding-top: 10px; }
  .business-direction__top { gap: 10px; }
  .business-direction__copy { padding: 34px 24px; border-radius: 22px; }
  .business-direction__title { font-size: 38px; }
  .business-direction__lead { margin-top: 24px; font-size: 16px; }
  .business-direction__actions { margin-top: 30px; }
  .business-direction__actions .btn { width: 100%; }
  .business-direction__portrait { min-height: 490px; border-radius: 22px; }
  .business-direction__portrait img { object-position: 50% 14%; }
  .business-direction__person { left: 16px; right: 16px; bottom: 16px; }
  .business-situations { padding-top: 72px; }
  .business-situation-card summary { grid-template-columns: 58px minmax(0, 1fr) 30px; gap: 22px 16px; min-height: 210px; padding: 24px 20px; }
  .business-situation-card__icon { width: 58px; height: 58px; }
  .business-situation-card__icon svg { width: 31px; height: 31px; }
  .business-situation-card h4 { font-size: 20px; }
  .business-situation-card p { margin: -4px 20px 26px; padding-top: 20px; }
  .business-situation-card[open] summary { min-height: 170px; }
  .business-practices__head { padding: 42px 2px 22px; }
  .business-practices__head h3 { font-size: 36px; }
  .business-practice { border-radius: 20px; }
  .business-practice summary { grid-template-columns: 52px minmax(0,1fr) 34px; gap: 14px; min-height: 110px; padding: 22px 18px; }
  .business-practice__mark { width: 52px; height: 52px; font-size: 14px; }
  .business-practice__summary strong { font-size: 21px; }
  .business-practice__summary small { display: none; }
  .business-practice__toggle { width: 34px; height: 34px; }
  .business-practice__toggle::before,.business-practice__toggle::after { left: 9px; top: 16px; width: 16px; }
  .business-practice__body { padding: 0 18px 24px; }
  .business-practice__solutions { padding: 20px 0; }
  .business-practice__solutions article { padding: 20px; }
  .business-practice__services ul { columns: 1; }
  .business-direction__contact { padding: 28px 24px; border-radius: 22px; }
  .business-direction__contact strong { font-size: 24px; }
  .business-direction__contact-links { align-items: stretch; flex-direction: column; width: 100%; }
  .business-direction__contact-links a { text-align: center; }
  .business-service-group__content { padding: 28px 22px 32px; }
  .business-service-group__intro { font-size: 16px; }
  .business-service-group__label { margin-top: 30px; }
  .business-service-solutions article { padding: 22px; }
  .business-service-list-toggle summary,
.business-service-static-row { min-height: 68px; padding: 16px 18px; font-size: 16px; }
  .business-service-list { padding: 24px 28px 14px 42px; }
  .business-service-group__cta { width: 100%; }
  .business-office__intro p { font-size: 16px; }
  .business-office__card { padding: 24px; }
  .business-office__result { padding: 30px 24px; }
  .business-office__cta { width: 100%; }
  .business-experience__facts,
  .business-experience__projects { grid-template-columns: 1fr; }
  .business-experience__facts article { min-height: 0; padding: 24px; }
  .business-experience__facts p { font-size: 18px; }
  .business-experience__projects article { padding: 24px; }
}

/* Равные текстовые зоны в трех карточках ключевых направлений. */
#priority .priority__title {
  min-height: 3.6em;
}

#priority .priority__desc {
  flex-grow: 0;
  min-height: 6.4em;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 640px) {
  #priority .priority__title,
  #priority .priority__desc {
    min-height: 0;
  }
}

/* Поздние переопределения страницы Елены — должны идти после общих правил. */
.elena-page .business-direction__title {
  max-width: 760px;
}

.elena-page .elena-portrait img {
  object-position: 50% 24%;
}

.elena-page .elena-reasons .feature__title {
  min-height: 2.8em;
}

.elena-page .elena-service-solutions h4 {
  min-height: 2.7em;
}

.elena-page .elena-service-solutions--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.elena-page .elena-footer-grid {
  grid-template-columns: 2fr 1fr 1fr;
}

/* У Елены четыре этапа работы: на широком экране они занимают всю строку. */
@media (min-width: 981px) {
  .elena-page #elena-process .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .elena-page .elena-service-solutions--four {
    grid-template-columns: 1fr;
  }

  .elena-page .elena-reasons .feature__title,
  .elena-page .elena-service-solutions h4 {
    min-height: 0;
  }

  .elena-page .elena-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .elena-page .elena-portrait img {
    object-position: 50% 20%;
  }

  .elena-page .elena-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Общая оболочка сайта должна перекрывать старые локальные правила страниц. */
@media (min-width: 1021px) {
  body .home-header .home-header__nav {
    display: flex;
  }

  body .home-header .home-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #001e62;
    color: #fff;
  }

  body .home-footer .footer__grid {
    grid-template-columns:
      minmax(280px, 1.7fr)
      minmax(300px, 1.2fr)
      minmax(190px, .8fr)
      minmax(300px, 1fr);
  }
}

/* На обычных ноутбуках все элементы общей шапки должны помещаться в одну строку. */
@media (min-width: 1021px) and (max-width: 1599px) {
  body .home-header .header__inner {
    gap: clamp(16px, 1.8vw, 30px);
    padding-right: 28px;
    padding-left: 28px;
  }

  body .home-header .header__logo {
    flex: 0 1 auto;
    gap: 16px;
  }

  body .home-header .header__logo-image {
    width: 144px;
  }

  body .home-header .header__logo-text {
    min-width: 166px;
    padding-left: 18px;
    font-size: 16px;
  }

  body .home-header .header__logo-text small {
    font-size: 14px;
  }

  body .home-header .home-header__nav {
    gap: clamp(18px, 2vw, 30px);
  }

  body .home-header .home-header__nav a {
    font-size: 15px;
  }

  body .home-header .home-header__cta {
    min-height: 56px;
    padding: 0 24px;
    font-size: 15px;
  }
}

@media (min-width: 701px) and (max-width: 1020px) {
  body .home-header .home-header__nav {
    display: none;
  }

  body .home-header .home-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  body .home-footer .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  body .home-header .home-header__nav,
  body .home-header .home-header__cta {
    display: none;
  }

  body .home-footer .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* Финальная настройка общей оболочки на всех четырёх страницах. */
body .home-header .home-header__cta {
  border-radius: 999px;
  background: #001e62;
  color: #fff;
}

@media (min-width: 701px) and (max-width: 1199px) {
  body .home-header .home-header__nav {
    display: none;
  }

  body .home-header .home-header__cta {
    display: inline-flex;
    margin-left: auto;
  }

  body .home-footer .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Белый логотип в общем футере сайта. */
.home-footer .footer-brand-logo {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transform: translate(36px, -44px);
}

/* Контакты направлений в оформлении главной страницы. */
.direction-contacts { --home-navy: #001e62; --home-paper: #f4f5f7; scroll-margin-top: 140px; }
.direction-contacts__title { color: #fff; font-size: 30px; margin: 0 0 12px; }
.direction-contacts .home-contacts__info a,
.direction-contacts .home-contacts__info strong { overflow-wrap: anywhere; }
.direction-contacts .form__field { min-width: 0; }

/* Один стандартный интервал между блоками «О компании» и «Вопросы и ответы». */
.elena-page #elena-about { padding-bottom: calc(var(--section-py) / 2); }
.elena-page #elena-faq { padding-top: calc(var(--section-py) / 2); }

/* Исправления проверки: читаемость и адаптивность без обрезания содержимого. */
:root { --text-muted: #58657b; }
.modal__box a { color: var(--accent); text-decoration: underline; }
.home-about__card > *, .home-hero__card > *, .home-direction > *,
.home-contacts__layout > *, .home-form__row > * { min-width: 0; }
@media (max-width: 700px) {
  .home-about h2, .home-hero h1, .home-direction h3,
  .business-direction__title, .hero__title, .section__title {
    overflow-wrap: anywhere;
  }
  .title-accent { white-space: normal; }
  #business-solutions .business-direction__title {
    font-size: clamp(29px, 8.2vw, 38px);
  }
  .home-form .btn { min-width: 0; }
  body .home-header .header__inner {
    height: auto; min-height: 85px; padding: 14px 20px 10px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  }
  body .home-header .header__logo { flex: 0 1 auto; min-width: 0; }
  body .home-header .header__logo-image { width: 118px; }
  body .home-header .home-header__cta {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; padding: 10px 12px; min-height: 42px;
    font-size: 12px; white-space: nowrap;
  }
  body .home-header .home-header__nav {
    display: flex; order: 3; flex: 1 0 100%; width: 100%;
    justify-content: space-between; gap: 8px; margin: 0;
  }
  body .home-header .home-header__nav a { font-size: 11px; }
  .home-about__brand img { max-width: 100%; }
  .home-hero__button { min-width: 0; max-width: 100%; }
}

@media (max-width: 700px) {
  .hero__grid > *, .business-direction__hero > * { min-width: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__actions .btn { min-width: 0; white-space: normal; padding-right: 16px; padding-left: 16px; }
  .business-direction__actions .btn { min-width: 0; white-space: normal; }
}

@media (max-width: 700px) {
  .hero__title, .business-direction__title, .home-hero h1 {
    font-size: clamp(28px, 8.75vw, 36px);
  }
  #business-solutions .business-direction__title {
    font-size: clamp(26px, 8.125vw, 34px);
  }
}
@media (max-width: 700px) {
  .home-about h2 { font-size: clamp(28px, 8.75vw, 36px); }
}

/* Финальные исправления: футтер ноутбука и доступность форм. */
@media (min-width: 701px) and (max-width: 1399px) {
  body .home-footer .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.form__policy { font-size: 13px; line-height: 1.5; margin: 0 0 14px; color: var(--text-secondary); }
.form__policy a { text-decoration: underline; }
.modal__box:focus { outline: none; }
.modal button:focus-visible, .modal a:focus-visible, .form a:focus-visible,
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Elena: results and booking links inside situation cards. */
#elena-situations .situation-result {
  margin: -8px 30px 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}
#elena-situations .situation-result p {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
#elena-situations .situation-result ul {
  margin: 0 0 24px;
  padding-left: 20px;
  list-style: disc;
}
#elena-situations .situation-result li + li { margin-top: 8px; }
#elena-situations .situation-result .btn {
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 700px) {
  #elena-situations .situation-result { margin-right: 20px; margin-left: 20px; }
}

/* Standalone flagship services on Elena's page. */
#elena-services .elena-flagship__label { margin: 0 0 18px; font-weight: 700; color: var(--accent); }
#elena-services .elena-flagship__results { margin: 0; padding-left: 24px; list-style: disc outside; color: var(--text-secondary); line-height: 1.65; }
#elena-services .elena-flagship__results li { display: list-item; list-style: disc outside; }
#elena-services .elena-flagship__results li + li { margin-top: 12px; }
#elena-services .elena-flagship__results li::marker { color: var(--accent-red); }
#elena-services .elena-flagship .btn { margin-top: 36px; max-width: 100%; box-sizing: border-box; white-space: normal; }

.business-service-static-row { cursor: default; }

#elena-risk-management .elena-service-solutions { row-gap: 16px; }
#elena-risk-management .elena-service-solutions > article {
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  row-gap: 16px;
}
#elena-risk-management .elena-service-solutions h4 {
  min-height: 0;
  height: auto;
  padding-top: 0;
  margin: 0;
}


#roman-situations .business-situation-card p + p { border-top: 0; padding-top: 0; margin-top: -14px; }

#roman-situations .roman-situation-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  box-sizing: border-box;
}
#roman-situations .roman-situation-cta:hover { background: #10347b; }
#roman-situations .roman-situation-cta:focus-visible { outline: 3px solid var(--accent-red); outline-offset: 4px; }
#roman-situations .roman-situation-cta__arrow {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-size: 28px;
}

#business-why .feature__text p { margin: 0; }
#business-why .feature__text p + p { margin-top: 16px; }

#business-why .roman-reasons > .feature:last-child {
  grid-column: 1 / -1;
  background: var(--accent);
  color: #fff;
}
#business-why .roman-reasons > .feature:last-child .feature__title,
#business-why .roman-reasons > .feature:last-child .feature__text { color: #fff; }

/* Full-width expandable intellectual property services. */
.roman-expandable-services .roman-ip-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.roman-expandable-services .roman-ip-card { min-width: 0; border-radius: 18px; background: var(--bg-card); overflow: hidden; }
.roman-expandable-services .roman-ip-card summary { display: block; padding: 28px 30px; cursor: pointer; list-style: none; }
.roman-expandable-services .roman-ip-card summary::-webkit-details-marker { display: none; }
.roman-expandable-services .roman-ip-card summary:focus-visible { outline: 2px solid var(--accent-red); outline-offset: -4px; }
.roman-expandable-services .roman-ip-card__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.roman-expandable-services .roman-ip-card h4 { margin: 0; color: var(--accent); font-size: 23px; line-height: 1.3; }
.roman-expandable-services .roman-ip-card summary p { margin: 14px 58px 0 0; color: var(--text-secondary); font-size: 16px; line-height: 1.65; }
.roman-expandable-services .roman-ip-toggle { position: relative; flex: 0 0 34px; height: 34px; border: 1px solid var(--line-hover); border-radius: 50%; }
.roman-expandable-services .roman-ip-toggle::before, .roman-expandable-services .roman-ip-toggle::after { content: ''; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); }
.roman-expandable-services .roman-ip-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.roman-expandable-services .roman-ip-card[open] .roman-ip-toggle::after { display: none; }
.roman-expandable-services .roman-ip-card__body { padding: 24px 30px 30px; border-top: 1px solid var(--line); }
.roman-expandable-services .roman-ip-card__body h5 { margin: 0 0 16px; color: var(--accent); font-size: 18px; }
.roman-expandable-services .roman-ip-card ol { margin: 0; padding-left: 24px; list-style: decimal; color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.roman-expandable-services .roman-ip-card li + li { margin-top: 10px; }
.roman-expandable-services .roman-ip-cta { max-width: 100%; box-sizing: border-box; margin-top: 28px; white-space: normal; }
@media (max-width: 700px) {
  .roman-expandable-services .roman-ip-card summary { padding: 22px 20px; }
  .roman-expandable-services .roman-ip-card summary p { margin-right: 0; }
  .roman-expandable-services .roman-ip-card h4 { font-size: 20px; }
  .roman-expandable-services .roman-ip-card__body { padding: 22px 20px; }
}

#roman-bankruptcy-services .roman-bankruptcy-group + .roman-bankruptcy-group { margin-top: 30px; }
#roman-bankruptcy-services .roman-bankruptcy-group > p { margin: 0 0 16px; color: var(--text-secondary); font-size: 16px; line-height: 1.65; }

/* Roman: six project steps in two columns. */
#business-process .process {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  border: 0;
  align-items: stretch;
}
#business-process .process__step {
  min-width: 0;
  padding: 30px;
  border: 0;
  border-radius: 24px;
  background: var(--bg-card);
}
#business-process .process__num {
  color: var(--accent-red);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 18px;
  opacity: 1;
}
#business-process .process__title {
  font-size: 23px;
  line-height: 1.3;
  margin-bottom: 12px;
}
#business-process .process__text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}
@media (max-width: 700px) {
  #business-process .process { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  #business-process .process__step { padding: 24px 20px; }
  #business-process .process__title { font-size: 20px; }
}

/* Roman service accordion controls. */
#business-services .roman-ip-toggle {
  background: var(--accent);
  border-color: var(--accent);
}
#business-services .roman-ip-toggle::before,
#business-services .roman-ip-toggle::after {
  background: #fff;
}

/* Roman case studies: stacked expandable cards. */
#business-experience .business-experience__projects { grid-template-columns: minmax(0, 1fr); gap: 18px; }
#business-experience .business-experience__projects h3 { min-height: 0; margin: 0; font-size: 23px; line-height: 1.3; }
#business-experience .roman-ip-toggle { background: var(--accent); border-color: var(--accent); }
#business-experience .roman-ip-toggle::before,
#business-experience .roman-ip-toggle::after { background: #fff; }
#business-experience .roman-ip-card__body p { font-size: 16px; line-height: 1.65; }
#business-experience .roman-ip-card__body p + p { margin-top: 16px; }
@media (max-width: 700px) {
  #business-experience .business-experience__projects h3 { font-size: 20px; }
}

/* Roman about: balanced introduction and separate practice list. */
#business-about .business-about {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
}
#business-about .business-about__text p,
#business-about .business-about__role {
  font-size: 19px;
  line-height: 1.65;
  margin: 0 0 20px;
}
#business-about .business-about__text p:last-child,
#business-about .business-about__role:last-child { margin-bottom: 0; }
#business-about .about__side {
  padding: 30px;
  background: var(--bg-card);
  border-radius: 24px;
}
#business-about .roman-about-practices {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
#business-about .roman-about-practices .business-about__label { margin: 0 0 22px; }
#business-about .roman-about-practices .about__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
}
#business-about .roman-about-practices .about__list li { font-size: 19px; line-height: 1.55; }
@media (max-width: 900px) {
  #business-about .business-about { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 600px) {
  #business-about .roman-about-practices .about__list { grid-template-columns: minmax(0, 1fr); }
  #business-about .about__side { padding: 24px 20px; }
  #business-about .business-about__text p,
  #business-about .business-about__role,
  #business-about .roman-about-practices .about__list li { font-size: 18px; }
}

/* Case descriptions are always visible. */
#business-experience .roman-case-card h3 { margin-bottom: 16px; }
#business-experience .roman-case-card__body p { font-size: 16px; line-height: 1.65; }
#business-experience .roman-case-card__body p + p { margin-top: 16px; }

/* Roman FAQ spans the same container width as case studies. */
#business-faq .faq,
#business-faq .faq__a {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

#business-faq .faq__a { font-size: 19px; }

/* Two-line tagline only on Elena page; mobile visibility unchanged. */
body.elena-page .home-header .header__logo-text { white-space: nowrap; line-height: 1.4; }
