/*!
Theme Name: Ярославна
Theme URI: 
Author: 
Description: Тема для сайта астролога Ярославны Маслаковой
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ym
*/
/* =========================================================
   ЯРОСЛАВНА — Global Styles
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   --------------------------------------------------------- */
:root {

  /* --- Colors --- */
  --bg-primary:            #2A0E3F;
  --block-gradient-dark:   #150125;
  --block-gradient-light:  #5D2389;
  --color-cream:           #F9F0C9;
  --color-purple:          #A262D2;
  --color-white:           #ffffff;

  /* Derived / UI colours */
  --color-purple-bg:       #A262D220; /* tag background       */
  --color-purple-border:   #A262D230; /* card border          */
  --color-purple-ring:     #A262D250; /* tag border           */
  --color-white-12:        #ffffff12; /* nav pill background  */
  --color-white-16:        #ffffff29; /* nav pill border      */
  --color-white-60:        #FFFFFF99; /* muted body text      */
  --color-white-21:        #FFFFFF30; /* filter pill border   */
  --color-btn-text:        #14071e;   /* button label         */
  --color-divider:         #FFFFFF15; /* horizontal dividers  */

  /* --- Typography --- */
  --font-heading:          'Playfair Display', Georgia, serif;
  --font-body:             'Manrope', sans-serif;

  /* Font sizes */
  --fs-hero:     80px;
  --fs-h1:       48px;
  --fs-h2:       32px;
  --fs-h3:       24px;
  --fs-nav:      18px;
  --fs-body:     18px;
  --fs-body-sm:  16px;
  --fs-small:    14px;
  --fs-xs:       12px;

  /* Font weights */
  --fw-normal:   400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* Line heights */
  --lh-tight:    1;
  --lh-base:     1.5;
  --lh-relaxed:  1.6;

  /* --- Spacing --- */
  --space-4:    4px;
  --space-8:    8px;
  --space-10:   10px;
  --space-12:   12px;
  --space-16:   16px;
  --space-20:   20px;
  --space-24:   24px;
  --space-32:   32px;
  --space-40:   40px;
  --space-48:   48px;
  --space-60:   60px;
  --space-80:   80px;

  /* --- Layout --- */
  --site-width:        1440px;
  --section-padding-x: 40px;
  --content-padding:   60px 80px;
  --hero-padding:      80px 80px 60px;

  /* --- Border Radius --- */
  --radius-pill:   1000px;   /* buttons, tags, nav pill */
  --radius-card:   24px;     /* blog cards, featured block */
  --radius-sm:     8px;
  --radius-xs:     4px;

  /* --- Header --- */
  --header-height:  80px;

  /* --- Shadows / Effects --- */
  --btn-shadow:         0 5px 30px 0 #FFFFFF80;
  --nav-backdrop-blur:  blur(10px);
}

/* ---------------------------------------------------------
   2. Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  /* scroll-behavior: smooth; */
}

body {
  background-color: var(--bg-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-normal);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

/* ---------------------------------------------------------
   3. Typography
   --------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-normal);
  line-height: var(--lh-tight);
  color: var(--color-cream);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); }

p {
  font-family: var(--font-body);
  line-height: var(--lh-relaxed);
  color: var(--color-white-60);
}

/* ---------------------------------------------------------
   3a. Gradient text — fix descender clipping
   --------------------------------------------------------- */
.hero__title,
.docs-section__title,
.services-section__title,
.process-section__title,
.value-section__title,
.bottom-block__title,
.about-banner__title {
  padding-bottom: 0.12em;
}

/* ---------------------------------------------------------
   4. Layout — Section & Container
   --------------------------------------------------------- */

section {
  width: 100%;
  padding-inline: var(--section-padding-x);
  background-image:
    linear-gradient(#2a0e40d1, #2a0e40d1),
    url('images/fon.png');
  background-repeat: repeat;
  background-size: auto;
}

/* Hero и CTA — без текстурного фона */
.hero_block,
.blog_hero,
.post_hero,
.services_hero,
.services_cta,
.about_hero,
.bottom-block,
.services-section,
.about-banner,
.docs-section,
.process-section,
.value-section {
  background-image: none;
}

.container {
  width: 100%;
  max-width: var(--site-width);
  margin-inline: auto;
}

/* ---------------------------------------------------------
   5. Spacing Utilities
   --------------------------------------------------------- */

/* Padding-top */
.pt-20  { padding-top: 20px;  }
.pt-40  { padding-top: 40px;  }
.pt-60  { padding-top: 60px;  }
.pt-80  { padding-top: 80px;  }
.pt-100 { padding-top: 100px; }
.pt-120 { padding-top: 120px; }

/* Padding-bottom */
.pb-20  { padding-bottom: 20px;  }
.pb-40  { padding-bottom: 40px;  }
.pb-60  { padding-bottom: 60px;  }
.pb-80  { padding-bottom: 80px;  }
.pb-100 { padding-bottom: 100px; }
.pb-120 { padding-bottom: 120px; }

/* Margin-top */
.mt-20  { margin-top: 20px;  }
.mt-40  { margin-top: 40px;  }
.mt-60  { margin-top: 60px;  }
.mt-80  { margin-top: 80px;  }
.mt-100 { margin-top: 100px; }
.mt-120 { margin-top: 120px; }

/* Margin-bottom */
.mb-20  { margin-bottom: 20px;  }
.mb-40  { margin-bottom: 40px;  }
.mb-60  { margin-bottom: 60px;  }
.mb-80  { margin-bottom: 80px;  }
.mb-100 { margin-bottom: 100px; }
.mb-120 { margin-bottom: 120px; }

/* ---------------------------------------------------------
   6. Header
   --------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-primary);
  padding-inline: var(--section-padding-x);
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  gap: 50px;
  height: 100%;
}

/* Logo */
.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 49px;
  height: 45px;
  object-fit: contain;
  display: block;
}

/* Nav pill */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-24);
  padding: 15px 20px;
  background-color: var(--color-white-12);
  border: 1px solid var(--color-white-16);
  border-radius: var(--radius-pill);
  backdrop-filter: var(--nav-backdrop-blur);
  -webkit-backdrop-filter: var(--nav-backdrop-blur);
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  line-height: 1;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.header__nav-link:hover {
  opacity: 0.75;
}

.header__nav-divider {
  width: 1px;
  height: 10px;
  background-color: var(--color-white);
  opacity: 0.3;
  flex-shrink: 0;
}

