/* ════════════════════════════════════════════════════════════════
   service.css — общий lean-стиль для страниц-услуг (шаблоны городов).
   Эталон дизайна: static-pages/geo-marketing.html. Переменные/базовые
   классы (.wrap, .btn, .btn-orange, .section-tag, .reveal, h1/h2/h3) —
   в design-system.css. Здесь только секции, специфичные для услуг.
   Классы why-/process-/faq-/cta- совпадают с geo-marketing (там inline,
   здесь shared) → визуально идентично. geo-districts-* — для gated-блока
   районов (скрыт, пока не заполнен per-город через админку).
   ════════════════════════════════════════════════════════════════ */

/* ── HERO (lean, одна колонка) ── */
.svc-hero {
  padding: 152px 0 96px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 30%, rgba(255,102,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.svc-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.svc-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.svc-hero h1 {
  color: #fff;
  margin-bottom: 24px;
}
.svc-hero h1 span { color: var(--orange); }
.svc-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 40px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { opacity: 0.3; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-link {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.hero-link:hover { color: #fff; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hero-stat-val {
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
  line-height: 1.4;
}

/* ── WHY (почему это работает) ── */
.why-section { padding: 100px 0; background: var(--white); }
.why-grid { display: grid; grid-template-columns: 1fr; max-width: 820px; }
.why-points { display: flex; flex-direction: column; gap: 32px; margin-top: 48px; }
.why-point-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.why-num {
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-soft);
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-point h3 {
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
}
.why-point p { font-size: 14px; color: var(--gray); line-height: 1.7; padding-left: 42px; }

/* ── WHAT WE DO (состав услуги) — карточки ── */
.svc-section { padding: 100px 0; }
.svc-section--gray { background: var(--gray-light); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.svc-card {
  background: var(--white);
  border-radius: var(--r2);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.svc-section--white .svc-card { background: var(--white); }
.svc-section--gray .svc-card { background: var(--white); }
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.07);
  border-color: var(--orange);
}
.svc-card-top { padding: 32px 32px 24px; }
.svc-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}
.svc-card:hover .svc-card-icon { background: var(--orange); color: #fff; }
.svc-card h3 {
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.2;
}
.svc-card p { font-size: 13px; color: var(--gray); line-height: 1.7; }
.svc-card-list {
  border-top: 1px solid var(--gray-border);
  padding: 20px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--gray); line-height: 1.4; }
.svc-item-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.svc-item-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* ── PROCESS (как работаем) ── */
.process-section { padding: 100px 0; background: var(--white); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 40px; right: 40px;
  height: 2px;
  background: var(--gray-border);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gray-border);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--gray);
  margin-bottom: 20px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  flex-shrink: 0;
}
.step:hover .step-num,
.step.active .step-num {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-soft);
}
.step h4 {
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}
.step p { font-size: 12px; color: var(--gray); line-height: 1.6; }

/* ── GEO DISTRICTS (gated-блок; скрыт, пока per-(город,услуга) не заполнено) ── */
.geo-districts-section { padding: 100px 0; background: var(--gray-light); }
.geo-lead { max-width: 780px; font-size: 16px; color: var(--gray); line-height: 1.7; margin-bottom: 48px; }
.geo-districts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.geo-district { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--r2); padding: 28px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.geo-district:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.06); border-color: var(--orange); }
.geo-district-name { font-family: 'Bebas Neue Cyrillic', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; }
.geo-district-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--orange); background: var(--orange-soft); padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; }
.geo-district p { font-size: 14px; color: var(--gray); line-height: 1.7; margin-bottom: 14px; }
.geo-district-niches { font-size: 12px; color: var(--gray); line-height: 1.7; }
.geo-district-niches b { display: block; color: var(--black); font-weight: 600; margin-bottom: 4px; }

/* ── CASES (сквозной блок; cases-section.js инжектит свои стили) ── */
.svc-cases-section { padding: 100px 0; background: var(--white); }
.svc-cases-section .cases-mount { margin-top: 48px; }

/* ── FAQ ── */
.faq-section { padding: 100px 0; background: var(--gray-light); }
.faq-grid { display: grid; grid-template-columns: 1fr; max-width: 820px; margin-top: 48px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--gray-border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--black);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--orange); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s, transform 0.3s;
}
.faq-item.open .faq-icon { background: var(--orange); border-color: var(--orange); transform: rotate(45deg); }
.faq-icon svg { stroke: var(--black); transition: stroke 0.2s; }
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding-bottom: 20px; font-size: 14px; color: var(--gray); line-height: 1.75; }

/* ── CTA (финальный) ── */
.cta-section {
  padding: 120px 0;
  background: var(--orange);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section .bg-text {
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: 20vw;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Bebas Neue Cyrillic', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}
.cta-section p {
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  position: relative;
}
.btn-white { background: #fff; color: var(--orange); }
.btn-white:hover { background: var(--black); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 768px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .geo-districts { grid-template-columns: 1fr; }
}