

/* 1. Плавный скроллинг по якорным ссылкам */
html {
  scroll-behavior: smooth;
}

/* 2. Ненавязчивый технологичный фон с мягким свечением */
body {
  background-color: #0b0e14;
  /* Легкий цифровой сетчатый узор + двухцветное неоновое пятно на фоне */
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(122, 90, 248, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(0, 212, 255, 0.04) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
  color: #f0f6fc;
}

/* 3. Базовые классы для анимации появления элементов */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Класс, который добавляется через JS при прокрутке */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}





/* ==========================================
   ОЖИВЛЕНИЕ ДИЗАЙНА И ЭФФЕКТЫ ОБЪЕМА
   ========================================== */

/* Увеличиваем «воздух» между секциями */
.section {
  padding: 5rem 0;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
  }
}

/* 1. Эффект стекла (Glassmorphic) для всех карточек */
.demo-card, .mini-calc-box, .browser-card, .rules-card {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Неоновое свечение при наведении */
.demo-card:hover, .mini-calc-box:hover, .browser-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.08);
}

/* 2. Стили мокапа браузера */
.browser-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.browser-header {
  background: rgba(10, 14, 22, 0.9);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-address {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #8b949e;
  font-family: monospace;
  width: 100%;
}

.browser-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  justify-content: space-between;
}

/* 3. Светящиеся фишки-чипы */
.feature-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.feature-pill:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.2);
  transform: scale(1.02);
}

/* 4. Блок превью кода */
.code-preview {
  background: #06090e;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Fira Code', Consolas, monospace;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-line {
  margin-bottom: 6px;
  color: #c9d1d9;
}

.code-line.indent {
  padding-left: 1.2rem;
  color: #7ee787;
}

.code-keyword { color: #ff7b72; }
.code-attr { color: #79c0ff; }
.code-str { color: #a5d6ff; }








/* ==========================================
   СТИЛИ ДЛЯ ЗВУКОВОЙ СТУДИИ И КАРТОЧЕК ОПЛАТЫ
   ========================================== */
/* ==========================================
   СЕКЦИЯ ЗВУКА
   ========================================== */

/* Табы услуг */
.service-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

@media (max-width: 700px) {
  .service-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #c9d1d9;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  line-height: 1.3;
}

.service-tab .tab-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.service-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.service-tab.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: #00d4ff;
  color: #f0f6fc;
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.2);
}

.service-tab.active .tab-icon {
  transform: scale(1.15);
}

/* Плеер */
.audio-demo {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}

.audio-demo-header {
  background: rgba(10, 14, 22, 0.9);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.audio-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-family: monospace;
  color: #8b949e;
  letter-spacing: 1px;
}

.audio-badge {
  background: rgba(122, 90, 248, 0.15);
  border: 1px solid rgba(122, 90, 248, 0.3);
  color: #a78bfa;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

.audio-demo-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.waveform-wrap {
  background: rgba(6, 9, 14, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 44px;
  flex-shrink: 0;
}

.waveform-bars span {
  width: 3px;
  height: 20%;
  background: #00d4ff;
  border-radius: 3px;
  transition: height 0.15s ease;
}

.audio-demo.playing .waveform-bars span {
  animation: wave 0.8s ease-in-out infinite alternate;
}

.waveform-bars span:nth-child(2n) { animation-delay: 0.1s; }
.waveform-bars span:nth-child(3n) { animation-delay: 0.2s; }
.waveform-bars span:nth-child(4n) { animation-delay: 0.3s; }
.waveform-bars span:nth-child(5n) { animation-delay: 0.4s; }

@keyframes wave {
  0% { height: 15%; }
  100% { height: 100%; }
}

.progress-line-wrap {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: -8px;
}

.progress-line {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7a5af8, #00d4ff);
  border-radius: 2px;
  transition: width 0.15s linear;
}

.audio-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 500px) {
  .audio-controls { grid-template-columns: 1fr; }
}

.audio-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #f0f6fc;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
}

.audio-btn .btn-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.audio-btn > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.audio-btn small {
  font-size: 0.72rem;
  color: #8b949e;
  font-weight: 400;
}

.audio-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.3);
}

.audio-btn.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: #00d4ff;
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.15);
}

.audio-btn.active .btn-icon {
  background: #00d4ff;
  color: #000;
}

.audio-btn.original.active {
  background: rgba(255, 95, 86, 0.1);
  border-color: #ff5f56;
  box-shadow: 0 6px 20px rgba(255, 95, 86, 0.15);
}

.audio-btn.original.active .btn-icon {
  background: #ff5f56;
  color: #fff;
}

/* Карточки услуг */
.services-title {
  font-size: 1.1rem;
  color: #f0f6fc;
  margin: 0 0 18px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 18px;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.1);
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1;
}

.service-card h4 {
  font-size: 0.95rem;
  color: #f0f6fc;
  margin: 0 0 8px;
  font-weight: 600;
}

.service-card p {
  font-size: 0.82rem;
  color: #8b949e;
  line-height: 1.5;
  margin: 0 0 14px;
}

.service-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #00d4ff;
}





/* ФИКС отображения плеера на мобилке */
@media (max-width: 600px) {
  .waveform-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .waveform-bars {
    height: 36px;
    width: 100%;
    justify-content: center;
  }

  .track-info {
    width: 100%;
    min-width: 0;
  }

  .track-title,
  .track-sub {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.4;
  }

  .track-title {
    font-size: 0.88rem;
  }

  .track-sub {
    font-size: 0.76rem;
  }
}





.btn-audio {
  font-size: 0.85rem;
  padding: 10px;
}

