html, body, img, a, button, video, audio, .gallery-open, .fortune-gallery-open, .collage-photo, .gallery-lightbox-media {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img, video {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body.no-select,
body.no-select *:not(input):not(textarea) {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  user-select: none !important;
}

body.no-callout,
body.no-callout img,
body.no-callout a {
  -webkit-touch-callout: none !important;
}

.protect-media img,
.protect-media video {
  pointer-events: none;
}

    :root {
      --bg-gradient: radial-gradient(circle at center, #850f0f -50%, #080c14 100%);
      --white: #ffffff;
      --text-soft: rgba(255,255,255,0.76);
      --text-muted: rgba(255,255,255,0.58);
      --gold: #f4b816;
      --blue: #16c8f4;
      --red: #ff2b2b;
      --red-strong: #ff1f1f;
      --red-dark: #a10808;
      --line: transparent;
      --card: rgba(255,255,255,0.06);
      --card-strong: rgba(255,255,255,0.1);
      --shadow: 0 20px 60px rgba(0,0,0,0.35);
      --radius: 24px;
      --radius-sm: 16px;
      --max-width: 1320px;
      --header-height: 84px;
      --floating-banner-height: 70px;
      --transition: 0.35s cubic-bezier(.2,.8,.2,1);
      --border-soft: rgba(255,255,255,0.08);
      --section-gap: 65px;
      --scrollbar-size: 10px;
    }

    * {
      box-sizing: border-box;
      margin: 1;
      padding: 0;
      cursor: none !important;
    }

    .custom-cursor {
      position: fixed;
      top: 0;
      left: 0;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: rgba(255, 43, 43, 0.95);
    
      pointer-events: none;
      z-index: 2147483647 !important;
      
      transform: translate(-50%, -50%);
      transition:
        width 0.18s ease,
        height 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease,
        transform 0.08s linear;
      animation: cursorPulse 1.2s infinite ease-in-out;
      will-change: transform, width, height;
      opacity: 0;
    }

    .custom-cursor.active {
      width: 20px;
      height: 20px;
      
    }

    @keyframes cursorPulse {
      0%, 100% {
        opacity: 0.75;
        transform: translate(-50%, -50%) scale(1);
      }
      50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.12);
      }
    }

    html, body {
      background: transparent;
      overflow-x: hidden;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
      width: 0;
      height: 0;
      display: none;
    }

    .custom-scrollbar {
      position: fixed;
      top: 0;
      right: 6px;
      width: 14px;
      height: 100vh;
      z-index: 9998;
      pointer-events: none;
    }

    .custom-scrollbar-track {
      position: absolute;
      inset: 0;
      background: transparent;
    }

    .custom-scrollbar-thumb {
      position: absolute;
      top: 0;
      right: 0;
      width: 14px;
      min-height: 60px;
      border-radius: 999px;
      background: linear-gradient(180deg, #ff4a4a, #ff1f1f);
      
      pointer-events: auto;
      touch-action: none;
      transform: translateY(0);
    }

    body {
      font-family: 'Montserrat', sans-serif;
      background: var(--bg-gradient);
      color: var(--white);
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
      -ms-overflow-style: none;
    }

    body::before,
    body::after {
      content: "";
      position: fixed;
      inset: auto;
      width: 420px;
      height: 420px;
      border-radius: 999px;
      filter: blur(90px);
      pointer-events: none;
      z-index: 0;
      opacity: 0.16;
    }

    body::before {
      top: -120px;
      left: -140px;
      background: rgba(255, 43, 43, 0.25);
    }

    body::after {
      right: -160px;
      bottom: -130px;
      background: rgba(22, 200, 244, 0.18);
    }

    canvas#bg-particles {
      position: fixed;
      inset: 0;
      width: 100%;
      height: 100%;
      z-index: -2;
      background: var(--bg-gradient);
    }

    html {
      background: transparent !important;
    }

    body {
      background: var(--bg-gradient);
    }

    .noise {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 1;
      opacity: 0.06;
      background-image:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.45) 0.7px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.25) 0.6px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(255,255,255,0.3) 0.8px, transparent 1px);
      background-size: 160px 160px, 200px 200px, 180px 180px;
      mix-blend-mode: screen;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      display: block;
      max-width: 100%;
      -webkit-user-drag: none;
      user-select: none;
    }

    button,
    input,
    textarea {
      font: inherit;
      border: none;
      outline: none;
    }

    .container {
      width: min(calc(100% - 32px), var(--max-width));
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .section {
      padding: 20px;
      position: relative;
    }

    .section-title {
      font-weight: 800;
      font-size: clamp(30px, 5vw, 54px);
      line-height: 1;
      letter-spacing: -0.04em;
      margin-bottom: 16px;
      text-wrap: balance;
    }

    .section-subtitle {
      font-weight: 300;
      font-size: clamp(15px, 2vw, 18px);
      line-height: 1.75;
      color: var(--text-soft);
      max-width: 860px;
    }

    .accent-gold { color: var(--gold); }
    .accent-white { color: var(--white); }
    .accent-blue { color: var(--blue); }
    .accent-red { color: var(--red); }

    .site-header {
      display: none;
    }

    .side-dots {
      position: fixed;
      left: 24px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 220;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .dot-link {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: #ffffff;
      display: block;
      transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
      opacity: 0.85;
    }

    .dot-link:hover {
      transform: scale(1.2);
      opacity: 1;
    }

    .dot-link.active {
      background: var(--red);
      animation: dotPulse 1.1s infinite ease-in-out;
      
    }

    @keyframes dotPulse {
      0% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.35); opacity: 0.75; }
      100% { transform: scale(1); opacity: 1; }
    }

    .nav,
    .header-actions,
    .brand {
      display: none;
    }

    .hero-logo {
      display: block;
      width: 100%;
      max-width: 500px;
      height: auto;
      margin-bottom: 10px;
    }

    .auto-tilt-logo {
      transform-style: preserve-3d;
      will-change: transform;
      transition: transform 0.08s linear;
      display: block;
      width: 100%;
      max-width: 500px;
      height: auto;
      margin-bottom: 10px;
    }

    .hero-social-links {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 20px;
      width: 100%;
      padding-right: 10px;
      margin-top: 5px;
    }

    .hero-social-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      opacity: 0.7;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .hero-social-item:hover {
      opacity: 1;
      transform: translateY(-3px);
    }

    .hero-social-item img {
      width: 40px;
      height: 40px;
      object-fit: contain;
    }

    .hero-social-item span {
      font-size: 10px;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .hero-description {
      font-size: 14px;
      font-weight: 700;
      color: var(--text-soft);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .hero-actions .btn {
      min-height: 80px;
      padding: 0 50px;
      font-size: 20px;
    }

    .btn-fortune {
      background: transparent !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      line-height: 0.5;
      padding: 10px 20px;
      color: #FFD700 !important;
      border: 2px solid #FFD700 !important;
      position: relative;
      overflow: visible !important;
      
      transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    .btn-fortune span:first-child {
      font-weight: bold;
      font-size: 1.2em;
    }

    .sub-text {
      font-size: 0.7em;
      font-weight: normal;
      text-transform: none;
      opacity: 0.8;
      margin-top: 4px;
    }

.fortune-gallery-track-wrap {
  overflow: hidden;
  border-radius: 34px;
  position: relative;
}

    .fortune-gallery-track {
  display: flex;
  gap: 18px;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

    .fortune-wrapper:hover .btn-fortune {
      transform: translateY(-3px) scale(1.05) !important;
      
      background: rgba(218, 165, 32, 0.05) !important;
    }

    .fortune-wrapper {
      position: relative;
      display: inline-block;
    }

    .hero {
      padding: 40px 0 64px;
      position: relative;
      overflow: hidden;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      align-items: start;
      gap: 24px;
    }

    .hero-media-column {
      display: flex;
      flex-direction: column;
      gap: 45px;
      align-items: stretch;
      justify-content: flex-start;
    }

    .hero-content {
      display: flex;
      flex-direction: column;
    }

    .hero-video-panel {
      position: relative;
      width: 100%;
      min-height: 400px;
      height: 480px;
      border-radius: 24px;
      overflow: hidden;
    }

    .hero-video-panel::before {
  background: transparent;
}

    .hero-video-panel video,
    .hero-video-panel iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border: 0;
      pointer-events: none;
    }

    .hero-video-overlay {
      position: absolute;
      left: 24px;
      right: 24px;
      bottom: 24px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .hero-video-title {
      font-weight: 800;
      font-size: 28px;
      line-height: 1.1;
    }

    .hero-video-text {
      font-size: 14px;
      line-height: 1.8;
      color: var(--text-soft);
      max-width: 480px;
    }

    .hero-video-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      width: fit-content;
      min-height: 48px;
      padding: 0 18px;
      border-radius: 999px;
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(12px);
      color: #fff;
      font-weight: 700;
      border: 1px solid rgba(255,255,255,0.12);
      transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
    }

    .hero-video-link:hover {
      transform: translateY(-2px);
      background: var(--red);
      
    }

    .hero h1 {
      font-weight: 800;
      font-size: clamp(42px, 7vw, 88px);
      line-height: 0.95;
      letter-spacing: -0.06em;
      margin-bottom: 18px;
      text-wrap: balance;
    }

    .hero h2 {
      font-size: clamp(16px, 2vw, 24px);
      font-weight: 700;
      letter-spacing: 0.18em;
      color: rgba(255,255,255,0.84);
      margin-bottom: 22px;
    }

    .hero p {
      font-weight: 300;
      color: var(--text-soft);
      font-size: clamp(16px, 2.1vw, 19px);
      line-height: 1.85;
      max-width: 720px;
      margin-bottom: 16px;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin: 34px 0;
    }

    .centered-actions {
  justify-content: center !important;
  margin-top: 40px !important; /* Отступ от последнего примера */
  width: 100%;
}

    .nav a,
    .header-btn,
    .btn,
    .social-btn,
    .gallery-arrow,
    .comparison-handle,
    .close-gallery,
    .modal-close,
    .reviews-arrow {
      transition:
        transform var(--transition),
        
        
        opacity var(--transition),
        border-color var(--transition),
        color var(--transition);
    }

    .btn,
    .header-btn,
    .social-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      border-radius: 999px;
      background: #fff;
      color: #000;
      font-weight: 700;
      min-height: 52px;
      padding: 0 22px;
      position: relative;
      overflow: hidden;
    }

    .btn span,
    .header-btn span,
    .social-btn span {
      position: relative;
      z-index: 1;
    }

    .btn:hover,
    .header-btn:hover {
      background: var(--red);
      color: #fff;
      transform: translateY(-3px) scale(1.01);
      
    }

    .btn-outline {
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.22);
    }

    .btn-outline:hover {
      background: rgba(255,255,255,0.06);
      color: #fff;
      border-color: var(--red);
    }

    .hero-metrics {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      max-width: 760px;
      margin-top: 6px;
    }

    .metric {
      padding: 0;
      overflow: hidden;
      min-height: 150px;
      position: relative;
    }

    .metric-inner {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      min-height: 150px;
      padding: 20px;
    }

    .metric-inner strong {
      display: block;
      font-weight: 800;
      font-size: clamp(20px, 3vw, 32px);
      margin-bottom: 8px;
    }

    .metric-inner span {
      font-weight: 300;
      font-size: 13px;
      line-height: 1.6;
      color: var(--text-soft);
    }

    .discount-badge {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-height: 46px;
      padding: 12px 18px;
      margin-top: 18px;
      border-radius: 999px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      color: #fff;
      font-size: 13px;
      font-weight: 700;
    }

    .hero-visual {
      position: relative;
      min-height: 660px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-main-card {
      width: 100%;
      height: 540px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      border-radius: 34px;
      overflow: hidden;
      position: relative;
      z-index: 1;
      border: 1px solid rgba(255,255,255,0.08);
      
    }

    .hero-main-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(8,12,20,0.5), rgba(8,12,20,0.08));
    }

    .promo-marquee-section {
      padding: 8px 0 0;
    }

    .promo-marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--red);
  backdrop-filter: blur(14px);
  animation: marqueeBgSwap 2s steps(1, end) infinite;
}

