:root {
  --blue-light: #e3f2fd;
  --blue-soft: #90caf9;
  --blue: #64b5f6;
  --blue-strong: #2196f3;
  --blue-deep: #1976d2;
  --white: #ffffff;
  --bg: #0a1929;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #f0f7ff;
  --muted: rgba(240, 247, 255, 0.7);
  --neon: 0 0 24px rgba(100, 181, 246, 0.6), 0 0 42px rgba(33, 150, 243, 0.4);
  --radius: 24px;
}

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

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(1200px 700px at 10% -10%, rgba(100, 181, 246, 0.25), transparent),
    radial-gradient(1000px 600px at 90% 0%, rgba(33, 150, 243, 0.3), transparent),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3 {
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 6vw, 3rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.1rem, 4vw, 1.8rem);
  line-height: 1.4;
}

.bg-orbit {
  position: fixed;
  top: -20vh;
  left: -10vw;
  width: 60vw;
  height: 60vw;
  background: conic-gradient(from 140deg, rgba(100, 181, 246, 0.3), rgba(33, 150, 243, 0.35), rgba(227, 242, 253, 0.25));
  filter: blur(80px);
  opacity: 0.8;
  z-index: -2;
  animation: float 18s ease-in-out infinite;
}

.orbit-2 {
  top: 40vh;
  left: 60vw;
  width: 50vw;
  height: 50vw;
  animation-delay: -6s;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

.hero {
  padding: 36px 6vw 40px;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@supports(padding: max(0px)) {
  .hero {
    padding-left: max(6vw, env(safe-area-inset-left));
    padding-right: max(6vw, env(safe-area-inset-right));
  }
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  gap: 28px;
}

.hero-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1;
  align-items: center;
}

.hero-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-logo {
  width: clamp(240px, 70vw, 900px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(100, 181, 246, 0.5)) drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
  animation: logoFloat 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

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

.hero-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse at center, 
    rgba(100, 181, 246, 0.12) 0%, 
    rgba(33, 150, 243, 0.08) 40%,
    transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: morphBackground 8s ease-in-out infinite;
  z-index: -1;
}

@keyframes morphBackground {
  0%, 100% {
    border-radius: 50% 50% 50% 50%;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
  25% {
    border-radius: 60% 40% 55% 45%;
    transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
  }
  50% {
    border-radius: 45% 55% 40% 60%;
    transform: translate(-50%, -50%) scale(1.05) rotate(-3deg);
  }
  75% {
    border-radius: 55% 45% 60% 40%;
    transform: translate(-50%, -50%) scale(1.08) rotate(4deg);
  }
}

.hero-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(12px);
}

.hero-deco-1 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue-light));
  top: -60px;
  left: -100px;
  animation: dance1 6s ease-in-out infinite;
}

.hero-deco-2 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  top: -80px;
  right: -80px;
  animation: dance2 7s ease-in-out infinite;
}

.hero-deco-3 {
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  bottom: -40px;
  left: -80px;
  animation: dance3 8s ease-in-out infinite;
}

.hero-deco-4 {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue-deep));
  bottom: -60px;
  right: -100px;
  animation: dance4 9s ease-in-out infinite;
}

@keyframes dance1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(10px, -15px) scale(1.1); }
  50% { transform: translate(-5px, -10px) scale(0.9); }
  75% { transform: translate(15px, 5px) scale(1.05); }
}

@keyframes dance2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-12px, 10px) rotate(15deg); }
  50% { transform: translate(8px, 15px) rotate(-10deg); }
  75% { transform: translate(-8px, -5px) rotate(20deg); }
}

@keyframes dance3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-10px, -12px) scale(1.15); }
  60% { transform: translate(12px, -8px) scale(0.95); }
  80% { transform: translate(-8px, 10px) scale(1.08); }
}

@keyframes dance4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  20% { transform: translate(10px, -10px) rotate(-15deg) scale(1.1); }
  45% { transform: translate(-15px, 5px) rotate(12deg) scale(0.92); }
  70% { transform: translate(8px, 12px) rotate(-8deg) scale(1.05); }
}

.hero-title-line {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4rem, 18vw, 14rem);
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--blue-light) 25%,
    var(--blue) 50%,
    var(--blue-strong) 75%,
    var(--white) 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroLogoGradient 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(100, 181, 246, 0.4));
}

.hero-title-accent {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 20px;
}

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

.hero-stat-num {
  font-family: "Unbounded", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  z-index: 110;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  z-index: 101;
  order: 2;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.logo {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  text-shadow: var(--neon);
}

@keyframes heroLogoGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}



