:root {
      --bg-main: #050509;
      --bg-elevated: #0b0b11;
      --bg-card: #111119;
      --accent: #2563eb;
      --accent-soft: rgba(37, 99, 235, 0.15);
      --accent-gradient: linear-gradient(135deg, #2563eb, #6366f1);
      --text-main: #f9fafb;
      --text-muted: #9ca3af;
      --border-subtle: #1f2933;
      --radius-xl: 24px;
      --radius-lg: 16px;
      --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.55);
      --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.55);
      --transition-fast: 180ms ease-out;
      --max-width: 1120px;
    }

    * {
      box-sizing: border-box;
      /* Кастомный скроллбар для всех элементов */
      scrollbar-width: thin;
      scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
    }
    
    *::-webkit-scrollbar {
      width: 8px;
      height: 8px;
    }
    
    *::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 4px;
    }
    
    *::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.4);
      border-radius: 4px;
      border: 2px solid transparent;
      background-clip: padding-box;
      transition: background 0.2s ease;
    }
    
    *::-webkit-scrollbar-thumb:hover {
      background: rgba(148, 163, 184, 0.6);
      background-clip: padding-box;
    }
    
    *::-webkit-scrollbar-thumb:active {
      background: rgba(148, 163, 184, 0.8);
      background-clip: padding-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top, #111827 0, #020617 45%, #020308 100%);
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;
      color: var(--text-main);
      scroll-behavior: smooth;
      position: relative;
    }

    body::before {
      display: none; /* Скрываем, используем JS-элемент для параллакса */
    }

    body {
      line-height: 1.6;
    }

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

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

    .page-wrap {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 1;
    }

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

    /* Header */

    header {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(18px);
      background: linear-gradient(to bottom, rgba(5,5,9,0.96), rgba(5,5,9,0.8), transparent);
      border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }

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

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-size: 13px;
    }

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

    .logo-mark {
      display: none;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 28px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .nav-links a {
      position: relative;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 0;
      height: 2px;
      border-radius: 999px;
      background: var(--accent-gradient);
      transition: width var(--transition-fast);
    }

    .nav-links a:hover {
      color: var(--text-main);
    }

    .nav-links a:hover::after {
      width: 100%;
    }

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

    .btn {
      border-radius: 999px;
      padding: 10px 20px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.7);
      color: var(--text-main);
      font-size: 13px;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      transition: background var(--transition-fast), border-color var(--transition-fast),
                  transform var(--transition-fast), box-shadow var(--transition-fast);
    }

    .btn-primary {
      background-image: var(--accent-gradient);
      border-color: transparent;
      box-shadow: 0 18px 45px rgba(37, 99, 235, 0.55);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 26px 60px rgba(37, 99, 235, 0.7);
    }

    .btn-ghost {
      background: transparent;
    }

    .btn-ghost:hover {
      background: rgba(15,23,42,0.7);
    }

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

    .nav-toggle {
      display: none;
      width: 38px;
      height: 38px;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.6);
      background: rgba(15,23,42,0.9);
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      width: 16px;
      height: 1.5px;
      background: #e5e7eb;
      border-radius: 999px;
      display: block;
      position: relative;
      transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
    }

    .nav-toggle span::before {
      position: absolute;
      top: -5px;
    }

    .nav-toggle span::after {
      position: absolute;
      bottom: -5px;
    }

    .nav-open .nav-toggle span {
      transform: rotate(45deg);
    }
    .nav-open .nav-toggle span::before {
      top: 0;
      opacity: 0;
    }
    .nav-open .nav-toggle span::after {
      bottom: 0;
      transform: rotate(-90deg);
    }

    /* Hero */

    .hero {
      padding: 56px 0 32px;
      position: relative;
      overflow: visible; /* Разрешаем винилу выходить за пределы hero */
    }

    /* Вращающийся винил с логотипом */
    .hero-vinyl {
      position: fixed; /* Фиксированное позиционирование, чтобы винил мог выходить за пределы hero */
      top: 0px;
      left: 0px;
      width: 1500px;
      height: 1500px;
      max-width: 100vw;
      z-index: -1; /* Винил под всем контентом, но будет заходить на studio */
      pointer-events: none;
      opacity: 0.75;
      filter: blur(0px);
      /* Позиционирование устанавливается через JavaScript для точного выравнивания по центру элемента "Череповец" */
    }


    .vinyl-image {
      width: 100%;
      height: 100%;
      object-fit: contain;
      animation: vinyl-rotate 20s linear infinite;
      /* Круглая тень под винилом */
      filter: 
        drop-shadow(0 0 100px rgba(255, 0, 0, 0.7))
        drop-shadow(0 0 200px rgba(255, 0, 255, 0.6))
        drop-shadow(0 0 300px rgba(0, 0, 255, 0.6))
        blur(0.5px);
      position: relative;
      z-index: 1;
    }


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


    /* На планшетах */
    @media (max-width: 960px) {
      .hero-vinyl {
        width: 100vw;
        height: 100vw;
        top: -50vw;
        opacity: 0.2;
      }
    }

    /* На мобильных */
    @media (max-width: 720px) {
      .hero-vinyl {
        display: none; /* Скрываем винил на мобильных */
      }
    }

    /* Контент Hero должен быть поверх винила */
    .hero .container {
      position: relative;
      z-index: 1;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
      gap: 40px;
      align-items: flex-start;
    }

    .hero-pre {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 4px 10px 4px 4px;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.8);
      color: var(--text-muted);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
    }

    .hero-pre-pill {
      padding: 4px 10px;
      border-radius: 999px;
      font-weight: 600;
      background: var(--accent-gradient);
      color: #f9fafb;
    }

    h1.hero-title {
      font-size: clamp(32px, 4vw, 44px);
      line-height: 1.1;
      margin: 18px 0 8px;
      letter-spacing: -0.04em;
    }

    .hero-price-note {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 14px;
      font-weight: 400;
    }

    .hero-sub {
      color: var(--text-muted);
      max-width: 440px;
      font-size: 15px;
    }

    .hero-badges {
      margin-top: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      font-size: 12px;
    }

    .hero-badge {
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(15,23,42,0.9);
      border: 1px solid rgba(55,65,81,0.8);
      color: #e5e7eb;
    }

    .hero-cta {
      margin-top: 26px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .hero-note {
      font-size: 12px;
      color: var(--text-muted);
    }

    .hero-media {
      position: relative;
    }

    .hero-card {
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at 0 0, rgba(59,130,246,0.16), transparent 55%),
                  var(--bg-card);
      border: 1px solid rgba(31, 41, 55, 0.9);
      box-shadow: var(--shadow-card);
      padding: 0;
      overflow: hidden;
    }

    .hero-tag {
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #e5e7eb;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }

    .hero-tag span:last-child {
      font-weight: 500;
      color: #a5b4fc;
    }

    .hero-img-wrap {
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 16 / 9;
    }

    .hero-img {
      width: 100%;
      height: auto;
      object-fit: cover;
      background: radial-gradient(circle at 50% 0, #111827, #020617);
    }
    
    .hero-img-wrap iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    .hero-label {
      position: absolute;
      right: 8px;
      bottom: -18px;
      padding: 8px 14px;
      border-radius: 999px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      border: 1px solid rgba(148,163,184,0.5);
      background: rgba(15,23,42,0.92);
      color: var(--text-muted);
      backdrop-filter: blur(12px);
    }

    .hero-preview-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 16px;
    }

    .hero-preview-item {
      aspect-ratio: 16 / 9;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid rgba(31, 41, 55, 0.9);
      background: var(--bg-card);
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
    }

    .hero-preview-item:hover {
      transform: translateY(-2px);
      border-color: rgba(96,165,250,0.7);
      box-shadow: 0 8px 20px rgba(15,23,42,0.6);
    }

    .hero-preview-item.active {
      border-color: var(--accent);
      box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
    }

    .hero-preview-item iframe {
      width: 100%;
      height: 100%;
      border: none;
      pointer-events: none;
    }

    .hero-img-wrap {
      transition: opacity 0.4s ease, transform 0.4s ease;
      opacity: 1;
      transform: scale(1);
    }

    .hero-img-wrap.fade-out {
      opacity: 0;
      transform: scale(0.95);
    }

    /* Sections */

    section {
      padding: 40px 0;
      position: relative; /* Чтобы секция была поверх винила */
      z-index: 1;
    }
    
    /* Секция studio должна быть поверх винила */
    #studio {
      z-index: 2;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 24px;
      margin-bottom: 24px;
    }

    .section-kicker {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #9ca3af;
      margin-bottom: 8px;
    }

    .section-title {
      font-size: 22px;
      letter-spacing: -0.02em;
    }

    .section-desc {
      color: var(--text-muted);
      font-size: 14px;
      max-width: 360px;
    }

    /* Space cards */

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

    .space-grid .card {
      display: flex;
      flex-direction: column;
    }

    .space-grid .card-img {
      aspect-ratio: 1 / 1;
      height: auto;
      background-position: center;
      background-size: cover;
      position: relative;
      overflow: hidden;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      touch-action: pan-y pinch-zoom;
    }

    .card {
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at 0 0, rgba(59,130,246,0.16), transparent 55%),
                  var(--bg-card);
      border: 1px solid rgba(31, 41, 55, 0.9);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform var(--transition-fast), box-shadow var(--transition-fast),
                  border-color var(--transition-fast), background 220ms ease-out;
      cursor: default;
    }

    .card:hover {
      transform: translateY(-2px);
      border-color: rgba(96,165,250,0.7);
      background: radial-gradient(circle at 100% 0, rgba(129,140,248,0.16), transparent 55%),
                  var(--bg-card);
      box-shadow: 0 28px 60px rgba(15,23,42,0.9);
    }

    .card-img {
      height: 180px;
      background-position: center;
      background-size: cover;
      position: relative;
      overflow: hidden;
      /* Жесткая обрезка краев для предотвращения артефактов в 1 пиксель */
      clip-path: inset(0);
      /* Предотвращаем артефакты рендеринга */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    .card-img-carousel {
      position: relative;
      width: calc(100% + 2px);
      height: 100%;
      display: flex;
      transition: transform 0.4s ease-in-out;
      will-change: transform;
      backface-visibility: hidden;
      transform: translateZ(0);
      /* Убираем overflow: hidden отсюда, он должен быть только на родителе */
      /* Убираем возможные зазоры */
      margin: 0;
      padding: 0;
      /* Добавляем небольшое перекрытие для предотвращения артефактов */
      margin-left: -1px;
      /* Принудительное создание слоя для предотвращения артефактов */
      -webkit-transform: translateZ(0);
      -moz-transform: translateZ(0);
      -ms-transform: translateZ(0);
    }

    .card-img-slide {
      min-width: calc(100% + 1px);
      width: calc(100% + 1px);
      max-width: calc(100% + 1px);
      height: 100%;
      flex-shrink: 0;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      overflow: hidden;
      position: relative;
      backface-visibility: hidden;
      transform: translateZ(0);
      box-sizing: border-box;
      /* Предотвращаем артефакты при трансформации */
      isolation: isolate;
      /* Убираем возможные зазоры */
      margin: 0;
      padding: 0;
      /* Увеличиваем ширину на 1px для перекрытия краев и предотвращения артефактов */
    }
    
    .card-img-slide video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      backface-visibility: hidden;
      position: absolute;
      top: 0;
      left: 0;
      /* Убираем возможные артефакты рендеринга */
      transform: translateZ(0);
      will-change: transform;
    }

    /* Formats section - all cards in 9:16 format */
    .formats-grid,
    .formats-layout {
      display: none !important; /* Скрываем старую структуру */
    }

    .formats-grid .card-img {
      height: auto;
      aspect-ratio: 9/16;
      min-height: 320px;
      /* Более строгий overflow для предотвращения артефактов */
      overflow: hidden !important;
      position: relative;
      /* Создаем новый контекст наложения для изоляции */
      isolation: isolate;
    }
    
    /* Дополнительная защита для карусели в форматах */
    .formats-grid .card-img-carousel {
      /* Убеждаемся, что карусель не выходит за границы */
      width: 100%;
      max-width: 100%;
      /* Принудительное создание слоя */
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      box-sizing: border-box;
    }
    
    /* Дополнительная защита для слайдов в форматах */
    .formats-grid .card-img-slide {
      /* Убираем любые возможные зазоры */
      margin: 0;
      padding: 0;
      /* Увеличиваем ширину на 1px для перекрытия краев */
      width: calc(100% + 1px);
      min-width: calc(100% + 1px);
      max-width: calc(100% + 1px);
      /* Обрезка содержимого */
      clip-path: inset(0);
      box-sizing: border-box;
    }

    /* Стили для контейнера iframe в форматах - жесткая привязка к контейнеру */
    .formats-grid .card-img-slide > div {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding: 0 !important;
      margin: 0;
      overflow: hidden;
      backface-visibility: hidden;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      /* Разрешаем события касания для свайпов */
      touch-action: pan-y;
    }

    .formats-grid .card-img-slide > div > iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      /* Разрешаем события касания для свайпов */
      touch-action: pan-y;
      pointer-events: auto;
    }

    /* Новая структура форматов: слева видео карусель, справа список */
    .formats-new-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      margin-top: 60px;
      align-items: stretch;
    }

    .formats-media {
      position: sticky;
      top: 100px;
      height: 100%;
    }

    .formats-card {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    /* Переопределяем стили card-img для форматов - соотношение 9:16 */
    .formats-card .formats-vertical {
      height: auto !important;
      min-height: 0;
      aspect-ratio: 9 / 16;
      width: 100%;
      max-width: 100%;
      flex: 0 0 auto;
      overflow: hidden !important;
      position: relative;
      isolation: isolate;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }

    /* Карусель для форматов - защита от артефактов */
    .formats-card .card-img-carousel {
      width: 100%;
      max-width: 100%;
      height: 100%;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      gap: 0;
    }

    /* Слайды карусели форматов - выравнивание и защита от артефактов */
    .formats-card .card-img-slide {
      margin: 0;
      padding: 0;
      width: 100%;
      min-width: 100%;
      max-width: 100%;
      height: 100%;
      flex-shrink: 0;
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      overflow: hidden;
      position: relative;
      backface-visibility: hidden;
      transform: translateZ(0);
      box-sizing: border-box;
      isolation: isolate;
      clip-path: inset(0);
    }

    /* Контейнеры iframe в форматах - жесткая привязка, заполнение по формату 9:16 */
    .formats-card .card-img-slide > div {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding: 0 !important;
      margin: 0;
      overflow: hidden;
      backface-visibility: hidden;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      touch-action: pan-y;
    }

    .formats-card .card-img-slide > div > iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      backface-visibility: hidden;
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      touch-action: pan-y;
      pointer-events: auto;
    }

    .formats-card-body {
      position: relative;
      min-height: 140px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .format-text-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                  transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
      visibility: hidden;
      padding-top: 12px;
      padding-left: 20px;
      box-sizing: border-box;
    }

    .format-text-slide.active {
      position: absolute;
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      visibility: visible;
    }

    /* Стили для card-body в форматах */
    .formats-card-body {
      padding: 24px;
    }

    .formats-card-body .card-tag,
    .formats-card-body .card-title,
    .formats-card-body .card-text {
      margin: 0;
    }

    .formats-card-body .card-tag {
      margin-bottom: 8px;
    }

    .formats-card-body .card-title {
      margin-bottom: 12px;
    }

    /* Счетчик слайдов для карусели форматов */
    .carousel-slide-counter {
      position: absolute;
      top: 16px;
      right: 16px;
      background: rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(8px);
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-main);
      z-index: 10;
      border: 1px solid rgba(96, 165, 250, 0.3);
      pointer-events: none;
      opacity: 0.8;
      transition: opacity 0.3s ease;
    }

    .formats-card .card-img:hover .carousel-slide-counter {
      opacity: 1;
    }

    .carousel-slide-counter .counter-current {
      color: #60a5fa;
    }

    /* Подсказка для листания */
    .carousel-hint {
      position: absolute;
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(8px);
      padding: 8px 16px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 500;
      color: var(--text-muted);
      z-index: 10;
      border: 1px solid rgba(96, 165, 250, 0.2);
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.3s ease;
      white-space: nowrap;
    }

    .formats-card .card-img:hover .carousel-hint {
      opacity: 0.7;
    }

    /* Анимация подсказки при первом показе */
    .carousel-hint.show {
      animation: hintPulse 2s ease-in-out;
    }

    @keyframes hintPulse {
      0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
      50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
    }

    .formats-list {
      display: flex;
      flex-direction: column;
      gap: 24px;
      height: 100%;
    }

    .format-item {
      padding: 24px;
      border-radius: 16px;
      border: 1px solid rgba(31, 41, 55, 0.9);
      background: radial-gradient(circle at 0 0, rgba(59,130,246,0.16), transparent 55%),
                  var(--bg-card);
      transition: all 0.3s ease;
      cursor: pointer;
      box-shadow: var(--shadow-card);
    }

    .format-item:hover {
      background: radial-gradient(circle at 100% 0, rgba(129,140,248,0.16), transparent 55%),
                  var(--bg-card);
      border-color: rgba(96,165,250,0.7);
      box-shadow: 0 28px 60px rgba(15,23,42,0.9);
    }

    .format-item.active {
      border-color: rgba(96,165,250,0.7);
      background: radial-gradient(circle at 100% 0, rgba(129,140,248,0.2), transparent 55%),
                  var(--bg-card);
      transform: translateX(8px);
      box-shadow: 0 28px 60px rgba(15,23,42,0.9);
    }

    .format-item-subtypes {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }

    .subtype-button {
      display: inline-block;
      padding: 6px 14px;
      border-radius: 12px;
      background: rgba(96, 165, 250, 0.15);
      color: #60a5fa;
      font-size: 11px;
      font-weight: 500;
      border: 1px solid rgba(96, 165, 250, 0.3);
      cursor: pointer;
      transition: all 0.2s ease;
      font-family: inherit;
    }

    .subtype-button:hover {
      background: rgba(96, 165, 250, 0.25);
      border-color: rgba(96, 165, 250, 0.5);
      transform: translateY(-1px);
    }

    .subtype-button.active {
      background: rgba(96, 165, 250, 0.3);
      border-color: #60a5fa;
      color: #93c5fd;
      box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
    }

    /* Чтобы при загрузке страницы не мигал дефолтный текст
       \"Подкаст / Ведущий + гость\", скрываем тексты и подформаты
       до инициализации (пока body без класса formats-ready). */
    body:not(.formats-ready) #formatsTextCarousel,
    body:not(.formats-ready) .formats-list .subtype-button {
      opacity: 0;
    }

    body.formats-ready #formatsTextCarousel,
    body.formats-ready .formats-list .subtype-button {
      opacity: 1;
      transition: opacity 0.2s ease-in;
    }

    .format-item-tag {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #60a5fa;
      margin-bottom: 8px;
    }

    .format-item-title {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 12px;
    }

    .format-item-text {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-muted);
      margin: 0;
    }

    @media (max-width: 768px) {
      .formats-new-layout {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 40px;
        margin-left: -20px;
        margin-right: -20px;
        width: calc(100% + 40px);
      }

      .formats-media {
        position: static;
        width: 100%;
      }

      /* Скрываем правую панель с кнопками форматов на мобильных */
      .formats-list {
        display: none;
      }

      .format-item.active {
        transform: translateX(0);
      }
      
      /* Улучшаем отображение карусели на мобильных */
      .formats-card {
        width: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        margin: 0;
      }
      
      /* На мобильных видео и описание в одном слайде */
      .formats-card .formats-vertical {
        aspect-ratio: 9 / 16;
        flex-shrink: 0;
        border-radius: 0;
      }
      
      .formats-card-body {
        padding: 20px;
        flex-shrink: 0;
        min-height: auto;
        position: relative;
        overflow: hidden;
      }
      
      .format-text-slide {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        padding: 0;
        width: 100%;
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      }
      
      .format-text-slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
      }
    }

    /* Применяем такой же принцип для карточек "Наше пространство" */
    .space-grid .card-img {
      /* Более строгий overflow для предотвращения артефактов */
      overflow: hidden !important;
      position: relative;
      /* Создаем новый контекст наложения для изоляции */
      isolation: isolate;
    }

    /* Дополнительная защита для карусели в студийных карточках */
    .space-grid .card-img-carousel {
      /* Убеждаемся, что карусель не выходит за границы */
      width: 100%;
      max-width: 100%;
      /* Принудительное создание слоя */
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
    }

    /* Дополнительная защита для слайдов в студийных карточках */
    .space-grid .card-img-slide {
      /* Убираем любые возможные зазоры */
      margin: 0;
      padding: 0;
      /* Базовая ширина с небольшим перекрытием */
      width: calc(100% + 1px);
      min-width: calc(100% + 1px);
      max-width: calc(100% + 1px);
      /* Обрезка содержимого */
      clip-path: inset(0);
    }

    /* Для мобильной версии используем тот же метод, что и в форматах,
       чтобы исключить даже 1px смещения и "торчащий" предыдущий слайд */
    @media (max-width: 768px) {
      .space-grid .card-img-carousel {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        box-sizing: border-box;
      }

      .space-grid .card-img-slide {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
      }
    }

    .card-img[data-carousel="backstage"] {
      height: auto;
      aspect-ratio: 16/9;
      min-height: 200px;
      /* Более строгий overflow для предотвращения артефактов */
      overflow: hidden !important;
      position: relative;
      /* Создаем новый контекст наложения для изоляции */
      isolation: isolate;
    }

    /* Дополнительная защита для карусели в backstage - тот же метод что у форматов */
    .card-img[data-carousel="backstage"] .card-img-carousel {
      /* Убеждаемся, что карусель не выходит за границы - точно как у форматов */
      width: 100%;
      max-width: 100%;
      /* Принудительное создание слоя */
      transform: translateZ(0);
      -webkit-transform: translateZ(0);
      box-sizing: border-box;
    }

    /* Дополнительная защита для слайдов в backstage - тот же метод что у форматов */
    .card-img[data-carousel="backstage"] .card-img-slide {
      /* Убираем любые возможные зазоры - точно как у форматов */
      margin: 0;
      padding: 0;
      /* Увеличиваем ширину на 1px для перекрытия краев */
      width: calc(100% + 1px);
      min-width: calc(100% + 1px);
      max-width: calc(100% + 1px);
      /* Обрезка содержимого */
      clip-path: inset(0);
      box-sizing: border-box;
    }

    /* Стили для контейнера iframe в backstage - убираем отступы */
    .card-img[data-carousel="backstage"] .card-img-slide > div {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      padding: 0 !important;
      margin: 0;
      /* Разрешаем события касания для свайпов */
      touch-action: pan-y;
    }

    .card-img[data-carousel="backstage"] .card-img-slide > div > iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* Разрешаем события касания для свайпов */
      touch-action: pan-y;
      pointer-events: auto;
    }

    /* Reels card - vertical video format 9:16 */
    .card-reels .card-img-reels {
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(15,23,42,0.5);
    }

    .card-reels .card-img-carousel {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .card-reels .card-img-slide-reels {
      width: 100%;
      height: 100%;
      min-width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #000;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    .card-reels .reels-video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .card-img-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 32px;
      height: 32px;
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: white;
      font-size: 14px;
      opacity: 0;
      transition: opacity 0.2s ease, background 0.2s ease;
      z-index: 2;
    }

    .card-img:hover .card-img-nav {
      opacity: 1;
    }

    .card-img-nav:hover {
      background: rgba(0, 0, 0, 0.7);
      border-color: rgba(255, 255, 255, 0.4);
    }

    .card-img-nav.prev {
      left: 8px;
    }

    .card-img-nav.next {
      right: 8px;
    }

    .card-img-dots {
      position: absolute;
      bottom: 8px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 6px;
      z-index: 2;
    }

    .card-img-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      cursor: pointer;
      transition: background 0.2s ease, transform 0.2s ease;
    }

    .card-img-dot.active {
      background: rgba(255, 255, 255, 0.9);
      transform: scale(1.2);
    }

    .card-img:hover .card-img-dots {
      opacity: 1;
    }

    .card-body {
      padding: 16px 16px 14px;
    }

    .card-tag {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #9ca3af;
      margin-bottom: 6px;
    }

    .card-title {
      font-size: 15px;
      margin-bottom: 6px;
    }

    .card-text {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* Pricing */

    .pricing-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 20px;
      position: relative;
      align-items: stretch;
    }


    /* Обертка для календаря */
    .pricing-calendar-wrapper {
      display: flex;
      justify-content: center;
      align-items: stretch;
      position: relative;
      min-height: 100%;
      z-index: 1;
    }

    /* Стили для виджета календаря в секции pricing */
    .pricing-calendar-wrapper #pricing-calendar-widget {
      width: 100%;
      height: 100%;
      min-height: 100%;
      display: flex;
      align-items: stretch;
    }

    .pricing-calendar-wrapper .waves-booking-widget {
      width: 100%;
      height: 100%;
      min-height: 100%;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(16, 185, 129, 0.3);
      background: var(--bg-card);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
                  0 0 15px rgba(16, 185, 129, 0.2);
      transition: transform 220ms ease, box-shadow 300ms ease,
                  border-color 220ms ease, background 220ms ease-out,
                  opacity 220ms ease;
      opacity: 0.75;
      transform: scale(0.98);
      display: flex;
      flex-direction: column;
      overflow: visible;
      cursor: pointer;
    }

    .pricing-calendar-wrapper .waves-booking-widget:hover {
      transform: translateY(-4px) scale(0.98) !important;
      border-color: rgba(16, 185, 129, 0.8) !important;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
                  0 0 30px rgba(16, 185, 129, 0.5),
                  0 0 50px rgba(16, 185, 129, 0.3) !important;
      opacity: 0.9 !important;
    }

    .pricing-grid:has(.pricing-card.active) .pricing-calendar-wrapper .waves-booking-widget:hover {
      transform: translateY(-4px) scale(1) !important;
      border-color: rgba(16, 185, 129, 0.9) !important;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
                  0 0 40px rgba(16, 185, 129, 0.6),
                  0 0 60px rgba(16, 185, 129, 0.4) !important;
    }

    /* При активной карточке календарь активируется */
    .pricing-grid:has(.pricing-card.active) .pricing-calendar-wrapper .waves-booking-widget {
      opacity: 1;
      transform: scale(1);
      border: 1px solid rgba(16, 185, 129, 0.6);
      background: radial-gradient(circle at 0 0, rgba(16, 185, 129, 0.12), transparent 55%),
                  var(--bg-card);
      box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4),
                  0 0 20px rgba(16, 185, 129, 0.2);
      animation: calendarGlow 2s ease-in-out infinite alternate;
    }

    @keyframes calendarGlow {
      0% {
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4),
                    0 0 20px rgba(16, 185, 129, 0.2);
      }
      100% {
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.6),
                    0 0 30px rgba(16, 185, 129, 0.4);
      }
    }

    /* Анимация активации */
    @keyframes calendarActivate {
      0% {
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4),
                    0 0 20px rgba(16, 185, 129, 0.2);
        transform: scale(1);
      }
      50% {
        box-shadow: 0 25px 70px rgba(16, 185, 129, 0.6),
                    0 0 30px rgba(16, 185, 129, 0.4);
        transform: scale(1.02);
      }
      100% {
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4),
                    0 0 20px rgba(16, 185, 129, 0.2);
        transform: scale(1);
      }
    }

    .pricing-grid:has(.pricing-card.active) .pricing-calendar-wrapper .waves-booking-widget {
      animation: calendarActivate 0.6s ease-out;
    }

    /* Блок слотов времени под карточками */
    .pricing-time-slots-container {
      grid-column: 1 / -1;
      margin-top: 40px;
      padding: 32px;
      padding-bottom: 32px;
      border-radius: var(--radius-lg);
      background: var(--bg-card);
      border: 1px solid rgba(30, 64, 175, 0.3);
      box-shadow: var(--shadow-card);
      animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .pricing-time-slots-header {
      margin-bottom: 24px;
    }

    .pricing-time-slots-title {
      font-size: 20px;
      font-weight: 600;
      margin: 0 0 8px 0;
      color: var(--text-main);
    }

    .pricing-time-slots-date {
      font-size: 14px;
      color: var(--text-muted);
    }

    .pricing-time-slots-grid {
      display: flex;
      flex-wrap: nowrap;
      gap: 8px;
      justify-content: flex-start;
    }

    .pricing-time-slot {
      flex: 0 0 auto;
      min-width: 75px;
      padding: 8px 10px;
      border-radius: 8px;
      border: 1px solid rgba(30, 64, 175, 0.3);
      background: var(--bg-elevated);
      color: var(--text-main);
      text-align: center;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 13px;
      font-weight: 500;
    }

    .pricing-time-slot:hover:not(.disabled) {
      border-color: rgba(96, 165, 250, 0.6);
      background: rgba(37, 99, 235, 0.1);
      transform: translateY(-2px);
    }

    .pricing-time-slot.selected-online {
      background: rgba(34, 197, 94, 0.15) !important;
      border-color: #22c55e !important;
      color: #22c55e !important;
      box-shadow: 0 0 12px rgba(34, 197, 94, 0.4) !important;
    }

    .pricing-time-slot.selected-offline {
      background: rgba(37, 99, 235, 0.15) !important;
      border-color: #2563eb !important;
      color: #2563eb !important;
      box-shadow: 0 0 12px rgba(37, 99, 235, 0.4) !important;
    }

    .pricing-time-slot.selected {
      border-color: rgba(96, 165, 250, 0.9);
      background: rgba(37, 99, 235, 0.2);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

    .pricing-time-slot.disabled {
      opacity: 0.4;
      cursor: not-allowed;
      background: rgba(0, 0, 0, 0.2);
    }

    .pricing-time-slots-loading {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 40px;
    }

    /* Форма контактов в секции pricing */
    .pricing-contact-form {
      margin-top: 32px;
      padding-top: 32px;
      padding-bottom: 0;
      border-top: 1px solid rgba(30, 64, 175, 0.3);
      animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .pricing-contact-header {
      margin-bottom: 24px;
    }

    .pricing-contact-title {
      font-size: 20px;
      font-weight: 600;
      margin: 0;
      color: var(--text-main);
    }

    /* Сетка для формы в 2 колонки */
    .pricing-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: stretch;
    }

    .pricing-form-summary {
      position: sticky;
      top: 100px;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .pricing-form-fields {
      min-width: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .pricing-form-fields .booking-form {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 0;
      width: 100%;
      box-sizing: border-box;
    }

    .pricing-contact-form .form-group {
      margin-bottom: 14px;
    }

    .pricing-contact-form label {
      display: block;
      margin-bottom: 6px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text-main);
    }

    .pricing-contact-form input,
    .pricing-contact-form textarea {
      width: 100%;
      padding: 12px 16px;
      border-radius: 8px;
      border: 1px solid rgba(30, 64, 175, 0.3);
      background: var(--bg-elevated);
      color: var(--text-main);
      font-size: 14px;
      font-family: inherit;
      transition: all 0.2s ease;
    }

    .pricing-contact-form input:focus,
    .pricing-contact-form textarea:focus {
      outline: none;
      border-color: rgba(96, 165, 250, 0.6);
      background: var(--bg-card);
    }

    .pricing-contact-form textarea {
      resize: vertical;
      min-height: 80px;
    }

    .pricing-contact-form .pricing-agreement-checkbox {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-top: 8px;
      margin-bottom: 0;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }

    .pricing-contact-form .pricing-agreement-checkbox input[type="checkbox"] {
      margin-top: 4px;
      flex-shrink: 0;
      width: 18px;
      height: 18px;
      min-width: 18px;
    }

    .pricing-contact-form .pricing-agreement-text {
      font-size: 11px;
      color: var(--text-muted);
      flex: 1;
      min-width: 0;
      line-height: 1.4;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }

    .pricing-contact-form .pricing-agreement-text a {
      color: #60a5fa;
    }

    .pricing-contact-form .pricing-submit-btn {
      width: 100%;
      margin-top: auto;
      margin-bottom: 0;
    }

    .pricing-contact-form .booking-summary {
      margin-top: 0;
      padding: 20px;
      padding-bottom: 20px;
      border-radius: 8px;
      background: var(--bg-elevated);
      border: 1px solid rgba(30, 64, 175, 0.3);
      margin-bottom: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .pricing-contact-form .summary-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 16px;
      color: var(--text-main);
    }

    .pricing-contact-form .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 12px;
      font-size: 14px;
    }

    .pricing-contact-form .summary-price-block {
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

    .pricing-contact-form .summary-row:last-child {
      margin-bottom: 0;
    }

    .pricing-contact-form .summary-price-wrapper {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
    }

    .pricing-contact-form .summary-discount {
      text-align: right;
      margin-top: 4px;
    }

    .pricing-contact-form .summary-description {
      margin: 12px 0;
      padding: 12px;
      background: rgba(37, 99, 235, 0.05);
      border-radius: 8px;
      border-left: 3px solid rgba(96, 165, 250, 0.5);
    }

    .pricing-contact-form .summary-description p {
      margin: 0;
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .pricing-contact-form .summary-teaser {
      margin: 12px 0;
      padding: 12px;
      background: rgba(37, 99, 235, 0.05);
      border-radius: 8px;
    }

    .pricing-contact-form .teaser-checkbox-wrapper {
      display: flex;
      align-items: center;
      gap: 12px;
      cursor: pointer;
      padding: 8px;
      border-radius: 6px;
      transition: background 0.2s ease;
    }

    .pricing-contact-form .teaser-checkbox-wrapper:hover {
      background: rgba(37, 99, 235, 0.1);
    }

    .pricing-contact-form .teaser-checkbox-wrapper input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: var(--accent);
    }

    .pricing-contact-form .teaser-checkbox-label {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex: 1;
      gap: 8px;
      font-size: 14px;
      color: var(--text-main);
    }

    .pricing-contact-form .teaser-checkbox-text {
      flex: 1;
    }

    .pricing-contact-form .teaser-checkbox-price {
      font-weight: 600;
      color: var(--accent);
      font-size: 13px;
    }

    .pricing-card {
      position: relative;
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at 0 0, rgba(37,99,235,0.12), transparent 55%),
                  var(--bg-card);
      border: 1px solid rgba(30,64,175,0.6);
      box-shadow: var(--shadow-card);
      padding: 18px 18px 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: transform 220ms ease, box-shadow 300ms ease,
                  border-color 220ms ease, background 220ms ease-out;
      cursor: pointer;
    }

    .pricing-card:hover {
      transform: translateY(-4px);
      border-color: rgba(96,165,250,0.7);
    }

    .pricing-card.popular {
      background: radial-gradient(circle at 0 0, rgba(129,140,248,0.16), transparent 55%),
                  radial-gradient(circle at 100% 100%, rgba(236,72,153,0.14), transparent 55%),
                  #020617;
      border: 1px solid rgba(129,140,248,0.9);
      box-shadow: var(--shadow-card);
    }

    .pricing-card.popular:not(.active) {
      box-shadow: var(--shadow-card);
    }

    .pricing-card.active {
      transform: translateY(-6px) scale(1.02);
      border-color: rgba(129,140,248,0.9);
      box-shadow: 0 30px 80px rgba(37,99,235,0.7);
      background: radial-gradient(circle at 0 0, rgba(37,99,235,0.18), transparent 55%),
                  radial-gradient(circle at 100% 100%, rgba(236,72,153,0.18), transparent 55%),
                  #020617;
    }

    .pricing-card.active:hover {
      transform: translateY(-6px) scale(1.02);
    }

    @keyframes pulse {
      0%, 100% {
        box-shadow: 0 30px 80px rgba(37,99,235,0.7);
      }
      50% {
        box-shadow: 0 30px 90px rgba(37,99,235,0.85);
      }
    }

    .pricing-card.active {
      animation: pulse 2s ease-in-out infinite;
    }

    .pricing-label {
      position: absolute;
      top: 14px;
      right: 14px;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      padding: 3px 10px;
      border-radius: 999px;
      background: rgba(15,23,42,0.95);
      border: 1px solid rgba(129,140,248,0.8);
      color: #e5e7eb;
    }

    .pricing-name {
      font-size: 15px;
      font-weight: 600;
    }

    .pricing-price {
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -0.03em;
      position: relative;
    }

    .pricing-price-with-discount {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .pricing-old-price {
      text-decoration: line-through;
      opacity: 0.6;
      font-size: 22px;
      font-weight: 700;
      color: var(--text-muted);
      animation: priceStrike 0.5s ease-out;
      letter-spacing: -0.03em;
    }

    .pricing-new-price {
      color: #10b981;
      font-size: 22px;
      font-weight: 700;
      animation: priceAppear 0.5s ease-out;
      letter-spacing: -0.03em;
    }

    @keyframes priceUpdate {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
      100% {
        transform: scale(1);
      }
    }

    @keyframes priceStrike {
      0% {
        opacity: 1;
        transform: scaleX(1);
      }
      100% {
        opacity: 0.6;
        transform: scaleX(1);
      }
    }

    @keyframes priceAppear {
      0% {
        opacity: 0;
        transform: translateY(-5px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .pricing-caption {
      font-size: 12px;
      color: var(--text-muted);
    }

    .pricing-list {
      margin: 8px 0 0;
      padding-left: 16px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .pricing-foot {
      margin-top: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .pill {
      padding: 3px 10px;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.4);
      background: rgba(15,23,42,0.8);
    }

    /* AI Tools section */

    .ai-features-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .ai-feature-card {
      border-radius: var(--radius-lg);
      background: radial-gradient(circle at 0 0, rgba(96,165,250,0.12), transparent 55%),
                  var(--bg-card);
      border: 1px solid rgba(31, 41, 55, 0.9);
      box-shadow: var(--shadow-card);
      padding: 24px;
      transition: transform var(--transition-fast), box-shadow var(--transition-fast),
                  border-color var(--transition-fast);
    }

    .ai-feature-card:hover {
      transform: translateY(-2px);
      border-color: rgba(96,165,250,0.7);
      box-shadow: 0 28px 60px rgba(15,23,42,0.9);
    }

    .ai-feature-icon {
      font-size: 32px;
      margin-bottom: 12px;
      display: block;
    }

    .ai-feature-title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 8px;
      letter-spacing: -0.01em;
    }

    .ai-feature-text {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* CTA section */

    .cta {
      border-radius: var(--radius-xl);
      padding: 28px 24px;
      background: radial-gradient(circle at 0 0, rgba(96,165,250,0.25), transparent 60%),
                  radial-gradient(circle at 100% 100%, rgba(236,72,153,0.25), transparent 60%),
                  #020617;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(148,163,184,0.4);
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      gap: 26px;
      align-items: center;
    }

    .cta-title {
      font-size: 22px;
      margin-bottom: 8px;
    }

    .cta-text {
      font-size: 14px;
      color: var(--text-muted);
      max-width: 460px;
    }

    .cta-note {
      font-size: 12px;
      margin-top: 10px;
      color: var(--text-muted);
    }

    .cta-media {
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(31,41,55,0.9);
    }

    .cta-img {
      height: 180px;
      object-fit: cover;
      background: radial-gradient(circle at 50% 0, #111827, #020617);
    }

    /* Author section */

    .author-block {
      border-radius: var(--radius-xl);
      padding: 28px 24px;
      background: radial-gradient(circle at 100% 0, rgba(236,72,153,0.15), transparent 60%),
                  radial-gradient(circle at 0 100%, rgba(96,165,250,0.15), transparent 60%),
                  #020617;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(148,163,184,0.4);
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
      gap: 26px;
      align-items: center;
    }

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

    .author-title {
      font-size: 22px;
      letter-spacing: -0.02em;
      margin-top: 8px;
    }

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

    .author-text p {
      margin-bottom: 12px;
    }

    .author-text p:last-child {
      margin-bottom: 0;
    }

    .author-media {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .author-image {
      width: 100%;
      max-width: 400px;
      aspect-ratio: 1 / 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .author-image-placeholder {
      width: 100%;
      height: 100%;
      aspect-ratio: 1 / 1;
      background-color: #020617;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: 50%;
      overflow: hidden;
      position: relative;
      border: 4px solid rgba(96,165,250,0.3);
      box-shadow: 
        0 20px 60px rgba(0,0,0,0.8),
        0 0 40px rgba(96,165,250,0.2),
        inset 0 0 40px rgba(0,0,0,0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .author-image:hover .author-image-placeholder {
      transform: scale(1.05);
      border-color: rgba(96,165,250,0.5);
      box-shadow: 
        0 25px 70px rgba(0,0,0,0.9),
        0 0 50px rgba(96,165,250,0.3),
        inset 0 0 50px rgba(0,0,0,0.4);
    }
    
    .author-image-placeholder::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(circle at 30% 20%, rgba(96,165,250,0.15), transparent 60%),
                  radial-gradient(circle at 70% 80%, rgba(236,72,153,0.15), transparent 60%);
      pointer-events: none;
      border-radius: 50%;
    }

    .author-image-placeholder::after {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: 50%;
      padding: 2px;
      background: linear-gradient(135deg, 
        rgba(96,165,250,0.4), 
        rgba(236,72,153,0.3), 
        rgba(96,165,250,0.4));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
    }

    .author-image:hover .author-image-placeholder::after {
      opacity: 0.6;
    }

    /* Testimonial */

    .testimonial {
      padding-top: 32px;
    }

    .testimonial-card {
      border-radius: var(--radius-xl);
      background: var(--bg-card);
      border: 1px solid rgba(31,41,55,0.9);
      box-shadow: var(--shadow-card);
      padding: 22px 22px 20px;
      max-width: 720px;
      margin: 0 auto;
      text-align: center;
    }

    .testimonial-avatar {
      width: 44px;
      height: 44px;
      border-radius: 999px;
      margin: 0 auto 10px;
      background-image: radial-gradient(circle at 20% 0, #f97316, transparent 55%),
                        radial-gradient(circle at 80% 100%, #6366f1, transparent 55%),
                        radial-gradient(circle at 50% 50%, #111827, #020617);
    }

    .testimonial-text {
      font-size: 14px;
      margin-bottom: 10px;
    }

    .testimonial-name {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* FAQ */

    .faq-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
      gap: 28px;
    }

    .faq-intro {
      font-size: 14px;
      color: var(--text-muted);
      max-width: 320px;
    }

    .faq-item {
      border-bottom: 1px solid rgba(31,41,55,0.9);
    }

    .faq-question {
      padding: 14px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      cursor: pointer;
      font-size: 14px;
    }

    .faq-icon {
      width: 18px;
      height: 18px;
      min-width: 18px;
      min-height: 18px;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.7);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      line-height: 1;
      color: var(--text-muted);
      flex-shrink: 0;
      font-weight: 300;
      padding: 0;
      margin: 0;
      text-align: center;
      vertical-align: middle;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      font-size: 13px;
      color: var(--text-muted);
      transition: max-height 0.2s ease-out;
    }

    .faq-answer-inner {
      padding: 0 0 12px;
    }

    .faq-item.open .faq-answer {
      max-height: 200px;
    }

    .faq-item.open .faq-icon {
      background: var(--accent);
      color: #f9fafb;
      border-color: transparent;
    }


    /* Contacts */

    .contacts {
      padding-bottom: 60px;
    }

    .contacts-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
      gap: 24px;
      align-items: flex-start;
    }

    .map-placeholder {
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid rgba(31,41,55,0.9);
      background: radial-gradient(circle at 0 0, rgba(37,99,235,0.18), transparent 55%),
                  #020617;
      min-height: 260px;
      position: relative;
    }

    .map-box {
      position: absolute;
      right: 18px;
      bottom: 18px;
      border-radius: 18px;
      padding: 12px 14px;
      background: rgba(15,23,42,0.96);
      border: 1px solid rgba(148,163,184,0.7);
      max-width: 220px;
      font-size: 13px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.9);
    }

    .map-title {
      font-weight: 600;
      margin-bottom: 4px;
    }

    .map-note {
      font-size: 12px;
      color: var(--text-muted);
    }

    .contact-card {
      border-radius: var(--radius-lg);
      background: var(--bg-card);
      border: 1px solid rgba(31,41,55,0.9);
      box-shadow: var(--shadow-card);
      padding: 18px 18px 16px;
    }

    .contact-row {
      display: flex;
      gap: 22px;
      margin-bottom: 18px;
      font-size: 14px;
    }

    .contact-label {
      width: 90px;
      color: var(--text-muted);
    }

    .contact-value a {
      color: #e5e7eb;
    }

    .contact-value a:hover {
      color: #93c5fd;
    }

    .contact-form {
      display: grid;
      gap: 10px;
      margin-top: 10px;
    }

    .field {
      display: grid;
      gap: 4px;
      font-size: 13px;
    }

    .field label {
      color: var(--text-muted);
    }

    .field input,
    .field textarea {
      border-radius: 12px;
      border: 1px solid rgba(55,65,81,0.9);
      background: rgba(15,23,42,0.9);
      color: var(--text-main);
      padding: 9px 10px;
      font-family: inherit;
      font-size: 13px;
      outline: none;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

    .field input:focus,
    .field textarea:focus {
      border-color: #60a5fa;
      box-shadow: 0 0 0 1px rgba(96,165,250,0.55);
    }

    .field textarea {
      min-height: 90px;
      resize: vertical;
    }

    .form-note {
      font-size: 11px;
      color: var(--text-muted);
    }

    .form-success {
      font-size: 12px;
      color: #4ade80;
      margin-top: 4px;
      display: none;
    }

    .form-success.visible {
      display: block;
    }

    /* Booking modal */

    .booking-modal {
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,0.9);
      backdrop-filter: blur(16px);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease-out;
      z-index: 60;
      overflow-y: auto;
      padding: 20px;
      /* Кастомный скроллбар для модального окна */
      scrollbar-width: thin;
      scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
    }
    
    .booking-modal::-webkit-scrollbar {
      width: 8px;
    }
    
    .booking-modal::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 4px;
    }
    
    .booking-modal::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.4);
      border-radius: 4px;
      border: 2px solid transparent;
      background-clip: padding-box;
      transition: background 0.2s ease;
    }
    
    .booking-modal::-webkit-scrollbar-thumb:hover {
      background: rgba(148, 163, 184, 0.6);
      background-clip: padding-box;
    }
    
    .booking-modal::-webkit-scrollbar-thumb:active {
      background: rgba(148, 163, 184, 0.8);
      background-clip: padding-box;
    }

    .booking-modal.open {
      opacity: 1;
      pointer-events: auto;
    }

    .booking-dialog {
      width: min(900px, 100%);
      border-radius: var(--radius-xl);
      background: #020617;
      border: 2px solid rgba(114, 124, 136, 0.363);
      box-shadow: 0 30px 80px rgba(0,0,0,0.9);
      padding: 24px;
      position: relative;
      max-height: 90vh;
      overflow-y: auto;
      overflow-x: hidden;
      /* Кастомный скроллбар для диалога */
      scrollbar-width: thin;
      scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
    }
    
    .booking-dialog::-webkit-scrollbar {
      width: 8px;
    }
    
    .booking-dialog::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 4px;
    }
    
    .booking-dialog::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.4);
      border-radius: 4px;
      border: 2px solid transparent;
      background-clip: padding-box;
      transition: background 0.2s ease;
    }
    
    .booking-dialog::-webkit-scrollbar-thumb:hover {
      background: rgba(148, 163, 184, 0.6);
      background-clip: padding-box;
    }
    
    .booking-dialog::-webkit-scrollbar-thumb:active {
      background: rgba(148, 163, 184, 0.8);
      background-clip: padding-box;
    }

    /* Кастомный скроллбар для контента политики конфиденциальности */
    .privacy-content {
      scrollbar-width: thin;
      scrollbar-color: rgba(148, 163, 184, 0.4) transparent;
    }
    
    .privacy-content::-webkit-scrollbar {
      width: 8px;
    }
    
    .privacy-content::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 4px;
    }
    
    .privacy-content::-webkit-scrollbar-thumb {
      background: rgba(148, 163, 184, 0.4);
      border-radius: 4px;
      border: 2px solid transparent;
      background-clip: padding-box;
      transition: background 0.2s ease;
    }
    
    .privacy-content::-webkit-scrollbar-thumb:hover {
      background: rgba(148, 163, 184, 0.6);
      background-clip: padding-box;
    }
    
    .privacy-content::-webkit-scrollbar-thumb:active {
      background: rgba(148, 163, 184, 0.8);
      background-clip: padding-box;
    }

    .booking-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: rgba(15,23,42,0.9);
      border: 1px solid rgba(148,163,184,0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      cursor: pointer;
      color: var(--text-muted);
      transition: all 0.15s ease;
    }

    .booking-close:hover {
      color: #e5e7eb;
      background: rgba(31,41,55,0.9);
    }

    .booking-main-title {
      font-size: 20px;
      margin-bottom: 8px;
    }

    .booking-text {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 20px;
    }

    .booking-step {
      margin-bottom: 24px;
    }

    .step-label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .step-number {
      width: 20px;
      height: 20px;
      border-radius: 999px;
      background: var(--accent);
      color: white;
      font-size: 11px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
    }

    /* Calendar */
    .calendar {
      border-radius: var(--radius-lg);
      background: var(--bg-card);
      border: 1px solid rgba(31,41,55,0.9);
      padding: 16px;
    }

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

    .calendar-month {
      font-size: 15px;
      font-weight: 600;
    }

    .calendar-nav {
      display: flex;
      gap: 8px;
    }

    .calendar-nav button {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.4);
      background: rgba(15,23,42,0.7);
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s ease;
    }

    .calendar-nav button:hover {
      background: rgba(31,41,55,0.9);
      border-color: rgba(148,163,184,0.7);
    }

    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 4px;
    }

    .calendar-day-label {
      text-align: center;
      font-size: 11px;
      color: var(--text-muted);
      padding: 6px 0;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .calendar-day {
      aspect-ratio: 1;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.15s ease;
      border: 1px solid transparent;
    }

    .calendar-day.other-month {
      color: var(--text-muted);
      opacity: 0.3;
      cursor: default;
    }

    .calendar-day.past {
      color: var(--text-muted);
      opacity: 0.4;
      cursor: not-allowed;
    }

    .calendar-day.available {
      background: rgba(15,23,42,0.7);
      color: var(--text-main);
    }

    .calendar-day.available:hover {
      background: rgba(31,41,55,0.9);
      border-color: rgba(96,165,250,0.5);
    }

    .calendar-day.unavailable {
      background: rgba(15,23,42,0.3);
      color: var(--text-muted);
      cursor: not-allowed;
    }

    .calendar-day.selected {
      background: var(--accent);
      color: white;
      font-weight: 600;
    }

    .calendar-day.recommended {
      background: rgba(34, 197, 94, 0.08);
      border: 2px solid rgba(34, 197, 94, 0.6);
      color: #86efac;
      box-shadow: 
        0 0 8px rgba(34, 197, 94, 0.4),
        0 0 12px rgba(34, 197, 94, 0.2),
        inset 0 0 8px rgba(34, 197, 94, 0.1);
      animation: recommended-glow 2.5s ease-in-out infinite;
      position: relative;
    }

    .calendar-day.recommended::before {
      content: '';
      position: absolute;
      inset: -2px;
      border-radius: inherit;
      padding: 2px;
      background: linear-gradient(45deg, 
        rgba(34, 197, 94, 0.8), 
        rgba(74, 222, 128, 0.6), 
        rgba(34, 197, 94, 0.8));
      background-size: 200% 200%;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      animation: recommended-border 3s linear infinite;
      opacity: 0.7;
      pointer-events: none;
    }

    .calendar-day.recommended:hover {
      background: rgba(34, 197, 94, 0.15);
      box-shadow: 
        0 0 12px rgba(34, 197, 94, 0.6),
        0 0 18px rgba(34, 197, 94, 0.3),
        inset 0 0 10px rgba(34, 197, 94, 0.15);
      transform: scale(1.05);
      transition: all 0.2s ease;
    }

    .calendar-day.recommended.selected {
      background: var(--accent);
      border-color: var(--accent);
      color: white;
      box-shadow: 
        0 0 12px rgba(37, 99, 235, 0.6),
        0 0 20px rgba(37, 99, 235, 0.4);
      animation: none;
    }

    .calendar-day.recommended.selected::before {
      display: none;
    }

    @keyframes recommended-glow {
      0%, 100% {
        box-shadow: 
          0 0 8px rgba(34, 197, 94, 0.4),
          0 0 12px rgba(34, 197, 94, 0.2),
          inset 0 0 8px rgba(34, 197, 94, 0.1);
      }
      50% {
        box-shadow: 
          0 0 12px rgba(34, 197, 94, 0.6),
          0 0 18px rgba(34, 197, 94, 0.3),
          inset 0 0 10px rgba(34, 197, 94, 0.15);
      }
    }

    @keyframes recommended-border {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }

    .calendar-legend {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid rgba(148, 163, 184, 0.2);
      font-size: 12px;
      color: var(--text-muted);
      flex-wrap: wrap;
    }

    .calendar-legend-item {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .calendar-legend-dot {
      width: 12px;
      height: 12px;
      border-radius: 3px;
      border: 2px solid rgba(34, 197, 94, 0.6);
      background: rgba(34, 197, 94, 0.08);
      box-shadow: 
        0 0 6px rgba(34, 197, 94, 0.4),
        0 0 10px rgba(34, 197, 94, 0.2);
      animation: recommended-glow 2.5s ease-in-out infinite;
    }

    /* Time slots */
    .time-slots-wrapper {
      position: relative;
    }

    .time-slots-wrapper.loading {
      min-height: 200px;
    }

    .time-slots {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
      gap: 8px;
    }

    .time-slot {
      padding: 10px 12px;
      border-radius: 10px;
      border: 1px solid rgba(148,163,184,0.4);
      background: rgba(15,23,42,0.7);
      text-align: center;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .time-slot:hover {
      background: rgba(31,41,55,0.9);
      border-color: rgba(96,165,250,0.5);
    }

    .time-slot.unavailable {
      opacity: 0.3;
      cursor: not-allowed;
      background: rgba(15,23,42,0.3);
    }

    .time-slot.selected-online {
      background: rgba(34, 197, 94, 0.15) !important;
      border-color: #22c55e !important;
      color: #22c55e !important;
      box-shadow: 0 0 12px rgba(34, 197, 94, 0.4) !important;
    }

    .time-slot.selected-offline {
      background: rgba(37, 99, 235, 0.15) !important;
      border-color: #2563eb !important;
      color: #2563eb !important;
      box-shadow: 0 0 12px rgba(37, 99, 235, 0.4) !important;
    }

    .time-slot.selected {
      background: var(--accent);
      color: white;
      border-color: transparent;
      font-weight: 600;
    }

    .plan-selector {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .plan-card-mini {
      padding: 12px;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31,41,55,0.9);
      background: rgba(15,23,42,0.7);
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .plan-card-mini:hover {
      border-color: rgba(96,165,250,0.5);
      background: rgba(31,41,55,0.9);
    }

    .plan-card-mini.selected {
      border-color: var(--accent);
      background: var(--accent-soft);
      box-shadow: 0 0 0 2px rgba(37,99,235,0.3);
    }

    .plan-card-mini.inactive {
      opacity: 0.5;
      cursor: default;
    }

    .plan-name {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .plan-price {
      font-size: 15px;
      font-weight: 700;
      color: var(--accent);
    }

    .booking-form {
      display: grid;
      gap: 12px;
    }

    .form-group {
      display: grid;
      gap: 4px;
    }

    .form-group label {
      font-size: 12px;
      color: var(--text-muted);
    }

    .form-group input,
    .form-group textarea {
      border-radius: 10px;
      border: 1px solid rgba(55,65,81,0.9);
      background: rgba(15,23,42,0.9);
      color: var(--text-main);
      padding: 10px 12px;
      font-family: inherit;
      font-size: 13px;
      outline: none;
      transition: border-color 0.15s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: #60a5fa;
    }

    .contact-method-selector {
      display: flex;
      gap: 12px;
    }

    .contact-method-btn {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 14px 16px;
      border-radius: 12px;
      border: 2px solid rgba(55,65,81,0.9);
      background: rgba(15,23,42,0.5);
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.2s ease;
      outline: none;
    }

    .contact-method-btn:hover {
      border-color: rgba(96,165,250,0.5);
      background: rgba(31,41,55,0.7);
    }

    .contact-method-btn.active {
      border-color: #60a5fa;
      background: rgba(96,165,250,0.1);
      color: #60a5fa;
    }

    .contact-method-btn svg {
      width: 24px;
      height: 24px;
    }

    .booking-summary {
      background: rgba(15,23,42,0.7);
      border: 1px solid rgba(31,41,55,0.9);
      border-radius: var(--radius-lg);
      padding: 14px;
      font-size: 13px;
      margin-top: 16px;
    }

    .summary-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
    }

    .summary-description {
      margin: 12px 0;
      padding: 12px;
      background: rgba(31,41,55,0.5);
      border-radius: 8px;
      font-size: 12px;
      line-height: 1.5;
      color: var(--text-muted);
    }

    .summary-description p {
      margin: 0;
    }

    .summary-teaser {
      margin: 12px 0;
    }

    .teaser-checkbox-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border: 1px solid rgba(148,163,184,0.4);
      border-radius: 8px;
      background: rgba(15,23,42,0.5);
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .teaser-checkbox-wrapper:hover {
      background: rgba(31,41,55,0.7);
      border-color: rgba(96,165,250,0.5);
    }

    .teaser-checkbox-wrapper input[type="checkbox"] {
      width: 18px;
      height: 18px;
      cursor: pointer;
      accent-color: var(--accent);
      flex-shrink: 0;
    }

    .teaser-checkbox-label {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex: 1;
      gap: 8px;
      font-size: 13px;
      color: var(--text-main);
    }

    .teaser-checkbox-text {
      flex: 1;
    }

    .teaser-checkbox-price {
      font-weight: 600;
      color: var(--accent);
      font-size: 12px;
    }

    .summary-row:last-child {
      margin-bottom: 0;
      padding-top: 8px;
      border-top: 1px solid rgba(148,163,184,0.2);
      font-weight: 600;
    }

    .loading-spinner {
      display: none;
      text-align: center;
      padding: 0;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 10;
      background: transparent;
    }

    .loading-spinner.active {
      display: flex;
    }
    
    .time-slots-wrapper.loading .time-slots {
      opacity: 0;
      visibility: hidden;
    }

    .loading-animation {
      display: flex;
      gap: 8px;
      align-items: center;
      justify-content: center;
    }

    .loading-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: var(--accent);
      animation: loading-pulse 1.4s ease-in-out infinite;
      opacity: 0.7;
    }

    .loading-dot:nth-child(1) {
      animation-delay: 0s;
    }

    .loading-dot:nth-child(2) {
      animation-delay: 0.2s;
    }

    .loading-dot:nth-child(3) {
      animation-delay: 0.4s;
    }

    @keyframes loading-pulse {
      0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
      }
      40% {
        transform: scale(1.2);
        opacity: 1;
      }
    }

    /* Footer */

    footer {
      border-top: 1px solid rgba(31,41,55,0.9);
      padding: 14px 0 18px;
      font-size: 12px;
      color: var(--text-muted);
      background: rgba(2,6,23,0.98);
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .footer-links {
      display: flex;
      align-items: center;
      gap: 14px;
    }

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

    /* Responsive */

    @media (max-width: 960px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1.1fr);
      }
      .hero-media {
        order: -1;
      }
      .cta {
        grid-template-columns: minmax(0, 1fr);
      }
      .author-block {
        grid-template-columns: minmax(0, 1fr);
      }
      .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .pricing-calendar-wrapper {
        grid-column: 1 / -1;
        min-height: 300px;
        margin: 20px 0;
      }

      .pricing-calendar-wrapper .waves-booking-widget {
        min-height: 300px;
        overflow: visible;
      }


      .pricing-time-slots-container {
        margin-top: 20px;
        padding: 20px;
      }

      .pricing-time-slots-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
        overflow-x: visible;
        padding-bottom: 0;
      }

      .pricing-time-slot {
        min-width: auto;
      }
      .space-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .ai-features-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .faq-grid,
      .contacts-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .map-box {
        position: static;
        margin: 16px;
      }
      .booking-dialog {
        padding: 20px;
      }
      #contactModal .booking-dialog > div {
        grid-template-columns: minmax(0, 1fr);
      }
      #contactModal .booking-dialog img {
        height: 160px;
      }
    }

    @media (max-width: 720px) {
      .nav-links {
        position: fixed;
        inset: 64px 20px auto 20px;
        border-radius: 18px;
        border: 1px solid rgba(31,41,55,0.9);
        background: rgba(15,23,42,0.98);
        box-shadow: 0 24px 60px rgba(0,0,0,0.9);
        padding: 12px 18px;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.18s ease, transform 0.18s ease;
      }
      .nav-open .nav-links {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
      }
      .nav-cta {
        display: none;
      }
      .nav-toggle {
        display: inline-flex;
      }
      .hero {
        padding-top: 32px;
      }
      .space-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .ai-features-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .cta {
        padding: 22px 18px;
      }
      .author-block {
        padding: 22px 18px;
        grid-template-columns: minmax(0, 1fr);
      }
      .author-image {
        max-width: 280px;
        margin: 0 auto;
      }
      .testimonial-card {
        padding-inline: 18px;
      }
      .plan-selector {
        grid-template-columns: minmax(0, 1fr);
      }
      .time-slots {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      }
    }

    /* Кнопка управления звуком пластинки */
    .sound-toggle {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 1px solid rgba(96, 165, 250, 0.2);
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      transition: all 0.3s ease;
      box-shadow: var(--shadow-card);
      backdrop-filter: blur(10px);
    }

    .sound-toggle:hover {
      background: var(--bg-elevated);
      border-color: rgba(96, 165, 250, 0.4);
      transform: scale(1.05);
    }

    .sound-toggle:active {
      transform: scale(0.95);
    }

    .sound-toggle.sound-active {
      border-color: rgba(96, 165, 250, 0.6);
      background: rgba(37, 99, 235, 0.1);
    }

    .sound-icon {
      width: 24px;
      height: 24px;
      stroke: currentColor;
      transition: opacity 0.2s ease;
    }

    .sound-icon.sound-off {
      display: none;
    }

    .sound-toggle.sound-active .sound-icon.sound-on {
      display: block;
    }

    .sound-toggle:not(.sound-active) .sound-icon.sound-off {
      display: block;
    }

    .sound-toggle:not(.sound-active) .sound-icon.sound-on {
      display: none;
    }

    @media (max-width: 768px) {
      .sound-toggle {
        display: none !important;
      }

      .pricing-form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .pricing-form-summary {
        position: static;
      }

      /* Скрываем модалку бронирования на мобильных */
      .booking-modal#bookingModal {
        display: none !important;
      }
    }