@keyframes marqueeBgSwap {
  0%, 33.2% {
    background: var(--red);
  }
  33.3%, 66.2% {
    background: var(--gold);
  }
  66.3%, 100% {
    background: var(--white);
  }
  
}

    .promo-marquee-track {
      display: flex;
      width: max-content;
      animation: marqueeRun 18s linear infinite;
      will-change: transform;
    }

    .promo-marquee-item {
      flex: 0 0 auto;
      display: inline-flex;
      align-items: center;
      gap: 18px;
      min-height: 64px;
      padding: 0 26px;
      font-size: clamp(14px, 2vw, 22px);
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #000;
      white-space: nowrap;
    }

    .promo-marquee-item b {
      color: #fff;
      background: #000;
      border-radius: 999px;
      padding: 7px 14px;
      font-size: 0.88em;
    }

    @keyframes marqueeRun {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }

    .cards-grid {
      display: grid;
      gap: 16px;
    }


.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.service-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-card-image-wrap {
  position: relative;
}

.cart-qty-overlay {
  position: absolute;
  top: 24px;
  right: calc(50% - 110px);
  z-index: 5;
  padding: 6px 12px;
  color: var(--red);
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cart-qty-overlay.hidden {
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
}

.service-card-image {
  width: 50%;
  height: 160px;
  object-fit: cover;
  display: block;
  margin: 16px auto 0;
  border-radius: 16px;
}

.service-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  /* Добавляем центрирование для всего содержимого */
  text-align: center; 
}

.service-card-body h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.25;
  color: var(--gold);
  /* Гарантируем центрирование заголовка */
  width: 100%;
}

.service-card-body p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
  flex: 1;
  /* Центрируем текст описания для симметрии */
  text-align: center;
}

