/* ═══════════════════════════════════════════
   CHISTOPITANIE.RU — ОСНОВНЫЕ СТИЛИ
   Версия: 1.3.0 — CTA с фото, бейджи ок
   
   Палитра:
   Лаванда:     #B8A9D1 / #E6DFF0
   Фиолетовый:  #6B3FA0
   Черничный:    #2D1B4E
   Золото:       #D4A843 / #C9A84C
   Фуксия:      #C2185B
   Белый:        #FFFFFF
   Тёплый серый: #4A4A4A
═══════════════════════════════════════════ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #4A4A4A;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

ul, ol {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #2D1B4E;
    line-height: 1.25;
    font-weight: 600;
}

h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(24px, 4vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 26px); }
h4 { font-size: clamp(18px, 2.5vw, 22px); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* --- CONTAINER --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* --- SECTION --- */
.section {
    padding: 80px 0;
    overflow: visible;
}

.section--lavender {
    background-color: #F3EFF8;
    overflow: visible;
}

.section--light {
    background-color: #FAFAFE;
}

.section__title {
    text-align: center;
    margin-bottom: 48px;
    color: #2D1B4E;
    position: relative;
}

.section__title--left {
    text-align: left;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #D4A843, #C9A84C);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section__title--left::after {
    margin-left: 0;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, #C2185B, #D81B60);
    color: #FFFFFF;
    border-color: #C2185B;
    box-shadow: 0 4px 15px rgba(194, 24, 91, 0.3);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #AD1457, #C2185B);
    box-shadow: 0 6px 25px rgba(194, 24, 91, 0.4);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: #6B3FA0;
    border-color: #6B3FA0;
}

.btn--outline:hover {
    background: #6B3FA0;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 63, 160, 0.3);
}

.btn--outline-light {
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn--lg {
    padding: 18px 40px;
    font-size: 16px;
}

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

.link--gold {
    color: #D4A843;
    font-weight: 600;
    border-bottom: 1px solid rgba(212, 168, 67, 0.3);
    transition: all 0.3s ease;
}

.link--gold:hover {
    color: #C9A84C;
    border-bottom-color: #C9A84C;
}

/* ═══════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2D1B4E;
    color: #FFFFFF;
    padding: 16px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__inner p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-banner__inner a {
    color: #D4A843;
    text-decoration: underline;
}

.cookie-banner__btn {
    background: #D4A843;
    color: #2D1B4E;
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-banner__btn:hover {
    background: #C9A84C;
    transform: scale(1.05);
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 169, 209, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 30px rgba(45, 27, 78, 0.08);
}

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

.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 10000;
    position: relative;
}

.header__logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header__logo:hover .header__logo-img {
    transform: scale(1.05);
}

.header__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: #2D1B4E;
}

.header__logo-accent {
    color: #6B3FA0;
}

.header__nav {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 1024px) {
    .header__nav { display: flex; }
}

.header__link {
    font-size: 14px;
    font-weight: 500;
    color: #4A4A4A;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6B3FA0, #D4A843);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.header__link:hover,
.header__link--active {
    color: #6B3FA0;
}

.header__link:hover::after,
.header__link--active::after {
    width: 100%;
}

.header__cta {
    display: none;
    padding: 10px 24px;
    background: linear-gradient(135deg, #6B3FA0, #7E57C2);
    color: #FFFFFF;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .header__cta { display: inline-flex; }
}

.header__cta:hover {
    background: linear-gradient(135deg, #5E35B1, #6B3FA0);
    box-shadow: 0 4px 15px rgba(107, 63, 160, 0.3);
    transform: translateY(-1px);
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10000;
    position: relative;
    padding: 4px;
}

@media (min-width: 1024px) {
    .header__burger { display: none; }
}

.header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2D1B4E;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.header__burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header__burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    flex-grow: 1;
    justify-content: center;
}

.mobile-menu__link {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #2D1B4E;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
}

.mobile-menu__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #D4A843;
    transition: width 0.3s ease;
}

.mobile-menu__link:hover::after,
.mobile-menu__link--active::after {
    width: 100%;
}

.mobile-menu__link--active {
    color: #6B3FA0;
}

.mobile-menu__cta {
    flex-shrink: 0;
    margin-bottom: 40px;
    margin-top: 24px;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/Olesya_bg.webp');
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
}

.hero__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 140px 0 160px;
  width: 100%;
}

.hero__content {
  max-width: 680px;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

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

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__trust-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #D4A843;
}

.hero__trust-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.hero__trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  overflow: hidden;
}

.hero__wave svg {
  width: 100%;
  height: 150px;
  display: block;
}

/* ═══════════════════════════════════════════
   DESKTOP HERO OVERLAY
═══════════════════════════════════════════ */

@media (min-width: 769px) {
  .hero__bg-overlay {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.66) 28%,
      rgba(0, 0, 0, 0.34) 52%,
      rgba(0, 0, 0, 0.10) 68%,
      transparent 80%
    );
  }
}