.nav-links {
  display: flex;
  gap: 32px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 6px;
  transition: color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(100, 181, 246, 0.6);
  border-radius: 1px;
  transition: width 0.3s ease;
}

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

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  color: var(--white);
  box-shadow: var(--neon);
}

.btn.primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn.ghost:hover {
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.2);
}

.trust {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  display: grid;
  align-items: center;
}

.neon-card {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.15), rgba(33, 150, 243, 0.2));
  box-shadow: var(--neon);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: gentleGlow 6.5s ease-in-out infinite;
}

.neon-card-hero {
  min-height: 290px;
  display: grid;
  gap: 16px;
}

.neon-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.neon-title {
  font-size: 1.4rem;
  font-family: "Unbounded", sans-serif;
}

.neon-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-top: 8px;
}

.neon-badge {
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
}

.neon-lines {
  display: grid;
  gap: 10px;
}

.neon-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(9, 8, 16, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.93rem;
}

.neon-line span {
  color: var(--muted);
}

.neon-line strong {
  font-weight: 600;
}

.neon-btn {
  justify-self: start;
}

.advantages {
  padding: 0 6vw 80px;
}

.advantages-hero {
  text-align: center;
  padding-bottom: 40px;
}

.advantages-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.adv-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.adv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue-strong));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.adv-card:hover::before {
  opacity: 1;
}

.adv-card--accent {
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.15) 0%, rgba(100, 181, 246, 0.12) 100%);
  border-color: rgba(100, 181, 246, 0.3);
}

.adv-card--accent::before {
  opacity: 1;
}

.adv-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: "Unbounded", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
}

.adv-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: inline-block;
}

.icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 100%;
  height: 100%;
}

.adv-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.adv-desc {
  color: var(--muted);
  line-height: 1.6;
}

.trial {
  padding: 0 6vw 80px;
}

.trial-hero {
  text-align: center;
  padding-bottom: 40px;
}

.trial-super {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.trial-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.trial-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.trial-card {
  position: relative;
  padding: 32px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.trial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.trial-card--main {
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.2), rgba(100, 181, 246, 0.15));
  border-color: rgba(100, 181, 246, 0.3);
  box-shadow: 0 0 40px rgba(100, 181, 246, 0.2);
}

.trial-card-icon {
  font-size: 2.5rem;
  line-height: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.trial-card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.trial-card h3 {
  font-size: 1.3rem;
  margin: 0;
}

.trial-card-text {
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}

.trial-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.trial-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.trial-list-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.4), rgba(33, 150, 243, 0.4));
  font-size: 0.85rem;
  font-weight: 700;
}

.trial-btn {
  width: 100%;
  margin-top: auto;
}

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

.trial-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trial-feature-num {
  font-family: "Unbounded", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.trial-feature-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  margin-bottom: 24px;
  gap: 20px;
}

.reviews {
  padding: 0 0 80px;
}

.reviews .section-head {
  justify-content: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
  padding: 0 6vw;
  justify-items: center;
}

.slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 6vw 10px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.slider::-webkit-scrollbar {
  height: 6px;
}

.slider::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.review-card {
  position: relative;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 180px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s ease;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: "Unbounded", sans-serif;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.review-card--accent {
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.15) 0%, rgba(100, 181, 246, 0.1) 100%);
  border-color: rgba(100, 181, 246, 0.25);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue-strong));
  display: grid;
  place-items: center;
  font-family: "Unbounded", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
}

.review-author {
  font-weight: 600;
  font-size: 1rem;
}

.review-age {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
}

.review-rating {
  font-family: "Unbounded", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.review-text {
  color: var(--text);
  line-height: 1.6;
  font-size: 1.05rem;
  font-style: italic;
}

.stars {
  color: var(--blue-strong);
}

.section-actions {
  display: flex;
  gap: 12px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.directions {
  padding: 0 0 80px;
}

.directions-hero {
  text-align: center;
  padding: 0 6vw 40px;
}

.directions-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.1rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 6vw;
}

.direction {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  text-align: left;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.direction::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.direction:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.direction:hover::after {
  opacity: 1;
}

.dir-emoji {
  font-size: 2rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dir-emoji img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.dir-name {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
}

.dir-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  flex-grow: 1;
}

.cta {
  padding: 0 6vw 80px;
}

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

.cta-chip {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(227, 242, 253, 0.18));
  display: grid;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(100, 181, 246, 0.25);
}

.cta-chip span {
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-chip strong {
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
}

.trainers {
  padding: 0 0 80px;
}

.trainers .section-head {
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.trainers-hint-sub {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.trainer-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 300px;
  width: 300px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.trainer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-soft), var(--blue-strong));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trainer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.trainer-card:hover::before {
  opacity: 1;
}

.trainer-card--accent {
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.15) 0%, rgba(100, 181, 246, 0.1) 100%);
  border-color: rgba(100, 181, 246, 0.25);
}

