/*
Theme Name:  Твои Люди
Theme URI:   https://tvoiludi.com
Description: Сервис домашнего персонала — landing page theme with ACF editing.
Version:     1.0.3
Author:      Твои Люди
Text Domain: tvoiludi
*/

/* ─────────────────────────────────────────────
   FONTS (self-hosted Inter, variable 100–900)
───────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─────────────────────────────────────────────
   TOKENS
───────────────────────────────────────────── */
:root {
  --brand: #72134a;
  --brand-hover: #780d4b;
  --brand-light: #d4fe89;
  --brand-light-hover: #a8d950;
  --bg: #f4f1f2;
  --white: #ffffff;
  --text: #181818;
  --text-sub: #5a6268;
  --text-dim: #c5cbd3;
  --dark: #262626;
  --stroke: #cccccc;
  --r-section: 24px;
  --r-card: 32px;
  --r-btn: 16px;
}

/* ─────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

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

section,
.section,
#service,
#advantages,
#why-me,
#how-we-work,
#docs,
#team,
#consultant,
#reviews,
#faq,
#result,
#contacts,
#blog {
  scroll-margin-top: 80px;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-width: 1280px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: 1344px;
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 991px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 650px) {
  .container {
    padding: 0 14px;
  }

  .how-card {
    min-height: 480px;
  }

  .how-card__info {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }
}

._pc {
  display: flex;
}

._mob {
  display: none !important;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.32px;
  line-height: 1.5;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  border-radius: var(--r-btn);
  padding: 16px 32px;
}

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

.btn-primary:hover {
  background: var(--brand-hover);
  color: #fff;
}

.btn-green {
  background: var(--brand-light);
  color: var(--text);
}

.btn-green:hover {
  background: var(--brand-light-hover);
  color: var(--text);
}

.btn-white {
  background: #fff;
  color: var(--brand);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: var(--bg);
  color: var(--dark);
}

.btn-icon {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: var(--r-btn);
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-icon svg {
  fill: #5a6268;
}

.btn-icon:hover {
  background: var(--brand);
}

.btn-icon:hover svg {
  fill: #fff;
}

.btn-circle {
  z-index: 10;
  border-radius: 16px;
  width: 52px;
  height: 52px;
  background: var(--brand);
  border: unset;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.btn-circle:hover {
  background: var(--brand-light);
  color: var(--text);
}

.btn-circle-dark {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.btn-circle-brand {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.nav-mobile-btns {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-mob-phone,
.nav-burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f4f1f2;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1a1a1a;
}

.nav-mobile-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  transition: max-height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 1s cubic-bezier(0.25, 0.8, 0.25, 1) position 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: absolute;
}

.nav-mobile-menu.open {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
  position: relative;
  transition: max-height 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1),
    visibility 1s cubic-bezier(0.25, 0.8, 0.25, 1) position 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-mobile-menu .nav-mobile-links,
.nav-mobile-menu .nav-mobile-bottom {
  padding-top: 0;
  transition: padding 0.3s ease;
}

.nav-mobile-menu.open .nav-mobile-bottom {
  padding-top: 20px;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start;
  gap: 0;
  min-height: 450px;
  padding-top: 40px !important;
}

.nav-mobile-links a {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #1a1a1a;
  padding: 12px 0;
  text-decoration: none;
}

.nav-mobile-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
}

.nav-mobile-cta {
  background: #72134a;
  color: white;
  border: none;
  padding: 17px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  flex: 1;
  border-radius: 16px;
}

.nav-mob-social {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f4f1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .nav-mobile-btns {
    display: flex !important;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-city {
    display: none !important;
  }

  .nav-contact {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────
   LABEL PILL
───────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-light);
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.72px;
  padding: 12px 20px;
  border-radius: 240px;
  transform: rotate(-1deg);
}

/* ─────────────────────────────────────────────
   TYPOGRAPHY HELPERS
───────────────────────────────────────────── */
.t-h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
}

.t-h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.72px;
}

.c-brand,
.accent {
  color: var(--brand);
}

.c-sub {
  color: var(--text-sub);
}

.c-dark {
  color: var(--dark);
}

/* ═══════════════════════════════════════════
   1. NAVIGATION
═══════════════════════════════════════════ */
#nav-outer {
  padding: 24px 0 0;
  position: sticky;
  top: 1px;
  z-index: 200;
}

#nav-outer nav {
  flex-wrap: nowrap;
  align-items: center;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #fff;
  border-radius: var(--r-section);
  padding: 10px 24px;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 39px;
  max-width: 160px;
  width: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex: 1;
  height: 55px;
  padding: 0 10px;
  border-left: 1px solid var(--stroke);
  border-right: 1px solid var(--stroke);
}

.nav-menu a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.48px;
  color: var(--text);
  white-space: nowrap;
}

.nav-menu a:hover {
  color: var(--brand);
}

.nav-city {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 55px;
  padding-right: 24px;
  border-right: 1px solid var(--stroke);
  flex-shrink: 0;
}

.nav-city-icon {
  width: 42px;
  height: 42px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-city-icon img {
  width: 24px;
  height: 24px;
}

.nav-city span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.48px;
  color: var(--dark);
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone-icon {
  width: 42px;
  height: 42px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-phone-icon img {
  width: 22px;
  height: 22px;
}

.nav-phone-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-phone-num {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.54px;
  color: var(--dark);
  white-space: nowrap;
}

.nav-callback {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
}

/* ═══════════════════════════════════════════
   2. FIRST SCREEN / HERO
═══════════════════════════════════════════ */
#first-outer {
  padding: 16px 0 24px;
}

.first-screen {
  background: #fff;
  border-radius: var(--r-section);
  padding: 42px;
  display: flex;
  gap: 10px;
  overflow: hidden;
  position: relative;
  min-height: 690px;
}

.first-screen::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/images/hero-bg-decor.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top;
  z-index: 0;
  pointer-events: none;
}

.first-screen__img-wrap {
  position: absolute;
  right: 0;
  top: 0;
  width: 800px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.first-screen__img-main {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 720px;
  height: 100%;
  z-index: 1;
}

.first-screen__img-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.first-screen__info {
  display: flex;
  flex-direction: column;
  width: 618px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.first-screen__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.first-screen__header .pill {
  max-width: 550px;
}

.first-screen__big-logo {
  width: 100%;
}

.first-screen__big-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

.first-screen__titles {
  display: flex;
  flex-direction: column;
  padding: 10px 0 42px;
  gap: 24px;
}

.first-screen__headline {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 135%;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 600px;
}

.first-screen__sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.9px;
  color: var(--text-sub);
  max-width: 560px;
}

.first-screen__cta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.first-screen__socials {
  display: flex;
  gap: 8px;
}

.first-screen__cards {
  display: flex;
  gap: 16px;
  margin-top: 42px;
}

.trust-card {
  position: relative;
  width: 254px;
  height: 159px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.trust-card__bg {
  position: absolute;
  inset: 0;
  border-radius: 24px;
}

.trust-card--a .trust-card__bg,
.trust-card--b .trust-card__bg {
  background: #f2f2f2;
}

.trust-card--c .trust-card__bg {
  background: var(--brand);
}

.trust-card__content {
  position: absolute;
  inset: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-card__icon {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-card__icon img {
  width: 24px;
  height: 24px;
}

.trust-card__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--brand);
}

.trust-card--c .trust-card__name {
  font-weight: 800;
  color: #fff;
}

.trust-card__desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark);
}

