/* ═══════════════════════════════════════════
   ПЕРЕМЕННЫЕ ТЕМ — ПАЛИТРА DIVIDOM
   ═══════════════════════════════════════════ */
:root {
  /* Тёмная тема */
  --bg-primary: #242124;          /* графит */
  --bg-secondary: #2E2A2E;        /* графит чуть светлее */
  --bg-card: rgba(58, 48, 52, 0.75);
  --text-primary: #FCFAF8;        /* молочный */
  --text-secondary: #E8C9CC;      /* розово-бежевый */
  --text-muted: #B85C67;          /* пыльная роза */
  --border-color: rgba(184, 92, 103, 0.3);
  --border-strong: rgba(184, 92, 103, 0.5);
  --accent-color: #B85C67;        /* пыльная роза */
  --accent-hover: #6A171F;        /* бордовый */
  --header-bg: rgba(36, 33, 36, 0.92);
  --filter-bg: rgba(58, 48, 52, 0.65);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

html[data-theme='light'] {
  /* Светлая тема */
  --bg-primary: #FCFAF8;          /* молочный */
  --bg-secondary: #EDE9E7;        /* светлый серый */
  --bg-card: rgba(255, 255, 255, 0.9);
  --text-primary: #242124;        /* графит */
  --text-secondary: #4F1017;      /* глубокий винный */
  --text-muted: #70686A;          /* серый */
  --border-color: rgba(106, 23, 31, 0.15);
  --border-strong: rgba(106, 23, 31, 0.35);
  --accent-color: #6A171F;        /* бордовый */
  --accent-hover: #4F1017;        /* глубокий винный */
  --header-bg: rgba(252, 250, 248, 0.95);
  --filter-bg: rgba(237, 233, 231, 0.8);
  --shadow: 0 20px 50px rgba(106, 23, 31, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ═══════════════════════════════════════════
   ОБЩЕЕ
   ═══════════════════════════════════════════ */
.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--accent-color);
  margin-bottom: 1rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-title.center { text-align: center; }
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.section-sub.center { text-align: center; }

/* ═══════════════════════════════════════════
   КНОПКИ
   ═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--accent-color);
  color: #FCFAF8;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(184, 92, 103, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: var(--accent-color);
  color: #FCFAF8;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   ХЕДЕР
   ═══════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s, border-color 0.3s;
}
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; display: block; }

nav ul { display: flex; gap: 1.8rem; }
nav a {
  font-size: 0.98rem;
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
  transition: color 0.25s;
}
nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent-color);
  transition: width 0.3s;
}
nav a:hover { color: var(--accent-color); }
nav a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 0.6rem; }

.theme-toggle {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.1rem;
  cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.theme-toggle:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.68,-0.55,0.265,1.55);
  z-index: 999;
}
.mobile-menu.active { transform: translateY(0); }
.mobile-menu ul { text-align: center; }
.mobile-menu a {
  display: block;
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  margin: 0.9rem 0;
  color: var(--text-primary);
  font-weight: 700;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--accent-color); }

/* ═══════════════════════════════════════════
   ГЛАВНЫЙ ЭКРАН — СЛАЙДЕР
   ═══════════════════════════════════════════ */
.hero {
  height: 100dvh;
  min-height: 620px;
  position: relative;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(36,33,36,0.4), rgba(36,33,36,0.75));
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  padding: 0 5%;
}
.slide h2 {
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
  line-height: 1.05;
  color: #FCFAF8 !important;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.slide p {
  font-size: clamp(1.05rem, 3.5vw, 1.6rem);
  max-width: 800px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  color: #FCFAF8 !important;
}
.slide-btn {
  display: inline-block;
  background: var(--accent-color);
  color: #FCFAF8;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.05rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.slide-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 92, 103, 0.45);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(36,33,36,0.5);
  color: #FCFAF8;
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arrow:hover { background: rgba(184, 92, 103, 0.8); }
.prev { left: 3%; }
.next { right: 3%; }

.dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}
.dot {
  width: 10px; height: 10px;
  background: rgba(252, 250, 248, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: var(--accent-color);
  transform: scale(1.4);
}

/* ═══════════════════════════════════════════
   О НАС — 50/50, СЛЕВА ТЕКСТ / СПРАВА ФОТО
   ФОН: --bg-secondary (светлый)
   ═══════════════════════════════════════════ */
.about-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1.4rem;
}

.about-name {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text-primary);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.about-role {
  font-size: 1rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.6rem;
}

/* Выделенный блок с достижениями — идёт ПЕРЕД лид-абзацем */
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.6rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent-color);
}

