/* =========================================================
   Лендинг «Создание сайтов»
   ========================================================= */

:root {
  --bg: #0b0d12;
  --bg-alt: #0e1118;
  --surface: #131823;
  --surface-2: #171d2a;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef2f9;
  --muted: #98a2b3;
  --accent: #6d6cff;
  --accent-2: #b06cff;
  --green: #2fd48a;
  --radius: 18px;
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  box-shadow: 0 16px 32px -16px rgba(109, 108, 255, .95);
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(109, 108, 255, 1); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  box-shadow: none;
  color: var(--text);
}

.btn--ghost:hover { border-color: rgba(255, 255, 255, .38); box-shadow: none; }

.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--full { width: 100%; }

/* ---------- Шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 18, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.nav { display: flex; gap: 26px; }

.nav a {
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

.nav a:hover { color: #fff; }

.header__right { display: flex; align-items: center; gap: 16px; }

.header__phone {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone:hover { color: var(--accent-2); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; }

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero::before { width: 560px; height: 560px; background: #4b3cff; opacity: .45; top: -200px; right: -140px; }
.hero::after { width: 440px; height: 440px; background: #a855f7; opacity: .3; bottom: -240px; left: -160px; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 96px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 7px 14px;
  border: 1px solid rgba(109, 108, 255, .45);
  border-radius: 999px;
  background: rgba(109, 108, 255, .12);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c7c5ff;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
  margin-bottom: 22px;
}

.lead {
  max-width: 540px;
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 36px;
  font-size: 14px;
  color: var(--muted);
}

.hero__facts b { color: var(--text); }

/* Мокап браузера */

.hero__visual { position: relative; }

.mock {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1a2030, #10131b);
  padding: 14px;
  box-shadow: var(--shadow);
}

.mock__bar { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }

.mock__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2b3140;
  display: block;
}

.mock__url {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: 11px;
  color: var(--muted);
}

.mock__body { padding: 10px 12px 4px; }

.mock__line {
  height: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .09);
  margin-bottom: 11px;
}

.mock__line--title {
  height: 18px;
  width: 78%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: .85;
}

.mock__line--short { width: 55%; }

.mock__cta {
  width: 132px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin: 18px 0 24px;
}

.mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 108px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, .1);
}

.mock__chart span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(109, 108, 255, .95), rgba(176, 108, 255, .25));
}

.hero__badge {
  position: absolute;
  left: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(19, 24, 35, .96);
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--muted);
}

.hero__badge b { font-size: 16px; color: var(--green); }

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 212, 138, .16);
}

/* ---------- Секции ---------- */

.section { padding: clamp(56px, 7.5vw, 92px) 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 680px; margin-bottom: 44px; }

.section__head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  margin-bottom: 14px;
}

.section__head p { color: var(--muted); font-size: 16px; }

/* ---------- Сетки и карточки ---------- */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 108, 255, .55);
  background: var(--surface-2);
}

.card h3 { font-size: 18px; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 15px; }

/* ---------- Цены ---------- */

.price { display: flex; flex-direction: column; }

.price--hot {
  border-color: rgba(109, 108, 255, .65);
  background: linear-gradient(165deg, rgba(109, 108, 255, .16), rgba(19, 24, 35, .9) 60%);
}

.ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #06281a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .04);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