.trust-card--c .trust-card__desc {
  color: #f4f1f2;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   3. ADVANTAGES
═══════════════════════════════════════════ */
#advantages {
  padding: 60px 0;
}

.adv-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  text-align: center;
  color: var(--dark);
  max-width: 460px;
  margin: 0 auto 42px;
}

.adv-grid {
  display: flex;
  gap: 24px;
}

.adv-img-col {
  position: relative;
  width: 660px;
  min-height: 616px;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
  padding: 42px;
}

.adv-img-col>.bg-cover {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
  border-radius: 24px;
}

.adv-img-col__content {
  position: relative;
  z-index: 1;
  width: 314px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adv-img-col__title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adv-img-col__title-group .pill {
  max-width: 210px;
}

.adv-img-col__big {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
}

.adv-img-col__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.54px;
  color: var(--dark);
}

.adv-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adv-item {
  background: #fff;
  border-radius: 32px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.adv-item__main {
  display: flex;
  gap: 12px;
  flex: 1;
}

.adv-item__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: hidden;
}

.adv-item__icon img {
  width: 100%;
  height: 100%;
}

.adv-item__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.adv-item__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.72px;
  color: var(--brand);
}

.adv-item__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--text-sub);
}

.adv-item__num {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.54px;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   4. WHY ME
═══════════════════════════════════════════ */
.why-inner {
  display: flex;
  gap: 66px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--r-section);
  padding: 42px;
}

.why-left {
  width: 578px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 42px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.why-left__texts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-left__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
}

.why-left__sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.54px;
  color: var(--text-sub);
}

.why-left .btn {
  max-width: 290px;
}

.why-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 24px;
}

.step__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
  flex-shrink: 0;
}

.step__circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #cccccc;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  color: #cccccc;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.step__circle--active {
  border-color: #72134a;
  color: #72134a;
}

.step__line {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: #cccccc;
  position: relative;
  overflow: hidden;
}

.step__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--fill, 0%);
  background: #72134a;
}

.step:last-child .step__line {
  display: none;
}

.step__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 42px;
}

.step:last-child .step__content {
  padding-bottom: 0;
}

.step__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.54px;
  color: var(--text);
}

.step__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.48px;
  color: var(--text-sub);
}

/* ═══════════════════════════════════════════
   5. HOW WE WORK
═══════════════════════════════════════════ */
#how-we-work {
  padding: 60px 0;
}

.how-header {
  text-align: center;
  margin-bottom: 42px;
}

.how-header__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
  max-width: 654px;
  margin: 0 auto;
}

.how-cards {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.how-card {
  flex: 1;
  border-radius: 24px;
  overflow: hidden;
  min-height: 768px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #2a2a2a;
}

.how-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 55%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.how-card__info {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.how-card__info-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.how-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 240px;
  background: #d4fe89;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  width: fit-content;
  white-space: nowrap;
}

.how-card__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 280px;
  letter-spacing: -0.3px;
}

.how-card__link {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.how-card__link:hover {
  border-bottom-color: #fff;
}

.how-card .open-service-popup {
  color: #fff !important;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  background: transparent !important;
  padding-bottom: 2px;
  border-radius: 0;
  border-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  cursor: pointer;
}

.how-card .open-service-popup:hover {
  border-color: #fff !important;
}

.how-form {
  background: #fff;
  border-radius: 24px;
  padding: 52px 42px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.how-form__logo img {
  height: 65px;
  width: auto;
}

.how-form__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
}

.how-form__sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.54px;
  color: var(--text-sub);
}

/* ═══════════════════════════════════════════
   6. DOCS
═══════════════════════════════════════════ */
#docs {
  padding: 60px 0;
}

.docs-card {
  background-image: url("./assets/images/docs-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  border-radius: 24px;
  padding: 80px 42px;
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  min-height: 500px;
}

.docs-info {
  max-width: 450px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.docs-info__logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.docs-info__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: #d4fe89;
}

.docs-info__title .accent {
  color: #fff;
  display: block;
}

.docs-info__desc {
  max-width: 360px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -8px;
}

.docs-info__btn {
  max-width: 192px;
}

.docs-slider-wrap {
  flex: 1;
  position: relative;
  max-width: 650px;
  width: 100%;
}

.docs-slider {
  display: flex;
  gap: 16px;
  height: 360px;
  overflow-x: auto;
  scrollbar-width: none;
}

.docs-slider::-webkit-scrollbar {
  display: none;
}

.doc-card {
  border-radius: 20px;
  overflow: hidden;
  width: calc(50% - 8px);
  height: 100%;
  flex-shrink: 0;
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #2d2d2d;
}

.doc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}

.doc-card__title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.doc-card__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.docs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  border-radius: 16px;
  width: 52px;
  height: 52px;
  background: var(--brand);
  border: unset;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease;
}

.docs-arrow:hover {
  background: var(--brand-light);
  color: (var(--text));
}

.docs-arrow--prev {
  left: -30px;
}

.docs-arrow--next {
  right: -30px;
}

/* ═══════════════════════════════════════════
   7. SERVICES
═══════════════════════════════════════════ */
#service {
  padding: 60px 0;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.service-header__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
}

.service-header__arrows {
  display: flex;
  gap: 8px;
}

.service-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.service-slider::-webkit-scrollbar {
  display: none;
}

.svc-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  width: calc(25% - 15px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.svc-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e8e0e5;
  flex-shrink: 0;
}

.svc-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.svc-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--text);
}

.svc-card__desc {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-sub);
  flex: 1;
}

.svc-card__btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: transparent;
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--brand);
  transition: background 0.2s ease;
  margin-top: 4px;
}

.svc-card__btn:hover {
  background: rgba(114, 19, 74, 0.06);
}

/* ═══════════════════════════════════════════
   8. TEAM
═══════════════════════════════════════════ */
#team {
  padding: 60px 0;
}

.team-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.team-info {
  display: flex;
  flex-direction: column;
  max-width: 620px;
}

.team-info__logo img {
  height: 46px;
  width: auto;
}

.team-info__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
  padding: 32px 0 16px;
}

.team-info__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.54px;
  color: var(--text-sub);
  max-width: 340px;
}

.team-info .btn {
  max-width: 290px;
  margin-top: 32px;
}

.team-slider-wrapper {
  max-width: 660px;
  flex: 1;
  overflow: hidden;
}

.team-slider-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.team-card {
  flex: 0 0 calc(50% - 12px);
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  position: relative;
}

.team-card__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  height: 353px;
  border-radius: 16px;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__info {
  position: absolute;
  width: 90%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;
  background: #fff;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 16px;
}