.service-actions {
  display: flex;
  align-items: center;
  /* Центрируем кнопки по горизонтали */
  justify-content: center; 
  gap: 12px;
  margin-top: auto;
  /* Чтобы кнопки не растягивались на весь контейнер, если их мало */
  width: 100%;
}

.service-actions .book-btn {
  /* Убираем flex: 1, чтобы кнопка имела размер по контенту, 
     либо оставляем, если нужно, чтобы они делили место поровну */
  flex: 0 1 auto; 
  margin: 0;
  min-width: 160px; /* Задаем комфортную ширину кнопке */
  padding: 0 20px;
  height: 48px;
}

.cart-btn {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 14px;
}

/* Кнопки в одну линию */
.service-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto; /* Прижимает к низу */
}

.service-actions .book-btn {
  flex: 1; /* Кнопка бронирования растягивается */
  margin: 0;
}

.cart-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.cart-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

    .pricing-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      margin-top: 42px;
    }

    .card {
      position: relative;
      border-radius: 30px;
      padding: 30px;
      overflow: hidden;
      isolation: isolate;
      transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
     
      backdrop-filter: blur(16px);
    }

    .card::before {
      content: "";
      position: absolute;
      inset: auto -20% -55% auto;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      
      z-index: -1;
    }

    .card-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 50px;
      height: 50px;
      border-radius: 16px;
      background: rgba(255,255,255,0.12);
      color: #fff;
      font-size: 15px;
      font-weight: 800;
      margin-bottom: 18px;
    }

    .card h3 {
      font-weight: 800;
      font-size: 25px;
      line-height: 1.15;
      margin-bottom: 14px;
      text-wrap: balance;
    }

    .card p {
      font-weight: 300;
      color: var(--text-soft);
      font-size: 14px;
      line-height: 1.8;
      margin-bottom: 18px;
    }

    .card ul {
      list-style: none;
      display: grid;
      gap: 10px;
    }

    .card ul li {
      font-size: 13px;
      line-height: 1.6;
      
      position: relative;
      padding-left: 18px;
    }

    .card ul li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.55em;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      
    }

    .flip-card {
  perspective: 1400px;
  min-height: unset;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: visible;
}
    .flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: unset;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(.2,.8,.2,1);
}

    .flip-card.flipped .flip-inner {
      transform: rotateY(180deg);
    }

    .flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  
  
}

    .flip-front {
  position: absolute;
  inset: 0;
  padding: 0 !important;
  margin: 0;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  
}

    .flip-front::before {
  content: none;
}

.flip-front > *:not(.flip-image):not(.image-loader-ring):not(.flip-front-cta) {
  display: none !important;
}

.flip-front .flip-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1);
  z-index: 0;
}

.flip-card:hover .flip-image {
  transform: scale(1.05);
  filter: none;
}

.flip-card:hover .flip-image {
  transform: scale(1.08);
  
}

.flip-front-cta {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 5%, 28px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
  color: #fff;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0,0,0,0.9);
  pointer-events: none;
  white-space: nowrap;
}

.front-arrow {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.7));
}

.flip-back .pack-letter {
  margin-bottom: 10px;
  flex-shrink: 0;
}

    .flip-back {
  transform: rotateY(180deg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  /* Убираем justify-content: space-between, чтобы управлять отступами вручную */
  justify-content: flex-start; 
  align-items: center;
  text-align: left;
  overflow: hidden;
  box-sizing: border-box;
}


.package-description {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.package-bottom {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.package-bottom .price-group {
  width: 100%;
  margin-top: 0;
  text-align: center;
}

.package-bottom .book-btn {
  margin-top: 14px;
  align-self: center;
}

    .flip-back h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
  color: #fff;
  text-wrap: balance;
}

    .flip-back p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-soft);
  margin: auto 0; /* МАГИЯ ТУТ: margin: auto центрирует этот блок между верхом и ценами */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
}

.flip-back .price-main {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin: 0;
}

.price-main-gold {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin: 0;
}

.price-main-red {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin: 0;
}

.price-main-day {
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin: 0;
}

.price-main-night {
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin: 0;
}

.price-group {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  text-align: center;
}

.flip-back .price-old {
  font-size: 18px;
  font-weight: 700;
  color: #fff; /* Сами цифры будут белыми */
  position: relative;
  display: inline-block;
  margin: 0 auto;
  text-decoration: none; /* Отключаем стандартное зачеркивание */
}

.flip-back .price-old::after {
  content: "";
  position: absolute;
  left: -5%;
  top: 50%;
  width: 110%;
  height: 2px;
  background-color: var(--red); /* Цвет линии из ваших переменных */
  transform: rotate(-12deg); /* Наклон линии наискосок */
  transform-origin: center;
  box-shadow: 0 0 8px rgba(255, 43, 43, 0.4); /* Легкое свечение линии */
}

.flip-back .btn.book-btn {
  align-self: center;
  margin-top: 15px; /* Фиксированный отступ от блока цен */
  width: min(100%, 220px);
  flex-shrink: 0; /* Чтобы кнопка не сжималась */
}

.flip-back .price-note,
.flip-back .price-discount {
  margin-left: auto;
  margin-right: auto;
}

    .flip-hint {
      display: inline-flex;
      width: fit-content;
      margin-top: 14px;
      padding: 10px 14px;
      border-radius: 999px;
      
      font-size: 12px;
      font-weight: 700;
      color: #fff;
    }

    .pack-letter {
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 2px;
}

.or {
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 2px;
}

    .book-btn {
      width: auto !important;
      min-width: 170px;
      max-width: 220px;
      margin-top: 20px;
      padding: 0 18px;
      align-self: flex-start;
    }

    .split {
      display: grid;
      grid-template-columns: 0.95fr 1.05fr;
      gap: 26px;
      margin-top: 42px;
      align-items: stretch;
    }

    .about-visual,
    .about-content {
      min-height: 100%;
    }

    .about-visual {
  background: transparent !important;
  position: relative;
}