/* Right side */
.header__right {
  display: flex;
  align-items: center;
  gap: var(--space-32);
  margin-left: auto;
}

.header__phone {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   6. Buttons
   --------------------------------------------------------- */

/* Primary / large button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 3px solid var(--color-white);
  background: linear-gradient(180deg, #ffffff 0%, #ededed 100%);
  box-shadow: var(--btn-shadow);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  color: var(--color-btn-text);
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.92;
  box-shadow: 0 8px 36px 0 #FFFFFF90;
}

/* Small button (header) */
.btn--sm {
  padding: 8px 16px;
  font-size: var(--fs-small);
  border-width: 1px;
  box-shadow: none;
}

/* ---------------------------------------------------------
   7. Tags / Pills
   --------------------------------------------------------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--color-purple-bg);
  border: 1px solid var(--color-purple-ring);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-purple);
}

/* ---------------------------------------------------------
   8. Hero Section
   --------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
  padding: var(--hero-padding);
  width: 100%;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-normal);
  color: var(--color-cream);
  line-height: var(--lh-tight);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-normal);
  color: var(--color-white-60);
  line-height: var(--lh-relaxed);
  max-width: 600px;
}

/* ---------------------------------------------------------
   8a. Hero Home (.hero_block)
   --------------------------------------------------------- */
.hero_block {
  position: relative;
  overflow: hidden;
  padding-inline: 0;
  min-height: 1000px;
  background-color: var(--bg-primary);
}

/* Астрологический круг — самый нижний слой */
.hero__bg-img {
  position: absolute;
  top: 0;
  right: -4%;
  width: 1170px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  animation: hero-rotate 160s linear infinite;
  transform-origin: center center;
}

@keyframes hero-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Фиолетовое свечение */
.hero__glow {
  position: absolute;
  width: 1330px;
  height: 1330px;
  border-radius: 50%;
  background: #a262d2;
  filter: blur(400px);
  top: 50%;
  right: -5%;
  transform: translateY(-40%);
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

/* Декоративные линии — верхний левый угол */
.hero__liners {
  position: absolute;
  top: -50%;
  left: -10%;
  width: 36%;
  height: auto;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

/* Затемняющий градиент слева — делает текст читаемым */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #2a0e3f 30%,
    rgba(42, 14, 63, 0.6) 52%,
    transparent 68%
  );
  z-index: 4;
  pointer-events: none;
}

/* Фото специалиста */
.hero__photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 881px;
  height: auto;
  z-index: 5;
  pointer-events: none;
  user-select: none;
}

/* Контейнер с контентом */
.hero_block .container {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  padding-top: 220px;
  padding-bottom: 180px;
  min-height: calc(100vh - var(--header-height));
  padding-inline: var(--section-padding-x);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  max-width: 590px;
}

.hero__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(52px, 7.5vw, 120px);
  font-weight: var(--fw-normal);
  line-height: 1;
  background: linear-gradient(180deg, #fff9de 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-normal);
  line-height: 1.5;
  color: var(--color-white);
  opacity: 0.9;
  max-width: 500px;
}

.hero__btn {
  align-self: flex-start;
  padding: 20px 33px;
  font-size: 18px;
  font-weight: var(--fw-medium);
}

/* Нижний вектор — самый верхний слой */
.hero__vector {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* ---------------------------------------------------------
   Scroll arrow (hero + about-banner)
   --------------------------------------------------------- */
.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: auto;
  z-index: 20;
  pointer-events: none;
  animation: arrow-float 2.4s ease-in-out infinite;
}

@keyframes arrow-float {
  0%   { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(-12px); }
  100% { transform: translateX(-50%) translateY(0); }
}

/* ---------------------------------------------------------
   8b. В чём ценность моей работы
   --------------------------------------------------------- */
.value-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 100px;
}

