/* ===================================================
   SERVICES PAGES — Общие стили для всех сервисных страниц
   Город мастеров | gorodmasterov.group
   =================================================== */

:root {
  --accent: #8A2BE2;
  --accent-light: #9D3FEF;
  --accent-dark: #6A0DAD;
  --accent-glow: rgba(138, 43, 226, 0.3);
  --bg-primary: #0f0f1a;
  --bg-secondary: #1a1a2e;
  --card-bg: #1e1e32;
  --card-hover: #252540;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0b8;
  --border: rgba(138, 43, 226, 0.2);
  --border-strong: rgba(138, 43, 226, 0.4);
  --shadow: rgba(0,0,0,0.4);
  --gradient-purple: linear-gradient(135deg, #8A2BE2 0%, #5B0EA6 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  --gradient-card: linear-gradient(135deg, #1e1e32 0%, #252545 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* ─── HERO ─────────────────────────────────────────── */
.sp-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-dark);
}
.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(138,43,226,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.sp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 40% 40% at 80% 80%, rgba(138,43,226,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.sp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: blur(2px);
}
.sp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 4rem 2rem;
  animation: fadeInUp 0.8s ease both;
}
.sp-hero-icon {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 20px var(--accent-glow));
  animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.sp-hero-badge {
  display: inline-block;
  background: rgba(138,43,226,0.2);
  border: 1px solid var(--border-strong);
  color: #c084fc;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.sp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, #c084fc 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sp-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.sp-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── КНОПКИ ────────────────────────────────────────── */
.btn-primary {
  background: var(--gradient-purple);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(138,43,226,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(138,43,226,0.5);
  filter: brightness(1.1);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-strong);
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(138,43,226,0.08);
  transform: translateY(-2px);
}

/* ─── СЕКЦИИ ────────────────────────────────────────── */
.sp-section {
  padding: 5rem 1rem;
}
.sp-section-dark {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sp-section-accent {
  background: linear-gradient(135deg, rgba(138,43,226,0.08) 0%, transparent 60%);
}
.sp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}
.sp-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sp-section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.sp-section-header {
  margin-bottom: 3rem;
}
.sp-section-header.centered {
  text-align: center;
}
.sp-section-header.centered .sp-section-sub {
  margin: 0 auto 2.5rem;
}

/* ─── ОСОБЕННОСТИ / ПРЕИМУЩЕСТВА ───────────────────── */
.sp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.sp-feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.sp-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.sp-feature-card:hover::before {
  transform: scaleX(1);
}
.sp-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(138,43,226,0.2);
}
.sp-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.sp-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.sp-feature-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── КАЛЬКУЛЯТОР ───────────────────────────────────── */
.sp-calc-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(138,43,226,0.15);
}
.sp-calc-header {
  background: var(--gradient-purple);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sp-calc-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
}
.sp-calc-header .calc-icon {
  font-size: 1.8rem;
}
.sp-calc-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .sp-calc-body { grid-template-columns: 1fr; }
}
.sp-calc-form {}
.sp-calc-result {
  background: rgba(138,43,226,0.08);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sp-form-group {
  margin-bottom: 1.25rem;
}
.sp-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.sp-form-input,
.sp-form-select {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  appearance: none;
}
.sp-form-input:focus,
.sp-form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138,43,226,0.2);
}
.sp-form-select option {
  background: var(--bg-secondary);
}
.sp-range-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sp-form-range {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
  outline: none;
}
.sp-form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradient-purple);
  cursor: pointer;
  box-shadow: 0 0 8px var(--accent-glow);
}
.sp-range-value {
  min-width: 60px;
  text-align: right;
  font-weight: 600;
  color: #c084fc;
}
.sp-calc-result-title {
  font-size: 1rem;
  font-weight: 600;
  color: #c084fc;
  margin-bottom: 0.5rem;
}
.sp-result-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.sp-result-line:last-child { border-bottom: none; }
.sp-result-line-label { color: var(--text-secondary); }
.sp-result-line-value { font-weight: 600; color: var(--text-primary); }
.sp-result-total {
  background: var(--gradient-purple);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.sp-result-total-label { font-weight: 600; font-size: 1rem; }
.sp-result-total-value { font-size: 1.4rem; font-weight: 800; }

/* ─── ПРАЙС-СПИСОК ──────────────────────────────────── */
.sp-price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gradient-card);
  border-radius: 16px;
  overflow: hidden;
}
.sp-price-table thead tr {
  background: var(--gradient-purple);
}
.sp-price-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.sp-price-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.sp-price-table tbody tr {
  transition: background 0.2s;
}
.sp-price-table tbody tr:hover {
  background: rgba(138,43,226,0.08);
}
.sp-price-table tbody tr:last-child td { border-bottom: none; }
.sp-price-highlight {
  color: #c084fc;
  font-weight: 700;
}