/* ==========================================
   СЕКЦИЯ: УСЛОВИЯ РАБОТЫ И ОПЛАТА
   ========================================== */

	.rules-grid {
	  display: grid;
	  grid-template-columns: 1fr 1fr;
	  gap: 24px;
	}

	.rules-card-wide {
	  grid-column: 1 / -1;
	}

	@media (max-width: 900px) {
	  .rules-grid { grid-template-columns: 1fr; }
	}

	.rules-card {
	  background: rgba(18, 24, 38, 0.7);
	  backdrop-filter: blur(16px);
	  -webkit-backdrop-filter: blur(16px);
	  border: 1px solid rgba(255, 255, 255, 0.08);
	  border-radius: 18px;
	  padding: 26px 24px;
	  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
	}

	.rules-card:hover {
	  transform: translateY(-4px);
	  border-color: rgba(0, 212, 255, 0.3);
	  box-shadow: 0 16px 44px rgba(0, 212, 255, 0.08);
	}

	.rules-card-head {
	  display: flex;
	  align-items: center;
	  gap: 12px;
	  margin-bottom: 18px;
	  padding-bottom: 14px;
	  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	.rules-card-icon {
	  font-size: 1.6rem;
	  line-height: 1;
	}

	.rules-card-head h3 {
	  margin: 0;
	  font-size: 1.1rem;
	  font-weight: 700;
	  color: #f0f6fc;
	}

	.rules-block { margin-bottom: 16px; }
	.rules-block:last-child { margin-bottom: 0; }

	.rules-subtitle {
	  font-size: 0.85rem;
	  font-weight: 700;
	  color: #c9d1d9;
	  margin-bottom: 8px;
	  letter-spacing: 0.2px;
	}

	.rules-subtitle.good { color: #27c93f; }
	.rules-subtitle.bad  { color: #ff5f56; }

	.rules-intro {
	  font-size: 0.86rem;
	  color: #8b949e;
	  margin: 0 0 14px;
	  line-height: 1.5;
	}

	.rules-list {
	  list-style: none;
	  padding: 0;
	  margin: 0;
	  display: flex;
	  flex-direction: column;
	  gap: 6px;
	}

	.rules-list li {
	  font-size: 0.86rem;
	  color: #c9d1d9;
	  padding-left: 20px;
	  position: relative;
	  line-height: 1.5;
	}

	.rules-list li::before {
	  content: '•';
	  position: absolute;
	  left: 6px;
	  color: #00d4ff;
	  font-weight: 700;
	}

	.rules-list.small li { font-size: 0.82rem; }

	.good-list li::before { color: #27c93f; content: '✓'; font-size: 0.9rem; left: 4px; }
	.bad-list  li::before { color: #ff5f56; content: '✕'; font-size: 0.85rem; left: 4px; }

	.rules-steps {
	  list-style: none;
	  padding: 0;
	  margin: 0;
	  counter-reset: step;
	  display: flex;
	  flex-direction: column;
	  gap: 8px;
	}

	.rules-steps li {
	  counter-increment: step;
	  font-size: 0.86rem;
	  color: #c9d1d9;
	  padding-left: 30px;
	  position: relative;
	  line-height: 1.5;
	}

	.rules-steps li::before {
	  content: counter(step);
	  position: absolute;
	  left: 0;
	  top: 1px;
	  width: 20px;
	  height: 20px;
	  background: rgba(0, 212, 255, 0.12);
	  border: 1px solid rgba(0, 212, 255, 0.35);
	  color: #00d4ff;
	  border-radius: 50%;
	  font-size: 0.7rem;
	  font-weight: 700;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	}

	.rules-list-detailed {
	  list-style: none;
	  padding: 0;
	  margin: 0;
	  display: flex;
	  flex-direction: column;
	  gap: 14px;
	}

	.rules-list-detailed li {
	  display: flex;
	  gap: 12px;
	  align-items: flex-start;
	  background: rgba(255, 255, 255, 0.02);
	  border: 1px solid rgba(255, 255, 255, 0.05);
	  border-radius: 10px;
	  padding: 12px 14px;
	  transition: border-color 0.2s ease;
	}

	.rules-list-detailed li:hover {
	  border-color: rgba(0, 212, 255, 0.25);
	}

	.rl-icon {
	  font-size: 1.2rem;
	  flex-shrink: 0;
	  line-height: 1.4;
	}

	.rules-list-detailed strong {
	  display: block;
	  font-size: 0.9rem;
	  color: #f0f6fc;
	  margin-bottom: 3px;
	}

	.rules-list-detailed p {
	  margin: 0;
	  font-size: 0.82rem;
	  color: #8b949e;
	  line-height: 1.5;
	}

	.rules-notice {
	  margin-top: 14px;
	  background: rgba(0, 212, 255, 0.06);
	  border: 1px dashed rgba(0, 212, 255, 0.25);
	  border-radius: 10px;
	  padding: 12px 14px;
	  font-size: 0.82rem;
	  color: #c9d1d9;
	  line-height: 1.5;
	}

	.rules-notice strong { color: #00d4ff; }

	.rules-notice-warn {
	  background: rgba(255, 95, 86, 0.06);
	  border-color: rgba(255, 95, 86, 0.3);
	}

	.rules-terms-group { margin-bottom: 14px; }
	.rules-terms-group:last-child { margin-bottom: 0; }

	.rules-term-title {
	  font-size: 0.85rem;
	  font-weight: 700;
	  color: #a78bfa;
	  margin-bottom: 6px;
	  letter-spacing: 0.2px;
	}

	.rules-wide-grid {
	  display: grid;
	  grid-template-columns: 1fr 1fr;
	  gap: 30px;
	}

	@media (max-width: 800px) {
	  .rules-wide-grid { grid-template-columns: 1fr; gap: 24px; }
	}

	.rules-wide-col { min-width: 0; }

	.edits-list {
	  list-style: none;
	  padding: 0;
	  margin: 0;
	  display: flex;
	  flex-direction: column;
	  gap: 8px;
	}

	.edits-list li {
	  display: flex;
	  align-items: center;
	  gap: 12px;
	  background: rgba(255, 255, 255, 0.02);
	  border: 1px solid rgba(255, 255, 255, 0.05);
	  border-radius: 10px;
	  padding: 10px 14px;
	  transition: all 0.25s ease;
	}

	.edits-list li:hover {
	  background: rgba(0, 212, 255, 0.04);
	  border-color: rgba(0, 212, 255, 0.25);
	}

	.edit-icon { font-size: 1.2rem; flex-shrink: 0; }

	.edits-list div {
	  display: flex;
	  justify-content: space-between;
	  flex: 1;
	  align-items: center;
	  gap: 10px;
	  min-width: 0;
	}

	.edits-list strong {
	  font-size: 0.88rem;
	  color: #f0f6fc;
	  font-weight: 600;
	}

	.edits-list span {
	  font-size: 0.85rem;
	  color: #00d4ff;
	  font-weight: 700;
	  white-space: nowrap;
	}

	.formats-list {
	  list-style: none;
	  padding: 0;
	  margin: 0;
	  display: flex;
	  flex-direction: column;
	  gap: 10px;
	}

	.formats-list li {
	  background: rgba(255, 255, 255, 0.02);
	  border: 1px solid rgba(255, 255, 255, 0.05);
	  border-radius: 10px;
	  padding: 12px 14px;
	  transition: border-color 0.25s ease;
	}

	.formats-list li:hover {
	  border-color: rgba(122, 90, 248, 0.35);
	}

	.fmt-head {
	  font-size: 0.85rem;
	  font-weight: 700;
	  color: #f0f6fc;
	  margin-bottom: 4px;
	}

	.fmt-body {
	  font-size: 0.8rem;
	  color: #8b949e;
	  line-height: 1.5;
	}

	@media (max-width: 500px) {
	  .rules-card { padding: 22px 18px; }
	  .rules-card-head h3 { font-size: 1rem; }
	}




/* ==========================================
   СТИЛИ ДЛЯ СЕКЦИИ ДИЗАЙНА И ПОЛИГРАФИИ
   ========================================== */



/* Сетка работ (десктоп) */
.design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

/* Мобильная карусель со свайпом */
@media (max-width: 768px) {
  .design-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin: 0 -20px 32px;
    padding: 4px 20px 20px;
    scroll-padding-left: 20px;
    scrollbar-width: none;
  }
  .design-grid::-webkit-scrollbar { display: none; }
}

.design-cell {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 3 / 4;
  width: 100%;
}

@media (max-width: 768px) {
  .design-cell {
    flex: 0 0 72%;
    scroll-snap-align: center;
  }
}

@media (max-width: 420px) {
  .design-cell { flex: 0 0 78%; }
}

.design-cell:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0, 212, 255, 0.15);
}

@media (hover: none) {
  .design-cell:hover { transform: none; }
}

.design-cell img,
.design-cell svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.design-cell::after {
  content: '🔍 Увеличить';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 12px;
  background: linear-gradient(to top, rgba(6, 9, 14, 0.95) 0%, rgba(6, 9, 14, 0) 100%);
  color: #00d4ff;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.design-cell:hover::after { opacity: 1; }

@media (hover: none) {
  .design-cell::after { opacity: 0.85; }
}

/* Подсказка свайпа */
.swipe-hint {
  display: none;
  text-align: center;
  color: #8b949e;
  font-size: 0.75rem;
  margin: -14px 0 24px;
  font-style: italic;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .swipe-hint { display: block; }
}

/* Блок цен */
.prices-block {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
}

.prices-block h3 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: #f0f6fc;
  text-align: center;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .prices-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .prices-block { padding: 22px 18px; }
}

.price-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.25s ease;
}

@media (max-width: 700px) {
  .price-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 14px 16px;
  }
}

.price-item:hover {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-3px);
}