.trainer-card--accent::before {
  opacity: 1;
}

.trainer-photo {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.3), rgba(100, 181, 246, 0.25));
  margin-bottom: 16px;
  overflow: hidden;
  flex-shrink: 0;
}



.trainer-initials {
  font-size: 3rem;
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trainer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image {
  transform: scale(1.05);
}

.trainer-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 10, 22, 0.9);
  backdrop-filter: blur(10px);
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

.trainer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.trainer-name {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trainer-style {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trainer-exp {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trainer-meta::after {
  content: '▶ Смотреть видео';
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(100, 181, 246, 0.12);
  border: 1px solid rgba(100, 181, 246, 0.3);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
  align-self: flex-start;
}

.trainer-card:hover .trainer-meta::after {
  background: rgba(100, 181, 246, 0.22);
}

.trainer-note {
  padding: 0 6vw;
  color: var(--muted);
}

.studios {
  padding: 0 0 80px;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 6vw;
}

.studio-card {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.studio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
}

.studio-map {
  height: 280px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.15), rgba(100, 181, 246, 0.12));
  position: relative;
}

.studio-body {
  padding: 20px;
  display: grid;
  gap: 10px;
}

.schedule {
  padding: 0 0 80px;
}

.schedule-studio {
  margin-bottom: 48px;
}

.schedule-studio-title {
  padding: 0 6vw 24px;
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-studio-title img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  /* flex-shrink: 0;
  -webkit-text-fill-color: initial; */
  /* filter: brightness(0) saturate(100%) invert(75%) sepia(30%) saturate(500%) hue-rotate(185deg); */
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 0 6vw;
}

.schedule-card {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.schedule-day {
  font-weight: 700;
  margin-bottom: 10px;
}

.schedule-item {
  color: var(--muted);
  margin-bottom: 6px;
}

.schedule-cta {
  padding: 24px 6vw 0;
  text-align: center;
}

.contacts {
  padding: 0 0 80px;
}

.instagram-section {
  padding: 80px 6vw;
  overflow: hidden;
}

.instagram-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.1) 0%, rgba(253, 29, 29, 0.08) 50%, rgba(252, 176, 69, 0.1) 100%);
  border-radius: 32px;
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.instagram-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 32px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.instagram-container:hover::before {
  opacity: 0.3;
}

.instagram-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.instagram-embed-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(131, 58, 180, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-embed-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 70px rgba(131, 58, 180, 0.4);
}

.instagram-embed-wrapper .instagram-media {
  margin: 0 !important;
  max-width: 100% !important;
  min-width: 100% !important;
  width: 100% !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  border: none !important;
  box-shadow: none !important;
}

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

.instagram-label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.2), rgba(253, 29, 29, 0.2));
  border: 1px solid rgba(131, 58, 180, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.instagram-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.instagram-desc {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.instagram-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.instagram-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 500;
}

.instagram-feature-icon {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}

.instagram-feature-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.btn-instagram {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-radius: 16px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(131, 58, 180, 0.3);
}

.btn-instagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #9d4edd, #ff006e, #ffbe0b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-instagram:hover::before {
  opacity: 1;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(131, 58, 180, 0.5);
}

.btn-instagram > * {
  position: relative;
  z-index: 1;
}

.btn-instagram-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-instagram-icon svg {
  width: 100%;
  height: 100%;
}