.about-visual::after {
  background: transparent !important;
}

    .about-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.9;
    }

    .about-visual::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(8,12,20,0.82), rgba(8,12,20,0.18));
    }

    .about-badge {
      position: absolute;
      left: 24px;
      bottom: 30px;
      z-index: 2;
      max-width: 300px;
      padding: 18px 20px;
    }

    .about-badge strong {
      display: block;
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .about-badge p {
      font-size: 13px;
      font-weight: 300;
      line-height: 1.7;
      color: var(--text-soft);
    }

    .about-content {
      display: grid;
      gap: 20px;
    }

    .feature {
      border-radius: 28px;
      padding: 2px;
      transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
    }

    .feature h3 {
      font-weight: 800;
      font-size: 22px;
      margin-bottom: 12px;
    }

    .feature p {
      font-weight: 300;
      color: var(--text-soft);
      font-size: 14px;
      line-height: 1.85;
    }

    .feature-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .portfolio-collage-shell {
      margin-top: 42px;
      position: relative;
      padding: 0 72px;
    }

    .portfolio-collage-track-wrap {
      overflow: hidden;
      border-radius: 34px;
      position: relative;
    }

    .portfolio-collage-track {
      display: flex;
      gap: 18px;
      transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
      will-change: transform;
    }

    .portfolio-slide {
      flex: 0 0 calc((100% - 36px) / 3);
    }

    .collage-photo {
      position: relative;
      overflow: hidden;
      border-radius: 24px;  
      aspect-ratio: 1 / 1;
    }

    

    .collage-photo button {
      width: 100%;
      height: 100%;
      display: block;
      background: transparent;
      cursor: pointer;
      position: relative;
    }

    .collage-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.9s ease;
    }

    .collage-photo:hover img {
      transform: scale(1.05);
    }

    

    .photo-meta {
      position: absolute;
      left: 14px;
      bottom: 14px;
      z-index: 2;
    }

    .photo-badge {
      min-width: 36px;
      height: 36px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.14);
      backdrop-filter: blur(10px);
      font-size: 12px;
      font-weight: 800;
      color: #fff;
    }

    .photo-horizontal {
      aspect-ratio: 16 / 10;
    }

    .photo-vertical {
      aspect-ratio: 3 / 4;
    }

    .photo-square {
      aspect-ratio: 1 / 1;
    }

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  background: transparent;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  border: none;
}

.reviews-arrow.prev {
  left: -84px;
}

.reviews-arrow.next {
  right: -84px;
}

.reviews-arrow:hover {
  color: var(--red);
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 900px) {
  .reviews-carousel-shell {
    padding: 0 56px;
  }

  .reviews-arrow.prev {
    left: 8px;
  }

  .reviews-arrow.next {
    right: 8px;
  }

  .reviews-arrow {
    width: 52px;
    height: 52px;
    font-size: 40px;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
  }
}

    .gallery-arrow,
    .reviews-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 68px;
      height: 68px;
      
      background: rgba(255,255,255,0.00);
      color: #fff;
     
      
      font-size: 52px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      z-index: 3;
    }

    .gallery-arrow:hover,
    .reviews-arrow:hover {
      background: transparent;
      color: var(--red);
      
      transform: translateY(-50%) scale(1.08);
      
    }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  background: transparent;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.gallery-arrow.prev {
  left: -90px;
}

.gallery-arrow.next {
  right: -90px;
}