.pi-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
  line-height: 1;
}

@media (max-width: 700px) {
  .pi-icon {
    margin-bottom: 0;
    font-size: 1.4rem;
    flex-shrink: 0;
  }
}

.pi-name {
  font-size: 0.85rem;
  color: #c9d1d9;
  margin-bottom: 8px;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .pi-name { margin-bottom: 0; flex: 1; }
}

.pi-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00d4ff;
  transition: color 0.2s ease;
}

@media (max-width: 700px) {
  .pi-price { font-size: 1rem; flex-shrink: 0; }
}

/* Кнопка заказа дизайна */
.btn-order {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #7a5af8, #592bf1);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(122, 90, 248, 0.3);
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(122, 90, 248, 0.5);
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 10, 0.95);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox.active {
  display: flex;
  animation: lbFade 0.3s ease;
}

@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lb-content {
  max-width: 700px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-content img,
.lb-content svg {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.lb-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  padding: 0;
  z-index: 2;
}

.lb-close:hover {
  background: rgba(255, 95, 86, 0.25);
  border-color: #ff5f56;
  transform: rotate(90deg);
}

@media (max-width: 480px) {
  .lb-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}





/* ==========================================
   ПОДРОБНЫЙ БЛОК РЕСТАВРАЦИИ
   ========================================== */

.mb-4 {
  margin-bottom: 2rem;
}

.restoration-info-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.restoration-info-box h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #f0f6fc;
}

.restoration-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.25s ease;
}

.step-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.step-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-content strong {
  font-size: 0.9rem;
  color: #f0f6fc;
}

.step-content p {
  margin: 0;
  font-size: 0.82rem;
  color: #8b949e;
  line-height: 1.4;
}

/* Расширенное описание вариантов в калькуляторе */
.service-desc strong {
  color: #c9d1d9;
}











/* ==========================================
   НОВАЯ КАРУСЕЛЬ (вместо старых миниатюр)
   ========================================== */

.carousel-container {
  margin-top: 1.2rem;
  position: relative;
}