.value-section__glow {
  position: absolute;
  width: 1125px;
  height: 1125px;
  border-radius: 50%;
  background: #e5c2ff;
  filter: blur(200px);
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.value-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.value-section__title {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.25vw, 84px);
  font-weight: var(--fw-normal);
  text-align: center;
  line-height: 1;
  background: linear-gradient(180deg, #f9f0c9 27%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.value-section__content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-section__image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 81%;
  max-width: 1300px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

.value-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.value-card {
  position: relative;
  width: 408px;
  flex-shrink: 0;
  padding: 36px 36px 36px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(135deg, #150125 0%, #27083e 44%, #5d2389 100%);
  border: 1px solid rgba(255, 255, 255, 0.21);
}

.value-card--tl { border-radius: 0 40px 40px 40px; }
.value-card--tr { border-radius: 40px 0 40px 40px; }
.value-card--bl { border-radius: 0 40px 40px 40px; }
.value-card--br { border-radius: 40px 0 40px 40px; }

.value-card__star {
  position: absolute;
  width: 30px;
  height: auto;
}

.value-card--tl .value-card__star,
.value-card--bl .value-card__star {
  top: -15px;
  left: -15px;
}

.value-card--tr .value-card__star,
.value-card--br .value-card__star {
  top: -15px;
  right: -15px;
  left: auto;
}

.value-card__title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: var(--fw-medium);
  color: #f9f0c9;
  line-height: 1.2;
}

.value-card__text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  opacity: 0.9;
  line-height: 1.5;
}

.value-section__btn {
  position: relative;
  z-index: 2;
  padding: 20px 33px;
  font-size: 18px;
  font-weight: var(--fw-medium);
}

/* ---------------------------------------------------------
   8c. Как проходит консультация
   --------------------------------------------------------- */
.process-section {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 120px;
}

.process-section__glow {
  position: absolute;
  width: 1130px;
  height: 1130px;
  border-radius: 50%;
  background: #a262d2;
  filter: blur(200px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

.process-section__glow--left  { left: -700px; top: 20%; }
.process-section__glow--right { right: -700px; top: 50%; }

.process-section__circle {
  position: absolute;
  top: 60px;
  right: 0;
  width: 430px;
  height: 430px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.process-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.process-section__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.25vw, 84px);
  font-weight: var(--fw-normal);
  text-align: center;
  line-height: 1;
  background: linear-gradient(180deg, #2c1041 0%, #a044d1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-section__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 100px;
  background: #4a0085;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  opacity: 0.9;
  text-align: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.process-step {
  position: relative;
  padding-top: 60px;
  padding-left: 60px;
  width: calc(50% - 15px);
}

.process-step--left  { align-self: flex-start; }
.process-step--right { align-self: flex-end; }

.process-step__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #150125 0%, #5d2389 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.process-step__num span {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 84px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  line-height: 1;
  margin-top: -12px;
  display: block;
}

.process-step__card {
  border-radius: 0 40px 40px 40px;
  background: linear-gradient(135deg, #150125 0%, #5d2389 100%);
  border: 1px solid rgba(255, 255, 255, 0.21);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  line-height: 1.2;
}

.process-step__text {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  opacity: 0.9;
  line-height: 1.5;
}

.process-step__btn {
  align-self: flex-start;
  padding: 20px 33px;
  font-size: 18px;
  font-weight: var(--fw-medium);
  margin-top: 10px;
}

/* ---------------------------------------------------------
   8c. About Banner
   --------------------------------------------------------- */
.about-banner {
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 0;
}

.about-banner .container {
  position: relative;
  z-index: 1;
  padding-bottom: 180px;
}

.about-banner__card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 60px 40px 50px;
  border-radius: 1000px;
  background: linear-gradient(135deg, #150125 0%, #5d2389 100%);
  border: 1px solid #572080;
}

.about-banner__photo-wrap {
  width: 228px;
  height: 228px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.about-banner__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.about-banner__title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 54px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  line-height: 1;
}

.about-banner__text {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  opacity: 0.9;
  line-height: 1.5;
  max-width: 820px;
}

.about-banner__btn {
  align-self: flex-start;
  padding: 20px 33px;
  font-size: 18px;
  font-weight: var(--fw-medium);
}

.about-banner__vector {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 0;
}

.about-banner__logo {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: brightness(0) invert(1);
}

/* ---------------------------------------------------------
   8c. Секция Консультации и разборы
   --------------------------------------------------------- */
.services-section {
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 160px;
}

.services-section__glow {
  position: absolute;
  width: 1130px;
  height: 1130px;
  border-radius: 50%;
  background: #a262d2;
  filter: blur(200px);
  left: 15%;
  top: 90%;
  z-index: 0;
  pointer-events: none;
}

.services-section .container {
  position: relative;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.services-section__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.25vw, 84px);
  font-weight: var(--fw-normal);
  text-align: center;
  line-height: 1;
  background: linear-gradient(180deg, #f9f0c9 27%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-list__item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 50px;
  height: 125px;
  border-radius: 40px;
  background: linear-gradient(135deg, #150125 0%, #5d2389 100%);
  border: 1px solid rgba(255, 255, 255, 0.21);
}

.services-list__star {
  width: 27px;
  height: 30px;
  flex-shrink: 0;
}

.services-list__name {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  flex: 1;
}

.services-list__price {
  font-family: var(--font-body);
  font-size: 34px;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  opacity: 0.9;
  flex-shrink: 0;
}

.services-list__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-white);
  background: linear-gradient(180deg, #ffffff 0%, #ededed 100%);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: #030303;
  opacity: 0.9;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.services-list__btn:hover {
  opacity: 0.7;
}

.services-section__all-btn {
  position: relative;
  z-index: 20;
  padding: 20px 33px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--fw-medium);
}

.services-section__vector {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 2;
}

/* ---------------------------------------------------------
   8c. Секция Документы
   --------------------------------------------------------- */
.docs-section {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 200px;
  background-color: #ffffff;
  background-image: none;
}

.docs-section__circle {
  position: absolute;
  left: -150px;
  top: 40px;
  width: 430px;
  height: 430px;
  opacity: 0.2;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.docs-section__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: #a262d2;
  filter: blur(100px);
  left: 15%;
  top: 80%;
  transform: translateY(-50%);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.docs-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.docs-section__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.25vw, 84px);
  font-weight: var(--fw-normal);
  text-align: center;
  background: linear-gradient(180deg, #2c1041 0%, #a044d1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.docs-section__cards {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 35px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}

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

.docs-section__card {
  width: 361px;
  height: auto;
  border-radius: 24px;
  border: 5px solid #ffffff;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   8c. Нижний тёмный блок (Видео + FAQ + Форма)
   --------------------------------------------------------- */
.bottom-block {
  position: relative;
  background-color: var(--bg-primary);
  border-radius: 40px 40px 0 0;
  overflow: visible;
  padding-top: 0;
  padding-bottom: 100px;
}

.bottom-block .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

/* --- Видео плеер --- */
.video-player-wrap {
  width: 100%;
  padding: 10px;
  border-radius: 50px;
  background: linear-gradient(135deg, #150125, #5d2389);
  margin-top: -100px;
  position: relative;
  z-index: 2;
}

.video-player {
  position: relative;
  width: 100%;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 1396 / 788;
  cursor: pointer;
}

.video-player__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 169px;
  height: 169px;
  border-radius: 50%;
  background: linear-gradient(135deg, #150125, #5d2389);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 19px 70px 0 rgba(79, 28, 117, 0.23);
  z-index: 2;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.video-player__play:hover {
  opacity: 0.85;
}

.video-player__play svg {
  margin-left: 8px;
}

.video-player__bar {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 180px);
  height: 85px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(21,1,37,0.85), rgba(93,35,137,0.85));
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  z-index: 2;
}

.video-player__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1;
}

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

.video-player__time {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  opacity: 0.9;
}

/* --- FAQ --- */
.bottom-block__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 5.25vw, 84px);
  font-weight: var(--fw-normal);
  text-align: center;
  background: linear-gradient(180deg, #f9f0c9 27%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.faq__item {
  border-radius: 40px;
  background: linear-gradient(135deg, #150125 0%, #5d2389 100%);
  border: 1px solid rgba(255, 255, 255, 0.21);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq__item--open {
  border-color: rgba(255, 255, 255, 0.4);
}

.faq__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  min-height: 128px;
  cursor: pointer;
  gap: 24px;
}

.faq__question {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: var(--fw-normal);
  line-height: 1.2;
  background: linear-gradient(180deg, #f9f0c9 27%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq__mark {
  font-family: var(--font-heading);
  font-size: 50px;
  font-weight: var(--fw-normal);
  line-height: 1.2;
  background: linear-gradient(180deg, #f9f0c9 27%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  transition: transform 0.35s ease;
  display: block;
}

.faq__item--open .faq__mark {
  transform: rotate(90deg);
}

.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding-bottom 0.4s ease;
  padding: 0 50px;
}

.faq__item--open .faq__body {
  max-height: 200px;
  padding-bottom: 32px;
}

.faq__answer {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: var(--fw-normal);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

/* --- Контактная форма --- */
.contact-form {
  width: 100%;
  max-width: 1208px;
}

.contact-form__inner {
  display: flex;
  align-items: center;
  height: 120px;
  border-radius: 1000px;
  background: rgba(21, 21, 21, 0.2);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  border: 1px solid rgba(255, 255, 255, 0.27);
  padding: 0 26px;
  gap: 15px;
}

.contact-form__input {
  width: 377px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 1000px;
  height: 68px;
  padding: 0 30px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--color-white);
  outline: none;
}

.contact-form__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form__btn {
  flex-shrink: 0;
  height: 68px;
  padding: 0 33px;
  font-size: 18px;
  font-weight: var(--fw-medium);
  margin-left: 7px;
}

/* Filter pills row */
.filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.filter-pill--active {
  background-color: var(--color-cream);
  color: var(--color-btn-text);
}

.filter-pill--inactive {
  background-color: transparent;
  border: 1px solid var(--color-white-21);
}

.filter-pill--inactive:hover {
  background-color: var(--color-white-12);
}

/* ---------------------------------------------------------
   9. Cards
   --------------------------------------------------------- */
.card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, var(--block-gradient-dark) 0%, var(--block-gradient-light) 100%);
  border: 1px solid var(--color-purple-border);
}

/* Featured / large card */
.card--featured {
  display: flex;
  height: 480px;
  width: 100%;
}

.card--featured .card__image {
  width: 580px;
  flex-shrink: 0;
  object-fit: cover;
  height: 100%;
}

.card--featured .card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-20);
  padding: var(--space-48);
  flex: 1;
}

/* Grid card */
.card--grid {
  display: flex;
  flex-direction: column;
}

.card--grid .card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card--grid .card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  padding: var(--space-24);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  line-height: 1.3;
}

.card__excerpt {
  font-size: var(--fs-body-sm);
  color: var(--color-white-60);
  line-height: var(--lh-relaxed);
}

/* ---------------------------------------------------------
   10. Grid Layouts
   --------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-24);
  width: 100%;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
  width: 100%;
}

/* ---------------------------------------------------------
   11. Dividers
   --------------------------------------------------------- */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-divider);
  border: none;
}