.gallery-arrow:hover {
  background: transparent;
  color: var(--red);
  transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox-caption {
  width: 100%;
  padding: 0 4px;
}


@media (max-width: 900px) {
  .gallery-arrow.prev {
    left: 8px;
  }

  .gallery-arrow.next {
    right: 8px;
  }

  .gallery-arrow {
    width: 52px;
    height: 52px;
    font-size: 40px;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
  }
}

    .gallery-arrow:disabled,
    .reviews-arrow:disabled {
      opacity: 0.35;
      pointer-events: none;
    }

    .gallery-dots,
    .reviews-dots {
      margin-top: 20px;
      display: flex;
      justify-content: center;
      gap: 10px;
    }

    .gallery-dot,
    .reviews-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid rgba(255,255,255,0.18);
      transition: transform var(--transition), background var(--transition), width var(--transition), opacity var(--transition);
      opacity: 0.7;
    }

    .gallery-dot.active,
    .reviews-dot.active {
      width: 28px;
      opacity: 1;
      background: red;
    }

    .portfolio-caption-panel {
      margin-top: 22px;
      padding: 22px 24px;
      border-radius: 26px;
      background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
      border: 1px solid rgba(255,255,255,0.08);
      backdrop-filter: blur(14px);
    }

    .portfolio-caption-panel p {
      font-size: 14px;
      line-height: 1.8;
      color: var(--text-soft);
    }

    @media (max-width: 1180px) {
      .portfolio-slide {
        flex: 0 0 calc((100% - 18px) / 2);
      }

      .review-slide {
    flex: 0 0 calc((100% - 18px) / 2);
  }
    }

    @media (max-width: 768px) {
      .portfolio-slide {
        flex: 0 0 100%;
      }

      .review-slide {
    flex: 0 0 100%;
  }
    }

    .reviews-section {
      padding-top: 18px;
    }

    .reviews-carousel-shell {
      margin-top: 42px;
      position: relative;
      padding: 0 72px;
    }

    .reviews-carousel-track-wrap {
      overflow: hidden;
      border-radius: 34px;
      position: relative;
    }

    .reviews-carousel-track {
      display: flex;
      gap: 18px;
      transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
      will-change: transform;
    }

    .review-slide {
  flex: 0 0 calc((100% - 36px) / 3);
}

    .review-card {
  position: relative;
  min-height: 240px;
  height: 100%;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  overflow: hidden;
  padding-top: 48px;
  box-sizing: border-box;
}

    .review-rating {
      position: absolute;
      top: 15px;
      right: 15px;
      background: var(--red);
      color: #fff;
      font-size: 12px;
      font-weight: 800;
      padding: 4px 8px;
      border-radius: 8px;
      
    }

    .rating-green { background: #28a745; }
    .rating-orange { background: #ffc107; }

    .review-top {
      color: #000;
      display: block;
      margin-bottom: 8px;
    }

    .review-name {
      display: block;
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 4px;
      color: #fff;
    }

    .review-stars {
      display: block;
      font-size: 14px;
      color: var(--gold);
      letter-spacing: 1px;
      white-space: nowrap;
    }

    .review-text {
      font-size: 13px;
      line-height: 1.7;
      color: var(--text-soft);
      font-weight: 300;
      margin-top: 12px;
    }

    .review-rating-wrap {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.review-rating {
  position: static;
}

.review-social-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.review-social-icon svg {
  width: 13px;
  height: 13px;
  fill: #fff;
}


.review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.review-social-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
  overflow: hidden;
}

.review-social-btn img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  display: block;
}
    .before-after-section .section-subtitle {
      margin-bottom: 0;
    }

    .before-after-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .comparison-card {
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

.audio-player-block {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.audio-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  column-gap: 18px;
  padding: 14px 16px;
  border-radius: 18px;
}

.audio-row .label {
  width: 90px;
  min-width: 90px;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.06em;
}

.audio-row .label.after {
  color: var(--gold);
}

.custom-audio-player {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

    /* Стилизация стандартного плеера для темной темы */
    audio {
  width: 100%;
  height: 38px;
  background: transparent;
  border: none;
  outline: none;
  accent-color: var(--red);
}

/* Chrome / Edge / Safari */
audio::-webkit-media-controls-panel {
  background: transparent;
  border: none;
}

audio::-webkit-media-controls-enclosure {
  background: transparent;
}

audio::-webkit-media-controls-play-button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  margin-left: 6px;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
}

audio::-webkit-media-controls-timeline {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  margin: 0 10px;
}

audio::-webkit-media-controls-volume-slider {
  accent-color: var(--red);
}

audio::-webkit-media-controls-mute-button {
  filter: brightness(0) invert(1);
}

/* Firefox — частично */
audio {
  accent-color: var(--red);
}

    .comparison-footer p {
      font-size: 13px;
      color: var(--text-soft);
      line-height: 1.6;
    }

    .comparison-head {
      position: absolute;
      top: 18px;
      left: 18px;
      right: 18px;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      pointer-events: none;
    }

    .comparison-head strong {
      font-size: 18px;
      font-weight: 800;
      text-shadow: 0 2px 20px rgba(0,0,0,0.4);
    }

    .comparison-labels {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .comparison-label {
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(10px);
      color: #fff;
    }

    .comparison-label.after {
      background: rgba(255,43,43,0.82);
    }

    .comparison-stage {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 420px;
      overflow: hidden;
      cursor: ew-resize;
    }

    .comparison-before,
    .comparison-after {
      position: absolute;
      inset: 0;
    }

    .comparison-before img,
    .comparison-after img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .comparison-after {
      width: 50%;
      overflow: hidden;
      border-right: 2px solid rgba(255,255,255,0.72);
    }

    .comparison-handle {
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 42px;
      height: 100%;
      z-index: 4;
      background: transparent;
      cursor: ew-resize;
    }

    .comparison-handle::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 42px;
      height: 42px;
      transform: translate(-50%, -50%);
      border-radius: 999px;
      background: rgba(255,43,43,0.92);
     
    }

    .comparison-handle::after {
      content: "↔";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -52%);
      color: #fff;
      font-weight: 800;
      font-size: 18px;
      z-index: 1;
    }

    .comparison-footer {
      padding: 18px 20px 20px;
      border-top: 1px solid rgba(255,255,255,0.08);
      background: linear-gradient(180deg, rgba(8,12,20,0.58), rgba(8,12,20,0.78));
    }

    .comparison-footer p {
      font-size: 13px;
      line-height: 1.8;
      color: var(--text-soft);
    }

    .price-card {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .price-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
    }

    .price-card h3 {
      margin-bottom: 0;
    }

    .price {
      font-size: 30px;
      font-weight: 800;
      white-space: nowrap;
    }

    .price small {
      display: block;
      font-size: 12px;
      color: var(--text-muted);
      font-weight: 300;
      margin-top: 4px;
    }

    .price-note {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.7;
    }

    .price-discount {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      width: fit-content;
      min-height: 38px;
      padding: 0 14px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      color: #fff;
      background: linear-gradient(135deg, rgba(255,43,43,0.42), rgba(255,112,112,0.32));
    }

    .contact-wrap {
      display: grid;
      grid-template-columns: 100px 1fr;
      gap: 24px;
      margin-top: 42px;
    }

    .contact-panel,
    .form-card {
      border-radius: 30px;
      padding: 30px;
      border: 1px solid rgba(255,255,255,0.08);
      background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
      backdrop-filter: blur(16px);
    }

    .contact-panel h3,
    .form-card h3 {
      font-weight: 800;
      margin-bottom: 14px;
    }

    .contact-panel h3 { font-size: 26px; }
    .form-card h3 { font-size: 28px; }

    .contact-panel p,
    .form-card > p {
      color: var(--text-soft);
      font-size: 14px;
      line-height: 1.9;
      font-weight: 300;
      margin-bottom: 22px;
    }

    .contact-lines {
      display: grid;
      gap: 14px;
      margin-bottom: 24px;
    }

    .contact-line {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 16px;
      
    }

    .contact-icon {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(255,255,255,0.1);
      font-size: 18px;
      flex: 0 0 auto;
    }

    .contact-line strong {
      display: block;
      font-size: 13px;
      font-weight: 700;
      margin-bottom: 3px;
    }

    .contact-line span,
    .contact-line a {
      font-size: 14px;
      color: var(--text-soft);
      font-weight: 300;
      word-break: break-word;
    }

    /* === CONTACTS MAP BLOCK === */
    .contacts {
      scroll-margin-top: 18px;
    }

    .contacts-card {
      border-radius: 30px;
      padding: 16px;
      display: grid;
      gap: 16px;
      overflow: hidden;
      
    }

    .map-wrap {
      position: relative;
      height: clamp(280px, 45vw, 420px);
      border-radius: 24px;
      overflow: hidden;
      background: #111;
    }

    #map-wrap [class*="ground-pane"] {
      -webkit-filter: grayscale(1) saturate(0) !important;
      filter: grayscale(1) saturate(0) !important;
    }
     
    .route-note {
      color: var(--text-soft);
      font-size: 14px;
      line-height: 1.65;
      font-weight: 300;
      padding: 0 4px;
      text-align: left;
    }

    .contacts-socials {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      padding-top: 2px;
    }

    .contacts-socials img {
      width: 38px;
      height: 38px;
      object-fit: contain;
    }

    .socials {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .social-btn {
      min-height: 48px;
      padding: 0;
      width: 48px;
      background: transparent;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.16);
    }

    .social-btn:hover {
      background: rgba(255,255,255,0.06);
      color: #fff;
      border-color: #fff;
      transform: translateY(-2px);
    }

    .social-btn svg {
      width: 22px;
      height: 22px;
      fill: currentColor;
      display: block;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    .field {
      display: grid;
      gap: 10px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    .field label {
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 700;
      color: rgba(255,255,255,0.84);
    }

    .field input,
    .field textarea {
      width: 100%;
      background: rgba(255,255,255,0.06);
      color: #fff;
      border-radius: 18px;
      padding: 16px 18px;
      border: 1px solid rgba(255,255,255,0.08);
      transition: border-color var(--transition), background var(--transition), transform var(--transition);
    }

    .field input::placeholder,
    .field textarea::placeholder {
      color: rgba(255,255,255,0.36);
    }

    .field input:focus,
    .field textarea:focus {
      transform: translateY(-1px);
      border-color: rgba(255,43,43,0.56);
      background: rgba(255,255,255,0.08);
    }

    .field textarea {
      min-height: 150px;
      resize: vertical;
    }

    .form-hint {
      margin-top: 10px;
      font-size: 12px;
      line-height: 1.75;
      color: var(--text-muted);
    }

    .form-actions {
      margin-top: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .footer {
      padding: 30px 0 50px;
    }

    .footer-wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 18px;
      border-top: 1px solid transparent;
      padding-top: 24px;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 300;
      flex-wrap: wrap;
    }

    .footer-center {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      gap: 8px;
    }

    .modal {
      position: fixed;
      inset: 0;
      z-index: 500;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .modal.active {
      display: flex;
    }

    .modal-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(3,6,12,0.8);
      backdrop-filter: blur(12px);
    }

    .modal-dialog {
      position: relative;
      z-index: 2;
      width: min(100%, 640px);
      border-radius: 28px;
      background: linear-gradient(180deg, rgba(20,25,38,0.98), rgba(10,14,24,0.98));
      padding: 30px;
      animation: modalIn 0.36s cubic-bezier(.2,.8,.2,1);
      border: 1px solid rgba(255,255,255,0.08);
    }

    @keyframes modalIn {
      from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      background: #fff;
      color: #000;
      font-size: 20px;
      font-weight: 700;
    }

    .modal-close:hover {
      transform: rotate(90deg) scale(1.04);
    }

    .modal-dialog h3 {
      font-size: 30px;
      font-weight: 800;
      margin-bottom: 12px;
      max-width: calc(100% - 56px);
    }

    .modal-dialog p {
      font-size: 14px;
      line-height: 1.9;
      font-weight: 300;
      color: var(--text-soft);
      margin-bottom: 20px;
    }

    .modal-list {
      list-style: none;
      display: grid;
      gap: 12px;
      margin-bottom: 20px;
    }

    .modal-list li {
      padding: 14px 16px;
      border-radius: 16px;
      background: rgba(255,255,255,0.05);
      font-size: 14px;
      line-height: 1.7;
      color: rgba(255,255,255,0.92);
    }

    .gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

    .gallery-lightbox.active {
      display: flex;
    }

    .gallery-lightbox-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(2,5,10,0.92);
      backdrop-filter: blur(14px);
    }

    .gallery-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  overflow: visible;
}

    .gallery-lightbox-media {
  position: relative;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-media img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 30px;
}

    .gallery-lightbox-info {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 18px;
      padding: 0 4px;
    }

    .gallery-lightbox-info strong {
      display: block;
      font-size: 20px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .gallery-lightbox-info p {
      font-size: 14px;
      line-height: 1.8;
      color: var(--text-soft);
      max-width: 720px;
    }

    .gallery-lightbox-btn:hover,
    .close-gallery:hover {
      background: var(--red);
      transform: scale(1.05);
    }

    .close-gallery {
      position: absolute;
      top: 18px;
      right: 18px;
      z-index: 4;
      background: rgba(255,255,255,0.12);
      width: 52px;
      height: 52px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      border: 1px solid rgba(255,255,255,0.12);
      backdrop-filter: blur(12px);
      font-size: 22px;
      font-weight: 700;
    }

    .cursor {
      display: none !important;
    }

    .tilt-card {
      transform-style: preserve-3d;
      will-change: transform;
      transition:
        box-shadow var(--transition),
        background var(--transition),
        border-color var(--transition);
    }

    .tilt-card > * {
      transform: translateZ(22px);
    }

    .tilt-card::before {
      transform: translateZ(8px);
    }

    .reveal {
      opacity: 0;
      transform: translateY(36px) scale(0.985);
      transition:
        opacity 0.8s cubic-bezier(.2,.8,.2,1),
        transform 0.8s cubic-bezier(.2,.8,.2,1);
      will-change: opacity, transform;
    }

    .reveal.revealed {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .reveal-delay-1 { transition-delay: 0.08s; }
    .reveal-delay-2 { transition-delay: 0.16s; }
    .reveal-delay-3 { transition-delay: 0.24s; }
    .reveal-delay-4 { transition-delay: 0.32s; }

    @media (max-width: 1180px) {
      .hero-grid,
      .split,
      .contact-wrap,
      .services-grid,
      .pricing-grid,
      .before-after-grid {
        grid-template-columns: 1fr;
      }

      .hero-video-panel {
        min-height: 440px;
      }

      .portfolio-slide {
        flex: 0 0 calc((100% - 18px) / 2);
      }

      .review-slide {
  flex: 0 0 calc((100% - 54px) / 4);
}
    }

    @media (max-width: 960px) {
      .hero-metrics,
      .feature-row,
      .form-grid {
        grid-template-columns: 1fr;
      }

      .hero {
        padding-top: 34px;
      }

      .section {
        padding: 78px 0;
      }

      .portfolio-collage-shell,
      .reviews-carousel-shell {
        padding: 0 60px;
      }

      .floating-promo-bar {
        width: min(calc(100% - 20px), 760px);
        padding: 12px 16px;
        gap: 10px;
        flex-wrap: wrap;
        border-radius: 24px;
      }
    }

    @media (max-width: 768px) {
      .side-dots {
        left: 12px;
        gap: 12px;
      }

      .dot-link {
        width: 12px;
        height: 12px;
      }

      .portfolio-slide {
        flex: 0 0 100%;
      }

      .portfolio-collage-shell,
      .reviews-carousel-shell {
        padding: 0 48px;
      }

      .gallery-arrow,
      .reviews-arrow {
        width: 46px;
        height: 46px;
        font-size: 22px;
      }

      .floating-promo-bar {
        top: 10px;
      }

      main {
        padding-top: 92px;
      }

      .promo-marquee-item {
        min-height: 54px;
      }

      .comparison-card,
      .comparison-stage {
        min-height: 360px;
      }

      .hero-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 640px) {
      :root {
        --header-height: 72px;
      }

      .container {
        width: min(calc(100% - 20px), var(--max-width));
      }

      .header-btn,
      .btn,
      .social-btn {
        min-height: 48px;
        padding: 0 18px;
        font-size: 14px;
      }

      .hero h1 {
        margin-bottom: 18px;
      }

      .hero p {
        margin-bottom: 18px;
      }

      .hero-video-panel {
        min-height: 340px;
      }

      .hero-video-overlay {
        left: 16px;
        right: 16px;
        bottom: 16px;
      }

      .hero-video-title {
        font-size: 22px;
      }

      .service-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.cart-btn {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cart-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(244, 184, 22, 0.55);
}

.cart-btn i {
  font-size: 18px;
}

      .card,
      .feature,
      .contact-panel,
      .form-card,
      .modal-dialog {
        padding: 22px;
        border-radius: 24px;
      }

.card.flip-card {
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

      .about-visual {
        min-height: 420px;
      }

      .about-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
      }

      .modal-dialog h3 {
        font-size: 24px;
      }

      .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
      }

      .portfolio-collage-shell,
      .reviews-carousel-shell {
        padding: 0 40px;
      }

      .gallery-lightbox {
        padding: 14px;
      }

      .gallery-lightbox-media,
      .gallery-lightbox-media img {
        min-height: 58vh;
        height: 58vh;
      }

      .gallery-lightbox-info {
        flex-direction: column;
      }

      .book-btn {
  min-height: 52px;
}

      .floating-promo-bar .promo-cta {
        min-height: 36px;
      }
    }

    .audio-player-block {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.audio-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  
}

.audio-row .label {
  min-width: 62px;
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.06em;
}

.audio-row .label.after {
  color: var(--gold);
}

.custom-audio-player {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.audio-play-btn,
.audio-mute-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.audio-play-btn i,
.audio-mute-btn i {
  font-size: 18px;
  line-height: 1;
  color: currentColor;
  position: relative;
  z-index: 2;
}

.audio-play-btn:hover,
.audio-mute-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.18);
  transform: scale(1.06);
}