.price__amount {
  margin: 6px 0 4px;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price__term { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.price__text { margin-top: 12px; }

.check {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  font-size: 14.5px;
  color: var(--muted);
}

.check li { position: relative; padding-left: 26px; }

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.price .btn { margin-top: auto; }

.note {
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
}

.note a { color: #c7c5ff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Работы ---------- */

.work { padding: 16px 16px 24px; }

.work__shot {
  position: relative;
  height: 190px;
  border-radius: 13px;
  margin-bottom: 18px;
  overflow: hidden;
}

.work__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 46px);
}

.w1 { background: linear-gradient(135deg, #2938a8, #6d6cff); }
.w2 { background: linear-gradient(135deg, #7a2e5e, #ff7a9c); }
.w3 { background: linear-gradient(135deg, #16474a, #2fd48a); }
.w4 { background: linear-gradient(135deg, #4a2c7a, #b06cff); }

.work__tag {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}

.work h3 { margin-bottom: 6px; }
.work__result { color: var(--green); font-size: 14.5px; font-weight: 600; }

/* ---------- Этапы ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .22s ease, transform .22s ease;
}

.step:hover { transform: translateY(-4px); border-color: rgba(109, 108, 255, .5); }

.step__num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: rgba(109, 108, 255, .16);
  border: 1px solid rgba(109, 108, 255, .4);
  font-size: 15px;
  font-weight: 800;
  color: #c7c5ff;
}

.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Отзывы ---------- */

.stars { color: #ffc247; letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }

.review p { font-size: 15px; color: #c8d0de; margin-bottom: 20px; }

.review__author { display: flex; align-items: center; gap: 12px; }

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 800;
  color: #fff;
}

.review__author b { display: block; font-size: 15px; }
.review__author small { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; }

.faq details {
  margin-bottom: 12px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color .2s ease;
}

.faq details[open] { border-color: rgba(109, 108, 255, .5); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  line-height: 1;
  color: var(--accent-2);
  transition: transform .22s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- Контакты ---------- */

.contact__box {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(109, 108, 255, .4);
  border-radius: 26px;
  background:
    radial-gradient(600px 260px at 80% -10%, rgba(176, 108, 255, .3), transparent 70%),
    linear-gradient(140deg, rgba(109, 108, 255, .2), rgba(19, 24, 35, .95));
  text-align: center;
}

.contact__box h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; margin-bottom: 14px; }

.contact__lead { max-width: 620px; margin: 0 auto; color: #c8d0de; }

.contact__phone {
  display: inline-block;
  margin: 22px 0 6px;
  font-size: clamp(26px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #fff;
}

.contact__phone:hover { color: #d9d7ff; }

.contact__sub { font-size: 14.5px; color: var(--muted); }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 26px;
}

.contact__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 14px;
  color: var(--muted);
}

.contact__list li { position: relative; padding-left: 18px; }

.contact__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Футер ---------- */

.footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--bg-alt); }

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__text { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 420px; }
.footer__right { text-align: right; }
.footer__phone { font-size: 19px; font-weight: 700; text-decoration: none; }
.footer__phone:hover { color: var(--accent-2); }

/* ---------- Мобильная панель звонка ---------- */

.callbar { display: none; }

/* ---------- Анимация появления ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 52px; padding: 62px 0 78px; }
  .hero__visual { max-width: 520px; }
  .hero__badge { left: 12px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .section__head { margin-bottom: 34px; }
}

@media (max-width: 768px) {
  .header__phone { display: none; }
  .header__inner { min-height: 64px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; }
  .footer__right { text-align: left; }

  body { padding-bottom: 78px; }

  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 13, 18, .94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }

  .callbar .btn { padding: 13px 16px; font-size: 15px; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 8px 20px; font-size: 13px; }
  .contact__actions .btn { width: 100%; }
  .hero__badge { left: 8px; right: 8px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .step:hover { transform: none; }
}
/* --- Футер по центру --- */
.footer {
  background: #0b0d12;
  color: #8b92a5;
  padding: 48px 0 32px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.logo--center {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer__tagline {
  font-size: 0.95rem;
  color: #8b92a5;
  max-width: 400px;
  line-height: 1.5;
  margin: 0;
}

.footer__phone {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 8px;
}

.footer__phone:hover {
  color: #6c8cff; /* Цвет вашего акцента */
}

.footer__divider {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 8px 0;
}

.footer__copy {
  font-size: 0.85rem;
  color: #5a6178;
  margin: 0;
}

/* Адаптив для мобильных */
@media (max-width: 640px) {
  .footer {
    padding: 32px 0 80px; /* Отступ снизу побольше из-за callbar */
  }
  .footer__phone {
    font-size: 1.25rem;
  }
}