.team-card__name {
  font-weight: 600;
  font-size: 20px;
  line-height: 135%;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text-primary);
  color: var(--text);
}

.team-card__role {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text-sub);
}

.team-card__sub {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.03em;
  text-align: center;
  color: var(--text-sub);
}

/* ═══════════════════════════════════════════
   9. CONSULTANT
═══════════════════════════════════════════ */
.consult-inner {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  z-index: 0;
}

.consult-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/images/consult-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  z-index: 0;
  pointer-events: none;
  z-index: -1;
}

.consult-photo-col {
  flex: 0 1 50%;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* floating quote card bottom-left, over the blob */
.consult-label {
  width: 300px;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.consult-label p {
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  letter-spacing: -0.03em;
}

.consult-info {
  flex: 0 1 50%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 42px;
}

.consult-info__logo img {
  height: 40px;
  width: auto;
}

.consult-info__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consult-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  line-height: 125%;
  letter-spacing: -0.03em;
  color: var(--text);
  width: fit-content;
}

.consult-info__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
}

.consult-info__desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.54px;
  color: var(--text-sub);
  max-width: 401px;
}

.consult-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.consult-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
}

.consult-list li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--brand-light);
  color: #5a6268;
  font-size: 13px;
  font-weight: 700;
}

.consult-info .btn {
  max-width: 312px;
  width: 100%;
}

/* ═══════════════════════════════════════════
   10. REVIEWS
═══════════════════════════════════════════ */
#reviews {
  padding: 60px 0;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.reviews-header__title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
}

.reviews-header__arrows {
  display: flex;
  gap: 8px;
}

.reviews-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px 16px;
  width: 324px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 345px;
}

.review-card__stars {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 2px;
}

.review-card__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 150%;
  letter-spacing: -0.03em;
  flex: 1;
  color: var(--text);
}

.review-card__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-card__name {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.48px;
  color: var(--text);
}

.review-card__role {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: -0.03em;
  color: var(--text-sub);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════
   11. FAQ
═══════════════════════════════════════════ */
#faq {
  padding: 60px 0;
}

.faq-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 42px;
}

.faq-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ── FAQ list: white card per item ── */
.faq-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 890px;
  width: 100%;
  gap: 10px;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-item__trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
}

.faq-item__q {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--text);
}

.faq-item__toggle {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #72134a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  padding: 0;
}

.faq-item__toggle svg {
  transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: block;
}

.faq-item.open .faq-item__toggle svg {
  transform: rotate(180deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item__a-inner {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.4px;
  color: var(--text-sub);
  padding: 0 24px 22px;
}

/* ── FAQ aside card ── */
.faq-aside {
  width: 420px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
  align-self: flex-start;
}

.faq-consult-card {
  display: flex;
  position: sticky;
  top: 100px;
}

.faq-consult-avatar {
  width: 137px;
  height: 165px;
  padding: 4px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
}

.faq-consult-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.faq-consult-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 24px;
  background: #fff;
}

.faq-consult-info h4 {
  font-weight: 600;
  font-size: 20px;
  line-height: 135%;
  letter-spacing: -0.03em;
  color: var(--text);
}

.faq-consult-info p {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: -0.03em;
}

.faq-consult-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 251px;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
  border-radius: 14px;
  padding: 18px;
  margin-top: auto;
}

/* ═══════════════════════════════════════════
   12. RESULT
═══════════════════════════════════════════ */

.result-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  text-align: center;
  margin-bottom: 32px;
}

.result-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.result-col-center {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.result-cell {
  border-radius: 24px;
  position: relative;
}

/* Cell 1 – dark */
.result-cell-1 {
  flex: 0 1 24%;
}

.rc1-ring-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Cells 2 & 3 – white with photo */
.result-cell-2,
.result-cell-3 {
  flex: 0 1 32%;
  background: #fff;
  display: flex;
  min-height: 210px;
}

.rc-body {
  flex: 1;
  padding: 24px 0 0 24px;
  display: flex;
  flex-direction: column;
  max-width: 226px;
}

.rc-icon {
  width: 36px;
  height: 36px;
  background: #d4fe89;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  align-self: flex-start;
}

.rc-heading {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}

.rc-text {
  font-size: 13px;
  color: #7a7a7a;
  line-height: 1.55;
  margin: 0;
}

.result-cell-2 .rc-text {
  max-width: 175px;
}

.rc-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 210px;
  width: 100%;
}

/* Cell 4 – burgundy */
.result-cell-4 {
  flex: 0 1 40%;
  background: #72134a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-cell-4 svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

.rc4-header {
  padding: 24px 24px 0;
}

.rc4-suptitle {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0;
  max-width: 160px;
}

.rc4-photo-wrap {
  position: absolute;
  right: 0;
  bottom: 0;
  overflow: hidden;
  min-height: 0;
}

.rc4-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.rc4-footer {
  padding: 16px 24px;
}

.rc4-logo {
  display: block;
  width: 90px;
  filter: brightness(0) invert(1);
}

/* ═══════════════════════════════════════════
   13. CONTACTS
═══════════════════════════════════════════ */
#contacts {
  padding: 60px 0;
}

.contacts-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 42px;
}

.contacts-wrap {
  width: 100%;
  height: 633px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: stretch;
}

.contacts-left {
  flex: 0 0 27%;
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacts-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contacts-detail__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contacts-detail__val {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  text-decoration: none;
}

.contacts-detail__link {
  font-size: 13px;
  color: var(--brand);
  text-decoration: underline;
  margin-top: 2px;
  display: block;
}

.contacts-phone {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--text);
  text-decoration: none;
}

.contacts-metro-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 240px;
  background: var(--bg);
  color: var(--text-sub);
  font-size: 13px;
  font-weight: 400;
  width: fit-content;
  margin-top: 2px;
}

.ct-walk-icon {
  flex-shrink: 0;
  color: var(--text-sub);
}

.contacts-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.contacts-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  font-family: inherit;
  background: var(--brand);
  color: #fff;
  transition: opacity 0.2s ease;
}

.contacts-cta:hover {
  opacity: 0.88;
}

.contacts-socials {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--bg);
}

.contacts-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--bg);
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s;
}

.contacts-social-btn:hover {
  border-color: var(--text-dim);
}

.contacts-social-btn img {
  width: 20px;
  height: 20px;
}

.contacts-map {
  flex: 0 0 40%;
  border-radius: 24px;
  overflow: hidden;
  min-height: 500px;
  background: #e0d8dc;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.contacts-photos {
  flex: 0 0 27%;
}

.contacts-photo-grid {
  display: flex;
  gap: 8px;
  height: 100%;
}

.contacts-photo-col-1 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1.2;
}

.contacts-photo-col-2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.contacts-photo-col-1 img,
.contacts-photo-col-2 img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  display: block;
  transition: transform 0.2s ease;
}

.contacts-photo-col-1 img:hover,
.contacts-photo-col-2 img:hover {
  transform: scale(1.02);
}

/* Lightbox */
.photo-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.photo-lightbox.open {
  display: flex;
}