/* ═══════════════════════════════════════════
   MOBILE HERO
═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 72px;
  }

  .hero__bg-image {
    background-image: url('../img/Olesya_bg_mobile.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }

  .hero__bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(18, 18, 24, 0.36) 0%,
      rgba(18, 18, 24, 0.22) 16%,
      rgba(18, 18, 24, 0.10) 30%,
      rgba(18, 18, 24, 0.00) 44%
    );
  }

  .hero__inner {
    align-items: flex-start;
    padding: 28px 0 110px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    margin-bottom: 16px;
  }

  .hero__subtitle {
    margin-bottom: 24px;
  }

  .hero__buttons {
    margin-bottom: 28px;
  }
}
/* ═══════════════════════════════════════════
   FOR WHOM
═══════════════════════════════════════════ */
.for-whom__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .for-whom__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .for-whom__grid { grid-template-columns: 1fr 1fr 1fr; }
}

.for-whom__card {
    background: #FFFFFF;
    border: 1px solid rgba(184, 169, 209, 0.2);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.for-whom__card:hover {
    border-color: rgba(212, 168, 67, 0.4);
    box-shadow: 0 8px 30px rgba(107, 63, 160, 0.08);
    transform: translateY(-4px);
}

.for-whom__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F3EFF8, #E6DFF0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.for-whom__text {
    font-size: 15px;
    line-height: 1.5;
    color: #2D1B4E;
    font-weight: 500;
    margin: 0;
}

.for-whom__cta {
    text-align: center;
}

/* ═══════════════════════════════════════════
   STEPS
═══════════════════════════════════════════ */
.steps__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .steps__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.steps__card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 52px 32px 40px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(184, 169, 209, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.steps__card:hover {
    box-shadow: 0 12px 40px rgba(107, 63, 160, 0.1);
    transform: translateY(-6px);
}

.steps__number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A843, #C9A84C);
    color: #FFFFFF;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.3);
    margin: 0 auto 16px;
}

.steps__icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.steps__title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2D1B4E;
}

.steps__text {
    font-size: 15px;
    color: #4A4A4A;
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════
   ABOUT SHORT
═══════════════════════════════════════════ */
.about-short__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-short__inner { grid-template-columns: 300px 1fr; gap: 60px; }
}

.about-short__photo {
    display: flex;
    justify-content: center;
    position: relative;
}

.about-short__photo-frame {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E6DFF0, #F3EFF8);
    border: 3px solid rgba(212, 168, 67, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-short__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
}

.about-short__photo-decoration {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(212, 168, 67, 0.1);
    z-index: -1;
}

.about-short__lead {
    font-size: 18px;
    font-weight: 500;
    color: #2D1B4E;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-short__text {
    font-size: 16px;
    color: #4A4A4A;
    line-height: 1.7;
}

.about-short__btn {
    margin-top: 24px;
}

/* ═══════════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════════ */
.products__group {
    margin-bottom: 48px;
    overflow: visible;
}

.products__group:last-child {
    margin-bottom: 0;
}

.products__group-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    overflow: visible;
}

.products__group-badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.products__group-badge--free {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    color: #2E7D32;
}

.products__group-badge--premium {
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    color: #F57F17;
}

.products__group-title {
    font-size: 22px;
    margin: 0;
}

.products__free-card {
    background: #FFFFFF;
    border: 2px dashed rgba(107, 63, 160, 0.2);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.products__free-content h4 {
    font-size: 20px;
    margin-bottom: 8px;
}

.products__free-content p {
    color: #4A4A4A;
    margin: 0;
}

.products__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    overflow: visible;
    padding-top: 20px;
}

@media (min-width: 640px) {
    .products__grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .products__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(184, 169, 209, 0.2);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

.product-card:hover {
    border-color: rgba(107, 63, 160, 0.3);
    box-shadow: 0 12px 40px rgba(107, 63, 160, 0.1);
    transform: translateY(-6px);
}

.product-card--featured {
    border-color: #6B3FA0;
    box-shadow: 0 8px 30px rgba(107, 63, 160, 0.12);
}

.product-card--featured:hover {
    border-color: #6B3FA0;
    box-shadow: 0 16px 50px rgba(107, 63, 160, 0.18);
}

.product-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6B3FA0, #7E57C2);
    color: #FFFFFF;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(107, 63, 160, 0.3);
    z-index: 10;
    line-height: 1;
}