/* ---------------------------------------------------------
   12. Footer
   --------------------------------------------------------- */
footer {
  position: relative;
  width: 100%;
  padding: 52px var(--section-padding-x) 40px;
  background-color: var(--block-gradient-dark);
  overflow: hidden;
}

/* Фиолетовое свечение — декоративный фон */
footer::before {
  content: '';
  position: absolute;
  left: 10%;
  top: 0%;
  transform: translate(-50%, -100%);
  width: 1100px;
  height: 1100px;
  background: #A262D2;
  pointer-events: none;
  border-radius: 1000000px;
  z-index: 0;
  filter: blur(600px);
}

footer .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* Верхняя строка */
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 40px;
}

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

.footer__brand img {
  width: 95px;
  height: auto;
  flex-shrink: 0;
}

.footer__brand p {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-normal);
  color: var(--color-white);
  opacity: 0.9;
  line-height: var(--lh-relaxed);
}

.footer__email {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-white);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer__email:hover { opacity: 0.6; }

.footer__contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__phone {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  opacity: 0.9;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__phone:hover { opacity: 0.6; }

/* Навигация */
.footer__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0;
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-normal);
  color: var(--color-white);
  opacity: 0.9;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__nav a:hover { opacity: 0.5; }

/* Нижняя строка */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
}

/* Соцсети */
.footer__socials {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.7;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: opacity 0.2s ease;
}

.footer__socials a:hover { opacity: 0.6; }

.footer__socials img {
  display: block;
  height: 30px;
  width: auto;
}

/* Юридические ссылки */
.footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0.7;
}

.footer__legal a {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  color: var(--color-white);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.footer__legal a:hover { opacity: 0.6; }

/* ---------------------------------------------------------
   13. Gradients (utility classes)
   --------------------------------------------------------- */
.gradient-block {
  background: linear-gradient(135deg, var(--block-gradient-dark) 0%, var(--block-gradient-light) 100%);
}

/* ---------------------------------------------------------
   14. Blog Page
   --------------------------------------------------------- */

/* Hero */
.blog_hero {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 60px;
}

.blog_hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.blog_hero__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.blog_hero__tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background-color: var(--color-purple-bg);
  border: 1px solid var(--color-purple-ring);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-purple);
}

.blog_hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-normal);
  color: var(--color-cream);
  line-height: 1;
}

.blog_hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-white-60);
  line-height: var(--lh-relaxed);
  max-width: 600px;
}

.blog_hero__filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Content section */
.blog_content {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Featured card */
.featured-card {
  display: flex;
  height: 480px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, var(--block-gradient-dark) 0%, var(--block-gradient-light) 100%);
  border: 1px solid var(--color-purple-border);
}

.featured-card__image {
  width: 580px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

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

.featured-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #150125AA 0%, #150125FF 100%);
}

.featured-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 48px;
}

.featured-card__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background-color: #A262D230;
  border: 1px solid #A262D260;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-purple);
}

.featured-card__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: var(--fw-normal);
  color: var(--color-cream);
  line-height: 1;
}

.featured-card__desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #FFFFFF80;
  line-height: 1.7;
}

.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF50;
}

.featured-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #FFFFFF30;
  flex-shrink: 0;
}

/* Grid section */
.blog_grid-section__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--color-cream);
}

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

/* Article card */
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--block-gradient-dark) 0%, var(--block-gradient-light) 100%);
  border: 1px solid var(--color-purple-bg);
}

.article-card__image {
  height: 200px;
  overflow: hidden;
}

.article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.04);
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 24px 24px;
  flex: 1;
}

.article-card__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--color-purple-bg);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--color-purple);
}

.article-card__badge--cream {
  background-color: #F9F0C920;
  color: var(--color-cream);
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  line-height: 1.3;
}

.article-card__desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF70;
  line-height: 1.6;
  flex: 1;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF50;
  margin-top: auto;
}

.article-card__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: #FFFFFF50;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   15. Blog Post Page
   --------------------------------------------------------- */

/* Hero */
.post_hero {
  position: relative;
  min-height: 200px;
  padding-top: 300px;
  overflow: hidden;
}

.post_hero__bg {
  position: absolute;
  inset: 0;
}

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

.post_hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #2a0e4085 0%, #150125F5 70%, #150125FF 100%);
}

.post_hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding-inline: var(--section-padding-x);
  padding-bottom: 64px;
}