.photo-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
}

.photo-lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  border: none;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ═══════════════════════════════════════════
   14. FOOTER
═══════════════════════════════════════════ */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 24px;
}

.footer-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* Col 1 — logo, copy, social, rating */
.footer-col-1 {
  flex: 0 0 35%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo img {
  height: 70px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.footer-divider {
  max-width: 185px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 0;
}

.footer-social-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.footer-social-btn:hover {
  opacity: 0.85;
}

.yandex-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.yandex-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fc3f1d;
  font-family: serif;
}

.footer-rating__stars {
  color: #ffb400;
  font-size: 14px;
  line-height: 1.2;
}

.footer-rating__score {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Cols 2+3 — nav wrapper */
.footer-nav-cols {
  flex: 2;
  display: flex;
  gap: 48px;
}

.footer-col-2,
.footer-col-3 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Col 4 — contacts + CTA */
.footer-col-4 {
  flex: 0 1 19%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Shared heading */
.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

/* Nav links (cols 2+3) */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.3px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* Contact rows (col 4) */
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.footer-nav-link {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  margin-top: 3px;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* CTA buttons (col 4) */
.footer-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.footer-btn-green {
  display: block;
  background: #d4fe89;
  color: #1a1a1a;
  border-radius: 16px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s;
}

.footer-btn-green:hover {
  opacity: 0.9;
}

.footer-btn-outline {
  display: block;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}

.footer-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

/* Bottom bar */
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 28px;
}

.footer-bottom a {
  font-size: 13px;
  /* было 0.35 — контраст с фоном #1a1a1a ниже порога WCAG AA,
     а это обязательные правовые ссылки */
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 1279 px
═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  body {
    min-width: 0;
  }

  #nav-outer nav {
    flex-wrap: wrap;
  }

  nav {
    flex-wrap: wrap;
  }

  /* nav */
  #nav-outer {
    padding: 16px 0 0;
  }

  /* hero */
  #first-outer {
    padding: 12px 0 20px;
  }

  .first-screen__info {
    width: 480px;
  }

  /* advantages */
  .adv-img-col {
    width: 530px;
  }

  /* why */
  .why-left {
    width: 380px;
  }

  /* team */
  .team-info {
    width: 380px;
  }

  /* faq */
  .faq-aside {
    width: 320px;
  }

  /* result — shrink fixed cols on tablet */
  .result-cell-1 {
    flex: 0 0 220px;
  }

  .result-cell-4 {
    flex: 0 0 260px;
  }

  .rc-photo {
    width: 35%;
  }

  .contacts-map {
    flex: 1;
  }

  /* footer */
  .footer-col-1 {
    flex: 0 0 180px;
  }

  .footer-col-4 {
    flex: 0 0 240px;
  }

  .footer-nav-cols {
    gap: 28px;
  }

  .footer-wrap {
    gap: 32px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET  ≤ 1024 px
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* — Hero — */

  .first-screen {
    padding: 16px;
    min-height: 1000px;
    gap: 20px;
    overflow: visible;
  }

  .first-screen__info {
    width: 100%;
  }

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

  .first-screen::before {
    display: none;
  }

  /* — Advantages — */
  .adv-grid {
    flex-direction: column-reverse;
  }

  .adv-img-col {
    width: 100%;
  }

  /* — Why Me — */
  .why-inner {
    flex-direction: column;
    gap: 28px;
  }

  .why-left {
    width: 100%;
    position: static;
    top: 0;
    gap: 24px;
  }

  .why-right {
    width: 100%;
  }

  /* — Services — 2 cards visible */
  .svc-card {
    width: calc(50% - 12px);
  }

  /* — Team — 2 cards already default, ensure full wrapper */
  .team-slider-wrapper {
    max-width: 100%;
  }

  /* — Reviews — 2 cards */
  .review-card {
    width: calc(50% - 8px);
  }

  /* — FAQ — */
  .faq-layout {
    flex-direction: column;
  }

  .faq-aside {
    position: static;
    width: 100%;
  }

  .faq-list {
    width: 100%;
  }

  .faq-consult-card {
    position: static;
  }

  .result-grid {
    flex-wrap: wrap;
  }

  .result-cell-1,
  .result-cell-4 {
    flex: 0 1 48%;
    width: 100%;
  }

  .result-col-center {
    flex: 0 1 100%;
    width: 100%;
    order: 3;
  }

  /* — Contacts — */
  .contacts-wrap {
    flex-direction: column;
  }

  .contacts-left,
  .contacts-map,
  .contacts-photos {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .contacts-map {
    height: 300px;
  }

  /* — Blog — 2 cards */
  .blog-card {
    flex: 0 0 calc(50% - 10px);
  }

  /* — Footer — 2x2 wrap */
  .footer-wrap {
    flex-wrap: wrap;
  }

  .footer-col-1 {
    flex: 0 0 calc(50% - 16px);
  }

  .footer-nav-cols {
    flex: 0 0 calc(50% - 16px);
  }

  .footer-col-4 {
    flex: 0 0 100%;
  }
}

@media (max-width: 991px) {
  ._pc {
    display: none;
  }

  ._mob {
    display: flex !important;
  }

  .first-screen__cta {
    position: absolute;
    bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  /* trust cards: horizontal scroll */
  .first-screen__cards {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    padding-left: 16px;
  }

  .first-screen__cards::-webkit-scrollbar {
    display: none;
  }

  .trust-card--a .trust-card__bg,
  .trust-card--b .trust-card__bg {
    background: #fff;
  }

  .trust-card__icon {
    background: #f4f1f2;
  }

  .adv-grid {
    flex-direction: column-reverse;
  }

  .adv-img-col {
    width: 100%;
  }

  .docs-card {
    flex-direction: column;
    padding: 28px 20px;
    gap: 24px;
    min-height: auto;
  }

  #service {
    padding: 40px 0;
  }

  /* — How We Work — */
  #how-we-work {
    padding: 40px 0;
  }

  .how-cards {
    flex-direction: column;
  }

  .how-card {
    min-height: 600px;
  }

  .how-card__overlay {
    padding: 24px;
  }

  .how-card__link {
    align-self: flex-end;
  }

  /* — Team — */

  .team-inner {
    flex-direction: column;
  }

  .team-info {
    width: 100%;
    padding-top: 0;
  }

  .team-slider-wrapper {
    width: 100%;
  }

  .consult-inner {
    flex-direction: column-reverse;
    gap: 32px;
    background: #fff;
  }

  .consult-inner::before {
    top: unset;
    bottom: 0;
    background-image: url(./assets/images/consult-bg-mob.webp);
    background-size: contain;
    background-position: left bottom;
  }

  .consult-list,
  .consult-info .btn {
    margin-left: 200px;
  }

  .contacts-wrap {
    height: auto;
  }

  /* typography scale-down */
  .adv-title,
  .why-left__title,
  .how-header__title,
  .how-form__title,
  .docs-info__title,
  .service-header__title,
  .team-info__title,
  .consult-info__title,
  .reviews-header__title,
  .faq-title,
  .result-title,
  .contacts-title {
    max-width: 620px;
    font-size: 28px;
    letter-spacing: -0.6px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* prevent text overflow in all section headings */
  .first-screen__headline,
  .first-screen__sub,
  .step__title,
  .step__text,
  .svc-card__title,
  .svc-card__desc,
  .review-card__text,
  .faq-item__q {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .how-card__desc {
    font-size: 14px;
  }

  .pill {
    font-size: 18px;
    padding: 10px 16px;
  }

  .first-screen__header .pill {
    max-width: 100%;
    font-size: 3.7vw;
    padding: 12px;
  }

  /* — Nav — */
  #nav-outer {
    padding: 10px 0 0;
  }

  nav {
    padding: 10px 14px;
    gap: 0 !important;
    position: relative;
  }

  .nav-callback {
    display: none;
  }

  .nav-phone-info {
    display: none;
  }

  .nav-burger {
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-logo img {
    height: 34px;
    max-width: 140px;
  }

  /* — Hero — */
  #first-outer {
    padding: 8px 0 14px;
  }

  .first-screen__img-wrap {
    width: 100%;
    height: 800px;
    top: unset;
    bottom: 0;
  }

  .first-screen__img-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .first-screen__img-main img {
    object-fit: cover;
    object-position: top center;
  }

  /* — Advantages — */
  #advantages {
    padding: 40px 0;
  }

  .adv-title {
    margin-bottom: 24px;
  }

  .adv-title span {
    display: block;
  }

  .adv-item__main {
    flex-direction: column;
  }

  .adv-item {
    padding: 16px;
    border-radius: 16px;
  }

  .adv-item__title {
    font-size: 20px;
  }

  .adv-img-col {
    width: 100%;
    min-height: 400px;
    padding: 16px;
  }

  .adv-img-col__title-group .pill {
    max-width: 180px;
  }

  .adv-img-col__content {
    max-width: 200px;
  }

  .adv-img-col__big {
    font-size: 30px;
  }

  .adv-img-col__desc {
    font-size: 16px;
  }

  /* — Why Me — */
  .why-inner {
    flex-direction: column;
    gap: 28px;
    padding: 16px;
  }

  .why-left {
    width: 100%;
    padding-top: 0;
    gap: 24px;
    position: relative;
    top: 0;
  }

  /* — Docs — */
  #docs {
    padding: 40px 0;
  }

  .docs-info {
    width: 100%;
  }

  .docs-info__btn {
    max-width: 100%;
    width: 100%;
  }

  .docs-slider-wrap {
    width: calc(100% + 40px);
    margin: 0 -20px;
    overflow: hidden;
  }

  .docs-slider {
    height: 260px;
    padding: 0 20px;
  }

  .doc-card {
    width: 75%;
  }

  .docs-arrow {
    display: none;
  }

  /* — Contacts — */
  #contacts {
    padding: 40px 0;
  }

  .contacts-wrap {
    flex-direction: column;
  }

  .contacts-left,
  .contacts-map,
  .contacts-photos {
    flex: 0 0 auto;
  }

  .contacts-map {
    min-height: 300px;
  }

  .contacts-map iframe {
    height: 300px;
  }

  .contacts-photos {
    overflow: hidden;
  }

  .contacts-photo-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    height: auto;
    scrollbar-width: none;
  }

  .contacts-photo-grid::-webkit-scrollbar {
    display: none;
  }

  .contacts-photo-col-1,
  .contacts-photo-col-2 {
    flex-direction: row;
    flex-shrink: 0;
  }

  .contacts-photo-col-1 img,
  .contacts-photo-col-2 img {
    width: 260px;
    height: 200px;
    flex: none;
    scroll-snap-align: start;
  }

  /* — Footer — */
  footer {
    padding: 40px 0 20px;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 28px;
  }

  .footer-col-1,
  .footer-col-4 {
    flex: none;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .footer-col-1 {
    order: 0;
    align-items: center;
  }

  .footer-col-4 {
    order: 1;
  }

  .footer-nav-cols {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
}

@media (max-width: 650px) {
  .first-screen {
    min-height: 560px;
  }

  .first-screen__img-wrap {
    display: block;
    max-width: 450px;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 16px;
    bottom: 0;
    top: unset;
    order: 10;
  }

  .first-screen__img-main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .first-screen__img-main img {
    object-fit: cover;
    object-position: bottom center;
  }

  .first-screen__info {
    min-height: 755px;
    width: 100%;
    order: 1;
  }

  .first-screen::before {
    display: none;
  }

  .first-screen__headline,
  .first-screen__sub {
    max-width: 100%;
  }

  .first-screen__headline {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 135%;
  }

  .trust-card {
    width: 254px;
    height: 159px;
  }

  /* — Services — */

  .service-slider {
    padding-bottom: 4px;
  }

  .svc-card {
    width: calc(80vw - 32px);
  }

  .service-header__arrows {
    display: none;
  }

  /* — Consultant — */
  #consultant {
    padding: 40px 0;
  }

  .consult-photo-col {
    width: 100%;
    min-height: 620px;
  }

  .consult-info {
    padding: 24px 16px;
  }

  .consult-info__desc {
    max-width: 100%;
  }

  .consult-inner::before {
    background-size: cover;
  }

  .consult-list,
  .consult-info .btn {
    margin: 0 auto;
  }

  /* — Reviews — */
  #reviews {
    padding: 40px 0;
  }

  .review-card {
    width: calc(100vw - 32px);
  }

  .reviews-header__arrows,
  .blog-header__arrows {
    display: none;
  }

  #team {
    padding: 0;
  }

  /* — FAQ — */
  #faq {
    padding: 40px 0 60px;
  }

  .faq-layout {
    flex-direction: column;
  }

  .faq-aside {
    display: none;
  }

  /* — Result — */

  .result-grid {
    flex-direction: column;
  }

  .result-cell-1,
  .result-cell-4 {
    flex: 0 1 100%;
    min-height: 440px;
  }

  .result-cell-3 {
    overflow: hidden;
  }

  .result-cell-4 {
    padding: 24px;
    order: 4;
  }

  .rc-photo {
    width: 100%;
    right: -25px;
  }

  .team-card {
    flex-shrink: 0;
    width: calc(100vw - 32px);
    flex-basis: calc(100vw - 32px);
    min-height: 430px;
  }

  .why-left__title {
    max-width: 315px;
  }

  .team-info__title {
    max-width: 350px;
  }

  .faq-title {
    max-width: 315px;
    margin: 10px auto 40px;
  }

  .result-title {
    max-width: 250px;
    text-align: left;
  }
}