/* ─── ЭТАПЫ РАБОТ ───────────────────────────────────── */
.sp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}
.sp-step {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.sp-step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--gradient-purple);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 28px;
  text-align: center;
}
.sp-step:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 12px 35px rgba(138,43,226,0.2);
}
.sp-step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.sp-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.sp-step-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ─── ГАЛЕРЕЯ РАБОТ ─────────────────────────────────── */
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.sp-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--card-bg);
  cursor: pointer;
}
.sp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.sp-gallery-item:hover img {
  transform: scale(1.05);
}
.sp-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.sp-gallery-item:hover .sp-gallery-overlay {
  opacity: 1;
}
.sp-gallery-caption {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ─── ОТЗЫВЫ ────────────────────────────────────────── */
.sp-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.sp-review-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: all 0.3s;
}
.sp-review-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 30px rgba(138,43,226,0.15);
}
.sp-review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}
.sp-review-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}
.sp-review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.sp-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sp-review-name { font-weight: 600; font-size: 0.9rem; }
.sp-review-date { color: var(--text-secondary); font-size: 0.8rem; }

/* ─── БЛОК СТА ──────────────────────────────────────── */
.sp-cta {
  background: linear-gradient(135deg, rgba(138,43,226,0.2) 0%, rgba(90,14,166,0.3) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sp-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(138,43,226,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.sp-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}
.sp-cta p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.sp-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ─── СТАТИСТИКА ────────────────────────────────────── */
.sp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.sp-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s;
}
.sp-stat:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(138,43,226,0.2);
}
.sp-stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.sp-stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* ─── АККОРДЕОН FAQ ─────────────────────────────────── */
.sp-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}
.sp-faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.sp-faq-item.open {
  border-color: var(--border-strong);
}
.sp-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s;
}
.sp-faq-q:hover { color: #c084fc; }
.sp-faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(138,43,226,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s;
  color: #c084fc;
}
.sp-faq-item.open .sp-faq-toggle {
  background: var(--gradient-purple);
  transform: rotate(45deg);
  color: #fff;
}
.sp-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.sp-faq-item.open .sp-faq-a {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

/* ─── ФОРМА ЗАКАЗА ──────────────────────────────────── */
.sp-order-form {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}
.sp-order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) {
  .sp-order-form {
    padding: 1.25rem;
    border-radius: 14px;
  }
  .sp-order-form-grid { grid-template-columns: 1fr; }
  .sp-form-input,
  .sp-form-select {
    font-size: 16px; /* предотвращаем zoom на iOS */
    width: 100%;
    box-sizing: border-box;
  }
}
.sp-form-group.full { grid-column: 1 / -1; }

/* ─── ХЛЕБНЫЕ КРОШКИ ─────────────────────────────────── */
.sp-breadcrumb {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.sp-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.sp-breadcrumb a:hover { color: #c084fc; }
.sp-breadcrumb .sep { color: var(--border-strong); }
.sp-breadcrumb .current { color: #c084fc; }

/* ─── АНИМАЦИИ ───────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.sp-animate {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sp-animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.sp-animate-delay-1 { transition-delay: 0.1s; }
.sp-animate-delay-2 { transition-delay: 0.2s; }
.sp-animate-delay-3 { transition-delay: 0.3s; }
.sp-animate-delay-4 { transition-delay: 0.4s; }

/* ─── TABLET & MOBILE ─────────────────────────────────── */
@media (max-width: 768px) {
  .sp-hero { min-height: 400px; }
  .sp-hero-content { padding: 3rem 1.25rem; }
  .sp-section { padding: 3.5rem 1rem; }
  .sp-calc-header { padding: 1.25rem; }
  .sp-calc-body { padding: 1.25rem; gap: 1.25rem; }
  .sp-order-form { padding: 1.5rem; }
  .sp-price-table { display: block; overflow-x: auto; }
}

/* ─── МОБИЛЬНАЯ АДАПТАЦИЯ ПРАЙСА (≤480px) ───────────────── */
@media (max-width: 480px) {
  /* Таблица прайса — карточный режим */
  .sp-price-table { width: 100%; table-layout: fixed; }
  .sp-price-table thead { display: none; }
  .sp-price-table tbody { display: block; width: 100%; }
  .sp-price-table tbody tr {
    display: block;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(138,43,226,0.2);
    border-radius: 10px;
    margin-bottom: 0.6rem;
    padding: 0.75rem 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }
  .sp-price-table tbody tr:hover { background: rgba(138,43,226,0.08); }
  .sp-price-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.2rem 0;
    border-bottom: none;
    font-size: 0.82rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  /* Скрыть 4-ю колонку «Примечание» на мобиле */
  .sp-price-table td:nth-child(4) { display: none; }
  .sp-price-table td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(192,132,252,0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .sp-price-table td:first-child {
    font-weight: 600;
    font-size: 0.88rem;
    color: #e8d8ff;
    border-bottom: 1px solid rgba(138,43,226,0.15);
    padding-bottom: 0.5rem;
    margin-bottom: 0.3rem;
  }
  .sp-price-highlight {
    font-size: 0.9rem;
    color: #c084fc;
  }
  /* FAQ кнопки */
  .sp-faq-q { font-size: 0.88rem; padding: 0.9rem 1rem; }
  .sp-faq-a { font-size: 0.82rem; padding: 0.9rem 1rem; }
  /* CTA кнопки */
  .sp-cta-btns { flex-direction: column; gap: 0.75rem; }
  .sp-cta-btns .btn-primary,
  .sp-cta-btns .btn-outline { width: 100%; text-align: center; }
  /* Hero кнопки */
  .sp-hero-btns { flex-direction: column; gap: 0.75rem; }
  .sp-hero-btns .btn-primary,
  .sp-hero-btns .btn-outline { width: 100%; text-align: center; }
  /* Статы */
  .sp-stats { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .sp-stat-number { font-size: 1.6rem; }
  /* Контейнер */
  .sp-container { padding: 0 12px; }
}

/* ─── TAG CHIPS (материалы, типы) ────────────────────── */
.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.sp-tag {
  background: rgba(138,43,226,0.15);
  border: 1px solid var(--border);
  color: #c084fc;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.sp-tag:hover,
.sp-tag.active {
  background: var(--gradient-purple);
  border-color: var(--accent);
  color: #fff;
}

/* ─── КАРТОЧКИ КАТАЛОГА ──────────────────────────────── */
.sp-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.sp-catalog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}
.sp-catalog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 40px rgba(138,43,226,0.2);
}
.sp-catalog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.sp-catalog-card-body {
  padding: 1.25rem;
}
.sp-catalog-card-badge {
  display: inline-block;
  background: var(--gradient-purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sp-catalog-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.sp-catalog-card-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.sp-catalog-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c084fc;
}
.sp-catalog-card-price-old {
  font-size: 0.85rem;
  text-decoration: line-through;
  color: var(--text-secondary);
  margin-left: 0.4rem;
}