.carousel-track-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(6, 9, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: opacity 0.3s ease;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.carousel-slide:hover img {
  transform: scale(1.03);
}

/* Активный слайд — лёгкая рамка */
.carousel-slide.active-slide {
  box-shadow: inset 0 0 0 3px #00d4ff;
}

/* Кнопки навигации */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 14, 22, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-btn:hover {
  background: rgba(0, 212, 255, 0.25);
  border-color: #00d4ff;
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn-prev {
  left: 12px;
}

.carousel-btn-next {
  right: 12px;
}

/* Точки пагинации */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active-dot {
  background: #00d4ff;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Адаптив: на десктопе показываем по 2 слайда */
@media (min-width: 700px) {
  .carousel-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1000px) {
  .carousel-slide {
    flex: 0 0 33.333%;
  }
}











:root {
  --bg-color: #0d0f12;
  --card-bg: #161b22;
  --accent-color: #7a5af8;
  --accent-hover: #9275ff;
  --text-main: #f0f6fc;
  --text-muted: #8b949e;
  --border-color: #30363d;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка */
/* Шапка с эффектом размытия стекла */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 15, 18, 0.75); /* Полупрозрачный темный фон */
  backdrop-filter: blur(12px); /* Эффект матового стекла */
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  transition: all 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Логотип */
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-accent {
  color: var(--accent-color);
  text-shadow: 0 0 12px rgba(122, 90, 248, 0.4); /* Легкое неоновое свечение */
}

.logo .dot {
  color: #00d4ff;
}

/* Индикатор онлайн-статуса */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #8b949e;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-left: 5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #2ec4b6; /* Зеленая пульсирующая точка */
  border-radius: 50%;
  box-shadow: 0 0 8px #2ec4b6;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Навигация */
.nav {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

/* Красивая подсвечивающаяся полоска при наведении на пункт меню */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), #00d4ff);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

/* Кнопка в шапке */
.btn-header {
  padding: 8px 18px;
  font-size: 0.88rem;
  background: rgba(122, 90, 248, 0.15);
  color: #fff;
  border: 1px solid var(--accent-color);
  border-radius: 6px;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 10px rgba(122, 90, 248, 0.15);
}

.btn-header:hover {
  background: var(--accent-color);
  box-shadow: 0 0 20px rgba(122, 90, 248, 0.4);
  transform: translateY(-1px);
}

/* Адаптив для мобилок */
@media (max-width: 768px) {
  .nav { display: none; } /* Позже сюда можно повесить мобильное бургер-меню */
  .status-badge { display: none; }
}





/* Стиль для заблокированных чекбоксов */
input[type="checkbox"]:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

input[type="checkbox"]:disabled ~ .checkbox-text {
  opacity: 0.4;
  color: var(--text-muted);
  cursor: not-allowed;
}

/* Изменение курсора у всего лейбла, если опция заблокирована */
.checkbox-label:has(input:disabled) {
  cursor: not-allowed;
}







/* Герой */
.hero {
  text-align: center;
  padding: 80px 0;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.hero p { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 30px; }

/* Кнопки */
.btn {
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.2s;
}

.btn-primary { background: var(--accent-color); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--border-color); color: var(--text-main); }
.btn-block { width: 100%; margin-top: 15px; }

/* Разделы */
.section { padding: 60px 0; border-top: 1px solid var(--border-color); }
.section h2 { margin-bottom: 30px; text-align: center; }

/* Демо Карточки */
.demo-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 25px;
}

/* Слайдер До / После */
.image-comparison {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 6px;
}

.img-before, .img-after {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
}

.img-before { width: 50%; border-right: 2px solid var(--accent-color); }
.slider-control {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

/* Калькулятор */


.calc-group {
  margin-bottom: 18px;
}

.calc-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

select {
  width: 100%;
  padding: 10px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

select:focus {
  border-color: var(--accent-color);
}

.calc-group-checkbox {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed var(--border-color);
}



.calc-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.checkbox-label {
  display: block;
  margin-bottom: 15px;
  cursor: pointer;
}

.checkbox-label input { margin-right: 10px; }
.total-price { font-size: 2rem; font-weight: bold; color: var(--accent-color); margin: 15px 0; }

.pay-methods { margin-bottom: 20px; }
.badge {
  font-size: 0.8rem;
  padding: 4px 8px;
  background: var(--border-color);
  border-radius: 4px;
  margin-right: 5px;
}
.badge-crypto { background: #1b4a3f; color: #50e3c2; }



/* Описание под селектами и чекбоксами */
.service-desc {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.calc-divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 20px 0;
}

.calc-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -20px;
  margin-bottom: 30px;
}

/* Блок правил внизу */
.rules-box {
  margin-top: 25px;
  padding: 15px;
  background: var(--bg-color);
  border: 1px dashed var(--border-color);
  border-radius: 6px;
  font-size: 0.85rem;
}

.rules-box h4 {
  margin-bottom: 8px;
  color: #f39c12;
}

.rules-box ul {
  list-style-type: none;
  padding-left: 0;
}

.rules-box li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

.rules-box u {
  color: var(--text-main);
}



input[type="text"], textarea {
  width: 100%;
  padding: 10px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 4px;
  margin-bottom: 10px;
}

.footer { text-align: center; padding: 30px 0; color: var(--text-muted); }

@media (max-width: 768px) {
  .calc-box { grid-template-columns: 1fr; }
}






















/* ==========================================
   ПОДРОБНЫЙ БЛОК РЕСТАВРАЦИИ
   ========================================== */

.mb-4 {
  margin-bottom: 2rem;
}

.restoration-info-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.restoration-info-box h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #f0f6fc;
}

.restoration-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color 0.25s ease;
}

.step-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
}

.step-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-content strong {
  font-size: 0.9rem;
  color: #f0f6fc;
}

.step-content p {
  margin: 0;
  font-size: 0.82rem;
  color: #8b949e;
  line-height: 1.4;
}

/* Расширенное описание вариантов в калькуляторе */
.service-desc strong {
  color: #c9d1d9;
}











/* ==========================================
   ЧИСТОЕ ПОРТФОЛИО РЕСТАВРАЦИИ
   ========================================== */

.portfolio-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}


/*
.img-after, .img-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.img-before {
 /width: 50%;
  border-right: 3px solid #00d4ff;
  box-shadow: 3px 0 15px rgba(0, 212, 255, 0.5);
}*/

.slider-control {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
}

.slider-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  background: rgba(10, 14, 22, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  letter-spacing: 1px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 4;
}

.label-before { left: 16px; color: #ff5f56; }
.label-after  { right: 16px; color: #27c93f; }

/* Текстовый блок под выбранную работу */
.work-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
}

.work-details h4 {
  margin: 0 0 4px 0;
  font-size: 1.05rem;
  color: #f0f6fc;
}

.work-details p {
  margin: 0;
  font-size: 0.85rem;
  color: #8b949e;
  line-height: 1.4;
}

/* Сетка карточек портфолио */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.portfolio-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.portfolio-item.active {
  background: rgba(0, 212, 255, 0.08);
  border-color: #00d4ff;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15);
}

.portfolio-thumb {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.portfolio-meta strong {
  font-size: 0.82rem;
  color: #f0f6fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.portfolio-meta small {
  font-size: 0.72rem;
  color: #8b949e;
  margin-top: 2px;
}









.image-comparison-main {
 position: relative;
  width: 100%;
  max-height: 600px; /* Не дает блоку расти выше 600px на мониторе */
  border-radius: 16px;
  overflow: hidden;
  background: #06090e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-after, .img-before {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background-size: contain;
  background-position: no-repeat;
}

/* Обрезаем верхнее фото (ДО) через маску, не сжимая сам кадр */
.img-before {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  z-index: 2;
}

/* Неоновая разделительная линия на стыке до/после */
.image-comparison-main::after {
  content: '';
  position: absolute;
  top: 0; 
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: #00d4ff;
  box-shadow: 0 0 10px #00d4ff;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}





/* Картинка "ПОСЛЕ" (базовая) */
#mainAfter {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: contain; /* Вписывает даже 9:16 полностью без обрезок */
}

/* Обертка для картинки "ДО" */
.img-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%; /* Это значение меняет инпут */
  overflow: hidden;
}

/* Картинка "ДО" внутри обертки */
#mainBefore {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Синхронно повторяет масштаб и центрирование */
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  z-index: 2;
}











/* ==========================================
   КАРТОЧКИ УРОВНЕЙ РЕСТАВРАЦИИ
   ========================================== */

.level-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.2rem;
}

.level-card {
  display: block;
  cursor: pointer;
  position: relative;
}

/* Скрываем нативный radio, но оставляем его рабочим */
.level-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.level-inner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.25s ease;
}