/* ═══════════════════════════════════════════
   POPUPS
═══════════════════════════════════════════ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  /* выше баннера cookies (99999), но ниже модалки настроек cookies (999999) */
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.popup-active {
  opacity: 1;
  visibility: visible;
}

.popup-box {
  background: #fff;
  border-radius: 24px;
  padding: 16px;
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.popup-overlay.popup-active .popup-box {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: var(--bg);
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 2;
}

.popup-close:hover {
  background: var(--stroke);
}

.popup-title {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.7px;
  color: var(--dark);
  margin-bottom: 8px;
  padding-right: 40px;
}

.popup-sub {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 28px;
}

.popup-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.popup-field label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popup-field input,
.popup-field select {
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  padding: 13px 16px;
  border: 1.5px solid var(--stroke);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.popup-field input:focus,
.popup-field select:focus {
  border-color: var(--brand);
}

.popup-submit {
  width: 100%;
  padding: 15px 24px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.2s ease;
}

.popup-submit:hover {
  opacity: 0.88;
}

/* ── Form popup ── */
.popup-form-box {
  max-width: 550px;
  padding: 32px;
  overflow-x: auto;
  border-radius: 24px;
  scrollbar-width: none;
}

.popup-form-close {
  position: absolute;
  top: 50px;
  right: 50%;
  width: 38px;
  height: 38px;
  color: #262626;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  line-height: 1;
  transform: translateX(calc(50% + 330px));
  transition: background 0.15s;
}

.popup-form-close:hover {
  background: var(--brand);
  color: #fff;
}

.popup-form-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 115%;
  letter-spacing: -0.03em;
  color: #262626;
  margin: 0 0 8px;
}

.popup-form-sub {
  font-size: 18px;
  font-weight: 400;
  color: #262626;
  margin: 0 0 24px;
  line-height: 1.5;
}

.popup-form__form {
  display: grid;
  gap: 16px;
}

.pf-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pf-field label {
  font-weight: 400;
  font-size: 13px;
  line-height: 150%;
  padding-bottom: 5px;
}

.pf-field input,
.pf-field select,
.pf-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #f1f2f4;
  color: #262626;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.pf-field input::placeholder,
.pf-field textarea::placeholder {
  color: #5a6268;
}

.pf-field input:focus,
.pf-field select:focus,
.pf-field textarea:focus {
  border-color: #72134a;
}

.pf-field--select {
  position: relative;
}

.pf-field--select select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}