.audio-play-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 43, 43, 0.7);
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  z-index: 1;
}

.audio-play-btn:hover::after {
  opacity: 1;
  animation: audioPulse 1.2s infinite ease-out;
}

.audio-play-btn::before,
.audio-mute-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}

@keyframes audioPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.audio-progress-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
}

.audio-progress {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.audio-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff4a4a, #ff1f1f);
  box-shadow: 0 0 18px rgba(255, 43, 43, 0.35);
  transition: width 0.08s linear;
}

.audio-time {
  min-width: 48px;
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.audio-volume-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.audio-mute-btn {
  width: 38px;
  height: 38px;
  background: #fff;
  color: var(--red);
}

.audio-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 110px;
  height: 4px;
  border-radius: 999px;
  background: transparent;
  outline: none;
  cursor: pointer;
  --val: 100;
  --track-bg: rgba(255,255,255,0.32);
  --fill-bg: linear-gradient(90deg, #ff4a4a, #ff1f1f);
}

.audio-volume-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    #ff2b2b 0%,
    #ff2b2b calc(var(--val) * 1%),
    rgba(255,255,255,0.95) calc(var(--val) * 1%),
    rgba(255,255,255,0.95) 100%
  );
}

.audio-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ff2b2b;
  margin-top: -4px;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.audio-volume-slider::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.32);
}