.level-card:hover .level-inner {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

/* Выбранная карточка */
.level-card input[type="radio"]:checked + .level-inner {
  background: rgba(0, 212, 255, 0.08);
  border-color: #00d4ff;
  box-shadow: 0 6px 24px rgba(0, 212, 255, 0.18);
}

.level-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.level-head strong {
  font-size: 0.98rem;
  color: #f0f6fc;
  flex: 1;
}

.level-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: #a78bfa;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.level-card input[type="radio"]:checked + .level-inner .level-price {
  color: #00d4ff;
}

.level-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-green  { background: #27c93f; box-shadow: 0 0 8px rgba(39, 201, 63, 0.6); }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 8px rgba(255, 189, 46, 0.6); }
.dot-red    { background: #ff5f56; box-shadow: 0 0 8px rgba(255, 95, 86, 0.6); }

.level-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #8b949e;
  line-height: 1.4;
}

.level-term {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #8b949e;
  font-family: monospace;
  letter-spacing: 0.3px;
}

/* Подсказка со сроком в итоговой строке */
.total-price-sm .term-hint {
  font-size: 0.85rem;
  font-weight: 400;
  color: #8b949e;
  margin-left: 6px;
}





/* ==========================================
   ПОРТФОЛИО САЙТОВ (СЕКЦИЯ ВЕБ-РАЗРАБОТКИ)
   ========================================== */

.portfolio-web-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 850px) {
  .portfolio-web-grid { grid-template-columns: 1fr; }
}

.web-project-card {
  background: rgba(18, 24, 38, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.web-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 16px 48px rgba(0, 212, 255, 0.1);
}

.web-project-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #06090e;
}

.web-project-preview img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}

.web-project-card:hover .web-project-preview img { transform: scale(1.04); }

.web-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 9, 14, 0) 40%, rgba(6, 9, 14, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.web-project-card:hover .web-project-overlay { opacity: 1; }

.btn-preview {
  padding: 10px 22px;
  font-size: 0.88rem;
  border-radius: 8px;
  text-decoration: none;
  background: #7a5af8;
  color: #fff;
  font-weight: 600;
  transition: background 0.25s ease;
}

.btn-preview:hover { background: #9275ff; }

.web-project-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.web-project-info h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: #f0f6fc;
  font-weight: 600;
}

.web-project-info > p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: #8b949e;
  line-height: 1.5;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-list li {
  font-size: 0.82rem;
  color: #c9d1d9;
  line-height: 1.5;
}

.web-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.web-project-tags .tag {
  background: rgba(122, 90, 248, 0.12);
  border: 1px solid rgba(122, 90, 248, 0.3);
  color: #a78bfa;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Доп. модули */
.addons-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

.addons-title {
  font-size: 0.78rem;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.addon-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-bottom: 6px;
}

.addon-item:last-child { margin-bottom: 0; }
.addon-item:hover { background: rgba(255, 255, 255, 0.03); }

.addon-item input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #7a5af8;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.addon-content { flex: 1; }

.addon-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.addon-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f0f6fc;
}

.addon-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: #a78bfa;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.addon-item input:checked ~ .addon-content .addon-price {
  color: #00d4ff;
}

.addon-desc {
  font-size: 0.75rem;
  color: #8b949e;
  line-height: 1.4;
}

/* Цена */
.card-price-block {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: auto;
  margin-bottom: 14px;
}

.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.card-price-label {
  font-size: 0.85rem;
  color: #8b949e;
}

.card-price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #00d4ff;
  transition: all 0.2s ease;
}

.card-term {
  font-size: 0.78rem;
  color: #8b949e;
  font-family: monospace;
}

/* Кнопка заказа */
.btn-order {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #7a5af8, #592bf1);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(122, 90, 248, 0.3);
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(122, 90, 248, 0.5);
}

/* ================== МОДАЛКА ================== */
.order-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
  box-sizing: border-box;
}

.order-modal.active { display: flex; animation: modalFade 0.3s ease; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }

.order-modal-inner {
  background: #0e1220;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px 24px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  max-height: 90vh;
  overflow-y: auto;
}

.order-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  color: #666; font-size: 1.4rem;
  cursor: pointer; line-height: 1;
  transition: color 0.2s ease;
}

.order-modal-close:hover { color: #fff; }

.order-modal-title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: #f0f6fc;
  text-align: center;
}

.order-modal-sub {
  margin: 0 0 20px;
  font-size: 0.85rem;
  color: #8b949e;
  text-align: center;
}

.order-modal-preview-wrap {
  position: relative;
  margin-bottom: 16px;
}

.order-modal-preview {
  background: rgba(0, 212, 255, 0.04);
  border: 1px dashed rgba(0, 212, 255, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #c9d1d9;
  line-height: 1.55;
  white-space: pre-line;
  max-height: 180px;
  overflow-y: auto;
}

.btn-copy-text {
  margin-top: 10px;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 10px;
  color: #00d4ff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-text:hover {
  background: rgba(0, 212, 255, 0.15);
  border-color: #00d4ff;
}

.order-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.messenger-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}



	.messenger-icon {
	  width: 42px;
	  height: 42px;
	  flex-shrink: 0;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  border-radius: 50%;
	  background: rgba(255, 255, 255, 0.05);
	  transition: all 0.25s ease;
	}

	.messenger-icon svg {
	  width: 22px;
	  height: 22px;
	}

	.tg-btn .messenger-icon {
	  color: #29a9eb;
	}

	.vk-btn .messenger-icon {
	  color: #4c75a3;
	}

	.tg-btn:hover .messenger-icon {
	  background: rgba(41, 169, 235, 0.2);
	  transform: scale(1.08);
	}

	.vk-btn:hover .messenger-icon {
	  background: rgba(76, 117, 163, 0.2);
	  transform: scale(1.08);
	}




.messenger-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.messenger-text strong {
  font-size: 0.98rem;
  color: #fff;
  font-weight: 600;
}

.messenger-text small {
  font-size: 0.75rem;
  color: #8b949e;
}

.tg-btn { background: rgba(38, 165, 228, 0.08); }
.tg-btn:hover {
  background: rgba(38, 165, 228, 0.18);
  border-color: rgba(38, 165, 228, 0.4);
  transform: translateY(-2px);
}

.vk-btn { background: rgba(86, 118, 200, 0.08); }
.vk-btn:hover {
  background: rgba(86, 118, 200, 0.18);
  border-color: rgba(86, 118, 200, 0.4);
  transform: translateY(-2px);
}

