/* ============ RemZona — тематические сайты (в стиле классической темы) ============ */
:root {
  --bg: #262626;
  --bg-soft: #2e2e2e;
  --bg-dark: #1e1e1e;
  --accent: #6f41e1;
  --accent-light: #c5aeff;
  --accent-dark: #580be4;
  --text: #ffffff;
  --text-soft: #d6dcdf;
  --gray: #73787b;
  --white: #ffffff;
  --radius: 16px;
  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

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

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn--violet { background: var(--accent); color: var(--white); }
.btn--violet:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn--white { background: var(--white); color: var(--accent-dark); }
.btn--white:hover { background: var(--accent-light); }
.btn--header { padding: 10px 20px; font-size: 12px; background: transparent; border-color: var(--accent); color: var(--accent-light); }
.btn--header:hover { background: var(--accent); color: var(--white); transform: none; }
.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--full { width: 100%; }

/* ============ Шапка ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(38,38,38,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 20px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; color: var(--text-soft); transition: color .2s; }
.nav a:hover { color: var(--accent-light); }
.nav a.active { color: var(--accent-light); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.phone { font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--white); }
.phone:hover { color: var(--accent-light); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 69px; left: 0; right: 0;
  background: var(--bg-dark);
  padding: 24px 20px;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__nav a { font-size: 17px; color: var(--text-soft); }
.mobile-menu__nav a:hover { color: var(--accent-light); }

/* ============ Hero ============ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(38,38,38,.88), rgba(38,38,38,.05)), url('../images/hero.jpg') center/cover no-repeat, var(--bg);
  padding: 160px 0 90px;
}
.hero__inner { max-width: 780px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 8px 20px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__title em { font-style: normal; color: var(--accent-light); }
.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__note { margin-top: 24px; font-size: 13px; color: var(--gray); display: flex; gap: 8px; align-items: center; }
.hero__note b { color: var(--accent-light); font-weight: 600; }

.hero--discount {
  background: linear-gradient(to bottom, rgba(38,38,38,.92), rgba(88,11,228,.5)), url('../images/hero.jpg') center/cover no-repeat, var(--bg);
}
.hero__discount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 0 0 8px rgba(197,174,255,.15), 0 20px 40px rgba(0,0,0,.35);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  margin: 0 0 28px;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(197,174,255,.15), 0 20px 40px rgba(0,0,0,.35); }
  50% { box-shadow: 0 0 0 18px rgba(197,174,255,.05), 0 20px 40px rgba(0,0,0,.35); }
}

/* Hero внутренних страниц */
.page-hero {
  padding: 180px 0 72px;
  background: linear-gradient(to bottom, rgba(38,38,38,.92), rgba(38,38,38,.55)), url('../images/hero.jpg') center/cover no-repeat, var(--bg);
}
.page-hero__inner { max-width: 800px; }
.page-hero__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.18;
  margin: 14px 0 16px;
}
.page-hero p { color: var(--text-soft); font-size: 17px; max-width: 640px; }

/* ============ Заголовки секций ============ */
section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-sub { color: var(--text-soft); }

/* ============ Услуги / карточки ============ */
.services { background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.service-card {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .25s, transform .25s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-card h3 { font-family: var(--font-head); font-weight: 500; font-size: 17px; line-height: 1.35; margin-bottom: 6px; }
.service-card p { font-size: 14px; color: var(--text-soft); margin-top: 10px; }
.service-card .price {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 15px;
}
.service-card .price s { color: var(--gray); font-weight: 400; font-size: 13px; margin-right: 8px; }
.service-card__order { font-size: 14px; color: var(--accent-light); font-weight: 500; margin-top: 18px; display: inline-block; }
.service-card__order:hover { color: var(--white); }

/* ============ Прайс-таблицы ============ */
.price-table { background: var(--bg-dark); }
.price-table__wrap { max-width: 900px; margin: 0 auto; }
.price-group { margin-bottom: 36px; }
.price-group h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 14px;
  color: var(--accent-light);
}
.price-list {
  list-style: none;
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  font-size: 15px;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.price-list li:last-child { border-bottom: 0; }
.price-list b { color: var(--white); font-weight: 600; white-space: nowrap; }
.price-list em { font-style: normal; color: var(--accent-light); }

/* ============ Преимущества ============ */
.advantages { background: var(--bg); }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv-card {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s;
}
.adv-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.adv-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent);
  margin-bottom: 20px;
  position: relative;
}
.adv-card__icon::after { content: ''; position: absolute; inset: 15px; border: 2px solid var(--white); border-radius: 8px; }
.adv-card__icon--2::before { content: ''; position: absolute; inset: 12px 16px; border: 2px solid var(--white); border-radius: 10px; }
.adv-card__icon--3 { background: var(--accent-light); }
.adv-card__icon--4 { background: var(--accent-dark); }
.adv-card__icon--5 { background: #5a3ab8; }
.adv-card__icon--6 { background: #8459e8; }
.adv-card h3 { font-family: var(--font-head); font-weight: 500; font-size: 16px; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--text-soft); }

/* ============ Этапы ============ */
.stages { background: var(--bg-dark); }
.stages__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: border-color .25s;
}
.stage-card:hover { border-color: var(--accent); }
.stage-card__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.stage-card h3 { font-family: var(--font-head); font-weight: 500; font-size: 16px; margin-bottom: 10px; }
.stage-card p { font-size: 14px; color: var(--text-soft); }