.about-highlights p {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
  letter-spacing: -0.01em;
}

.about-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.55;
  font-weight: 500;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
  line-height: 1.75;
  font-size: 0.98rem;
}

.about-text strong {
  color: var(--accent-color);
  font-weight: 700;
}

.about-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  display: block;
}
.about-photo:hover img { transform: scale(1.04); }

.about-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.6rem;
  background: linear-gradient(to top, rgba(36,33,36,0.95), rgba(36,33,36,0.4), transparent);
  color: #FCFAF8;
}
.about-photo-caption .name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FCFAF8;
  margin-bottom: 0.2rem;
}
.about-photo-caption .role {
  font-size: 0.82rem;
  color: #E8C9CC;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   НАШИ РАБОТЫ
   ФОН: --bg-primary (тёмный)
   ═══════════════════════════════════════════ */
.works-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.works-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.works-slider {
  display: flex;
  transition: transform 0.5s ease;
}
.work-slide {
  min-width: 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}
.work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.35s;
}
.work-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.work-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s;
}
.work-card:hover img { transform: scale(1.06); }
.work-info { padding: 1.2rem 1.4rem; }
.work-info h3 {
  font-size: 1.1rem;
  color: var(--accent-color);
  margin-bottom: 0.3rem;
}
.work-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.works-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #FCFAF8;
  border: none;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.works-arrow:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.1);
}
.works-arrow.prev { left: 10px; }
.works-arrow.next { right: 10px; }

.works-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}
.works-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.25s;
}
.works-dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════
   ЭТАПЫ РАБОТЫ С КЛИЕНТОМ
   ФОН: --bg-secondary (светлый)
   ═══════════════════════════════════════════ */
.stages-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stages-header {
  text-align: center;
  margin-bottom: 2rem;
}

.stages-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.stages-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-primary);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stages-title span {
  display: block;
}
.stages-title .accent {
  color: var(--accent-color);
}

/* Таймлайн */
.stages-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0;
  height: 280px;
  align-items: center;
}

.stages-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 2%;
  right: 2%;
  height: 2px;
  background: linear-gradient(to right,
    transparent 0%,
    var(--border-strong) 5%,
    var(--border-strong) 95%,
    transparent 100%);
  z-index: 0;
}

.stage-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 1;
}

.stage-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-color);
  border: 4px solid var(--bg-secondary);
  box-shadow: 0 0 0 2px var(--accent-color);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.stage-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 220px;
  padding: 0 0.4rem;
}

/* Верхние карточки (1, 3, 5) — над линией */
.stage-item:nth-child(odd) .stage-card {
  bottom: calc(50% + 22px);
  text-align: center;
}

/* Нижние карточки (2, 4) — под линией */
.stage-item:nth-child(even) .stage-card {
  top: calc(50% + 22px);
  text-align: center;
}

.stage-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stage-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.stage-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Пунктирные линии от точек к карточкам */
.stage-item::before,
.stage-item::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 22px;
  border-left: 1px dashed var(--border-strong);
  transform: translateX(-50%);
}
.stage-item::before { bottom: 50%; }
.stage-item::after { top: 50%; }
.stage-item:nth-child(odd)::after { display: none; }
.stage-item:nth-child(even)::before { display: none; }