.audio-volume-slider::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--red);
}

.audio-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ff2b2b;
}

.fortune-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 12px;
}

.fortune-info-card {
  border-radius: 30px;
  padding: 10px; /* Увеличил отступы */
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* Выравнивание кнопок по низу списка */
  gap: 40px;
}

.fortune-text-side {
  flex: 1;
}

.fortune-info-card,
.fortune-gallery-card {
  border-radius: 30px;
  padding: 10px;
  
}

.fortune-gallery-card {
  border-radius: 30px;
  padding: 30px;
  
}

.fortune-info-card p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 24px;
}

.fortune-right-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  padding-bottom: 10px;
}

.fortune-action-logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 20px;
}

.fortune-buttons-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.fortune-right-actions .btn,
.fortune-right-actions .btn-fortune {
  min-height: 80px;
  min-width: 240px;
  padding: 0 40px;
  font-size: 18px;
}

.fortune-features {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.fortune-features li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.fortune-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(244,184,22,0.55);
}

.fortune-gallery-shell {
  margin-top: 42px;
  position: relative;
  padding: 0 72px;
}

#fortuneTrack {
  display: flex;
  gap: 18px;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.fortune-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
}

.fortune-slide .collage-photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1 / 1;
}

.fortune-slide .collage-photo button {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  background: transparent;
  border: none;
}

.fortune-slide .collage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}

.fortune-slide .collage-photo:hover img {
  transform: scale(1.05);
}

.fortune-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.fortune-collage-shell {
  margin-top: 42px;
  position: relative;
  padding: 0 72px;
}

.fortune-actions .btn,
.fortune-actions .btn-fortune {
  min-height: 80px;
  padding: 0 50px;
  font-size: 20px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.faq-item {
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}

.pop-up-wrapper {
  position: fixed;
  bottom: 30px;
  left: -500px;
  z-index: 9999;
  transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pop-up-wrapper.active {
  left: 30px;
}

.pop-up-content {
  position: relative;
  border-radius: 20px;
  background: rgba(20, 20, 20, 0.03);
  backdrop-filter: blur(15px);
  padding: 25px 80px 25px 25px; /* Большой отступ справа для человечка */
  width: 420px;
}

.pop-up-text p {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.pop-up-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pop-btn {
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}

.contact-btn {
  background: var(--red);
  color: white;
}

.book-btn-pop {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.pop-up-man {
  position: absolute;
  right: -30px; /* Выходит за границы окна */
  bottom: 0;
  height: 250px; /* Отрегулируйте под вашу картинку */
  pointer-events: none; /* Чтобы не мешал кликам */
}

.pop-up-close {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 30px;
  cursor: pointer;
}

/* Кнопка корзины над стрелкой */
.cart-floating-wrap {
  position: fixed;
  right: 30px;
  bottom: 92px;
  z-index: 1001;
  display: none;
}

.cart-floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  color: #000;
  font-size: 20px;
  cursor: pointer;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 2px solid #000;
}

.cart-dialog {
  width: min(100%, 560px);
}

.cart-items-list {
  margin: 18px 0 22px;
  display: grid;
  gap: 12px;
  max-height: 300px;
  overflow: auto;
}


.cart-modal-white {
  width: min(100%, 720px);
  background: #fff;
  color: #111;
}

.cart-modal-white .cart-modal-title {
  color: #111;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cart-items-list-white {
  margin: 16px 0 20px;
  display: grid;
  gap: 10px;
  max-height: 280px;
  overflow: auto;
}

.empty-msg-dark {
  color: rgba(0, 0, 0, 0.55);
  margin: 0;
}

.cart-item-white {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cart-item-left {
  min-width: 0;
  flex: 1;
}

.cart-item-title-white {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  margin-bottom: 8px;
}

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-qty-btn,
.cart-item-remove-white {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f0f0f0; /* Светлый фон в обычном состоянии */
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.25s ease;
}

.cart-qty-btn:hover,
.cart-item-remove-white:hover {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red);
  transform: scale(1.05);
}

.cart-qty-value {
  min-width: 34px;
  text-align: center;
  font-weight: 700;
  color: #111;
}

.cart-send-block {
  margin-top: 8px;
  padding-top: 14px;
}

.cart-send-title {
  font-size: 16px;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
}

.cart-order-form-white {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-form-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  .cart-form-row {
    grid-template-columns: 1fr;
  }

  .cart-modal-white {
    transform: none !important;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
}

@media (max-width: 480px) {
  .pop-up-wrapper {
    left: -110%;
    bottom: 30px;
    width: calc(100% - 30px);
  }

  .pop-up-wrapper.active {
    left: 15px;
  }
}

@media (max-width: 1024px) {
  .fortune-info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .fortune-features li {
    text-align: left;
  }
  .fortune-right-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

    /* Кнопка "Вверх" / "На блок выше" */
    .scroll-up-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--red);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transform: translateY(20px);
      transition: all 0.4s cubic-bezier(.2,.8,.2,1);
    }

    .scroll-up-btn.visible {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .scroll-up-btn:hover {
      background: var(--white);
      color: var(--red);
      transform: scale(1.1);
    }

    .cart-order-form-white input {
  width: 100%;
  background: #fff;
  padding: 13px 14px;
  border-radius: 14px;
  color: #111;
  outline: none;
  border: 1px solid rgba(0,0,0,0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.cart-form-error {
  min-height: 20px;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  text-align: center;
}

.cart-input-error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.12);
  animation: cartFieldBlink 0.35s ease 2;
}

.contact-modal-white {
  width: min(100%, 720px);
  background: #fff;
  color: #111;
  position: relative;
}

.contact-modal-white .cart-modal-title {
  color: #111;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-right: 56px;
}

.contact-modal-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-modal-form input {
  width: 100%;
  background: #fff;
  padding: 13px 14px;
  border-radius: 14px;
  color: #111;
  outline: none;
  border: 1px solid rgba(0,0,0,0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-modal-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.12);
}

.contact-modal-separator {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17,17,17,0.75);
  line-height: 1.6;
  margin: 10px 0 16px;
}

.contact-modal-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.contact-social-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-social-btn:hover {
  transform: translateY(-2px);
  background: #ff3b3b;
}

.contact-social-btn i {
  color: #fff;
}

@media (max-width: 640px) {
  .contact-modal-form {
    grid-template-columns: 1fr;
  }

  .contact-modal-white .cart-modal-title {
    font-size: 24px;
  }
}

@keyframes cartFieldBlink {
  0%, 100% {
    background: #fff;
    transform: translateX(0);
  }
  25% {
    background: rgba(255, 43, 43, 0.10);
    transform: translateX(-2px);
  }
  50% {
    background: rgba(255, 43, 43, 0.16);
    transform: translateX(2px);
  }
  75% {
    background: rgba(255, 43, 43, 0.10);
    transform: translateX(-2px);
  }
}

@media (max-width: 1180px) {
  .fortune-slide {
    flex: 0 0 calc((100% - 18px) / 2);
  }
}

@media (max-width: 768px) {
  .fortune-slide {
    flex: 0 0 100%;
  }
}

@media (max-width: 640px) {
  .fortune-info-card,
  .fortune-gallery-card {
    padding: 22px;
    border-radius: 24px;
  }
}

.contact-modal-white {
  width: min(100%, 720px);
  background: #fff;
  color: #111;
  position: relative;
  padding: 30px;
}

.contact-modal-title-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
}

.contact-modal-white .cart-modal-title {
  color: #111;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-right: 0;
  text-align: center;
  max-width: 100%;
}

.contact-modal-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.contact-modal-form input {
  width: 100%;
  background: #fff;
  padding: 13px 14px;
  border-radius: 14px;
  color: #111;
  outline: none;
  border: 1px solid rgba(0,0,0,0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-modal-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 43, 43, 0.12);
}

.contact-modal-separator {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(17,17,17,0.75);
  line-height: 1.6;
  margin: 10px 0 16px;
}

.contact-modal-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.contact-social-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-size: 22px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-social-btn:hover {
  transform: translateY(-2px);
  background: #ff3b3b;
}

.contact-social-btn i {
  color: #fff;
}

.contact-submit-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 40px;
  font-size: 18px;
}

.modal-dialog .privacy-consent {
  margin: 8px 0 14px;
  color: rgba(17,17,17,0.75);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  z-index: 9999;
}

.privacy-consent a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .contact-modal-form {
    grid-template-columns: 1fr;
  }

  .contact-modal-white .cart-modal-title {
    font-size: 24px;
  }

  .contact-submit-btn {
    min-height: 56px;
    font-size: 16px;
  }
}