.pf-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #aaa;
  pointer-events: none;
  line-height: 1;
}

.pf-field textarea {
  height: 120px;
  resize: none;
}

.pf-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pf-contact-label {
  font-size: 14px;
  color: #262626;
  font-weight: 500;
  flex-shrink: 0;
}

.pf-contact-toggles {
  display: flex;
  gap: 8px;
}

.pf-toggle {
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: #262626;
  background: #fff;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.pf-toggle--active {
  background: #d4fe89;
  border-color: #d4fe89;
  font-weight: 600;
}

.pf-submit {
  width: 100%;
  padding: 18px;
  background: #72134a;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.pf-submit:hover {
  opacity: 0.88;
}

.pf-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.pf-check input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #72134a;
}

.pf-check span {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
}

.pf-check a {
  color: #72134a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Form validation ── */
.input-error {
  border-color: #e74c3c !important;
}

.error-msg {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 4px;
  display: block;
  line-height: 1.3;
}

.pf-check--error input[type="checkbox"] {
  outline: 2px solid #e74c3c;
  outline-offset: 1px;
}

.shake {
  animation: shake 0.4s ease;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

/* ── Form success state ── */
.pf-success {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
  gap: 12px;
}

.pf-success__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.pf-success__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #262626;
  margin: 0;
}

.pf-success__sub {
  font-size: 15px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .popup-form-box {
    padding: 32px 20px 28px;
    overflow: hidden;
  }

  .popup-form-close {
    top: 12px;
    right: 12px;
    position: absolute;
  }

  .popup-form-title {
    font-size: 26px;
  }

  .pf-row--2col {
    grid-template-columns: 1fr;
  }

  .pf-contact-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Service popup ── */
.popup-service-box {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  max-width: 1200px;
  width: 95vw;
  border-radius: 24px;
  overflow: hidden;
  background: white;
  position: relative;
  max-height: 90vh;
}

.popup-svc-photo {
  flex: 0 1 53%;
  max-height: 627px;
  border-radius: 16px;
  overflow: hidden;
  background: #e8e0e5;
}

.popup-svc-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}

.popup-svc-content {
  flex: 0 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  overflow-y: auto;
  padding-top: 50px;
  max-height: 90vh;
}

.popup-svc-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: #262626;
  margin: 0 0 16px;
  padding-right: 44px;
}

.popup-svc-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.03em;
  color: #262626;
  margin: 0 0 24px;
}

.popup-svc-what {
  font-size: 20px;
  font-weight: 600;
  line-height: 135%;
  letter-spacing: -0.03em;
  color: #262626;
  margin: 0 0 12px;
}

.popup-svc-features {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.popup-svc-features li {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.03em;
  color: #262626;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.popup-svc-features li::before {
  content: "✓";
  color: #72134a;
  background: none;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.6;
}

.popup-svc-result {
  background: #f7f5f5;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0 0;
}

.popup-svc-result-label {
  font-size: 20px;
  font-weight: 600;
  line-height: 135%;
  letter-spacing: -0.03em;
  color: #262626;
  margin: 0 0 8px;
}

.popup-svc-result p {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: -0.03em;
  color: #262626;
  margin: 0;
}

.popup-svc-btn {
  background: #72134a;
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  max-width: 255px;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  transition: opacity 0.2s;
}

.popup-svc-btn:hover {
  opacity: 0.88;
}

.popup-svc-extras {
  display: none;
}

.popup-service-box .popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  color: white;
  font-size: 20px;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-service-box .popup-close:hover {
  background: rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
  .popup-service-box {
    flex-direction: column;
    max-height: 94vh;
    width: 100%;
  }

  .popup-svc-img {
    min-height: 0;
    height: 100%;
  }

  .popup-svc-content {
    max-height: none;
    padding: 0;
  }

  .popup-svc-title {
    font-size: 24px;
    padding-right: 44px;
  }

  .popup-svc-desc {
    font-size: 15px;
  }

  .popup-svc-what {
    font-size: 16px;
  }

  .popup-svc-result-label {
    font-size: 16px;
  }

  .popup-svc-features li {
    font-size: 14px;
  }

  .popup-overlay {
    padding: 12px;
    align-items: flex-end;
  }

  .popup-box {
    max-height: 92vh;
    padding: 16px;
    border-radius: 16px;
    overflow-y: auto;
  }
}

/* ══════════════════════════════════════════════
   BLOG SECTION — slider + archive + single
══════════════════════════════════════════════ */

/* ── Section header ── */

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.blog-header__title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 0;
}

.blog-header__arrows {
  display: flex;
  gap: 8px;
}

/* ── Slider track ── */
.blog-slider {
  display: flex;
  gap: 20px;
  overflow: hidden;
}

/* ── Blog card ── */
.blog-card {
  flex: 0 0 calc(25% - 15px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card__img-wrap {
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card__img-wrap:hover .blog-card__img {
  transform: scale(1.04);
}

.blog-card__img--placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.blog-card__cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand);
}

.blog-card__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  color: var(--brand);
}