.product-card__header {
    margin-bottom: 20px;
}

.product-card__name {
    font-size: 22px;
    margin-bottom: 6px;
}

.product-card__desc {
    font-size: 14px;
    color: #6B6B6B;
    margin: 0;
}

.product-card__price {
    margin-bottom: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.product-card__from {
    font-size: 14px;
    color: #6B6B6B;
}

.product-card__amount {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #2D1B4E;
}

.product-card__period {
    font-size: 14px;
    color: #6B6B6B;
}

.product-card__features {
    margin-bottom: 28px;
    flex-grow: 1;
}

.product-card__features li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 14px;
    color: #4A4A4A;
    border-bottom: 1px solid rgba(184, 169, 209, 0.1);
}

.product-card__features li:last-child {
    border-bottom: none;
}

.product-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D4A843, #C9A84C);
}

.products__help {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS SLIDER (СТАБИЛЬНЫЙ)
═══════════════════════════════════════════ */
.testimonials__slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0; /* Место для теней сверху и снизу */
    margin: -20px 0;
}

.testimonials__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials__track .testimonial-card {
    width: calc(33.33333% - 16px); /* Строго 1/3 ширины минус отступы */
    flex-shrink: 0;
    margin-right: 24px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid rgba(184, 169, 209, 0.15);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.testimonials__track .testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(107, 63, 160, 0.08);
    transform: translateY(-4px);
}

