/* ============================================
   DESIGNORA — Главные стили сайта
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* === ПЕРЕМЕННЫЕ === */
:root {
  --primary: #2C3E50;
  --accent: #3498DB;
  --highlight: #E74C3C;
  --light: #ECF0F1;
  --dark: #1a252f;
  --text: #333;
  --text-muted: #666;
  --white: #fff;
  --gradient: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
  --gradient-warm: linear-gradient(135deg, #E74C3C 0%, #f39c12 100%);
  --shadow: 0 10px 40px rgba(44, 62, 80, 0.15);
  --shadow-hover: 0 20px 60px rgba(52, 152, 219, 0.25);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === СБРОС И БАЗОВЫЕ СТИЛИ === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul { list-style: none; }

/* === ТИПОГРАФИКА === */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.accent-text {
  color: var(--accent);
}

.highlight-text {
  color: var(--highlight);
}

/* === КОНТЕЙНЕР === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === КНОПКИ === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(52, 152, 219, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(52, 152, 219, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-highlight {
  background: var(--gradient-warm);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(231, 76, 60, 0.4);
}

.btn-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(231, 76, 60, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* === ХЕДЕР === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: rgba(255,255,255,0);
}

.header.scrolled {
  background: rgba(44, 62, 80, 0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.header:not(.scrolled) .logo-text { color: var(--white); }

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

.nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.header-cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* === МОБИЛЬНОЕ МЕНЮ === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: var(--primary);
  padding: 100px 30px 40px;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}

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

.mobile-menu a {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--accent); }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: rgba(255,255,255,0.2);
}

/* === HERO СЕКЦИЯ === */
.hero {
  min-height: 100vh;
  background: var(--gradient);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0 60px;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge::before {
  content: '✦';
  color: #f39c12;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
  font-family: 'Playfair Display', serif;
}

.hero h1 em {
  font-style: italic;
  color: #f1c40f;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 44px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
}

.hero-visual {
  animation: fadeInRight 0.9s ease 0.2s both;
  position: relative;
}

.screen-mock {
  background: #1e2d3d;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.screen-top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.screen-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.screen-dot:nth-child(1) { background: #ff5f56; }
.screen-dot:nth-child(2) { background: #ffbd2e; }
.screen-dot:nth-child(3) { background: #27c93f; }

.screen-address-bar {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-left: 8px;
  font-family: monospace;
}

.screen-body {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.screen-body img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.design-cursor {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  animation: cursorMove 5s ease-in-out infinite;
  z-index: 10;
}

.design-cursor::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 16px;
  height: 22px;
  background: white;
  clip-path: polygon(0 0, 60% 40%, 35% 45%, 60% 100%, 40% 100%, 15% 50%, 0 60%);
}

/* .design-cursor::after {
  content: '';
  position: absolute;
  top: 15px; left: 10px;
  width: 40px;
  height: 16px;
  background: var(--accent);
  border-radius: 4px;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
} */

.floating-tools {
  position: absolute;
  right: -20px;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tool-chip {
  background: rgba(44, 62, 80, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 8px 14px;
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  animation: toolFloat 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.tool-chip:nth-child(2) { animation-delay: 1s; }
.tool-chip:nth-child(3) { animation-delay: 2s; }

.tool-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27c93f;
  animation: pulse 2s ease-in-out infinite;
}

/* === БЛОК 1: ЭКРАН ДИЗАЙНА (chitas) === */
.chitas {
  padding: 100px 0;
  background: var(--primary);
  overflow: hidden;
  position: relative;
}

.chitas::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52,152,219,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.chitas-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.chitas-text h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.chitas-text p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 14px;
}

.chitas-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chitas-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.chitas-feature-icon {
  width: 32px;
  height: 32px;
  background: rgba(52,152,219,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.monitor-wrap {
  perspective: 1000px;
}

.monitor {
  background: #0d1117;
  border-radius: 16px;
  padding: 12px 12px 0;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.06);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: var(--transition);
}

.monitor:hover {
  transform: rotateY(-2deg) rotateX(1deg);
}

.monitor-screen {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
  min-height: 300px;
  background: #1a1f2e;
}

.design-canvas {
  padding: 20px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.canvas-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.canvas-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
}

.canvas-btn.active {
  background: var(--accent);
  color: white;
}

.canvas-work-area {
  flex: 1;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.canvas-shape {
  position: absolute;
  border-radius: 4px;
  animation: shapeAppear 0.6s ease both;
}

.canvas-shape-1 {
  width: 60px; height: 60px;
  background: var(--accent);
  top: 20px; left: 30px;
  border-radius: 50%;
  animation-delay: 0.2s;
}

.canvas-shape-2 {
  width: 80px; height: 50px;
  background: #f39c12;
  top: 15px; left: 120px;
  border-radius: 8px;
  animation-delay: 0.4s;
}

.canvas-shape-3 {
  width: 40px; height: 70px;
  background: var(--highlight);
  top: 30px; left: 230px;
  border-radius: 4px;
  animation-delay: 0.6s;
}

.canvas-shape-4 {
  width: 100px; height: 40px;
  background: #8e44ad;
  top: 100px; left: 40px;
  border-radius: 20px;
  animation-delay: 0.8s;
}

.canvas-shape-5 {
  width: 55px; height: 55px;
  background: #1abc9c;
  top: 95px; left: 170px;
  transform: rotate(45deg);
  animation-delay: 1s;
}

.canvas-typing {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(52,152,219,0.2);
  border: 1px solid rgba(52,152,219,0.4);
  padding: 6px 14px;
  border-radius: 6px;
  color: var(--accent);
  font-size: 0.75rem;
  font-family: monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.canvas-cursor {
  width: 2px;
  height: 12px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
}

.monitor-stand {
  width: 60px;
  height: 20px;
  background: linear-gradient(to bottom, #1a1f2e, #0d1117);
  margin: 0 auto;
}

.monitor-base {
  width: 120px;
  height: 8px;
  background: #0d1117;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
}

/* === БЛОК 2: СЛАЙДЕР === */
.slider-section {
  padding: 100px 0;
  background: var(--light);
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

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

.slide {
  min-width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.slide-img {
  position: relative;
  overflow: hidden;
}

.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slide:hover .slide-img img {
  transform: scale(1.04);
}

.slide-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,62,80,0.4), transparent);
}

.slide-content {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52,152,219,0.1);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  width: fit-content;
}

.slide-content h3 {
  margin-bottom: 14px;
}

.slide-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1rem;
}

.slide-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.slide-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.slider-btn:hover {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(44,62,80,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* === БЛОК 3: АККОРДЕОН === */
.accordion-section {
  padding: 100px 0;
  background: var(--white);
}

.accordion-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.accordion-img {
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.accordion-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.accordion-img:hover img { transform: scale(1.03); }

.accordion-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44,62,80,0.85));
  color: white;
  padding: 30px 24px 20px;
  font-size: 0.9rem;
}

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

.accordion-item {
  border: 1px solid rgba(44,62,80,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.open {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(52,152,219,0.1);
}

.accordion-header {
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: var(--transition);
  user-select: none;
}

.accordion-header:hover {
  background: rgba(52,152,219,0.04);
}

.accordion-header h4 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(52,152,219,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  font-size: 1rem;
  color: var(--accent);
}

.accordion-item.open .accordion-icon {
  background: var(--accent);
  color: white;
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
}

.accordion-item.open .accordion-body {
  max-height: 300px;
  padding: 0 22px 20px;
}

.accordion-body p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.accordion-body ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accordion-body li {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.accordion-body li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

/* === БЛОК 4: О НАС (Circular) === */
.about-section {
  padding: 100px 0;
  background: var(--light);
  overflow: hidden;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-badge {
  background: var(--white);
  border: 1px solid rgba(44,62,80,0.1);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.about-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(52,152,219,0.15);
}

.about-circular {
  position: relative;
  width: 460px;
  height: 460px;
  max-width: 100%;
  margin: 0 auto;
}

.about-center-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 20px 60px rgba(44,62,80,0.3);
  z-index: 2;
}

.about-center-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(52,152,219,0.25);
  animation: spin 30s linear infinite;
}

.about-orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
}

.about-orbit-card {
  background: var(--white);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(44,62,80,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(44,62,80,0.08);
  min-width: 130px;
}

.orbit-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.orbit-icon-blue { background: rgba(52,152,219,0.15); }
.orbit-icon-red { background: rgba(231,76,60,0.15); }
.orbit-icon-green { background: rgba(39,174,96,0.15); }
.orbit-icon-orange { background: rgba(243,156,18,0.15); }

/* === БЛОК 5: ТАБЛИЦА РАСПИСАНИЯ === */
.schedule-section {
  padding: 100px 0;
  background: var(--white);
}

.schedule-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

table.schedule {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.schedule thead {
  background: var(--gradient);
}

.schedule thead th {
  padding: 18px 20px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.schedule tbody tr {
  border-bottom: 1px solid rgba(44,62,80,0.07);
  transition: var(--transition);
}

.schedule tbody tr:hover {
  background: rgba(52,152,219,0.04);
}

.schedule tbody tr:last-child {
  border-bottom: none;
}

.schedule tbody td {
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--text);
  vertical-align: middle;
}

.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.level-beginner { background: rgba(39,174,96,0.12); color: #27ae60; }
.level-experienced { background: rgba(52,152,219,0.12); color: var(--accent); }
.level-master { background: rgba(155,89,182,0.12); color: #9b59b6; }
.level-greatest { background: rgba(231,76,60,0.12); color: var(--highlight); }

.price-tag {
  font-weight: 700;
  color: var(--primary);
}

.schedule-note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-note::before { content: 'ℹ️'; }

/* === БЛОК 6: ЦЕНОВОЙ МОНИТОР === */
.pricing-section {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(52,152,219,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(231,76,60,0.1) 0%, transparent 60%);
}

.pricing-section .section-title {
  color: var(--white);
}

.pricing-section .section-subtitle {
  color: rgba(255,255,255,0.65);
}

.pricing-monitor-outer {
  perspective: 1200px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-monitor {
  background: #0d1117;
  border-radius: 20px;
  padding: 16px 16px 16px;
  box-shadow: 0 60px 120px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}

.pricing-monitor-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.pricing-monitor-bar .d { width: 10px; height: 10px; border-radius: 50%; }
.pricing-monitor-bar .d:nth-child(1) { background: #ff5f56; }
.pricing-monitor-bar .d:nth-child(2) { background: #ffbd2e; }
.pricing-monitor-bar .d:nth-child(3) { background: #27c93f; }
.pricing-monitor-bar .addr {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  font-family: monospace;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.pricing-card {
  background: #111827;
  padding: 32px 22px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.pricing-card:last-child { border-right: none; }

.pricing-card:hover {
  background: #1a2535;
  transform: translateY(-4px);
}

.pricing-card.featured {
  background: linear-gradient(160deg, #1a2f45, #0e1e2e);
  border-top: 3px solid var(--accent);
}

.pricing-card.featured .pricing-badge {
  display: flex;
}

.pricing-badge {
  display: none;
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.pricing-card-price {
  font-size: 2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  line-height: 1.1;
}

.pricing-card-price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
}

.pricing-card-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.pricing-feature-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(39,174,96,0.2);
  color: #27ae60;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.pricing-card-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.pricing-card:not(.featured) .pricing-card-btn {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
}

.pricing-card:not(.featured):hover .pricing-card-btn {
  background: rgba(255,255,255,0.12);
  color: white;
}

.pricing-card.featured .pricing-card-btn {
  background: var(--accent);
  color: white;
}

.pricing-card.featured .pricing-card-btn:hover {
  background: #2980b9;
}

.pricing-monitor-stand {
  width: 80px;
  height: 28px;
  background: #0d1117;
  margin: 0 auto;
}

.pricing-monitor-foot {
  width: 160px;
  height: 10px;
  background: #0a0e14;
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
}

/* === БЛОК 7: ИНСТРУКЦИИ ПО УРОВНЯМ === */
.levels-section {
  padding: 100px 0;
  background: var(--light);
}

.levels-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.level-tab {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(44,62,80,0.15);
  background: var(--white);
  color: var(--text-muted);
  transition: var(--transition);
}

.level-tab.active {
  background: var(--gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(52,152,219,0.3);
}

.levels-content {
  display: none;
}

.levels-content.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.levels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.level-exercise {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 4px 16px rgba(44,62,80,0.06);
}

.level-exercise:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.level-exercise-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.level-exercise h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.level-exercise p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.level-exercise-action {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
}

.level-exercise-action::after {
  content: '→';
  transition: var(--transition);
}

.level-exercise:hover .level-exercise-action::after {
  transform: translateX(4px);
}

/* === БЛОК: РЕКОМЕНДАЦИИ ДЛЯ НАЧИНАЮЩИХ === */
.beginners-section {
  padding: 100px 0;
  background: var(--white);
}

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

.beginners-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(44,62,80,0.08);
  transition: var(--transition);
  border: 1px solid rgba(44,62,80,0.06);
}

.beginners-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.beginners-card-header {
  padding: 24px;
  position: relative;
}

.beginners-card-header .category-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.cat-software { background: rgba(52,152,219,0.12); }
.cat-hardware { background: rgba(231,76,60,0.12); }
.cat-extras { background: rgba(39,174,96,0.12); }

.beginners-card-header h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.beginners-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.beginners-card-body {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(44,62,80,0.07);
  padding-top: 18px;
}

.product-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.product-item:last-child { margin-bottom: 0; }

.product-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.product-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.product-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* === БЛОК: СОВЕТЫ ПО УРОВНЯМ === */
.tips-section {
  padding: 100px 0;
  background: var(--primary);
}

.tips-section .section-title { color: var(--white); }
.tips-section .section-subtitle { color: rgba(255,255,255,0.6); }

.tips-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tips-tab {
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.tips-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(52,152,219,0.4);
}

.tips-content {
  display: none;
}

.tips-content.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

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

.tip-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}

.tip-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(52,152,219,0.4);
  transform: translateY(-4px);
}

.tip-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(52,152,219,0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.tip-card h4 {
  color: white;
  margin-bottom: 8px;
  font-size: 1rem;
}

.tip-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* === БЛОК: ГАЛЕРЕЯ === */
.gallery-section {
  padding: 100px 0;
  background: var(--light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,62,80,0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(6) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(7) { grid-column: span 3; grid-row: span 1; }
.gallery-item:nth-child(8) { grid-column: span 5; grid-row: span 1; }
.gallery-item:nth-child(9) { grid-column: span 4; grid-row: span 1; }
.gallery-item:nth-child(10) { grid-column: span 3; grid-row: span 1; }

/* === БЛОК 8: КАРТОЧКИ НАПРАВЛЕНИЙ + ПОПАП === */
.directions-section {
  padding: 100px 0;
  background: var(--white);
}

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

.direction-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid rgba(44,62,80,0.08);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(44,62,80,0.06);
  position: relative;
  overflow: hidden;
}

.direction-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
}

.direction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.direction-card:hover::before {
  transform: scaleX(1);
}

.direction-card-img {
  width: 100%;
  height: 170px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.direction-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.direction-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.direction-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.direction-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-direction: column;
}

.direction-tag {
  font-size: 0.78rem;
  color: var(--accent);
  background: rgba(52,152,219,0.08);
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 500;
}

/* === ПОПАП === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(44,62,80,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(231,76,60,0.1);
  color: var(--highlight);
}

.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.modal h3 {
  margin-bottom: 10px;
}

.modal-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.form-control {
  padding: 12px 16px;
  border: 1.5px solid rgba(44,62,80,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52,152,219,0.12);
}

.form-control::placeholder { color: rgba(44,62,80,0.35); }

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(44,62,80,0.12);
  transition: var(--transition);
}

.form-radio:hover {
  border-color: var(--accent);
  background: rgba(52,152,219,0.04);
}

.form-radio input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.form-radio.selected {
  border-color: var(--accent);
  background: rgba(52,152,219,0.06);
}

/* === ФОРМА ЗАПИСИ === */
.booking-section {
  padding: 100px 0;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

.booking-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
}

.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.booking-text h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.booking-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

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

.booking-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.booking-perk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1c40f;
  flex-shrink: 0;
}

.booking-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.booking-form-wrap h3 {
  margin-bottom: 24px;
  font-size: 1.3rem;
}

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

/* === ФУТЕР === */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-contact a:hover { color: var(--accent); }

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

.footer-legal {
  color: rgba(255,255,255,0.35);
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
  font-size: 0.8rem;
}

.footer-legal-links a:hover { color: var(--accent); }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--primary);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 1500;
  border: 1px solid rgba(255,255,255,0.1);
  animation: slideUpIn 0.5s ease both;
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-banner h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.cookie-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cookie-btn-accept {
  background: var(--accent);
  color: white;
}

.cookie-btn-accept:hover { background: #2980b9; }

.cookie-btn-minimal {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

.cookie-btn-minimal:hover {
  background: rgba(255,255,255,0.14);
  color: white;
}

.cookie-btn-settings {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
}

.cookie-btn-settings:hover {
  border-color: rgba(255,255,255,0.3);
  color: white;
}

/* === СТРАНИЦА БЛАГОДАРНОСТИ === */
.thanks-page {
  min-height: 100vh;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.thanks-card {
  background: white;
  border-radius: 24px;
  padding: 60px 48px;
  max-width: 540px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,0.2);
  animation: fadeInUp 0.6s ease;
}

.thanks-icon {
  width: 80px;
  height: 80px;
  background: rgba(39,174,96,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 36px;
}

.thanks-card h1 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.thanks-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* === ПРАВОВЫЕ СТРАНИЦЫ === */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 10px;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--primary);
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* === SCROLL ANIMATION === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.scroll-reveal-delay-1 { transition-delay: 0.1s; }
.scroll-reveal-delay-2 { transition-delay: 0.2s; }
.scroll-reveal-delay-3 { transition-delay: 0.3s; }

/* === АНИМАЦИИ === */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cursorMove {
  0%, 100% { top: 20%; left: 25%; }
  25% { top: 45%; left: 55%; }
  50% { top: 65%; left: 30%; }
  75% { top: 35%; left: 70%; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

@keyframes shapeAppear {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUpIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 120px 0 60px;
  }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .floating-tools { right: -10px; }

  .chitas-inner { grid-template-columns: 1fr; }
  .monitor-wrap { max-width: 500px; margin: 0 auto; }

  .slide { grid-template-columns: 1fr; }
  .slide-img { height: 220px; }

  .accordion-layout { grid-template-columns: 1fr; }
  .accordion-img { position: static; }

  .about-inner { grid-template-columns: 1fr; }
  .about-circular { margin: 0 auto 40px; }

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

  .levels-grid { grid-template-columns: 1fr; }
  .beginners-grid { grid-template-columns: 1fr 1fr; }

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

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 160px);
  }

  .gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .gallery-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(3) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 3; grid-row: span 1; }
  .gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 1; }
  .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(8) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(9) { grid-column: span 3; grid-row: span 1; }
  .gallery-item:nth-child(10) { grid-column: span 3; grid-row: span 1; }

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

  .booking-inner { grid-template-columns: 1fr; }

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

@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }

  section { padding: 70px 0; }

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

  .beginners-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }

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

  .modal { padding: 28px 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 1.6rem; }

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

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

  .about-circular { width: 320px; height: 320px; }
  .about-center-photo { width: 160px; height: 160px; }
}

/* === ПЛАВНЫЙ ПОЯВ ХЕДЕРА === */
.header-scrolled-color a { color: rgba(255,255,255,0.85); }