/* ============ Условия / текстовая страница ============ */
.terms-box { max-width: 860px; margin: 0 auto; }
.terms-block {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 32px 32px 16px;
  margin-bottom: 20px;
}
.terms-block h3 { font-family: var(--font-head); font-weight: 500; font-size: 18px; margin-bottom: 12px; }
.terms-block p { color: var(--text-soft); font-size: 15px; margin-bottom: 14px; }
.terms-block ul { list-style: none; }
.terms-block li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--text-soft);
  font-size: 15px;
}
.terms-block li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ FAQ ============ */
.faq { background: var(--bg); }
.faq__list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.faq-item h3 { font-family: var(--font-head); font-weight: 500; font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--text-soft); }

/* ============ Отзывы ============ */
.reviews { background: var(--bg); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s;
}
.review-card:hover { border-color: var(--accent); }
.review-card__stars { color: #ffb800; letter-spacing: 4px; font-size: 18px; }
.review-card p { font-size: 14px; color: var(--text-soft); flex: 1; }
.review-card__author b { display: block; font-size: 15px; }
.review-card__author span { font-size: 13px; color: var(--gray); }

/* ============ Промо-баннер ============ */
.promo { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); }
.promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.promo__badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 6px 18px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.promo__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 3vw, 34px); margin-bottom: 12px; }
.promo p { max-width: 480px; opacity: .9; }

/* ============ Контакты ============ */
.contacts { background: var(--bg-dark); }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contacts__list { list-style: none; margin: 24px 0 32px; }
.contacts__list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.contacts__label { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.contacts__list a { color: var(--text); font-weight: 500; transition: color .2s; }
.contacts__list a:hover { color: var(--accent-light); }

.contacts__form {
  background: var(--bg-soft);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 40px;
}
.contacts__form h3 { font-family: var(--font-head); font-weight: 500; font-size: 22px; margin-bottom: 10px; }
.contacts__form p { color: var(--text-soft); font-size: 14px; margin-bottom: 24px; }
.contacts__form form { display: flex; flex-direction: column; gap: 14px; }
.contacts__form input[type="text"], .contacts__form input[type="tel"] {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.contacts__form input:focus { border-color: var(--accent); }
.contacts__form input::placeholder { color: var(--gray); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--gray); }
.consent input { margin-top: 3px; accent-color: var(--accent); }
.consent a { color: var(--accent-light); }

/* ============ Футер ============ */
.footer { background: #1a1a1a; padding-top: 56px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo img { height: 34px; }
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a { color: var(--text-soft); font-size: 14px; transition: color .2s; }
.footer__nav a:hover { color: var(--accent-light); }
.footer__contacts { text-align: right; }
.footer__contacts .phone { font-size: 17px; display: block; margin-bottom: 4px; }
.footer__contacts span { font-size: 13px; color: var(--gray); }
.footer__bottom { padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--gray); }
.footer__bottom-inner a { color: var(--gray); }
.footer__bottom-inner a:hover { color: var(--accent-light); }

/* ============ Плавающие кнопки ============ */
.call-float, .wa-float {
  position: fixed;
  right: 20px;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  transition: transform .25s;
}
.call-float { bottom: 88px; background: var(--accent); }
.call-float:hover { transform: scale(1.08); }
.call-float svg { width: 24px; height: 24px; }
.wa-float { bottom: 20px; background: #25d366; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* ============ Адаптивность ============ */
@media (max-width: 1024px) {
  .services__grid, .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .stages__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__actions .btn--header { display: none; }
  .burger { display: block; }
  .header__actions { gap: 12px; }
  .phone { font-size: 13px; }
  section { padding: 64px 0; }
  .services__grid, .advantages__grid { grid-template-columns: 1fr; }
  .stages__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 56px; }
  .hero__discount { width: 96px; height: 96px; font-size: 26px; }
  .footer__contacts { text-align: left; }
}