.post_hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  margin-bottom: 20px;
}

.post_hero__breadcrumb a {
  color: #FFFFFF50;
  transition: color 0.2s ease;
}

.post_hero__breadcrumb a:hover { color: var(--color-white); }

.post_hero__breadcrumb span {
  color: #FFFFFF30;
}

.post_hero__breadcrumb-current {
  color: var(--color-cream) !important;
}

.post_hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.post_hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background-color: #A262D230;
  border: 1px solid #A262D260;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-purple);
}

.post_hero__meta-divider {
  width: 1px;
  height: 12px;
  background-color: #FFFFFF25;
  flex-shrink: 0;
}

.post_hero__meta-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF50;
}

.post_hero__title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: var(--fw-normal);
  color: var(--color-cream);
  line-height: 1.15;
  max-width: 900px;
}

/* Body — 2 колонки */
.post_body {
  padding-top: 64px;
  padding-bottom: 64px;
}

.post_body__inner {
  display: flex;
  gap: 90px;
  align-items: flex-start;
}

/* Статья */
.post_article {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.post_article__lead {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-medium);
  color: var(--color-cream);
  line-height: 1.7;
}

.post_article__divider {
  width: 60px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-purple);
}

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

.post_article__block h2 {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

.post_article__block p {
  font-size: var(--fs-body-sm);
  color: #FFFFFF80;
  line-height: 1.8;
}

/* Список */
.post_article__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 28px;
  border-radius: 16px;
  background-color: #FFFFFF06;
  border: 1px solid #FFFFFF12;
}

.post_article__list-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post_article__list-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background-color: var(--color-purple);
  flex-shrink: 0;
}

.post_article__list-item span:last-child {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--color-cream);
  line-height: 1.6;
}

/* Изображение */
.post_article__image-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post_article__image-block img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.post_article__image-caption {
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF40;
  text-align: center;
  line-height: 1.5;
}

/* CTA inline */
.post_article__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #5D2389 0%, #150125 100%);
  border: 1px solid #A262D235;
}

.post_article__cta-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.post_article__cta-text h3 {
  font-size: 24px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
}

.post_article__cta-text p {
  font-size: var(--fs-small);
  color: #FFFFFF70;
  line-height: 1.6;
}

/* Теги */
.post_article__tags {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post_article__tags-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: #FFFFFF40;
  letter-spacing: 1px;
}

.post_article__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post_article__tag {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid #FFFFFF20;
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF60;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.post_article__tag:hover { border-color: #FFFFFF50; }

/* Сайдбар */
.post_sidebar {
  width: 360px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 24px;
}

/* Карточка автора */
.post_sidebar__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 28px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--block-gradient-dark) 0%, var(--block-gradient-light) 100%);
  border: 1px solid var(--color-purple-bg);
  text-align: center;
}

.post_sidebar__author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--block-gradient-light) 100%);
  flex-shrink: 0;
}

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

.post_sidebar__author-name {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-cream);
  line-height: 1.3;
}

.post_sidebar__author-role {
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF60;
  line-height: 1.5;
}

.post_sidebar__author-bio {
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFF70;
  line-height: 1.6;
}

.post_sidebar__author .btn {
  width: 100%;
  justify-content: center;
}

/* Читайте также */
.post_sidebar__related {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post_sidebar__related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: #FFFFFF60;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.post_sidebar__related-line {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-cream);
  flex-shrink: 0;
}

.post_sidebar__related-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #FFFFFF10;
  transition: opacity 0.2s ease;
}

.post_sidebar__related-item--last {
  border-bottom: none;
}

.post_sidebar__related-item:hover { opacity: 0.75; }

.post_sidebar__related-img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.post_sidebar__related-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.post_sidebar__related-badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--color-purple);
}

.post_sidebar__related-article-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  line-height: 1.3;
}

.post_sidebar__related-meta {
  font-family: var(--font-body);
  font-size: 12px;
  color: #FFFFFF40;
}

/* Похожие статьи */
.post_more {
  padding-top: 72px;
  padding-bottom: 80px;
  border-top: 1px solid #FFFFFF10;
}

.post_more__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post_more__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-semibold);
  color: #FFFFFF60;
  letter-spacing: 2px;
}

.post_more__title-line {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-cream);
  flex-shrink: 0;
}

.post_more__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid #FFFFFF25;
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF70;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.post_more__all:hover {
  border-color: #FFFFFF60;
  color: var(--color-white);
}

/* ---------------------------------------------------------
   16. Services Page
   --------------------------------------------------------- */

/* Hero */
.services_hero {
  background: linear-gradient(180deg, #3D1A5A 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid #FFFFFF0F;
  padding-top: 72px;
  padding-bottom: 64px;
}

.services_hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 20px;
}

.services_hero__breadcrumb a {
  color: #FFFFFF50;
  transition: color 0.2s ease;
}

.services_hero__breadcrumb a:hover { color: var(--color-white); }

.services_hero__breadcrumb span { color: #FFFFFF25; }

.services_hero__breadcrumb-current { color: var(--color-cream); }

.services_hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.services_hero__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.services_hero__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  background-color: #A262D218;
  border: 1px solid #A262D245;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-purple);
}

.services_hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-purple);
  flex-shrink: 0;
}

.services_hero__title {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: var(--fw-normal);
  color: var(--color-cream);
  line-height: 1.1;
}

.services_hero__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: #FFFFFF65;
  line-height: 1.7;
  max-width: 620px;
}

.services_hero__stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

.services_hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.services_hero__stat-num {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  line-height: 1;
}

.services_hero__stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF50;
}

.services_hero__stat-divider {
  width: 1px;
  height: 48px;
  background-color: #FFFFFF15;
  flex-shrink: 0;
}

/* Services list section */
.services_list {
  padding-top: 72px;
  padding-bottom: 80px;
}

.services_list__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.services_list__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.services_list__header-line {
  width: 32px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-cream);
  flex-shrink: 0;
}

.services_list__header-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: var(--fw-bold);
  color: #FFFFFF60;
  letter-spacing: 2px;
}

.services_list__header-note {
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFF50;
}

/* Grid */
.services_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Service card */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  border-radius: 24px;
  background: linear-gradient(160deg, #3D1A5A 0%, var(--block-gradient-dark) 100%);
  border: 1px solid #A262D220;
}