.testimonial-card__stars { color: #D4A843; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card__quote { font-size: 15px; line-height: 1.7; color: #4A4A4A; font-style: italic; margin-bottom: 20px; flex-grow: 1; position: relative; padding-left: 16px; border-left: 3px solid #E6DFF0; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #E6DFF0, #B8A9D1); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; color: #6B3FA0; font-size: 18px; flex-shrink: 0; }
.testimonial-card__name { display: block; font-weight: 600; color: #2D1B4E; font-size: 15px; }
.testimonial-card__city { display: block; font-size: 13px; color: #6B6B6B; }
.testimonial-card__result { background: #F3EFF8; border-radius: 8px; padding: 10px 16px; display: flex; align-items: center; gap: 8px; margin-top: 16px; margin-bottom: 0; }
.testimonial-card__result-label { font-size: 13px; color: #6B6B6B; }
.testimonial-card__result-value { font-weight: 700; color: #6B3FA0; font-size: 15px; }

/* Навигация */
.testimonials__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.testimonials__arrow { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(184, 169, 209, 0.3); background: #FFFFFF; color: #6B3FA0; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.testimonials__arrow:hover { background: #6B3FA0; color: #FFFFFF; border-color: #6B3FA0; transform: scale(1.1); }
.testimonials__dots { display: flex; gap: 8px; }
.testimonials__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(184, 169, 209, 0.3); border: none; cursor: pointer; transition: all 0.3s ease; padding: 0; }
.testimonials__dot.is-active { background: linear-gradient(135deg, #6B3FA0, #7E57C2); transform: scale(1.3); }

@media (max-width: 960px) {
    .testimonials__track .testimonial-card { width: calc(50% - 12px); }
}
@media (max-width: 640px) {
    .testimonials__track .testimonial-card { width: 100%; margin-right: 0; }
}

/* ═══════════════════════════════════════════
   BLOG PREVIEW
═══════════════════════════════════════════ */
.blog-preview__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .blog-preview__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .blog-preview__grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(184, 169, 209, 0.15);
    transition: all 0.4s ease;
}

.blog-card:hover {
    box-shadow: 0 12px 40px rgba(107, 63, 160, 0.08);
    transform: translateY(-4px);
}

.blog-card__image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #F3EFF8, #E6DFF0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card__image-placeholder {
    opacity: 0.4;
}

.blog-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(107, 63, 160, 0.9);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card__content {
    padding: 24px;
}

.blog-card__title {
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #2D1B4E;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card__excerpt {
    font-size: 14px;
    color: #6B6B6B;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card__link {
    font-size: 14px;
    font-weight: 600;
    color: #6B3FA0;
    transition: color 0.3s ease;
}

.blog-card__link:hover {
    color: #D4A843;
}

.blog-preview__cta {
    text-align: center;
    margin-top: 40px;
}

/* ═══════════════════════════════════════════
   CTA GUIDE
═══════════════════════════════════════════ */
.cta-guide {
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    background: #E6DFF0;
}

.cta-guide::before {
    content: '';
    position: absolute;
    inset: -20% 0;
    background: url('../img/Olesya_bg2.webp') center center / cover no-repeat;
    will-change: transform;
    z-index: 0;
    transform: translateY(var(--parallax-y, 0));
}

.cta-guide__inner {
    border-radius: 28px;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 20px;
    background: rgba(107, 63, 160, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px rgba(45, 27, 78, 0.3);
}

@media (min-width: 768px) {
    .cta-guide__inner { padding: 90px 80px; margin: 0; }
}

.cta-guide__decoration {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
}

.cta-guide__butterfly {
    width: 72px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: brightness(3) saturate(0);
    opacity: 0.7;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-guide__title {
    color: #FFFFFF;
    margin-bottom: 16px;
}

.cta-guide__title::after {
    background: rgba(212, 168, 67, 0.6);
}

.cta-guide__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-guide__btn {
    position: relative;
    z-index: 1;
}


/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    background: #2D1B4E;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

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

.footer__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.footer__logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
}

.footer__logo-accent {
    color: #B8A9D1;
}

.footer__desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 280px;
}

.footer__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

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

.footer__nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer__nav a:hover {
    color: #D4A843;
    padding-left: 4px;
}

.footer__social-links {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer__social-link svg {
    fill: #FFFFFF;
    width: 24px;
    height: 24px;
}

.footer__social-link .footer__social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer__social-link:hover {
    background: #D4A843;
    color: #2D1B4E;
    transform: translateY(-3px);
}

.footer__social-link:hover svg {
    fill: #2D1B4E;
}

.footer__social-link:hover .footer__social-icon {
    filter: brightness(0) saturate(100%) invert(9%) sepia(12%) saturate(7484%) hue-rotate(232deg) brightness(93%) contrast(107%);
}

.footer__bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__legal p {
    font-size: 13px;
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
}

.footer__legal-links {
    display: flex;
    gap: 24px;
}

.footer__legal-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.footer__legal-links a:hover {
    color: #D4A843;
}

/* ═══════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B3FA0, #7E57C2);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(107, 63, 160, 0.3);
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: linear-gradient(135deg, #5E35B1, #6B3FA0);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
.anim-fade-up,
.anim-fade-right {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.anim-fade-up {
    transform: translateY(30px);
}

.anim-fade-right {
    transform: translateX(-30px);
}

.anim-fade-up.is-visible,
.anim-fade-right.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET & MOBILE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        align-items: center;
    }

    .hero__bg-image {
        background-attachment: scroll;
    }

    .hero__inner {
        padding: 90px 0 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero__content {
        max-width: 100%;
        text-align: center;
    }

    .hero__title {
        font-size: clamp(24px, 6.5vw, 32px);
        margin-bottom: 12px;
    }

    .hero__subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 28px;
    }

    .hero__buttons .btn,
    .hero__buttons .btn--outline-light {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .hero__bg-overlay {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 15%,
            rgba(0, 0, 0, 0.1) 30%,
            rgba(0, 0, 0, 0.45) 50%,
            rgba(0, 0, 0, 0.65) 65%,
            rgba(0, 0, 0, 0.75) 100%
        );
    }

    .hero__bg-image {
        background-position: 55% top;
    }

    .hero__trust {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;
        width: 100%;
        margin-bottom: 16px;
    }

    .hero__trust-divider {
        display: none;
    }

    .hero__trust-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 4px;
        background: rgba(107, 63, 160, 0.85);
        border-radius: 14px;
        padding: 14px 6px;
    }

    .hero__trust-number {
        font-size: 20px;
        font-weight: 700;
        color: #FFFFFF !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        -webkit-text-fill-color: #FFFFFF !important;
        background-clip: unset !important;
    }

    .hero__trust-text {
        font-size: 10px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.3;
    }

    .hero__wave svg {
        height: 60px;
    }

    .about-short__inner {
        text-align: center;
    }

    .about-short__photo-frame {
        width: 180px;
        height: 180px;
    }

    .section__title--left {
        text-align: center;
    }

    .section__title--left::after {
        margin-left: auto;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 48px 0;
    }

    .section__title {
        margin-bottom: 28px;
    }

    .container {
        padding: 0 16px;
    }

    .for-whom__card {
        padding: 18px 14px;
        gap: 12px;
    }

    .for-whom__icon {
        width: 40px;
        height: 40px;
    }

    .for-whom__text {
        font-size: 14px;
    }

    .steps__card {
        padding: 28px 18px;
    }

    .steps__title {
        font-size: 17px;
    }

    .steps__text {
        font-size: 14px;
    }

    .about-short__lead {
        font-size: 15px;
    }

    .about-short__text {
        font-size: 14px;
    }

    .product-card {
        padding: 24px 18px;
    }

    .product-card__name {
        font-size: 19px;
    }

    .product-card__amount {
        font-size: 26px;
    }

    .products__free-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }

    .testimonial-card {
        padding: 20px 16px;
    }

    .testimonial-card__quote {
        font-size: 14px;
    }

    .blog-card__image {
        height: 150px;
    }

    .blog-card__content {
        padding: 18px 14px;
    }

    .blog-card__title {
        font-size: 15px;
    }

    .cta-guide {
        padding: 48px 0 60px;
    }

    .cta-guide__inner {
        padding: 36px 18px;
        border-radius: 16px;
        margin: 0 8px;
    }

    .cta-guide__text {
        font-size: 15px;
    }

    .cta-guide__butterfly {
        width: 52px;
    }

    .footer {
        padding: 36px 0 0;
        text-align: center;
    }

    .footer__inner {
        gap: 32px;
        padding-bottom: 32px;
    }

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

    .footer__logo {
        justify-content: center;
    }

    .footer__desc {
        max-width: 100%;
        text-align: center;
    }

    .footer__heading {
        text-align: center;
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer__nav ul {
        align-items: center;
        gap: 8px;
    }

    .footer__nav a:hover {
        padding-left: 0;
    }

    .footer__social-links {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer__legal-links {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }

    .footer__social-link {
        width: 40px;
        height: 40px;
    }

    .scroll-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 380px) {
    .header__logo-text {
        font-size: 17px;
    }

    .header__logo-img {
        height: 36px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn--lg {
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero__trust {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6px;
    }

    .hero__trust-item {
        padding: 10px 4px;
        border-radius: 10px;
    }

    .hero__trust-number {
        font-size: 18px;
    }

    .hero__trust-text {
        font-size: 9px;
    }

    .mobile-menu__link {
        font-size: 20px;
    }

    .mobile-menu__nav {
        gap: 16px;
    }
}
/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/Olesya_bg.webp');
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
}

.hero__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 140px 0 160px;
  width: 100%;
}

.hero__content {
  max-width: 680px;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

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

.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__trust-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #D4A843;
}

.hero__trust-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.hero__trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.hero__wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 2;
  line-height: 0;
  overflow: hidden;
}

.hero__wave svg {
  width: 100%;
  height: 150px;
  display: block;
}

/* ═══════════════════════════════════════════
   DESKTOP HERO OVERLAY
═══════════════════════════════════════════ */

@media (min-width: 769px) {
  .hero__bg-overlay {
    background: linear-gradient(
      to right,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.66) 28%,
      rgba(0, 0, 0, 0.34) 52%,
      rgba(0, 0, 0, 0.10) 68%,
      transparent 80%
    );
  }
}

/* ═══════════════════════════════════════════
   MOBILE HERO
═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .hero {
    min-height: 880px;
    align-items: flex-start;
    padding-top: 72px;
  }

  .hero__bg-image {
    background-image: url('../img/Olesya_bg_mobile.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }

  .hero__bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(18, 18, 24, 0.36) 0%,
      rgba(18, 18, 24, 0.22) 16%,
      rgba(18, 18, 24, 0.10) 30%,
      rgba(18, 18, 24, 0.00) 44%
    );
  }

  .hero__inner {
    align-items: flex-start;
    padding: 28px 0 180px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__title {
    margin-bottom: 16px;
  }

  .hero__subtitle {
    margin-bottom: 24px;
  }

  .hero__buttons {
    margin-bottom: 28px;
  }	
  .hero__trust {
    transform: translateY(220px);
  }

  .hero__inner {
    padding-bottom: 260px;
  }	
 
  /* текстовый блок */
  .hero__content {
    max-width: 360px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .hero__title {
    font-size: 32px !important;
    line-height: 1.12 !important;
    margin-bottom: 18px !important;
  }

  .hero__subtitle {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 26px !important;
  }

  /* кнопки */
  .hero__buttons {
    gap: 14px !important;
    margin-bottom: 30px !important;
  }

  .hero__buttons .btn,
  .hero__buttons a,
  .hero__buttons button {
    min-height: 64px !important;
    font-size: 17px !important;
    border-radius: 999px !important;
  }

  /* плашки */
  .hero__trust {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    justify-content: center !important;
    align-items: stretch !important;
    transform: none !important;
    margin-top: 0 !important;
  }

  .hero__trust-divider {
    display: none !important;
  }

  .hero__trust-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 16px 10px !important;
    border-radius: 20px !important;
  }

  .hero__trust-number {
    font-size: 22px !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
  }

  .hero__trust-text {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
}
}