.hero-actions {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .book-btn {
  min-height: 80px;
  min-width: 240px;
  padding: 0 40px;
  margin-top: 0;
  align-self: flex-end;
}

.fortune-wrapper {
  display: flex;
  align-items: flex-end;
  position: relative;
}

.fortune-wrapper .btn-fortune {
  min-height: 80px;
  min-width: 240px;
  padding: 0 40px;
  box-sizing: border-box;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fortune-wrapper .btn-fortune span:first-child {
  line-height: 1;
}

.fortune-wrapper .sub-text {
  margin-top: 2px;
  line-height: 1;
}

.fortune-wrapper .btn-fortune {
  padding-top: 14px;
  padding-bottom: 14px;
}

/* БАЗА МОБИЛКИ */

* {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

/* МОБИЛКА (до 768px) */

@media (max-width: 768px) {

  /* HERO */
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-content {
    order: 1;
    text-align: center;
  }

  .hero-media-column {
    order: 2;
  }

  .hero-logo {
    max-width: 200px;
    margin: 0 auto;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  /* МЕТРИКИ */
  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* ABOUT */
  .split {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* ПОРТФОЛИО */
  .portfolio-collage-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .portfolio-slide {
    min-width: 80%;
    scroll-snap-align: center;
  }

  /* SERVICES */
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 12px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  /* PRICING */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* BEFORE/AFTER */
  .audio-row {
    flex-direction: column;
    gap: 8px;
  }

  /* MODALS */
  .modal-dialog {
    width: 95%;
    padding: 16px;
    border-radius: 16px;
  }

  /* FLOATING */
  .cart-floating-wrap {
    bottom: 16px;
    right: 16px;
  }

  .scroll-up-btn {
    bottom: 80px;
    right: 16px;
  }

  /* POPUP */
  .pop-up-content {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .pop-up-man {
    max-width: 120px;
  }

}

.flip-back {
  height: 100%;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flip-back .pack-letter {
  margin: 0;
  flex-shrink: 0;
}

.package-description {
  flex: 1;
  width: 100%;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.package-bottom {
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.package-bottom .price-group {
  margin-top: 0;
}

.package-bottom .book-btn {
  margin-top: 14px;
  align-self: center;
}

/* Image loading progress ring */
.image-loader-host {
  --image-load-progress: 0;
}

.image-loader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  width: 42px;
  height: 42px;
  pointer-events: none;
  border-radius: 50%;
  background:
    conic-gradient(
      #fff calc(var(--image-load-progress) * 1%),
      rgba(255,255,255,0.28) 0
    );
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 0);
}

.image-loader-host.is-image-loading .image-loader-ring {
  display: block !important;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.image-loader-host.is-image-loaded .image-loader-ring {
  display: block !important;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.08);
}
  
/* Styles moved from HTML style attributes. */
.inline-style-index-01.inline-style-index-01.inline-style-index-01.inline-style-index-01 {
  position:absolute; left:-9999px;
}

.inline-style-index-01.inline-style-index-01.inline-style-index-01.inline-style-index-01 {
  display:none;
}

.inline-style-index-01.inline-style-index-01.inline-style-index-01.inline-style-index-01 {
  background: rgba(255,255,255,0.00); border: 1px solid rgba(255,255,255,0.00);
}

/* FIX: keep before/after audio examples visible.
   The generated inline-style class is reused on comparison cards and later
   hides them globally; scope the recovery to this section only. */
.before-after-section .comparison-card.inline-style-index-01 {
  position: static !important;
  left: auto !important;
  display: flex !important;
  background: rgba(255,255,255,0.00);
  border: 1px solid rgba(255,255,255,0.00);
}

.before-after-section h3.inline-style-index-01 {
  position: static !important;
  left: auto !important;
  display: block !important;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
  color: var(--white);
}

.inline-style-index-01.inline-style-index-01.inline-style-index-01.inline-style-index-01 {
  font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 20px; color: var(--white);
}

.inline-style-index-01.inline-style-index-01.inline-style-index-01.inline-style-index-01 {
  height: 280px; border-radius: 24px;
}

.inline-style-index-01.inline-style-index-01.inline-style-index-01.inline-style-index-01 {
  font-size:10px;
}