/* ═══════════════════════════════════════════
   ЦЕНЫ
   ФОН: --bg-primary (тёмный)
   ═══════════════════════════════════════════ */
.prices-section {
  padding: 6rem 0;
  background: var(--bg-primary);
}
.prices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.4rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.price-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.price-card.featured {
  border-color: var(--accent-color);
  background: linear-gradient(180deg, rgba(184,92,103,0.1) 0%, var(--bg-card) 100%);
}
.price-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: #FCFAF8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  white-space: nowrap;
}
.price-head {
  text-align: center;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}
.price-head h3 {
  font-size: 1.05rem;
  color: var(--accent-color);
  margin-bottom: 0.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.price-value {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.price-value span {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-primary);
  display: inline-block;
  line-height: 1;
  margin-right: 2px;
}
.price-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.9rem;
  min-height: 56px;
}
.price-list {
  flex: 1;
  margin-bottom: 1rem;
}
.price-list li {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
  padding: 0.32rem 0 0.32rem 1rem;
  position: relative;
  border-bottom: 1px dashed var(--border-color);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 900;
  font-size: 0.75rem;
}
.price-btn {
  display: block;
  text-align: center;
  padding: 0.75rem 1rem;
  background: var(--accent-color);
  border: none;
  border-radius: 50px;
  color: #FCFAF8;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.25s;
  margin-top: auto;
}
.price-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(184, 92, 103, 0.4);
}

.prices-extra { margin-top: 4rem; }
.prices-extra h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 800;
}
.extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.extra-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.4rem;
  transition: all 0.3s;
}
.extra-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
}
.extra-card h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.extra-card h4 i { color: var(--accent-color); }
.extra-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}
.extra-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   ОТЗЫВЫ
   ФОН: --bg-secondary (светлый)
   ═══════════════════════════════════════════ */
.reviews-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.reviews-wrapper {
  position: relative;
  padding: 0 70px;
}

.reviews-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.reviews-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.review-slide {
  min-width: 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.review-card:hover { border-color: var(--accent-color); }

.review-rating {
  color: var(--accent-color);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #FCFAF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.review-author h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.review-author p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #FCFAF8;
  border: none;
  font-size: 1.7rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.reviews-arrow:hover {
  background: var(--accent-hover);
  transform: translateY(-50%) scale(1.08);
}
.reviews-arrow.prev { left: 0; }
.reviews-arrow.next { right: 0; }

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}
.review-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all 0.25s;
}
.review-dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════
   КОНТАКТЫ
   ФОН: --bg-primary (тёмный)
   ═══════════════════════════════════════════ */
.contact-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item i {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
  font-size: 0.95rem;
}
.contact-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.contact-item a {
  color: var(--text-secondary);
  transition: color 0.25s;
}
.contact-item a:hover { color: var(--accent-color); }

.social-large {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.social-large a {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-primary);
  transition: all 0.3s;
}
.social-large a:hover {
  background: var(--accent-color);
  color: #FCFAF8;
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  color: var(--accent-color);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}
.form-group { margin-bottom: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(184, 92, 103, 0.2);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--bg-secondary); color: var(--text-primary); }

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent-color);
  color: #FCFAF8;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 0.5rem;
}
.submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(184, 92, 103, 0.4);
}
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-privacy {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.9rem;
}
.form-privacy a { color: var(--accent-color); text-decoration: underline; }

.form-message {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.9rem;
}
.form-message.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}
.form-message.error {
  background: rgba(220, 38, 38, 0.15);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* ═══════════════════════════════════════════
   ФУТЕР
   ФОН: --bg-secondary (светлый)
   ═══════════════════════════════════════════ */
footer {
  background: var(--bg-secondary);
  padding: 3rem 5% 1.5rem;
  border-top: 1px solid var(--border-color);
}
.footer-content {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}
.footer-logo { display: flex; align-items: center; }
.footer-contacts p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.25rem 0;
}
.footer-contacts a { transition: color 0.25s; }
.footer-contacts a:hover { color: var(--accent-color); }