.btn-instagram-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.btn-instagram-main {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-instagram-sub {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
}

.btn-instagram-arrow {
  font-size: 1.5rem;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.btn-instagram:hover .btn-instagram-arrow {
  transform: translateX(4px);
}

.social-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.btn-telegram {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: linear-gradient(135deg, #0088cc, #229ED9, #00b4d8);
  border-radius: 16px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 340px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

.btn-telegram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0099e6, #35bbf0, #00d4ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-telegram:hover::before {
  opacity: 1;
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 136, 204, 0.5);
}

.btn-telegram > * {
  position: relative;
  z-index: 1;
}

.btn-telegram-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-telegram-icon svg {
  width: 100%;
  height: 100%;
}

.btn-telegram-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.btn-telegram-main {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-telegram-sub {
  font-size: 0.75rem;
  opacity: 0.9;
  font-weight: 500;
}

.btn-telegram-arrow {
  font-size: 1.5rem;
  margin-left: auto;
  transition: transform 0.3s ease;
}

.btn-telegram:hover .btn-telegram-arrow {
  transform: translateX(4px);
}

.contacts-hero {
  text-align: center;
  padding: 0 6vw 40px;
}

.contacts-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contacts-grid {
  padding: 0 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.contact-card--accent {
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.2), rgba(100, 181, 246, 0.18));
  border-color: rgba(100, 181, 246, 0.35);
  box-shadow: 0 0 30px rgba(100, 181, 246, 0.15);
}

.contact-icon {
  font-size: 2rem;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
  flex-shrink: 0;
}

.contact-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.contact-detail {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  margin-top: auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
  font-size: 0.875rem;
  word-break: break-all;
  transition: background 0.2s ease, transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(2px);
}

.contact-link-icon {
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer {
  padding: 40px 6vw 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-disclaimer {
  width: 100%;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.5;
  margin-top: 8px;
}

.footer-actions {
  display: flex;
  gap: 12px;
}

.pill {
  padding: 10px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 14, 0.82);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 8;
}

.modal.open {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 640px;
  width: 100%;
  background: var(--bg);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--neon);
  display: grid;
  gap: 16px;
}

/* Ensure modal never exceeds viewport and allow inner scrolling */
.modal-content {
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

.modal-avatar {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: "Unbounded", sans-serif;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(227, 242, 253, 0.5), rgba(100, 181, 246, 0.5));
}

.modal-name {
  font-weight: 700;
  font-size: 1.2rem;
}

.modal-style {
  color: var(--muted);
}


.modal-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 80vh;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.modal-video-wrap iframe,
.modal-video-wrap .modal-video-local {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Локальное вертикальное видео тренера в модалке */
.modal-video-local {
  object-fit: contain;
  display: none;
}

/* Vertical videos: use 9/16 aspect and allow taller max-height but still within viewport */
.modal-video-wrap--local {
  aspect-ratio: 9/16;
  max-height: 90vh;
}

.modal-video-wrap--local .modal-video-local {
  display: block;
}

.modal-video-wrap--local iframe {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes gentleGlow {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(100, 181, 246, 0.2), 0 0 18px rgba(33, 150, 243, 0.15);
  }
  50% {
    box-shadow: 0 0 34px rgba(100, 181, 246, 0.3), 0 0 26px rgba(33, 150, 243, 0.25);
  }
}

@media (max-width: 1100px) {
  .direction-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

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

  .trial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trial-card--main {
    grid-column: 1 / -1;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .instagram-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 40px;
  }

  .instagram-visual {
    width: 100%;
    max-width: 100%;
  }

  .instagram-embed-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: -6vw;
    right: -6vw;
    background: rgba(14, 10, 30, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 32px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 0 0 16px 16px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .instagram-section {
    padding: 60px 5vw;
  }

  .instagram-container {
    padding: 36px 24px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .instagram-features {
    flex-direction: column;
    gap: 12px;
  }

  .instagram-feature {
    width: 100%;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--muted);
    padding: 10px 12px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: left;
    width: 100%;
  }

  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(100, 181, 246, 0.1);
    color: var(--text);
  }

  .nav-links a::after {
    display: none;
  }

  .trial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .trial-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer {
    flex-direction: column;
  }

  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .neon-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    min-height: auto;
    padding: 36px 6vw 36px;
  }

  .hero-content {
    gap: 24px;
  }

  .hero-stats {
    gap: 32px;
  }

  .hero-grid {
    gap: 32px;
  }

  .slider {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .nav-links {
    left: -5vw;
    right: -5vw;
    padding: 20px 24px;
  }

  .hero {
    padding: 28px 5vw 32px;
    min-height: auto;
  }

  .hero-content {
    gap: 20px;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-stat-num {
    font-size: 1.8rem;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-title-line {
    font-size: clamp(4rem, 20vw, 10rem);
  }

  .hero-deco {
    width: 80px;
    height: 80px;
  }

  .hero-deco-1 {
    top: -30px;
    left: -30px;
  }

  .hero-deco-2 {
    top: -40px;
    right: -30px;
  }

  .hero-deco-3 {
    bottom: -20px;
    left: -30px;
  }

  .hero-deco-4 {
    bottom: -30px;
    right: -30px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.4rem, 7vw, 2.5rem);
  }

  h3 {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
  }

  .section-head {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .direction {
    min-height: auto;
    padding: 20px 18px 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .dir-emoji {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
  }

  .dir-emoji img {
    width: 28px;
    height: 28px;
  }

  .dir-name {
    font-size: 1rem;
    flex: 1;
  }

  .dir-desc {
    width: 100%;
    flex-grow: 0;
  }

  .neon-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
  }

  .neon-card {
    padding: 24px 20px;
  }

  .advantages {
    padding: 0 5vw 60px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .instagram-section {
    padding: 50px 4vw;
  }

  .instagram-container {
    padding: 28px 16px;
    gap: 28px;
    border-radius: 20px;
  }

  .instagram-visual {
    width: 100%;
    max-width: 100%;
  }

  .instagram-embed-wrapper {
    max-width: 100%;
    border-radius: 16px;
  }

  .instagram-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .instagram-desc {
    font-size: 0.95rem;
  }

  .social-btns {
    align-items: center;
  }

  .btn-instagram,
  .btn-telegram {
    padding: 18px 24px;
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .btn-instagram-main,
  .btn-telegram-main {
    font-size: 1rem;
  }

  .btn-instagram-arrow,
  .btn-telegram-arrow {
    display: none;
  }

  .adv-card {
    padding: 20px;
  }

  .slider {
    padding: 0 5vw 10px;
    gap: 14px;
  }

  .trial-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trial-card {
    padding: 28px 24px;
  }

  .trial-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .review-card,
  .schedule-card {
    min-width: auto;
  }

  .reviews-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 5vw 10px;
    gap: 14px;
  }

  .reviews-grid .review-card {
    width: 280px;
    max-width: 320px;
    min-height: 220px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .trainer-card {
    min-width: 260px;
    width: 260px;
    padding: 20px;
  }

  .trainer-photo {
    height: 350px;
  }

  .trainer-initials {
    font-size: 2.4rem;
  }

  .modal-content {
    padding: 24px 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .slogan {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .footer {
    padding: 40px 5vw 60px;
  }

  .footer-actions {
    flex-direction: column;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .nav-links {
    left: -4vw;
    right: -4vw;
    padding: 16px 20px;
  }

  body {
    font-size: 16px;
  }

  .hero {
    padding: 24px 4vw 28px;
  }

  .hero-title-line {
    font-size: clamp(3rem, 18vw, 8rem);
  }

  .hero-deco {
    width: 60px;
    height: 60px;
  }

  .hero-deco-1 {
    top: -20px;
    left: -15px;
  }

  .hero-deco-2 {
    top: -25px;
    right: -15px;
  }

  .hero-deco-3 {
    bottom: -15px;
    left: -15px;
  }

  .hero-deco-4 {
    bottom: -20px;
    right: -15px;
  }

  .section-head,
  .advantages,
  .trial,
  .reviews,
  .directions,
  .cta,
  .trainers,
  .studios,
  .schedule,
  .contacts,
  .footer {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .slider {
    padding: 0 4vw 10px;
    gap: 12px;
  }

  .trainer-card {
    min-width: 240px;
    width: 240px;
    padding: 16px;
  }

  .trainer-photo {
    height: 320px;
    border-radius: 16px;
  }

  .trainer-initials {
    font-size: 2rem;
  }

  .trainer-name {
    font-size: 0.9rem;
  }

  .trainer-style {
    font-size: 0.78rem;
  }

  .trainer-exp {
    font-size: 0.75rem;
  }

  .trainer-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
  }

  .tag {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

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

  .adv-icon {
    font-size: 1.5rem;
  }

  .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .adv-title {
    font-size: 0.95rem;
  }

  .modal-content {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .contact-card {
    padding: 18px;
  }

  .instagram-section {
    padding: 40px 3vw;
  }

  .instagram-container {
    padding: 24px 12px;
    gap: 24px;
    border-radius: 16px;
  }

  .instagram-visual {
    width: 100%;
    max-width: 100%;
  }

  .instagram-embed-wrapper {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(131, 58, 180, 0.25);
  }

  .btn-instagram,
  .btn-telegram {
    padding: 16px 20px;
  }

  .btn-instagram-icon,
  .btn-telegram-icon {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee .marquee-track {
    animation: none !important;
  }
}

/* ── Marquee / Бегущая строка ── */

.marquee {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid rgba(100, 181, 246, 0.15);
  border-bottom: 1px solid rgba(100, 181, 246, 0.15);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  height: 40px;
}

.marquee-content span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding: 0 10px;
}

.marquee-sep {
  color: var(--blue) !important;
  font-size: 18px !important;
  padding: 0 4px !important;
  letter-spacing: 0 !important;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