.blog-card__excerpt {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card__btn {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 20px;
  border: 1.5px solid var(--brand);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  align-self: flex-start;
}

.blog-card__btn:hover {
  background: var(--brand);
  color: #fff;
}

/* ── Archive page ── */
.blog-archive-wrap {
  padding: 80px 0;
}

.blog-archive-hero {
  margin-bottom: 48px;
}

.blog-archive-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin: 0 0 12px;
}

.blog-archive-sub {
  font-size: 18px;
  color: var(--text-sub);
  margin: 0;
}

.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-archive-empty {
  font-size: 18px;
  color: var(--text-sub);
  text-align: center;
  padding: 60px 0;
}

.blog-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.blog-pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--stroke);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.blog-pagination .page-numbers.dots {
  border: none;
  color: var(--text-sub);
  width: auto;
}

/* ── Single post ── */
.single-wrap {
  padding: 60px 0 80px;
}

.single-hero {
  margin-bottom: 32px;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.single-cat {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand);
}

.single-date {
  font-size: 14px;
  color: var(--text-sub);
}

.single-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--dark);
  margin: 0;
  max-width: 800px;
}

.single-thumb {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  max-height: 520px;
}

.single-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-content {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 48px;
}

.single-content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 40px 0 16px;
}

.single-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  margin: 32px 0 12px;
}

.single-content p {
  margin: 0 0 20px;
}

.single-content ul,
.single-content ol {
  padding-left: 24px;
  margin: 0 0 20px;
}

.single-content li {
  margin-bottom: 8px;
}

.single-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1.5px solid var(--stroke);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.single-back-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* ── Blog responsive ── */
@media (max-width: 1023px) {
  .blog-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-header__title {
    font-size: 32px;
  }

  .single-title {
    font-size: 34px;
  }

  .blog-card {
    flex: 0 0 calc(50vw - 15px);
  }
}

@media (max-width: 767px) {
  .blog-card {
    flex: 0 0 calc(100vw - 32px);
  }

  .blog-header__title {
    font-size: 28px;
  }

  .blog-archive-grid {
    grid-template-columns: 1fr;
  }

  .blog-archive-title {
    font-size: 32px;
  }

  .single-title {
    font-size: 26px;
  }

  .single-content {
    font-size: 16px;
  }

  .single-wrap {
    padding: 40px 0 60px;
  }
}

/* ── COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 900px;
  background: #1a1a1a;
  color: white;
  border-radius: 16px;
  padding: 24px 28px;
  z-index: 99999;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 10px;
}

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

.cookie-banner__links a {
  font-size: 12px;
  color: #d4fe89;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

/* COOKIE BUTTONS */
.cookie-btn {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  font-family: inherit;
}

.cookie-btn--accept {
  background: #d4fe89;
  color: #1a1a1a;
}

.cookie-btn--decline {
  background: transparent;
  border: 1.5px solid #444;
  color: #ccc;
}

.cookie-btn--settings {
  background: transparent;
  border: 1.5px solid #444;
  color: #ccc;
}

.cookie-btn--save {
  background: #72134A;
  color: white;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cookie-modal__box {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 32px;
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cookie-modal__header h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.cookie-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f4f1f2;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
}

.cookie-modal__desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.cookie-category {
  border-top: 1px solid #f0f0f0;
  padding: 16px 0;
}

.cookie-category__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cookie-category__header strong {
  font-size: 15px;
  color: #1a1a1a;
}

.cookie-category__header p {
  font-size: 13px;
  color: #888;
  margin: 4px 0 0;
  line-height: 1.4;
}

.cookie-always-on {
  font-size: 12px;
  color: #2E7D32;
  font-weight: 600;
  white-space: nowrap;
  padding-top: 2px;
}

/* TOGGLE SWITCH */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: 0.3s;
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.cookie-toggle input:checked+.cookie-toggle__slider {
  background: #72134A;
}

.cookie-toggle input:checked+.cookie-toggle__slider::before {
  transform: translateX(20px);
}

.cookie-modal__footer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}

@media (max-width: 767px) {
  .cookie-banner__inner {
    flex-direction: column;
  }

  .cookie-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cookie-modal__footer {
    flex-direction: column;
  }

  .cookie-modal__footer .cookie-btn {
    width: 100%;
    text-align: center;
  }
}


/* ═══════════════════════════════════════════════
   LEGAL PAGES
═══════════════════════════════════════════════ */
.legal-wrap {
  padding: 64px 0 80px;
  background: var(--bg);
  min-height: 60vh
}

.legal-hero {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--brand)
}

.legal-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--dark);
  line-height: 1.2
}

.legal-content {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 56px
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
  margin: 40px 0 14px;
  letter-spacing: -.01em
}

.legal-content p {
  margin: 0 0 16px
}

.legal-content ul,
.legal-content ol {
  padding-left: 22px;
  margin: 0 0 16px
}

.legal-content li {
  margin-bottom: 8px
}

.legal-content a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px
}

.legal-content strong {
  font-weight: 600;
  color: var(--dark)
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s
}

.legal-back-btn:hover {
  opacity: .85
}

@media(max-width:767px) {
  .legal-wrap {
    padding: 40px 0 60px
  }

  .legal-hero {
    margin-bottom: 32px;
    padding-bottom: 24px
  }

  .legal-content {
    font-size: 15px
  }

  .legal-content h2 {
    font-size: 18px;
    margin: 32px 0 12px
  }
}