.service-card--featured {
  background: linear-gradient(160deg, #5D2389 0%, var(--block-gradient-dark) 100%);
  border-color: #A262D235;
}

.service-card--free {
  background: linear-gradient(160deg, #F9F0C915 0%, var(--bg-primary) 100%);
  border: 1px solid var(--color-cream);
}

.service-card__num {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--fw-bold);
  color: #A262D260;
  letter-spacing: 2px;
}

.service-card--featured .service-card__num {
  color: #A262D280;
}

.service-card__free-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: var(--bg-primary);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  line-height: 1.3;
  flex: 1;
}

.service-card__desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFF70;
  line-height: 1.7;
  flex: 1;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.service-card__price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: var(--fw-bold);
  color: var(--color-cream);
}

.service-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid #FFFFFF35;
  font-family: var(--font-body);
  font-size: 13px;
  color: #FFFFFF80;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-card__btn:hover {
  border-color: #FFFFFF70;
  color: var(--color-white);
}

.service-card--featured .service-card__btn {
  border-color: #FFFFFF35;
  color: #FFFFFF80;
}

/* 404 */
.page-404 {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-404__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: var(--color-purple);
  filter: blur(200px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  pointer-events: none;
}
.page-404__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}
.page-404__code {
  font-family: var(--font-heading);
  font-size: 180px;
  font-weight: var(--fw-bold);
  line-height: 1;
  color: var(--color-white);
  opacity: 0.08;
  user-select: none;
}
.page-404__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h1);
  color: var(--color-white);
  margin-top: -60px;
  margin-bottom: 20px;
}
.page-404__text {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  color: var(--color-white-60);
  line-height: var(--lh-relaxed);
  margin-bottom: 40px;
}
.page-404__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.page-404__link {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  color: var(--color-white-60);
  text-decoration: none;
  transition: color 0.2s;
}
.page-404__link:hover {
  color: var(--color-white);
}

/* Single Service */
.single-service {
  padding: 60px 0 80px;
}
.single-service__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}
.single-service__body {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  line-height: 1.8;
  color: var(--color-white-60);
}
.single-service__body h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--color-white);
  margin: 40px 0 16px;
}
.single-service__body h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-white);
  margin: 28px 0 12px;
}
.single-service__body p { margin-bottom: 16px; }
.single-service__body ul,
.single-service__body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.single-service__body li { margin-bottom: 8px; }
.single-service__body .btn { margin-top: 32px; }
.single-service__price {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  color: var(--color-cream);
  margin-top: 12px;
}
.single-service__sidebar {
  position: sticky;
  top: 100px;
}
.single-service__sidebar-price {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  color: var(--color-cream);
  margin: 12px 0;
}

/* CTA Section */
.services_cta {
  background: linear-gradient(135deg, var(--block-gradient-dark) 0%, var(--block-gradient-light) 100%);
  padding-top: 80px;
  padding-bottom: 80px;
}

.services_cta__inner {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.services_cta__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.services_cta__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: #FFFFFF15;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: var(--color-cream);
}

.services_cta__tag svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.services_cta__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: var(--fw-bold);
  color: var(--color-cream);
  line-height: 1.2;
}

.services_cta__desc {
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  color: #FFFFFF99;
  line-height: 1.6;
  max-width: 480px;
}

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

.services_cta__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-cream);
}

.services_cta__check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-cream);
}

/* Form card */
.services_cta__form-card {
  width: 520px;
  flex-shrink: 0;
  padding: 40px;
  border-radius: 24px;
  background-color: #FFFFFF0D;
  border: 1px solid #FFFFFF1A;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services_cta__form-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: var(--fw-bold);
  color: var(--color-cream);
}

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

/* Form fields */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: var(--fw-medium);
  color: #FFFFFF80;
}

.form-field__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  background-color: #FFFFFF0F;
  border: 1px solid #FFFFFF20;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-white);
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field__input::placeholder {
  color: #FFFFFF40;
}

.form-field__input:focus {
  border-color: #A262D260;
}

.form-field__input--textarea {
  height: 88px;
  padding: 12px 16px;
  resize: vertical;
}

.services_cta__form-note {
  font-family: var(--font-body);
  font-size: 12px;
  color: #FFFFFF40;
  text-align: center;
  line-height: 1.5;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

/* Hero */
.about_hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  padding: 0;
}

.about_hero__bg {
  position: absolute;
  inset: 0;
}

.about_hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about_hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #160126 0%, #5e248a05 100%);
}

.about_hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 90px 56px 120px;
  gap: 24px;
}

.about_hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about_hero__breadcrumb a {
  color: #FFFFFF50;
  font-family: var(--font-body);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.about_hero__breadcrumb a:hover { color: var(--color-white); }

.about_hero__breadcrumb span { color: #FFFFFF25; font-size: 14px; }

.about_hero__breadcrumb-current {
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.about_hero__title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.15;
  max-width: 860px;
  margin: 0;
}

.about_hero__subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: #FFFFFF65;
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

/* Author Section */
.about_author {
  padding-top: 72px;
  padding-bottom: 72px;
  border-bottom: 1px solid #FFFFFF0F;
}

.about_author__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about_author__photo {
  width: 600px;
  height: 686px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
}

.about_author__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about_author__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about_author__label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about_author__label-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-purple);
  border-radius: 2px;
  flex-shrink: 0;
}

.about_author__label-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: 2px;
}

.about_author__name {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-cream);
  line-height: 1.1;
  margin: 0;
}

.about_author__role {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-purple);
  margin: 0;
}

.about_author__bio {
  font-family: var(--font-body);
  font-size: 16px;
  color: #FFFFFF75;
  line-height: 1.8;
  margin: 0;
}

/* Stats Section */
.about_stats {
  background: var(--block-gradient-dark);
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid #FFFFFF0F;
  border-bottom: 1px solid #FFFFFF0F;
}

.about_stats__inner {
  display: flex;
  align-items: center;
}

.about_stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  border-right: 1px solid #FFFFFF15;
}

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

.about_stats__num {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 400;
  color: var(--color-cream);
}

.about_stats__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFF60;
  text-align: center;
}

/* Content Area */
.about_content {
  padding-top: 72px;
  padding-bottom: 72px;
}

.about_content__inner {
  display: flex;
  gap: 48px;
}

.about_content__left {
  flex: 0 0 660px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about_content__right {
  flex: 1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 600px;
}

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

.about_content__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000000d9 0%, transparent 60%);
  opacity: 0.6;
}

/* Story / Education Block */
.about_block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about_block__label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about_block__line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-purple);
  border-radius: 2px;
  flex-shrink: 0;
}