.social-icons { display: flex; gap: 0.8rem; }
.social-icons a {
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: all 0.25s;
}
.social-icons a:hover { color: var(--accent-color); transform: translateY(-3px); }

.footer-bottom {
  max-width: 1320px;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════
   WHATSAPP + SCROLL-TOP
   ═══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 998;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float.show { opacity: 1; visibility: visible; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-4px); }

.whatsapp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,33,36,0.85);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.whatsapp-modal-overlay.active { display: flex; }
.whatsapp-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 22px;
  max-width: 440px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.whatsapp-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.25s;
}
.whatsapp-modal-close:hover { color: var(--accent-color); }
.whatsapp-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.whatsapp-modal-header i {
  font-size: 2.2rem;
  color: #25D366;
}
.whatsapp-modal-header h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin: 0;
}
.whatsapp-modal-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.whatsapp-modal .form-group input,
.whatsapp-modal .form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}
.whatsapp-modal .form-group input:focus,
.whatsapp-modal .form-group textarea:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}
.whatsapp-submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  transition: all 0.3s;
}
.whatsapp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}
.whatsapp-modal-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.whatsapp-modal-footer a { color: #25D366; }

.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  cursor: pointer;
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover {
  background: var(--accent-color);
  color: #FCFAF8;
  border-color: var(--accent-color);
}

/* ═══════════════════════════════════════════
   АДАПТИВНОСТЬ
   ═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .prices-grid { grid-template-columns: repeat(3, 1fr); }
  .price-desc { min-height: auto; }

  /* Таймлайн — вертикальный */
  .stages-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    height: auto;
    align-items: stretch;
  }
  .stages-timeline::before {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(to bottom,
      var(--border-strong) 0%,
      var(--border-strong) 100%);
  }
  .stage-item {
    flex-direction: row;
    align-items: flex-start;
    padding: 1.2rem 0;
    gap: 1.2rem;
    height: auto;
  }
  .stage-dot {
    margin-left: 16px;
    margin-top: 6px;
    border-color: var(--bg-secondary);
  }
  .stage-card {
    position: static;
    left: auto;
    transform: none;
    width: auto;
    max-width: none;
    flex: 1;
    padding: 0;
    text-align: left !important;
  }
  .stage-item:nth-child(odd) .stage-card,
  .stage-item:nth-child(even) .stage-card {
    text-align: left;
  }
  .stage-item::before,
  .stage-item::after { display: none; }
}

@media (max-width: 992px) {
  nav ul { display: none; }
  .hamburger { display: flex; }

  .about-grid,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo {
    aspect-ratio: 3 / 4;
    max-width: 420px;
    margin: 0 auto;
  }

  .work-slide,
  .review-slide { min-width: 50%; }

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

@media (max-width: 768px) {
  .about-section,
  .works-section,
  .stages-section,
  .prices-section,
  .reviews-section,
  .contact-section {
    padding: 4rem 0;
  }

  .work-slide,
  .review-slide { min-width: 100%; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; max-width: 320px; }

  .footer-content { flex-direction: column; text-align: center; }

  .reviews-wrapper { padding: 0 50px; }
  .reviews-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

@media (max-width: 560px) {
  .prices-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 1.6rem; bottom: 20px; right: 20px; }
  .scroll-top { bottom: 86px; right: 20px; width: 42px; height: 42px; }

  .reviews-wrapper { padding: 0 44px; }
  .reviews-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

/* ═══════════════════════════════════════════
   ЛОГОТИП В HERO-СЕКЦИИ
   ═══════════════════════════════════════════ */
.hero-logo {
  max-width: 260px;
  width: 60%;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
  animation: heroLogoFadeIn 1s ease both;
}

@keyframes heroLogoFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 180px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    max-width: 140px;
  }
}