/* ================== ТОСТ ================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 100000;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.toast.show { transform: translateX(-50%) translateY(0); }




/* ==========================================
   ФУТЕР
   ========================================== */

	.site-footer {
	  background: #06090e;
	  border-top: 1px solid rgba(255, 255, 255, 0.06);
	}

	.site-footer-inner {
	  max-width: 1000px;
	  margin: 0 auto;
	  padding: 50px 24px 30px;
	  display: grid;
	  grid-template-columns: 1.4fr 1fr 1fr;
	  gap: 40px;
	}

	@media (max-width: 800px) {
	  .site-footer-inner {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 40px 20px 24px;
	  }
	}

	.footer-col { min-width: 0; }

	.footer-brand {
	  display: flex;
	  flex-direction: column;
	  gap: 14px;
	}

	.footer-logo {
	  font-size: 1.3rem;
	  font-weight: 800;
	  letter-spacing: 0.5px;
	  color: #fff;
	}

	.footer-logo .logo-accent {
	  color: #7a5af8;
	  text-shadow: 0 0 12px rgba(122, 90, 248, 0.4);
	}

	.footer-logo .dot { color: #00d4ff; }

	.footer-tagline {
	  margin: 0;
	  font-size: 0.85rem;
	  color: #8b949e;
	  line-height: 1.6;
	  max-width: 320px;
	}

	.footer-title {
	  margin: 0 0 16px;
	  font-size: 0.85rem;
	  font-weight: 700;
	  color: #f0f6fc;
	  text-transform: uppercase;
	  letter-spacing: 1.5px;
	  position: relative;
	  padding-bottom: 10px;
	}

	.footer-title::after {
	  content: '';
	  position: absolute;
	  bottom: 0;
	  left: 0;
	  width: 32px;
	  height: 2px;
	  background: linear-gradient(90deg, #7a5af8, #00d4ff);
	  border-radius: 2px;
	}

	.footer-links {
	  list-style: none;
	  padding: 0;
	  margin: 0;
	  display: flex;
	  flex-direction: column;
	  gap: 10px;
	}

	.footer-links a {
	  color: #8b949e;
	  text-decoration: none;
	  font-size: 0.85rem;
	  transition: color 0.2s ease, padding-left 0.2s ease;
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;
	  padding-left: 0;
	}

	.footer-links a:hover {
	  color: #00d4ff;
	  padding-left: 4px;
	}

	/* SVG-иконки соцсетей */
	.contact-link {
	  display: inline-flex !important;
	  align-items: center;
	  gap: 10px;
	}

	.contact-svg {
	  width: 18px;
	  height: 18px;
	  flex-shrink: 0;
	  color: #8b949e;
	  transition: color 0.25s ease, transform 0.25s ease;
	}

	.contact-link:hover .contact-svg {
	  transform: scale(1.12);
	}

	.contact-link[href*="t.me"]:hover .contact-svg {
	  color: #29a9eb;
	}

	.contact-link[href*="vk.ru"]:hover .contact-svg,
	.contact-link[href*="vk.com"]:hover .contact-svg {
	  color: #4c75a3;
	}

	/* Нижняя полоса */
	.footer-bottom {
	  border-top: 1px solid rgba(255, 255, 255, 0.06);
	  background: rgba(0, 0, 0, 0.3);
	}

	.footer-bottom-inner {
	  max-width: 1000px;
	  margin: 0 auto;
	  padding: 18px 24px;
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: 16px;
	  flex-wrap: wrap;
	}

	@media (max-width: 500px) {
	  .footer-bottom-inner {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	  }
	}

	.footer-copyright {
	  margin: 0;
	  font-size: 0.8rem;
	  color: #666;
	  letter-spacing: 0.3px;
	}

	/* Кнопка «Наверх» */
	.footer-top-btn {
	  display: inline-flex;
	  align-items: center;
	  gap: 8px;
	  padding: 10px 18px;
	  background: rgba(122, 90, 248, 0.1);
	  border: 1px solid rgba(122, 90, 248, 0.35);
	  border-radius: 8px;
	  color: #a78bfa;
	  font-family: inherit;
	  font-size: 0.8rem;
	  font-weight: 600;
	  letter-spacing: 0.5px;
	  cursor: pointer;
	  transition: all 0.25s ease;
	}

	.footer-top-btn:hover {
	  background: rgba(122, 90, 248, 0.22);
	  border-color: #7a5af8;
	  color: #fff;
	  transform: translateY(-2px);
	  box-shadow: 0 8px 20px rgba(122, 90, 248, 0.3);
	}

	.footer-top-btn:active {
	  transform: translateY(0);
	}
	
	
	
	
	/* ==========================================
	   БУРГЕР-МЕНЮ (мобильная навигация)
	   ========================================== */

	.burger {
	  display: none;
	  flex-direction: column;
	  justify-content: center;
	  align-items: center;
	  gap: 5px;
	  width: 40px;
	  height: 40px;
	  background: transparent;
	  border: none;
	  cursor: pointer;
	  padding: 0;
	  z-index: 1100;
	  position: relative;
	}

	.burger span {
	  display: block;
	  width: 24px;
	  height: 2px;
	  background: #fff;
	  border-radius: 2px;
	  transition: transform 0.3s ease, opacity 0.3s ease;
	}

	.burger.active span:nth-child(1) {
	  transform: translateY(7px) rotate(45deg);
	}
	.burger.active span:nth-child(2) {
	  opacity: 0;
	}
	.burger.active span:nth-child(3) {
	  transform: translateY(-7px) rotate(-45deg);
	}

	/* Полноэкранное меню */
	.mobile-menu {
	  position: fixed;
	  inset: 0;
	  background: rgba(8, 11, 18, 0.98);
	  backdrop-filter: blur(20px);
	  -webkit-backdrop-filter: blur(20px);
	  z-index: 1050;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  justify-content: center;
	  gap: 6px;
	  padding: 90px 24px 40px;
	  box-sizing: border-box;
	  opacity: 0;
	  pointer-events: none;
	  transition: opacity 0.35s ease;
	  overflow-y: auto;
	}

	.mobile-menu.active {
	  opacity: 1;
	  pointer-events: auto;
	}

	.mobile-menu-nav {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  gap: 8px;
	  width: 100%;
	  max-width: 320px;
	}

	.mobile-link {
	  display: flex;
	  align-items: center;
	  gap: 14px;
	  width: 100%;
	  padding: 16px 20px;
	  color: #c9d1d9;
	  text-decoration: none;
	  font-size: 1.35rem;
	  font-weight: 600;
	  border-radius: 14px;
	  background: rgba(255, 255, 255, 0.02);
	  border: 1px solid rgba(255, 255, 255, 0.06);
	  transition: all 0.25s ease;
	  opacity: 0;
	  transform: translateY(15px);
	  box-sizing: border-box;
	}

	.mobile-menu.active .mobile-link {
	  animation: linkFade 0.4s ease forwards;
	}

	.mobile-menu.active .mobile-link:nth-child(1) { animation-delay: 0.10s; }
	.mobile-menu.active .mobile-link:nth-child(2) { animation-delay: 0.16s; }
	.mobile-menu.active .mobile-link:nth-child(3) { animation-delay: 0.22s; }
	.mobile-menu.active .mobile-link:nth-child(4) { animation-delay: 0.28s; }
	.mobile-menu.active .mobile-link:nth-child(5) { animation-delay: 0.34s; }

	@keyframes linkFade {
	  to { opacity: 1; transform: translateY(0); }
	}

	.mobile-link:hover,
	.mobile-link:active {
	  background: rgba(0, 212, 255, 0.08);
	  border-color: rgba(0, 212, 255, 0.35);
	  color: #fff;
	  transform: translateX(4px);
	}

	.ml-icon {
	  font-size: 1.5rem;
	  line-height: 1;
	  flex-shrink: 0;
	}

	/* Контакты */
	.mobile-contacts {
	  display: flex;
	  gap: 22px;
	  margin-top: 32px;
	  opacity: 0;
	  transform: translateY(15px);
	}

	.mobile-menu.active .mobile-contacts {
	  animation: linkFade 0.4s ease 0.42s forwards;
	}

	.mobile-contact {
	  width: 48px;
	  height: 48px;
	  border-radius: 50%;
	  background: rgba(255, 255, 255, 0.04);
	  border: 1px solid rgba(255, 255, 255, 0.1);
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  color: #8b949e;
	  transition: all 0.25s ease;
	}

	.mobile-contact svg {
	  width: 22px;
	  height: 22px;
	}

	.mobile-contact:hover {
	  transform: translateY(-3px) scale(1.05);
	}

	.mobile-contact[href*="t.me"]:hover {
	  background: rgba(41, 169, 235, 0.15);
	  border-color: #29a9eb;
	  color: #29a9eb;
	}

	.mobile-contact[href*="vk.ru"]:hover,
	.mobile-contact[href*="vk.com"]:hover {
	  background: rgba(76, 117, 163, 0.15);
	  border-color: #4c75a3;
	  color: #4c75a3;
	}

	/* Адаптив */
	@media (max-width: 768px) {
	  .nav { display: none; }
	  .header-action { display: none; }
	  .burger { display: flex; }
	}

	@media (min-width: 769px) {
	  .burger { display: none; }
	  .mobile-menu { display: none; }
	}
	
	
	
	
	
	
	
	
	
	
	
	
    /* ==========================================
       ГЛАВНАЯ — ХАБ УСЛУГ
       ========================================== */
    
    .hub-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-bottom: 40px;
    }
    
    @media (max-width: 700px) {
      .hub-grid { grid-template-columns: 1fr; gap: 14px; }
    }
    
    .hub-card {
      position: relative;
      display: flex;
      flex-direction: column;
      padding: 32px 28px 26px;
      background: rgba(18, 24, 38, 0.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 18px;
      text-decoration: none;
      color: inherit;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
      min-height: 240px;
    }
    
    .hub-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 100% 0%, rgba(122, 90, 248, 0.12), transparent 55%);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }
    
    .hub-card:hover {
      transform: translateY(-6px);
      border-color: rgba(0, 212, 255, 0.35);
      box-shadow: 0 20px 50px rgba(0, 212, 255, 0.1);
    }
    
    .hub-card:hover::before { opacity: 1; }
    
    .hub-icon {
      font-size: 2rem;
      line-height: 1;
      margin-bottom: 20px;
      position: relative;
      z-index: 1;
    }
    
    .hub-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.3px;
      margin-bottom: 10px;
      color: #f0f6fc;
      position: relative;
      z-index: 1;
    }
    
    .hub-card p {
      font-size: 0.88rem;
      color: #8b949e;
      line-height: 1.55;
      margin-bottom: 22px;
      flex: 1;
      position: relative;
      z-index: 1;
    }
    
    .hub-meta {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      margin-bottom: 14px;
      position: relative;
      z-index: 1;
    }
    
    .hub-price {
      font-size: 1.15rem;
      font-weight: 800;
      color: #00d4ff;
      letter-spacing: -0.3px;
    }
    
    .hub-time {
      font-family: monospace;
      font-size: 0.75rem;
      color: #6b7280;
      letter-spacing: 0.5px;
      white-space: nowrap;
    }
    
    .hub-arrow {
      font-size: 0.85rem;
      font-weight: 600;
      color: #8b949e;
      transition: color 0.3s ease, transform 0.3s ease;
      position: relative;
      z-index: 1;
      display: inline-block;
    }
    
    .hub-card:hover .hub-arrow {
      color: #00d4ff;
      transform: translateX(4px);
    }
    
    /* ТИЗЕР ПРАВИЛ */
    .rules-teaser {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: 24px 28px;
      background: rgba(18, 24, 38, 0.5);
      border: 1px solid rgba(122, 90, 248, 0.2);
      border-radius: 16px;
      flex-wrap: wrap;
      transition: border-color 0.3s ease, background 0.3s ease;
    }
    
    .rules-teaser:hover {
      border-color: rgba(122, 90, 248, 0.4);
      background: rgba(18, 24, 38, 0.7);
    }
    
    .rules-teaser-icon {
      font-size: 1.8rem;
      line-height: 1;
      flex-shrink: 0;
    }
    
    .rules-teaser-text { flex: 1; min-width: 200px; }
    
    .rules-teaser-text strong {
      display: block;
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 4px;
      color: #f0f6fc;
    }
    
    .rules-teaser-text p {
      margin: 0;
      font-size: 0.85rem;
      color: #8b949e;
      line-height: 1.5;
    }
    
    .rules-teaser-link {
      font-size: 0.9rem;
      font-weight: 600;
      color: #a78bfa;
      text-decoration: none;
      white-space: nowrap;
      transition: color 0.25s ease, transform 0.25s ease;
    }
    
    .rules-teaser-link:hover {
      color: #00d4ff;
      transform: translateX(3px);
    }
    
    @media (max-width: 500px) {
      .rules-teaser { flex-direction: column; align-items: flex-start; gap: 12px; }
    }	
	
	
	
	
	
    /* CTA-блок на странице условий */
    .rules-cta {
      margin-top: 40px;
      padding: 28px 32px;
      background: rgba(18, 24, 38, 0.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(122, 90, 248, 0.25);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
      position: relative;
      overflow: hidden;
    }
    
    .rules-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 100% 0%, rgba(122, 90, 248, 0.15), transparent 55%);
      pointer-events: none;
    }
    
    .rules-cta-text {
      position: relative;
      z-index: 1;
      min-width: 0;
    }
    
    .rules-cta-text strong {
      display: block;
      font-size: 1.15rem;
      font-weight: 700;
      color: #f0f6fc;
      margin-bottom: 4px;
      letter-spacing: -0.3px;
    }
    
    .rules-cta-text p {
      margin: 0;
      font-size: 0.88rem;
      color: #8b949e;
      line-height: 1.5;
    }
    
    .rules-cta .btn-primary {
      position: relative;
      z-index: 1;
      white-space: nowrap;
    }
    
    @media (max-width: 560px) {
      .rules-cta { flex-direction: column; align-items: stretch; text-align: center; }
      .rules-cta .btn-primary { text-align: center; }
    }	
	
	
	
	
	/* ==========================================
       STAGGERED-АНИМАЦИЯ ПОЯВЛЕНИЯ
       ========================================== */
    
    .reveal-item {
      opacity: 0;
      transform: translateY(30px) scale(0.98);
      transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
                  transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
      will-change: opacity, transform;
    }
    
    .reveal-item.is-visible {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
    
    @media (prefers-reduced-motion: reduce) {
      .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
      }
    }
    
    
    
    
    /* Отступ при скролле к якорю — чтобы заголовок не уходил под хедер */
    #order-form {
      scroll-margin-top: 90px;
    }
    
    
    
    
    
    
    /* ==========================================
       КАЛЬКУЛЯТОР ДИЗАЙНА И ПОЛИГРАФИИ
       ========================================== */
    
    .calc-block {
      background: rgba(18, 24, 38, 0.7);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(122, 90, 248, 0.25);
      border-radius: 18px;
      padding: 32px 28px 26px;
      position: relative;
      overflow: hidden;
    }
    
    .calc-block::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 100% 0%, rgba(122, 90, 248, 0.1), transparent 55%);
      pointer-events: none;
    }
    
    .calc-block > * { position: relative; z-index: 1; }
    
    .calc-block h3 {
      margin: 0 0 8px;
      font-size: 1.3rem;
      color: #f0f6fc;
      text-align: center;
      letter-spacing: -0.4px;
    }
    
    .calc-sub {
      margin: 0 0 26px;
      font-size: 0.85rem;
      color: #8b949e;
      text-align: center;
    }
    
    .calc-label {
      font-size: 0.85rem;
      font-weight: 700;
      color: #c9d1d9;
      margin-bottom: 12px;
    }
    
    .type-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 24px;
    }
    
    @media (max-width: 560px) {
      .type-cards { grid-template-columns: 1fr; }
    }
    
    .type-card { cursor: pointer; position: relative; display: block; }
    .type-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
    
    .type-inner {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 20px 14px;
      transition: all 0.25s ease;
      text-align: center;
    }
    
    .type-card:hover .type-inner {
      background: rgba(255, 255, 255, 0.05);
      border-color: rgba(0, 212, 255, 0.3);
      transform: translateY(-2px);
    }
    
    .type-card input:checked + .type-inner {
      background: rgba(0, 212, 255, 0.08);
      border-color: #00d4ff;
      box-shadow: 0 6px 24px rgba(0, 212, 255, 0.18);
    }
    
    .type-icon { font-size: 1.8rem; line-height: 1; margin-bottom: 10px; }
    .type-name { font-size: 0.9rem; font-weight: 600; color: #f0f6fc; margin-bottom: 6px; line-height: 1.3; }
    .type-price { font-size: 0.9rem; font-weight: 700; color: #a78bfa; }
    .type-card input:checked + .type-inner .type-price { color: #00d4ff; }
    
    .qty-input {
      width: 100%;
      padding: 14px 18px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      color: #f0f6fc;
      font-family: inherit;
      font-size: 1.1rem;
      font-weight: 600;
      outline: none;
      transition: all 0.25s ease;
    }
    
    .qty-input:focus { border-color: #00d4ff; background: rgba(0, 212, 255, 0.04); }
    
    .qty-hint {
      font-size: 0.75rem;
      color: #8b949e;
      margin-top: 8px;
      margin-bottom: 24px;
      font-family: monospace;
      line-height: 1.5;
    }
    
    .calc-total {
      background: rgba(0, 212, 255, 0.05);
      border: 1px solid rgba(0, 212, 255, 0.2);
      border-radius: 14px;
      padding: 18px 20px;
      margin-bottom: 20px;
    }
    
    .total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
    .total-label { font-size: 0.9rem; color: #8b949e; }
    
    .total-value {
      font-size: 1.7rem;
      font-weight: 800;
      color: #00d4ff;
      letter-spacing: -0.5px;
    }
    
    .total-breakdown {
      font-size: 0.78rem;
      color: #8b949e;
      font-family: monospace;
      line-height: 1.6;
    }
    
    .calc-how {
      margin-top: 20px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 12px;
      padding: 14px 18px;
      font-size: 0.82rem;
    }
    
    .calc-how summary {
      color: #a78bfa;
      font-weight: 600;
      font-size: 0.85rem;
      list-style: none;
      cursor: pointer;
      position: relative;
      padding-right: 24px;
    }
    
    .calc-how summary::-webkit-details-marker { display: none; }
    
    .calc-how summary::after {
      content: '+';
      position: absolute;
      right: 0; top: 50%;
      transform: translateY(-50%);
      font-size: 1.2rem;
      color: #00d4ff;
    }
    
    .calc-how[open] summary::after { content: '−'; }
    .calc-how[open] summary { margin-bottom: 14px; }
    
    .how-content p { color: #c9d1d9; font-size: 0.8rem; line-height: 1.6; margin: 0 0 12px; }
    .how-content strong { color: #f0f6fc; }
    
    .tier-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
    
    .tier-list li {
      display: flex;
      justify-content: space-between;
      padding: 6px 12px;
      background: rgba(0, 212, 255, 0.04);
      border-left: 2px solid #7a5af8;
      border-radius: 6px;
      font-size: 0.78rem;
      font-family: monospace;
    }
    
    .tier-range { color: #8b949e; }
    .tier-price { color: #00d4ff; font-weight: 700; }
    
    .how-example {
      background: rgba(122, 90, 248, 0.08);
      border: 1px dashed rgba(122, 90, 248, 0.25);
      border-radius: 8px;
      padding: 10px 12px;
      font-size: 0.78rem !important;
      margin: 0 !important;
    }
    
    .calc-notice {
      margin: 16px 0 0;
      font-size: 0.75rem;
      color: #6b7280;
      line-height: 1.5;
      text-align: center;
    }