.about_block__tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-purple);
  letter-spacing: 2px;
}

.about_block__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.3;
  margin: 0;
}

.about_block__body {
  font-family: var(--font-body);
  font-size: 16px;
  color: #FFFFFF75;
  line-height: 1.8;
  margin: 0;
}

/* Quote */
.about_quote {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5D238930 0%, #15012540 100%);
  border: 1px solid #A262D230;
}

.about_quote__accent {
  display: block;
  width: 3px;
  height: 80px;
  background: var(--color-purple);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}

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

.about_quote__text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.5;
  margin: 0;
}

.about_quote__author {
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFF50;
}

/* ---------------------------------------------------------
   Services page — адаптив 1024px
   --------------------------------------------------------- */
@media (max-width: 1024px) {

  .services_hero { padding-top: 48px; padding-bottom: 48px; }
  .services_hero__title { font-size: 56px; }
  .services_hero__row { gap: 24px; }
  .services_hero__stats { gap: 24px; }

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

/* ---------------------------------------------------------
   Services page — адаптив 768px
   --------------------------------------------------------- */
@media (max-width: 768px) {

  /* Hero */
  .services_hero { padding-top: 36px; padding-bottom: 36px; }
  .services_hero__row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .services_hero__title { font-size: 42px; }
  .services_hero__desc { font-size: 15px; }
  .services_hero__stats { gap: 20px; }
  .services_hero__stat-num { font-size: 30px; }

  /* List header */
  .services_list { padding-top: 48px; padding-bottom: 48px; }
  .services_list__header { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Grid */
  .services_grid { grid-template-columns: 1fr; }

  /* Card */
  .service-card { padding: 28px 24px; }
  .service-card__title { font-size: 20px; }
  .service-card__price { font-size: 24px; }
}

/* ---------------------------------------------------------
   Blog Post page — адаптив 1024px
   --------------------------------------------------------- */
@media (max-width: 1024px) {

  .post_hero { height: 480px; }
  .post_hero__title { font-size: 40px; }

  .post_body__inner { gap: 48px; }
  .post_sidebar { width: 300px; }
}

/* ---------------------------------------------------------
   Blog Post page — адаптив 768px
   --------------------------------------------------------- */
@media (max-width: 768px) {

  /* Hero */
  .post_hero { height: 380px; }
  .post_hero__content { padding-bottom: 36px; }
  .post_hero__title { font-size: 28px; max-width: 100%; }
  .post_hero__breadcrumb { margin-bottom: 12px; }
  .post_hero__meta { margin-bottom: 12px; }

  /* Body */
  .post_body { padding-top: 40px; padding-bottom: 48px; }
  .post_body__inner { flex-direction: column; gap: 48px; }

  /* Article */
  .post_article__block h2 { font-size: 24px; }
  .post_article__lead { font-size: 17px; }

  .post_article__cta {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .post_article__cta-text h3 { font-size: 20px; }

  /* Sidebar */
  .post_sidebar {
    width: 100%;
    position: static;
  }

  /* More section */
  .post_more { padding-top: 48px; padding-bottom: 48px; }
}

/* ---------------------------------------------------------
   Blog page — адаптив 1024px
   --------------------------------------------------------- */
@media (max-width: 1024px) {

  .blog_hero__title { font-size: 60px; }

  .featured-card { height: auto; flex-direction: column; }
  .featured-card__image { width: 100%; height: 300px; }
  .featured-card__body { padding: 32px; }
  .featured-card__title { font-size: 28px; }

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

/* ---------------------------------------------------------
   Blog page — адаптив 768px
   --------------------------------------------------------- */
@media (max-width: 768px) {

  .blog_hero { padding-top: 50px; padding-bottom: 40px; }
  .blog_hero__title { font-size: 48px; }
  .blog_hero__subtitle { font-size: 15px; }
  .blog_hero__filters { flex-wrap: wrap; justify-content: center; }

  .blog_content { padding-top: 40px; padding-bottom: 60px; }

  .featured-card { flex-direction: column; height: auto; }
  .featured-card__image { width: 100%; height: 240px; }
  .featured-card__body { padding: 24px; gap: 16px; }
  .featured-card__title { font-size: 24px; }

  .blog_grid { grid-template-columns: 1fr; }
  .blog_grid-section__title { font-size: 26px; }
}

/* ---------------------------------------------------------
   About page — адаптив 1024px
   --------------------------------------------------------- */
@media (max-width: 1024px) {

  .about_hero__content { padding: 48px 60px 48px 60px; }
  .about_hero__title { font-size: 44px; }

  .about_author__photo { width: 420px; height: 500px; }
  .about_author__inner { gap: 48px; }

  .about_content__left { flex: 0 0 480px; }

  .services_cta__form-card { width: 440px; }
  .services_cta__inner { gap: 40px; }
  .services_cta__title { font-size: 34px; }
}

/* ---------------------------------------------------------
   About page — адаптив 768px
   --------------------------------------------------------- */
@media (max-width: 768px) {

  /* Hero */
  .about_hero { height: 500px; }
  .about_hero__content { padding: 80px 20px 36px; }
  .about_hero__title { font-size: 36px; }
  .about_hero__subtitle { font-size: 15px; }

  /* Author */
  .about_author { padding-top: 48px; padding-bottom: 48px; }
  .about_author__inner { flex-direction: column; gap: 32px; }
  .about_author__photo { width: 100%; height: 360px; }
  .about_author__name { font-size: 32px; }

  /* Stats */
  .about_stats__inner { flex-wrap: wrap; }
  .about_stats__item {
    flex: 0 0 50%;
    border-right: none;
    border-bottom: 1px solid #FFFFFF15;
    padding: 24px 20px;
  }
  .about_stats__item:nth-child(odd)  { border-right: 1px solid #FFFFFF15; }
  .about_stats__item:nth-child(3),
  .about_stats__item:nth-child(4)    { border-bottom: none; }
  .about_stats__num { font-size: 40px; }

  /* Content */
  .about_content { padding-top: 48px; padding-bottom: 48px; }
  .about_content__inner { flex-direction: column; gap: 40px; }
  .about_content__left { flex: unset; width: 100%; }
  .about_content__right { min-height: 320px; }
  .about_block__title { font-size: 28px; }

  /* Quote */
  .about_quote { padding: 24px 20px; gap: 16px; }
  .about_quote__text { font-size: 18px; }

  /* CTA */
  .services_cta { padding-top: 48px; padding-bottom: 48px; }
  .services_cta__inner { flex-direction: column; gap: 40px; }
  .services_cta__form-card { width: 100%; padding: 28px 20px; }
  .services_cta__title { font-size: 30px; }
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

/* ---------------------------------------------------------
   Бургер + Мобильное меню
   --------------------------------------------------------- */
.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 100px 40px 60px;
}

.mobile-menu.is-open { display: flex; }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: var(--fw-normal);
  color: var(--color-white);
  transition: opacity 0.2s;
}

.mobile-menu__link:hover { opacity: 0.7; }

.mobile-menu__phone {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

.mobile-menu__btn { width: 100%; max-width: 320px; text-align: center; }

/* ---------------------------------------------------------
   1024px — планшет горизонтальный
   --------------------------------------------------------- */
@media (max-width: 1024px) {

  /* Header */
  .header__nav,
  .header__phone { display: none; }
  .header__burger { display: flex; }
  .header__right .btn--sm { display: none; }

  /* Hero */
  .hero__photo { width: 680px; }
  .hero__bg-img { width: 900px; }
  .hero_block .container { padding-top: 160px; padding-bottom: 120px; }

  /* Value */
  .value-card { width: 340px; padding: 28px 28px 28px 40px; }
  .value-card__title { font-size: 20px; }

  /* Process */
  .process-step { width: calc(60% - 15px); }

  /* About banner */
  .about-banner__title { font-size: 40px; }
  .about-banner__text { font-size: 17px; }

  /* Services */
  .services-list__name { font-size: 34px; }
  .services-list__price { font-size: 26px; }

  /* Docs */
  .docs-section__card { width: 300px; }

  /* Footer */
  .footer__nav { flex-wrap: wrap; justify-content: center; }
  .footer__legal { flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

  /* Video bar */
  .video-player__title { font-size: 20px; }
  .video-player__bar { height: 70px; padding: 0 24px; }

  /* Contact form */
  .contact-form__input { width: 300px; }
}

/* ---------------------------------------------------------
   768px — планшет портретный / большой мобильный
   --------------------------------------------------------- */
@media (max-width: 768px) {

  :root {
    --section-padding-x: 20px;
  }

  /* Hero */
  .hero__photo { display: block; }
  .hero__overlay { display: none; }
  .hero__bg-img { top: -200px; }
  .hero__vector,
  .about-banner__vector {
    left: calc(50% - 400px);
    min-width: 800px;
  }
  .hero_block .container {
    padding-top: 120px;
    padding-bottom: 160px;
    min-height: auto;
  }
  .hero__content { max-width: 100%; }
  .hero__glow { width: 800px; height: 800px; }

  /* Value section */
  .value-row { flex-direction: column; align-items: center; gap: 16px; }
  .value-card {
    width: 100%;
    max-width: 500px;
  }
  .value-card--tr,
  .value-card--br { border-radius: 0 40px 40px 40px; }
  .value-card--tr .value-card__star,
  .value-card--br .value-card__star { left: -15px; right: auto; }

  /* Process */
  .process-step { width: 100%; padding-left: 0; }
  .process-step__num { width: 90px; height: 90px; }
  .process-step__num span { font-size: 44px; }
  .process-col--right { margin-top: 0; }

  /* About banner */
  .about-banner .container { padding-bottom: 140px; }
  .about-banner__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 40px;
    padding: 40px 30px;
    gap: 24px;
  }
  .about-banner__photo-wrap { width: 160px; height: 160px; }
  .about-banner__btn { align-self: center; }

  /* Services */
  .services-list__item { height: auto; min-height: 100px; padding: 20px 24px; flex-wrap: wrap; gap: 12px; }
  .services-list__name { font-size: 24px; flex: 1 1 100%; }
  .services-list__price { font-size: 20px; }
  .services-section__title { font-size: 48px; }

  /* Docs */
  .docs-section__cards {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .docs-section__cards::-webkit-scrollbar { display: none; }
  .docs-section__card { width: 260px; flex-shrink: 0; }

  /* Video player */
  .video-player__play { width: 100px; height: 100px; }
  .video-player__play svg { width: 50px; height: 50px; }
  .video-player__bar {
    width: calc(100% - 40px);
    height: 60px;
    padding: 0 16px;
    bottom: 16px;
  }
  .video-player__title { font-size: 14px; }
  .video-player__time { font-size: 14px; }

  /* FAQ */
  .faq__header { padding: 0 24px; min-height: 90px; }
  .faq__question { font-size: 22px; }
  .faq__mark { font-size: 34px; }
  .faq__body { padding: 0 24px; }

  /* Contact form */
  .contact-form__inner {
    flex-direction: column;
    height: auto;
    border-radius: 40px;
    padding: 20px;
    gap: 12px;
    align-items: stretch;
  }
  .contact-form__input {
    width: 100%;
    flex-shrink: unset;
  }
  .contact-form__btn {
    width: 100%;
    margin-left: 0;
    height: 60px;
  }

  /* Bottom block */
  .bottom-block .container { gap: 50px; }
  .video-player-wrap { margin-top: -60px; }

  /* Footer */
  footer { padding: 40px var(--section-padding-x) 32px; }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 28px;
  }

  .footer__brand { flex-direction: column; align-items: flex-start; }

  .footer__contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 24px 0;
    justify-content: flex-start;
  }

  .footer__nav a { white-space: normal; font-size: 15px; }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: 24px;
  }

  .footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer__legal a { white-space: normal; font-size: 14px; }
}

/* ---------------------------------------------------------
   480px — мобильный
   --------------------------------------------------------- */
@media (max-width: 480px) {

  /* Hero */
  .hero_block .container { padding-top: 100px; }
  .hero__btn { padding: 16px 24px; font-size: 16px; }

  /* Value cards */
  .value-card { padding: 24px 24px 24px 36px; }

  /* Process */
  .process-step__title { font-size: 26px; }
  .process-step__text { font-size: 17px; }
  .process-step__num { width: 90px; height: 90px; }
  .process-step__num span { font-size: 60px; }
  .process-step { padding-top: 45px; padding-left: 45px; }

  /* About banner */
  .about-banner__title { font-size: 32px; }
  .about-banner__text { font-size: 16px; }

  /* Services */
  .services-list__name { font-size: 20px; }
  .services-list__btn { display: none; }

  /* Docs */
  .docs-section__card { width: 220px; }

  /* Bottom block title */
  .bottom-block__title { font-size: 36px; }

  /* FAQ */
  .faq__question { font-size: 18px; }
}