.step-form__part {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.step-form__part.active {
  display: flex;
}

.step-form__btn-next {
  width: 100%;
  margin-top: 20px;
  padding: 18px;
  background: #72134a;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.step-form__btn-next:hover {
  opacity: .88;
}

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

.combobox {
  cursor: pointer;
  position: relative;
}

.combobox__input {}

.combobox__button {
  position: relative;
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #f1f2f4;
  color: #262626;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.combobox__chevrone {
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 10px;
  translate: 0 -50%;
  rotate: 90deg;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.combobox__list {
  position: absolute;
  z-index: 100;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  padding: 8px 0;
  background: #f1f2f4;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  list-style: none;
  font-size: 15px;
}

.combobox.active .combobox__list {
  visibility: visible;
  opacity: 1;
}

.combobox__item {
  cursor: pointer;
  padding: 5px 16px;
}

.combobox__item:hover {
  background: #ecedf0;
}


/* ─── COOKIE BANNER: компактный вид на мобильных ───────────────────
   На узких экранах баннер занимал почти пол-экрана: 24px отступы,
   padding 24/28 и три кнопки в столбик. Текст сохранён полностью —
   уменьшены только типографика, отступы и раскладка кнопок. */
@media (max-width: 767px) {
  .cookie-banner {
    bottom: 8px;
    width: calc(100% - 16px);
    max-width: none;
    border-radius: 14px;
    padding: 14px 16px;
    max-height: 72vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cookie-banner__inner {
    flex-direction: column;
    gap: 12px;
  }

  .cookie-banner__text p {
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
  }

  .cookie-banner__links {
    margin-top: 8px;
    gap: 4px 14px;
    flex-wrap: wrap;
  }

  .cookie-banner__links a {
    font-size: 11px;
  }

  /* кнопки в две строки вместо трёх: «Принять все» на всю ширину, остальные — парой */
  .cookie-banner__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .cookie-banner__actions .cookie-btn {
    flex: 1 1 calc(50% - 4px);
    padding: 9px 10px;
    font-size: 12.5px;
    white-space: normal;
  }

  .cookie-banner__actions .cookie-btn--accept {
    flex-basis: 100%;
  }
}

/* Совсем узкие экраны */
@media (max-width: 380px) {
  .cookie-banner {
    padding: 12px 13px;
  }

  .cookie-banner__text p {
    font-size: 11.5px;
  }
}


/* ═══ СТРАНИЦЫ УСЛУГ (template-service.php, template-services.php) ═══ */
.svc-page {
  padding: 120px 0 80px;
}

.svc-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: #7a7a7a;
  margin-bottom: 28px;
}

.svc-crumbs a {
  color: #72134A;
  text-decoration: none;
}

.svc-crumbs a:hover {
  text-decoration: underline;
}

.svc-crumbs__current {
  color: #7a7a7a;
}

/* первый экран */
.svc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.svc-hero__title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.svc-hero__lead {
  font-size: 18px;
  line-height: 1.55;
  color: #434343;
  margin: 0 0 24px;
}

.svc-hero__price {
  display: inline-block;
  background: #d4fe89;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 18px;
  border-radius: 50px;
  margin: 0 0 28px;
}

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

.svc-hero__photo img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
  object-fit: cover;
}

/* кнопки */
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.svc-btn:hover {
  opacity: 0.88;
}

.svc-btn--primary {
  background: #72134A;
  color: #fff;
}

.svc-btn--ghost {
  background: transparent;
  border: 1.5px solid #d8d8d8;
  color: #1a1a1a;
}

/* текстовые блоки */
.svc-block {
  max-width: 820px;
  margin: 0 0 64px;
}

.svc-block__title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.svc-block__text {
  font-size: 17px;
  line-height: 1.6;
  color: #434343;
  margin: 0 0 16px;
}

.svc-block__note {
  font-size: 15px;
  line-height: 1.55;
  color: #7a7a7a;
  margin: 20px 0 0;
}

/* таблица цен */
.svc-price {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 17px;
}

.svc-price th {
  text-align: left;
  font-weight: 600;
  color: #7a7a7a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 16px 12px 0;
  border-bottom: 1px solid #e8e8e8;
}

.svc-price td {
  padding: 16px 16px 16px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #1a1a1a;
  vertical-align: top;
}

.svc-price__val {
  font-weight: 600;
  white-space: nowrap;
}

.svc-price__note {
  font-size: 15px;
  line-height: 1.55;
  color: #7a7a7a;
  margin: 0;
}

/* форматы работы */
.svc-formats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 0 0 24px;
}

.svc-format {
  background: #f7f6f6;
  border-radius: 20px;
  padding: 24px;
}

.svc-format__title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}

.svc-format__text {
  font-size: 16px;
  line-height: 1.55;
  color: #434343;
  margin: 0;
}

.svc-tariffs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.svc-tariffs li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.5;
  color: #1a1a1a;
}

.svc-tariffs__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d4fe89;
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* вопросы: тот же аккордеон, что на главной */
.svc-faq {
  max-width: 820px;
}

/* призыв к действию */
.svc-cta {
  background: #181818;
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  margin: 0 0 24px;
}

.svc-cta__title {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.svc-cta__sub {
  font-size: 17px;
  color: #c9c9c9;
  margin: 0 0 28px;
}

/* разводящая */
.svc-hub-hero {
  max-width: 860px;
  margin: 0 0 48px;
}

.svc-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 0 0 64px;
}

.svc-hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.svc-hub-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.svc-hub-card__photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f3f3;
}

.svc-hub-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-hub-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  flex: 1;
}

.svc-hub-card__title {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
}

.svc-hub-card__price {
  font-size: 15px;
  font-weight: 600;
  color: #72134A;
}

.svc-hub-card__lead {
  font-size: 15px;
  line-height: 1.5;
  color: #6f6f6f;
  flex: 1;
}

.svc-hub-card__more {
  font-size: 15px;
  font-weight: 600;
  color: #72134A;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .svc-page {
    padding: 96px 0 56px;
  }

  .svc-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 48px;
  }

  .svc-hero__title {
    font-size: 34px;
  }

  .svc-hero__lead {
    font-size: 16px;
  }

  .svc-block {
    margin-bottom: 44px;
  }

  .svc-block__title {
    font-size: 25px;
  }

  .svc-block__text,
  .svc-tariffs li {
    font-size: 16px;
  }

  .svc-cta {
    padding: 32px 22px;
  }

  .svc-cta__title {
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .svc-hero__title {
    font-size: 28px;
  }

  .svc-hero__actions .svc-btn {
    width: 100%;
  }

  /* таблица цен в две строки на узких экранах */
  .svc-price thead {
    display: none;
  }

  .svc-price,
  .svc-price tbody,
  .svc-price tr,
  .svc-price td {
    display: block;
    width: 100%;
  }

  .svc-price tr {
    border-bottom: 1px solid #f0f0f0;
    padding: 14px 0;
  }

  .svc-price td {
    border: none;
    padding: 0;
  }

  .svc-price__val {
    font-size: 18px;
    margin-top: 4px;
  }
}

/* ═══════════════════════════════════════════════
   АВТОР СТАТЬИ
   ═══════════════════════════════════════════════ */

.single-meta {
  flex-wrap: wrap;
  row-gap: 6px;
}

.single-author,
.single-updated {
  font-size: 14px;
  color: var(--text-sub);
}

.single-author::before,
.single-updated::before {
  content: "·";
  margin-right: 10px;
  color: var(--text-dim);
}

.single-author-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 40px 0 32px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--r-card);
}

.single-author-card__photo {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.single-author-card__photo--letter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: var(--white);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.single-author-card__text {
  min-width: 0;
}

.single-author-card__name {
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.single-author-card__role {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}

.single-author-card__bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-sub);
}

@media (max-width: 560px) {
  .single-author-card {
    gap: 14px;
    padding: 18px;
  }

  .single-author-card__photo {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .single-author-card__photo--letter {
    font-size: 24px;
  }

  .single-author-card__name {
    font-size: 16px;
  }

  .single-author-card__bio {
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════════════
   РЕКВИЗИТЫ В ПОДВАЛЕ
   ═══════════════════════════════════════════════ */

.footer-legal {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal__line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}

.footer-legal__copy {
  font-weight: 600;
}

.footer-legal a.footer-legal__item {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-legal a.footer-legal__item:hover {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.footer-legal__note {
  margin: 10px 0 0;
  max-width: 760px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-dim);
  opacity: 0.8;
}

@media (max-width: 560px) {
  .footer-legal__line {
    gap: 4px 14px;
    font-size: 12px;
  }

  .footer-legal__note {
    font-size: 11px;
  }
}
